:root[data-accent=coral]{--accent:#ff9991;--accent-ink:#3c1818;--soft:#4c3030}
html,body{touch-action:pan-x pan-y}button,a{touch-action:pan-x pan-y}
:root[data-accent=lemon]{--accent:#e9e887;--accent-ink:#292b10;--soft:#383d28}
:root[data-accent=ice]{--accent:#a0e8ef;--accent-ink:#143039;--soft:#26414a}
:root[data-accent=aurora]{--accent:#9ceddc;--accent-ink:#132b29;--soft:#24413e}
:root[data-accent=sunset]{--accent:#ffbb9d;--accent-ink:#38212b;--soft:#453044}
:root[data-accent=orchid]{--accent:#dbb8ff;--accent-ink:#281d38;--soft:#392c50}
:root[data-accent=ocean]{--accent:#99d6ff;--accent-ink:#102c3e;--soft:#253e58}
.topbar .plus-entry{margin-left:auto;margin-right:12px;border:1px solid #c4acff55;background:linear-gradient(120deg,#aaa0ff20,#91dfce14);color:var(--text);padding:9px 14px;border-radius:24px;white-space:nowrap;font-weight:750;font-size:12px}
.plus-dialog{text-align:center;width:min(510px,calc(100% - 24px));background:radial-gradient(ellipse at 50% 5%,#49407066,transparent 62%),var(--panel)!important}
.plus-pill{border:1px solid #b6abed55;padding:7px 12px;border-radius:30px;font-size:10px;letter-spacing:2px;color:var(--text)}
.plus-emblem{font-size:70px;color:#c8b9fa;margin:22px auto 12px;text-shadow:0 0 40px #c0a7ff66}
.plus-eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted);margin:12px 0}
.plus-dialog h2{font-size:43px;letter-spacing:-2px;line-height:1.12;margin:18px 0}.plus-dialog h2 span{color:var(--accent)}
.plus-intro{color:var(--muted);font-size:13px;line-height:1.7;margin:18px auto 24px;max-width:280px}
.plus-benefits{text-align:left;display:grid;gap:18px;padding:24px 0;border-block:1px solid var(--line);margin-bottom:24px}.plus-benefits>div{display:flex;align-items:center;gap:14px}.plus-benefits b{display:grid;place-items:center;width:40px;height:40px;background:var(--surface);border-radius:13px;color:var(--accent);font-size:23px}.plus-benefits strong,.plus-benefits small{display:block}.plus-benefits strong{font-size:13px}.plus-benefits small{color:var(--muted);font-size:11px;margin-top:5px}
.plus-subscribe{width:100%;justify-content:space-between!important;min-height:50px}.plus-payment-note{font-size:11px;color:var(--muted);line-height:1.6;min-height:36px}
.plus-profile-card{display:grid;grid-template-columns:38px 1fr 22px;text-align:left;width:100%;border:1px solid #ad9dea55;border-radius:17px;padding:18px;gap:4px 12px;background:linear-gradient(120deg,#ab9be821,#86d5c914);color:var(--text);margin:0 0 24px}.plus-card-icon{grid-row:span 2;font-size:30px;color:var(--accent)}.plus-profile-card>span:nth-child(2){font-size:15px;font-weight:750}.plus-profile-card small{grid-column:2;color:var(--muted);font-size:11px}.plus-card-arrow{grid-column:3;grid-row:1 / 3;align-self:center}
.theme-dialog{width:min(580px,calc(100% - 24px))}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.theme-tile{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;text-align:left;color:var(--text);background:var(--surface)}.theme-tile[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:1px}.theme-swatch{height:55px;border-radius:9px;width:100%;display:block}.theme-tile strong{font-size:11px}.theme-tile small{font-size:9px;color:var(--muted)}.theme-feedback{font-size:12px;line-height:1.6;color:var(--muted);min-height:36px}
[data-scene=aurora] .hero,.theme-swatch[data-scene=aurora]{background:linear-gradient(135deg,#253d51,#3e416f,#286b60)!important}
[data-scene=sunset] .hero,.theme-swatch[data-scene=sunset]{background:linear-gradient(135deg,#674657,#88504e,#5b4063)!important}
[data-scene=orchid] .hero,.theme-swatch[data-scene=orchid]{background:linear-gradient(135deg,#303a63,#624775,#624061)!important}
[data-scene=ocean] .hero,.theme-swatch[data-scene=ocean]{background:linear-gradient(135deg,#1d344d,#22556e,#29584e)!important}
:root[data-scene] .hero h1,:root[data-scene] .hero .eyebrow{color:#fff}:root[data-scene] .hero p{color:#e4e8ef}
.pwa-actions{margin:20px 0;display:grid;gap:10px}.pwa-actions p{font-size:11px;line-height:1.65;color:var(--muted);margin:0}.pwa-link{overflow-wrap:anywhere;color:var(--accent);font-size:12px}.test-marker{position:fixed;top:0;left:0;right:0;height:3px;pointer-events:none;background:linear-gradient(90deg,#b5a3ff,#8ee6dc);z-index:200}.test-label{font-size:9px;letter-spacing:1px;color:var(--muted);text-align:center}
@media(max-width:450px){.topbar .plus-entry{padding:8px 10px;margin-right:7px}.topbar .profile #greeting{display:none}.topbar .profile{padding:4px 7px;max-width:none}.plus-dialog h2{font-size:37px}.theme-grid{gap:8px}.theme-tile{padding:8px}.theme-tile small{font-size:8px}}
/* Fixed columns keep the action menu in place through every download state. */
body .track-entry{grid-template-columns:minmax(0,1fr) 46px 34px;gap:3px}
body .track-entry .track{min-width:0;grid-template-columns:30px minmax(0,1fr) 130px}
.track-download-slot{display:grid;place-items:center;min-width:0;width:46px;height:44px}
.track-slot-duration{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.track-entry>.track-more{grid-column:3;justify-self:end}
.download-spinner{width:15px;height:15px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .85s linear infinite}
body .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;min-width:0}
body .topbar .plus-entry,body .topbar .profile{margin:0;max-width:100%;min-width:0}
body .topbar .mobile-brand{min-width:0;white-space:nowrap;overflow:hidden}
body #profile-dialog{box-sizing:border-box;position:fixed;inset:max(12px,var(--app-safe-top,0px)) 0 max(12px,var(--safe-bottom));margin:auto;width:min(480px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(min(100dvh,var(--tg-viewport-height,100dvh)) - max(12px,var(--app-safe-top,0px)) - max(12px,var(--safe-bottom)));overflow:auto;overscroll-behavior:contain}
#profile-dialog .profile-identity>div{min-width:0}#profile-dialog .profile-identity strong{overflow-wrap:anywhere}
#profile-dialog .setting-row{gap:12px;min-width:0}#profile-dialog .setting-row select{min-width:0;max-width:60%}
@media(max-width:760px){body .track-entry .track{grid-template-columns:minmax(0,1fr)}body .topbar .profile #greeting{display:none}body .topbar .profile{padding:4px 7px}body .topbar .profile .avatar{display:grid}body .topbar .mobile-brand{font-size:16px}body .topbar .plus-entry{padding:8px 10px}}
