/* DJ Studio paneli */
.djstudio-panel {
  background: #f5fafc;
  border-radius: 0;
  box-shadow: none;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "Noto Sans", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.djstudio-panel button,
.djstudio-panel input,
.djstudio-panel select,
.djstudio-panel textarea {
  font-family: inherit;
  letter-spacing: inherit;
}

.djstudio-header strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .4px;
  background: linear-gradient(90deg, #0e3a48 0%, #155a6e 55%, #1d7a41 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #0e3a48;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .djstudio-header strong {
    background: none;
    -webkit-text-fill-color: #0e3a48;
  }
}

.djstudio-logo {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255, 255, 255, .8);
  padding: 2px;
}

.djstudio-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #eafaf4;
  color: #0e3a48;
  border-bottom: 1px solid #cfe3ea;
  border-radius: 0;
  font-size: 15px;
  letter-spacing: .3px;
}

.djstudio-body {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.djstudio-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  font-family: inherit;
}

.djstudio-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px 0 14px;
  background: linear-gradient(180deg, #eef6f9, #e2eff4);
  border-bottom: 1px solid #d0e4eb;
  flex-shrink: 0;
}

.djstudio-tabs-live {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  max-width: 58%;
  padding: 3px 2px;
  overflow: hidden;
  text-align: right;
  font-size: 11px;
  line-height: 1.45;
  color: #14576a;
}

.dj-live-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #1f7a96;
}

.dj-live-item {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dj-live-item a {
  color: #0b7fa6;
  font-weight: 600;
}

.dj-live-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  user-select: all;
  -webkit-user-select: all;
}

