

:root {
  --sm-blue: oklch(56% 0.175 254);
  --sm-blue-soft: oklch(95.8% 0.026 248);    
  --sm-flame: oklch(56% 0.175 254);          
  --sm-fire: oklch(69% 0.19 45);             
  --sm-gold: oklch(80% 0.14 82);
  --sm-gold-deep: oklch(64% 0.13 74);
  --sm-gold-ink: oklch(44% 0.09 70);
  --sm-gold-soft: oklch(97.8% 0.03 90);
  --sm-gold-line: oklch(87% 0.08 86);
  --sm-green: oklch(57% 0.15 150);
  --sm-red: oklch(57% 0.21 25);
  --sm-track: oklch(92.5% 0.01 250);
  --sm-off: oklch(97.4% 0.004 250);          
  --sm-hex-off: oklch(90% 0.008 250);
  --sm-hex-off-ink: oklch(60% 0.015 250);
}
:root[data-theme="dark"] {
  --sm-blue: oklch(67% 0.17 252);
  --sm-blue-soft: var(--c-card);
  --sm-flame: oklch(73% 0.18 52);
  --sm-fire: oklch(73% 0.18 52);
  --sm-gold: oklch(80% 0.13 82);
  --sm-gold-deep: oklch(72% 0.13 78);
  --sm-gold-ink: oklch(82% 0.12 86);
  --sm-gold-soft: oklch(24% 0.035 85);
  --sm-gold-line: oklch(50% 0.09 80);
  --sm-green: oklch(80% 0.17 150);
  --sm-red: oklch(71% 0.16 22);
  --sm-track: oklch(31% 0.022 250);
  --sm-off: oklch(19% 0.018 245);
  --sm-hex-off: var(--c-card);
  --sm-hex-off-ink: oklch(66% 0.015 250);
}

 
.sm-card { display: block; padding: 16px; border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-rule); box-shadow: var(--c-shadow-card); color: var(--c-ink); }
.sm-bar { display: block; height: 8px; border-radius: var(--r-pill); background: var(--sm-track); overflow: hidden; }
.sm-bar > b { display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: var(--sm-blue); }
.sm-skel-card { height: 140px; }
.sm-skel-row { height: 52px; margin-top: var(--space-3); }
.sm-skel-hero { height: 220px; border-radius: 18px; }
.sm-nw { white-space: nowrap; }

 
.sm-home { display: flex; flex-direction: column; gap: var(--space-3); }
.fd-page .sm-home .sm-card { padding: 18px; }


.sm-rangkum { display: flex; flex-direction: column; }
.sm-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sm-strip.is-dua { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm-strip.is-satu { grid-template-columns: minmax(0, 1fr); }
.sm-chip { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; min-height: 62px; padding: 9px 8px 8px;
  border-radius: 16px; border: 1px solid var(--c-rule); background: var(--c-card); box-shadow: var(--c-shadow-card); color: var(--c-ink); font: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s; }
.sm-chip:active { transform: scale(0.97); }
.sm-chip[aria-expanded="true"] { border-color: var(--c-accent); background: color-mix(in oklch, var(--c-accent) 9%, var(--c-card)); }
.sm-chip__top { display: flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.sm-chip__ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sm-chip-bg); color: var(--sm-chip-ink); }
.sm-chip__ic .ic { width: 14px; height: 14px; }
.sm-chip small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 700; color: var(--c-muted); }
.sm-chip b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-md); font-weight: 800; line-height: 1.15; }
.sm-chip--streak { --sm-chip-bg: color-mix(in oklch, var(--sm-flame) 15%, transparent); --sm-chip-ink: var(--sm-flame); }
.sm-chip--king { --sm-chip-bg: color-mix(in oklch, var(--sm-gold) 30%, transparent); --sm-chip-ink: var(--sm-gold-deep); }
.sm-chip--goal { --sm-chip-bg: color-mix(in oklch, var(--sm-green) 15%, transparent); --sm-chip-ink: var(--sm-green); }
.sm-chip__dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-fire); box-shadow: 0 0 0 3px var(--c-card); }    
.sm-buka { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.32s var(--ease-out, ease-out), opacity 0.24s var(--ease-out, ease-out); }
.sm-buka.is-buka { grid-template-rows: 1fr; opacity: 1; }
.sm-buka__isi { min-height: 0; overflow: hidden; }
.sm-buka__isi > div { padding: 10px 0 4px; }
.sm-buka .sm-card { transform: scale(0.96); transform-origin: top center; transition: transform 0.32s var(--ease-out, ease-out); }
.sm-buka.is-buka .sm-card { transform: none; }
@media (prefers-reduced-motion: reduce) { .sm-buka, .sm-buka .sm-card, .sm-chip { transition: none; } }
@media (max-width: 349px) { .sm-chip small { font-size: 10px; } .sm-chip b { font-size: var(--text-sm); } .sm-chip__top { gap: 4px; } }    
.sm-kick { font-size: 12px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--sp-title, var(--c-ink)); opacity: 0.86; }
.sm-streak__head { display: flex; align-items: center; gap: 10px; }    
.sm-flame { flex: none; }
.sm-flame .ic { width: 36px; height: 36px; stroke: var(--sp-blue, var(--sm-blue)); stroke-width: 1.7; }
.sm-streak__t { flex: 1; min-width: 0; margin: 0; font-size: 12px; letter-spacing: 0.09em; line-height: 1.25; overflow-wrap: normal; word-break: normal; }    
.sm-streak__pil { flex: none; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 14px 4px 4px; border-radius: var(--r-pill); white-space: nowrap;
  background: linear-gradient(90deg, var(--sp-lime-a, oklch(94% 0.18 116)), var(--sp-lime-b, oklch(88% 0.21 124))); border: 1px solid oklch(80% 0.2 125 / 0.6);
  color: var(--sp-lime-ink, oklch(19% 0.03 262)); font-size: var(--text-sm); font-weight: 800; box-shadow: 0 8px 18px -12px oklch(72% 0.2 125 / 0.9); }
