/* Crate listening stats (stats.js). Same ink canvas + album accent. Everything is sized in flex/grid so it holds at 375–430 px wide. */
.st-root { --st-r: 16px; }
.st-top { position: sticky; top: calc(var(--safe-t) + 0px); z-index: 14; margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad) 8px; background: linear-gradient(var(--bg) 78%, transparent); }
.st-seg { display: flex; padding: 3px; border-radius: 999px; background: var(--bg-2); gap: 2px; overflow-x: auto; scrollbar-width: none; }
.st-seg::-webkit-scrollbar { display: none; }
.st-seg button { flex: 1 0 auto; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background .2s, color .2s; white-space: nowrap; }
.st-seg button.on { background: var(--bg-3); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }

/* hero */
.st-hero { position: relative; margin-top: 4px; padding: 6px 0 10px; }
.st-nav { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.st-nb { width: 44px; flex: none; }
.st-plabel { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 1px; padding: 4px 6px; border-radius: 12px; text-align: center; }
.st-plabel .l1 { font: 600 22px/1.15 var(--serif); letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.st-plabel .l2 { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.st-big { font: 600 clamp(52px, 17vw, 76px)/1 var(--serif); letter-spacing: -.035em; text-align: center; margin: 14px 0 2px; font-variation-settings: "opsz" 144;
  background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--accent) 70%, var(--text))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-bigsub { text-align: center; font-size: 13px; color: var(--text-2); }
.st-bigsub .num { color: var(--text-3); }
.st-cmp { min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--text-3); text-align: center; flex-wrap: wrap; }
.st-d { font-weight: 600; font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); }
.st-d.good { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.st-d.bad { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.st-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-top: 18px; }
.st-k { background: var(--bg); padding: 13px 12px 11px; min-width: 0; }
.st-k .v { font: 600 26px/1 var(--serif); letter-spacing: -.02em; }
.st-k .l { margin-top: 6px; font-size: 11.5px; color: var(--text-3); letter-spacing: .03em; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.st-k .l .st-d { font-size: 10.5px; padding: 1px 5px; }
.st-k .s { font-size: 11px; color: var(--text-3); opacity: .8; margin-top: 2px; }

/* cards */
.st-sec { margin-top: 14px; min-height: 0; }
.st-sec.empty { display: none; }
.st-card { background: var(--bg-1); border-radius: var(--st-r); padding: 16px 14px 14px; box-shadow: inset 0 0 0 1px var(--line); }
.st-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; margin-bottom: 8px; }
.st-ch h3 { margin: 0; font: 600 19px/1.1 var(--serif); letter-spacing: -.01em; }
.st-sm { font-size: 12px; color: var(--text-3); text-align: right; }
.st-tabs { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--bg-2); gap: 1px; flex: none; }
.st-tabs button { height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.st-tabs button.on { background: var(--bg-3); color: var(--text); }
.st-p { font-size: 13.5px; color: var(--text-2); margin: 12px 0 0; line-height: 1.5; }
.st-p b { color: var(--text); font-weight: 600; }
.st-note { font-size: 11.5px; color: var(--text-3); margin-top: 8px; }
.st-none { padding: 18px 4px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.st-skel { border-radius: var(--st-r); background: linear-gradient(100deg, var(--bg-1) 30%, var(--bg-2) 50%, var(--bg-1) 70%) 0 0 / 220% 100%; animation: stsk 1.3s linear infinite; }
@keyframes stsk { to { background-position: -120% 0; } }
.st-err { padding: 22px 8px; text-align: center; color: var(--text-2); display: grid; justify-items: center; gap: 6px; }
.st-err .ic { width: 28px; height: 28px; color: var(--text-3); }
.st-err p { margin: 0 0 6px; font-size: 13.5px; }
.st-sub2 { margin: 16px 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 500; display: flex; align-items: baseline; gap: 8px; }
.st-sub2 small { letter-spacing: 0; text-transform: none; }

/* bar charts + readout */
.st-bars { display: flex; align-items: stretch; gap: clamp(1px, .5vw, 3px); height: 120px; touch-action: pan-y; cursor: pointer; }
.st-bars.sm { height: 54px; }
.st-bars .b { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; position: relative; }
.st-bars .b i { display: block; width: 100%; height: var(--h); border-radius: 3px 3px 1px 1px; background: color-mix(in srgb, var(--accent) 52%, var(--bg-3)); transform-origin: bottom; animation: stgrow .75s var(--ease) both; animation-delay: var(--d, 0ms); transition: background .15s; }
.st-bars .b.z i { background: var(--bg-3); opacity: .6; height: 2px; }
.st-bars .b.on i { background: var(--accent); }
.st-bars .b.cur i { box-shadow: 0 0 0 1px var(--accent); }
@keyframes stgrow { from { transform: scaleY(0); } }
.st-bars.stack .b { flex-direction: column-reverse; justify-content: flex-start; gap: 1px; height: 100%; opacity: .92; }
.st-bars.stack .b.on { opacity: 1; outline: 1px solid var(--line-2); outline-offset: 1px; border-radius: 3px; }
.st-bars.stack .b i { width: 100%; height: auto; border-radius: 2px; background: none; animation: stfade .6s var(--ease) both; animation-delay: var(--d, 0ms); }
.st-bars.stack { height: 140px; }
@keyframes stfade { from { opacity: 0; } }
.st-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 5px; min-height: 14px; }
.st-read { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 6px 10px; border-radius: 10px; background: var(--bg-2); font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.st-read .t { min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.st-read .t b { color: var(--text); font-weight: 600; }
.st-open { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--text); color: #0b0b0c; }
.st-open .ic { width: 12px; height: 12px; }

/* top rows */
.st-rows { display: grid; }
.st-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 60px; padding: 6px 2px; text-align: left; border-radius: 10px; position: relative; animation: stin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
.st-row + .st-row::before { content: ""; position: absolute; left: 62px; right: 0; top: 0; height: 1px; background: var(--line); }
.st-row:active { background: rgba(255,255,255,.04); }
@keyframes stin { from { opacity: 0; transform: translateY(6px); } }
.st-row .rk { flex: none; width: 18px; text-align: center; font-size: 12.5px; color: var(--text-3); }
.th { flex: none; position: relative; width: 44px; height: 44px; border-radius: 7px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th.lg { width: 64px; height: 64px; border-radius: 10px; } .th.xl { width: 168px; height: 168px; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.th.nolib .ic { width: 18px; height: 18px; color: var(--text-3); }
.st-row .tx { flex: 1; min-width: 0; display: grid; gap: 1px; }
.st-row .tx b { font-weight: 500; font-size: 14.5px; line-height: 1.25; }
.st-row .tx i { font-style: normal; font-size: 12.5px; color: var(--text-3); }
.st-row .bar { display: block; height: 3px; border-radius: 2px; background: var(--bg-3); margin-top: 4px; overflow: hidden; }
.st-row .bar u { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: 2px; transform-origin: left; animation: stgx .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms + 120ms); }
@keyframes stgx { from { transform: scaleX(0); } }
.st-row .rt { flex: none; text-align: right; display: grid; gap: 1px; }
.st-row .rt b { font-weight: 600; font-size: 14px; }
.st-row .rt i { font-style: normal; font-size: 12px; color: var(--text-3); }
.st-row .rt em { font-style: normal; font-size: 10.5px; margin-left: 3px; } .st-row .rt em.up { color: var(--ok); } .st-row .rt em.dn { color: var(--danger); }
.st-new { text-decoration: none; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #0b0b0c; background: var(--accent); border-radius: 4px; padding: 1px 5px; margin-left: 4px; }
.st-more { display: block; width: 100%; height: 40px; margin-top: 6px; border-radius: 10px; font-size: 13px; color: var(--text-2); background: var(--bg-2); }
.st-foot { margin-top: 10px; font-size: 11.5px; color: var(--text-3); text-align: center; }

/* behaviour */
.st-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.st-rg { position: relative; display: grid; justify-items: center; gap: 2px; padding-top: 2px; }
.st-rg b { position: absolute; top: 22px; font: 600 14px/1 var(--sans); }
.st-rg span { font-size: 11.5px; color: var(--text-3); text-align: center; margin-top: 2px; }
.st-ring { width: 76px; height: 76px; transform: rotate(-90deg); }
.st-ring circle { fill: none; stroke-width: 6; } .st-ring .bg { stroke: var(--bg-3); }
.st-ring .fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--o); animation: string 1s var(--ease) both; }
.st-ring.ok .fg { stroke: var(--ok); } .st-ring.sk .fg { stroke: var(--danger); }
@keyframes string { from { stroke-dashoffset: var(--c); } }
.st-stack { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 2px; margin-top: 14px; }
.st-stack i { display: block; min-width: 3px; animation: stgx2 .8s var(--ease) both; transform-origin: left; }
@keyframes stgx2 { from { transform: scaleX(0); } }
.st-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend span > i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.st-legend em { font-style: normal; color: var(--text-3); }
.st-legend.dev { padding-top: 10px; border-top: 1px solid var(--line); }
.st-legend .ic { width: 14px; height: 14px; color: var(--text-3); }
.st-legend.lv { align-items: center; justify-content: flex-end; gap: 4px; margin-top: 8px; font-size: 11px; color: var(--text-3); }
.st-legend.lv i { width: 11px; height: 11px; border-radius: 3px; }

/* clock */
.st-clock { display: grid; grid-template-columns: 30px repeat(24, 1fr); gap: 2px; align-items: center; touch-action: manipulation; }
.st-clock em { font-style: normal; font-size: 10px; color: var(--text-3); text-align: left; height: 12px; line-height: 12px; overflow: visible; white-space: nowrap; }
.st-clock b { font-size: 10.5px; font-weight: 500; color: var(--text-3); }
.st-clock i { aspect-ratio: 1; border-radius: 3px; background: var(--bg-2); cursor: pointer; transition: transform .12s; }
.st-clock i.h { background: color-mix(in srgb, var(--accent) calc(var(--a) * 100%), var(--bg-2)); animation: stpop .5s var(--ease) both; }
.st-clock i.sel { outline: 2px solid var(--text); outline-offset: 0; z-index: 1; position: relative; }
@keyframes stpop { from { transform: scale(.4); opacity: 0; } }

/* calendar */
.st-cal { display: flex; gap: 6px; align-items: flex-start; }
.st-cal-l { flex: none; display: grid; grid-template-rows: repeat(7, 12px); gap: 3px; margin-top: 17px; font-size: 9.5px; color: var(--text-3); line-height: 12px; width: 24px; }
.st-cal-l span:nth-child(1) { grid-row: 1; } .st-cal-l span:nth-child(2) { grid-row: 3; } .st-cal-l span:nth-child(3) { grid-row: 5; } .st-cal-l span:nth-child(4) { grid-row: 7; }
.st-cal-s { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.st-cal-s::-webkit-scrollbar { display: none; }
.st-cal-m { display: grid; grid-template-columns: repeat(var(--w), 12px); gap: 3px; height: 14px; margin-bottom: 3px; width: max-content; }
.st-cal-m em { font-style: normal; font-size: 10px; color: var(--text-3); white-space: nowrap; line-height: 14px; }
.st-cal-g { display: grid; grid-template-rows: repeat(7, 12px); grid-auto-flow: column; grid-auto-columns: 12px; gap: 3px; width: max-content; }
.st-cal-g i, .st-legend.lv i { background: var(--bg-2); } .st-cal-g i { border-radius: 3px; cursor: pointer; }
.hv1 { background: color-mix(in srgb, var(--accent) 24%, var(--bg-2)) !important; } .hv2 { background: color-mix(in srgb, var(--accent) 48%, var(--bg-2)) !important; }
.hv3 { background: color-mix(in srgb, var(--accent) 74%, var(--bg-2)) !important; } .hv4 { background: var(--accent) !important; }
.st-cal-g i.in { box-shadow: 0 0 0 1px rgba(255,255,255,.28); } .st-cal-g i.fut { opacity: .25; }
.st-cal-g i.sel { outline: 2px solid var(--text); outline-offset: 0; position: relative; z-index: 1; }

/* streak + trio + sessions */
.st-streaks { display: grid; gap: 8px; }
.st-sk { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); min-height: 56px; }
.st-sk .ic { width: 22px; height: 22px; flex: none; color: var(--text-3); }
.st-sk.hot .ic { color: #ff9a4d; filter: drop-shadow(0 0 8px rgba(255,154,77,.5)); }
.st-sk b { font: 600 26px/1 var(--serif); min-width: 34px; }
.st-sk span { font-size: 12.5px; color: var(--text-2); line-height: 1.3; min-width: 0; }
.st-trio { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.st-trio > div { background: var(--bg-1); padding: 11px 6px; text-align: center; min-width: 0; }
.st-trio b { display: block; font: 600 19px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-trio span { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; }
.st-hist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 92px; margin-top: 14px; }
.st-hist > div { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; align-items: end; gap: 2px; }
.st-hist i { display: block; width: 100%; height: var(--h); min-height: 3px; background: color-mix(in srgb, var(--accent) 55%, var(--bg-3)); border-radius: 4px 4px 1px 1px; animation: stgrow .7s var(--ease) both; transform-origin: bottom; }
.st-hist b { font-size: 12px; font-weight: 600; } .st-hist span { font-size: 10.5px; color: var(--text-3); }
.st-mini { display: flex; align-items: flex-end; gap: 2px; height: 44px; } .st-mini.tall { height: 64px; }
.st-mini i { flex: 1 1 0; min-width: 0; height: var(--h); background: color-mix(in srgb, var(--accent) 55%, var(--bg-3)); border-radius: 2px 2px 0 0; animation: stgrow .7s var(--ease) both; transform-origin: bottom; }
.st-mini.skp i { background: color-mix(in srgb, var(--danger) 60%, var(--bg-3)); }
.st-ses-l { display: grid; margin-top: 8px; }
.st-ses { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "d tm du pl" "ar ar ar ar"; gap: 1px 10px; align-items: baseline; text-align: left; padding: 9px 4px; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; width: 100%; }
.st-ses .d { grid-area: d; font-weight: 600; } .st-ses .tm { grid-area: tm; color: var(--text-2); } .st-ses .du { grid-area: du; color: var(--accent); font-weight: 600; text-align: right; } .st-ses .pl { grid-area: pl; color: var(--text-3); font-size: 12px; }
.st-ses .ar { grid-area: ar; font-size: 12px; color: var(--text-3); }
.st-ses.static { grid-template-columns: auto 1fr auto; grid-template-areas: "tm du pl" "ar ar ar"; }
.st-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px calc(-1 * 14px) 0; padding: 0 14px; }
.st-chips::-webkit-scrollbar { display: none; }
.st-chip { flex: none; display: flex; align-items: center; gap: 8px; max-width: 220px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--bg-2); font-size: 13px; }
.st-chip .th { width: 30px; height: 30px; border-radius: 50%; } .st-chip em { font-style: normal; font-size: 11.5px; color: var(--text-3); }

/* on this day, recaps */
.st-otd { display: grid; gap: 8px; }
.st-ot { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); min-width: 0; }
.st-ot .w { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; } .st-ot .w em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--text-3); }
.st-ot .m { font-size: 12.5px; color: var(--accent); } .st-ot .tt { font-size: 12.5px; color: var(--text-3); }
.st-rec { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 4px 14px 6px; scroll-snap-type: x proximity; }
.st-rec::-webkit-scrollbar { display: none; }
.st-rc { flex: none; width: 124px; height: 150px; border-radius: 16px; padding: 14px 12px; display: grid; align-content: end; gap: 2px; text-align: left; scroll-snap-align: start;
  background: radial-gradient(120% 90% at 100% 0%, hsl(var(--h) 60% 38% / .7), transparent 60%), linear-gradient(160deg, hsl(var(--h) 38% 16%), hsl(var(--h) 30% 7%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.st-rc em { font-style: normal; font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.6); font-weight: 600; }
.st-rc b { font: 600 24px/1.05 var(--serif); letter-spacing: -.02em; } .st-rc span { font-size: 12px; color: rgba(255,255,255,.62); }
.st-rc:active { transform: scale(.97); } .st-rc.yr b { font-size: 30px; }

/* sheets */
.st-sheet { padding-bottom: 8px; }
.st-sh-t { font: 600 22px var(--serif); margin: 4px 0 12px; }
.st-sh-h { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; }
.st-sh-h .tx { flex: 1; min-width: 0; } .st-sh-h h3 { margin: 0; font: 600 21px/1.15 var(--serif); letter-spacing: -.01em; } .st-sh-h p { margin: 3px 0 0; font-size: 13px; color: var(--text-3); }
.st-play { flex: none; }
.st-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 13px; }
.st-dl dt { color: var(--text-3); } .st-dl dd { margin: 0; color: var(--text); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.st-dl2 { text-align: center; font-size: 12px; color: var(--text-3); margin: 8px 0 12px; }
.st-pls { display: grid; }
.st-pl { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; }
.st-pl.dim { opacity: .72; }
.st-pl .tm { font-weight: 600; font-size: 13px; } .st-pl .tm small { font-weight: 400; color: var(--text-3); font-size: 10.5px; }
.st-pl .tx { min-width: 0; display: grid; gap: 1px; } .st-pl .tx b { font-weight: 500; } .st-pl .tx i { font-style: normal; font-size: 12px; color: var(--text-3); }
.st-pl .meta { font-size: 11.5px; color: var(--text-3); overflow-wrap: anywhere; }
.st-pl .pb { display: block; height: 2px; border-radius: 2px; background: var(--bg-3); margin-top: 4px; overflow: hidden; } .st-pl .pb u { display: block; height: 100%; background: var(--accent); }
.bd { display: grid; justify-items: end; gap: 2px; text-align: right; flex: none; }
.bd em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; color: var(--text-2); background: rgba(255,255,255,.08); }
.bd em.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); } .bd em.sk { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.bd small { font-size: 10.5px; color: var(--text-3); }
.st-plw { cursor: pointer; }
.st-range { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.st-range label { display: grid; gap: 4px; font-size: 12px; color: var(--text-3); min-width: 0; }
.st-range input { height: 44px; border-radius: 10px; background: var(--bg-2); border: 0; padding: 0 10px; font-size: 16px; color: var(--text); min-width: 0; width: 100%; color-scheme: dark; }
.st-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; } .st-apply { width: 100%; height: 46px; }

/* library block under the dashboard */
.st-libt { margin-top: 34px; }

/* Activity › Listening */
.st-feed-h .st-hero.sm { padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.st-link { display: inline-flex; align-items: center; gap: 4px; justify-self: end; font-size: 13px; color: var(--text-2); text-decoration: none; min-height: 32px; } .st-link .ic { width: 12px; height: 12px; }
.st-chips-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(-1 * var(--pad)) 6px; padding: 2px var(--pad); }
.st-chips-row::-webkit-scrollbar { display: none; }
.st-dayh { position: sticky; top: calc(var(--safe-t) + 44px); z-index: 3; padding: 14px 2px 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 600; background: linear-gradient(var(--bg) 70%, transparent); }
.st-fp { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 6px 2px; text-align: left; border-top: 1px solid var(--line); }
.st-fp .tx { flex: 1; min-width: 0; display: grid; gap: 1px; } .st-fp .tx b { font-weight: 500; font-size: 14.5px; } .st-fp .tx i { font-style: normal; font-size: 12.5px; color: var(--text-3); } .st-fp .meta { font-size: 11.5px; color: var(--text-3); }
.st-fp .bd b { font-size: 13px; font-weight: 600; }

/* recap overlay */
html.st-lock, html.st-lock body { overflow: hidden; }
.st-wrap { position: fixed; inset: 0; z-index: 95; background: #000; animation: stwin .35s var(--ease) both; }
.st-wrap.out { animation: stwout .26s var(--ease) both; }
@keyframes stwin { from { opacity: 0; transform: scale(1.04); } } @keyframes stwout { to { opacity: 0; transform: scale(.98); } }
.st-wcards { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.st-wcards::-webkit-scrollbar { display: none; }
.st-wc { flex: none; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding: calc(var(--safe-t) + 72px) 26px calc(var(--safe-b) + 56px); overflow: hidden;
  background: radial-gradient(90% 60% at 80% 0%, hsl(var(--h, 30) 70% 34% / .75), transparent 62%), radial-gradient(80% 50% at 0% 100%, hsl(calc(var(--h, 30) + 40) 60% 28% / .55), transparent 60%), linear-gradient(170deg, hsl(var(--h, 30) 34% 12%), #070708); }
.st-wc > * { animation: stwi .6s var(--ease) both; } .st-wc > *:nth-child(2) { animation-delay: .08s; } .st-wc > *:nth-child(3) { animation-delay: .16s; } .st-wc > *:nth-child(n+4) { animation-delay: .24s; }
@keyframes stwi { from { opacity: 0; transform: translateY(14px); } }
.st-wc em { font-style: normal; font-size: 12px; letter-spacing: .22em; color: rgba(255,255,255,.62); font-weight: 600; }
.st-wc h2 { margin: 0; font: 600 clamp(34px, 11vw, 52px)/1.04 var(--serif); letter-spacing: -.03em; max-width: 100%; overflow-wrap: anywhere; } .st-wc h2.ell2 { font-size: clamp(28px, 9vw, 40px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-wc .big { font: 600 clamp(56px, 19vw, 92px)/1 var(--serif); letter-spacing: -.04em; } .st-wc .big.sm { font-size: clamp(34px, 11vw, 52px); }
.st-wc p { margin: 0; color: rgba(255,255,255,.7); font-size: 15px; } .st-wc p.sm2 { font-size: 13px; color: rgba(255,255,255,.5); }
.st-wc .chipx { margin-top: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: 15px; }
.st-wc .grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; width: 100%; max-width: 340px; } .st-wc .grid4 b { display: block; font: 600 40px/1 var(--serif); } .st-wc .grid4 small { font-size: 18px; opacity: .6; } .st-wc .grid4 span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.st-wc .wcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; max-width: 300px; margin-top: 14px; } .st-wc .wcal i { aspect-ratio: 1; border-radius: 4px; background: hsl(var(--h) 80% 62% / calc(.08 + var(--a) * .92)); }
.st-wc .cover { margin: 4px 0; }
.st-wc .rank { list-style: none; margin: 10px 0 0; padding: 0; width: 100%; max-width: 340px; display: grid; gap: 4px; text-align: left; }
.st-wc .rank li { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.1); min-width: 0; } .st-wc .rank li > span { opacity: .5; width: 14px; } .st-wc .rank li b, .st-wc .rank li { font-weight: 500; } .st-wc .rank em { margin-left: auto; font-size: 13px; letter-spacing: 0; color: rgba(255,255,255,.55); font-weight: 400; flex: none; } .st-wc .rank b { flex: 1; min-width: 0; }
.st-wc .hl { display: grid; gap: 16px; width: 100%; max-width: 340px; text-align: left; } .st-wc .hl > div { display: grid; gap: 1px; } .st-wc .hl span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); } .st-wc .hl b { font: 600 24px/1.15 var(--serif); } .st-wc .hl i { font-style: normal; font-size: 13px; color: rgba(255,255,255,.62); }
.st-wx { position: absolute; z-index: 3; top: calc(var(--safe-t) + 12px); right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.st-wdots { position: absolute; z-index: 3; top: calc(var(--safe-t) + 22px); left: 18px; right: 70px; display: flex; gap: 4px; pointer-events: none; }
.st-wdots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background .25s; } .st-wdots i.on { background: #fff; }
.st-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .8s linear infinite; }
@media (min-width: 900px) { .st-card { padding: 20px 20px 18px; } .st-kpis { grid-template-columns: repeat(6, 1fr); } .st-bars { height: 160px; } .st-root { max-width: 760px; } .st-wc { padding-left: 20%; padding-right: 20%; } }
@media (prefers-reduced-motion: reduce) { .st-root *, .st-wrap * { animation: none !important; transition: none !important; } }
