/* DAGSTUDIO PLAYER — обновление классического интерфейса.
   Сохраняем знакомое расположение винилового диска, управления и плейлистов.
   Переопределяем только стили поверх основного style.css. */
:root {
  --bg-color:#0b0e11;
  --card-bg:#11161b;
  --panel-bg:#151b21;
  --text-color:#f5f6f8;
  --text-muted:#9ba4ae;
  --border-color:#2a343d;
  --accent-color:#c8784e;
  --accent-dark:#96533a;
  --accent-rgb:200,120,78;
  --accent-glow:rgba(200,120,78,.27);
}
html,body {
  background:#090c0f;
  color:var(--text-color);
}
body {
  background-image:radial-gradient(ellipse at 24% 20%,rgba(182,99,58,.11),transparent 52%),
    radial-gradient(ellipse at 83% 82%,rgba(62,89,112,.11),transparent 55%);
}
::selection {background:#955337;color:#fff;}
::-webkit-scrollbar-thumb {background:#41505b;border-radius:10px;}
::-webkit-scrollbar-thumb:hover {background:var(--accent-color);}
button,input {font-family:var(--font-main);}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid #dfa27e!important;outline-offset:3px;
}
.main-container {
  background:linear-gradient(145deg,#171d23 0%,#0c1014 76%);
  border:1px solid rgba(194,205,215,.11);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.53),0 0 0 1px rgba(255,255,255,.02),
    inset 0 1px 0 rgba(255,255,255,.07);
  transition:none;
}
.header-overlay {
  background:linear-gradient(180deg,rgba(17,22,27,.98),rgba(17,22,27,.8) 72%,rgba(17,22,27,0));
}
.brand-display {letter-spacing:.055em;font-weight:700;text-shadow:none;}
.brand-display span {color:#d18d68;}
.menu-btn,.icon-btn {
  border:1px solid rgba(255,255,255,.12);
  color:#f4eeeb;background:rgba(27,34,40,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 4px 14px rgba(0,0,0,.21);
}
.menu-btn:hover,.icon-btn:hover {
  background:#343b41;color:#e1a17c;border-color:rgba(215,141,95,.72);
}
.header-eq-btn {color:#e3a17e;}
.left-col {
  background:radial-gradient(circle at 50% 37%,rgba(199,112,72,.13),transparent 52%),
    linear-gradient(180deg,#171b20,#12171c);
  border-right:1px solid rgba(255,255,255,.085);
}
.right-col {background:linear-gradient(180deg,#10151a,#0c1115);}
.visual-container {overflow:visible;}
.vinyl-wrapper {
  border:2px solid rgba(208,129,88,.37);
  box-shadow:0 18px 44px rgba(0,0,0,.5),0 0 0 9px rgba(205,125,80,.04),0 0 0 1px rgba(255,255,255,.045);
}
.vinyl-wrapper::after {border-color:#5b646d;background:#0c0d10;}
.vinyl-img {border-color:#101316;box-shadow:0 0 0 1px rgba(255,255,255,.08);}
.loader-overlay {background:rgba(12,15,19,.76);border-radius:50%;}
.spinner {border-top-color:#d98a5e;}
.track-info-display {gap:4px;}
.np-title {color:#f6f3f0;text-shadow:0 2px 15px rgba(0,0,0,.24);}
.np-artist {color:#baaaa1;}
.progress-bar-wrap {
  background:#384049;overflow:visible;border-radius:99px;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.4);
}
.progress-current {background:linear-gradient(90deg,#ae6544,#e5a47c);border-radius:99px;}
.progress-buffer {background:rgba(229,161,121,.22);}
.time-display {color:#aeb8c1;font-variant-numeric:tabular-nums;}
.c-btn {
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);color:#c8d0d6;
  border-radius:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.c-btn:hover {background:rgba(200,120,78,.11);border-color:rgba(204,128,84,.42);color:#e9ad89;}
.c-btn.active {background:rgba(200,120,78,.15);border-color:#bf7650;color:#e6a17b;}
.play-btn {
  background:linear-gradient(145deg,#de996a,#af633f);
  border-radius:21px;color:#171210;
  box-shadow:0 12px 28px rgba(159,81,44,.28),inset 0 1px 0 rgba(255,233,207,.25);
}
.play-btn:hover {filter:brightness(1.08);}
.right-col-header {
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);box-shadow:none;border-radius:15px;
  backdrop-filter:none;
}
.tab-btn,.pl-select-btn {border-radius:11px;color:#a8b0b9;transition:background .14s,border-color .14s,color .14s;}
.tab-btn:hover,.pl-select-btn:hover {color:#fff;background:rgba(255,255,255,.045);}
.tab-btn.active,.pl-select-btn.active {
  background:linear-gradient(135deg,rgba(211,128,79,.23),rgba(211,128,79,.07));
  border-color:rgba(207,127,83,.37);color:#e6ad8b;
  box-shadow:none;
}
.search-input {
  background:rgba(7,10,13,.72);color:#f9f8f7;
  border:1px solid rgba(255,255,255,.13);border-radius:14px;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.21);
}
.search-input:focus {
  background:#11181d;border-color:#c78259;
  box-shadow:0 0 0 3px rgba(208,123,80,.12);
}
.search-input::placeholder {color:#7f8993;}
.search-suggestions {
  border:1px solid #38414a;border-radius:13px;
  background:#171e23;box-shadow:0 18px 40px rgba(0,0,0,.42);
}
.active-pl-label {color:#db9a76;}
.playlist-area {scrollbar-color:#46525e transparent;}
.track-row {
  border:1px solid transparent;
  border-bottom-color:rgba(255,255,255,.035);
  border-radius:12px;transition:background .15s,border-color .15s;
}
.track-row:hover {background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.055);}
.track-row.active {
  transform:none;
  border:1px solid rgba(218,133,88,.18);
  border-left:3px solid #cf845b;
  background:linear-gradient(90deg,rgba(196,113,66,.19),rgba(196,113,66,.028));
}
.track-row.active .t-title {color:#f9c9a9;}
.t-title {color:#edf0f3;}
.t-artist {color:#9aa3ac;}
.track-row img {
  border-radius:11px!important;
  width:46px!important;height:46px!important;margin-right:8px!important;
  border:1px solid rgba(255,255,255,.1);
  flex-shrink:0;object-fit:cover;
}
.track-icon-box {border:1px solid rgba(255,255,255,.08);background:#202930;border-radius:11px;}
.source-badge {
  border-radius:5px;color:#aebbc6;
  border:1px solid rgba(255,255,255,.07);background:#26303a;
}
.btn-list-action {min-height:39px;min-width:37px;color:#9da9b4;}
.btn-list-action:hover {color:#e6a47e;background:rgba(201,122,76,.12);}
.btn-list-action.liked {color:#d18b64;}
.modal-overlay {background:rgba(7,9,12,.81);}
.modal-box,.equalizer-modal-box,#menu-modal .menu-modal-box {
  background:linear-gradient(155deg,#222a30,#13181d 75%);
  border:1px solid rgba(255,255,255,.13);border-radius:19px;
  box-shadow:0 25px 75px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.055);
}
#menu-modal .menu-account-column,#menu-modal .menu-action-column {
  border-radius:13px;background:rgba(255,255,255,.027);
  border-color:rgba(255,255,255,.085);
}
.modal-title {color:#f4f2f1;}
.menu-list-btn {
  background:rgba(255,255,255,.03);color:#d7dce0;border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
}
.menu-list-btn:hover {background:rgba(208,128,80,.09);border-color:#b77750;color:#fff;}
.modal-close {background:#2b343b;border-color:#465059;color:#d7dfe5;}
.auth-input {background:#10171b;border-color:#3a444e;border-radius:11px;}
.auth-input:focus {border-color:#d18a61;}
.btn-primary {background:linear-gradient(135deg,#dd9569,#a75d3b);color:#16110e;}
.btn-dark {background:#242d33;border-color:#3c4850;color:#d6dee4;}
.eq-presets button {border-radius:10px;}
.equalizer-modal-box {max-width:560px;}
@media screen and (min-width:900px) and (max-height:760px) {
  .main-container {border:0;border-radius:0;}
  .header-overlay {background:linear-gradient(180deg,rgba(17,22,27,.96),rgba(17,22,27,.55) 80%,transparent);}
  .left-col {border-right:1px solid rgba(255,255,255,.09);}
  .right-col-header {margin-top:7px;}
  .track-row {margin-bottom:2px;}
}
@media (max-width:768px) {
  html,body {background:#0b0e11;}
  .main-container {
    background:#10151a!important;border:0!important;border-radius:0!important;
  }
  .header-overlay {
    background:#141a20;border-bottom:1px solid rgba(255,255,255,.08);
  }
  .left-col {
    background:linear-gradient(180deg,#1d242a,#11171b)!important;
  }
  .right-col {
    background:#0e1317!important;border-top:1px solid rgba(255,255,255,.065)!important;
  }
  .tab-btn,.pl-select-btn {background:#20272d!important;color:#cbd2d8!important;border-color:#2b353d!important;}
  .tab-btn.active,.pl-select-btn.active {
    background:#64402f!important;border-color:#ac704e!important;color:#ffe1cd!important;
    box-shadow:none!important;
  }
  .search-input {background:#1a2126!important;}
  .track-row img {width:42px!important;height:42px!important;}
  .header-right {width:94px!important;min-width:94px!important;max-width:94px!important;flex:0 0 94px!important;gap:9px;justify-content:flex-end;}
  .header-right .mobile-menu-btn {
    display:flex!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;
    height:40px!important;min-height:40px!important;align-items:center;justify-content:center;padding:0!important;
  }
  .header-right .header-eq-btn {
    display:flex!important;flex:0 0 40px!important;
    width:40px!important;min-width:40px!important;max-width:40px;
    height:40px!important;min-height:40px!important;
    padding:0!important;
    align-items:center;justify-content:center;
    background:#1c252a;border:1px solid #78513d;border-radius:11px;
    color:#e2a17c;box-shadow:none;
  }
}
@media (prefers-reduced-motion:reduce) {
  .main-container *, .modal-overlay * {transition-duration:.01ms!important;}
}

/* ===== DAGSTUDIO: полное окрашивание пяти тем =====
 * Нейтральный белый текст и красные действия удаления не перекрашиваем:
 * это сохраняет читаемость и смысл состояний.
 * Без color-mix(), backdrop-filter и тяжёлых эффектов для TEYES CC3. */
html,body {
  background:var(--theme-page, #090c0f);
  color:var(--text-color);
}
body {
  background-image:
    radial-gradient(ellipse at 24% 20%,rgba(var(--theme-rgb,192,108,66),.12),transparent 52%),
    radial-gradient(ellipse at 83% 82%,rgba(var(--theme-rgb,192,108,66),.07),transparent 55%);
}
::selection {background:var(--accent-dark);color:#fff;}
::-webkit-scrollbar-thumb {background:var(--theme-outline,#47535c);}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid var(--theme-bright,#d99b79)!important;
}
.main-container {
  background:linear-gradient(145deg,var(--theme-shell-a,#171d23),var(--theme-shell-b,#0c1014) 76%);
  border-color:rgba(var(--theme-rgb,192,108,66),.18);
}
.header-overlay {
  background:linear-gradient(180deg,rgba(var(--theme-header-rgb,20,26,32),.98),
    rgba(var(--theme-header-rgb,20,26,32),.78) 72%,rgba(var(--theme-header-rgb,20,26,32),0));
}
.brand-display {color:var(--theme-bright-text,#f5f6f8);}
.brand-display span {color:var(--theme-bright,#dfaa8c);}
.menu-btn,.icon-btn {
  background:var(--theme-control,#1b2229);border-color:var(--theme-border,#35404b);
  color:var(--theme-bright-text,#f5f6f8);
}
.menu-btn:hover,.icon-btn:hover,.mobile-menu-btn:hover {
  background:var(--theme-control-hover,#313940);
  color:var(--theme-bright,#dfaa8c);border-color:var(--theme-bright,#dfaa8c);
}
.header-eq-btn {color:var(--theme-bright,#dfaa8c);}
.left-col {
  background:radial-gradient(circle at 50% 37%,rgba(var(--theme-rgb,192,108,66),.13),transparent 52%),
    linear-gradient(180deg,var(--theme-left-a,#171b20),var(--theme-left-b,#12171c));
  border-right-color:var(--theme-border,#35404b);
}
.right-col {background:linear-gradient(180deg,var(--theme-right-a,#10151a),var(--theme-right-b,#0c1115));}
.vinyl-wrapper {
  border-color:rgba(var(--theme-rgb,192,108,66),.54);
  box-shadow:0 18px 44px rgba(0,0,0,.5),
    0 0 0 9px rgba(var(--theme-rgb,192,108,66),.055);
}
.vinyl-wrapper::after {border-color:var(--theme-border,#35404b);background:var(--theme-right-b,#0c1115);}
.vinyl-img {border-color:var(--theme-control,#1b2229);}
.loader-overlay {background:rgba(7,11,16,.72);}
.spinner,.search-spinner {border-top-color:var(--theme-bright,#dfaa8c);}
.np-title {color:var(--theme-bright-text,#f5f6f8);}
.np-artist,.active-pl-label {color:var(--theme-bright,#dfaa8c);}
.progress-bar-wrap {background:var(--theme-surface,#20272d);}
.progress-current {background:linear-gradient(90deg,var(--accent-dark,#96533a),var(--theme-bright,#dfaa8c));}
.progress-buffer {background:rgba(var(--theme-rgb,192,108,66),.26);}
.time-display {color:var(--theme-muted,#a6b0b9);}
.c-btn {
  background:var(--theme-control,#1b2229);border-color:var(--theme-border,#35404b);
  color:var(--theme-bright-text,#f5f6f8);
}
.c-btn:hover,.c-btn.active {
  background:rgba(var(--theme-rgb,192,108,66),.18);
  border-color:var(--theme-middle,#ca805d);color:var(--theme-bright,#dfaa8c);
}
.play-btn {
  background:linear-gradient(145deg,var(--theme-bright,#dfaa8c),var(--theme-middle,#ca805d));
  color:var(--theme-on-accent,#101317);
  box-shadow:0 12px 28px rgba(var(--theme-rgb,192,108,66),.25),inset 0 1px 0 rgba(255,255,255,.18);
}
.right-col-header {
  border-color:var(--theme-border,#35404b);
  background:rgba(var(--theme-rgb,192,108,66),.065);
}
.tab-btn,.pl-select-btn {color:var(--theme-muted,#a6b0b9);}
.tab-btn:hover,.pl-select-btn:hover {
  background:var(--theme-surface,#20272d);color:var(--theme-bright-text,#f5f6f8);
}
.tab-btn.active,.pl-select-btn.active {
  background:linear-gradient(135deg,rgba(var(--theme-rgb,192,108,66),.25),
    rgba(var(--theme-rgb,192,108,66),.09));
  border-color:rgba(var(--theme-rgb,192,108,66),.5);
  color:var(--theme-bright,#dfaa8c);
}
.search-input,.auth-input {
  background:var(--theme-field,#141b20);color:var(--text-color);
  border-color:var(--theme-border,#35404b);
}
.search-input:focus,.auth-input:focus {
  background:var(--theme-field-focus,#1c242a);
  border-color:var(--theme-bright,#dfaa8c);
  box-shadow:0 0 0 3px rgba(var(--theme-rgb,192,108,66),.16);
}
.search-input::placeholder {color:var(--theme-muted,#a6b0b9);}
.search-suggestions {
  background:var(--theme-modal-b,#13181d);border-color:var(--theme-border,#35404b);
}
.search-suggestion-item:hover {
  background:var(--theme-surface-hover,#303a43);
}
.search-suggestion-item i {color:var(--theme-bright,#dfaa8c);}
.playlist-area {scrollbar-color:var(--theme-outline,#47535c) transparent;}
.track-row:hover {
  background:rgba(var(--theme-rgb,192,108,66),.065);
  border-color:rgba(var(--theme-rgb,192,108,66),.16);
}
.track-row.active {
  border-color:rgba(var(--theme-rgb,192,108,66),.29);
  border-left:3px solid var(--theme-middle,#ca805d);
  background:linear-gradient(90deg,rgba(var(--theme-rgb,192,108,66),.24),
    rgba(var(--theme-rgb,192,108,66),.035));
}
.track-row.active .t-title {color:var(--theme-bright,#dfaa8c);}
.t-title {color:var(--theme-bright-text,#f5f6f8);}
.t-artist,.btn-list-action {color:var(--theme-muted,#a6b0b9);}
.track-row img {border-color:var(--theme-border,#35404b);}
.track-icon-box {
  background:var(--theme-surface,#20272d);
  border-color:var(--theme-border,#35404b);
}
.track-icon-box i,.track-icon-box.link i {color:var(--theme-bright,#dfaa8c);}
.source-badge {
  color:var(--theme-bright,#dfaa8c);border-color:var(--theme-border,#35404b);
  background:var(--theme-surface,#20272d);
}
.btn-list-action:hover {
  color:var(--theme-bright,#dfaa8c);
  background:rgba(var(--theme-rgb,192,108,66),.17);
}
.btn-list-action.liked {color:var(--theme-bright,#dfaa8c);}
.modal-box,.equalizer-modal-box,#menu-modal .menu-modal-box {
  background:linear-gradient(155deg,var(--theme-modal-a,#222a30),var(--theme-modal-b,#13181d) 75%);
  border-color:rgba(var(--theme-rgb,192,108,66),.27);
}
#menu-modal .menu-account-column,#menu-modal .menu-action-column {
  background:rgba(var(--theme-rgb,192,108,66),.045);
  border-color:var(--theme-border,#35404b);
}
.modal-title,#menu-modal .menu-modal-heading {color:var(--theme-bright-text,#f5f6f8);}
#menu-modal .menu-column-label,.menu-modal-heading i {color:var(--theme-bright,#dfaa8c);}
.menu-list-btn,.user-card,.pl-manage-item,.tm-row,.playlist-select-btn,.tm-act-btn,.theme-selector-wrapper {
  background:var(--theme-surface,#20272d);
  border-color:var(--theme-border,#35404b);color:var(--theme-bright-text,#f5f6f8);
}
.menu-list-btn:hover,.tm-row:hover,.pl-manage-item:hover,.playlist-select-btn:hover,.tm-act-btn:hover {
  background:var(--theme-surface-hover,#303a43);
  border-color:var(--theme-middle,#ca805d);color:var(--theme-bright-text,#f5f6f8);
}
.user-avatar,.auth-icon {color:var(--theme-bright,#dfaa8c);}
.user-avatar {background:var(--theme-control,#1b2229);}
.user-status,.theme-lbl {color:var(--theme-muted,#a6b0b9);}
.modal-close,.btn-dark {
  background:var(--theme-control,#1b2229);
  border-color:var(--theme-border,#35404b);color:var(--theme-bright-text,#f5f6f8);
}
.modal-close:hover {background:var(--theme-surface-hover,#303a43);border-color:var(--theme-bright,#dfaa8c);}
.btn-primary {
  background:linear-gradient(135deg,var(--theme-bright,#dfaa8c),var(--theme-middle,#ca805d));
  color:var(--theme-on-accent,#101317);
}
.theme-dot.active {
  border-color:var(--theme-bright,#dfaa8c);
  box-shadow:0 0 0 3px rgba(var(--theme-rgb,192,108,66),.25);
}
.eq-kicker,.eq-band-value {color:var(--theme-bright,#dfaa8c);}
.equalizer-modal-box {
  background:radial-gradient(circle at 85% 8%,rgba(var(--theme-rgb,192,108,66),.16),transparent 38%),
    linear-gradient(155deg,var(--theme-modal-a,#222a30),var(--theme-modal-b,#13181d));
}
.eq-power-btn,.eq-presets button,.eq-band,.eq-reset-btn {
  background:var(--theme-control,#1b2229);
  border-color:var(--theme-border,#35404b);
  color:var(--theme-bright-text,#f5f6f8);
}
.eq-power-btn.active {
  background:linear-gradient(135deg,var(--theme-bright,#dfaa8c),var(--accent-color,#c8784e));
  border-color:var(--theme-middle,#ca805d);
  color:var(--theme-on-accent,#101317);
}
.eq-presets button:hover,.eq-presets button.active,.eq-reset-btn:hover {
  background:rgba(var(--theme-rgb,192,108,66),.19);
  border-color:rgba(var(--theme-rgb,192,108,66),.53);
  color:var(--theme-bright,#dfaa8c);
}
.eq-slider {background:linear-gradient(90deg,var(--theme-surface,#20272d),rgba(var(--theme-rgb,192,108,66),.42));}
.eq-slider::-webkit-slider-thumb {border-color:var(--theme-bright,#dfaa8c);}
.eq-slider::-moz-range-thumb {border-color:var(--theme-bright,#dfaa8c);}
#menu-modal .app-update-btn.is-ready {
  background:rgba(var(--theme-rgb,192,108,66),.16);
  border-color:var(--theme-middle,#ca805d);
}
@media screen and (min-width:900px) and (max-height:760px) {
  .header-overlay {
    background:linear-gradient(180deg,rgba(var(--theme-header-rgb,20,26,32),.98),
      rgba(var(--theme-header-rgb,20,26,32),.56) 80%,transparent);
  }
}
@media (max-width:768px) {
  html,body {background:var(--theme-page,#090c0f)!important;}
  .main-container {background:var(--theme-shell-b,#0c1014)!important;}
  .header-overlay {
    background:var(--theme-header,#141a20)!important;
    border-bottom-color:var(--theme-border,#35404b);
  }
  .left-col {
    background:linear-gradient(180deg,var(--theme-left-a,#171b20),var(--theme-left-b,#12171c))!important;
  }
  .right-col {
    background:var(--theme-right-b,#0c1115)!important;
    border-top-color:var(--theme-border,#35404b)!important;
  }
  .tab-btn,.pl-select-btn {
    background:var(--theme-surface,#20272d)!important;
    color:var(--theme-bright-text,#f5f6f8)!important;
    border-color:var(--theme-border,#35404b)!important;
  }
  .tab-btn.active,.pl-select-btn.active {
    background:var(--theme-middle,#ca805d)!important;
    color:var(--theme-on-accent,#101317)!important;
    border-color:var(--theme-bright,#dfaa8c)!important;
  }
  .search-input {background:var(--theme-field,#141b20)!important;}
  .header-right .header-eq-btn,.header-right .mobile-menu-btn {
    background:var(--theme-control,#1b2229)!important;
    border-color:var(--theme-border,#35404b)!important;
    color:var(--theme-bright,#dfaa8c)!important;
  }
}

/* Полезные функции для автомагнитол: крупные кнопки, без перегруженной шапки. */
.queue-toggle-btn {min-width:43px;min-height:43px;flex:0 0 43px;display:flex;align-items:center;justify-content:center;
  background:var(--theme-control,#1b2229);border:1px solid var(--theme-border,#35404b);border-radius:12px;
  color:var(--theme-bright,#dfaa8c);cursor:pointer;position:relative;font-size:1.08rem;}
.queue-toggle-btn:hover {background:var(--theme-surface-hover,#303a43);}
#queue-count:not(:empty) {position:absolute;right:-4px;top:-5px;min-width:19px;line-height:19px;border-radius:12px;
 background:var(--accent-color);color:#111;text-align:center;font-size:.67rem;font-weight:800;}
.utility-modal {width:min(530px,calc(100vw - 20px));max-height:min(90vh,680px);overflow-y:auto;}
.utility-info {color:var(--text-color);line-height:1.65;font-size:.92rem;margin:12px 0 18px;text-align:left;}
.utility-buttons {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px;}
.utility-buttons button,.queue-mini-btn {min-height:43px;border-radius:10px;
 background:var(--theme-surface,#20272d);border:1px solid var(--theme-border,#35404b);
 color:var(--text-color);cursor:pointer;padding:8px 12px;}
.utility-buttons button:hover,.queue-mini-btn:hover {border-color:var(--accent-color);color:var(--theme-bright);}
.utility-buttons button:disabled,.queue-mini-btn:disabled {opacity:.35;cursor:default;}
.queue-list {max-height:310px;overflow-y:auto;margin-top:9px;display:flex;flex-direction:column;gap:7px;}
.queue-row {display:flex;align-items:center;gap:5px;padding:7px;background:var(--theme-surface,#20272d);
 border:1px solid var(--theme-border,#35404b);border-radius:10px;}
.queue-name {font-size:.82rem;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;}
.queue-mini-btn {min-width:38px;min-height:40px;padding:5px;font-weight:700;}
.queue-empty {padding:26px 6px;color:var(--theme-muted);font-size:.9rem;}
.diagnostics-info {background:var(--theme-field,#141b20);border:1px solid var(--theme-border,#35404b);
 border-radius:12px;text-align:left;padding:15px;white-space:pre-wrap;word-break:break-word;
 color:var(--text-color);font:500 .85rem/1.85 var(--font-main);min-height:180px;}
@media (max-width:768px) {.right-col-header .queue-toggle-btn {min-width:41px!important;flex:0 0 41px!important;min-height:41px!important;}}


/* TEYES 1024x600: utility panels scroll independently without changing themes. */
#diagnostics-modal .utility-modal,
#cache-dashboard-modal .utility-modal,
#queue-modal .utility-modal {
  max-height: min(86vh, 680px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#diagnostics-modal .diagnostics-info,
#cache-dashboard-modal .utility-info {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}


/* TEYES CC3: no full-width elliptical backdrop during buffering. */
.visual-container .loader-overlay {
    background: transparent;
    border-radius: 0;
}
.vinyl-wrapper, .vinyl-img {
    aspect-ratio: 1 / 1;
    height: auto;
    box-sizing: border-box;
    flex-shrink: 0;
}
.progress-area {
    touch-action: none;
    padding-top: 9px;
    padding-bottom: 7px;
}
.progress-bar-wrap { height: 8px; }
.progress-area[aria-disabled="true"] { cursor: default; }


/* Optional continuous artist-based radio, consistent across themes. */
.smart-radio-setting {margin:6px 0 16px;padding:12px;border:1px solid var(--theme-border,#35404b);border-radius:14px;background:rgba(var(--theme-rgb,192,108,66),.05);}
.smart-radio-setting .menu-list-btn {margin:0;min-height:46px;width:100%;text-align:left;}
.smart-radio-toggle.active {border-color:var(--theme-middle,#ca805d);background:rgba(var(--theme-rgb,192,108,66),.14);color:var(--theme-bright,#dfaa8c);}
.smart-radio-hint {margin-top:9px;font-size:.77rem;line-height:1.5;color:var(--theme-muted,#a6b0b9);}

/* Now-playing heart and compact search-powered mixes for TEYES CC3. */
.track-info-display{position:relative;padding-left:48px;padding-right:48px;}
.now-playing-heart{position:absolute;right:0;top:50%;transform:translateY(-50%);width:43px;height:43px;min-width:43px;
 display:grid;place-items:center;border-radius:13px;border:1px solid var(--theme-border,#35404b);
 background:var(--theme-control,#1b2229);color:var(--theme-bright,#dfaa8c);font-size:1.2rem;cursor:pointer;}
.now-playing-heart.is-liked,.now-playing-heart:hover:not(:disabled){border-color:var(--theme-middle,#ca805d);
 background:rgba(var(--theme-rgb,192,108,66),.16);}
.now-playing-heart:disabled{opacity:.35;cursor:default;}
/* Compact top-bar button shares the equalizer's theme and size. */
.header-mixes-btn{color:var(--theme-bright,#dfaa8c);flex-shrink:0;}
.header-mixes-btn[aria-expanded="true"]{color:var(--theme-bright,#dfaa8c);
 border-color:var(--theme-middle,#ca805d);background:rgba(var(--theme-rgb,192,108,66),.16);}
.quick-mix-status{flex-shrink:0;margin:1px 18px 6px;color:var(--theme-muted,#a6b0b9);
 font-size:.78rem;line-height:1.4;text-align:left;}
.quick-mixes-modal-box{
 width:min(650px,calc(100vw - 26px));max-width:650px;max-height:min(85dvh,660px);overflow-y:auto;
 overscroll-behavior:contain;box-sizing:border-box;text-align:left;padding:27px 25px 21px!important;
 border-radius:20px;scrollbar-width:thin;
}
.quick-mixes-heading{display:flex;align-items:center;gap:17px;padding-right:38px;margin-bottom:21px;}
.quick-mixes-logo{width:54px;height:54px;min-width:54px;display:grid;place-items:center;
 background:rgba(var(--theme-rgb,192,108,66),.13);border:1px solid var(--theme-middle,#ca805d);
 border-radius:17px;color:var(--theme-bright,#dfaa8c);font-size:1.5rem;}
.quick-mixes-eyebrow{color:var(--theme-bright,#dfaa8c);font-size:.68rem;font-weight:800;
 letter-spacing:.18em;margin-bottom:3px;}
.quick-mixes-modal-box .modal-title{font-size:1.45rem;margin:0;line-height:1.2;text-align:left;}
.quick-mixes-intro{color:var(--theme-muted,#a6b0b9);font-size:.83rem;line-height:1.5;margin:7px 0 0;}
.quick-mixes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.quick-mix-btn{display:flex;align-items:center;gap:12px;min-width:0;min-height:72px;padding:12px;
 box-sizing:border-box;border-radius:14px;text-align:left;
 border:1px solid var(--theme-border,#35404b);background:var(--theme-control,#1b2229);
 color:var(--text-color,#f6f6f6);font:inherit;cursor:pointer;
 transition:border-color .16s,background .16s,box-shadow .16s;}
.quick-mix-btn:hover,.quick-mix-btn:focus-visible,.quick-mix-btn.active{
 border-color:var(--theme-middle,#ca805d);
 background:rgba(var(--theme-rgb,192,108,66),.14);
 box-shadow:inset 0 0 0 1px rgba(var(--theme-rgb,192,108,66),.1);
}
.quick-mix-btn:focus-visible{outline:2px solid var(--theme-bright,#dfaa8c);outline-offset:2px;}
.quick-mix-btn .mix-icon{width:41px;height:41px;min-width:41px;display:grid;place-items:center;
 color:var(--theme-bright,#dfaa8c);background:rgba(var(--theme-rgb,192,108,66),.11);
 border-radius:11px;font-size:1.1rem;}
.mix-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;}
.mix-copy strong{display:block;font-size:.92rem;font-weight:750;line-height:1.15;overflow-wrap:anywhere;}
.mix-copy small{font-size:.71rem;color:var(--theme-muted,#a6b0b9);line-height:1.35;}
.mix-arrow{color:var(--theme-muted,#a6b0b9);font-size:.67rem;opacity:.65;}
.quick-mix-btn.active .mix-arrow{color:var(--theme-bright,#dfaa8c);opacity:1;}
.quick-mixes-footer{display:flex;align-items:flex-start;gap:9px;margin-top:18px;
 padding:12px;border-top:1px solid var(--theme-border,#35404b);
 color:var(--theme-muted,#a6b0b9);font-size:.75rem;line-height:1.55;}
.quick-mixes-footer i{color:var(--theme-bright,#dfaa8c);margin-top:3px;}
@media(min-width:900px) and (max-height:760px){
 .header-mixes-btn{width:46px;height:46px;}
 .quick-mixes-modal-box{max-height:84dvh;padding:19px 21px 16px!important;}
 .quick-mixes-heading{margin-bottom:15px;}
 .quick-mix-btn{min-height:65px;padding:9px 11px;}
 .quick-mixes-footer{margin-top:12px;padding:9px 0;}
}
@media(max-width:768px){
 .header-right{right:12px!important;width:140px!important;min-width:140px!important;
  max-width:140px!important;flex:0 0 140px!important;gap:8px!important;}
 .header-right .header-mixes-btn{display:flex!important;flex:0 0 40px!important;
  width:40px!important;min-width:40px!important;max-width:40px!important;
  height:40px!important;min-height:40px!important;align-items:center;justify-content:center;
  padding:0!important;border-radius:11px;
  border:1px solid var(--theme-border,#35404b)!important;
  background:var(--theme-control,#1b2229)!important;
  color:var(--theme-bright,#dfaa8c)!important;box-shadow:none;}
 .header-left{justify-content:flex-start!important;width:calc(100% - 154px)!important;flex:0 0 auto!important;}
 .brand-display{margin:0!important;text-align:left!important;
  font-size:clamp(.88rem,3.5vw,1.15rem)!important;letter-spacing:.01em!important;}
 .quick-mixes-modal-box{max-height:86dvh;padding:22px 17px 15px!important;}
 .quick-mixes-grid{gap:8px;}
 .quick-mix-btn{gap:9px;min-height:68px;padding:9px;}
 .quick-mix-btn .mix-icon{width:33px;height:33px;min-width:33px;font-size:.98rem;}
 .mix-copy strong{font-size:.8rem;}
 .mix-copy small{font-size:.65rem;}
 .mix-arrow{display:none;}
}
@media(max-width:410px){
 .quick-mixes-heading{gap:11px;}
 .quick-mixes-logo{min-width:45px;width:45px;height:45px;}
 .quick-mixes-grid{grid-template-columns:1fr;}
 .quick-mix-btn{min-height:57px;}
 .quick-mixes-modal-box{max-height:82dvh;}
}
@media(prefers-reduced-motion:reduce){.quick-mix-btn{transition:none;}}

/* Caucasus search-direction marker; unobtrusive on narrow TEYES rows. */
.mix-region-badge{display:inline-block;vertical-align:baseline;max-width:185px;
 padding:2px 6px;margin-left:4px;border:1px solid var(--theme-border,#35404b);
 border-radius:7px;background:rgba(var(--theme-rgb,192,108,66),.10);
 color:var(--theme-bright,#dfaa8c);font-size:.64rem;
 line-height:1.25;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
@media (max-width:768px){.mix-region-badge{max-width:115px;font-size:.59rem;}}

/* Compact portrait phone player. TEYES 1024x600 stays unchanged. */
@media (max-width:768px){
 html,body{width:100%;max-width:100%;overflow:hidden;overscroll-behavior:none;}
 .main-container{height:100dvh!important;max-height:100dvh!important;width:100vw!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;}
 .header-overlay{box-sizing:border-box;height:calc(54px + env(safe-area-inset-top,0px))!important;
  min-height:calc(54px + env(safe-area-inset-top,0px))!important;
  padding:env(safe-area-inset-top,0px) 12px 0!important;}
 .header-right{right:10px!important;gap:7px!important;}
 .header-left{min-width:0!important;}
 .brand-display{font-size:clamp(.83rem,3.45vw,1.1rem)!important;letter-spacing:.02em!important;}
 .left-col{display:grid!important;grid-template-columns:68px minmax(0,1fr);
  grid-template-rows:68px auto auto;column-gap:12px;row-gap:3px;align-items:center!important;
  padding:10px 12px 8px!important;width:100%!important;max-width:none!important;
  min-height:0!important;box-sizing:border-box;
  background:linear-gradient(145deg,var(--theme-left-a,#171b20),var(--theme-left-b,#12171c))!important;
  border-bottom:1px solid var(--theme-border,#35404b)!important;}
 .left-col .visual-container{display:flex!important;grid-column:1;grid-row:1;
  width:68px!important;height:68px!important;margin:0!important;overflow:hidden!important;position:relative;}
 .left-col .vinyl-wrapper{position:relative!important;width:65px!important;height:65px!important;
  min-width:65px!important;min-height:65px!important;max-width:65px!important;
  border:2px solid var(--theme-border,#35404b)!important;
  box-shadow:0 5px 16px rgba(0,0,0,.26)!important;}
 .left-col .vinyl-wrapper::after{width:9px!important;height:9px!important;border-width:1px!important;}
 .left-col .vinyl-img{width:46px!important;height:46px!important;max-width:46px!important;
  border-width:3px!important;aspect-ratio:1!important;}
 .left-col .loader-overlay{border-radius:50%!important;background:transparent!important;}
 .left-col .spinner{width:24px!important;height:24px!important;border-width:2px!important;}
 .left-col .track-info-display{grid-column:2;grid-row:1;min-width:0!important;
  width:100%!important;height:68px!important;min-height:68px!important;
  justify-content:center!important;text-align:left!important;
  margin:0!important;padding:0 45px 0 0!important;}
 .left-col .np-title{font-size:clamp(.99rem,4vw,1.17rem)!important;
  line-height:1.24!important;max-width:100%;margin:0 0 5px!important;}
 .left-col .np-artist{font-size:.78rem!important;line-height:1.3!important;
  letter-spacing:.01em!important;text-transform:none!important;
  max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 .left-col .now-playing-heart{width:40px!important;height:40px!important;min-width:40px!important;
  right:0!important;top:50%;border-radius:12px;transform:translateY(-50%);}
 .left-col .progress-area{grid-column:1/-1;grid-row:2;width:100%!important;
  padding:5px 0 0!important;margin:0!important;}
 .left-col .progress-bar-wrap{height:5px!important;}
 .left-col .time-display{margin-top:6px!important;font-size:.69rem!important;line-height:1;}
 .left-col .main-btns{grid-column:1/-1;grid-row:3;display:flex!important;
  justify-content:space-between!important;align-items:center!important;gap:5px!important;
  width:100%;max-width:340px;margin:1px auto 0!important;padding:0 8px;}
 .left-col .main-btns .c-btn{width:40px!important;height:40px!important;min-width:40px!important;
  font-size:1rem!important;border-radius:13px!important;box-shadow:none!important;}
 .left-col .main-btns .play-btn{width:53px!important;height:53px!important;min-width:53px!important;
  font-size:1.3rem!important;border-radius:17px!important;
  box-shadow:0 5px 15px rgba(var(--theme-rgb,192,108,66),.2)!important;}
 .right-col{flex:1 1 0!important;min-height:0!important;overflow:hidden!important;border-top:0!important;}
 .right-col-header{margin:8px 12px 7px!important;padding:4px!important;gap:6px!important;
  min-height:46px;background:var(--theme-control,#1b2229)!important;
  border:1px solid var(--theme-border,#35404b)!important;border-radius:13px!important;}
 .right-col-header .tab-btn,.right-col-header .pl-select-btn{
  min-width:0!important;min-height:39px!important;height:39px!important;flex:1 1 0!important;
  font-size:.78rem!important;padding:7px 6px!important;white-space:nowrap;}
 .right-col-header .tab-btn.active,.right-col-header .pl-select-btn.active{
  background:rgba(var(--theme-rgb,192,108,66),.18)!important;
  border-color:var(--theme-middle,#ca805d)!important;color:var(--theme-bright,#dfaa8c)!important;
  box-shadow:none!important;}
 .right-col-header .queue-toggle-btn{width:39px!important;min-width:39px!important;
  flex:0 0 39px!important;height:39px!important;min-height:39px!important;}
 .search-container-wrap{margin:0 12px 6px!important;}
 .search-input{min-height:42px!important;padding:10px 13px!important;font-size:16px!important;
  border-radius:12px!important;border:1px solid var(--theme-border,#35404b)!important;}
 .active-pl-label{margin:3px 13px 7px!important;text-align:left!important;
  width:auto!important;font-size:.85rem!important;letter-spacing:.04em;}
 .playlist-area{flex:1 1 0!important;min-height:0!important;height:auto!important;
  padding:0 11px calc(16px + env(safe-area-inset-bottom,0px))!important;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
 .playlist-area .track-row{margin:0 0 5px!important;padding:8px 9px!important;
  min-height:58px!important;gap:9px!important;transform:none!important;box-sizing:border-box;
  border-radius:12px!important;border:1px solid var(--theme-border,#35404b)!important;
  background:rgba(255,255,255,.025)!important;}
 .playlist-area .track-row.active{border-color:var(--theme-middle,#ca805d)!important;
  background:rgba(var(--theme-rgb,192,108,66),.1)!important;}
 .playlist-area .track-row img{width:40px!important;height:40px!important;min-width:40px!important;
  margin-right:0!important;}
 .playlist-area .track-left{gap:3px!important;min-width:0;}
 .playlist-area .t-title{font-size:.91rem!important;font-weight:700!important;}
 .playlist-area .t-artist{font-size:.74rem!important;gap:4px!important;}
 .playlist-area .track-actions{display:flex;align-items:center;flex:0 0 auto;gap:1px;}
 .playlist-area .btn-list-action{width:32px;height:35px;padding:5px!important;font-size:.96rem!important;}
 .playlist-area .source-badge{font-size:.55rem;padding:2px 4px;}
 #menu-modal .menu-modal-box{border-radius:18px!important;max-height:calc(100dvh - 36px)!important;}
 .modal-overlay{padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);}
 .ios-install-banner{display:flex;align-items:center;gap:9px;min-height:51px;margin:0 12px 8px;
  padding:8px 10px;border:1px solid var(--theme-middle,#ca805d);
  background:rgba(var(--theme-rgb,192,108,66),.09);border-radius:13px;box-sizing:border-box;}
 .ios-banner-icon{font-size:1.18rem;color:var(--theme-bright,#dfaa8c);min-width:21px;}
 .ios-banner-copy{flex:1;display:flex;flex-direction:column;min-width:0;gap:2px;}
 .ios-banner-copy strong{font-size:.78rem;}
 .ios-banner-copy small{font-size:.68rem;color:var(--theme-muted,#a6b0b9);}
 .ios-banner-action{min-height:34px;padding:0 9px;background:var(--theme-middle,#ca805d);
  border:0;border-radius:9px;color:var(--theme-on-accent,#101317);font-weight:800;font-size:.71rem;}
 .ios-banner-close{width:28px;height:32px;min-width:28px;border:0;
  background:transparent;color:var(--theme-muted,#a6b0b9);}
}
@media(max-width:355px){
 .header-right{right:6px!important;gap:4px!important;width:128px!important;
  min-width:128px!important;max-width:128px!important;}
 .header-left{width:calc(100% - 142px)!important;}
 .brand-display{font-size:.8rem!important;}
 .left-col{grid-template-columns:59px minmax(0,1fr);column-gap:9px;padding:8px!important;}
 .left-col .visual-container{width:59px!important;height:59px!important;}
 .left-col .vinyl-wrapper{width:57px!important;height:57px!important;min-width:57px!important;min-height:57px!important;}
 .left-col .vinyl-img{width:42px!important;height:42px!important;}
 .left-col .track-info-display{height:59px!important;min-height:59px!important;}
 .left-col .main-btns{padding:0;}
 .left-col .main-btns .c-btn{width:37px!important;height:37px!important;min-width:37px!important;}
 .ios-banner-copy small{display:none;}
}
@media(max-width:768px) and (max-height:620px){
 .left-col{grid-template-columns:56px minmax(0,1fr);grid-template-rows:56px auto auto;
  padding-top:5px!important;padding-bottom:5px!important;}
 .left-col .visual-container{width:56px!important;height:56px!important;}
 .left-col .vinyl-wrapper{width:54px!important;height:54px!important;
  min-width:54px!important;min-height:54px!important;}
 .left-col .vinyl-img{width:40px!important;height:40px!important;}
 .left-col .track-info-display{height:56px!important;min-height:56px!important;}
 .left-col .main-btns .play-btn{width:46px!important;height:46px!important;min-width:46px!important;}
 .left-col .main-btns .c-btn{width:36px!important;height:36px!important;min-width:36px!important;}
 .right-col-header{margin-top:5px!important;margin-bottom:5px!important;}
}
#ios-install-guide-btn[hidden],#ios-install-banner[hidden]{display:none!important;}
.ios-install-modal-box{width:min(485px,calc(100vw - 22px));max-height:86dvh;overflow-y:auto;
 padding:25px 22px 20px!important;text-align:left!important;border-radius:21px!important;}
.ios-install-heading{display:flex;gap:13px;align-items:center;padding-right:24px;margin-bottom:18px;}
.ios-install-logo{width:57px;height:57px;min-width:57px;display:grid;place-items:center;
 border-radius:17px;color:var(--theme-bright,#dfaa8c);font-size:1.65rem;
 background:rgba(var(--theme-rgb,192,108,66),.14);border:1px solid var(--theme-middle,#ca805d);}
.ios-install-heading .modal-title{margin:2px 0 4px!important;font-size:1.17rem!important;text-align:left;}
.ios-install-heading p{color:var(--theme-muted,#a6b0b9);font-size:.8rem;line-height:1.4;margin:0;}
.ios-install-other-browser{padding:10px;border:1px solid var(--theme-middle,#ca805d);
 border-radius:11px;color:var(--theme-bright,#dfaa8c);font-size:.8rem;}
.ios-install-other-browser[hidden]{display:none!important;}
.ios-install-steps{display:grid;gap:9px;}
.ios-install-step{display:flex;align-items:center;gap:12px;padding:13px;
 background:var(--theme-control,#1b2229);border:1px solid var(--theme-border,#35404b);border-radius:13px;}
.ios-install-step>b{display:grid;place-items:center;width:35px;height:35px;min-width:35px;
 border-radius:11px;color:var(--theme-on-accent,#101317);background:var(--theme-middle,#ca805d);}
.ios-install-step span{display:flex;flex-direction:column;gap:4px;}
.ios-install-step strong{font-size:.88rem;}
.ios-install-step small{font-size:.77rem;line-height:1.4;color:var(--theme-muted,#a6b0b9);}
.ios-install-step i,.ios-install-disclaimer i{color:var(--theme-bright,#dfaa8c);}
.ios-install-disclaimer{font-size:.78rem;color:var(--theme-muted,#a6b0b9);line-height:1.6;margin:14px 0;}

/* iPhone sees its installation route instead of an unusable Android APK. */
#android-apk-download-btn[hidden]{display:none!important;}

/* Compact republic/language selection nested inside Caucasian radio. */
.caucasus-radio-box{max-width:680px!important;}
.caucasus-radio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
 max-height:min(57dvh,440px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px;}
.caucasus-region-btn{min-height:64px;padding:11px 13px;display:flex;flex-direction:column;gap:5px;
 text-align:left;border:1px solid var(--theme-border,#35404b);border-radius:13px;
 color:var(--theme-bright-text,#f5f6f8);background:var(--theme-control,#1b2229);cursor:pointer;}
.caucasus-region-btn:hover,.caucasus-region-btn:focus-visible{outline:0;border-color:var(--theme-middle,#ca805d);
 background:rgba(var(--theme-rgb,192,108,66),.14);}
.caucasus-region-btn strong{font-size:.85rem;}
.caucasus-region-btn small{font-size:.72rem;color:var(--theme-muted,#a6b0b9);}
@media(max-width:460px){.caucasus-radio-grid{grid-template-columns:1fr;max-height:52dvh;}
.caucasus-region-btn{min-height:54px;}}

.playlist-download-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;
 margin:0 17px 8px;padding:8px 11px;border:1px solid var(--theme-border,#35404b);
 border-radius:12px;background:var(--theme-control,#1b2229);}

/* Listening-first refresh: calmer navigation, bigger artwork and track lists.
   All accents remain bound to the five existing theme tokens.
   Keep playback markup/IDs and the lightweight TEYES rendering untouched. */
@media (min-width:769px) {
  .main-container {
    width:100vw;
    max-width:none;
    height:100vh;
    height:100dvh;
    max-height:none;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .header-overlay {
    height:76px;
    padding:0 30px;
    border-bottom:1px solid rgba(var(--theme-rgb,192,108,66),.13);
    background:rgba(var(--theme-header-rgb,20,26,32),.97);
  }
  .brand-display {font-size:clamp(1.45rem,2vw,1.9rem);letter-spacing:.065em;}
  .header-right {gap:11px;}
  .header-right .icon-btn,.header-right .menu-btn {
    width:46px;height:46px;
    border-radius:15px;
    box-shadow:none;
  }
  .left-col {
    flex:0 0 38%;
    width:38%;
    max-width:530px;
    min-width:315px;
    padding:100px 32px 32px;
    justify-content:center;
    overflow:hidden;
  }
  .left-col::before {
    content:"СЕЙЧАС ИГРАЕТ";
    position:absolute;
    left:32px;
    top:94px;
    color:var(--theme-muted,#a6b0b9);
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.16em;
  }
  .visual-container {
    height:clamp(156px,31vh,294px);
    margin:10px 0 16px;
    overflow:visible;
  }
  .vinyl-wrapper {
    width:clamp(158px,29vh,262px);
    height:clamp(158px,29vh,262px);
    background:
      repeating-radial-gradient(circle,rgba(255,255,255,.035) 0 1px,transparent 2px 5px),
      #080b0c;
  }
  .vinyl-img {
    width:68%;
    height:68%;
    border-width:7px;
    box-shadow:0 0 0 1px rgba(var(--theme-rgb,192,108,66),.26);
  }
  .vinyl-wrapper::after {width:13px;height:13px;}
  .track-info-display {
    width:100%;
    height:auto;
    min-height:78px;
    margin:0 0 14px;
    padding:0 54px 0 2px;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    gap:5px;
  }
  .np-title {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    white-space:normal;
    overflow:hidden;
    text-overflow:ellipsis;
    width:100%;
    max-height:2.55em;
    line-height:1.26;
    font-size:clamp(1.08rem,1.9vw,1.47rem);
    font-weight:800;
    margin:0;
    overflow-wrap:anywhere;
  }
  .np-artist {
    width:100%;
    line-height:1.35;
    font-size:.83rem;
    letter-spacing:.02em;
    text-transform:none;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:left;
  }
  .now-playing-heart {
    right:0;
    top:50%;
    width:46px;
    height:46px;
    border-radius:50%;
  }
  .progress-area {margin:3px 0 21px;padding:10px 2px 7px;}
  .progress-bar-wrap {height:7px;border-radius:99px;}
  .progress-current::after {
    content:"";
    position:absolute;
    right:-5px;top:50%;
    width:12px;height:12px;
    transform:translateY(-50%);
    border-radius:50%;
    background:var(--theme-bright,#dfaa8c);
    box-shadow:0 0 0 3px var(--theme-left-b,#12171c);
  }
  .time-display {margin-top:13px;font-size:.78rem;}
  .main-btns {width:100%;margin:0;gap:clamp(10px,1.6vw,20px);}
  .main-btns .c-btn {
    width:48px;height:48px;min-width:48px;
    border-radius:50%;
    box-shadow:none;
  }
  .main-btns .play-btn {
    width:68px;height:68px;min-width:68px;
    border-radius:50%;
    font-size:1.5rem;
    padding-left:3px;
  }
  .right-col {padding-top:76px;}
  .right-col-header {
    margin:19px 28px 16px;
    padding:5px;
    gap:7px;
    min-height:59px;
    background:var(--theme-control,#1b2229);
    border:1px solid var(--theme-border,#35404b);
    border-radius:17px;
  }
  .right-col-header .tab-btn,.right-col-header .pl-select-btn {
    min-height:46px;
    border-radius:12px;
    padding:10px 12px;
    font-size:.86rem;
    letter-spacing:.015em;
  }
  .right-col-header .tab-btn.active,
  .right-col-header .pl-select-btn.active {
    background:rgba(var(--theme-rgb,192,108,66),.18);
    border-color:rgba(var(--theme-rgb,192,108,66),.46);
  }
  .queue-toggle-btn {min-height:46px;min-width:46px;flex-basis:46px;border-radius:12px;}
  .search-container-wrap {margin:0 28px 16px;}
  .search-container-wrap::before {
    content:"\f002";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    left:20px;top:50%;
    transform:translateY(-50%);
    pointer-events:none;
    z-index:1;
    font-size:1rem;
    color:var(--theme-muted,#a6b0b9);
  }
  .search-input {
    min-height:52px;
    padding:13px 17px 13px 52px;
    border-radius:15px;
    font-size:.98rem;
    box-shadow:none;
  }
  .active-pl-label {
    margin:3px 30px 12px;
    width:auto;
    font-size:clamp(1.3rem,2.1vw,1.75rem);
    line-height:1.25;
    letter-spacing:.02em;
    color:var(--theme-bright-text,#f5f6f8);
    text-transform:none;
    overflow-wrap:anywhere;
  }
  .playlist-download-bar {
    margin:0 28px 15px;
    padding:9px 13px;
    min-height:48px;
    gap:13px;
    border-radius:13px;
    background:rgba(var(--theme-rgb,192,108,66),.065);
  }
  .playlist-area {
    min-height:0;
    padding:0 22px 25px 28px;
  }
  .track-row {
    margin:0 0 6px;
    min-height:70px;
    padding:9px 13px;
    border-radius:14px;
    border:1px solid transparent;
    gap:13px;
    transform:none;
  }
  .track-row:hover {background:rgba(var(--theme-rgb,192,108,66),.085);}
  .track-row.active {
    transform:none;
    border:1px solid rgba(var(--theme-rgb,192,108,66),.35);
    border-left:3px solid var(--theme-middle,#ca805d);
    background:rgba(var(--theme-rgb,192,108,66),.14);
  }
  .track-row img {
    width:50px!important;height:50px!important;
    min-width:50px;
    margin-right:0!important;
    border-radius:12px!important;
  }
  .track-left {gap:5px;}
  .t-title {font-size:1rem;line-height:1.3;font-weight:700;}
  .t-artist {font-size:.81rem;line-height:1.35;}
  .track-actions {display:flex;align-items:center;gap:1px;flex-shrink:0;}
  .btn-list-action {
    min-width:40px;min-height:40px;
    border-radius:11px;
    font-size:1.04rem;
  }
}

/* CC3 and similar low-height widescreens: avoid covering the title or controls. */
@media (min-width:769px) and (max-height:760px) {
  .header-overlay {height:62px;padding:0 21px;}
  .left-col {padding:73px 24px 15px;}
  .left-col::before {top:76px;left:24px;font-size:.65rem;}
  .visual-container {
    height:clamp(140px,calc(100dvh - 385px),222px);
    margin:18px 0 9px;
  }
  .vinyl-wrapper {width:clamp(135px,29vh,210px);height:clamp(135px,29vh,210px);}
  .track-info-display {min-height:67px;margin-bottom:4px;}
  .np-title {font-size:clamp(1.03rem,1.55vw,1.25rem);max-height:2.55em;}
  .np-artist {font-size:.8rem;}
  .progress-area {margin:0 0 9px;padding:6px 2px 6px;}
  .time-display {margin-top:8px;}
  .main-btns {gap:clamp(8px,1.35vw,16px);}
  .main-btns .c-btn {width:44px;height:44px;min-width:44px;}
  .main-btns .play-btn {width:60px;height:60px;min-width:60px;}
  .right-col {padding-top:62px;}
  .right-col-header {margin:7px 18px 11px;min-height:54px;padding:4px;}
  .right-col-header .tab-btn,.right-col-header .pl-select-btn {min-height:43px;padding:9px;}
  .queue-toggle-btn {min-width:43px;min-height:43px;flex-basis:43px;}
  .active-pl-label {margin:0 20px 9px;font-size:1.35rem;}
  .search-container-wrap {margin:0 18px 10px;}
  .search-container-wrap::before {left:19px;}
  .playlist-download-bar {margin:0 18px 9px;min-height:45px;padding:6px 10px;}
  .playlist-area {padding:0 14px 16px 18px;}
  .track-row {min-height:61px;padding:6px 10px;margin-bottom:4px;gap:10px;}
  .track-row img {width:44px!important;height:44px!important;min-width:44px;}
}
@media (min-width:769px) and (max-height:540px) {
  .left-col::before {display:none;}
  .left-col {padding-top:60px;}
  .visual-container {height:125px;margin:0 0 5px;}
  .vinyl-wrapper {width:122px;height:122px;}
  .track-info-display {min-height:58px;}
  .progress-area {margin-bottom:3px;}
  .main-btns .play-btn {width:53px;height:53px;min-width:53px;}
}

/* Mobile keeps the existing compact mini-player while sharing the new list rhythm. */
@media (max-width:768px) {
  .left-col .np-title {line-height:1.3!important;}
  .right-col-header {border-radius:15px!important;}
  .right-col-header .tab-btn,.right-col-header .pl-select-btn {border-radius:11px!important;}
  .playlist-area .track-row {min-height:62px!important;gap:10px!important;}
  .playlist-area .track-row.active {border-left:3px solid var(--theme-middle,#ca805d)!important;}
  .playlist-area .track-row img {border-radius:11px!important;}
  .playlist-area .track-actions .btn-list-action {border-radius:10px;min-width:32px;min-height:36px;}
}
.playlist-download-bar[hidden]{display:none!important;}
.playlist-download-bar button{padding:8px 12px;min-height:37px;border-radius:9px;
 color:var(--theme-on-accent,#101317);background:var(--theme-middle,#ca805d);
 border:0;font-size:.78rem;font-weight:800;}
.playlist-download-bar span{font-size:.75rem;color:var(--theme-muted,#a6b0b9);}
.offline-settings{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;}
.offline-settings label{font-size:.79rem;color:var(--theme-bright-text,#f5f6f8);}
.offline-settings select{min-height:37px;border-radius:9px;
 border:1px solid var(--theme-border,#35404b);background:var(--theme-control,#1b2229);
 color:var(--theme-bright-text,#f5f6f8);padding:6px;}
.offline-settings p{font-size:.76rem;color:var(--theme-muted,#a6b0b9);width:100%;margin:0;}
.offline-economy{display:flex;align-items:center;gap:6px;}
@media(max-width:768px){.playlist-download-bar{margin:0 12px 6px;padding:6px 9px;gap:7px;}
.playlist-download-bar button{min-height:34px;}
.playlist-download-bar span{font-size:.7rem;}}

.eq-level-setting{display:flex;gap:10px;align-items:center;color:var(--theme-bright-text,#f5f6f8);
 font-size:.83rem;margin:12px 0 4px;}
.eq-level-setting input:disabled{opacity:.5;}
.eq-level-note{font-size:.73rem;color:var(--theme-muted,#a6b0b9);line-height:1.4;margin:2px 0 10px;}