.sm-streak__pil b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; box-sizing: border-box; border-radius: var(--r-pill); background: oklch(16% 0.02 262); color: oklch(100% 0 0); font-size: 1rem; font-weight: 900; }
@media (max-width: 459px) { .sm-pil-x { display: none; } }    
.sm-weeks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sm-weeks li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.sm-weeks small { font-size: 13px; line-height: 1.2; color: var(--c-muted); white-space: nowrap; }
.sm-weeks li:last-child small { white-space: normal; text-align: center; }
.sm-dot { display: grid; place-items: center; width: 100%; max-width: 42px; aspect-ratio: 1; border-radius: 50%; box-sizing: border-box; background: var(--sp-empty, var(--c-paper-3)); border: 1.5px solid var(--sp-empty-line, var(--c-rule)); }
.sm-dot .ic { width: 18px; height: 18px; stroke-width: 3; }
.sm-dot b { font-size: 1.125rem; font-weight: 800; }
.sm-weeks [data-st="on"] .sm-dot { background: var(--sp-blue, var(--sm-blue)); border-color: transparent; color: oklch(100% 0 0); box-shadow: 0 6px 14px -8px var(--sp-blue, var(--sm-blue)); }
.sm-weeks [data-st="now"] .sm-dot { background: transparent; border: 2.5px dashed var(--sp-now, var(--sm-blue)); color: var(--sp-now, var(--sm-blue)); }
.sm-weeks [data-st="now"] small { color: var(--sp-now, var(--sm-blue)); font-weight: 700; }
.sm-weeks [data-st="rest"] .sm-dot { opacity: 0.55; }
.sm-streak__foot { margin-top: 12px; font-size: var(--text-md); color: var(--c-muted); }
.sm-streak__foot b { font-weight: inherit; }
:root[data-theme="dark"] .sm-streak__foot b { color: var(--sp-now); font-weight: 700; }

