/* Dashboard components and feature surfaces. */
.hero-score-card { position: absolute; right: max(clamp(24px, 5vw, 56px), calc((100% - 1180px) / 2)); bottom: 42px; z-index: 4; width: min(286px, calc(100% - 40px)); padding: 20px; border: 1px solid rgba(255,255,255,.24); border-top: 3px solid var(--yellow); background: rgba(12,12,11,.88); box-shadow: 8px 8px 0 rgba(246,201,40,.18); backdrop-filter: blur(12px); transform: rotate(.6deg); }
.hero-score-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-score-head > i { display: flex; align-items: center; gap: 6px; color: #aaa; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .12em; }
.hero-score-head .live-dot { width: 6px; height: 6px; }
.score-kicker { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.hero-score-card strong { display: block; margin-top: 10px; font-family: "Russo One", Impact, sans-serif; font-size: 38px; }
.hero-score-card small { color: #aaa; }
.hero-score-card p { margin: 0; color: #aaa; font-size: 9px; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.power-track, .rank-progress, .boss-progress { height: 8px; margin: 14px 0 10px; overflow: hidden; background: rgba(255,255,255,.16); }
.power-track i, .rank-progress i, .boss-progress i { display: block; width: 0; height: 100%; background: var(--yellow); transition: width .65s var(--ease); }
.hero-stamp { position: absolute; top: 42px; right: max(clamp(305px, 28vw, 430px), calc((100% - 960px) / 2)); display: grid; place-content: center; width: 112px; height: 112px; border: 3px solid var(--yellow); border-radius: 50%; color: var(--yellow); box-shadow: inset 0 0 0 4px #111, inset 0 0 0 6px var(--yellow); opacity: .86; text-align: center; text-shadow: 2px 2px #111; transform: rotate(10deg); }
.hero-stamp span, .hero-stamp small { font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.hero-stamp b { font-family: "Russo One", Impact, sans-serif; font-size: 18px; }

.kicker { color: #a65442; }
.mission-status { flex: 0 0 auto; padding: 8px 11px; background: #e8e1d3; font-size: 10px; font-weight: 700; }
.mission-status span { margin-right: 4px; font-family: "Russo One", Impact, sans-serif; font-size: 16px; }
.mission-status > b { color: #2c6f9e; font-size: 8px; letter-spacing: .12em; }
.card { min-width: 0; border: 2px solid var(--ink); background: rgba(255,255,255,.75); box-shadow: var(--shadow); }
/* Mission */
.mission-panel { position: relative; min-width: 0; padding: 19px; overflow: hidden; }
.active-hero { display: flex; align-items: center; min-width: 0; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.active-hero > div:nth-child(2) { min-width: 0; }
.big-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: 19px; }
.active-hero span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.active-hero h3 { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 18px; }
.plan-button { min-height: 44px; margin-left: auto; padding: 8px 10px; border: 1px solid var(--ink); background: var(--yellow-soft); font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: normal; }
.catalog-search-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 7px; padding: 8px 10px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.catalog-search-button[hidden] { display: none; }
.catalog-search-button span { color: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: 20px; line-height: 1; }
.catalog-search-button b { max-width: 90px; line-height: 1.25; }
.mini-edit { min-height: 44px; padding: 8px 3px; border: 0; color: var(--muted); background: transparent; font-size: 11px; text-decoration: underline; }
.plan-button:disabled, .mini-edit:disabled { cursor: not-allowed; opacity: .4; }

.power-console { --power: 0; display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; min-width: 0; gap: 13px; margin: 14px 0 4px; padding: 12px; border: 2px solid var(--ink); background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,231,129,.48)); box-shadow: 4px 4px 0 rgba(23,23,20,.16); }
.power-ring { position: relative; display: grid; grid-column: 1; grid-row: 1; place-items: center; width: 70px; height: 70px; border: 2px solid var(--ink); border-radius: 50%; background: conic-gradient(var(--yellow) calc(var(--power) * 1%), rgba(23,23,20,.12) 0); box-shadow: inset 0 0 0 4px rgba(255,255,255,.75), 3px 3px 0 var(--ink); }
.power-ring::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); border-radius: inherit; background: var(--paper); }
.power-ring-value { position: relative; z-index: 1; font-family: "Russo One", Impact, sans-serif; font-size: 21px; font-variant-numeric: tabular-nums; }
.power-ring > small { position: absolute; z-index: 1; bottom: 15px; color: var(--muted); font-size: 6px; font-weight: 900; }
.power-console-copy { min-width: 0; }
.power-console-copy > span { display: block; color: #a65442; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.power-console-copy > b { display: block; margin: 6px 0 8px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.balance-pips { display: flex; align-items: center; min-width: 0; gap: 5px; }
.balance-pips i { width: 24px; height: 7px; flex: 0 1 24px; background: #d3ccbf; transform: skewX(-13deg); }
.balance-pips i.active { background: var(--blue); }
.balance-pips span { min-width: 0; margin-left: 4px; color: var(--muted); font-size: 9px; font-weight: 800; white-space: nowrap; }
#mission.is-recovery-day .section-heading .kicker { color: #2c6f9e; }
#mission.is-recovery-day .mission-status { background: rgba(101,168,215,.18); }
#mission.is-recovery-day .mission-panel { border-top-color: var(--blue); }
#mission.is-recovery-day .power-console { background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(101,168,215,.3)); }
#mission.is-recovery-day .power-console-copy > span { color: #2c6f9e; }
#mission.is-recovery-day .power-ring { background: conic-gradient(var(--blue) calc(var(--power) * 1%), rgba(23,23,20,.12) 0); }
#mission.is-recovery-day .task-item.recovery-task { border-left-color: var(--blue); }
#mission.is-recovery-day .finish-button:not(:disabled) { background: var(--blue); }
.day-cell.recovery { border-color: var(--blue); background: rgba(101,168,215,.16); }
.day-cell.recovery small { color: #2c6f9e; font-weight: 900; }
.locked-mission { position: relative; min-width: 0; margin-top: 18px; padding: clamp(24px, 5vw, 54px); overflow: hidden; border: 2px dashed var(--ink); background: linear-gradient(135deg, rgba(246,201,40,.16), rgba(255,255,255,.82)); text-align: center; }
.locked-mission > span { color: #a65442; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.locked-mission h3 { margin: 9px 0; font-family: "Russo One", Impact, sans-serif; font-size: clamp(20px, 3vw, 31px); overflow-wrap: anywhere; }
.locked-mission p { max-width: 580px; margin: 0 auto 21px; color: var(--muted); font-size: 12px; line-height: 1.6; }
body.is-guest .task-list, body.is-guest .mission-footer { display: none; }

/* Public guest story: alternating editorial spreads and real interface demos. */
.public-landing-section::before { content: ""; position: absolute; z-index: -2; pointer-events: none; }
.landing-section-intro .section-heading { margin-bottom: 20px; }
.landing-section-intro .kicker { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 10px; border: 1px solid currentColor; color: #9b4037; background: rgba(245,240,230,.7); transform: rotate(-1deg); }
.landing-section-intro h2 { max-width: 920px; margin: 14px 0 0; font-family: "Russo One", Impact, sans-serif; font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -.025em; overflow-wrap: anywhere; text-transform: uppercase; text-wrap: balance; }
.landing-section-intro .landing-lead { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.72; text-wrap: pretty; }
.demo-eyebrow { color: #9b4037; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
:is(#landingJourneyDay,#landingMemberCount,#landingAveragePower,#landingCompletedCount,#landingHeroMarks,#landingHeroPerfect) { font-variant-numeric: tabular-nums; }

/* Live editorial: a dense scoreboard paired with one full-bleed story frame. */
.landing-live-stats { color: #fff; background: #171714; }
.landing-live-stats::before { inset: 0; opacity: .22; background: radial-gradient(circle at 84% 28%, rgba(246,201,40,.88) 0 1px, transparent 1.5px); background-size: 9px 9px; mask-image: linear-gradient(90deg, transparent 12%, #000 50% 100%); }
.landing-live-stats .landing-section-intro .kicker { color: var(--yellow); background: rgba(23,23,20,.72); }
.landing-live-stats .landing-lead { color: #bbb6aa; }
.landing-scoreboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; padding: 0; border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); background: transparent; }
.landing-stat-card { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; min-width: 0; min-height: 108px; gap: 4px 11px; padding: 15px 14px; overflow: hidden; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.025); }
.landing-stat-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.16); }
.landing-stat-card:nth-last-child(-n + 2) { border-bottom: 0; }
.landing-stat-card::after { position: absolute; right: -8px; bottom: -24px; color: rgba(255,255,255,.035); font-family: "Russo One", Impact, sans-serif; font-size: 88px; line-height: 1; }
.landing-stat-card:nth-child(1)::after { content: "01"; }
.landing-stat-card:nth-child(2)::after { content: "02"; }
.landing-stat-card:nth-child(3)::after { content: "03"; }
.landing-stat-card:nth-child(4)::after { content: "04"; }
.landing-stat-card:nth-child(5)::after { content: "05"; }
.landing-stat-card:nth-child(6)::after { content: "06"; }
.landing-stat-card i { display: grid; grid-row: 1 / span 2; place-items: center; width: 42px; height: 42px; border: 2px solid var(--yellow); color: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: 16px; font-style: normal; transform: rotate(-3deg); }
.landing-stat-card > span { align-self: end; min-width: 0; color: #aaa69c; font-size: 8px; font-weight: 900; letter-spacing: .11em; line-height: 1.35; overflow-wrap: anywhere; }
.landing-stat-card > strong { align-self: start; color: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: clamp(25px, 2.5vw, 36px); line-height: 1; overflow-wrap: anywhere; }
.landing-stat-card > small { grid-column: 3; grid-row: 1 / span 2; max-width: 72px; color: #77746c; font-size: 8px; line-height: 1.35; text-align: right; text-transform: uppercase; overflow-wrap: anywhere; }

.landing-story-visual { position: relative; min-width: 0; min-height: 380px; margin: 0; overflow: hidden; border: 3px solid var(--ink); background: #24231f; box-shadow: 9px 9px 0 rgba(246,201,40,.62); }
.landing-story-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 46%, rgba(14,14,12,.08) 61%, rgba(14,14,12,.94) 100%), repeating-linear-gradient(102deg, transparent 0 32px, rgba(255,255,255,.08) 33px 34px, transparent 35px 74px); }
.landing-story-visual img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; filter: saturate(.85) contrast(1.06); transform: scale(1.015); }
.landing-story-visual figcaption { position: absolute; right: clamp(18px, 3vw, 34px); bottom: clamp(18px, 3vw, 34px); left: clamp(18px, 3vw, 34px); z-index: 2; color: #fff; }
.landing-story-visual figcaption span { display: block; margin-bottom: 8px; color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.landing-story-visual figcaption strong { display: block; max-width: 540px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(19px, 2vw, 28px); line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.landing-story-visual--squad { min-height: 420px; border-color: var(--yellow); box-shadow: 10px 10px 0 rgba(255,255,255,.08); transform: rotate(.35deg); }
.landing-story-visual--squad img { object-position: 55% center; }

/* Three numbered beats become a paced timeline, not cloned cards. */
.landing-onboarding { overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #eee7db 100%); }
.landing-onboarding::before { top: 48px; right: -34px; width: min(40vw, 520px); height: min(40vw, 520px); border: clamp(46px, 7vw, 96px) solid rgba(246,201,40,.24); border-radius: 50%; }
.landing-onboarding-steps { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); min-width: 0; gap: 0; margin: clamp(38px, 5vw, 58px) 0 0; padding: 0; list-style: none; }
.landing-onboarding-steps::before { content: ""; position: absolute; top: 58px; right: 8%; left: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 20px, transparent 20px 28px); }
.landing-step-card { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; min-width: 0; gap: 18px; padding: 0 18px 28px 0; border: 0; background: transparent; box-shadow: none; }
.landing-step-card:nth-child(1) { grid-column: 1 / span 4; }
.landing-step-card:nth-child(2) { grid-column: 5 / span 4; margin-top: 44px; }
.landing-step-card:nth-child(3) { grid-column: 9 / span 4; margin-top: 88px; padding-right: 0; }
.landing-step-card > span { position: relative; z-index: 1; display: grid; width: clamp(64px, 6vw, 82px); height: clamp(64px, 6vw, 82px); place-items: center; border: 3px solid var(--ink); color: var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); font-family: "Russo One", Impact, sans-serif; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; transform: rotate(-3deg); }
.landing-step-card:nth-child(2) > span { color: #fff; background: var(--red); transform: rotate(2deg); }
.landing-step-card:nth-child(3) > span { background: #fff; transform: rotate(-1deg); }
.landing-step-card > div { min-width: 0; padding-top: 5px; }
.landing-step-card small { display: block; margin-bottom: 10px; color: #9b4037; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.landing-step-card h3 { margin: 0 0 10px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(17px, 1.65vw, 23px); line-height: 1.12; text-transform: uppercase; text-wrap: balance; }
.landing-step-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.62; text-wrap: pretty; }
.landing-story-visual--distance { min-height: 460px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(-.4deg); }
.landing-story-visual--distance img { object-position: 70% center; }

/* Demonstration cabinet */
.demo-cabinet { position: relative; min-width: 0; padding: clamp(22px, 3vw, 34px); border: 3px solid var(--ink); background: rgba(255,255,255,.92); box-shadow: 11px 11px 0 rgba(23,23,20,.13); }
.demo-cabinet::before { content: "PERSONAL / 01"; position: absolute; top: 12px; right: -29px; padding: 6px 34px; color: #fff; background: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .1em; transform: rotate(38deg); }
.demo-cabinet-head { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.demo-cabinet-head > div:first-child { min-width: 0; }
.demo-cabinet-head h3 { margin: 7px 0 0; font-family: "Russo One", Impact, sans-serif; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.demo-power { display: grid; width: 88px; height: 88px; flex: 0 0 88px; place-content: center; border: 8px solid var(--yellow); border-radius: 50%; outline: 2px solid var(--ink); background: #fff; text-align: center; }
.demo-power strong { font-family: "Russo One", Impact, sans-serif; font-size: 23px; line-height: 1; }
.demo-power span { margin-top: 4px; color: var(--muted); font-size: 6px; font-weight: 900; letter-spacing: .08em; }
.demo-progress-track { height: 10px; margin: 24px 0 13px; overflow: hidden; border: 1px solid var(--ink); background: #ddd5c8; transform: skewX(-9deg); }
.demo-progress-track span { display: block; height: 100%; background: var(--yellow); }
.demo-cabinet-note { max-width: 570px; margin: 0 0 20px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.demo-exercise-list { display: grid; gap: 8px; }
.demo-exercise-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; min-width: 0; gap: 12px; min-height: 78px; padding: 12px 14px; border: 1px solid rgba(23,23,20,.22); border-left: 5px solid #bdb4a7; background: #faf8f3; }
.demo-exercise-row.is-partial { border-left-color: var(--blue); background: #f2f8fb; }
.demo-exercise-row.is-done { border-left-color: var(--green); background: #f1f8f2; }
.demo-exercise-copy { min-width: 0; }
.demo-exercise-copy > span { display: block; color: #9b4037; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.demo-exercise-copy > strong { display: block; margin-top: 6px; font-family: "Russo One", Impact, sans-serif; font-size: 20px; }
.demo-exercise-copy small { color: var(--muted); font-family: Inter, sans-serif; font-size: 9px; font-weight: 700; }
.demo-counter { display: grid; grid-template-columns: 44px 46px 44px; align-items: center; border: 1px solid var(--ink); background: #fff; }
.demo-counter button { width: 44px; min-height: 44px; padding: 0; border: 0; color: var(--ink); background: #eee8dc; font-weight: 900; opacity: 1; }
.demo-counter b { text-align: center; }
.demo-done-mark { display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 24px; font-weight: 900; transform: rotate(-8deg); }
.demo-cabinet-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-width: 0; gap: 10px 18px; margin-top: 18px; padding-top: 17px; border-top: 2px dashed rgba(23,23,20,.24); color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.demo-cabinet-footer strong { color: var(--ink); }

/* Smart swap: one image, one transformation diagram, one focus console. */
.landing-smart-swaps { overflow: hidden; color: #fff; background: #22211d; }
.landing-smart-swaps::before { inset: 0; background: linear-gradient(115deg, rgba(246,201,40,.08), transparent 48%), repeating-linear-gradient(103deg, transparent 0 54px, rgba(255,255,255,.035) 55px 57px, transparent 58px 104px); }
.landing-smart-swaps .landing-section-intro .kicker { color: var(--yellow); background: #22211d; }
.landing-smart-swaps .landing-lead { color: #bbb6aa; }
.landing-story-visual--swap { min-height: 460px; border-color: var(--yellow); box-shadow: 10px 10px 0 rgba(255,255,255,.08); transform: rotate(-.35deg); }
.landing-story-visual--swap img { object-position: 50% center; }
.landing-swap-demo { display: grid; grid-template-columns: minmax(0,1fr) 72px minmax(0,1fr); align-items: stretch; min-width: 0; }
.demo-swap-card { position: relative; min-width: 0; padding: clamp(24px, 3vw, 38px); border: 2px solid #55524b; color: #fff; background: #171714; }
.demo-swap-card--source { opacity: .72; }
.demo-swap-card--target { border-color: var(--yellow); background: linear-gradient(145deg, rgba(246,201,40,.12), #171714 52%); box-shadow: 8px 8px 0 rgba(246,201,40,.13); }
.demo-swap-card h3 { margin: 10px 0 24px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.08; text-transform: uppercase; }
.demo-rep-line { display: flex; align-items: flex-end; min-width: 0; gap: 12px; padding: 18px 0; border-block: 1px solid #4d4a43; }
.demo-rep-line strong { color: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: clamp(42px, 4.5vw, 60px); line-height: .85; }
.demo-rep-line span { color: #aaa69c; font-size: 9px; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.demo-swap-card p { margin: 24px 0 0; color: #aaa69c; font-size: 10px; line-height: 1.62; }
.demo-swap-arrow { position: relative; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 8px; width: 92px; margin-inline: -10px; color: var(--ink); background: var(--yellow); clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
.demo-swap-arrow span { font-family: "Russo One", Impact, sans-serif; font-size: 36px; }
.demo-swap-arrow small { max-width: 58px; font-size: 7px; font-weight: 900; line-height: 1.25; text-align: center; }
.landing-focus-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.58fr); align-items: center; min-width: 0; gap: clamp(28px, 5vw, 72px); margin-top: clamp(26px, 4vw, 52px); padding: clamp(28px, 4.8vw, 64px); overflow: hidden; border: 3px solid var(--yellow); color: #fff; background: linear-gradient(110deg, #171714 0 64%, #292821 64%); box-shadow: 12px 12px 0 rgba(246,201,40,.18); }
.landing-focus-card::after { content: "一撃"; position: absolute; right: -20px; bottom: -48px; color: rgba(246,201,40,.055); font-family: "Russo One", Impact, sans-serif; font-size: 160px; line-height: 1; }
.landing-focus-card > div { position: relative; z-index: 1; min-width: 0; }
.landing-focus-card > div:first-child > span { display: block; margin-bottom: 12px; color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.landing-focus-card h3 { max-width: 650px; margin: 0 0 13px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(25px, 3vw, 40px); line-height: 1.06; text-transform: uppercase; text-wrap: balance; }
.landing-focus-card p { max-width: 610px; margin: 0; color: #bbb6aa; font-size: 11px; line-height: 1.65; }
.demo-focus-meter { padding: 24px; border: 2px solid #55524b; background: rgba(0,0,0,.28); text-align: center; }
.demo-focus-meter > span, .demo-focus-meter > small { display: block; color: #aaa69c; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.demo-focus-meter > strong { display: block; margin: 10px 0 4px; color: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: 54px; line-height: .92; }
.demo-focus-meter > div { height: 9px; margin-top: 18px; overflow: hidden; border: 1px solid #625f57; transform: skewX(-10deg); }
.demo-focus-meter i { display: block; height: 100%; background: var(--red); }

/* Hero mode: tactile checklist beside one oversized result strip. */
.landing-hero-mode { overflow: hidden; background: var(--yellow); }
.landing-hero-mode::before { top: -34%; right: -8%; width: min(62vw, 850px); aspect-ratio: 1; opacity: .21; background: repeating-conic-gradient(from 5deg, var(--ink) 0 1deg, transparent 1deg 9deg); mask-image: radial-gradient(circle, #000 0 12%, transparent 64%); }
.landing-hero-mode .landing-section-intro .kicker { color: var(--ink); background: var(--yellow); }
.landing-hero-mode .landing-lead { color: #514b3f; }
.demo-habit-board { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); min-width: 0; gap: 10px; }
.demo-habit-card { display: grid; grid-template-columns: 46px minmax(0,1fr) 44px; align-items: center; min-width: 0; min-height: 84px; gap: 12px; padding: 11px 14px; border: 2px solid var(--ink); background: rgba(255,255,255,.87); box-shadow: 5px 5px 0 rgba(23,23,20,.16); }
.demo-habit-card > span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--ink); background: #efe8dc; font-family: "Russo One", Impact, sans-serif; font-size: 16px; }
.demo-habit-card > span svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-habit-card > div { min-width: 0; }
.demo-habit-card strong, .demo-habit-card small { display: block; overflow-wrap: anywhere; }
.demo-habit-card strong { font-size: 12px; }
.demo-habit-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.demo-habit-card > i { display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid #9d9587; border-radius: 50%; color: #9d9587; font-style: normal; font-weight: 900; }
.demo-habit-card.is-checked { background: #fff; }
.demo-habit-card.is-checked > i { border-color: var(--green); color: #fff; background: var(--green); }
.demo-habit-summary { position: sticky; top: 96px; min-width: 0; padding: clamp(24px, 3vw, 38px); border: 3px solid var(--ink); color: #fff; background: var(--ink); box-shadow: 9px 9px 0 rgba(255,255,255,.74); transform: rotate(1deg); }
.demo-habit-summary > div { padding: 17px 0; border-bottom: 1px solid #504e47; }
.demo-habit-summary strong, .demo-habit-summary span { display: block; }
.demo-habit-summary strong { color: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: clamp(34px, 4vw, 52px); line-height: .92; }
.demo-habit-summary span { margin-top: 6px; color: #aaa69c; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.demo-habit-summary p { margin: 24px 0 0; font-family: "Russo One", Impact, sans-serif; font-size: clamp(17px, 2vw, 23px); line-height: 1.12; text-transform: uppercase; }

/* Weight story: an actual chart surface instead of another promo tile. */
.landing-weight-story { overflow: hidden; color: #fff; background: #202a31; }
.landing-weight-story::before { inset: 0; opacity: .15; background: linear-gradient(122deg, transparent 0 44%, rgba(101,168,215,.48) 44.2% 44.5%, transparent 44.7% 100%), radial-gradient(circle, #fff 0 1px, transparent 1.4px); background-size: auto, 11px 11px; }
.landing-weight-story .landing-section-intro .kicker { color: #baddf1; background: #202a31; }
.landing-weight-story .landing-lead { color: #b9c2c8; }
.demo-weight-panel { position: relative; min-width: 0; margin: 0; padding: clamp(22px, 4vw, 48px); border: 3px solid #0d1114; color: var(--ink); background: #f8f5ee; box-shadow: 14px 14px 0 rgba(101,168,215,.34); }
.demo-weight-panel > header { display: flex; align-items: flex-start; justify-content: space-between; min-width: 0; gap: 20px; }
.demo-weight-panel > header > div:first-child { min-width: 0; }
.demo-weight-panel h3 { margin: 9px 0 0; font-family: "Russo One", Impact, sans-serif; font-size: clamp(24px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; }
.demo-weight-change { min-width: 128px; padding: 12px 16px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); transform: rotate(1deg); }
.demo-weight-change strong, .demo-weight-change span { display: block; }
.demo-weight-change strong { font-family: "Russo One", Impact, sans-serif; font-size: 33px; line-height: 1; }
.demo-weight-change span { margin-top: 5px; font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.demo-weight-chart { min-width: 0; margin-top: 36px; overflow: hidden; }
.demo-weight-chart svg { display: block; width: 100%; height: auto; min-height: 220px; overflow: visible; }
.demo-chart-grid { fill: none; stroke: #d7d0c5; stroke-width: 1; stroke-dasharray: 5 7; }
.demo-chart-shadow { fill: none; stroke: rgba(101,168,215,.22); stroke-width: 14; }
.demo-chart-line { fill: none; stroke: #397da7; stroke-width: 5; stroke-linecap: round; }
.demo-chart-points { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.demo-chart-labels { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-width: 0; margin-top: -8px; }
.demo-chart-labels > span { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-align: center; }
.demo-chart-labels small { display: block; margin-top: 5px; color: var(--ink); font-size: 11px; }
.demo-weight-panel > footer { display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; min-width: 0; gap: 12px 24px; margin-top: 30px; padding-top: 22px; border-top: 2px solid var(--ink); }
.demo-weight-panel > footer > span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.demo-weight-panel > footer > strong { font-family: "Russo One", Impact, sans-serif; font-size: 18px; text-transform: uppercase; }
.demo-weight-panel > footer > p { min-width: 0; margin: 0 0 0 auto; color: var(--muted); font-size: 9px; text-align: right; }

/* Final invitation: single high-contrast impact panel. */
.landing-final-cta { position: relative; isolation: isolate; padding-block: clamp(52px, 7vw, 92px); overflow: hidden; border: 3px solid var(--ink); color: #fff; background: var(--ink); box-shadow: 12px 12px 0 var(--yellow); text-align: left; }
.landing-final-cta::before { inset: -40%; opacity: .32; background: repeating-conic-gradient(from 8deg at 72% 54%, transparent 0 7deg, rgba(246,201,40,.42) 7.4deg 8.4deg); animation: none; }
.landing-final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 72% 54%, rgba(246,201,40,.14), transparent 27%); }
.landing-final-cta .kicker { color: var(--yellow); }
.landing-final-cta h2 { max-width: 820px; margin: 14px 0 18px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(30px, 4vw, 50px); line-height: 1.04; letter-spacing: -.025em; overflow-wrap: anywhere; text-transform: uppercase; text-wrap: balance; }
.landing-final-cta > p { max-width: 660px; margin: 0 0 27px; color: #bbb6aa; font-size: 13px; line-height: 1.65; }
.landing-final-cta .hero-actions { justify-content: flex-start; max-width: none; }
.landing-final-cta .landing-login-link { display: inline-grid; min-width: min(240px,100%); min-height: 52px; margin: 0; padding: 14px 20px; place-items: center; border: 2px solid var(--yellow); color: var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 #fff; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.landing-cta-mark { position: absolute; right: clamp(18px, 5vw, 72px); bottom: -24px; z-index: -1; color: rgba(246,201,40,.14); font-family: "Russo One", Impact, sans-serif; font-size: clamp(150px, 26vw, 370px); line-height: .8; transform: rotate(-5deg); }
.landing-cta-privacy { display: block; max-width: 680px; margin-top: 28px; color: #817e75; font-size: 8px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }

.task-list { display: grid; min-width: 0; gap: 8px; padding: 9px 0; }
.day-edit-notice { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; min-width: 0; gap: 10px 14px; margin: 12px 0 2px; padding: 11px 13px; border: 1px solid #b79113; border-left: 5px solid var(--yellow); background: #fff6ce; }
.day-edit-notice[hidden] { display: none; }
.day-edit-notice b { padding: 6px 8px; color: var(--yellow); background: var(--ink); font-family: "Russo One", Impact, sans-serif; font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.day-edit-notice span { min-width: 0; color: #5e5546; font-size: 9px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.task-item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 52px; grid-template-rows: auto auto; align-items: center; min-width: 0; gap: 6px 11px; padding: 11px 10px; border: 1px solid var(--line); border-left: 4px solid #c9c2b6; background: rgba(255,255,255,.72); }
.task-item > .quick-complete { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.quick-complete { width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); background: #fff; font-weight: 900; }
.result-complete .quick-complete { background: var(--yellow); }
.quick-complete:disabled, .result-control button:disabled, .result-control input:disabled, .task-actions button:disabled { cursor: not-allowed; opacity: .38; }
.task-info { grid-column: 2; grid-row: 1; min-width: 0; }
.task-pattern { display: block; margin-bottom: 3px; color: #a65442; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.task-info strong, .task-info small { display: block; min-width: 0; overflow-wrap: anywhere; }
.task-info strong { font-size: 14px; line-height: 1.25; }
.task-title-row { display: flex; align-items: center; min-width: 0; gap: 7px; }
.task-title-row strong { min-width: 0; }
.exercise-help { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--yellow-soft); font-family: "Russo One", Impact, sans-serif; font-size: 12px; line-height: 1; }
.exercise-help:hover, .exercise-help:focus-visible { color: var(--yellow); background: var(--ink); transform: translateY(-1px); }
.task-info small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.task-info em { display: block; width: max-content; max-width: 100%; margin-top: 6px; padding: 3px 6px; color: #527486; background: #e5f2f7; font-size: 8px; font-style: normal; font-weight: 800; overflow-wrap: anywhere; }
.task-actions { display: flex; grid-column: 2; grid-row: 2; flex-wrap: wrap; justify-content: flex-start; min-width: 0; gap: 7px; }
.swap-button, .focus-button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--ink); color: var(--ink); background: #fff; font-size: 8px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; white-space: normal; }
.focus-button { color: var(--yellow); background: var(--ink); }
.result-control { display: grid; grid-column: 3; grid-row: 1 / span 2; grid-template-columns: 44px 70px 44px minmax(26px, auto); align-items: center; gap: 4px; min-width: 0; }
.result-control > button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); background: #ede8de; font-weight: 900; }
.result-control label { position: relative; display: block; margin: 0; }
.result-control label span { position: absolute; top: 3px; right: 0; left: 0; color: var(--muted); font-size: 7px; font-weight: 900; text-align: center; pointer-events: none; }
.result-control input { width: 70px; height: 46px; padding: 13px 3px 2px; border: 2px solid var(--ink); background: #fff; font-weight: 900; text-align: center; -moz-appearance: textfield; }
.result-control input::-webkit-inner-spin-button { appearance: none; }
.result-control small { min-width: 26px; color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
.task-xp { grid-column: 4; grid-row: 1 / span 2; color: #a65442; font-family: "Russo One", Impact, sans-serif; font-size: 13px; text-align: right; }
.task-xp small { display: block; font-family: Inter, sans-serif; font-size: 7px; text-transform: uppercase; }
.task-item.result-partial { border-left-color: var(--blue); background: linear-gradient(90deg, rgba(101,168,215,.11), rgba(255,255,255,.77)); }
.task-item.result-complete { border-left-color: var(--green); background: linear-gradient(90deg, rgba(79,172,109,.12), rgba(255,231,129,.2), rgba(255,255,255,.78)); }
.task-item.focus-task { border-color: var(--red); box-shadow: 4px 4px 0 rgba(238,85,72,.22); }
.mission-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.mission-footer small { display: block; color: var(--muted); font-size: 9px; font-weight: 900; }
.mission-footer strong { font-family: "Russo One", Impact, sans-serif; font-size: 18px; }
.finish-button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .34; box-shadow: none; }

/* Daily habits */
.habit-panel { position: relative; isolation: isolate; min-width: 0; margin-top: 14px; padding: 14px; overflow: hidden; border: 2px solid var(--ink); background: linear-gradient(145deg, #171714 0 86px, #292821 86px 88px, rgba(255,255,255,.66) 88px); }
.habit-panel::after { content: "MODE"; position: absolute; z-index: -1; top: -17px; right: -5px; color: rgba(246,201,40,.14); font-family: "Russo One", Impact, sans-serif; font-size: 76px; pointer-events: none; transform: rotate(4deg); }
.habit-head { display: flex; align-items: flex-start; justify-content: space-between; min-width: 0; min-height: 58px; gap: 13px; margin-bottom: 10px; color: #fff; }
.habit-head > div { min-width: 0; }
.habit-head span, .habit-stat-head span, .weight-panel-head span { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.habit-head h3, .weight-panel-head h3 { margin: 3px 0 4px; font-family: "Russo One", Impact, sans-serif; font-size: 19px; line-height: 1.1; overflow-wrap: anywhere; text-transform: uppercase; }
.habit-head p { max-width: 520px; margin: 0; color: #c8c3b8; font-size: 9px; line-height: 1.45; }
.habit-head > strong { flex: 0 0 auto; padding: 8px 10px; border: 2px solid var(--ink); color: var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 #fff; font-family: "Russo One", Impact, sans-serif; font-size: 19px; transform: rotate(2deg); }
.habit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); min-width: 0; gap: 8px; }
.habit-toggle { display: grid; grid-template-columns: 38px minmax(0,1fr) 32px; align-items: center; min-width: 0; min-height: 66px; gap: 9px; padding: 10px; border: 1px solid #d4cec2; background: rgba(255,255,255,.88); text-align: left; }
.habit-toggle i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8e1d5; font-style: normal; }
.habit-toggle span { min-width: 0; }
.habit-toggle b, .habit-toggle small { display: block; overflow-wrap: anywhere; }
.habit-toggle b { font-size: 10px; line-height: 1.25; }
.habit-toggle small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.habit-toggle em { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); font-style: normal; font-weight: 900; }
.habit-toggle.checked { border-color: var(--ink); background: var(--yellow-soft); box-shadow: 3px 3px 0 var(--ink); }
.habit-toggle.checked i { background: var(--yellow); }
.habit-toggle.checked em { color: var(--yellow); background: var(--ink); }
.habit-stat-card { padding: 20px; color: #fff; background: linear-gradient(120deg, #171714 0 66%, #292821 66%); }
.habit-stat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.habit-stat-head b { font-family: "Russo One", Impact, sans-serif; font-size: 26px; }
.habit-stat-track { height: 9px; margin: 12px 0; overflow: hidden; background: #3c3c35; transform: skewX(-9deg); }
.habit-stat-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .65s var(--ease); }
.habit-stat-card > strong { font-size: 10px; }
.habit-stat-card > p { margin: 7px 0 0; color: #b7b4aa; font-size: 9px; line-height: 1.45; }

/* Side cards */
.side-stack { display: grid; min-width: 0; gap: 12px; }
.rank-card, .streak-card, .quote-card { min-width: 0; padding: 17px; }
.leaderboard-card, .personal-summary-card { min-width: 0; padding: 15px; }
.leaderboard-head, .personal-summary-head { display: flex; align-items: flex-start; justify-content: space-between; min-width: 0; gap: 12px; }
.leaderboard-head span, .personal-summary-head > span, .personal-top-exercise > span { color: #9b4037; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.leaderboard-head h3 { margin: 4px 0 0; font-size: 16px; }
.leaderboard-head a, .personal-summary-head a { min-height: 38px; padding: 10px 0 8px 8px; color: var(--ink); font-size: 8px; font-weight: 900; text-decoration: none; }
.leaderboard-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 10px 0 7px; padding: 3px; background: #e8e2d7; }
.leaderboard-tabs button { min-height: 38px; padding: 7px; border: 0; background: transparent; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.leaderboard-tabs button.active { color: var(--yellow); background: var(--ink); }
.leaderboard-list { display: grid; }
.leaderboard-row { display: grid; grid-template-columns: 19px 34px minmax(0,1fr) auto; align-items: center; min-width: 0; min-height: 49px; gap: 7px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.leaderboard-row:last-child { border-bottom: 0; }
.leaderboard-row > b { color: var(--muted); font-family: "Russo One",Impact,sans-serif; font-size: 12px; text-align: center; }
.leaderboard-row > i { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; font-size: 13px; font-style: normal; }
.leaderboard-row > span { min-width: 0; }
.leaderboard-row strong, .leaderboard-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-row strong { font-size: 10px; }
.leaderboard-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.leaderboard-row > em { color: #9b4037; font-size: 12px; font-style: normal; font-weight: 900; }
.leaderboard-row.is-me { margin-inline: -7px; padding-inline: 7px; background: var(--yellow-soft); }
.leaderboard-empty { color: var(--muted); font-size: 10px; }
.personal-summary-card { background: linear-gradient(145deg,rgba(255,255,255,.9),rgba(246,201,40,.18)); }
.personal-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 9px 0; }
.personal-summary-grid > div { min-width: 0; padding: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.personal-summary-grid strong, .personal-summary-grid small { display: block; }
.personal-summary-grid strong { font-family: "Russo One",Impact,sans-serif; font-size: 22px; }
.personal-summary-grid small { margin-top: 2px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.personal-top-exercise { padding-top: 11px; border-top: 1px solid var(--line); }
.personal-top-exercise b, .personal-top-exercise small { display: block; }
.personal-top-exercise b { margin-top: 6px; font-size: 11px; }
.personal-top-exercise small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.rank-topline { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.more-button { width: 44px; height: 44px; margin: -14px -12px -10px 0; border: 0; background: transparent; }
.rank-main { display: flex; align-items: center; min-width: 0; gap: 15px; margin-top: 10px; }
.rank-letter { display: grid; place-items: center; width: 65px; height: 65px; flex: 0 0 65px; clip-path: polygon(50% 0,94% 22%,94% 75%,50% 100%,6% 75%,6% 22%); color: #fff; background: var(--red); font-family: "Russo One", Impact, sans-serif; font-size: 34px; }
.rank-main > div:last-child { min-width: 0; }
.rank-main h3 { margin: 0 0 5px; font-size: 15px; overflow-wrap: anywhere; }
.rank-main p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.rank-progress { background: #e2ddd1; }
.rank-progress i { background: var(--red); }
.streak-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #fff; background: var(--ink); }
.streak-card span { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.streak-card strong { display: block; margin-top: 7px; font-family: "Russo One", Impact, sans-serif; font-size: 18px; }
.streak-card strong b { font-size: 32px; }
.streak-card p { margin: 5px 0 0; color: #aaa; font-size: 10px; }
.flame { flex: 0 0 auto; font-size: 39px; filter: drop-shadow(0 5px 13px rgba(238,85,72,.5)); }
.quote-card { position: relative; overflow: hidden; background: var(--yellow); }
.quote-mark { position: absolute; top: -32px; right: 10px; font-family: Georgia, serif; font-size: 130px; opacity: .12; }
.quote-card blockquote { position: relative; margin: 0 0 14px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.quote-card small { color: rgba(0,0,0,.58); font-size: 10px; }

/* Squad */
.squad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); min-width: 0; gap: 18px; }
.fighter-card { position: relative; min-width: 0; padding: 21px; overflow: hidden; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s ease; }
.fighter-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 8px 11px 0 rgba(23,23,20,.12); }
.fighter-card.active { background: var(--yellow-soft); }
.fighter-head { display: flex; align-items: center; min-width: 0; gap: 11px; }
.fighter-head > div:nth-child(2) { min-width: 0; }
.fighter-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; font-family: "Russo One", Impact, sans-serif; font-size: 20px; }
.fighter-head h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.fighter-head span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.3; overflow-wrap: anywhere; }
.fighter-state { width: 10px; height: 10px; flex: 0 0 10px; margin-left: auto; border-radius: 50%; background: #c9c3b7; }
.fighter-state.complete { background: var(--green); box-shadow: 0 0 0 5px rgba(79,172,109,.13); }
.fighter-progress { height: 8px; margin: 19px 0 10px; overflow: hidden; background: #ded8cb; }
.fighter-progress i { display: block; width: 0; height: 100%; background: var(--ink); }
.fighter-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; color: var(--muted); font-size: 9px; }
.fighter-meta b { color: var(--ink); }

/* Distance and weight */
.progress-section { display: grid; grid-template-columns: minmax(0,2fr) minmax(270px,.62fr); align-items: stretch; gap: 16px; padding-bottom: 58px; }
.distance-card, .boss-card { min-width: 0; padding: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.legend i { display: inline-block; width: 9px; height: 9px; margin-right: 4px; background: #ded8cb; }
.legend i.done { background: var(--yellow); }
.week-track { display: grid; grid-template-columns: repeat(7, minmax(62px,1fr)); min-width: 0; gap: 7px; }
.day-cell { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 82px; padding: 9px; border: 1px solid var(--line); }
.day-cell.today { border: 2px solid var(--ink); background: var(--yellow-soft); transform: translateY(-3px); }
.day-cell.complete { background: var(--yellow); }
.day-cell.prestart { filter: grayscale(1); opacity: .38; }
.day-cell span { font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.day-cell b { font-family: "Russo One", Impact, sans-serif; font-size: 22px; }
.day-cell small { color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
.distance-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(160px,1.45fr); align-items: center; min-width: 0; gap: 14px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.distance-stats div { min-width: 0; padding-right: 8px; border-right: 1px solid var(--line); }
.distance-stats strong { display: block; font-family: "Russo One", Impact, sans-serif; font-size: 27px; }
.distance-stats span { display: block; color: var(--muted); font-size: 8px; line-height: 1.3; text-transform: uppercase; overflow-wrap: anywhere; }
.distance-stats p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.boss-card { position: relative; overflow: hidden; color: #fff; background: var(--red); text-align: center; }
.boss-card .kicker { color: var(--yellow); }
.boss-art { display: flex; flex-direction: column; justify-content: center; width: 150px; height: 112px; margin: 25px auto 15px; border: 3px solid var(--ink); border-radius: 40px 40px 10px 10px; background: #842f2a; box-shadow: 8px 8px 0 rgba(0,0,0,.2); font-weight: 900; transform: rotate(-3deg); }
.boss-art span { font-size: 11px; }
.boss-art b { font-family: "Russo One", Impact, sans-serif; font-size: 24px; }
.boss-card p { font-size: 12px; line-height: 1.5; }
.boss-progress { background: rgba(0,0,0,.22); }
.boss-card > strong { font-family: "Russo One", Impact, sans-serif; }

.weight-panel { position: relative; min-width: 0; margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--line); }
.weight-panel-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; min-width: 0; gap: 18px; }
.weight-panel-head > div:first-child { min-width: 0; }
.weight-panel-head span { color: #a65442; }
.weight-panel-head p { max-width: 520px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.weight-current { min-width: 118px; padding: 10px 12px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: rotate(1deg); }
.weight-current strong, .weight-current small, .weight-current b { display: block; }
.weight-current strong { font-family: "Russo One", Impact, sans-serif; font-size: 31px; line-height: 1; }
.weight-current small { margin: 3px 0 7px; font-size: 8px; text-transform: uppercase; }
.weight-current b { padding-top: 6px; border-top: 1px solid rgba(23,23,20,.3); font-size: 7px; letter-spacing: .07em; overflow-wrap: anywhere; }
.weight-chart { width: 100%; min-width: 0; min-height: 190px; margin-top: 15px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(101,168,215,.1), rgba(255,255,255,.5)); }
.weight-chart svg { display: block; width: 100%; height: auto; min-height: 190px; }
.weight-grid line { stroke: rgba(23,23,20,.08); stroke-width: 1; }
.weight-grid text { fill: #918b80; font-size: 8px; text-anchor: middle; }
.weight-line-shadow { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.weight-line { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.weight-dot circle { fill: var(--red); stroke: var(--ink); stroke-width: 3; }
.weight-dot text { fill: var(--ink); stroke: var(--paper); stroke-width: 4px; paint-order: stroke; font-family: "Russo One", Impact, sans-serif; font-size: 10px; text-anchor: middle; }
.weight-next { margin-top: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-align: right; text-transform: uppercase; }
.weight-empty { display: grid; min-height: 190px; padding: 20px; place-items: center; color: var(--muted); font-size: 10px; text-align: center; }

.brand.small { font-size: 15px; }

/* Modals and forms */
.modal { width: min(540px, calc(100vw - 28px)); max-width: calc(100vw - 28px); max-height: calc(100dvh - 28px); padding: 0; overflow: hidden; border: 3px solid var(--ink); color: var(--ink); background: var(--paper); box-shadow: 12px 12px 0 var(--ink); }
.modal::backdrop { background: rgba(10,10,9,.78); backdrop-filter: blur(6px); }
.modal form { position: relative; width: 100%; max-height: calc(100dvh - 34px); min-width: 0; padding: 34px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.modal h2 { margin: 8px 0; padding-right: 36px; font-family: "Russo One", Impact, sans-serif; font-size: clamp(25px,4vw,30px); line-height: 1.08; overflow-wrap: anywhere; text-transform: uppercase; }
.modal p { color: var(--muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(245,240,230,.92); font-size: 28px; }
.modal label { display: grid; min-width: 0; gap: 7px; margin: 15px 0; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.modal label small { color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.modal input, .modal select { width: 100%; min-width: 0; min-height: 46px; padding: 11px; border: 2px solid var(--ink); outline: none; background: #fff; }
.modal input:focus, .modal select:focus { box-shadow: 3px 3px 0 var(--yellow); }
.form-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; gap: 11px; }
#profileModal { width: min(620px, calc(100vw - 28px)); }
#profileModal form { background: linear-gradient(145deg, rgba(255,255,255,.56), transparent 42%), radial-gradient(circle at 96% 4%, rgba(246,201,40,.22) 0 2px, transparent 3px) 0 0 / 17px 17px, var(--paper); }
#profileModal .profile-fields:not(fieldset) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; gap: 0 11px; }
#profileModal .profile-fields:not(fieldset) > .health-fieldset { grid-column: 1 / -1; }
#profileModal .auth-field { margin: 17px 0; padding: 13px; border: 2px solid var(--ink); background: var(--yellow-soft); box-shadow: 4px 4px 0 rgba(23,23,20,.16); }
#profileModal .auth-field input { letter-spacing: .36em; text-align: center; font-family: "Russo One", Impact, sans-serif; font-size: 19px; }
.health-fieldset, .avatar-picker { min-width: 0; margin: 16px 0; padding: 13px; border: 1px solid var(--line); }
.health-fieldset legend, .avatar-picker legend { padding: 0 7px; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.health-fieldset p { margin: 0 0 9px; font-size: 10px; }
.health-grid { display: flex; flex-wrap: wrap; min-width: 0; gap: 7px; }
.health-grid label { display: flex; flex-direction: row; align-items: center; min-height: 44px; gap: 7px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; letter-spacing: 0; text-transform: none; }
.health-grid input { width: 18px; min-height: 18px; accent-color: var(--red); }
.avatar-picker { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.avatar-picker label { display: block; flex: 0 0 auto; margin: 0; }
.avatar-picker input, .weekday-pills input, .readiness-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
.avatar-picker span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; font-size: 20px; }
.avatar-picker input:checked + span { border: 2px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px,-2px); }
.fixed-profile-data { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; gap: 7px; margin: 16px 0; padding: 13px; border: 1px solid var(--line); background: #ece7dd; }
.fixed-profile-data span, .fixed-profile-data small { grid-column: 1 / -1; color: var(--muted); font-size: 8px; font-weight: 800; overflow-wrap: anywhere; }
.fixed-profile-data b { min-width: 0; padding: 9px 5px; border: 1px solid var(--line); background: #fff; font-size: 10px; text-align: center; overflow-wrap: anywhere; }
.form-error { min-height: 17px; color: var(--red); font-size: 10px; font-weight: 800; }
.profile-error { display: none; margin: 13px 0 2px; padding: 11px 13px; border: 2px solid var(--red); background: #fff0eb; line-height: 1.4; }
.profile-error.show { display: block; }
.pin-field.has-error input { border-color: var(--red); background: #fff8f5; box-shadow: 3px 3px 0 rgba(238,85,72,.28); }
.auth-switch, .logout-button, .link-button { min-height: 44px; white-space: normal; }
.auth-switch { display: block; width: 100%; margin-top: 11px; padding: 9px 12px; border: 1px dashed var(--ink); color: #75402f; background: rgba(246,201,40,.16); font-size: 9px; font-weight: 900; text-decoration: none; }
.logout-button { display: block; width: 100%; margin-top: 15px; padding: 10px; border: 1px solid rgba(238,85,72,.55); color: #923a32; background: rgba(238,85,72,.08); font-size: 9px; font-weight: 900; }
.safety-note { margin: 17px 0 12px; padding: 12px; border-left: 4px solid var(--red); color: #6c5749; background: #fff3cf; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.link-button { border: 0; background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; }

.plan-modal { width: min(780px, calc(100vw - 28px)); }
.exercise-modal { width: min(860px, calc(100vw - 28px)); }
.exercise-info-modal, .focus-modal { width: min(620px, calc(100vw - 28px)); }
.weight-modal { width: min(470px, calc(100vw - 28px)); text-align: center; }
.weight-modal form > label { text-align: left; }
.info-modal ol { padding: 0; list-style: none; counter-reset: rules; }
.info-modal li { display: grid; grid-template-columns: 38px minmax(0,1fr); margin: 19px 0; counter-increment: rules; }
.info-modal li::before { content: counter(rules); display: grid; grid-row: span 2; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); background: var(--yellow); font-weight: 900; }
.info-modal li span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }

.readiness-control { display: grid; grid-template-columns: minmax(120px,1fr) repeat(3,minmax(96px,auto)); align-items: center; min-width: 0; gap: 7px; margin: 21px 0 12px; padding: 11px; color: #fff; background: var(--ink); }
.readiness-control > span { font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.readiness-control label { display: block; min-width: 0; margin: 0; }
.readiness-control b { display: grid; place-items: center; min-height: 44px; padding: 8px 10px; border: 1px solid #494942; color: #aaa; font-size: 9px; text-align: center; white-space: normal; }
.readiness-control input:checked + b { border-color: var(--yellow); color: var(--ink); background: var(--yellow); }
.plan-load { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; margin-bottom: 18px; }
.plan-load span { font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.plan-load strong { font-family: "Russo One", Impact, sans-serif; font-size: 14px; }
.plan-load i { grid-column: 1 / -1; height: 8px; overflow: hidden; background: #ddd7cc; }
.plan-load i b { display: block; width: 70%; height: 100%; background: linear-gradient(90deg,var(--blue),var(--yellow),var(--red)); transition: width .3s ease; }
.plan-builder { display: grid; min-width: 0; gap: 10px; }
.onboarding-exercise, .plan-summary { display: grid; align-items: center; min-width: 0; gap: 9px; padding: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.68); }
.onboarding-exercise { grid-template-columns: 38px minmax(0,1fr) 40px; }
.onboarding-exercise > i, .plan-summary i { font-size: 21px; font-style: normal; }
.onboarding-exercise > div { min-width: 0; }
.onboarding-exercise span, .onboarding-exercise small { display: block; color: var(--muted); font-size: 8px; line-height: 1.35; overflow-wrap: anywhere; }
.onboarding-exercise b { display: block; margin: 3px 0; font-size: 12px; overflow-wrap: anywhere; }
.onboarding-exercise > strong { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); background: var(--yellow); font-family: "Russo One", Impact, sans-serif; font-size: 11px; }
.plan-summary { grid-template-columns: 32px minmax(0,1fr) auto 32px; }
.plan-summary > div { min-width: 0; }
.plan-summary b { display: block; font-size: 11px; overflow-wrap: anywhere; }
.plan-summary span { color: var(--muted); font-size: 9px; white-space: nowrap; }
.plan-summary .exercise-help { width: 32px; height: 32px; }
.plan-summary-state { display: block; margin-top: 4px; color: var(--muted); font-size: 7px; font-weight: 900; line-height: 1.35; }
.plan-summary-state.is-saved { color: #4d7d65; }
.plan-summary.is-started { border-left: 4px solid #4daf78; background: rgba(77,175,120,.08); }
.plan-reset { display: block; margin: 13px auto 0; }

.exercise-filter { display: flex; min-width: 0; gap: 7px; margin: 17px 0 12px; padding: 2px 2px 6px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.exercise-filter button { min-height: 44px; flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--ink); background: #fff; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.exercise-filter button.active { color: var(--yellow); background: var(--ink); }
.exercise-picker-grid { display: grid; min-width: 0; gap: 13px; }
.exercise-pick-group { min-width: 0; padding: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.56); }
.exercise-pick-group > header { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 10px; margin-bottom: 8px; }
.exercise-pick-group > header b { font-family: "Russo One", Impact, sans-serif; font-size: 12px; text-transform: uppercase; }
.exercise-pick-group > header span { color: var(--muted); font-size: 8px; font-weight: 900; }
.exercise-pick-group > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; gap: 8px; }
.exercise-pick { position: relative; min-width: 0; min-height: 108px; border: 1px solid #cfc8bc; background: #ece7dd; }
.exercise-pick-main { display: grid; grid-template-columns: 36px minmax(0,1fr); align-content: start; width: 100%; min-width: 0; min-height: 106px; gap: 7px 9px; padding: 11px 46px 11px 11px; border: 0; background: transparent; text-align: left; }
.exercise-pick-main:hover, .exercise-pick-main:focus-visible { background: #fff5c6; outline: 2px solid var(--ink); outline-offset: -2px; }
.exercise-pick-main > i { grid-row: 1 / span 2; font-size: 24px; font-style: normal; }
.exercise-pick-main span { min-width: 0; }
.exercise-pick-main b, .exercise-pick-main small, .exercise-pick-main em { display: block; overflow-wrap: anywhere; }
.exercise-pick-main b { font-size: 11px; line-height: 1.3; }
.exercise-pick-main small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.exercise-pick-main em { margin-top: 6px; color: #a65442; font-size: 10px; font-style: normal; font-weight: 900; }
.exercise-pick-main > strong { grid-column: 2; color: #807a70; font-size: 7px; letter-spacing: .06em; overflow-wrap: anywhere; }
.exercise-pick > .exercise-help { position: absolute; top: 9px; right: 9px; z-index: 2; }
.empty-picker { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); text-align: center; }
.exercise-info-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0; }
.exercise-info-tags span { padding: 6px 8px; border: 1px solid var(--line); background: #ece7dd; font-size: 8px; font-weight: 800; }
.exercise-info-steps { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: exercise-step; }
.exercise-info-steps li { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; min-width: 0; gap: 10px; padding: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.7); font-size: 10px; line-height: 1.5; counter-increment: exercise-step; }
.exercise-info-steps li::before { content: counter(exercise-step); display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); background: var(--yellow); font-family: "Russo One", Impact, sans-serif; }
.exercise-info-warning { margin: 14px 0; padding: 11px 12px; border-left: 5px solid var(--red); color: #6c3e33; background: #fff0e8; font-size: 9px; font-weight: 800; line-height: 1.5; }
.exercise-info-media { margin: 14px 0; overflow: hidden; border: 2px solid var(--ink); background: #ece7dd; }
.exercise-info-media img { display: block; width: 100%; max-height: 320px; object-fit: contain; }
.catalog-search-modal { width: min(660px, calc(100vw - 28px)); }
.catalog-search-modal form { padding: 28px; }
.catalog-search-field { display: grid !important; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 0 !important; margin: 17px 0 7px !important; border: 2px solid var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--yellow); }
.catalog-search-field > span { display: grid; place-items: center; align-self: stretch; border-right: 1px solid var(--line); font-family: "Russo One", Impact, sans-serif; font-size: 20px; }
.catalog-search-field input { min-height: 42px !important; padding: 8px 10px !important; border: 0 !important; box-shadow: none !important; font-size: 11px; font-weight: 800; text-transform: none; }
.catalog-search-meta { min-height: 23px; color: var(--muted); font-size: 8px; font-weight: 800; }
.catalog-search-results { display: grid; min-width: 0; gap: 7px; margin-top: 10px; }
.catalog-search-empty { margin: 0 !important; padding: 16px; border: 1px dashed var(--line); background: rgba(255,255,255,.5); font-size: 9px !important; text-align: center; }
.catalog-result { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr) auto 32px; align-items: center; min-width: 0; gap: 9px; padding: 9px; border: 1px solid var(--line); background: #fff; }
.catalog-result > i { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); background: #ece7dd; font-size: 19px; font-style: normal; }
.catalog-result-copy { min-width: 0; }
.catalog-result-copy b, .catalog-result-copy small { display: block; overflow-wrap: anywhere; }
.catalog-result-copy b { font-size: 11px; line-height: 1.25; }
.catalog-result-copy small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.catalog-limit-note { display: block; margin-top: 4px; color: var(--red); font-size: 8px; font-weight: 900; line-height: 1.35; }
.catalog-result-go { min-height: 36px; padding: 7px 9px; border: 1px solid var(--ink); color: var(--yellow); background: var(--ink); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.catalog-result-go:disabled { color: var(--muted); background: #e4ded2; cursor: not-allowed; opacity: .8; }
.catalog-result .exercise-help { width: 30px; height: 30px; flex-basis: 30px; }
.task-item.search-target, .exercise-pick.search-target { border-color: var(--red); outline: 4px solid rgba(238,85,72,.2); box-shadow: 5px 5px 0 var(--red); }
.focus-calculation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 17px 0; }
.focus-calculation > div { min-width: 0; padding: 13px 10px; border: 1px solid var(--line); background: #ece7dd; text-align: center; }
.focus-calculation span, .focus-calculation small { display: block; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .06em; }
.focus-calculation strong { display: block; margin: 7px 0 3px; font-family: "Russo One", Impact, sans-serif; font-size: 25px; }
.focus-balance-note { margin-bottom: 15px; padding: 12px; border: 2px solid var(--ink); background: var(--yellow-soft); font-size: 9px; font-weight: 800; line-height: 1.5; }
.focus-zone { display: grid; grid-template-columns: minmax(0,1fr) minmax(150px,190px); align-items: center; min-width: 0; gap: 6px 17px; margin-top: 17px; padding: 15px; border: 2px solid var(--ink); background: var(--yellow-soft); }
.focus-zone b { font-family: "Russo One", Impact, sans-serif; font-size: 13px; overflow-wrap: anywhere; }
.focus-zone span { grid-column: 1; color: #6c5749; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.focus-zone button { grid-column: 2; grid-row: 1 / span 2; width: 100%; }

.weekday-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.weekday-pills label { display: block; margin: 0; }
.weekday-pills span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; }
.weekday-pills input:checked + span { border: 2px solid var(--ink); color: #fff; background: var(--blue); }

.weight-seal { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 15px; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 6px 6px 0 var(--ink); font-family: "Russo One", Impact, sans-serif; font-size: 31px; transform: rotate(-7deg); }
.weight-modal-note { margin: 13px 0; padding: 10px; border-left: 4px solid var(--blue); color: var(--muted); background: rgba(101,168,215,.12); font-size: 9px; line-height: 1.45; text-align: left; }
.weight-later { margin-top: 13px; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: min(360px, calc(100vw - 32px)); min-width: 0; padding: 16px 20px; border-left: 6px solid var(--yellow); color: #fff; background: var(--ink); box-shadow: 8px 8px 0 rgba(246,201,40,.5); transform: translateX(calc(100% + 56px)); transition: transform .35s var(--ease); }
.toast.show { transform: translateX(0); }
.toast b { margin-right: 9px; color: var(--yellow); }
.toast span { font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.impact { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; color: var(--yellow); opacity: 0; font-family: "Russo One", Impact, sans-serif; font-size: min(21vw,260px); -webkit-text-stroke: 7px var(--ink); text-shadow: 15px 15px 0 var(--red); transform: scale(.4) rotate(-12deg); }
