
/* Layout: Telegram mini app, one column. Spotify-like dark shell: screen-tinted gradients from cover colour, shelves, full now-playing view, mini player over a 4-tab bar. Warm gold accent for the "philharmonic" brand. */
:root{
  color-scheme:dark;
  --bg:#100e13; --surface:#1b1820; --surface-2:#25212b; --hover:#2e2935; --line:rgba(255,255,255,.08);
  --fg:#ffffff; --muted:#b5afbd; --dim:#7f7889;
  --accent:#f6b93b; --accent-2:#ffd47a; --accent-ink:#1d1405;
  --like:#ff5c8a; --up:#4ade80;
  --f-ui:"Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-brand:"Unbounded", "Onest", system-ui, sans-serif;
  --r:10px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%;margin:0}
html{color-scheme:dark}
img{max-width:100%}
body{background:var(--bg);color:var(--fg);font:15px/1.45 var(--f-ui);overflow:hidden;-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
button:focus-visible,input:focus-visible,textarea:focus-visible,.filebox:focus-within{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3,p{margin:0}
svg.i{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}

.app{max-width:480px;margin:0 auto;height:100%;position:relative}
.screens{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;transition:background .6s;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:14px 170px;scrollbar-width:none}
.screens::-webkit-scrollbar{display:none}
.screen{display:flex;flex-direction:column;gap:22px}

/* loader */
.loader{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;transition:opacity .5s;
  background:radial-gradient(ellipse 80% 60% at 50% 40%,#2a1d3d,#100e13 70%)}
.loader.out{opacity:0;pointer-events:none}
.loader canvas{width:300px;max-width:100%;height:auto;aspect-ratio:4/3}
.brand{font:700 26px/1.1 var(--f-brand);letter-spacing:-.01em;background:linear-gradient(90deg,var(--accent-2),var(--accent) 55%,#ff8a5c);-webkit-background-clip:text;background-clip:text;color:transparent}
.lsub{font-size:14px;color:var(--muted);margin-top:-8px}
.lbar{width:180px;height:4px;border-radius:4px;background:rgba(255,255,255,.12);overflow:hidden}
.lbar i{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,var(--accent),#ff8a5c)}
.lnote{font-size:13px;color:var(--dim);min-height:18px}

/* shared */
.cov{display:block;border-radius:6px;object-fit:cover;background:var(--surface-2)}
.sh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:-8px}
.sh h2{font-size:22px;font-weight:800;letter-spacing:-.01em}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{font-size:12px;font-weight:600;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.1)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:14px;padding:11px 16px;border-radius:999px;background:rgba(255,255,255,.1);transition:transform .1s,background .2s}
.btn:active{transform:scale(.97)}
.btn .i{width:18px;height:18px}
.btn-accent{background:var(--accent);color:var(--accent-ink)}
.circle-play{width:44px;height:44px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;flex:none;box-shadow:0 8px 20px rgba(0,0,0,.35)}
.circle-play .i{width:20px;height:20px;margin-left:2px}
.row-btn{display:flex;gap:12px;align-items:center;min-width:0;text-align:left;width:100%}
.row-btn .t{min-width:0;line-height:1.25;flex:1}
.row-btn .t b,.row-btn .t span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-btn .t b{font-weight:600}
.row-btn .t span{color:var(--muted);font-size:13px}
.back{align-self:flex-start;display:flex;gap:4px;align-items:center;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:-6px}
.back .i{width:18px;height:18px}

/* home */
.topbar{display:flex;align-items:center;justify-content:space-between}
.topbar .brand{font-size:20px}
.demo{font-size:11px;font-weight:700;letter-spacing:.06em;padding:5px 10px;border-radius:999px;border:1px solid rgba(246,185,59,.45);color:var(--accent)}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;align-items:stretch}
.hello{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding-top:2px}
.hello h1{font-size:28px;font-weight:800;line-height:1.05;letter-spacing:-.02em;text-wrap:balance}
.hello p{font-size:14px;color:var(--muted);line-height:1.35}
.hello p b{color:var(--fg)}
.recent{background:rgba(255,255,255,.07);border-radius:var(--r);padding:12px;min-width:0;display:flex;flex-direction:column;gap:10px}
.recent ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.recent .row-btn{gap:9px}
.recent .row-btn img{width:36px;height:36px;flex:none;border-radius:4px}
.recent .t b{font-size:13px}.recent .t span{font-size:12px}

.shelf{display:grid;grid-auto-flow:column;grid-auto-columns:148px;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  margin-left:calc(-1 * max(16px,env(safe-area-inset-left,0px)));margin-right:calc(-1 * max(16px,env(safe-area-inset-right,0px)));
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));scroll-padding-left:max(16px,env(safe-area-inset-left,0px))}
.shelf::-webkit-scrollbar{display:none}
.rc{display:flex;flex-direction:column;gap:8px;text-align:left;scroll-snap-align:start;min-width:0}
.rc .art{position:relative}
.rc .art img{width:148px;height:148px;box-shadow:0 10px 24px rgba(0,0,0,.4)}
.rc .art .circle-play{position:absolute;right:8px;bottom:8px;width:40px;height:40px}
.rc b{font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc span{font-size:13px;color:var(--muted);margin-top:-6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.news-list{display:flex;flex-direction:column;gap:12px}
.news{background:var(--surface);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:10px}
.news .meta{display:flex;justify-content:space-between;align-items:center;gap:10px}
.news .when{font-size:12px;color:var(--dim)}
.k-rel{color:var(--up)}.k-rev{color:var(--like)}.k-top{color:var(--accent)}.k-mile{color:#60a5fa}
.news h3{font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.01em;text-wrap:balance}
.news p{font-size:14px;color:var(--muted)}
.news .row-btn img{width:52px;height:52px;flex:none}
.review{padding:0;overflow:hidden}
.review .rv-top{display:grid;grid-template-columns:116px minmax(0,1fr);gap:14px;padding:16px 16px 4px;align-items:end}
.review .rv-top img{width:116px;height:116px;box-shadow:0 12px 28px rgba(0,0,0,.45)}
.review .rv-body{padding:8px 16px 16px;display:flex;flex-direction:column;gap:10px}
.review .byline{font-size:12px;color:var(--dim)}
.chart-rows{display:flex;flex-direction:column;gap:10px}
.chart-rows .n{font:700 16px/1 var(--f-brand);color:var(--accent);width:20px;flex:none;text-align:center}
.chart-rows img{width:44px;height:44px;flex:none;border-radius:4px}
.chart-rows .plays{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none}

.artists{border-radius:var(--r);padding:24px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;
  background:radial-gradient(ellipse 90% 80% at 50% 0%,rgba(246,185,59,.22),transparent 70%),var(--surface)}
.stack{display:flex}
.stack img{width:42px;height:42px;border-radius:50%;border:3px solid var(--surface);margin-left:-12px}
.stack img:first-child{margin-left:0}
.artists .num{font:800 34px/1.05 var(--f-brand);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.artists p{color:var(--muted);font-size:14px}

/* player */
.player{gap:18px}
.ph-top{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;text-align:center}
.ph-top button{width:40px;height:40px;display:grid;place-items:center}
.ph-top button .i{width:26px;height:26px}
.ph-top b{display:block;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.cover-big{width:100%;max-width:360px;aspect-ratio:1;align-self:center;border-radius:8px;box-shadow:0 24px 60px rgba(0,0,0,.55);overflow:hidden;background:var(--surface-2)}
.cover-big img{width:100%;height:100%;border-radius:0}
.ti-row{display:flex;align-items:center;gap:12px}
.ti{min-width:0;flex:1}
.ti h1{font-size:24px;font-weight:800;line-height:1.15;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ti p{color:var(--muted);font-size:16px;margin-top:2px}
.ic-btn{width:44px;height:44px;display:grid;place-items:center;flex:none;color:var(--fg)}
.ic-btn .i{width:26px;height:26px}
.ic-btn.liked{color:var(--like)}
.ic-btn.liked .i{fill:currentColor}
.prog{position:relative;height:20px;display:flex;align-items:center}
.prog .track{position:absolute;left:0;right:0;height:4px;border-radius:4px;background:rgba(255,255,255,.22)}
.prog .fill{position:absolute;left:0;height:4px;border-radius:4px;background:var(--fg);width:0}
.prog .knob{position:absolute;width:12px;height:12px;border-radius:50%;background:var(--fg);margin-left:-6px;left:0;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.prog input{position:absolute;inset:0;width:100%;opacity:0;margin:0;cursor:pointer}
.times{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:-4px}
.ctrls{display:flex;align-items:center;justify-content:space-between}
.ctrls .ic-btn .i{width:30px;height:30px}
.ctrls .small .i{width:22px;height:22px}
.ctrls .small{color:var(--muted);position:relative}
.ctrls .small.on{color:var(--accent)}
.ctrls .small.on::after{content:"";position:absolute;bottom:2px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--accent)}
.big-play{width:68px;height:68px;border-radius:50%;background:var(--fg);color:#100e13;display:grid;place-items:center;transition:transform .1s}
.big-play:active{transform:scale(.95)}
.big-play .i{width:30px;height:30px}
.big-play .i.play{margin-left:3px}
.acts{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:8px}
.acts .btn{padding:11px 8px}
.acts .btn.on{color:var(--up)}

.stage{position:relative;overflow:hidden;border-radius:12px;display:flex;flex-direction:column;align-items:center;
  background:radial-gradient(ellipse 40% 90% at 50% -5%,rgba(255,224,150,.32),rgba(255,224,150,0) 70%),linear-gradient(180deg,#1f1430 0%,#0d0a12 100%)}
.stage::before,.stage::after{content:"";position:absolute;top:0;bottom:0;width:42px;z-index:1;
  background:repeating-linear-gradient(90deg,#5e0f24 0,#a8213f 7px,#d6405e 10px,#a8213f 13px,#5e0f24 20px)}
.stage::before{left:0;border-bottom-right-radius:60% 30%}
.stage::after{right:0;border-bottom-left-radius:60% 30%}
.stage canvas{width:200px;height:200px;position:relative;z-index:0;margin-top:4px}
.stage .floor{height:26px;width:100%;margin-top:-14px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0));border-top:1px solid rgba(255,255,255,.1)}
.stage .lbl{position:absolute;bottom:10px;left:0;right:0;z-index:2;text-align:center;font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--accent-2)}
.stage .bpm{position:absolute;top:12px;right:52px;z-index:2;font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--muted)}
.pick{font-size:13px;color:var(--muted);text-align:center}
.pick b{color:var(--fg)}

/* bitok */
.bitok-stage canvas{width:260px;height:260px}
.bk-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bk-head h1{font:800 30px/1.1 var(--f-brand);letter-spacing:-.02em}
.lvl{font-size:12px;font-weight:800;letter-spacing:.06em;background:var(--accent);color:var(--accent-ink);padding:6px 12px;border-radius:999px}
.xp{height:10px;border-radius:10px;background:rgba(255,255,255,.1);overflow:hidden}
.xp i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#4ade80,#a3e635)}
.hint{font-size:14px;color:var(--muted)}
.hint b{color:var(--fg)}
.arts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.artf{background:var(--surface);border-radius:var(--r);padding:10px 6px 12px;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;transition:background .2s}
.artf canvas{width:96px;max-width:100%;height:auto;aspect-ratio:1}
.artf b{font-size:14px;font-weight:700}
.artf small{font-size:12px;color:var(--muted)}
.artf[aria-pressed="true"]{background:var(--surface-2);box-shadow:inset 0 0 0 2px var(--accent)}
.artf[aria-pressed="true"] small{color:var(--accent)}
.artf.locked canvas{filter:brightness(0) opacity(.35)}
.artf.locked b{color:var(--dim)}
.dances{display:flex;flex-direction:column;gap:8px}
.dance{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:var(--r);padding:14px 16px}
.dance .dot{width:10px;height:10px;border-radius:50%;flex:none}
.dance b{font-weight:700}
.dance span{margin-left:auto;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.dance.on{box-shadow:inset 0 0 0 2px var(--accent)}

/* top */
.top-hero{display:flex;gap:16px;align-items:flex-end}
.top-hero .cover-art{width:112px;height:112px;flex:none;border-radius:8px;display:grid;place-items:center;box-shadow:0 16px 36px rgba(0,0,0,.45);
  background:radial-gradient(circle at 30% 25%,#ffe39a,#f6b93b 45%,#d9603b 100%);color:#2b1400}
.top-hero .cover-art .i{width:56px;height:56px;stroke-width:1.8}
.top-hero h1{font:800 26px/1.1 var(--f-brand);letter-spacing:-.02em}
.top-hero p{color:var(--muted);font-size:14px;margin-top:8px}
.seg{display:flex;gap:8px}
.seg button{padding:8px 16px;font-size:14px;font-weight:600;border-radius:999px;background:rgba(255,255,255,.1)}
.seg button[aria-pressed="true"]{background:var(--fg);color:#100e13}
.toplist{display:flex;flex-direction:column}
.trow{display:flex;align-items:center;gap:12px;padding:8px 0;text-align:left;width:100%}
.trow .rk{font-size:16px;font-weight:700;color:var(--muted);width:24px;flex:none;text-align:center;font-variant-numeric:tabular-nums}
.trow:nth-child(-n+3) .rk{color:var(--accent)}
.trow img{width:52px;height:52px;flex:none;border-radius:50%}
.trow .nm{min-width:0;flex:1}
.trow .nm b{display:flex;align-items:center;gap:6px;font-weight:700;min-width:0}
.trow .nm b em{font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trow .nm>span{font-size:13px;color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trow .st{text-align:right;flex:none;font-variant-numeric:tabular-nums;font-size:13px;color:var(--up);font-weight:700}
.new{font-size:10px;font-weight:800;letter-spacing:.05em;color:#062b14;background:var(--up);padding:2px 6px;border-radius:999px;flex:none}

/* me */
.prof{display:flex;gap:16px;align-items:flex-end}
.ava{width:108px;height:108px;flex:none;border-radius:50%;display:grid;place-items:center;font:800 44px/1 var(--f-brand);box-shadow:0 16px 36px rgba(0,0,0,.45);background:linear-gradient(135deg,#ff8a5c,#c2185b 60%,#5b2a86)}
.prof h1{font:800 28px/1.1 var(--f-brand);letter-spacing:-.02em;overflow-wrap:anywhere}
.prof p{color:var(--muted);font-size:14px;margin-top:8px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat{background:var(--surface);border-radius:var(--r);padding:14px 8px;text-align:center}
.stat b{display:block;font:700 22px/1 var(--f-brand);font-variant-numeric:tabular-nums}
.stat span{font-size:12px;color:var(--muted);display:block;margin-top:6px}
.become{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;align-items:center;text-align:left;width:100%;padding:12px 16px 12px 6px;border-radius:12px;
  background:linear-gradient(120deg,#8a2a55,#3a1f6b)}
.become canvas{width:100px;height:100px}
.become b{display:block;font-size:19px;font-weight:800}
.become .d{display:block;font-size:14px;color:rgba(255,255,255,.8);margin-top:4px}
.become .btn{margin-top:12px;padding:9px 14px}
.list{display:flex;flex-direction:column;gap:10px}
.list .row-btn img{width:52px;height:52px;flex:none}
.empty{color:var(--muted);font-size:14px}

/* upload */
.up-title{font:800 26px/1.15 var(--f-brand);letter-spacing:-.02em;margin-top:6px}
.field{display:flex;flex-direction:column;gap:8px}
.field .lab{font-size:14px;font-weight:700}
.field .sub{font-size:13px;color:var(--muted);font-weight:400}
.field input[type=text],.field textarea{background:var(--surface-2);border:1px solid transparent;border-radius:8px;padding:12px 14px;color:var(--fg);font:15px var(--f-ui);width:100%;transition:border-color .2s}
.field input[type=text]:focus,.field textarea:focus{border-color:var(--accent);outline:none}
.field textarea{min-height:92px;resize:vertical}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:8px 14px;font-size:14px;font-weight:600;border-radius:999px;background:rgba(255,255,255,.1);display:flex;align-items:center;gap:8px}
.chip i{width:8px;height:8px;border-radius:50%;display:block}
.chip[aria-pressed="true"]{background:var(--fg);color:#100e13}
.filebox{display:flex;gap:14px;align-items:center;background:var(--surface);border:1px dashed rgba(255,255,255,.18);border-radius:10px;padding:10px;cursor:pointer;position:relative}
.filebox img,.filebox .ph{width:68px;height:68px;flex:none;border-radius:6px}
.filebox .ph{background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}
.filebox .ph .i{width:26px;height:26px}
.filebox span{font-size:14px;color:var(--muted);min-width:0;overflow-wrap:anywhere}
.filebox input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.terms{background:var(--surface);border-radius:var(--r);padding:16px;font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:10px}
.terms b{color:var(--fg);font-size:15px}
.terms ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.terms li{display:flex;gap:10px}
.terms li .i{width:16px;height:16px;flex:none;color:var(--accent);margin-top:2px}
.agree{display:flex;gap:12px;align-items:flex-start;font-size:15px;cursor:pointer}
.agree input{width:22px;height:22px;accent-color:var(--accent);flex:none;margin:0}
.pay{width:100%;font-size:16px;padding:16px}
.pay:disabled{background:var(--surface-2);color:var(--dim);cursor:not-allowed}
.missing{font-size:13px;color:var(--muted);text-align:center;margin-top:-10px}

/* mini + nav */
.mini{position:fixed;left:0;right:0;z-index:19;bottom:calc(66px + env(safe-area-inset-bottom,0px));
  padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}
.mini-in{max-width:464px;margin:0 auto;background:var(--mini,#3a2350);border-radius:8px;padding:7px 6px 9px 7px;display:flex;align-items:center;gap:6px;position:relative;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.45);transition:background .6s}
.mini-in .row-btn{flex:1;gap:10px}
.mini-in .row-btn img{width:40px;height:40px;flex:none;border-radius:4px}
.mini-in .t b{font-size:14px}.mini-in .t span{font-size:12px;color:rgba(255,255,255,.72)}
.mini-in .ic-btn{width:40px;height:40px}
.mini-in .ic-btn .i{width:22px;height:22px}
.mini-prog{position:absolute;left:7px;right:7px;bottom:3px;height:2px;border-radius:2px;background:rgba(255,255,255,.22)}
.mini-prog i{display:block;height:100%;border-radius:2px;background:var(--fg);width:0}
.nav{position:fixed;left:0;right:0;bottom:0;z-index:20;background:linear-gradient(to top,rgba(16,14,19,1) 55%,rgba(16,14,19,0));
  padding:24px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
.nav-in{max-width:464px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr)}
.nav button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0;font-size:11px;font-weight:600;color:var(--dim);transition:color .2s}
.nav button .i{width:25px;height:25px}
.nav button[aria-current="page"]{color:var(--fg)}
.nav button[aria-current="page"] .i{color:var(--accent)}

/* sheet + toast */
.scrim{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.6);display:flex;align-items:flex-end;justify-content:center}
.sheet{width:100%;max-width:480px;background:#211d27;border-radius:16px 16px 0 0;
  padding:10px max(16px,env(safe-area-inset-right,0px)) calc(18px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:16px}
.grab{width:36px;height:4px;border-radius:4px;background:rgba(255,255,255,.25);align-self:center}
.sheet .who{display:flex;gap:12px;align-items:center}
.sheet .who img{width:56px;height:56px;flex:none}
.sheet h3{font-size:18px;font-weight:800}
.sheet p{font-size:13px;color:var(--muted)}
.amts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.amts button{padding:14px 4px;font-weight:800;font-size:16px;font-variant-numeric:tabular-nums;border-radius:10px;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;gap:4px}
.amts button .i{width:16px;height:16px;fill:var(--accent);stroke:none}
.amts button[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink)}
.amts button[aria-pressed="true"] .i{fill:var(--accent-ink)}
.sheet .row{display:flex;gap:8px}
.sheet .row .btn{flex:1;padding:14px}
.toast{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);z-index:70;width:min(440px,calc(100% - 32px));
  background:#2b2631;border-radius:10px;padding:12px 14px;font-size:14px;display:flex;gap:10px;align-items:flex-start;box-shadow:0 12px 34px rgba(0,0,0,.5)}
.toast .i{width:18px;height:18px;flex:none;fill:var(--accent);stroke:none;margin-top:1px}
@media (prefers-reduced-motion: reduce){.loader,.screens,.mini-in{transition:none}}

/* ---------- additions for the live app ---------- */
.empty-card{background:var(--surface);border-radius:var(--r);padding:18px 16px;color:var(--muted);font-size:14px;text-align:center}
.recent .empty{font-size:12px;color:var(--dim);line-height:1.35}
.chip-status{font-size:11px;font-weight:700;letter-spacing:.04em;padding:3px 8px;border-radius:999px;flex:none;text-transform:uppercase}
.chip-status.draft{background:rgba(246,185,59,.18);color:var(--accent)}
.chip-status.hidden{background:rgba(255,92,138,.16);color:var(--like)}
.chip-status.published{background:rgba(74,222,128,.15);color:var(--up)}
.mytrack{display:flex;flex-direction:column;gap:10px;background:var(--surface);border-radius:var(--r);padding:10px 12px}
.mytrack .row-btn img{width:48px;height:48px;flex:none}
.mytrack .btn{align-self:flex-start;padding:9px 14px}
.earn{background:linear-gradient(120deg,rgba(246,185,59,.18),rgba(246,185,59,.04));border-radius:var(--r);padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.earn b{font:700 22px/1 var(--f-brand)}
.earn span{font-size:13px;color:var(--muted)}
.linkbtn{align-self:center;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--dim);padding:6px 10px}
.linkbtn .i{width:14px;height:14px}
.upbar{height:6px;border-radius:6px;background:rgba(255,255,255,.1);overflow:hidden}
.upbar i{display:block;height:100%;width:0;background:var(--accent);transition:width .2s}
.upstate{font-size:13px;color:var(--muted);text-align:center}
.field input[type=text].short{max-width:100%}
.reasons{display:flex;flex-direction:column;gap:8px}
.reasons button{text-align:left;padding:14px 16px;border-radius:10px;background:var(--surface-2);font-weight:600}
.reasons button[aria-pressed="true"]{background:var(--fg);color:#100e13}
.gate{position:fixed;inset:0;z-index:80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;text-align:center;background:var(--bg)}
.gate p{color:var(--muted);max-width:320px}
.spin{width:22px;height:22px;border-radius:50%;border:3px solid rgba(255,255,255,.15);border-top-color:var(--accent);animation:spin 1s linear infinite;margin:20px auto}
@keyframes spin{to{transform:rotate(360deg)}}
.cover-big img{object-fit:cover}
@media (prefers-reduced-motion: reduce){.spin{animation-duration:3s}}
.tempo{display:flex;gap:8px;align-items:stretch}
.tempo input{flex:0 0 110px;background:var(--surface-2);border:1px solid transparent;border-radius:8px;padding:12px 14px;color:var(--fg);font:600 16px var(--f-ui);min-width:0}
.tempo input:focus{border-color:var(--accent);outline:none}
.tempo .btn{flex:1}
.tempo .btn.tapping{background:var(--accent);color:var(--accent-ink)}