.fd-page .sm-king.fd-sport { background: linear-gradient(160deg, color-mix(in oklab, var(--sm-gold) 16%, var(--sp-a)), var(--sp-b) 75%); border-color: color-mix(in oklab, var(--sm-gold-deep) 45%, transparent); }
.sm-king__k { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--sm-gold-ink); }
.sm-king__k .ic { flex: none; width: 24px; height: 24px; fill: var(--sm-gold); stroke: var(--sm-gold-deep); }
.sm-king__box { padding: 12px 14px; border-radius: 16px; background: color-mix(in oklab, var(--c-card) 82%, transparent); }
:root[data-theme="dark"] .sm-king__box { padding: 0; background: transparent; }
.sm-king__lead { display: flex; align-items: center; gap: 14px; min-height: 56px; color: inherit; text-decoration: none; border-radius: 12px; }
.sm-king__av { position: relative; flex: none; }
.sm-king__av .avatar { --sz: 54px; box-shadow: 0 0 0 2.5px var(--sm-gold); }
.sm-crown { position: absolute; top: -12px; right: -10px; display: grid; place-items: center; width: 26px; height: 26px; }
.sm-crown .ic { width: 24px; height: 24px; fill: var(--sm-gold); stroke: var(--sm-gold-deep); }
.sm-king__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sm-king__txt b { font-size: 1.125rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sp-title, var(--c-ink)); }
.sm-king__txt small { font-size: var(--text-sm); color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-king__n { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1; color: var(--sm-gold-ink); }
.sm-king__n b { font-family: var(--font-sport); font-size: 2.5rem; font-weight: 800; font-style: italic; letter-spacing: 0; }
.sm-king__n small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.sm-king__me { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sp-line, var(--c-rule)); }
.sm-king__me.is-top { display: block; font-weight: 700; color: var(--sm-gold-ink); }
.sm-king__rank { display: flex; flex-direction: column; font-size: var(--text-md); color: var(--sp-title, var(--c-ink)); }
.sm-king__rank b { font-family: var(--font-sport); font-size: 1.5rem; font-weight: 800; font-style: italic; }
.sm-king__rank small { font-size: var(--text-xs); color: var(--c-muted); }
.sm-king__prog { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sm-king__prog > b { font-size: var(--text-md); font-weight: 800; color: var(--sp-blue, var(--sm-blue)); }
.sm-king__prog .sm-bar { width: 100%; }
.sm-king__empty { font-size: var(--text-sm); color: var(--c-muted); }
.sm-king__foot { margin-top: 12px; font-size: var(--text-sm); color: var(--c-muted); }

.sm-goal__top { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.sm-goal__main { min-width: 0; }
.sm-goal__k { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--sp-title, var(--c-ink)); }
.sm-goal__k span { opacity: 0.86; }
.sm-goal__k .ic { flex: none; width: 34px; height: 34px; color: var(--sp-blue, var(--sm-blue)); }
.sm-goal__t { margin: 0 0 8px; font-family: var(--font-sport); font-size: 1.5rem; font-weight: 800; font-style: italic; font-stretch: normal; line-height: 1.02; letter-spacing: 0; color: var(--sp-title, var(--c-ink)); text-wrap: balance; }
.sm-goal__sub { font-size: var(--text-md); color: var(--c-muted); }
.sm-ring { position: relative; flex: none; width: 116px; aspect-ratio: 1; }
.sm-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.sm-ring circle { fill: none; stroke-width: 12; }
.sm-ring__track { stroke: var(--sp-empty, var(--sm-track)); }
.sm-ring__bar { stroke: var(--sp-blue, var(--sm-blue)); stroke-linecap: round; }
.sm-ring__dot { fill: color-mix(in oklab, var(--sp-blue, var(--sm-blue)) 45%, var(--sp-empty, var(--sm-track))); stroke: none; }
.sm-ring > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.sm-ring b { font-size: 1.75rem; font-weight: 900; color: var(--sp-title, var(--c-ink)); }
.sm-ring small { font-size: var(--text-sm); color: var(--c-muted); }
.sm-goal.is-done .sm-ring__bar { stroke: var(--sm-green); }
.sm-goal__medal { display: flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sp-line, var(--c-rule)); color: var(--sm-gold-ink); font-size: 1.0625rem; font-weight: 800; text-decoration: none; }
.sm-goal__medal > span:nth-child(2) { flex: 1; min-width: 0; }
.sm-goal__medal > .ic { flex: none; color: var(--c-faint); }
.sm-goal__star { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--sm-gold-deep); color: var(--sm-gold); }
.sm-goal__star .ic { width: 20px; height: 20px; fill: currentColor; stroke: var(--sm-gold-deep); }
.sm-goal.is-done .sm-goal__medal > .ic:nth-last-child(2) { color: var(--sm-green); }
@media (max-width: 359px) { .sm-ring { width: 92px; } .sm-ring b { font-size: 1.375rem; } .sm-goal__t { font-size: 1.375rem; } }