body[data-client-theme="night"] .djstudio-tabs-live { color: #b9d3dc; }
body[data-client-theme="night"] .dj-live-title { color: #6fc0d6; }
body[data-client-theme="night"] .dj-live-item a { color: #7fd4f0; }

.djstudio-tab {
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: #4d707c;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.djstudio-tab:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #155a6e;
}

.djstudio-tab.active {
  background: #fff;
  color: #0e3a48;
  border-color: #d0e4eb;
  border-bottom: 2px solid #fff;
  margin-bottom: -1px;
  box-shadow: 0 -4px 10px rgba(20, 60, 75, 0.06);
}

.djstudio-tab-body {
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  max-height: calc(100vh - 130px);
  padding: 12px;
  background: #fff;
  color: #1d3440;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@supports (height: 100dvh) {
  .djstudio-tab-body {
    max-height: calc(100dvh - 130px);
  }
}

.djstudio-statusbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 21001;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #155a6e 0%, #0e3a48 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  height: 40px;
  box-sizing: border-box;
}

.djstudio-counts {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.djstudio-counts .dj-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.djstudio-counts .dj-count-tracks {
  background: rgba(47, 163, 90, 0.25);
  color: #7dffb0;
  border: 1px solid rgba(125, 255, 176, 0.4);
}

.djstudio-counts .dj-count-jingles {
  background: rgba(109, 40, 217, 0.3);
  color: #d8b4fe;
  border: 1px solid rgba(216, 180, 254, 0.4);
}

.dj-info-box {
  flex: 0 1 238px;
  min-width: 180px;
  max-width: 238px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #cfe3ea;
  border-radius: 5px;
  background: linear-gradient(150deg, #e9f6fb 0%, #d5e8f6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  overflow: hidden;
}

.dj-info-line {
  width: 100%;
  min-height: 14px;
  font-size: 12px;
  line-height: 1.4;
  color: #1d4a5a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.dj-info-date {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #00FF00;
  min-height: 24px;
  text-shadow: 0 0 10px rgba(0, 255, 0, .45), 0 1px 2px rgba(0, 0, 0, .3);
}

.dj-info-time {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #00FF00;
  text-align: center;
  text-shadow: 0 0 22px rgba(0, 255, 0, .6), 0 1px 3px rgba(0, 0, 0, .25);
}

body[data-client-theme="night"] .dj-info-box {
  background: linear-gradient(150deg, #17242c 0%, #1d3442 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}



.dj-mix-box {
  flex: 0 0 72px;
  min-width: 72px;
  max-width: 72px;
  height: 92px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 5px 4px;
  border: 1px solid #cfe3ea;
  border-radius: 5px;
  background: linear-gradient(150deg, #f3f0ff 0%, #dfe4f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.dj-mix-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.dj-mix-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #5c7a85;
  white-space: nowrap;
}

body[data-client-theme="night"] .dj-mix-label { color: #8fb0bd; }

.dj-mix-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 26px;
  height: 72px;
  margin: 0;
  accent-color: #ffc23d;
  cursor: pointer;
  touch-action: none;
  filter: drop-shadow(0 0 6px rgba(255, 194, 61, .45));
}

.dj-mix-sys {
  accent-color: #25c2ff;
  filter: drop-shadow(0 0 6px rgba(37, 194, 255, .45));
}

@supports (-webkit-appearance: slider-vertical) {
  .dj-mix-slider {
    -webkit-appearance: slider-vertical;
    writing-mode: horizontal-tb;
    direction: ltr;
    width: 26px;
    height: 72px;
  }
}

body[data-client-theme="night"] .dj-mix-box {
  background: linear-gradient(150deg, #1c1b2b 0%, #232a45 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.dj-meters {
  display: flex;
  align-items: stretch;
  gap: 3px;
}

.dj-now-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  flex: 0 0 84px;
  width: 84px;
  min-width: 84px;
  max-width: 84px;
  height: 92px;
  padding: 4px;
  border: 1px solid #cfe3ea;
  border-radius: 5px;
  background: linear-gradient(150deg, #eafaf4 0%, #d2ecf6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  text-align: left;
}

.dj-now-title {
  font-size: 12px;
  font-weight: 700;
  color: #155a6e;
  text-align: left;
  padding-bottom: 4px;
  border-bottom: 1px solid #e3eef3;
  width: 100%;
}

.dj-now-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
}

.dj-now-row span {
  color: #4a6a75;
  text-align: left;
}

.dj-now-row b {
  font-weight: 800;
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dj-now-row b.dj-total { color: #1f7a96; }
.dj-now-row b.dj-elapsed { color: #2fa35a; }
.dj-now-row b.dj-remaining { color: #e05252; }

body[data-client-theme="night"] .dj-now-row b.dj-total { color: #6fc0d6; }
body[data-client-theme="night"] .dj-now-row b.dj-elapsed { color: #7dffb0; }
body[data-client-theme="night"] .dj-now-row b.dj-remaining { color: #ff9a9a; }

body[data-client-theme="night"] .dj-now-box {
  background: linear-gradient(150deg, #14262a 0%, #1c3b44 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

body[data-client-theme="night"] .dj-now-title {
  color: #6fc0d6;
  border-bottom-color: #2c4550;
}

body[data-client-theme="night"] .dj-now-row span {
  color: #9dbecb;
}

body[data-client-theme="night"] .dj-now-row b {
  color: #e2f0f5;
}

.dj-viz-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid #cfe3ea;
  border-radius: 5px;
  background: linear-gradient(150deg, #eef4ff 0%, #d8e4fa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  flex: 0 0 66px;
  min-width: 66px;
  width: 66px;
  max-width: 66px;
  height: 92px;
  justify-content: stretch;
}

.dj-viz-bars {
  display: flex;
  gap: 6px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.dj-viz-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  flex: 1;
  height: 100%;
}

.dj-viz-bar i {
  display: block;
  flex: 1;
  min-height: 3px;
  border-radius: 2px;
  opacity: .16;
  filter: saturate(.4);
  transition: opacity .07s linear;
}

.dj-viz-bar i.on {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 6px var(--seg-c, rgba(0, 0, 0, .35)), 0 0 14px var(--seg-c, rgba(0, 0, 0, .25));
}

body[data-client-theme="night"] .dj-viz-frame { background: linear-gradient(150deg, #161f2b 0%, #1e3145 100%); border-color: #2c4550; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }

body[data-client-theme="night"] .dj-viz-bar i { opacity: .2; filter: saturate(.35) brightness(.7); }

.djstudio-broadcast-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.djstudio-broadcast-row .djstudio-btn {
  justify-content: center;
  padding: 6px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.dj-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  color: #fff;
  background: rgba(21, 42, 48, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  white-space: nowrap;
}

.dj-live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7a8b90;
  box-shadow: 0 0 0 0 rgba(217, 67, 67, .6);
}

.dj-live-badge.is-live {
  background: rgba(184, 50, 50, .85);
  border-color: rgba(255, 150, 150, .5);
}

.dj-live-badge.is-live::before {
  background: #ff6b6b;
  animation: djLiveBlink .9s ease-in-out infinite;
}

@keyframes djLiveBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px 1px rgba(255, 107, 107, .8); }
  50% { opacity: .18; box-shadow: 0 0 2px 0 rgba(255, 107, 107, .2); }
}

.djstudio-btn-live.is-active {
  box-shadow: 0 0 0 3px rgba(47, 163, 90, .28), 0 0 16px 3px rgba(47, 163, 90, .55);
}

.djstudio-btn-stop.is-active {
  box-shadow: 0 0 0 3px rgba(224, 82, 82, .28), 0 0 16px 3px rgba(224, 82, 82, .5);
}

@media (prefers-reduced-motion: reduce) {
  .dj-live-badge.is-live::before { animation: none; }
  .djstudio-btn-live.is-active,
  .djstudio-btn-stop.is-active { box-shadow: 0 0 0 3px rgba(47, 163, 90, .28); }
}

.djstudio-toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 7px 10px;
  border: 1px solid #e3eef3;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.djstudio-toolbar #djSearch {
  flex: 1;
  min-width: 140px;
  max-width: 260px;
}

.djstudio-cols {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.djstudio-cols > .dj-col {
  min-width: 0;
  min-height: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.djstudio-cols > .dj-col .djstudio-list {
  flex: 1 1 auto;
  min-height: 60px;
  max-height: none;
  overflow-y: auto;
}

.djstudio-cols > .dj-col .dj-jingle-grid {
  flex: 1 1 auto;
  min-height: 0;
}

.djstudio-cols > .dj-col > .djstudio-btn,
.djstudio-cols > .dj-col > div > .djstudio-btn,
.djstudio-cols > .dj-col > h4,
.djstudio-cols > .dj-col > .djstudio-row,
.djstudio-cols > .dj-col > div[style*="flex"],
.dj-jingle-pager {
  flex-shrink: 0;
}

.djstudio-cols > .dj-col-tracks {
  flex: 1.75 1 0;
}

.djstudio-cols > .dj-col-jingles {
  flex: 1 1 0;
}

@media (max-width: 640px) {
  .djstudio-cols { flex-direction: column; }
  .djstudio-cols > .dj-col { margin-bottom: 14px; }

  /* Yiginda kolonlar icerige gore yukseklenmeli, liste sifira cokmesin */
  .djstudio-cols > .dj-col { min-height: auto; overflow: visible; }

  .djstudio-cols > .dj-col .djstudio-list {
    flex: 0 0 auto;
    min-height: 200px;
    max-height: 42vh;
  }

  .djstudio-cols > .dj-col .dj-jingle-grid {
    flex: 0 0 auto;
    min-height: 0;
  }

  .dj-jingle-grid { max-height: none; overflow: visible; }
}

.djstudio-section {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #e3eef3;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.djstudio-section h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: #155a6e;
  letter-spacing: .2px;
}

.djstudio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(135deg, #1f7a96, #13617a);
  color: #fff;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(19, 97, 122, 0.3);
  transition: filter 0.15s, transform 0.1s, box-shadow 0.15s;
}

.djstudio-btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 16px rgba(19, 97, 122, 0.4);
}

.djstudio-btn:active {
  transform: translateY(1px);
}

.djstudio-btn.secondary {
  background: #e4f0f5;
  color: #1d4a5a;
  box-shadow: none;
}

.djstudio-btn.secondary:hover {
  background: #d5e9f0;
}

.djstudio-btn-live {
  background: #00b300;
  box-shadow: 0 4px 12px rgba(29, 122, 65, 0.35);
}

.djstudio-btn-live:hover {
  box-shadow: 0 6px 16px rgba(29, 122, 65, 0.45);
}

.djstudio-btn-stop {
  background: #d40000;
  box-shadow: 0 4px 12px rgba(184, 50, 50, 0.35);
}

.djstudio-btn-stop:hover {
  box-shadow: 0 6px 16px rgba(184, 50, 50, 0.45);
}

.djstudio-list {
  border: 1px solid #dbe9ef;
  border-radius: 10px;
  min-height: 80px;
  max-height: 46vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f8fcfd;
  padding: 0 4px 4px;
  font-size: 14px;
  letter-spacing: .2px;
  color: #4a6a75;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.djstudio-list-empty {
  padding: 18px;
  text-align: center;
  color: #8aa5ae;
  font-style: italic;
}

.djstudio-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.djstudio-row [data-row] {
  border-radius: 8px;
  transition: background 0.15s;
}

.djstudio-row [data-row]:hover {
  background: rgba(31, 122, 150, 0.08);
}

.dj-track-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.dj-track-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 5px 6px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #14576a;
  background: linear-gradient(180deg, #eef6f9, #e0eef3);
  border-bottom: 2px solid #cfe3ea;
  white-space: nowrap;
}

.dj-track-table td {
  padding: 4px 6px;
  border-bottom: 1px solid #e6f0f4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.dj-track-table tbody tr {
  cursor: pointer;
  transition: background .15s;
}

.dj-track-table tbody tr:hover {
  background: rgba(31, 122, 150, .07);
}

.dj-media-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  vertical-align: middle;
}

.dj-media-audio { color: #0b7fa6; background: rgba(11, 127, 166, .12); }
.dj-media-video { color: #7d3fb8; background: rgba(125, 63, 184, .12); }
.dj-media-image { color: #c07a12; background: rgba(192, 122, 18, .12); }
.dj-media-file { color: #6b8b96; background: rgba(107, 139, 150, .12); }

body[data-client-theme="night"] .dj-media-audio { color: #6fc0d6; background: rgba(111, 192, 214, .14); }
body[data-client-theme="night"] .dj-media-video { color: #d8b4fe; background: rgba(216, 180, 254, .14); }
body[data-client-theme="night"] .dj-media-image { color: #fbbf24; background: rgba(251, 191, 36, .14); }
body[data-client-theme="night"] .dj-media-file { color: #8fb0bd; background: rgba(143, 176, 189, .14); }

.dj-td-no { text-align: right; font-weight: 700; color: #5c7a85; }
.dj-td-time { color: #2f7d79; font-variant-numeric: tabular-nums; }
.dj-td-type { color: #6b8b96; font-weight: 600; }
.dj-td-cat { color: #7d5ba6; font-weight: 600; }
.dj-td-name { color: #1d3440; font-weight: 600; }
.dj-td-dur { text-align: right; color: #4a6a75; font-variant-numeric: tabular-nums; }
.dj-td-artist { color: #3f6a7a; }

.dj-td-state {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dj-sel {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid rgba(31, 122, 150, .45);
  border-radius: 3px;
  background-color: rgba(31, 122, 150, .10);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  accent-color: #1f7a96;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.dj-sel:hover { background-color: rgba(31, 122, 150, .2); }

.dj-sel:checked {
  background-color: #1f7a96;
  border-color: #14657c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.dj-play-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: linear-gradient(145deg, #31b0d4, #12627c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(12, 70, 90, .5);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}

.dj-play-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: block;
}

.dj-play-btn:hover {
  filter: brightness(1.12);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(12, 70, 90, .6);
}

.dj-play-btn:active { transform: scale(.94); }

.dj-track-table tbody tr.is-selected {
  background: rgba(11, 127, 166, .12);
}

.dj-track-table tbody tr.is-selected td {
  border-bottom-color: #b9dced;
}

.dj-track-table tbody tr.is-playing {
  background: linear-gradient(180deg, #12564a, #0a3b33);
}

.dj-track-table tbody tr.is-playing td {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .18);
}

.dj-track-table tbody tr.is-playing .dj-td-no,
.dj-track-table tbody tr.is-playing .dj-td-time,
.dj-track-table tbody tr.is-playing .dj-td-type,
.dj-track-table tbody tr.is-playing .dj-td-cat,
.dj-track-table tbody tr.is-playing .dj-td-name,
.dj-track-table tbody tr.is-playing .dj-td-dur,
.dj-track-table tbody tr.is-playing .dj-td-artist {
  color: #fff;
}

.dj-track-table tbody tr.is-playing .dj-play-btn {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

body[data-client-theme="night"] .dj-track-table th {
  background: linear-gradient(180deg, #1e2f38, #18262e);
  border-bottom-color: #2c4550;
  color: #6fc0d6;
}

body[data-client-theme="night"] .dj-track-table td {
  border-bottom-color: #22343d;
}

body[data-client-theme="night"] .dj-track-table tbody tr:hover {
  background: rgba(111, 192, 214, .08);
}

body[data-client-theme="night"] .dj-track-table tbody tr.is-selected {
  background: rgba(111, 192, 214, .12);
}

body[data-client-theme="night"] .dj-track-table tbody tr.is-playing {
  background: linear-gradient(180deg, #12564a, #0a3b33);
}

body[data-client-theme="night"] .dj-td-no { color: #8fb0bd; }
body[data-client-theme="night"] .dj-td-time { color: #7dffb0; }
body[data-client-theme="night"] .dj-td-type { color: #8fb0bd; }
body[data-client-theme="night"] .dj-td-cat { color: #d8b4fe; }
body[data-client-theme="night"] .dj-td-name { color: #e2f0f5; }
body[data-client-theme="night"] .dj-td-dur { color: #9dbecb; }
body[data-client-theme="night"] .dj-td-artist { color: #b9d3dc; }

.dj-jingle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  grid-auto-rows: minmax(58px, auto);
  align-content: stretch;
  gap: 6px;
  justify-content: stretch;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #dbe9ef;
  border-radius: 10px;
  background: #f8fcfd;
}

.dj-jingle-name {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  font: inherit;
  line-height: 1.25;
}

.dj-jingle-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 8px;
}

.dj-page-btn {
  min-width: 28px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #1d4a5a;
  background: #e4f0f5;
  border: 1px solid #cfe3ea;
  border-radius: 7px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.dj-page-btn:hover:not(:disabled) {
  background: #d5e9f0;
  color: #0e3a48;
}

.dj-page-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #1f7a96, #13617a);
  border-color: #13617a;
}

.dj-page-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

body[data-client-theme="night"] .dj-page-btn {
  color: #b9d3dc;
  background: #22363f;
  border-color: #35505c;
}

body[data-client-theme="night"] .dj-page-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #1f7a96, #13617a);
  border-color: #6fc0d6;
}

.dj-jingle-btn {
  height: auto;
  min-height: 0;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4a5a;
  background: linear-gradient(180deg, #ffffff 0%, #eaf4f8 100%);
  border: 1px solid #cfe3ea;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: background .15s, border-color .15s, transform .1s;
}

.dj-jingle-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #d9ecf3 100%);
  border-color: #1f7a96;
}

.dj-jingle-btn:active { transform: translateY(1px); }

.dj-jingle-btn.is-playing {
  color: #fff;
  background: linear-gradient(135deg, #2fa35a, #1d7a41);
  border-color: #1d7a41;
}

.dj-jingle-btn.is-paused {
  color: #7a5806;
  background: linear-gradient(180deg, #fff8e1 0%, #fdeec4 100%);
  border-color: #e0b64a;
}

body[data-client-theme="night"] .dj-jingle-grid {
  background: #101c22;
  border-color: #2c4550;
}

body[data-client-theme="night"] .dj-jingle-btn {
  color: #b9d3dc;
  background: #13222a;
  border-color: #2c4550;
}

body[data-client-theme="night"] .dj-jingle-btn:hover {
  background: #1b2d37;
  border-color: #6fc0d6;
}

body[data-client-theme="night"] .dj-jingle-btn.is-paused {
  color: #fbbf24;
  background: #2e2716;
  border-color: #7a5c14;
}

.dj-btn-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
}

.djstudio-track-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 6px 8px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}

.djstudio-track-row:hover {
  background: rgba(31, 122, 150, 0.07);
  border-color: #d7e7ec;
}

.djstudio-track-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.djstudio-row .djstudio-btn {
  padding: 5px 12px;
  font-size: 13px;
}

#djSearch {
  border: 1px solid #c3dde5 !important;
  border-radius: 10px !important;
  padding: 9px 12px !important;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.djstudio-track-row > .djstudio-btn {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.djstudio-row-x:hover {
  background: #fdecec;
  color: #b83232;
}

body[data-client-theme="night"] .djstudio-track-row:hover {
  background: rgba(111, 192, 214, 0.08);
  border-color: #2c4550;
}

body[data-client-theme="night"] .djstudio-row-x:hover {
  background: #3a2020;
  color: #ff9a9a;
}

#djSearch:focus {
  border-color: #1f7a96 !important;
  box-shadow: 0 0 0 3px rgba(31, 122, 150, 0.15);
}

body[data-client-theme="night"] #djSearch {
  background: #101c22;
  border-color: #2c4550 !important;
  color: #d6e8ee;
}

body[data-client-theme="night"] .djstudio-panel {
  background: #16242c;
}

body[data-client-theme="night"] .djstudio-header {
  background: linear-gradient(135deg, #0f2a34 0%, #081a21 100%);
}

body[data-client-theme="night"] .djstudio-body {
  background: #16242c;
}

body[data-client-theme="night"] .djstudio-tabs {
  background: linear-gradient(180deg, #1a2a33, #16242c);
  border-bottom-color: #2c4550;
}

body[data-client-theme="night"] .djstudio-tab {
  color: #8fb0bd;
}

body[data-client-theme="night"] .djstudio-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #d6e8ee;
}

body[data-client-theme="night"] .djstudio-tab.active {
  background: #16242c;
  color: #e2f0f5;
  border-color: #2c4550;
  border-bottom-color: #16242c;
}

body[data-client-theme="night"] .djstudio-statusbar {
  background: linear-gradient(135deg, #0f2a34 0%, #081a21 100%);
  border-top-color: #2c4550;
}

body[data-client-theme="night"] .djstudio-tab-body {
  background: #16242c;
  color: #d6e8ee;
}

body[data-client-theme="night"] .djstudio-toolbar {
  background: #18262e;
  border-color: #2c4550;
}

body[data-client-theme="night"] .djstudio-section {
  background: #18262e;
  border-color: #2c4550;
}

body[data-client-theme="night"] .djstudio-section h4 {
  color: #6fc0d6;
}

body[data-client-theme="night"] .djstudio-btn.secondary {
  background: #22363f;
  color: #b9d3dc;
}

body[data-client-theme="night"] .djstudio-btn.secondary:hover {
  background: #2a424d;
}

body[data-client-theme="night"] .djstudio-list {
  background: #101c22;
  border-color: #2c4550;
  color: #9dbecb;
}

body[data-client-theme="night"] .djstudio-list-empty {
  color: #6f8f9c;
}

/* ============================================================
   DJ STUDIO TEMALARI
   data-dj-theme="dark"  -> koyu tema (varsayilan)
   data-dj-theme="light" -> mevcut acik tema
   ============================================================ */

.djstudio-panel[data-dj-theme="dark"] { background: #0e1c23; }

.djstudio-panel[data-dj-theme="dark"] .djstudio-header {
  background: linear-gradient(135deg, #0f3b47 0%, #071d25 100%);
  border-bottom: 1px solid #061419;
  color: #fff;
}

/* Ust bar acik zeminde koyu metin kullaniyor; koyu temada beyaz metne doner. */
.djstudio-panel[data-dj-theme="dark"] .djstudio-header strong {
  background: linear-gradient(90deg, #ffffff 0%, #a5e8ff 55%, #7fd4f0 100%);
  color: #ffffff;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .djstudio-panel[data-dj-theme="dark"] .djstudio-header strong {
    background: none;
    -webkit-text-fill-color: #ffffff;
  }
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-logo { background: rgba(255, 255, 255, .12); }

.djstudio-panel[data-dj-theme="dark"] .djstudio-header-theme {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-header-theme:hover { background: rgba(255, 255, 255, .2); }

.djstudio-panel[data-dj-theme="dark"] .djstudio-user-avatar {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-user-nick { color: rgba(255, 255, 255, .85); }

.djstudio-panel[data-dj-theme="dark"] .djstudio-tabs {
  background: linear-gradient(180deg, #16262e, #111f26);
  border-bottom-color: #26404b;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab { color: #9dbecb; }

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab:hover {
  background: rgba(255, 255, 255, .05);
  color: #6fc0d6;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab.active {
  background: #0e1c23;
  color: #e2f0f5;
  border-color: #26404b;
  border-bottom: 2px solid #0e1c23;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, .35);
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab-body {
  background: #0e1c23;
  color: #d6e8ee;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-toolbar {
  background: linear-gradient(180deg, #16262e, #13222a);
  border-color: #24404b;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-section {
  background: linear-gradient(180deg, #16262e 0%, #13222a 100%);
  border-color: #24404b;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-section h4 { color: #6fc0d6; }



.djstudio-panel[data-dj-theme="dark"] .djstudio-list,
.djstudio-panel[data-dj-theme="dark"] .dj-jingle-grid {
  background: #0b1a20;
  border-color: #24404b;
  color: #9dbecb;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-list-empty { color: #6f8f9c; }

.djstudio-panel[data-dj-theme="dark"] #djSearch {
  background: #0b1a20;
  border-color: #2c4550 !important;
  color: #d6e8ee;
}

.djstudio-panel[data-dj-theme="dark"] .dj-now-box {
  background: linear-gradient(150deg, #14262a 0%, #1c3b44 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.djstudio-panel[data-dj-theme="dark"] .dj-viz-frame {
  background: linear-gradient(150deg, #161f2b 0%, #1e3145 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.djstudio-panel[data-dj-theme="dark"] .dj-info-box {
  background: linear-gradient(150deg, #17242c 0%, #1d3442 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.djstudio-panel[data-dj-theme="dark"] .dj-mix-box {
  background: linear-gradient(150deg, #1c1b2b 0%, #232a45 100%);
  border-color: #2c4550;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.djstudio-panel[data-dj-theme="dark"] .dj-now-row span { color: #9dbecb; }
.djstudio-panel[data-dj-theme="dark"] .dj-now-row b.dj-total { color: #6fc0d6; }
.djstudio-panel[data-dj-theme="dark"] .dj-now-row b.dj-elapsed { color: #7dffb0; }
.djstudio-panel[data-dj-theme="dark"] .dj-now-row b.dj-remaining { color: #ff9a9a; }
.djstudio-panel[data-dj-theme="dark"] .dj-info-date {
  color: #00FF00;
  text-shadow: 0 0 10px rgba(0, 255, 0, .45);
}

.djstudio-panel[data-dj-theme="dark"] .dj-info-time {
  color: #00FF00;
  text-shadow: 0 0 22px rgba(0, 255, 0, .7);
}
.djstudio-panel[data-dj-theme="dark"] .dj-info-line { color: #cfe3ec; }
.djstudio-panel[data-dj-theme="dark"] .dj-mix-label { color: #8fb0bd; }

.djstudio-panel[data-dj-theme="dark"] .dj-viz-bar i {
  opacity: .18;
  filter: saturate(.3) brightness(.6);
}

.djstudio-panel[data-dj-theme="dark"] .dj-viz-bar i.on {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 6px var(--seg-c, rgba(0, 0, 0, .35)), 0 0 14px var(--seg-c, rgba(0, 0, 0, .25));
}

.djstudio-panel[data-dj-theme="dark"] .dj-live-title { color: #6fc0d6; }
.djstudio-panel[data-dj-theme="dark"] .dj-live-item a { color: #7fd4f0; }

.djstudio-panel[data-dj-theme="dark"] .dj-track-table th {
  background: linear-gradient(180deg, #1b2f3a, #16262e);
  border-bottom-color: #2c4550;
  color: #7fd0e8;
}

.djstudio-panel[data-dj-theme="dark"] .dj-track-table td { border-bottom-color: #1e2f38; }

.djstudio-panel[data-dj-theme="dark"] .dj-track-table tbody tr:hover { background: rgba(111, 192, 214, .08); }
.djstudio-panel[data-dj-theme="dark"] .dj-track-table tbody tr.is-selected { background: rgba(111, 192, 214, .14); }
.djstudio-panel[data-dj-theme="dark"] .dj-track-table tbody tr.is-selected td { border-bottom-color: #2f5f70; }

.djstudio-panel[data-dj-theme="dark"] .dj-td-no { color: #8fb0bd; }
.djstudio-panel[data-dj-theme="dark"] .dj-td-time { color: #7dffb0; }
.djstudio-panel[data-dj-theme="dark"] .dj-td-type { color: #8fb0bd; }
.djstudio-panel[data-dj-theme="dark"] .dj-td-cat { color: #d8b4fe; }
.djstudio-panel[data-dj-theme="dark"] .dj-td-name { color: #e2f0f5; }
.djstudio-panel[data-dj-theme="dark"] .dj-td-dur { color: #9dbecb; }
.djstudio-panel[data-dj-theme="dark"] .dj-td-artist { color: #b9d3dc; }

.djstudio-panel[data-dj-theme="dark"] .dj-media-audio { color: #6fc0d6; background: rgba(111, 192, 214, .14); }
.djstudio-panel[data-dj-theme="dark"] .dj-media-video { color: #d8b4fe; background: rgba(216, 180, 254, .14); }
.djstudio-panel[data-dj-theme="dark"] .dj-media-image { color: #fbbf24; background: rgba(251, 191, 36, .14); }
.djstudio-panel[data-dj-theme="dark"] .dj-media-file { color: #8fb0bd; background: rgba(143, 176, 189, .14); }

.djstudio-panel[data-dj-theme="dark"] .dj-jingle-btn {
  color: #a9c6d3;
  background: linear-gradient(180deg, #14212a 0%, #0d171d 100%);
  border-color: #223540;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.djstudio-panel[data-dj-theme="dark"] .dj-jingle-btn:hover {
  background: linear-gradient(180deg, #1c2d38 0%, #14222b 100%);
  border-color: #6fc0d6;
}

.djstudio-panel[data-dj-theme="dark"] .dj-jingle-btn.is-paused {
  color: #fbbf24;
  background: linear-gradient(180deg, #2e2716 0%, #241f12 100%);
  border-color: #7a5c14;
}

.djstudio-panel[data-dj-theme="dark"] .dj-page-btn {
  color: #b9d3dc;
  background: #22363f;
  border-color: #35505c;
}

.djstudio-panel[data-dj-theme="dark"] .dj-page-btn:hover:not(:disabled) {
  background: #2a424d;
  color: #e2f0f5;
}

.djstudio-panel[data-dj-theme="dark"] .dj-page-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #1f7a96, #13617a);
  border-color: #6fc0d6;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-track-row { background: #16242c; }
.djstudio-panel[data-dj-theme="dark"] .djstudio-track-row:hover { background: #1c2c35; border-color: #2c4550; }
.djstudio-panel[data-dj-theme="dark"] .djstudio-track-name { color: #cfe3ec; }
.djstudio-panel[data-dj-theme="dark"] .djstudio-row-x:hover { background: #3a2020; color: #ff9a9a; }

.djstudio-panel[data-dj-theme="dark"] .djstudio-close-btn { background: rgba(255, 255, 255, .1); }
/* --- koyu temada durum renkleri (ozgulluk icin tekrar) --- */
.djstudio-panel[data-dj-theme="dark"] .djstudio-btn-live {
  background: #00b300;
  border-color: #009600;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-btn-stop {
  background: #d40000;
  border-color: #b30000;
}

.djstudio-panel[data-dj-theme="dark"] .dj-jingle-btn.is-playing {
  color: #fff;
  background: linear-gradient(135deg, #2fa35a, #1d7a41);
  border-color: #1d7a41;
}



.djstudio-panel[data-dj-theme="dark"] .dj-track-table tbody tr.is-playing .dj-play-btn {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.djstudio-panel[data-dj-theme="dark"] .dj-track-table tbody tr.is-playing {
  background: linear-gradient(180deg, #12564a, #0a3b33);
}.dj-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.djstudio-btn-danger {
  background: #d40000;
  box-shadow: 0 4px 12px rgba(212, 0, 0, .4);
}

.djstudio-btn-danger:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(184, 50, 50, .45);
}

.djstudio-btn-danger.is-armed {
  background: #ff1a1a;
  box-shadow: 0 0 0 3px rgba(217, 67, 67, .3), 0 6px 18px rgba(217, 67, 67, .5);
}

.dj-btn-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
}
/* === Sarki listesi dikey kaydirma cubugu (ince + renkli) === */
.djstudio-list {
  scrollbar-width: thin;
  scrollbar-color: #2f8fae rgba(47, 125, 121, .10);
}

.djstudio-list::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.djstudio-list::-webkit-scrollbar-track {
  background: rgba(47, 125, 121, .10);
  border-radius: 4px;
}

.djstudio-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38a3c4, #1f6d86);
  border-radius: 4px;
}

.djstudio-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4fb8da, #2a86a3);
}

.djstudio-list::-webkit-scrollbar-corner {
  background: transparent;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-list {
  scrollbar-color: #2a7f9b rgba(111, 192, 214, .10);
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-list::-webkit-scrollbar-track {
  background: rgba(111, 192, 214, .10);
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2f9cba, #1d6a83);
}
/* Tarih/saat renkleri: DJ temasÃƒÆ’Ã¢â‚¬ÂÃƒâ€šÃ‚Â± sahibi olur (istemci temasindan bagimsiz) */
.djstudio-panel .dj-info-date { color: #00FF00; }
.djstudio-panel .dj-info-time { color: #00FF00; }
.djstudio-panel[data-dj-theme="light"] .dj-info-date,
.djstudio-panel[data-dj-theme="light"] .dj-info-time { color: #00842b; }
.djstudio-panel[data-dj-theme="light"] .dj-info-time { text-shadow: none; }
/* === Header: tema butonu (sol) + profil/nick (sag) === */
.djstudio-header-left,
.djstudio-header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.djstudio-header-right {
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.djstudio-user-nick {
  order: 1;
}

.djstudio-user-avatar {
  order: 2;
}

.djstudio-header-left { order: 1; }
.djstudio-header strong { order: 2; margin: 0 auto; }
.djstudio-header-right { order: 3; }

.djstudio-header-theme {
  width: 30px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c3dde5;
  border-radius: 6px;
  background: #ffffff;
  color: #1d4a5a;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, transform .1s;
}

.djstudio-header-theme:hover {
  background: #e4f0f5;
}

.djstudio-header-theme:active { transform: translateY(1px); }

.djstudio-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #c3dde5;
  background: #ffffff;
  display: block;
}

.djstudio-user-nick {
  max-width: 96px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #1d4a5a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.djstudio-header .djstudio-close-btn { order: 4; }
/* Koyu temada secim kutusu: satir renginden biraz acik */
.djstudio-panel[data-dj-theme="dark"] .dj-sel {
  border-color: rgba(255, 255, 255, .28);
  background-color: rgba(255, 255, 255, .10);
}

.djstudio-panel[data-dj-theme="dark"] .dj-sel:hover { background-color: rgba(255, 255, 255, .18); }

.djstudio-panel[data-dj-theme="dark"] .dj-sel:checked {
  background-color: #0d5568;
  border-color: #17a2c4;
}
/* === Konusma (push-to-talk) kutusu === */
.dj-talk-box {
  flex: 0 0 86px;
  min-width: 86px;
  max-width: 86px;
  height: 92px;
  display: flex;
  align-items: stretch;
  padding: 4px;
  border: 1px solid #cfe3ea;
  border-radius: 5px;
  background: linear-gradient(150deg, #fff1f1 0%, #f8dcdc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.dj-talk-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 5px;
  background: linear-gradient(145deg, #e05252, #b83232);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 3px 10px rgba(184, 50, 50, .4);
  transition: background .15s, box-shadow .15s, transform .08s;
}

.dj-talk-ico { font-size: 18px; line-height: 1; }

.dj-talk-btn:hover { filter: brightness(1.08); }

.dj-talk-btn.is-live {
  background: linear-gradient(145deg, #2fa35a, #1d7a41);
  box-shadow: 0 0 0 3px rgba(47, 163, 90, .3), 0 0 16px 3px rgba(47, 163, 90, .5);
}

.djstudio-panel[data-dj-theme="dark"] .dj-talk-box {
  background: linear-gradient(150deg, #2a1b1d 0%, #241416 100%);
  border-color: #4a2a2c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* Konusma kutusu: kilitle satiri (butonun altinda) */
.dj-talk-box {
  flex-direction: column;
  gap: 4px;
}

.dj-talk-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #5c7a85;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.dj-talk-lock input {
  width: 11px;
  height: 11px;
  margin: 0;
  accent-color: #b83232;
  cursor: pointer;
}

.djstudio-panel[data-dj-theme="dark"] .dj-talk-lock { color: #9dbecb; }
/* Konusma butonu: kilit rozeti + koyu temada belirgin kutu */
.dj-talk-btn.is-locked {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .35), 0 3px 12px rgba(0, 0, 0, .45);
}


.dj-talk-btn {
  position: relative;
}
.dj-talk-lock-ico {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 10px;
  height: 10px;
  fill: currentColor;
  display: none;
  pointer-events: none;
}

.dj-talk-btn.is-locked .dj-talk-lock-ico { display: block; }

.djstudio-panel[data-dj-theme="dark"] .dj-talk-box {
  background: linear-gradient(150deg, #331d20 0%, #24151a 100%);
  border-color: #5a2f33;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(255, 120, 120, .10);
}
/* === Konusma butonu: mikrofon + sesle degisen bar sayisi === */
.dj-talk-waves {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 22px;
}

.dj-talk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.dj-talk-ico svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.dj-talk-wave {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: rgba(255, 220, 150, .18);
  transition: background .1s ease, box-shadow .1s ease, opacity .1s ease;
}

.dj-talk-wave.w1 { height: 6px; }
.dj-talk-wave.w2 { height: 11px; }
.dj-talk-wave.w3 { height: 16px; }

.dj-talk-wave.on {
  background: linear-gradient(180deg, #fff3cf 0%, #ffb020 100%);
  box-shadow: 0 0 7px rgba(255, 176, 32, .9);
}

.dj-talk-wave.w3.on {
  background: linear-gradient(180deg, #fffbe8 0%, #ffc247 100%);
  box-shadow: 0 0 12px rgba(255, 194, 71, 1);
}

/* ============================================================
   MOBIL / tablet uyumu  (masaustu dÃ¼zeni bozulmaz)
   ============================================================ */

@media (max-width: 900px) {
  .djstudio-header {
    padding: 9px 10px;
    padding-top: calc(9px + env(safe-area-inset-top));
    gap: 6px;
  }

  .djstudio-header strong {
    font-size: 14px;
    gap: 6px;
    letter-spacing: .2px;
  }

  .djstudio-logo { width: 22px; height: 22px; border-radius: 5px; }
  .djstudio-user-avatar { width: 24px; height: 24px; }
  .djstudio-user-nick { max-width: 76px; font-size: 9px; }
  .djstudio-header-theme { width: 34px; height: 34px; }
  .djstudio-close-btn { width: 34px; height: 34px; }

  /* sekme cubugu: sekmeler + yayin kontrolleri alt satira sarar */
  .djstudio-tabs {
    flex-wrap: wrap;
    padding: 8px 8px 0;
    gap: 4px;
  }

  .djstudio-tab {
    padding: 9px 12px;
    font-size: 13px;
    flex: 1 1 auto;
  }

  .djstudio-tabs-live {
    order: 10;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding: 6px 4px 2px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 4px;
  }

  .djstudio-broadcast-row {
    order: 11;
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
    padding: 0 4px 8px;
    justify-content: flex-end;
    gap: 8px;
  }

  .djstudio-broadcast-row .djstudio-btn {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 13px;
  }

  /* arac cubugu: ust satira saat/sure, alt satira mikser + konusma */
  .djstudio-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
  }

  .dj-meters { flex: 1 1 auto; gap: 4px; }
  .dj-now-box { flex: 0 0 78px; width: 78px; min-width: 78px; max-width: 78px; height: 84px; }
  .dj-viz-frame { flex: 0 0 62px; width: 62px; min-width: 62px; max-width: 62px; height: 84px; }
  .dj-info-box { flex: 1 1 120px; min-width: 120px; max-width: none; height: 84px; padding: 4px 6px; }
  .dj-info-date { font-size: 15px; min-height: 16px; }
  .dj-info-time { font-size: 30px; }

  .dj-mix-box { flex: 0 0 96px; min-width: 96px; max-width: 96px; height: 104px; padding: 6px; gap: 12px; }
  .dj-mix-slider { width: 34px; height: 76px; }

  .dj-talk-box { flex: 0 0 104px; min-width: 104px; max-width: 104px; height: 104px; padding: 5px; }
  .dj-talk-label { font-size: 11px; }
  .dj-talk-ico { width: 22px; height: 22px; }
  .dj-talk-ico svg { width: 20px; height: 20px; }
  .dj-talk-wave { width: 3px; }
  .dj-talk-wave.w1 { height: 7px; }
  .dj-talk-wave.w2 { height: 13px; }
  .dj-talk-wave.w3 { height: 19px; }
  .dj-talk-lock { font-size: 10px; }
  .dj-talk-lock input { width: 14px; height: 14px; }

  /* Mobilde govde kaydirilir: cocuklar sikismasin, dogal yukseklik alsin */
  .djstudio-cols { flex: 0 0 auto; }
  .djstudio-tab-body > .djstudio-section { flex: 0 0 auto; }
  .dj-live-link { flex: 0 0 auto; }

  /* Baslik satiri ilk satirin uzerine binmesin */
  .dj-track-table th { position: static; }
  .dj-track-table { margin-top: 0; }
  .djstudio-list { padding-top: 0; }
  .djstudio-tab-body {
    padding: 10px;
    padding-bottom: 60px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* jingle izgarasi mobilde daha dar sutunlara sigar */
  .dj-jingle-grid {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    max-height: none;
    overflow: visible;
    gap: 6px;
    padding: 5px;
  }

  .dj-jingle-btn { height: auto; min-height: 84px; padding: 6px; font-size: 11px; }
  .dj-jingle-name { -webkit-line-clamp: 3; line-clamp: 3; }

  .djstudio-btn { padding: 9px 12px; font-size: 13px; }
  .djstudio-section { padding: 10px; }
  .djstudio-section h4 { font-size: 13px; }
  .dj-play-btn { width: 32px; height: 32px; min-width: 32px; }
  .dj-play-btn svg { width: 14px; height: 14px; }
  .dj-sel { width: 18px; height: 18px; }

  /* sarki tablosu yatay kaydirilir (sayfa tasmaz) */
  .djstudio-list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dj-track-table { min-width: 560px; }
  .dj-track-table th, .dj-track-table td { padding: 8px 6px; }

  .djstudio-statusbar {
    padding-bottom: calc(5px + env(safe-area-inset-bottom));
  }

  .djstudio-counts .dj-count { font-size: 11px; padding: 3px 8px; }
  .dj-page-btn { min-width: 34px; padding: 7px 10px; }
}

@media (max-width: 560px) {
  .djstudio-header strong span { display: none; }
  .djstudio-tab { padding: 9px 9px; font-size: 12px; }
  .djstudio-tabs-live { font-size: 10px; }
  .dj-live-item { font-size: 10px; }
  .dj-now-box { flex: 0 0 70px; width: 70px; min-width: 70px; max-width: 70px; }
  .dj-now-row { font-size: 10px; }
  .dj-now-row b { font-size: 12px; }
  .dj-viz-frame { flex: 0 0 56px; width: 56px; min-width: 56px; max-width: 56px; }
  .dj-info-time { font-size: 26px; }
  .dj-info-date { font-size: 13px; }
  .dj-mix-box { flex: 1 1 110px; max-width: none; }
  .dj-talk-box { flex: 1 1 110px; max-width: none; }
  .dj-jingle-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
  .dj-track-table { min-width: 480px; }
  .djstudio-broadcast-row .dj-live-badge { font-size: 8px; padding: 2px 6px; }
}

@media (max-width: 400px) {
  .djstudio-user-nick { display: none; }
  .dj-mix-box { flex: 1 1 100%; max-width: none; height: 92px; }
  .dj-talk-box { flex: 1 1 100%; max-width: none; }
}
/* Arama kutusu: sagda, kisa */
#djSearch { flex: 0 0 170px; }

@media (max-width: 560px) {
  #djSearch { flex: 1 1 auto !important; width: auto !important; max-width: 220px !important; }
}
/* === Playlist (coklu liste) sekmeleri === */
.dj-pl-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

.dj-pl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 190px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #b9d3dc;
  background: #1b2c35;
  border: 1px solid #2c4550;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background .15s, border-color .15s, color .15s;
}

.dj-pl:hover { background: #233844; color: #e2f0f5; }

.dj-pl.active {
  color: #fff;
  background: linear-gradient(180deg, #12564a, #0a3b33);
  border-color: #1f7a96;
}

.dj-pl-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dj-pl-count {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.dj-pl-acts {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
}

.dj-pl-act {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.dj-pl-act:hover { background: rgba(255, 255, 255, .3); }
.dj-pl-act:disabled { opacity: .35; cursor: not-allowed; }
.dj-pl-act.is-armed { background: #d40000; }

.dj-pl-add {
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #b9d3dc;
  background: transparent;
  border: 1px dashed #5b7a88;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.dj-pl-add:hover { color: #fff; border-color: #6fc0d6; background: rgba(111, 192, 214, .1); }

.djstudio-panel[data-dj-theme="light"] .dj-pl {
  color: #1d4a5a;
  background: #eef6f9;
  border-color: #cfe3ea;
}

.djstudio-panel[data-dj-theme="light"] .dj-pl:hover { background: #dcecf2; }
.djstudio-panel[data-dj-theme="light"] .dj-pl.active { color: #fff; background: linear-gradient(180deg, #1f7a96, #14617a); }
.djstudio-panel[data-dj-theme="light"] .dj-pl-add { color: #1d4a5a; border-color: #8fb0bd; }
/* === DJ Studio istem diyalogu (modal) === */
.dj-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 22000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 20, 26, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: djModalFadeIn 150ms ease;
}

.dj-modal-overlay.closing { animation: djModalFadeOut 150ms ease forwards; }

.dj-modal {
  width: 100%;
  max-width: min(380px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 22px 16px;
  border: 1px solid #2c4550;
  border-radius: 12px;
  background: linear-gradient(180deg, #16262e 0%, #13222a 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  font-family: inherit;
  animation: djModalPop 170ms cubic-bezier(.34, 1.56, .64, 1);
}

.dj-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #2b93b3, #14617a);
  box-shadow: 0 6px 16px rgba(10, 60, 78, .5);
}

.dj-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #e2f0f5;
  text-align: center;
}

.dj-modal-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #9dbecb;
  text-align: left;
}

.dj-modal-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #e2f0f5;
  background: #0b1a20;
  border: 1px solid #2c4550;
  border-radius: 6px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.dj-modal-input:focus {
  border-color: #2b93b3;
  box-shadow: 0 0 0 3px rgba(43, 147, 179, .2);
}

.dj-modal-msg {
  min-height: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #ff9a9a;
  text-align: center;
}

.dj-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2px;
}

.dj-modal-btn {
  min-width: 104px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #cfe3ec;
  background: #22363f;
  border: 1px solid #35505c;
  border-radius: 6px;
  cursor: pointer;
  transition: filter .15s, transform .08s;
}

.dj-modal-btn:hover { filter: brightness(1.12); }
.dj-modal-btn:active { transform: translateY(1px); }

.dj-modal-btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #12564a, #0a3b33);
  border-color: #14617a;
  box-shadow: 0 4px 12px rgba(10, 60, 78, .45);
}

@keyframes djModalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes djModalFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes djModalPop {
  from { transform: scale(.94) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .dj-modal-overlay, .dj-modal { animation: none; }
}

@media (max-width: 560px) {
  .dj-modal { padding: 16px 14px 12px; gap: 8px; }
  .dj-modal-input { padding: 12px; font-size: 16px; }
  .dj-modal-btn { flex: 1 1 auto; padding: 12px 14px; }
}
/* === DJ Studio sag tik menusu === */
.dj-ctx-overlay {
  position: fixed;
  inset: 0;
  z-index: 22500;
}

.dj-ctx-menu {
  position: absolute;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border: 1px solid #2c4550;
  border-radius: 8px;
  background: linear-gradient(180deg, #16262e, #13222a);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  animation: djCtxPop 120ms ease;
}

.dj-ctx-item {
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  color: #d6e8ee;
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dj-ctx-item:hover,
.dj-ctx-item:focus-visible {
  color: #fff;
  background: rgba(47, 147, 179, .25);
  outline: none;
}

.dj-ctx-item.danger { color: #ff9a9a; }
.dj-ctx-item.danger:hover { color: #fff; background: rgba(212, 0, 0, .55); }

.djstudio-panel[data-dj-theme="light"] ~ * .dj-ctx-menu { }

@keyframes djCtxPop {
  from { transform: scale(.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .dj-ctx-menu { animation: none; }
}

@media (max-width: 560px) {
  .dj-ctx-menu { min-width: 0; }
  .dj-ctx-item { padding: 13px 14px; font-size: 14px; }
}
/* === Play Ayarlari: radio + checkbox secenekleri === */
.dj-opt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dj-opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #cfe3ec;
  background: #1b2c35;
  border: 1px solid #2c4550;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background .15s, border-color .15s, color .15s;
}

.dj-opt:hover { background: #233844; color: #fff; }

.dj-opt input[type="radio"],
.dj-opt input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #2b93b3;
  cursor: pointer;
}

.dj-opt:has(input:checked) {
  color: #fff;
  background: rgba(43, 147, 179, .22);
  border-color: #2b93b3;
}

.djstudio-panel[data-dj-theme="light"] .dj-opt {
  color: #1d4a5a;
  background: #eef6f9;
  border-color: #cfe3ea;
}

.djstudio-panel[data-dj-theme="light"] .dj-opt:hover { background: #dcecf2; }
/* === Play Ayarlari: kucuk kutular, yan yana === */
.dj-opt-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dj-opt-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #cfe3ec;
  background: #1b2c35;
  border: 1px solid #2c4550;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  min-width: 0;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}

.dj-opt-card:hover { background: #233844; color: #fff; }

.dj-opt-card input[type="radio"],
.dj-opt-card input[type="checkbox"] {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #2b93b3;
  cursor: pointer;
}

.dj-opt-card > span {
  display: inline-block;
  line-height: 1.2;
}

.dj-opt-card:has(input:checked) {
  color: #fff;
  background: rgba(43, 147, 179, .25);
  border-color: #2b93b3;
}

.djstudio-panel[data-dj-theme="light"] .dj-opt-card {
  color: #1d4a5a;
  background: #eef6f9;
  border-color: #cfe3ea;
}

.djstudio-panel[data-dj-theme="light"] .dj-opt-card:hover { background: #dcecf2; }

@media (max-width: 560px) {
  .dj-opt-card { flex: 1 1 auto; justify-content: center; padding: 11px 10px; font-size: 13px; }
}
/* === Play Ayarlari karti: dar ve dikey kutular === */
.dj-settings-card {
  align-self: flex-start;
  width: fit-content;
  min-width: 186px;
  max-width: 270px;
}

.dj-opt-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 6px;
}

.dj-opt-card {
  justify-content: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  white-space: normal;
}

/* Metni yarim sutuna sigmayan secenek kendi satirini kaplar */
.dj-opt-card.dj-opt-wide {
  grid-column: 1 / -1;
}

.dj-opt-card > span {
  white-space: normal;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .dj-settings-card { align-self: stretch; max-width: none; }
  .dj-opt-card { justify-content: center; }
}

/* === Ayar kutusu icindeki sayi / saat girdileri === */
.dj-opt-num {
  gap: 6px;
  justify-content: space-between;
}

.dj-opt-num input[type="number"] {
  width: 52px;
  flex: 0 0 auto;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #eaf6fa;
  background: #17323d;
  border: 1px solid #3d6270;
  border-radius: 4px;
  outline: none;
}

.dj-opt-num input[type="time"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #eaf6fa;
  background: #17323d;
  border: 1px solid #3d6270;
  border-radius: 4px;
  outline: none;
}

.dj-opt-num input:focus { border-color: #2b93b3; }

.djstudio-panel[data-dj-theme="light"] .dj-opt-num input[type="number"],
.djstudio-panel[data-dj-theme="light"] .dj-opt-num input[type="time"] {
  color: #1d3440;
  background: #fff;
  border-color: #c3dde5;
}
/* === Play Ayarlari kartlari: yatay dizilim === */
.dj-settings-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.dj-settings-grid .dj-settings-card {
  align-self: flex-start;
  flex: 0 1 auto;
  width: fit-content;
  min-width: 250px;
  max-width: 330px;
}

@media (max-width: 700px) {
  .dj-settings-grid { flex-direction: column; }
  .dj-settings-grid .dj-settings-card { max-width: none; width: 100%; }
}
/* === Ses havuzu sekmeleri (Jingle / Efekt / Reklam-Anons) === */
.dj-pool-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dj-pool-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #b9d3dc;
  background: #1b2c35;
  border: 1px solid #2c4550;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}

.dj-pool-tab:hover { background: #233844; color: #fff; }

.dj-pool-tab.active {
  color: #fff;
  background: linear-gradient(180deg, #12564a, #0a3b33);
  border-color: #1f7a96;
}

.dj-pool-count {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.djstudio-panel[data-dj-theme="light"] .dj-pool-tab {
  color: #1d4a5a;
  background: #eef6f9;
  border-color: #cfe3ea;
}

.djstudio-panel[data-dj-theme="light"] .dj-pool-tab:hover { background: #dcecf2; }
@media (max-width: 480px) {
  .dj-pool-tab { padding: 5px 7px; font-size: 11px; gap: 4px; }
}

/* === Cerceve basliklari: vurgulu renkli baslik seridi === */
.djstudio-panel .djstudio-section > h4,
.djstudio-panel .dj-col > h4,
.djstudio-panel .dj-settings-card > h4 {
  margin: -2px 0 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0f3b47 0%, #071d25 100%);
  color: #ffd85e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.djstudio-panel[data-dj-theme="light"] .djstudio-section > h4,
.djstudio-panel[data-dj-theme="light"] .dj-col > h4,
.djstudio-panel[data-dj-theme="light"] .dj-settings-card > h4 {
  background: linear-gradient(90deg, #0f3b47 0%, #071d25 100%);
  color: #ffd85e;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-section > h4,
.djstudio-panel[data-dj-theme="dark"] .dj-col > h4,
.djstudio-panel[data-dj-theme="dark"] .dj-settings-card > h4 {
  color: #ffd85e;
}

body[data-client-theme="night"] .djstudio-panel .djstudio-section > h4,
body[data-client-theme="night"] .djstudio-panel .dj-col > h4 {
  color: #ffd85e;
}

.djstudio-panel .dj-col > h4 > .dj-head-actions .djstudio-btn {
  border-color: rgba(255, 255, 255, .32);
}

/* === Ayar checkbox / radio: temaya uygun ozel ic renk === */
.dj-opt input[type="checkbox"],
.dj-opt input[type="radio"],
.dj-opt-card input[type="checkbox"],
.dj-opt-card input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  background-color: #1c3f4c;
  border: 2px solid #74a0ae;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45);
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}

.dj-opt input[type="checkbox"],
.dj-opt-card input[type="checkbox"] { border-radius: 5px; }

.dj-opt input[type="radio"],
.dj-opt-card input[type="radio"] { border-radius: 50%; }

.dj-opt input[type="checkbox"]:hover,
.dj-opt input[type="radio"]:hover,
.dj-opt-card input[type="checkbox"]:hover,
.dj-opt-card input[type="radio"]:hover {
  border-color: #6fdcff;
}

.dj-opt input[type="checkbox"]:checked,
.dj-opt-card input[type="checkbox"]:checked {
  border-color: #4fd0f5;
  background-color: #23aad2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.dj-opt input[type="radio"]:checked,
.dj-opt-card input[type="radio"]:checked {
  border-color: #4fd0f5;
  background-image: radial-gradient(circle at center, #6fdcff 0 42%, #23aad2 43% 100%);
}

.dj-opt input[type="checkbox"]:focus-visible,
.dj-opt input[type="radio"]:focus-visible,
.dj-opt-card input[type="checkbox"]:focus-visible,
.dj-opt-card input[type="radio"]:focus-visible {
  outline: 2px solid #7fd4f0;
  outline-offset: 2px;
}

.djstudio-panel[data-dj-theme="light"] .dj-opt input[type="checkbox"],
.djstudio-panel[data-dj-theme="light"] .dj-opt input[type="radio"],
.djstudio-panel[data-dj-theme="light"] .dj-opt-card input[type="checkbox"],
.djstudio-panel[data-dj-theme="light"] .dj-opt-card input[type="radio"] {
  background-color: #ffffff;
  border-color: #9dbcc9;
  box-shadow: inset 0 1px 2px rgba(13, 60, 77, .12);
}

.djstudio-panel[data-dj-theme="light"] .dj-opt input[type="checkbox"]:checked,
.djstudio-panel[data-dj-theme="light"] .dj-opt-card input[type="checkbox"]:checked,
.djstudio-panel[data-dj-theme="light"] .dj-opt input[type="radio"]:checked,
.djstudio-panel[data-dj-theme="light"] .dj-opt-card input[type="radio"]:checked {
  border-color: #0d7fa3;
  background-color: #0d7fa3;
}

.djstudio-panel[data-dj-theme="light"] .dj-opt input[type="radio"]:checked,
.djstudio-panel[data-dj-theme="light"] .dj-opt-card input[type="radio"]:checked {
  background-image: radial-gradient(circle at center, #ffffff 0 40%, #0d7fa3 41% 100%);
}
/* === Petrol yesili: sarki listesi basligi ve play butonu === */
.dj-track-table th {
  background: linear-gradient(180deg, #12564a 0%, #0a3b33 100%);
  color: #e2fbf5;
  border-bottom-color: #061419;
}

body[data-client-theme="night"] .dj-track-table th,
.djstudio-panel[data-dj-theme="dark"] .dj-track-table th {
  background: linear-gradient(180deg, #12564a 0%, #0a3b33 100%);
  color: #e2fbf5;
  border-bottom-color: #061419;
}

.dj-play-btn {
  background: linear-gradient(145deg, #17806c 0%, #0a4a3c 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 2px 8px rgba(6, 37, 31, .55);
}

.dj-play-btn:hover {
  box-shadow: 0 4px 14px rgba(6, 37, 31, .7);
}
/* === Play Ayarlar sekmesi: dikey kaydirma (ince, renkli) === */
.djstudio-tab-body.dj-tab-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 58px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2f8fae rgba(47, 125, 121, .10);
}

.djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar {
  width: 8px;
}

.djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar-track {
  background: rgba(47, 125, 121, .10);
  border-radius: 4px;
}

.djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38a3c4, #1f6d86);
  border-radius: 4px;
}

.djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4fb8da, #2a86a3);
}

.djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab-body.dj-tab-scroll {
  scrollbar-color: #2a7f9b rgba(111, 192, 214, .10);
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar-track {
  background: rgba(111, 192, 214, .10);
}

.djstudio-panel[data-dj-theme="dark"] .djstudio-tab-body.dj-tab-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2f9cba, #1d6a83);
}
/* === Yayin butonu: canliyken basilamaz === */
.djstudio-btn-live[disabled],
.djstudio-btn-live:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.35);
}

.djstudio-btn-stop:disabled {
  opacity: .5;
  cursor: not-allowed;
}
/* === Dinleyiciler sekmesi === */
.dj-listeners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.dj-listener-card {
  flex: 1 1 150px;
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid #24404b;
  border-radius: 10px;
  background: #0e1c23;
  text-align: center;
}

.dj-listener-card b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #e2f0f5;
  line-height: 1.1;
}

.dj-listener-card span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #8fb0bd;
}

.dj-listener-card.on {
  border-color: #2f9cba;
  background: rgba(47, 156, 186, .12);
}

.dj-listener-card.on b { color: #7fd4f0; }

.dj-listeners-state {
  margin: 0 0 14px;
  font-size: 13px;
  color: #9dbecb;
}

.dj-listeners-links h4 { margin-bottom: 8px; }

.dj-listeners-links label {
  display: block;
  margin: 10px 0 4px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #8fb0bd;
}

.dj-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dj-link-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 9px;
  font-size: 12px;
  color: #e2f0f5;
  background: #0b1a20;
  border: 1px solid #2c4550;
  border-radius: 6px;
}

.dj-link-row .djstudio-btn { flex: 0 0 auto; padding: 7px 12px; font-size: 12px; }