:root {
  --bg: #09090a;
  --panel: #111113;
  --panel-2: #171719;
  --line: #29292d;
  --text: #f0eee8;
  --muted: #929296;
  --red: #df2e2e;
  --red-deep: #801717;
  --red-hot: #ff3a31;
  --gold: #d6b870;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -20%, rgba(223, 46, 46, .17), transparent 34rem),
    linear-gradient(180deg, #0b0b0c 0%, #080809 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select { font: inherit; }
button { color: inherit; }
button, .setting-row, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, select:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .19; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.app-shell { width: min(100%, 760px); margin: 0 auto; min-height: 100vh; position: relative; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: 76px; padding: 13px 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(9,9,10,.98), rgba(9,9,10,.83) 75%, transparent);
  backdrop-filter: blur(12px);
}
.brand { border: 0; background: none; display: flex; align-items: center; gap: 11px; padding: 0; text-align: left; cursor: pointer; }
.brand b { display: block; font-size: 16px; letter-spacing: .1em; font-weight: 900; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .16em; font-weight: 800; }
.brand-mark { position: relative; width: 34px; height: 34px; display: inline-grid; place-items: center; border: 2px solid var(--text); transform: skew(-7deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--bg); }
.brand-mark::before { width: 15px; height: 4px; top: -3px; right: -3px; }
.brand-mark::after { width: 4px; height: 15px; top: -3px; right: -3px; }
.brand-mark i { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 18px rgba(255,58,49,.7); }
.level-pill { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; height: 42px; min-width: 72px; padding: 0 14px; display: flex; align-items: baseline; justify-content: center; gap: 6px; cursor: pointer; }
.level-pill span { font-size: 9px; letter-spacing: .14em; color: var(--muted); font-weight: 800; }
.level-pill strong { font-size: 18px; }

main { padding: 0 16px calc(104px + var(--safe-bottom)); }
.screen { display: none; animation: screenIn .25s ease; }
.screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hero-card { margin-top: 4px; padding: 31px 22px 22px; border: 1px solid var(--line); border-radius: 28px; background:
  linear-gradient(145deg, rgba(255,255,255,.035), transparent 36%),
  radial-gradient(circle at 90% 12%, rgba(223,46,46,.22), transparent 35%),
  var(--panel);
  overflow: hidden; position: relative;
}
.hero-card::after { content: ""; position: absolute; width: 170px; height: 270px; right: -72px; top: 82px; border: 1px solid rgba(255,255,255,.06); transform: rotate(18deg); pointer-events: none; }
.eyebrow { display: block; color: var(--red-hot); font-size: 10px; letter-spacing: .22em; font-weight: 900; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(42px, 10vw, 64px); line-height: .92; letter-spacing: -.055em; margin: 14px 0 18px; font-weight: 900; text-transform: uppercase; }
h1 em { color: var(--muted); font-style: normal; }
.hero-card > p, .page-intro p { color: #aaa9ad; line-height: 1.55; font-size: 14px; max-width: 520px; }

.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.select-card { position: relative; z-index: 2; min-height: 100px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,8,9,.62); text-align: left; cursor: pointer; }
.select-card span, .select-card small { display: block; }
.select-card span { color: var(--muted); font-size: 9px; letter-spacing: .15em; font-weight: 900; }
.select-card strong { display: block; margin: 9px 0 7px; font-size: 16px; letter-spacing: .025em; }
.select-card small { color: #77777b; font-size: 10px; }
.select-card:hover { border-color: #4a4a50; }

.preset-strip { position: relative; z-index: 2; margin: 11px 0 14px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(8,8,9,.7); }
.preset-strip div { padding: 13px 5px 11px; text-align: center; border-right: 1px solid var(--line); }
.preset-strip div:last-child { border-right: 0; }
.preset-strip strong, .preset-strip span { display: block; }
.preset-strip strong { font-size: 17px; }
.preset-strip span { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .12em; font-weight: 900; }

.primary-action { position: relative; z-index: 2; width: 100%; border: 0; border-radius: 15px; background: var(--red); min-height: 59px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 950; letter-spacing: .07em; cursor: pointer; box-shadow: 0 15px 34px rgba(151,19,19,.23); }
.primary-action:hover { background: #ed3535; }
.primary-action:active { transform: translateY(1px); }
.primary-action svg { width: 18px; fill: currentColor; }
.under-action { position: relative; z-index: 2; min-height: 34px; padding-top: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 9px; letter-spacing: .03em; }
.dot { width: 3px; height: 3px; background: #5a5a5e; border-radius: 50%; }

.section-block { margin-top: 31px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; padding: 0 3px; }
.section-heading span { color: var(--red); font-size: 9px; letter-spacing: .18em; font-weight: 900; }
.section-heading h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.025em; }
.text-button { border: 0; background: none; color: #aaa9ad; font-size: 10px; letter-spacing: .12em; font-weight: 900; cursor: pointer; padding: 8px 0; }
.progress-card, .empty-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 18px; }
.progress-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.progress-top small, .progress-top strong { display: block; }
.progress-top small { color: var(--muted); font-size: 9px; letter-spacing: .14em; font-weight: 900; }
.progress-top strong { margin-top: 5px; font-size: 17px; }
.progress-top > span { color: var(--muted); font-size: 9px; letter-spacing: .1em; font-weight: 900; }
.progress-track { height: 6px; margin-top: 15px; border-radius: 99px; background: #2a2a2e; overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red-deep), var(--red-hot)); transition: width .4s ease; }
.empty-card { color: var(--muted); font-size: 13px; line-height: 1.5; }
.last-session-content { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; }
.last-session-content strong, .last-session-content small { display: block; }
.last-session-content strong { font-size: 18px; }
.last-session-content small { margin-top: 5px; color: var(--muted); }
.last-session-xp { color: var(--red-hot); font-size: 20px; font-weight: 900; }

.page-intro { padding: 30px 5px 15px; }
.page-intro.compact { padding-bottom: 4px; }
.page-intro h1 { font-size: clamp(40px, 11vw, 62px); margin-bottom: 18px; }
.moves-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.moves-summary div { background: var(--panel); padding: 15px; text-align: center; }
.moves-summary strong, .moves-summary span { display: block; }
.moves-summary strong { font-size: 22px; }
.moves-summary span { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: .12em; font-weight: 900; }
.sticky-summary { position: sticky; top: 76px; z-index: 15; box-shadow: 0 7px 25px rgba(0,0,0,.35); }
.accordion-list, .combo-reference { display: grid; gap: 10px; }
.accordion-card, .combo-reference { border: 1px solid var(--line); border-radius: 17px; background: var(--panel); overflow: hidden; }
.accordion-head { width: 100%; min-height: 68px; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 14px 17px; text-align: left; cursor: pointer; }
.accordion-head span small, .accordion-head span strong { display: block; }
.accordion-head small { color: var(--red); font-size: 8px; letter-spacing: .15em; font-weight: 900; }
.accordion-head strong { margin-top: 4px; font-size: 16px; }
.accordion-head i { font-style: normal; color: var(--muted); font-size: 24px; font-weight: 300; transition: transform .2s; }
.accordion-card.open .accordion-head i, .combo-reference.open .accordion-head i { transform: rotate(45deg); }
.accordion-body { display: none; border-top: 1px solid var(--line); }
.accordion-card.open .accordion-body, .combo-reference.open .accordion-body { display: block; }
.move-row { width: 100%; min-height: 59px; border: 0; border-bottom: 1px solid #242428; background: transparent; display: flex; align-items: center; gap: 12px; padding: 10px 16px; text-align: left; cursor: pointer; }
.move-row:last-child { border-bottom: 0; }
.move-row:hover { background: rgba(255,255,255,.025); }
.move-row .move-check { flex: 0 0 22px; height: 22px; border: 1px solid #4a4a50; border-radius: 7px; display: grid; place-items: center; font-size: 12px; }
.move-row.enabled .move-check { background: var(--red); border-color: var(--red); }
.move-row .move-name { flex: 1; }
.move-row .move-name strong, .move-row .move-name small { display: block; }
.move-row .move-name strong { font-size: 14px; }
.move-row .move-name small { color: var(--muted); margin-top: 3px; font-size: 10px; }
.move-row.state-excluded .move-name strong { color:#737379; text-decoration:line-through; text-decoration-thickness:1px; }
.move-row.state-excluded .move-name small { color:#55555b; }
.move-tag { border: 1px solid #333338; border-radius: 99px; padding: 5px 7px; color: var(--muted); font-size: 8px; letter-spacing: .08em; font-weight: 900; }
.combo-reference { margin-top: 10px; }
.combo-row { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #242428; }
.combo-row:last-child { border-bottom: 0; }
.combo-code { width: 34px; height: 34px; display: grid; place-items: center; background: #222226; border-radius: 8px; color: var(--text); font-weight: 900; }
.combo-row strong, .combo-row small { display: block; }
.combo-row strong { font-size: 13px; line-height: 1.35; }
.combo-row small { margin-top: 3px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

.level-card { position: relative; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(circle, rgba(223,46,46,.25), transparent 52%), var(--panel); overflow: hidden; }
.level-card::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.level-card > * { position: relative; z-index: 1; }
.level-card > span { font-size: 10px; letter-spacing: .2em; color: var(--red-hot); font-weight: 900; }
.level-card > strong { font-size: 96px; line-height: 1; letter-spacing: -.08em; }
.level-card .progress-track { width: 72%; }
.level-card > small { margin-top: 10px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.stat-grid > div { min-height: 94px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.stat-grid strong { font-size: 27px; }
.stat-grid span { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .14em; font-weight: 900; }
.achievement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.achievement { min-height: 122px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 15px; }
.achievement.locked { opacity: .38; filter: grayscale(1); }
.achievement-icon { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #434349; border-radius: 50%; color: var(--red-hot); }
.achievement strong, .achievement small { display: block; }
.achievement strong { margin-top: 14px; font-size: 13px; }
.achievement small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.history-list { display: grid; gap: 8px; }
.history-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 14px 15px; display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; }
.history-item strong, .history-item small { display: block; }
.history-item strong { font-size: 13px; }
.history-item small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.history-item b { color: var(--red-hot); }
.history-empty { color: var(--muted); border: 1px dashed #343439; border-radius: 14px; padding: 20px; text-align: center; font-size: 12px; }

.settings-group { margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.setting-row { min-height: 78px; padding: 14px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.setting-row:last-child { border-bottom: 0; }
.setting-row span { flex: 1; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 13px; }
.setting-row small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.setting-row select { max-width: 43%; border: 1px solid #38383d; background: #1b1b1f; color: var(--text); border-radius: 10px; padding: 9px 27px 9px 10px; font-size: 11px; }
.switch { width: 46px; height: 27px; flex: 0 0 46px; border: 0; border-radius: 99px; padding: 3px; background: #333338; cursor: pointer; transition: background .2s; }
.switch i { display: block; width: 21px; height: 21px; border-radius: 50%; background: #aaa; transition: transform .2s, background .2s; }
.switch[aria-checked="true"] { background: var(--red); }
.switch[aria-checked="true"] i { transform: translateX(19px); background: white; }
.danger-setting strong { color: #f2b1ad; }
.wide-secondary { width: 100%; min-height: 53px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 11px; letter-spacing: .09em; font-weight: 900; cursor: pointer; }
.wide-secondary:last-child { border-bottom: 0; }
.wide-secondary:hover { background: rgba(255,255,255,.025); }
.danger-text { color: #d57575; }
.fine-print { padding: 16px 7px 0; color: #66666b; font-size: 10px; line-height: 1.5; text-align: center; }

.bottom-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 30; width: min(100%,760px); min-height: calc(75px + var(--safe-bottom)); padding: 8px 10px var(--safe-bottom); display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); background: rgba(10,10,11,.96); backdrop-filter: blur(16px); }
.bottom-nav button { border: 0; background: transparent; color: #65656a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.bottom-nav button.active { color: var(--text); }
.bottom-nav button.active .nav-icon { color: var(--red-hot); }
.nav-icon { height: 19px; font-size: 16px; line-height: 1; }
.bottom-nav small { font-size: 8px; letter-spacing: .12em; font-weight: 900; }

.modal-layer { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.82); backdrop-filter: blur(13px); display: grid; place-items: center; padding: 18px; }
.modal-layer.hidden { display: none; }
.onboarding-panel { width: min(100%, 520px); min-height: min(720px,calc(100vh - 36px)); border: 1px solid #303035; border-radius: 28px; padding: 25px; background: radial-gradient(circle at 90% 0, rgba(223,46,46,.2), transparent 35%), #101012; overflow-y: auto; }
.onboarding-brand { display: flex; align-items: center; gap: 12px; letter-spacing: .1em; font-size: 14px; }
.onboarding-brand .brand-mark { width: 30px; height: 30px; }
.onboarding-step { padding: 54px 0 0; }
.onboarding-step.hidden { display: none; }
.step-count { color: var(--red-hot); font-size: 9px; letter-spacing: .2em; font-weight: 900; }
.onboarding-step h2 { margin: 14px 0; font-size: clamp(45px, 12vw, 68px); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.onboarding-step > p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.choice-tile { width: 100%; min-height: 85px; border: 1px solid #303035; border-radius: 15px; background: #171719; padding: 17px; margin-bottom: 10px; text-align: left; cursor: pointer; }
.choice-tile:hover, .choice-tile:active { border-color: var(--red); background: #1b1516; }
.choice-tile strong, .choice-tile small { display: block; }
.choice-tile strong { font-size: 18px; letter-spacing: .04em; }
.choice-tile small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.back-button { margin-top: 7px; }
.sheet-panel { align-self: end; width: min(100%,540px); border: 1px solid #303035; border-radius: 25px 25px 0 0; background: #111113; padding: 12px 17px calc(17px + var(--safe-bottom)); }
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 18px; border-radius: 99px; background: #444449; }
.sheet-panel h2 { font-size: 28px; margin-bottom: 6px; }
.sheet-panel p { color: var(--muted); font-size: 12px; margin-bottom: 15px; }
.sheet-choice { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #171719; min-height: 65px; padding: 13px 15px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; text-align: left; cursor: pointer; }
.sheet-choice.selected { border-color: var(--red); background: #1c1516; }
.sheet-choice strong, .sheet-choice small { display: block; }
.sheet-choice small { color: var(--muted); margin-top: 3px; font-size: 10px; }
.sheet-choice b { color: var(--red-hot); }

.workout-screen { position: fixed; inset: 0; z-index: 70; min-height: 100dvh; overflow: hidden; background: radial-gradient(circle at 50% 30%, #19191c, #080809 68%); display: flex; flex-direction: column; }
.workout-screen.hidden { display: none; }
.workout-topbar { position: relative; z-index: 3; padding: calc(15px + env(safe-area-inset-top,0px)) 18px 10px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; }
.workout-topbar small, .workout-topbar strong { display: block; }
.workout-topbar small { color: var(--red-hot); font-size: 8px; letter-spacing: .16em; font-weight: 900; }
.workout-topbar strong { margin-top: 3px; font-size: 12px; letter-spacing: .07em; }
.icon-button { width: 42px; height: 42px; border: 1px solid #343439; border-radius: 50%; background: rgba(17,17,19,.7); font-size: 23px; display: grid; place-items: center; cursor: pointer; }
.round-dots { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 15px; padding: 2px 15px; }
.round-dots i { display: block; width: 12px; max-width: 8vw; height: 3px; border-radius: 99px; background: #343439; }
.round-dots i.complete { background: #727279; }
.round-dots i.active { width: 25px; background: var(--red-hot); }
.round-dots i.murder { background: #7d1719; box-shadow: 0 0 12px rgba(255,0,0,.4); }
.workout-center { position: relative; z-index: 3; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 18px; }
.timer-ring { position: relative; width: min(55vw,238px); aspect-ratio: 1; }
.timer-ring svg { width: 100%; transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: #242428; }
.ring-progress { stroke: var(--red-hot); stroke-linecap: round; stroke-dasharray: 641; stroke-dashoffset: 0; transition: stroke-dashoffset .3s linear; }
.timer-copy { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.timer-copy strong { font-size: clamp(49px,14vw,72px); line-height: 1; letter-spacing: -.06em; }
.timer-copy span { margin-top: 7px; color: var(--muted); font-size: 8px; letter-spacing: .17em; font-weight: 900; }
.command-stage { width: min(100%,600px); min-height: 147px; margin-top: 19px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.command-stage > span { color: var(--red-hot); font-size: 9px; letter-spacing: .18em; font-weight: 900; }
.command-stage > strong { display: block; margin-top: 10px; font-size: clamp(32px,9vw,58px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; max-width: 680px; }
.command-stage > small { display: block; margin-top: 11px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.workout-controls { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 82px 1fr; align-items: center; padding: 0 25px 13px; }
.control-button { border: 0; background: transparent; color: var(--muted); min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; }
.control-button span { color: var(--text); font-size: 21px; }
.control-button small { font-size: 8px; letter-spacing: .14em; font-weight: 900; }
.pause-button { width: 73px; height: 73px; justify-self: center; border: 0; border-radius: 50%; background: var(--text); color: #111; font-size: 25px; cursor: pointer; }
.workout-footer { position: relative; z-index: 3; min-height: calc(44px + var(--safe-bottom)); padding: 10px 17px var(--safe-bottom); border-top: 1px solid #242428; display: flex; justify-content: space-between; color: #696970; font-size: 8px; letter-spacing: .1em; font-weight: 900; }
.murder-backdrop { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 44%, rgba(173,0,0,.5), transparent 36%), repeating-linear-gradient(105deg, transparent 0 21px, rgba(255,0,0,.025) 22px 23px); transition: opacity .5s; }
.workout-screen.murder-mode .murder-backdrop { opacity: 1; animation: murderPulse 2.7s infinite; }
.workout-screen.murder-mode .ring-progress { stroke: #ff1717; filter: drop-shadow(0 0 9px #d00); }
.workout-screen.murder-mode .workout-topbar small, .workout-screen.murder-mode .command-stage > span { color: #ff1c1c; }
.murder-title { margin-bottom: 8px; color: #ff1d1d; font-size: 12px; letter-spacing: .27em; font-weight: 950; text-shadow: 0 0 18px rgba(255,0,0,.6); }
.hidden { display: none !important; }
@keyframes murderPulse { 0%,100% { filter: brightness(.8); } 50% { filter: brightness(1.25); } }

.completion-panel { width: min(100%,500px); border: 1px solid #303035; border-radius: 26px; background: radial-gradient(circle at 50% 15%, rgba(223,46,46,.22), transparent 38%), #111113; padding: 29px 21px 21px; text-align: center; }
.completion-check { width: 55px; height: 55px; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid var(--red); border-radius: 50%; color: var(--red-hot); font-size: 25px; }
.completion-panel > small { color: var(--red-hot); font-size: 9px; letter-spacing: .2em; font-weight: 900; }
.completion-panel h2 { margin: 11px auto 22px; max-width: 330px; font-size: 31px; line-height: 1.02; letter-spacing: -.04em; }
.completion-stats { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; margin-bottom: 12px; }
.completion-stats div { padding: 15px 4px; border-right: 1px solid var(--line); background: rgba(0,0,0,.19); }
.completion-stats div:last-child { border-right: 0; }
.completion-stats strong, .completion-stats span { display: block; }
.completion-stats strong { font-size: 20px; }
.completion-stats span { margin-top: 4px; color: var(--muted); font-size: 7px; letter-spacing: .12em; font-weight: 900; }
.murder-bonus { border: 1px solid #821c20; border-radius: 14px; background: rgba(111,0,0,.25); padding: 12px; margin-bottom: 12px; display: flex; justify-content: space-between; color: #ff7a76; font-size: 9px; letter-spacing: .08em; font-weight: 900; }
.completion-panel .primary-action { margin-top: 7px; }

.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-bottom)); z-index: 120; transform: translate(-50%,18px); width: max-content; max-width: calc(100% - 32px); padding: 11px 15px; border: 1px solid #3a3a3f; border-radius: 12px; background: #1c1c1f; color: var(--text); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 10px 35px rgba(0,0,0,.45); }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 720px) {
  main { padding-left: 22px; padding-right: 22px; }
  .hero-card { padding: 42px 38px 29px; }
  .stat-grid { grid-template-columns: repeat(4,1fr); }
  .achievement-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-height: 660px) {
  .workout-center { justify-content: flex-start; padding-top: 8px; }
  .timer-ring { width: 180px; }
  .command-stage { min-height: 112px; margin-top: 8px; }
  .command-stage > strong { font-size: 33px; }
  .workout-controls { padding-bottom: 6px; }
  .pause-button { width: 61px; height: 61px; }
}

/* V2 refinements */
button, select, input { font: inherit; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }
.setup-grid .mode-wide { grid-column: 1 / -1; min-height: 82px; }
.preset-strip.three { grid-template-columns: repeat(3,1fr); margin-bottom: 9px; }
.potential-xp { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: center; gap: 11px; min-height: 48px; padding: 8px 0 12px; }
.potential-xp small { color: #73737a; font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.potential-xp strong { font-size: clamp(28px,8vw,39px); line-height: 1; letter-spacing: -.045em; background: linear-gradient(110deg,#ffd68b 0%,#fff1bf 34%,#ff8b54 68%,#ff3a31 100%); background-size: 170% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 16px rgba(255,91,49,.16)); animation: xpSheen 6s ease-in-out infinite; }
@keyframes xpSheen { 0%,100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
.primary-action.start-action { isolation: isolate; overflow: hidden; background: linear-gradient(118deg,#8f1518 0%,#d82329 42%,#ff493b 100%); box-shadow: 0 18px 45px rgba(194,29,31,.32), inset 0 1px rgba(255,255,255,.22); }
.primary-action.start-action::before { content:""; position:absolute; z-index:-1; inset:1px; border-radius:14px; background: linear-gradient(105deg,rgba(255,255,255,.06),transparent 45%); }
.primary-action.start-action::after { content:""; position:absolute; width:45%; height:220%; left:-60%; top:-60%; transform:rotate(20deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent); transition:left .45s ease; }
.primary-action.start-action:hover::after { left:120%; }
.primary-action.start-action:hover { background: linear-gradient(118deg,#a0181c 0%,#e72c32 42%,#ff5d4c 100%); }
.fighter-title { margin: -3px 0 7px; font-size: 12px; letter-spacing: .22em; color: var(--gold); text-shadow: 0 0 18px rgba(214,184,112,.23); }

.choice-label { display:block; margin: 4px 2px 9px; color:var(--red-hot); font-size:8px; letter-spacing:.2em; font-weight:950; }
.choice-label.stance-label { margin-top:14px; }
.choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.choice-tile.compact-choice { min-height:76px; margin-bottom:0; padding:14px; }
.choice-tile.compact-choice strong { font-size:15px; }
.choice-tile.compact-choice small { font-size:9px; }
.choice-tile.selected { border-color:#9f2527; background:linear-gradient(145deg,rgba(223,46,46,.17),#171719 58%); box-shadow: inset 0 0 0 1px rgba(255,58,49,.08); }
.onboarding-continue { margin-top:20px; }

.stacked-setting { align-items:stretch; flex-direction:column; gap:10px; }
.setting-row input { width:100%; border:1px solid #38383d; background:#1b1b1f; color:var(--text); border-radius:11px; padding:12px; font-size:12px; }
.setting-row input::placeholder { color:#626269; }
.voice-status-row { min-height:88px; }
.status-badge { flex:0 0 auto !important; border:1px solid #4a4a50; border-radius:999px; padding:7px 9px; color:#9b9ba2; font-size:8px; font-weight:950; letter-spacing:.13em; }
.status-badge.ready { border-color:#735f30; color:#f1d790; background:rgba(214,184,112,.08); }
.voice-test-button { color:#f3dba1; background:linear-gradient(90deg,rgba(214,184,112,.05),transparent); }
.voice-diagnostic { margin:-2px 0 10px; padding:12px 13px; border:1px solid #37373c; border-radius:14px; background:#0c0c0e; display:grid; gap:5px; }
.voice-diagnostic strong { color:#aaaab1; font-size:9px; letter-spacing:.15em; }
.voice-diagnostic span { color:#85858c; font-size:11px; line-height:1.45; }
.voice-diagnostic.success { border-color:#66562f; background:rgba(214,184,112,.055); }
.voice-diagnostic.success strong { color:#efd58e; }
.voice-diagnostic.error { border-color:#77282b; background:rgba(160,20,25,.08); }
.voice-diagnostic.error strong { color:#ff7e78; }
.status-badge.error { border-color:#77282b; color:#ff7e78; background:rgba(160,20,25,.08); }

.fallback-row { opacity:.64; }

.audio-button svg { width:22px; height:22px; fill:currentColor; }
.audio-button svg path + path { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.audio-button .speaker-off { display:none; }
.audio-button.muted { color:#ff7772; border-color:#6b292c; background:rgba(90,15,18,.38); }
.audio-button.muted .speaker-on { display:none; }
.audio-button.muted .speaker-off { display:block; }
.close-workout { font-weight:300; color:#aaaab0; }
.command-stage > small[hidden] { display:none !important; }
.command-stage { min-height:125px; }

.workout-screen.murder-warning { background:radial-gradient(circle at 50% 38%,#380609 0%,#100507 42%,#030304 82%); }
.workout-screen.murder-warning .murder-backdrop { opacity:1; animation:murderWarningPulse .82s steps(2,end) infinite; }
.workout-screen.murder-warning .timer-ring { filter:drop-shadow(0 0 27px rgba(255,0,0,.35)); }
.workout-screen.murder-warning .timer-copy strong { color:#ffebe9; text-shadow:0 0 30px rgba(255,0,0,.46); }
.workout-screen.murder-warning .command-stage > strong { color:#ff2d2d; font-size:clamp(40px,12vw,72px); letter-spacing:.02em; text-shadow:0 0 25px rgba(255,0,0,.7), 0 6px 28px #000; animation:murderTextJolt 1.7s ease-in-out infinite; }
.workout-screen.murder-warning .ring-progress { stroke:#ff1717; filter:drop-shadow(0 0 11px #e00000); }
@keyframes murderWarningPulse { 0%,100%{filter:brightness(.7) contrast(1.1)} 50%{filter:brightness(1.28) contrast(1.35)} }
@keyframes murderTextJolt { 0%,86%,100%{transform:none} 89%{transform:translateX(-2px) rotate(-.4deg)} 92%{transform:translateX(2px) rotate(.4deg)} }

.level-up-notice { margin:0 0 12px; padding:14px; border:1px solid #735f30; border-radius:14px; background:radial-gradient(circle at 50% 0,rgba(214,184,112,.18),transparent 70%),rgba(74,57,20,.18); }
.level-up-notice small,.level-up-notice strong,.level-up-notice span { display:block; }
.level-up-notice small { color:#d6b870; font-size:8px; letter-spacing:.22em; font-weight:950; }
.level-up-notice strong { margin-top:5px; font-size:24px; letter-spacing:.05em; color:#ffe5a3; }
.level-up-notice span { margin-top:4px; color:#9f9272; font-size:10px; }

@media (max-width: 420px) {
  .potential-xp { flex-direction:column; gap:4px; align-items:center; }
  .selection-grid { gap:8px; }
  .select-card { padding:12px; }
  .select-card strong { font-size:14px; }
  .onboarding-step { padding-top:35px; }
}

body.workout-active { overflow:hidden; overscroll-behavior:none; }


/* V2.3 — one-more challenge, after-action XP sequence, and desktop exit stability */
.close-workout { position: relative; z-index: 20; pointer-events: auto; touch-action: manipulation; user-select: none; }
.close-workout:hover { color: #fff; border-color: #77777d; background: rgba(255,255,255,.08); }
.round-dots i.bonus { background: #f4b247; box-shadow: 0 0 13px rgba(255,184,69,.55); }
.workout-screen.bonus-mode { background: radial-gradient(circle at 50% 30%, #30230d, #090909 66%); }
.workout-screen.bonus-mode .ring-progress { stroke: #ffbd54; filter: drop-shadow(0 0 11px rgba(255,184,69,.66)); }
.workout-screen.bonus-mode .workout-topbar small,
.workout-screen.bonus-mode .command-stage > span { color: #ffbd54; }

.one-more-layer { z-index: 95; background: radial-gradient(circle at 50% 35%, rgba(200,52,31,.22), rgba(0,0,0,.92) 58%); }
.one-more-panel { position: relative; width: min(100%,520px); border: 1px solid #4a3030; border-radius: 28px; overflow: hidden; padding: 31px 24px 20px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(255,75,38,.19), transparent 38%), linear-gradient(180deg,#151416,#0d0d0f); box-shadow: 0 28px 90px rgba(0,0,0,.72), 0 0 70px rgba(215,42,28,.1); }
.one-more-panel::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.25; background: repeating-linear-gradient(0deg,transparent 0 4px,rgba(255,255,255,.025) 5px); }
.one-more-panel > * { position: relative; z-index: 1; }
.one-more-panel > small { color:#ff6e50; font-size:9px; font-weight:950; letter-spacing:.22em; }
.one-more-panel h2 { margin:9px 0 2px; font-size:clamp(52px,14vw,82px); line-height:.9; letter-spacing:-.07em; }
.one-more-panel > p { margin:10px 0 21px; color:#b9b6b7; font-size:13px; }
.one-more-radar { width:88px; height:88px; margin:0 auto 20px; display:grid; place-items:center; border:1px solid #9b3d2b; border-radius:50%; color:#ffd391; background:radial-gradient(circle,rgba(255,111,60,.2),transparent 61%); box-shadow:0 0 0 9px rgba(255,80,40,.035),0 0 38px rgba(255,68,30,.16); }
.one-more-radar i { position:absolute; width:88px; height:88px; border-radius:50%; border:1px solid rgba(255,157,103,.25); animation:radarPulse 1.7s ease-out infinite; }
.one-more-radar span { font-size:27px; font-weight:950; letter-spacing:-.04em; }
.one-more-listen { min-height:91px; border:1px solid #302e31; border-radius:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:rgba(0,0,0,.23); }
.one-more-listen > strong { margin-top:9px; color:#ddd9da; font-size:10px; letter-spacing:.17em; }
.one-more-listen > small { margin-top:6px; color:#6f6d72; font-size:10px; }
.mic-wave { height:19px; display:flex; gap:4px; align-items:center; }
.mic-wave i { width:3px; height:6px; border-radius:3px; background:#7b777b; }
.one-more-panel.listening .mic-wave i { background:#ff6a45; animation:micWave .7s ease-in-out infinite alternate; }
.one-more-panel.listening .mic-wave i:nth-child(2) { animation-delay:.12s; }
.one-more-panel.listening .mic-wave i:nth-child(3) { animation-delay:.24s; }
.one-more-panel.listening .mic-wave i:nth-child(4) { animation-delay:.36s; }
.one-more-panel.recognized .one-more-listen { border-color:#9a442d; box-shadow:inset 0 0 25px rgba(255,81,44,.08); }
.one-more-actions { display:grid; grid-template-columns:1.25fr .75fr; gap:9px; margin-top:12px; }
.one-more-actions button { min-height:67px; border-radius:14px; cursor:pointer; }
.one-more-actions strong,.one-more-actions small { display:block; }
.one-more-actions strong { font-size:17px; }
.one-more-actions small { margin-top:4px; font-size:7px; letter-spacing:.14em; font-weight:900; }
.one-more-yes { border:0; color:#fff; background:linear-gradient(118deg,#a81d1b,#ed482b 56%,#ff7e43); box-shadow:0 12px 35px rgba(231,63,34,.22); }
.one-more-no { border:1px solid #353338; color:#9b989d; background:#171719; }
.response-window { margin-top:13px; display:flex; justify-content:center; align-items:center; gap:9px; color:#5f5d62; font-size:7px; letter-spacing:.16em; font-weight:900; }
.response-window b { color:#c8c3c4; font-size:13px; }
@keyframes radarPulse { from { transform:scale(.76); opacity:.8; } to { transform:scale(1.34); opacity:0; } }
@keyframes micWave { from { height:5px; } to { height:18px; } }

.quit-layer { z-index:110; }
.quit-panel { width:min(100%,420px); border:1px solid #35343a; border-radius:24px; background:#121214; padding:27px 22px 18px; text-align:center; box-shadow:0 30px 100px rgba(0,0,0,.72); }
.quit-panel > small { color:#ef6a60; font-size:8px; letter-spacing:.2em; font-weight:900; }
.quit-panel h2 { margin:10px 0 8px; font-size:36px; letter-spacing:-.045em; }
.quit-panel p { margin:0 auto 21px; color:#77757b; font-size:12px; }
.quit-panel .wide-secondary { margin-top:7px; border:0; }

.completion-layer { z-index:100; overflow-y:auto; align-items:start; padding-top:max(18px,env(safe-area-inset-top)); }
.completion-panel.xp-completion { position:relative; width:min(100%,620px); min-height:min(760px,calc(100dvh - 36px)); overflow:hidden; padding:24px 22px 20px; border-color:#3b3533; border-radius:25px; background:radial-gradient(circle at 50% -4%,rgba(255,95,42,.23),transparent 32%),linear-gradient(180deg,#151416,#0b0b0d 70%); box-shadow:0 30px 110px rgba(0,0,0,.8),0 0 75px rgba(218,55,27,.09); }
.xp-grid-overlay { position:absolute; inset:0; pointer-events:none; opacity:.18; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:29px 29px; mask-image:linear-gradient(to bottom,#000,transparent 78%); }
.completion-panel.xp-completion > *:not(.xp-grid-overlay):not(.celebration-particles) { position:relative; z-index:2; }
.completion-topline { display:flex; align-items:center; justify-content:space-between; min-height:35px; }
.completion-topline span { color:#ef6749; font-size:8px; letter-spacing:.2em; font-weight:950; }
.completion-topline strong { font-size:26px; letter-spacing:-.04em; background:linear-gradient(105deg,#ffdf8e,#ff7742); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 4px 12px rgba(255,117,58,.2)); }
.completion-panel.xp-completion h2 { margin:8px 0 17px; max-width:none; text-align:left; font-size:clamp(29px,7vw,43px); }
.completion-panel.xp-completion .completion-stats { margin-bottom:11px; }
.xp-ledger { display:grid; gap:7px; margin-top:10px; min-height:75px; }
.xp-line { min-height:58px; padding:10px 13px; border:1px solid #29282d; border-radius:12px; display:flex; align-items:center; justify-content:space-between; background:rgba(0,0,0,.2); opacity:.34; transform:translateY(8px); transition:opacity .25s,transform .25s,border-color .25s,background .25s; }
.xp-line.active { opacity:1; transform:none; border-color:#604031; background:linear-gradient(90deg,rgba(255,83,36,.1),rgba(0,0,0,.2)); }
.xp-line.complete { border-color:#3d3a37; }
.xp-line span { text-align:left; }
.xp-line small,.xp-line strong { display:block; }
.xp-line small { color:#736e6d; font-size:7px; letter-spacing:.15em; font-weight:900; }
.xp-line strong { margin-top:4px; font-size:12px; letter-spacing:.035em; }
.xp-line b { color:#ffc66f; font-size:22px; letter-spacing:-.04em; }
.xp-progress-shell { margin-top:13px; padding:13px 13px 11px; border:1px solid #302e31; border-radius:14px; background:rgba(0,0,0,.28); transition:filter .25s,box-shadow .25s,border-color .25s; }
.xp-progress-shell.level-hit { border-color:#d98935; filter:brightness(1.45); box-shadow:0 0 35px rgba(255,162,55,.28); }
.xp-progress-labels { display:grid; grid-template-columns:1fr auto 1fr; gap:8px; align-items:center; color:#6d696e; font-size:7px; letter-spacing:.12em; font-weight:900; }
.xp-progress-labels span:last-child { text-align:right; }
.xp-progress-labels strong { color:#d5d0d1; font-size:9px; }
.xp-progress-track { position:relative; height:13px; margin-top:10px; border:1px solid #37343a; border-radius:99px; overflow:hidden; background:#151419; }
.xp-progress-track i { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#b92220,#ff6a36 55%,#ffd26d); box-shadow:0 0 19px rgba(255,94,45,.5); transition:width .05s linear; }
.xp-progress-track b { position:absolute; inset:0; background:linear-gradient(110deg,transparent 22%,rgba(255,255,255,.36) 46%,transparent 70%); transform:translateX(-120%); animation:xpBarSweep 2s ease-in-out infinite; }
.xp-progress-shell > small { display:block; margin-top:8px; color:#716d70; font-size:7px; letter-spacing:.14em; font-weight:900; }
.level-reveal { min-height:143px; margin:13px 0 10px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid transparent; border-radius:17px; opacity:0; transform:scale(.82); filter:blur(7px); transition:opacity .55s,transform .55s cubic-bezier(.2,.9,.2,1.2),filter .55s; }
.level-reveal.revealed { opacity:1; transform:scale(1); filter:none; background:radial-gradient(circle,rgba(238,71,33,.15),transparent 62%); }
.level-reveal > span { color:#f06d4f; font-size:8px; letter-spacing:.24em; font-weight:950; }
.level-reveal > strong { margin-top:1px; font-size:72px; line-height:.92; letter-spacing:-.085em; text-shadow:0 0 30px rgba(255,92,43,.26); }
.level-reveal > b { margin-top:7px; color:#d8d2d0; font-size:13px; letter-spacing:.18em; }
.level-reveal.level-up { border-color:rgba(255,180,74,.38); background:radial-gradient(circle,rgba(255,171,51,.25),transparent 62%); animation:levelTriumph 1.35s ease-in-out infinite; }
.level-reveal.level-up > span,.level-reveal.level-up > b { color:#ffd27d; }
.level-reveal.level-up > strong { color:#fff4cf; text-shadow:0 0 14px #ff9e3d,0 0 46px rgba(255,115,33,.72); }
.completion-panel.level-celebration { border-color:#8a5930; box-shadow:0 30px 110px rgba(0,0,0,.8),0 0 90px rgba(255,135,42,.2); }
.celebration-particles { position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }
.celebration-particles i { position:absolute; left:50%; top:65%; width:var(--size); height:calc(var(--size) * 2.2); border-radius:2px; opacity:0; background:linear-gradient(#ffd56e,#e74328); }
.celebration-particles.burst i { animation:particleBurst 1.5s cubic-bezier(.12,.62,.23,1) var(--delay) forwards; }
@keyframes xpBarSweep { 0% { transform:translateX(-120%); } 62%,100% { transform:translateX(130%); } }
@keyframes levelTriumph { 0%,100% { transform:scale(1); filter:brightness(1); } 50% { transform:scale(1.025); filter:brightness(1.18); } }
@keyframes particleBurst { 0% { transform:translate(0,0) rotate(0); opacity:0; } 12% { opacity:1; } 100% { transform:translate(var(--x),var(--y)) rotate(var(--r)); opacity:0; } }
@media (min-width:720px) {
  .workout-topbar { padding-left:30px; padding-right:30px; }
  .close-workout { justify-self:end; }
  .completion-panel.xp-completion { padding:28px 28px 22px; }
}
@media (max-height:760px) {
  .completion-panel.xp-completion { min-height:auto; }
  .level-reveal { min-height:112px; }
  .level-reveal > strong { font-size:58px; }
  .xp-line { min-height:49px; }
}

/* v2.4 — expanded progression, templates, challenges and fight timer */
.bottom-nav { grid-template-columns: repeat(4,1fr); }
.version-number { position: fixed; left: 8px; bottom: calc(80px + var(--safe-bottom)); z-index: 31; color: rgba(255,255,255,.22); font-size: 8px; letter-spacing: .08em; pointer-events: none; }

.round-stepper { display: grid !important; grid-template-columns: 30px 1fr 30px; align-items: center; }
.round-stepper button { width: 28px; height: 28px; border: 1px solid #35353a; border-radius: 9px; background: #171719; color: #c9c5c3; cursor: pointer; font-size: 18px; line-height: 1; }
.round-stepper button:disabled { opacity: .25; cursor: default; }
.round-stepper span { grid-column: 1 / -1; }
.round-stepper strong { align-self: center; }

.sheet-choice.locked, .choice-tile.locked { opacity: .42; filter: grayscale(.5); cursor: not-allowed; }
.sheet-choice.locked b { color: #777; font-size: 8px; letter-spacing: .12em; }

.recent-highlight-section { margin: 5px 0 24px; }
.recent-highlight-section.hidden { display: none; }
.recent-highlight-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid #393438; border-radius: 21px; background: radial-gradient(circle at 90% 5%, rgba(239,68,36,.16), transparent 34%), linear-gradient(145deg,#171619,#0f0f11 70%); box-shadow: 0 17px 45px rgba(0,0,0,.22); }
.recent-highlight-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: repeating-linear-gradient(105deg, transparent 0 22px, rgba(255,255,255,.035) 23px 24px); }
.recent-highlight-card > * { position: relative; z-index: 1; }
.fresh-highlight .recent-highlight-card { animation: highlightArrival .9s cubic-bezier(.16,.8,.2,1.15), highlightGlow 1.8s ease-out; }
.highlight-main { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
.highlight-main small, .highlight-main span, .highlight-main strong { display: block; }
.highlight-main small { color: #ef6749; font-size: 8px; letter-spacing: .18em; font-weight: 950; }
.highlight-main strong { margin-top: 5px; font-size: 48px; line-height: .92; letter-spacing: -.075em; }
.highlight-main strong i { margin: 0 3px; color: #67636a; font-size: 25px; font-style: normal; }
.highlight-main span { margin-top: 5px; color: #706c72; font-size: 7px; letter-spacing: .15em; font-weight: 900; }
.highlight-xp { text-align: right; }
.highlight-xp strong { font-size: 35px; background: linear-gradient(110deg,#ffd985,#ff743b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 15px rgba(255,111,54,.2)); }
.highlight-bar { height: 6px; margin: 16px 0 14px; overflow: hidden; border-radius: 99px; background: #2a282d; }
.highlight-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#a62020,#ff6c3a,#ffcd6a); }
.highlight-message { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.highlight-message strong { font-size: 15px; }
.highlight-message span { color: #77737a; font-size: 10px; text-align: right; }
.highlight-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.highlight-badge { padding: 6px 8px; border: 1px solid #3b383d; border-radius: 999px; background: #171619; color: #9c989e; font-size: 7px; letter-spacing: .12em; font-weight: 950; }
.highlight-badge.murder { border-color: #6e2224; color: #ff605a; background: rgba(95,8,12,.24); }
.highlight-badge.bonus, .highlight-badge.unlock { border-color: #6c552c; color: #ffd076; background: rgba(95,68,11,.2); }
.highlight-badge.cardio { border-color: #365b5b; color: #86d3cf; }
.highlight-badge.wind { border-color: #4e4c72; color: #b1aceb; }
.recent-highlight-card.poor { border-color: #6e2023; background: radial-gradient(circle at 90% 5%, rgba(239,32,32,.19), transparent 34%), #160e10; }
.recent-highlight-card.poor .highlight-message strong { color: #ff4f4f; }
.history-item.poor { border-color: #542024; }
.history-item.poor strong, .history-item.poor b { color: #ff5555; }
@keyframes highlightArrival { from { opacity: 0; transform: translateY(-18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes highlightGlow { 0% { box-shadow: 0 0 0 rgba(255,85,40,0); } 40% { box-shadow: 0 0 55px rgba(255,85,40,.25); } 100% { box-shadow: 0 17px 45px rgba(0,0,0,.22); } }

.hands-free-hint { display: inline-flex; margin-top: 16px; padding: 7px 10px; border: 1px solid #3c3a40; border-radius: 999px; color: #969198; background: rgba(0,0,0,.18); font-size: 7px; letter-spacing: .15em; font-weight: 900; }
.hands-free-hint.hidden { display: none; }
.round-dots i.skipped { background: #6f2025; box-shadow: inset 0 0 0 1px #b1343a; }

.fight-timer-builder { display: grid; gap: 10px; margin: 10px 0 16px; }
.timer-setting { min-height: 82px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); display: flex; align-items: center; justify-content: space-between; }
.timer-setting > span { color: var(--muted); font-size: 9px; letter-spacing: .16em; font-weight: 900; }
.timer-setting > div { display: grid; grid-template-columns: 42px minmax(72px,auto) 42px; align-items: center; text-align: center; }
.timer-setting button { width: 38px; height: 38px; border: 1px solid #36363b; border-radius: 11px; background: #18181b; color: #d5d1cf; font-size: 22px; cursor: pointer; }
.timer-setting strong { font-size: 22px; }
.timer-note { text-align: center; }
.fight-timer-screen { background: radial-gradient(circle at 50% 30%, #202024, #080809 70%); }
.fight-timer-screen .ring-progress { stroke: #eec16b; filter: drop-shadow(0 0 9px rgba(238,193,107,.42)); }
.fight-timer-screen .command-stage > span { color: #d6b870; }

.challenge-panel #challengeTitle { font-size: clamp(45px,12vw,72px); }
.challenge-panel .one-more-radar { border-color: #6c5730; color: #ffd88a; background: radial-gradient(circle,rgba(255,191,72,.18),transparent 61%); }

.completion-subline { margin: -8px 0 16px; color: #8d888d; font-size: 12px; line-height: 1.45; }
.completion-panel.poor-performance { border-color: #7d2429; background: radial-gradient(circle at 50% -4%,rgba(255,25,25,.22),transparent 32%),linear-gradient(180deg,#1b1012,#0b0809 70%); }
.completion-panel.poor-performance #completionHeadline { color: #ff4545; text-shadow: 0 0 24px rgba(255,30,30,.2); }
.completion-panel.poor-performance .completion-subline { color: #c35c60; }

@media (max-width: 430px) {
  .bottom-nav small { font-size: 7px; }
  .highlight-main strong { font-size: 42px; }
  .highlight-message { display: block; }
  .highlight-message span { margin-top: 5px; text-align: left; display: block; }
}

/* v2.6 — more human coach language and performance feedback */
.hero-intro > p { color:#aaa9ad; line-height:1.55; font-size:14px; max-width:520px; }
.train-post-report { position:relative; z-index:2; margin:-7px 0 22px; padding:18px; border:1px solid #3a3437; border-radius:19px; background:radial-gradient(circle at 92% 0,rgba(255,95,42,.14),transparent 38%),rgba(7,7,8,.54); }
.train-post-report .report-top { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.train-post-report small,.train-post-report span,.train-post-report strong { display:block; }
.train-post-report small { color:#ef6749; font-size:8px; letter-spacing:.17em; font-weight:950; }
.train-post-report strong { margin-top:7px; font-size:22px; line-height:1.02; }
.train-post-report .report-xp { font-size:31px; line-height:1; text-align:right; background:linear-gradient(110deg,#ffd985,#ff743b); -webkit-background-clip:text; background-clip:text; color:transparent; }
.train-post-report .report-meta { margin-top:9px; color:#858087; font-size:10px; line-height:1.45; }
.train-post-report .highlight-badges { margin-top:12px; }
.time-stepper strong { min-width:45px; }

.weekly-objective-card { position:relative; overflow:hidden; min-height:128px; padding:17px 18px; border:1px solid #333138; border-radius:19px; background:radial-gradient(circle at 92% 5%,rgba(232,75,37,.14),transparent 40%),linear-gradient(145deg,#171619,#101012); }
.weekly-objective-card::after { content:""; position:absolute; right:-42px; top:-68px; width:170px; height:170px; border:1px solid rgba(255,255,255,.045); border-radius:50%; }
.weekly-objective-card > * { position:relative; z-index:1; }
.weekly-objective-top { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.weekly-objective-top small,.weekly-objective-top strong,.weekly-objective-top span { display:block; }
.weekly-objective-top small { color:#8b868d; font-size:8px; letter-spacing:.16em; font-weight:900; }
.weekly-objective-top strong { margin-top:6px; font-size:16px; }
.weekly-objective-reward { color:#ffd175; font-size:18px; font-weight:950; text-align:right; }
.weekly-objective-card .objective-progress { height:8px; margin-top:18px; overflow:hidden; border-radius:99px; background:#29272c; }
.weekly-objective-card .objective-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#ac2522,#ef6237,#ffd06c); box-shadow:0 0 18px rgba(255,93,44,.25); }
.weekly-objective-bottom { display:flex; justify-content:space-between; margin-top:8px; color:#79757b; font-size:9px; font-weight:850; }
.weekly-objective-card.complete { border-color:#6d5933; box-shadow:0 0 28px rgba(214,184,112,.1); }
.weekly-objective-card.complete .weekly-objective-reward { color:#ffe19a; }

.expand-icon { width:38px; height:38px; border:1px solid #35333a; border-radius:12px; background:#171719; color:#bbb6bb; cursor:pointer; font-size:18px; }
.achievement-subhead { margin:16px 3px 9px; color:#77727a; font-size:8px; letter-spacing:.17em; font-weight:950; }
.recent-subhead { margin-top:20px; }
.achievement-progress-row,.recent-achievement-row { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px,1fr); gap:10px; overflow-x:auto; padding:1px 2px 9px; scroll-snap-type:x mandatory; scrollbar-width:none; }
.achievement-progress-row::-webkit-scrollbar,.recent-achievement-row::-webkit-scrollbar { display:none; }
.achievement-progress-card,.recent-achievement-card { scroll-snap-align:start; min-height:135px; padding:15px; border:1px solid #302f34; border-radius:17px; background:#131315; }
.achievement-progress-card small,.achievement-progress-card strong,.recent-achievement-card small,.recent-achievement-card strong { display:block; }
.achievement-progress-card .achievement-icon,.recent-achievement-card .achievement-icon { width:34px; height:34px; display:grid; place-items:center; border:1px solid #49454a; border-radius:11px; color:#ef6a48; font-size:13px; font-weight:950; }
.achievement-progress-card strong,.recent-achievement-card strong { margin-top:13px; font-size:13px; }
.achievement-progress-card small,.recent-achievement-card small { margin-top:5px; color:#827e84; font-size:9px; line-height:1.4; }
.mini-achievement-progress { height:5px; margin-top:13px; overflow:hidden; border-radius:99px; background:#29282c; }
.mini-achievement-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#a92020,#f2673c); }
.achievement-count { margin-top:6px !important; color:#a6a1a5 !important; font-size:8px !important; letter-spacing:.08em; }
.recent-achievement-card { border-color:#50463a; background:radial-gradient(circle at 90% 0,rgba(255,173,67,.12),transparent 45%),#151416; }
.recent-achievement-card.unseen { animation:achievementGlow 1.8s ease-in-out infinite; border-color:#8a6733; }
.recent-achievement-card.unseen .achievement-icon { color:#ffd27b; border-color:#8c6936; box-shadow:0 0 20px rgba(255,183,74,.18); }
.recent-achievement-card.placeholder { border-style:dashed; opacity:.82; }
@keyframes achievementGlow { 0%,100%{box-shadow:0 0 0 rgba(255,177,58,0)} 50%{box-shadow:0 0 31px rgba(255,177,58,.18)} }

.achievements-modal-panel { width:min(100%,680px); max-height:calc(100dvh - 32px); overflow:auto; border:1px solid #39363b; border-radius:25px; background:#101012; box-shadow:0 30px 100px rgba(0,0,0,.75); }
.achievements-modal-head { position:sticky; top:0; z-index:3; display:flex; align-items:center; justify-content:space-between; padding:20px 20px 15px; background:linear-gradient(180deg,#121214 75%,rgba(18,18,20,.88)); backdrop-filter:blur(10px); }
.achievements-modal-head small { color:#e45c40; font-size:8px; letter-spacing:.18em; font-weight:950; }
.achievements-modal-head h2 { margin:5px 0 0; font-size:27px; }
.all-achievements-list { padding:0 18px 22px; }
.achievement-modal-group-title { margin:19px 2px 10px; color:#89848b; font-size:8px; letter-spacing:.18em; font-weight:950; }
.achievement-modal-card { display:grid; grid-template-columns:42px 1fr auto; gap:12px; align-items:center; min-height:76px; margin-bottom:8px; padding:12px; border:1px solid #2f2e33; border-radius:15px; background:#151517; }
.achievement-modal-card.earned { border-color:#51483a; background:linear-gradient(110deg,rgba(255,184,73,.08),#151517 50%); }
.achievement-modal-card.locked { opacity:.58; }
.achievement-modal-card .achievement-icon { width:38px; height:38px; display:grid; place-items:center; border:1px solid #454249; border-radius:11px; color:#ee6847; font-weight:950; }
.achievement-modal-card strong,.achievement-modal-card small { display:block; }
.achievement-modal-card strong { font-size:13px; }
.achievement-modal-card small { margin-top:4px; color:#7d7980; font-size:9px; line-height:1.35; }
.achievement-modal-card > b { color:#aaa5aa; font-size:9px; }

.pace-question { margin:2px 0 13px; padding:15px; border:1px solid #37343a; border-radius:16px; background:rgba(0,0,0,.2); }
.pace-question > small,.pace-question > strong { display:block; }
.pace-question > small { color:#e66b4e; font-size:7px; letter-spacing:.18em; font-weight:950; }
.pace-question > strong { margin-top:6px; font-size:14px; }
.pace-question > div { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:12px; }
.pace-question button { min-height:38px; border:1px solid #3a373d; border-radius:10px; background:#18181b; color:#a9a4a9; font-size:8px; letter-spacing:.1em; font-weight:950; cursor:pointer; }
.pace-question button:hover { border-color:#7e483b; color:#e7ddd8; }

.hands-free-hint.listening { border-color:#7b4b3e; color:#f0a18c; box-shadow:0 0 18px rgba(255,82,47,.13); }
.hands-free-hint.unavailable { border-color:#533338; color:#c86c73; }
.round-dots i.theme { box-shadow:inset 0 0 0 1px #d6b870; }
.theme-badge-inline { color:#ffd07b !important; }

@media (max-width:520px) {
  .preset-strip.three { grid-template-columns:1fr 1fr; }
  .preset-strip.three > div:last-child { grid-column:1 / -1; border-top:1px solid var(--line); border-right:0; }
  .preset-strip.three > div:nth-child(2) { border-right:0; }
  .train-post-report .report-top { display:block; }
  .train-post-report .report-xp { margin-top:11px; text-align:left; }
  .achievement-progress-row,.recent-achievement-row { grid-auto-columns:82%; }
}

/* v3.0 — personalized coach */
.coach-hero-card { position:relative; overflow:hidden; margin-top:4px; padding:24px 22px 22px; border:1px solid #302f34; border-radius:28px; background:radial-gradient(circle at 88% 4%,rgba(237,70,39,.2),transparent 34%),linear-gradient(145deg,#171619,#0f0f11 74%); box-shadow:0 24px 70px rgba(0,0,0,.22); }
.coach-hero-card::after { content:""; position:absolute; width:210px; height:210px; right:-95px; top:-100px; border:1px solid rgba(255,255,255,.055); border-radius:50%; box-shadow:0 0 0 35px rgba(255,255,255,.012),0 0 0 72px rgba(255,255,255,.008); pointer-events:none; }
.coach-assessment-card,.coach-session-card,.train-post-report { position:relative; z-index:2; }
.coach-assessment-card h1 { max-width:520px; }
.coach-assessment-card > p { max-width:540px; color:#aaa5aa; font-size:14px; line-height:1.55; }
.coach-orbit { position:absolute; right:2px; top:2px; width:84px; height:84px; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.coach-orbit::before,.coach-orbit::after { content:""; position:absolute; inset:12px; border:1px solid rgba(255,255,255,.05); border-radius:50%; }
.coach-orbit::after { inset:29px; background:#e44731; border:0; box-shadow:0 0 24px rgba(255,69,41,.5); }
.coach-orbit i { position:absolute; width:7px; height:7px; top:7px; left:38px; border-radius:50%; background:#f4c77d; box-shadow:0 0 14px rgba(244,199,125,.55); animation:coachOrbit 5s linear infinite; transform-origin:3px 35px; }
@keyframes coachOrbit { to { transform:rotate(360deg); } }
.assessment-facts { display:flex; flex-wrap:wrap; gap:7px; margin:19px 0; }
.assessment-facts span { padding:7px 9px; border:1px solid #3b383e; border-radius:999px; background:rgba(0,0,0,.22); color:#b7b1b6; font-size:8px; letter-spacing:.11em; font-weight:950; }
.coach-start-action { margin-top:18px; }
.coach-session-topline { display:flex; justify-content:space-between; align-items:center; color:#ed6749; font-size:9px; letter-spacing:.18em; font-weight:950; }
.coach-session-topline b { padding:6px 8px; border:1px solid #4a4039; border-radius:999px; background:rgba(255,174,76,.07); color:#e9bd73; font-size:7px; letter-spacing:.12em; }
.coach-session-heading { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-top:18px; }
.coach-session-heading small { color:#89848b; font-size:8px; letter-spacing:.16em; font-weight:950; }
.coach-session-heading h1 { margin:7px 0 0; max-width:440px; font-size:clamp(30px,7.5vw,46px); line-height:.95; }
.coach-session-heading > strong { flex:0 0 auto; font-size:31px; line-height:1; background:linear-gradient(115deg,#ffe29a,#ff8a4c 58%,#e54235); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 0 16px rgba(255,114,56,.13)); }
.coach-memory-line { margin:14px 0 0; padding:13px 14px; border-left:2px solid #dc573d; background:rgba(0,0,0,.17); color:#a7a2a7; font-size:12px; line-height:1.5; }
.coach-plan-strip { display:grid; grid-template-columns:repeat(3,1fr); margin-top:16px; overflow:hidden; border:1px solid #343238; border-radius:16px; background:rgba(3,3,4,.32); }
.coach-plan-strip > div { min-height:76px; padding:14px 10px; text-align:center; border-right:1px solid #302f34; }
.coach-plan-strip > div:last-child { border-right:0; }
.coach-plan-strip strong,.coach-plan-strip span { display:block; }
.coach-plan-strip strong { font-size:20px; }
.coach-plan-strip span { margin-top:5px; color:#77737a; font-size:7px; letter-spacing:.15em; font-weight:950; }
.rival-line { display:flex; align-items:center; gap:11px; margin-top:11px; padding:11px 13px; border:1px solid #38343a; border-radius:13px; background:linear-gradient(90deg,rgba(183,45,38,.1),rgba(0,0,0,.12)); }
.rival-line span { color:#e25e44; font-size:8px; letter-spacing:.17em; font-weight:950; }
.rival-line strong { color:#b9b3b8; font-size:10px; }
.session-choice-wrap { margin-top:15px; }
.session-choice-wrap > small { color:#817c83; font-size:8px; letter-spacing:.16em; font-weight:950; }
.session-choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.session-choice { min-height:83px; padding:12px; border:1px solid #36343a; border-radius:14px; background:#141416; text-align:left; cursor:pointer; }
.session-choice b,.session-choice span { display:block; }
.session-choice b { font-size:9px; letter-spacing:.07em; }
.session-choice span { margin-top:7px; color:#7f7a81; font-size:8px; line-height:1.35; }
.session-choice.selected { border-color:#8b5d3c; background:radial-gradient(circle at 100% 0,rgba(255,145,65,.13),transparent 48%),#171517; box-shadow:0 0 22px rgba(255,103,50,.07); }
.daily-challenge-wrap { margin-top:17px; }
.daily-challenge-heading { display:flex; justify-content:space-between; align-items:center; }
.daily-challenge-heading span { color:#aaa4aa; font-size:8px; letter-spacing:.17em; font-weight:950; }
.daily-challenge-heading small { color:#6f6b71; font-size:8px; }
.daily-challenges { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:9px; }
.daily-challenge { display:grid; grid-template-columns:34px 1fr auto; gap:9px; align-items:center; min-height:78px; padding:11px; border:1px solid #343238; border-radius:15px; background:#141416; cursor:pointer; text-align:left; }
.daily-challenge .challenge-check { width:29px; height:29px; display:grid; place-items:center; border:2px solid #4a494d; border-radius:50%; color:transparent; font-size:15px; font-weight:950; transition:.2s ease; }
.daily-challenge strong,.daily-challenge small { display:block; }
.daily-challenge strong { font-size:10px; }
.daily-challenge small { margin-top:4px; color:#7e7980; font-size:8px; line-height:1.3; }
.daily-challenge > b { color:#e7b86c; font-size:10px; }
.daily-challenge.selected { border-color:#357d52; background:radial-gradient(circle at 0 50%,rgba(65,194,112,.12),transparent 46%),#141716; }
.daily-challenge.selected .challenge-check { border-color:#38b86d; background:#22924f; color:white; box-shadow:0 0 18px rgba(45,207,104,.22); }
.custom-session-section { margin-top:18px; padding:17px; border:1px solid #29282d; border-radius:22px; background:linear-gradient(145deg,#121214,#0e0e10); }
.custom-heading { margin-bottom:0; }
.custom-session-card { margin-top:14px; padding-top:14px; border-top:1px solid #29282d; }
.custom-session-card.collapsed { display:none; }
.custom-grid { margin-top:0; }
.custom-grid .select-card { min-height:88px; }
.custom-session-section .preset-strip { margin-top:11px; }
.custom-session-section .potential-xp { margin-top:14px; }
.custom-session-section .start-action { margin-top:11px; }

.coach-onboarding-panel { width:min(100%,610px); max-height:calc(100dvh - 24px); overflow:auto; }
.coach-onboarding-panel .onboarding-step { padding-bottom:8px; }
.onboarding-sound-check { margin-top:17px; padding:14px; border:1px solid #343139; border-radius:16px; background:rgba(0,0,0,.18); }
.onboarding-sound-check strong,.onboarding-sound-check small { display:block; }
.onboarding-sound-check strong { font-size:10px; letter-spacing:.12em; }
.onboarding-sound-check small { margin-top:4px; color:#7e7980; font-size:9px; }
.onboarding-sound-check input { width:100%; margin:14px 0 10px; accent-color:#e95034; }
.setting-row input[type="range"] { width:min(220px,45vw); accent-color:#eb5938; }

.move-traffic { display:flex; gap:10px; margin-left:auto; }
.move-state-dot { width:31px; height:31px; border:1px solid #3a383e; border-radius:50%; background:#171719; cursor:pointer; position:relative; }
.move-state-dot::after { content:""; position:absolute; inset:7px; border-radius:50%; opacity:.23; }
.move-state-dot.focus::after { background:#42d477; }
.move-state-dot.standard::after { background:#ff9b35; }
.move-state-dot.excluded::after { background:#ef4b4b; }
.move-state-dot.active.focus { border-color:#43cf77; box-shadow:0 0 14px rgba(64,212,117,.23); }
.move-state-dot.active.standard { border-color:#ff9e3e; box-shadow:0 0 14px rgba(255,153,52,.2); }
.move-state-dot.active.excluded { border-color:#ee4b4b; box-shadow:0 0 14px rgba(239,68,68,.2); }
.move-row.state-focus { background:linear-gradient(90deg,rgba(57,190,104,.07),transparent 55%); }
.move-row.state-excluded { opacity:.68; }

.history-item { display:block; cursor:pointer; }
.history-item-main { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.history-item-details { display:none; margin-top:12px; padding-top:12px; border-top:1px solid #302e33; }
.history-item.expanded .history-item-details { display:block; animation:historyDrop .2s ease; }
@keyframes historyDrop { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.history-feedback { color:#aaa4aa; font-size:10px; line-height:1.5; }
.history-xp-lines { display:grid; gap:5px; margin-top:10px; }
.history-xp-line { display:flex; justify-content:space-between; color:#79757c; font-size:8px; letter-spacing:.07em; }
.history-xp-line b { color:#d7b16d; }
.history-more { margin-top:10px; }

.share-fight-card { position:relative; overflow:hidden; margin:10px 0 12px; padding:18px; border:1px solid #6f5435; border-radius:17px; background:radial-gradient(circle at 90% 0,rgba(255,159,60,.18),transparent 38%),linear-gradient(135deg,#1b1717,#0c0c0e); }
.share-fight-card::after { content:""; position:absolute; width:140px; height:140px; right:-65px; bottom:-78px; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.share-fight-card small,.share-fight-card strong,.share-fight-card span,.share-fight-card b { position:relative; z-index:1; display:block; }
.share-fight-card small { color:#df6849; font-size:7px; letter-spacing:.19em; font-weight:950; }
.share-fight-card strong { margin-top:9px; font-size:22px; }
.share-fight-card span { margin-top:5px; color:#9d969b; font-size:9px; }
.share-fight-card b { margin-top:13px; color:#f0c878; font-size:11px; letter-spacing:.08em; }
.share-card-button { margin-bottom:9px; }

.assessment-continue-panel .one-more-radar span { color:#8ee4ad; }
.assessment-continue-panel { border-color:#3d5b49; }

@media (max-width:520px) {
  .coach-hero-card { padding:21px 17px 18px; }
  .coach-session-heading { display:block; }
  .coach-session-heading > strong { display:block; margin-top:12px; }
  .daily-challenges,.session-choice-grid { grid-template-columns:1fr; }
  .coach-plan-strip > div { min-height:69px; padding:12px 5px; }
  .coach-plan-strip strong { font-size:17px; }
  .custom-session-section { padding:14px; }
  .coach-onboarding-panel { border-radius:22px; }
}


/* v3.1 — coach core polish, deliberate assessment, tactile challenges, fight card */
.coach-hero-card {
  border-color: rgba(243,102,65,.36);
  background:
    radial-gradient(circle at 88% 4%,rgba(237,70,39,.25),transparent 34%),
    radial-gradient(circle at 12% 110%,rgba(219,117,49,.08),transparent 45%),
    linear-gradient(145deg,#191719,#0e0e10 74%);
  box-shadow:0 28px 85px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.025);
}
.coach-hero-card::before { content:""; position:absolute; inset:-1px; border-radius:29px; padding:1px; background:conic-gradient(from 180deg,transparent 0 18%,rgba(244,93,54,.72) 27%,transparent 38% 68%,rgba(236,178,95,.42) 79%,transparent 90%); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; animation:coachBorderSweep 9s linear infinite; opacity:.7; }
@keyframes coachBorderSweep { to { transform:rotate(360deg); } }
.coach-orbit-main { right:17px; top:16px; z-index:4; width:88px; height:88px; background:radial-gradient(circle,rgba(225,67,41,.08),transparent 67%); }
.coach-assessment-card,.coach-session-card,.train-post-report { padding-right:92px; }
.coach-issue-banner { position:relative; z-index:6; display:flex; gap:9px; align-items:center; margin:0 92px 16px 0; padding:10px 12px; border:1px solid rgba(230,74,54,.48); border-radius:12px; background:rgba(92,19,18,.25); color:#e7a096; font-size:9px; line-height:1.35; }
.coach-issue-banner span { display:grid; place-items:center; flex:0 0 21px; width:21px; height:21px; border-radius:50%; background:#b3342b; color:#fff; font-weight:950; }
.coach-core-action { position:relative; overflow:hidden; min-height:66px; border:1px solid rgba(255,204,120,.34); background:linear-gradient(108deg,#c92e27 0%,#ef5a36 52%,#c64c24 100%); box-shadow:0 15px 35px rgba(201,46,39,.28),inset 0 1px rgba(255,255,255,.16); animation:coachButtonBreathe 2.8s ease-in-out infinite; }
.coach-core-action::before { content:""; position:absolute; inset:-40% auto -40% -30%; width:34%; transform:skewX(-18deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent); animation:coachButtonSweep 3.6s ease-in-out infinite; }
.coach-core-action span,.coach-core-action svg { position:relative; z-index:2; }
@keyframes coachButtonSweep { 0%,44% { left:-35%; } 72%,100% { left:130%; } }
@keyframes coachButtonBreathe { 0%,100% { transform:translateY(0); box-shadow:0 15px 35px rgba(201,46,39,.25),inset 0 1px rgba(255,255,255,.16); } 50% { transform:translateY(-1px); box-shadow:0 19px 44px rgba(229,72,43,.38),0 0 0 1px rgba(255,170,96,.12),inset 0 1px rgba(255,255,255,.2); } }
.daily-challenge { transition:transform .18s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.daily-challenge:active { transform:scale(.975); }
.daily-challenge.challenge-accepted { animation:challengeAccept .48s cubic-bezier(.2,.9,.24,1.25); }
.daily-challenge.challenge-released { animation:challengeRelease .3s ease; }
.daily-challenge.challenge-accepted .challenge-check { animation:checkSnap .42s cubic-bezier(.2,.9,.2,1.4); }
@keyframes challengeAccept { 0% { transform:scale(.97); } 45% { transform:scale(1.025); box-shadow:0 0 0 5px rgba(47,196,104,.08),0 0 30px rgba(47,196,104,.18); } 100% { transform:none; } }
@keyframes challengeRelease { 50% { transform:scale(.985); opacity:.78; } }
@keyframes checkSnap { 0% { transform:scale(.5) rotate(-18deg); } 70% { transform:scale(1.18) rotate(4deg); } 100% { transform:none; } }
.workout-controls-two { grid-template-columns:1fr 1fr; max-width:390px; margin-inline:auto; }
.workout-controls-two .pause-button { width:auto; border-radius:18px; display:flex; gap:9px; align-items:center; justify-content:center; }
.workout-controls-two .pause-button small { display:block; font-size:7px; letter-spacing:.13em; font-weight:900; }
.share-fight-card-lines { position:relative; z-index:2; display:grid; gap:5px; margin-top:12px; padding-top:10px; border-top:1px solid rgba(255,255,255,.08); }
.share-fight-card-lines div { display:flex; justify-content:space-between; gap:14px; color:#8d878d; font-size:8px; letter-spacing:.06em; }
.share-fight-card-lines div b { margin:0; color:#e7bf72; font-size:8px; }
.share-card-button { display:flex; align-items:center; justify-content:center; gap:10px; min-height:52px; border-color:#775236; background:linear-gradient(110deg,rgba(240,103,60,.16),rgba(222,171,87,.08)),#151315; color:#f0d39a; box-shadow:0 10px 26px rgba(0,0,0,.2); }
.share-card-button svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; }
.share-card-button:hover { border-color:#ab774b; transform:translateY(-1px); }
@media (max-width:520px) {
  .coach-hero-card { padding-top:21px; }
  .coach-orbit-main { display:block; width:67px; height:67px; right:12px; top:12px; opacity:.92; }
  .coach-orbit-main::before { inset:9px; }
  .coach-orbit-main::after { inset:23px; }
  .coach-orbit-main i { top:5px; left:29px; transform-origin:3px 27px; }
  .coach-assessment-card,.coach-session-card,.train-post-report { padding-right:58px; }
  .coach-session-heading { padding-right:0; }
  .coach-session-heading h1 { max-width:100%; }
  .coach-issue-banner { margin-right:57px; }
  .coach-core-action { margin-right:-58px; width:calc(100% + 58px); }
  .daily-challenge { min-height:72px; }
}
@media (prefers-reduced-motion:reduce) {
  .coach-hero-card::before,.coach-core-action,.coach-core-action::before,.daily-challenge.challenge-accepted,.daily-challenge.challenge-released,.daily-challenge.challenge-accepted .challenge-check { animation:none!important; }
}


/* v3.2 — universal lead/rear terminology and glove-friendly workout controls */
.assessment-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
.coach-onboarding-panel .onboarding-step { padding-bottom: 28px; }

.workout-action-dock {
  width: min(100%, 560px);
  max-width: 560px;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 18px 15px;
}
.workout-action-button {
  position: relative;
  min-height: 86px;
  border-radius: 18px;
  border: 1px solid #39393f;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.workout-action-button::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.08),transparent 42%);
  opacity:.65;
}
.workout-action-button:active { transform: scale(.965); }
.workout-action-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display:grid;
  place-items:center;
  font-size: 27px;
  line-height:1;
  font-weight:900;
}
.workout-action-copy {
  position: relative;
  z-index: 1;
  min-width:0;
  display:grid;
  gap:5px;
}
.workout-action-copy strong {
  font-size: 15px;
  line-height:1;
  letter-spacing:.1em;
  font-weight:950;
}
.workout-action-copy small {
  color:#8f8f96;
  font-size:7px;
  letter-spacing:.12em;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pause-action {
  color:#09090a;
  border-color:#f0eee8;
  background:linear-gradient(135deg,#fffdfa,#d9d7d1);
  box-shadow:0 12px 32px rgba(255,255,255,.08);
}
.pause-action .workout-action-icon {
  color:#09090a;
  background:rgba(0,0,0,.08);
}
.pause-action .workout-action-copy small { color:#56565c; }
.skip-action {
  color:#fff1ed;
  border-color:#68282b;
  background:linear-gradient(135deg,rgba(86,17,20,.96),rgba(28,12,14,.98));
  box-shadow:0 12px 32px rgba(124,13,18,.17), inset 0 0 0 1px rgba(255,85,77,.04);
}
.skip-action .workout-action-icon {
  color:#ff867e;
  border:1px solid rgba(255,105,97,.22);
  background:rgba(255,66,57,.08);
}
.skip-action .workout-action-copy small { color:#c47a76; }
.pause-action:hover { box-shadow:0 15px 38px rgba(255,255,255,.12); }
.skip-action:hover { border-color:#9a3639; box-shadow:0 15px 38px rgba(161,15,22,.24); }

@media (max-width: 520px) {
  .workout-action-dock { gap:9px; padding-inline:12px; }
  .workout-action-button {
    min-height:92px;
    grid-template-columns:1fr;
    justify-items:center;
    gap:7px;
    padding:11px 8px;
    text-align:center;
    border-radius:17px;
  }
  .workout-action-icon { width:42px; height:38px; font-size:24px; }
  .workout-action-copy { gap:4px; }
  .workout-action-copy strong { font-size:14px; }
  .workout-action-copy small { max-width:145px; font-size:6.5px; }
}
@media (max-height: 690px) {
  .workout-action-button { min-height:76px; }
  .workout-action-icon { height:34px; }
}


/* v3.3 workout controls: pause is primary, skip is intentionally subordinate. */
.refined-workout-controls {
  position:relative; z-index:4; display:grid; grid-template-columns:1fr 92px 1fr;
  align-items:center; padding:4px 24px 18px; min-height:100px;
}
.workout-control-balance { width:64px; height:44px; justify-self:start; }
.pause-orb {
  width:86px; height:86px; justify-self:center; border-radius:50%; cursor:pointer;
  border:1px solid rgba(255,255,255,.34); color:#111; background:
  radial-gradient(circle at 35% 28%,#fff 0,#e8e4de 42%,#aaa59f 100%);
  display:grid; place-items:center; position:relative; box-shadow:0 18px 45px rgba(0,0,0,.45),0 0 0 7px rgba(255,255,255,.035);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.pause-orb::before { content:""; position:absolute; inset:-8px; border:1px solid rgba(255,255,255,.12); border-radius:50%; }
.pause-orb::after { content:""; position:absolute; inset:-12px; border-radius:50%; border:1px solid transparent; border-top-color:rgba(238,83,49,.8); animation:pauseOrbit 5s linear infinite; }
.pause-orb span { font-size:30px; font-weight:900; letter-spacing:-4px; transform:translateX(-2px); }
.pause-orb:hover { transform:translateY(-2px) scale(1.025); box-shadow:0 22px 55px rgba(0,0,0,.5),0 0 28px rgba(255,255,255,.09); }
.pause-orb:active { transform:scale(.94); }
@keyframes pauseOrbit { to { transform:rotate(360deg); } }
.skip-compact {
  justify-self:end; width:66px; min-height:44px; border-radius:13px; border:1px solid #772f34;
  background:linear-gradient(155deg,#321315,#1c0d0f); color:#ee7774; cursor:pointer;
  font-size:9px; font-weight:950; letter-spacing:.14em; box-shadow:0 10px 25px rgba(0,0,0,.28);
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.skip-compact:hover { border-color:#b84c51; background:linear-gradient(155deg,#451719,#251012); }
.skip-compact:active { transform:scale(.92); }
.skip-compact.advance-state { color:#c9c4bd; border-color:#4a474b; background:#171719; }

.coach-rest-question {
  width:min(620px,calc(100vw - 34px)); margin:15px auto 0; padding:13px 14px 14px;
  border:1px solid rgba(236,91,56,.42); border-radius:17px;
  background:linear-gradient(145deg,rgba(42,18,17,.96),rgba(17,17,19,.97));
  box-shadow:0 18px 46px rgba(0,0,0,.38),0 0 26px rgba(229,75,42,.08);
  animation:coachQuestionIn .28s cubic-bezier(.2,.8,.2,1);
}
.coach-rest-question > small { display:block; color:#ef6948; font-size:8px; font-weight:950; letter-spacing:.18em; }
.coach-rest-question > strong { display:block; margin-top:5px; color:#f1ede7; font-size:13px; line-height:1.35; }
.coach-rest-responses { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:11px; }
.coach-rest-responses button { min-height:43px; border:1px solid #3b393e; border-radius:12px; background:#171719; color:#ded9d2; font-size:8px; font-weight:950; letter-spacing:.11em; cursor:pointer; }
.coach-rest-responses button:hover,.coach-rest-responses button:active { border-color:#e25f42; background:#251413; transform:translateY(-1px); }
.coach-rest-question.answered { border-color:#3e9d65; box-shadow:0 0 34px rgba(57,192,105,.17); }
@keyframes coachQuestionIn { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }

@media (max-width:700px) {
  .refined-workout-controls { grid-template-columns:1fr 82px 1fr; min-height:88px; padding:2px 18px 12px; }
  .pause-orb { width:76px; height:76px; }
  .pause-orb span { font-size:27px; }
  .skip-compact { width:58px; min-height:40px; border-radius:12px; font-size:8px; }
  .move-state-dot { width:34px; height:34px; }
  .move-state-dot::after { inset:8px; }
  .move-traffic { gap:9px; }
  .move-row { padding-inline:13px; gap:8px; }
  .move-tag { display:none; }
  .coach-rest-question { margin-top:11px; padding:11px; }
  .coach-rest-responses button { min-height:40px; font-size:7px; }
}


/* v3.7 — protected coach audio, deeper personalization, fight-card easter eggs */
.share-fight-card-quote { position:relative; z-index:2; display:block; margin-top:14px; padding-top:11px; border-top:1px solid rgba(255,255,255,.07); color:#d5ced2; font-size:10px; line-height:1.45; font-style:italic; letter-spacing:.025em; }


/* v3.9 — progression envelope, qualification gauntlets, report and coach polish */
.level-pill{min-width:62px;height:46px;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:5px;padding:0 13px;border-radius:14px;background:radial-gradient(circle at 70% 15%,rgba(255,105,55,.28),transparent 45%),linear-gradient(145deg,#20191a,#0d0d0f);border:1px solid #4b3531;box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 26px rgba(0,0,0,.28)}
.level-pill span{align-self:center;line-height:1}.level-pill strong{display:grid;place-items:center;min-width:22px;line-height:1;text-align:center}
.coach-assessment-card{max-width:680px;padding-bottom:2px}.coach-assessment-card>p{max-width:500px;margin-bottom:8px}.assessment-facts{margin:12px 0 15px}
.coach-session-card{text-align:center}.coach-session-heading{align-items:center;text-align:center}.coach-session-heading>div{flex:1}.coach-session-heading h1{margin-inline:auto}.coach-memory-line{max-width:560px;margin-inline:auto}.coach-plan-strip{max-width:520px;margin-inline:auto}.rival-line{justify-content:center;max-width:520px;margin-inline:auto}.daily-challenge-wrap{max-width:600px;margin-inline:auto}.daily-challenge-heading{justify-content:center;gap:18px}.personalized-under-action{justify-content:center!important;gap:0!important;margin-top:12px}.personalized-under-action span:first-child{padding:7px 14px;border:1px solid #51403d;border-radius:999px;background:rgba(255,96,54,.08);color:#d98a70;letter-spacing:.16em}.personalized-under-action #smartComboAvailability{display:none}
.report-xp-display{text-align:right}.report-xp-display small{display:block;color:#8c8388;font-size:7px;letter-spacing:.18em}.report-xp{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(45px,12vw,76px)!important;line-height:.9;letter-spacing:-.035em;background:linear-gradient(120deg,#fff1a5,#ff7b42 58%,#e23526);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 7px 18px rgba(255,83,40,.2))}.report-level-row{display:flex;justify-content:space-between;margin-top:17px;color:#9e969b;font-size:8px;font-weight:900;letter-spacing:.12em}.report-level-row b{color:#e3bf72}.report-level-track{position:relative;height:9px;margin:8px 0 16px;border-radius:999px;background:#252327;overflow:hidden}.report-level-track i,.report-level-track em{position:absolute;inset-block:0;left:0}.report-level-track i{background:#59545a}.report-level-track em{background:linear-gradient(90deg,#f0b45d,#f15a38);box-shadow:0 0 16px rgba(240,112,55,.55)}.highlight-badge.standout{border-color:#8c6030;background:linear-gradient(135deg,rgba(241,181,79,.15),rgba(218,59,36,.08));color:#f2c675}.next-session-button{width:100%;min-height:58px;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid #b96337;border-radius:16px;background:linear-gradient(120deg,#e74728,#8f221d);color:white;font-weight:950;letter-spacing:.14em;box-shadow:0 12px 35px rgba(213,52,30,.22);animation:nextSessionPulse 2.3s ease-in-out infinite}.next-session-button b{font-size:22px}@keyframes nextSessionPulse{50%{transform:translateY(-1px);box-shadow:0 16px 40px rgba(226,66,35,.32),0 0 0 4px rgba(229,67,37,.05)}}
.locked-mode-choice{margin-bottom:10px}.qualification-button{width:100%;min-height:44px;margin-top:6px;border:1px solid #8b5b2c;border-radius:12px;background:linear-gradient(135deg,#2c2117,#171313);color:#f2c576;font-size:9px;font-weight:950;letter-spacing:.14em}.qualification-button:hover{border-color:#d49a48}
.workout-pause-overlay{position:absolute;inset:0;z-index:80;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at center,rgba(125,10,14,.66),rgba(20,3,5,.94));backdrop-filter:blur(7px);transition:.25s}.workout-pause-overlay.resume{background:radial-gradient(circle at center,rgba(25,145,75,.62),rgba(2,25,13,.94))}.workout-pause-overlay span{font-size:12px;font-weight:950;letter-spacing:.28em}.workout-pause-overlay strong{margin-top:14px;font-size:96px;line-height:1;text-shadow:0 0 42px rgba(255,255,255,.2)}
.completion-panel.pro-victory{border-color:#e7c15e;background:radial-gradient(circle at 50% 0,rgba(255,224,115,.38),transparent 35%),linear-gradient(160deg,#765015,#251603 58%,#090806);box-shadow:0 0 110px rgba(244,191,56,.36),0 30px 110px rgba(0,0,0,.85)}
@media(max-width:620px){.coach-session-heading{display:block}.coach-session-heading>strong{display:block;margin:10px auto 0}.coach-assessment-card{padding-right:58px}.report-top{align-items:flex-start}.report-xp-display{min-width:100px}.next-session-button{min-height:62px}.daily-challenge-heading{justify-content:space-between;gap:8px}}

.coach-onboarding-panel{min-height:auto!important;max-height:min(720px,calc(100dvh - 24px));padding-bottom:18px}.coach-onboarding-panel .onboarding-step{padding-bottom:0!important}.coach-onboarding-panel .onboarding-step p{margin-bottom:18px}.coach-onboarding-panel .onboarding-continue{margin-top:16px}
.share-fight-card{isolation:isolate}.share-fight-card::before{content:attr(data-level-icon);position:absolute;right:18px;top:-30px;z-index:0;font-size:150px;line-height:1;color:rgba(255,255,255,.055);font-family:Georgia,serif;font-weight:900}.share-fight-card.level-up-card{border-color:#9d6930;box-shadow:0 0 34px rgba(241,160,59,.12)}.share-fight-card.pro-card{border-color:#f0ce69;background:radial-gradient(circle at 90% 0,rgba(255,244,167,.45),transparent 40%),linear-gradient(135deg,#c99329,#4a2b06 66%,#140b02)}.share-fight-card.pro-card small,.share-fight-card.pro-card strong,.share-fight-card.pro-card span,.share-fight-card.pro-card b,.share-fight-card.pro-card em{color:#fff5bf!important;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.workout-pause-overlay{pointer-events:none}.workout-controls{position:relative;z-index:90}

/* v3.9 coach badge placement */
.personalized-badge-under{display:flex;justify-content:center;margin-top:10px}.personalized-badge-under b{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:7px 14px;border:1px solid rgba(224,89,55,.38);border-radius:999px;background:linear-gradient(90deg,rgba(224,64,42,.10),rgba(255,155,64,.05));color:#cf8b73;font-size:8px;letter-spacing:.2em;font-weight:950;box-shadow:0 0 20px rgba(222,66,42,.06)}

/* v3.9 Fight Timer recovery state */
.fight-timer-screen.rest-mode .ring-progress{stroke:#4b9cff;filter:drop-shadow(0 0 10px rgba(75,156,255,.42))}.fight-timer-screen.rest-mode .command-stage>span{color:#66aaff}.fight-timer-screen.rest-mode #fightTimerPhase{color:#66aaff}

/* v4.0 human-recorded Coach Pack */
.recorded-pack-row{border-color:rgba(74,184,110,.28)!important;background:linear-gradient(110deg,rgba(57,164,96,.08),rgba(255,255,255,.015))!important}.recorded-pack-row .status-badge{box-shadow:0 0 18px rgba(67,199,114,.16)}


/* v4.2 — full Trainer VO V1 + SFX V1 integration */
.personalized-badge-under{justify-content:flex-end!important;margin-top:8px!important}
.personalized-badge-under b{min-width:0!important;padding:5px 9px!important;border-color:rgba(232,184,83,.42)!important;background:linear-gradient(120deg,rgba(214,150,42,.16),rgba(255,224,120,.06))!important;color:#e7bd63!important;font-size:7px!important;letter-spacing:.17em!important;box-shadow:0 0 18px rgba(226,171,63,.08)!important}
.pause-orb.rest-ready{background:radial-gradient(circle at 42% 35%,#25372e,#0e1712 70%);color:#d8f5df;border-color:#406d51;box-shadow:0 16px 45px rgba(0,0,0,.5),0 0 26px rgba(61,173,103,.12)}
.pause-orb.rest-ready::after{border-top-color:rgba(64,190,108,.85)}
.pause-orb.rest-ready span{font-size:11px!important;letter-spacing:.13em!important;transform:none!important;margin:0!important}
.pause-orb.resume-state span,.pause-button.resume-state span{letter-spacing:0!important;transform:none!important;margin-left:3px!important;display:block;text-align:center;line-height:1!important}
.voice-command-confirm{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:6px 10px;border:1px solid rgba(68,201,112,.38);border-radius:999px;background:rgba(51,154,87,.12);color:#7de49d;font-size:8px;font-weight:950;letter-spacing:.14em;animation:voiceConfirmIn .18s ease-out both}
@keyframes voiceConfirmIn{from{opacity:0;transform:scale(.9) translateY(3px)}to{opacity:1;transform:none}}
.hands-free-hint.listening::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#55d982;box-shadow:0 0 0 0 rgba(85,217,130,.5);animation:micPulse 1.15s ease-out infinite;vertical-align:middle}
@keyframes micPulse{70%{box-shadow:0 0 0 7px rgba(85,217,130,0)}100%{box-shadow:0 0 0 0 rgba(85,217,130,0)}}
.fight-timer-screen .pause-button.rest-ready{background:linear-gradient(145deg,#1f593a,#0b2517);color:#dcf8e5;border:1px solid #377b51;font-size:10px;font-weight:950;letter-spacing:.09em}
.fight-timer-screen .pause-button.rest-ready span{font-size:9px!important;letter-spacing:.09em!important;transform:none!important;margin:0!important}

.skip-compact.rest-hidden{visibility:hidden!important;pointer-events:none!important}

/* v4.7 Murder Round reveal: no fake countdown. The ding gets a clean, empty red field. */
.workout-screen.murder-warning .timer-ring { visibility:hidden; }
.workout-screen.murder-warning.murder-ding-stage .murder-title,
.workout-screen.murder-warning.murder-ding-stage .command-stage,
.workout-screen.murder-warning.murder-ding-stage .round-dots { opacity:0; }


/* v4.8 — transactional loading, Gauntlet entry, pause voice affordance */
.app-transition-loader{position:fixed;inset:0;z-index:130;display:grid;place-items:center;padding:24px;background:rgba(5,5,6,.58);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.app-transition-loader.hidden{display:none}.app-transition-core{min-width:min(82vw,320px);padding:26px 22px 22px;text-align:center;border:1px solid #3b3434;border-radius:20px;background:radial-gradient(circle at 50% 20%,rgba(223,46,46,.14),transparent 46%),rgba(12,12,14,.95);box-shadow:0 22px 80px rgba(0,0,0,.5)}
.app-transition-core strong,.app-transition-core small{display:block}.app-transition-core strong{margin-top:18px;font-size:10px;letter-spacing:.18em;font-weight:950}.app-transition-core small{margin-top:7px;color:#777278;font-size:7px;letter-spacing:.24em;font-weight:900}
.corner-spinner{position:relative;display:inline-grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.12);transform:rotate(45deg)}.corner-spinner::before,.corner-spinner::after{content:"";position:absolute;background:var(--red-hot)}.corner-spinner::before{width:7px;height:7px;border-radius:50%;box-shadow:0 0 16px rgba(255,58,49,.78)}.corner-spinner::after{width:2px;height:21px;transform-origin:center bottom;animation:cornerSpin 1.05s linear infinite}.corner-spinner i,.corner-spinner b{position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%;animation:cornerPulse 1.4s ease-in-out infinite}.corner-spinner i{inset:-8px}.corner-spinner b{inset:-15px;animation-delay:.28s}@keyframes cornerSpin{to{transform:rotate(360deg)}}@keyframes cornerPulse{0%,100%{opacity:.2;transform:scale(.9)}50%{opacity:.8;transform:scale(1.05)}}
.gauntlet-train-bar{position:relative;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin:18px 0 4px;padding:17px 18px;border:1px solid #8d6730;border-radius:18px;background:radial-gradient(circle at 5% 0%,rgba(255,201,99,.16),transparent 48%),linear-gradient(135deg,#211b12,#121112 70%);box-shadow:0 12px 34px rgba(0,0,0,.24),0 0 28px rgba(214,184,112,.07)}.gauntlet-train-bar.hidden{display:none}.gauntlet-train-bar small,.gauntlet-train-bar strong,.gauntlet-train-bar span{display:block}.gauntlet-train-bar small{color:#b49457;font-size:7px;letter-spacing:.2em;font-weight:950}.gauntlet-train-bar strong{margin-top:3px;color:#ffe0a0;font-size:22px;letter-spacing:.05em}.gauntlet-train-bar span{margin-top:5px;color:#8f8574;font-size:7px;line-height:1.45;letter-spacing:.11em;font-weight:800}.gauntlet-train-start{min-height:44px;padding:0 15px;border:1px solid #b98a43;border-radius:12px;background:linear-gradient(135deg,#7c5724,#3c2915);color:#fff0c2;font-size:8px;font-weight:950;letter-spacing:.12em;white-space:nowrap;cursor:pointer;box-shadow:0 0 20px rgba(214,184,112,.09)}
.workout-pause-overlay small{display:block;margin-top:22px;color:#c7bfc0;font-size:8px;letter-spacing:.16em;font-weight:900}
@media(max-width:560px){.gauntlet-train-bar{grid-template-columns:1fr}.gauntlet-train-start{width:100%}}


/* v4.9.1 stable patch — additive only; preserves v4.8 workout/pause geometry */
.progress-month-card{position:relative;overflow:hidden;padding:16px;border:1px solid #343238;border-radius:20px;background:radial-gradient(circle at 100% 0,rgba(238,78,45,.09),transparent 38%),linear-gradient(145deg,#17171a,#101012 72%);box-shadow:0 16px 44px rgba(0,0,0,.22)}
.progress-month-card>*{position:relative;z-index:1}.progress-month-nav{display:grid;grid-template-columns:38px 1fr 38px;gap:8px;align-items:center;margin-bottom:13px}.progress-month-nav strong{text-align:center;color:#d5d0d1;font-size:10px;letter-spacing:.16em}.progress-month-nav button{width:38px;height:34px;border:1px solid #35343a;border-radius:11px;background:#141416;color:#aaa5aa;cursor:pointer;font-size:22px;line-height:1}.progress-month-nav button:disabled{opacity:.18;cursor:default}.progress-month-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.progress-month-stats>div{min-height:69px;padding:12px 11px;border:1px solid #33343a;border-radius:13px;background:rgba(255,255,255,.025)}.progress-month-stats small,.progress-month-stats strong{display:block}.progress-month-stats small{color:#77737a;font-size:7px;letter-spacing:.12em;font-weight:950}.progress-month-stats strong{margin-top:7px;font-size:20px;letter-spacing:-.025em}.training-heatmap-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:17px 2px 9px}.training-heatmap-head span{color:#aaa4aa;font-size:8px;letter-spacing:.17em;font-weight:950}.training-heatmap-head small{color:#6b676d;font-size:7px;letter-spacing:.08em}.training-heatmap{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.heat-weekday{padding:0 0 4px;color:#666169;text-align:center;font-size:7px;letter-spacing:.08em}.heat-day{position:relative;min-height:39px;display:grid;place-items:center;border:1px solid #2b2a2e;border-radius:9px;background:#111113;color:#69656a;font-style:normal}.heat-day span{position:relative;z-index:2;font-size:8px;font-weight:900}.heat-day.blank{border-color:transparent;background:transparent}.heat-day.heat-1{border-color:#354e40;background:linear-gradient(145deg,#17221b,#121714);color:#9bb8a4}.heat-day.heat-2{border-color:#496b52;background:linear-gradient(145deg,#1e3527,#131c16);color:#b9dac1}.heat-day.heat-3{border-color:#77603d;background:linear-gradient(145deg,#3c2c1c,#1d1813);color:#e0c28b}.heat-day.heat-4{border-color:#874039;background:linear-gradient(145deg,#4a201c,#201313);color:#f2aaa0}
.timer-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:15px 0 11px}.timer-presets button{min-height:64px;padding:9px 6px;border:1px solid #343238;border-radius:13px;background:linear-gradient(145deg,#171719,#111113);cursor:pointer;text-align:center}.timer-presets strong,.timer-presets small{display:block}.timer-presets strong{color:#d6d0d2;font-size:8px;letter-spacing:.08em}.timer-presets small{margin-top:6px;color:#706c72;font-size:7px;letter-spacing:.06em}.timer-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:11px 0 3px}.timer-option{min-height:58px;border:1px solid #343238;border-radius:13px;background:#131315;cursor:pointer;text-align:center}.timer-option span,.timer-option small{display:block}.timer-option span{color:#d8d2d4;font-size:9px;font-weight:950;letter-spacing:.08em}.timer-option small{margin-top:4px;color:#6f6a71;font-size:6.5px;letter-spacing:.12em;font-weight:900}.timer-option[aria-checked="true"]{border-color:#7c4b39;background:radial-gradient(circle at 50% 0,rgba(234,83,48,.13),transparent 70%),#171416}.timer-option[aria-checked="true"] span{color:#f0c3ad}.fight-timer-recent{margin-top:23px}.fight-timer-recent-list{display:grid;gap:7px}.fight-timer-recent-item{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:12px 13px;border:1px solid #303035;border-radius:13px;background:#121214}.fight-timer-recent-item strong,.fight-timer-recent-item small{display:block}.fight-timer-recent-item strong{font-size:9px;letter-spacing:.07em}.fight-timer-recent-item small{margin-top:4px;color:#706c72;font-size:7px}.fight-timer-recent-item b{color:#d8b670;font-size:8px;letter-spacing:.08em}.fight-timer-final-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:11px;padding:6px 10px;border:1px solid rgba(228,178,86,.46);border-radius:999px;background:rgba(213,150,55,.08);color:#e6bd70;font-size:7px;font-weight:950;letter-spacing:.17em}.fight-timer-complete-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:min(100%,320px);margin:18px auto 0}.fight-timer-complete-actions button{min-height:45px;border:1px solid #4a4140;border-radius:12px;background:#181517;color:#e5dfdc;font-size:8px;font-weight:950;letter-spacing:.13em;cursor:pointer}.fight-timer-complete-actions button:last-child{border-color:#81503a;background:linear-gradient(135deg,#582a20,#291918);color:#f2b89d}.fight-timer-screen.complete-mode #fightTimerRingProgress{stroke:#d2ad67}.fight-timer-screen.complete-mode #fightTimerCommand{color:#f0d69d}.fight-timer-screen.rest-mode #fightTimerRingProgress{stroke:#65b986}
.coach-pressure-aura{position:absolute!important;inset:-10%;z-index:0!important;opacity:0;pointer-events:none;--coach-pressure:0;--coach-pressure-hue:145;background:radial-gradient(circle at 50% 56%,hsla(var(--coach-pressure-hue),58%,42%,calc(.035 + var(--coach-pressure)*.085)),transparent 46%),radial-gradient(circle at 48% 62%,hsla(var(--coach-pressure-hue),72%,52%,calc(.02 + var(--coach-pressure)*.055)),transparent 66%);filter:blur(12px);transform:scale(.96);transition:opacity 2s ease}.coach-pressure-aura.active{opacity:1;animation:coachPressureBreath 4.8s ease-in-out infinite}.workout-screen.murder-mode .coach-pressure-aura,.workout-screen.murder-warning .coach-pressure-aura{opacity:0!important;animation:none!important}@keyframes coachPressureBreath{0%,100%{transform:scale(.96);filter:blur(13px)}50%{transform:scale(1.04);filter:blur(18px)}}
/* Explicitly preserve the stable v4.8 pause overlay stacking and geometry. */
.workout-pause-overlay{position:absolute!important;inset:0!important;z-index:80!important}.workout-topbar,.workout-center,.workout-controls,.workout-footer{position:relative;z-index:2}
.coach-hero-card.champion-homecoming{animation:championHomecoming 1.85s cubic-bezier(.16,.78,.2,1) both}.progress-card.champion-homecoming{animation:championProgress 1.8s ease-out both}.daily-challenge.challenge-banked{border-color:#936f36!important;background:radial-gradient(circle at 0 50%,rgba(228,175,79,.15),transparent 48%),#171512!important;animation:challengeBank .65s cubic-bezier(.2,.85,.22,1.18) both}@keyframes championHomecoming{0%{filter:brightness(.78)}28%{filter:brightness(1.32);box-shadow:0 25px 95px rgba(0,0,0,.32),0 0 58px rgba(232,91,48,.20)}100%{filter:none}}@keyframes championProgress{0%{filter:brightness(.7)}45%{filter:brightness(1.4);box-shadow:0 0 35px rgba(222,155,67,.16)}100%{filter:none}}@keyframes challengeBank{0%{transform:scale(.88);opacity:.4}60%{transform:scale(1.035);opacity:1}100%{transform:none}}
.homecoming-challenges{position:relative;z-index:7;display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:14px 0 0;padding:11px 12px;border:1px solid rgba(218,169,82,.32);border-radius:13px;background:linear-gradient(90deg,rgba(217,158,62,.10),rgba(0,0,0,.10))}.homecoming-challenges small{flex:0 0 100%;color:#9d8150;font-size:7px;letter-spacing:.18em;font-weight:950}.homecoming-challenges b{padding:6px 8px;border:1px solid rgba(222,176,88,.30);border-radius:999px;background:rgba(221,168,73,.07);color:#e4c078;font-size:7px;letter-spacing:.09em}
@media(max-width:640px){.progress-month-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.timer-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.timer-presets button:last-child{grid-column:1/-1}.training-heatmap{gap:4px}.heat-day{min-height:34px;border-radius:8px}}@media(max-width:420px){.timer-options{grid-template-columns:1fr}.timer-option{min-height:49px}.progress-month-card{padding:13px}.progress-month-stats>div{min-height:62px;padding:10px}.progress-month-stats strong{font-size:18px}.heat-day{min-height:31px}.heat-day span{font-size:7px}}@media(prefers-reduced-motion:reduce){.coach-pressure-aura.active,.coach-hero-card.champion-homecoming,.progress-card.champion-homecoming,.daily-challenge.challenge-banked{animation:none!important}}