.fd-page .sm-ready.fd-sport { display: flex; align-items: center; gap: 12px; background: linear-gradient(160deg, color-mix(in oklab, var(--sm-gold) 18%, var(--sp-a)), var(--sp-b)); border-color: color-mix(in oklab, var(--sm-gold-deep) 45%, transparent); color: var(--sm-gold-ink); text-decoration: none; }
.sm-ready { text-decoration: none; }
.sm-ready > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sm-ready b { font-weight: 800; }
.sm-ready small { font-size: var(--text-sm); }
.sm-ready__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--sm-gold-deep); color: var(--sm-gold); }
.sm-ready__ic .ic { fill: currentColor; stroke: var(--sm-gold-deep); }

 
.sm-prof { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.sm-pcard { display: flex; flex-direction: column; gap: 10px; }
.sm-pcard__t { margin-bottom: 2px; font-size: 1.125rem; font-weight: 700; font-stretch: normal; }
.sm-pcard__t .num { font-size: var(--text-md); font-weight: 500; color: var(--c-muted); }
.sm-mate { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px; border-radius: 14px; border: 1px solid var(--c-rule); background: var(--c-card); color: inherit; text-decoration: none; }
a.sm-mate:hover { border-color: var(--c-accent-line); }
.sm-mate .avatar { --sz: 46px; }
.sm-mate__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sm-mate__k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-faint); }
.sm-mate__k .ic { display: none; width: 14px; height: 14px; }
:root[data-theme="dark"] .sm-mate__k .ic { display: inline-block; }
:root[data-theme="dark"] .sm-mate.is-rival .sm-mate__k .ic { color: var(--sm-red); }
.sm-mate__txt b { font-size: var(--text-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-mate__txt small:last-child { font-size: var(--text-xs); color: var(--c-muted); }
.sm-mate__pct { flex: none; font-size: 1.25rem; font-weight: 800; }
.sm-mate.is-partner .sm-mate__pct { color: var(--sm-green); }
.sm-mate.is-rival .sm-mate__pct { color: var(--sm-red); }
.sm-mate > .ic { flex: none; color: var(--c-faint); }
.sm-mate.is-empty { display: block; min-height: 0; font-size: var(--text-sm); color: var(--c-muted); }
.sm-lock { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--c-paper-3); font-size: var(--text-xs); color: var(--c-muted); }

.sm-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sm-badge { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px 8px; border-radius: 14px; background: var(--sm-off); border: 1px solid var(--c-rule); }
.sm-badge.is-got { background: var(--sm-gold-soft); border-color: var(--sm-gold-line); }
.sm-hex { --hx: var(--sm-hex-off); --hx-line: var(--c-rule-2); position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 48px; color: var(--sm-hex-off-ink); }
.sm-hex::before, .sm-hex::after { content: ''; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sm-hex::before { background: var(--hx-line); }
.sm-hex::after { inset: 3px; background: var(--hx); }
.sm-hex .ic { position: relative; z-index: 1; width: 21px; height: 21px; }
.sm-badge.is-got .sm-hex { --hx: linear-gradient(180deg, oklch(91% 0.11 90), var(--sm-gold)); --hx-line: var(--sm-gold-deep); color: var(--sm-gold-ink); }
:root[data-theme="dark"] .sm-badge.is-got .sm-hex { --hx: var(--sm-gold-soft); --hx-line: var(--sm-gold); color: var(--sm-gold); }
.sm-badge__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sm-badge__txt b { font-size: 13px; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.sm-badge__txt small { font-size: 11px; line-height: 1.3; color: var(--c-muted); }
.sm-badge .sm-bar { height: 5px; }
.sm-torekap { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--c-rule); color: var(--sm-blue); font-weight: 600; text-decoration: none; }
.sm-torekap span { flex: 1; }
.sm-torekap > .ic:first-child { display: none; }
:root[data-theme="dark"] .sm-torekap > .ic:first-child { display: inline-block; }

 
.sm-rekap { max-width: 620px; margin-inline: auto; }
.sm-rekap > * + * { margin-top: var(--space-3); }
.sm-rekap > .sm-rk-k { margin-top: var(--space-2); }
.sm-rekap > .sm-rk-h { margin-top: 2px; }
.sm-rk-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; }
.sm-rk-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink); text-decoration: none; cursor: pointer; }
.sm-rk-btn:hover { background: var(--c-paper-3); }
.sm-rk-btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.sm-rk-title { font-size: var(--text-lg); font-weight: 700; font-stretch: normal; text-transform: none; text-align: center; color: var(--c-ink); }
.sm-rk-k { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--sm-blue); }
:root[data-theme="dark"] .sm-rk-k { color: var(--c-muted); }
.sm-rk-h { font-size: 1.75rem; font-weight: 800; font-stretch: normal; line-height: 1.15; }
.sm-rk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.sm-rk-cell { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 16px 14px; }
.sm-rk-cell:nth-child(odd) { border-right: 1px solid var(--c-rule); }
.sm-rk-cell:nth-child(-n+2) { border-bottom: 1px solid var(--c-rule); }
.sm-rk-cell > div { min-width: 0; display: flex; flex-direction: column; }
.sm-rk-cell b { font-size: 2rem; font-weight: 800; line-height: 1.05; }
.sm-rk-cell span:not(.sm-rk-ic) { font-size: var(--text-sm); line-height: 1.3; color: var(--c-muted); }
.sm-rk-ic { flex: none; padding-top: 4px; }
.sm-rk-ic .ic { width: 30px; height: 30px; }
.sm-rk-ic[data-tone="blue"] { color: var(--sm-blue); }
.sm-rk-ic[data-tone="gold"] { color: var(--sm-gold-deep); }
.sm-rk-ic[data-tone="fire"] { color: var(--sm-fire); }
.sm-rk-ic[data-tone="fire"] .ic { fill: var(--sm-fire); }
.sm-pos { font-style: normal; }
:root[data-theme="dark"] .sm-pos { color: var(--sm-green); }
.sm-rk-detail { padding: 4px 16px; }
.sm-rk-detail h3 { margin: 12px 0 6px; font-size: var(--text-lg); font-weight: 700; font-stretch: normal; }
.sm-rk-row { display: grid; grid-template-columns: 26px auto minmax(0, 1fr) 16px; align-items: center; gap: 10px; min-height: 52px; border-top: 1px solid var(--c-rule); color: inherit; text-decoration: none; }
a.sm-rk-row:hover .sm-rk-dl { text-decoration: underline; }
.sm-rk-dic .ic { width: 22px; height: 22px; color: var(--sm-blue); }
.sm-rk-dl { font-size: var(--text-md); }
.sm-rk-dv { min-width: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.sm-more-n { font-weight: 600; color: var(--c-muted); }
.sm-rk-row > .ic { color: var(--c-faint); }
.sm-rk-pv { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; background: var(--sm-blue-soft); border-color: color-mix(in oklab, var(--sm-blue) 18%, var(--c-rule)); font: inherit; text-align: left; cursor: pointer; }
.sm-rk-pv:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.sm-rk-pv__cv { flex: none; width: 72px; height: auto; aspect-ratio: 9 / 16; border-radius: 10px; background: var(--s-bg); }
.sm-rk-pv__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sm-rk-pv__txt b { font-size: var(--text-md); color: var(--sm-blue); }
.sm-rk-pv__txt small { font-size: var(--text-sm); color: var(--c-muted); }
.sm-rk-pv > .ic { flex: none; color: var(--c-faint); }
.sm-rekap .sm-act { display: grid; gap: 6px; margin-top: var(--space-4); }
.sm-save { --btn-bg: transparent; --btn-fg: var(--sm-blue); --btn-bd: transparent; }
:root[data-theme="dark"] .sm-save { --btn-bd: var(--c-rule-2); --btn-fg: var(--c-ink); }
.sm-pv-full { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; }
.sm-months__ck { display: inline-grid; place-items: center; width: 20px; flex: none; color: var(--c-accent-text); }
.sm-months small { display: block; font-weight: 500; color: var(--c-muted); }



.sm-duo { container: smduo / inline-size; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
@media (max-width: 339px) { .sm-duo { grid-template-columns: minmax(0, 1fr); } }
@container smduo (max-width: 619px) {
  .fd-page .sm-home .sm-duo .sm-card { display: flex; flex-direction: column; padding: 14px; }
  .sm-duo .sm-king__k, .sm-duo .sm-goal__k { align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 11px; letter-spacing: 0.08em; line-height: 1.3; }
  .sm-duo .sm-king__k .ic, .sm-duo .sm-goal__k .ic { width: 22px; height: 22px; }
  .sm-duo .sm-king__box { padding: 10px; }
  .sm-duo .sm-king__lead { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "av n" "txt txt"; align-items: center; gap: 8px 10px; min-height: 0; }
  .sm-duo .sm-king__av { grid-area: av; }
  .sm-duo .sm-king__av .avatar { --sz: 44px; }
  .sm-duo .sm-crown { top: -10px; right: -9px; width: 22px; height: 22px; }
  .sm-duo .sm-crown .ic { width: 20px; height: 20px; }
  .sm-duo .sm-king__n { grid-area: n; justify-self: end; }
  .sm-duo .sm-king__n b { font-size: 2.125rem; }
  .sm-duo .sm-king__n small { font-size: 10px; }
  .sm-duo .sm-king__txt { grid-area: txt; }
  .sm-duo .sm-king__txt b { font-size: 1rem; }
  .sm-duo .sm-king__txt small { white-space: normal; font-size: var(--text-xs); line-height: 1.35; }
  .sm-duo .sm-king__me { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 10px; padding-top: 10px; }
  .sm-duo .sm-king__rank { font-size: var(--text-sm); }
  .sm-duo .sm-king__rank b { font-size: 1.25rem; }
  .sm-duo .sm-king__prog { flex-direction: row-reverse; align-items: center; gap: 8px; }
  .sm-duo .sm-king__prog > b { font-size: var(--text-sm); }
  .sm-duo .sm-king__foot { margin-top: auto; padding-top: 10px; font-size: var(--text-xs); line-height: 1.35; }
  .sm-duo .sm-goal__top { flex: 1; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 10px; margin: 0 0 10px; }
  .sm-duo .sm-goal__prog { justify-self: center; align-self: center; }    
  .sm-duo .sm-goal__t { margin-bottom: 4px; font-size: 1.25rem; }
  .sm-duo .sm-goal__sub { font-size: var(--text-sm); }
  .sm-duo .sm-ring { width: 96px; }
  .sm-duo .sm-ring b { font-size: 1.25rem; }
  .sm-duo .sm-ring small { font-size: var(--text-xs); }
  .sm-duo .sm-goal__medal { gap: 8px; min-height: 44px; margin-top: auto; padding-top: 10px; font-size: 0.8125rem; line-height: 1.25; }
  .sm-duo .sm-goal__star { width: 28px; height: 28px; border-width: 2px; }
  .sm-duo .sm-goal__star .ic { width: 16px; height: 16px; }
  .sm-duo .sm-goal__medal > .ic { display: none; }    
}




.sm-card, .fd-page .sm-card.fd-sport { border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--x-line); clip-path: polygon(var(--x-cut) 0, 100% 0, 100% calc(100% - var(--x-cut)), calc(100% - var(--x-cut)) 100%, 0 100%, 0 var(--x-cut)); }
.sm-card, .fd-page .sm-card.fd-sport:not(.sm-king, .sm-ready) { background: var(--x-card); color: var(--x-ink); }
.fd-page .sm-card.fd-sport::before { display: none; }
.sm-card:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--c-focus); }
.sm-bar { border-radius: 0; background: var(--x-chip); }
.sm-bar > b { border-radius: 0; background: var(--x-lime); }
 
.sm-chip { gap: 4px; padding: 9px 10px 9px 12px; border: 0; border-radius: 0; background: var(--x-card); box-shadow: inset 0 0 0 1px var(--x-line); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.sm-chip[aria-expanded="true"] { background: var(--x-card); box-shadow: inset 4px 0 0 var(--x-lime), inset 0 0 0 1px var(--x-line); }
.sm-chip:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--c-focus); }
.sm-chip__ic { width: 30px; height: 25px; border-radius: 0; background: var(--sm-ic-bg, var(--x-navy)); color: var(--sm-ic-ink, var(--x-lime)); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
 
.sm-chip--streak { --sm-ic-bg: var(--sm-fire); --sm-ic-ink: oklch(99% 0 0); }
.sm-chip--king { --sm-ic-bg: var(--sm-gold); --sm-ic-ink: oklch(30% 0.07 70); }
.sm-chip--goal { --sm-ic-bg: var(--sm-blue); --sm-ic-ink: oklch(99% 0 0); }
.sm-chip small { color: var(--x-muted); font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.01em; text-transform: uppercase; }
.sm-chip b { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1.45rem; line-height: 1; color: var(--x-ink); }
.sm-chip b { padding: 0.08em 0.14em 0.2em 0; margin: -0.08em -0.14em -0.2em 0; }    
.sm-chip__dot { border-radius: 0; transform: skewX(-14deg); box-shadow: none; }
 
:is(.sm-kick, .sm-king__k, .sm-goal__k) { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; opacity: 1; }
.sm-goal__k span { opacity: 1; }
.sm-streak__t { font-size: 1.05rem; letter-spacing: 0.01em; }
.sm-streak__pil { border: 0; border-radius: 0; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding: 4px 18px 4px 12px; background: var(--x-lime); color: var(--x-lime-ink); box-shadow: none;
  font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.sm-streak__pil b { min-width: 34px; border-radius: 0; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); background: var(--x-navy); color: var(--x-lime); font-size: 1.15rem; }
 
.sm-dot { border-radius: 0; aspect-ratio: 1 / 0.9; transform: skewX(-10deg); }
.sm-dot > * { transform: skewX(10deg); }
.sm-weeks [data-st="on"] .sm-dot { background: var(--x-lime); color: var(--x-lime-ink); box-shadow: none; }
.sm-dot b { font-family: var(--font-sport); font-style: italic; }
.sm-king__n b, .sm-king__rank b { font-weight: 800; }
.sm-ring b { font-family: var(--font-sport); font-style: italic; font-weight: 800; }
.sm-ring__bar { stroke-linecap: butt; }
.sm-goal__medal, .sm-torekap { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.sm-torekap { font-size: 1.05rem; }
 
.sm-pcard__t { position: relative; padding-left: 16px; font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.sm-pcard__t::before { content: ""; position: absolute; left: 2px; top: 0.06em; bottom: 0.1em; width: 6px; background: var(--x-lime); transform: skewX(-14deg); }
.sm-pcard__t .num { font-family: var(--font-sport); font-weight: 800; }
.sm-mate { --sm-acc: var(--x-line); border: 0; border-radius: 0; background: var(--x-card); box-shadow: inset 4px 0 0 var(--sm-acc), inset 0 0 0 1px var(--x-line); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); padding-left: 16px; }
.sm-mate.is-partner { --sm-acc: var(--sm-green); } .sm-mate.is-rival { --sm-acc: var(--sm-red); }
a.sm-mate:hover { background: color-mix(in oklab, var(--x-chip) 55%, var(--x-card)); }
a.sm-mate:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--c-focus); }
.sm-mate__k { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.02em; }
.sm-mate__pct { font-family: var(--font-sport); font-style: italic; font-size: 1.6rem; }
.sm-lock { border-radius: 0; background: var(--x-chip); color: var(--x-chip-ink); }
.sm-badge { border: 0; border-radius: 0; background: var(--sm-off); box-shadow: inset 0 0 0 1px var(--x-line); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.sm-badge.is-got { background: var(--sm-gold-soft); box-shadow: inset 4px 0 0 var(--sm-gold-deep), inset 0 0 0 1px var(--sm-gold-line); }
 
.sm-rk-title, .sm-rk-h { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; }
.sm-rk-title { font-size: 1.35rem; }
.sm-rk-h { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 0.98; }
.sm-rk-k { font-family: var(--font-sport); font-style: italic; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; }
.sm-rk-btn { background: var(--x-chip); }
.sm-rk-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--c-focus); }
.sm-rk-cell b { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 2.5rem; line-height: 0.95; }
.sm-rk-cell:nth-child(odd) { border-right-color: var(--x-line); } .sm-rk-cell:nth-child(-n+2) { border-bottom-color: var(--x-line); }
.sm-rk-row { border-top-color: var(--x-line); }
.sm-rk-pv { box-shadow: inset 4px 0 0 var(--x-lime), inset 0 0 0 1px var(--x-line); padding-left: 16px; }
.sm-rk-pv:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--c-focus); }
.sm-rk-pv__cv { border-radius: 0; }
.sm-rk-pv__txt b { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
