:root {
  --accent-text: var(--accent);
  --tier-accent: var(--accent-text);
  --tier-neutral: var(--on-surface-variant);
  --font-technical: var(--font-body);
  --peach: color-mix(in srgb, var(--accent) 30%, var(--surface-container));
  --sunset: color-mix(in srgb, var(--accent) 55%, var(--surface-container));
  --sky-tint: color-mix(in srgb, var(--surface-container-high) 30%, var(--surface-container));
  --sky-shade: color-mix(in srgb, var(--surface-container-high) 45%, var(--surface-container));
  --sky-deep: color-mix(in srgb, var(--surface-container-high) 55%, var(--on-surface));
  --accent-cel: color-mix(in srgb, var(--accent) 88%, var(--surface-container));
  --window: color-mix(in srgb, var(--on-surface) 84%, var(--surface-container-high));
  --window-deep: var(--on-surface);
  --on-window: var(--surface-container);
  --on-window-variant: color-mix(in srgb, var(--surface-container-high) 55%, var(--surface-container));
  --xp-on-window: color-mix(in srgb, var(--accent) 52%, var(--surface-container));
  --window-rule: color-mix(in srgb, var(--on-window) 30%, transparent);
  --ok: color-mix(in srgb, var(--surface-container-high) 35%, var(--on-surface));
  --danger: var(--accent-text);
  --logo-ink: drop-shadow(1.5px 0 0 var(--line)) drop-shadow(-1.5px 0 0 var(--line)) drop-shadow(0 1.5px 0 var(--line)) drop-shadow(0 -1.5px 0 var(--line));
  --tone: radial-gradient(circle, color-mix(in srgb, var(--line) 22%, transparent) 1.1px, transparent 1.7px) 0 0 / 7px 7px;
  --outline-2: 2px 0px 0 var(--line), 1.8px 0.8px 0 var(--line), 1.4px 1.4px 0 var(--line), 0.8px 1.8px 0 var(--line), 0px 2px 0 var(--line), -0.8px 1.8px 0 var(--line), -1.4px 1.4px 0 var(--line), -1.8px 0.8px 0 var(--line), -2px 0px 0 var(--line), -1.8px -0.8px 0 var(--line), -1.4px -1.4px 0 var(--line), -0.8px -1.8px 0 var(--line), 0px -2px 0 var(--line), 0.8px -1.8px 0 var(--line), 1.4px -1.4px 0 var(--line), 1.8px -0.8px 0 var(--line);
  --outline-3: 3px 0px 0 var(--line), 2.8px 1.1px 0 var(--line), 2.1px 2.1px 0 var(--line), 1.1px 2.8px 0 var(--line), 0px 3px 0 var(--line), -1.1px 2.8px 0 var(--line), -2.1px 2.1px 0 var(--line), -2.8px 1.1px 0 var(--line), -3px 0px 0 var(--line), -2.8px -1.1px 0 var(--line), -2.1px -2.1px 0 var(--line), -1.1px -2.8px 0 var(--line), 0px -3px 0 var(--line), 1.1px -2.8px 0 var(--line), 2.1px -2.1px 0 var(--line), 2.8px -1.1px 0 var(--line);
  --outline-5: 5px 0px 0 var(--line), 4.6px 1.9px 0 var(--line), 3.5px 3.5px 0 var(--line), 1.9px 4.6px 0 var(--line), 0px 5px 0 var(--line), -1.9px 4.6px 0 var(--line), -3.5px 3.5px 0 var(--line), -4.6px 1.9px 0 var(--line), -5px 0px 0 var(--line), -4.6px -1.9px 0 var(--line), -3.5px -3.5px 0 var(--line), -1.9px -4.6px 0 var(--line), 0px -5px 0 var(--line), 1.9px -4.6px 0 var(--line), 3.5px -3.5px 0 var(--line), 4.6px -1.9px 0 var(--line);
  --ink: 3px;
  --cut: clamp(2rem, 5vw, 4.5rem);
  --col-max: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --col: min(var(--col-max), 100% - 2 * var(--gutter));
  --rhythm: clamp(4.5rem, 9vw, 7.5rem);
  --chrome-h: 68px;
  --snap: cubic-bezier(.2, .9, .3, 1.15);
  --z-skip: 200; --z-burger: 100; --z-overlay: 99; --z-dash-header: 50; --z-nav: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--chrome-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--on-surface);
  font: 400 1.0625rem/1.6 var(--font-body); overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; color: var(--on-surface-variant); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
section[id] { scroll-margin-top: calc(var(--chrome-h) + 1rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--line); outline-offset: 3px; }
.window :focus-visible, .footer :focus-visible, .dash-card :focus-visible { outline-color: var(--on-window); }
.skip-link {
  position: absolute; left: -9999px; z-index: var(--z-skip); padding: .7rem 1.1rem;
  background: var(--accent); color: var(--accent-ink); border: var(--ink) solid var(--line);
  font-weight: 800; text-decoration: none;
}
.skip-link:focus-visible { left: 1rem; top: 1rem; }

.sfx {
  font-family: var(--font-display); font-weight: 400; line-height: 1;
  color: var(--surface-container); text-shadow: var(--outline-5);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.window {
  background: linear-gradient(180deg, var(--window), var(--window-deep));
  color: var(--on-window);
  border: var(--ink) solid var(--on-window); border-radius: 10px;
  box-shadow: 0 0 0 var(--ink) var(--line);
}
.window p { color: var(--on-window-variant); }
.cursor {
  display: inline-block; flex: none; width: 0; height: 0;
  border-left: .62rem solid currentColor; border-block: .38rem solid transparent;
}
@keyframes cursor-bob { to { translate: .25rem 0; } }
@keyframes next-bob { to { translate: 0 -.18rem; } }
.caption {
  display: inline-block; justify-self: start; margin: 0;
  padding: .3rem .8rem .3rem .65rem;
  background: var(--surface-container); color: var(--on-surface);
  border: 2.5px solid var(--line); border-left: .65rem solid var(--accent);
  font: 800 .78rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.panel-cut {
  --slant: 22px;
  --tlx: var(--slant); --tly: 0px; --trx: 0px; --try: 0px;
  --brx: var(--slant); --bry: 0px; --blx: 0px; --bly: 0px;
  --shape: polygon(var(--tlx) var(--tly), calc(100% - var(--trx)) var(--try), calc(100% - var(--brx)) calc(100% - var(--bry)), var(--blx) calc(100% - var(--bly)));
  padding: var(--ink); background: var(--line); clip-path: var(--shape);
}
.panel-cut-inner { position: relative; height: 100%; background: var(--surface-container); clip-path: var(--shape); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; cursor: pointer;
  border: var(--ink) solid var(--line); border-radius: 8px;
  font: 800 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  box-shadow: inset 0 3px 0 color-mix(in srgb, var(--surface-container) 55%, transparent), 0 4px 0 var(--line);
}
.btn svg { flex: none; width: 1.15em; height: 1.15em; }
.btn::before {
  content: ""; position: absolute; left: -1.15rem; top: 50%; translate: 0 -50%;
  border-left: .6rem solid var(--line); border-block: .38rem solid transparent;
  opacity: 0; transition: opacity .12s;
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn-steam { background: linear-gradient(var(--accent) 62%, var(--accent-cel) 62%); color: var(--accent-ink); }
.btn-ghost, .btn-surface { background: linear-gradient(var(--surface-container) 62%, var(--sky-tint) 62%); color: var(--on-surface); }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .9rem; }
.btn[disabled] { cursor: default; }
.btn-icon { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s var(--snap), box-shadow .15s var(--snap); }
  .btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: inset 0 3px 0 color-mix(in srgb, var(--surface-container) 55%, transparent), 0 6px 0 var(--line); }
  .btn:active { transform: translateY(3px); box-shadow: inset 0 3px 0 color-mix(in srgb, var(--surface-container) 55%, transparent), 0 1px 0 var(--line); }
  .btn:hover::before, .btn:focus-visible::before { animation: cursor-bob 1s steps(2, jump-none) 3; }
}

.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  border-bottom: var(--ink) solid var(--line);
}
.nav-inner { width: var(--col); margin-inline: auto; min-height: var(--chrome-h); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.nav-brand, .dash-title { display: flex; align-items: center; gap: .6rem; min-width: 0; margin: 0; }
.nav-mark { width: 2.4rem; height: 2.4rem; flex: none; fill: var(--accent); stroke: var(--line); stroke-width: 9; stroke-linejoin: round; overflow: visible; }
.nav-logo, .dash-logo { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; color: var(--on-surface); }
.nav-logo img, .dash-logo img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: var(--logo-ink) drop-shadow(2px 2px 0 var(--line)); }
.nav-logo--word, .dash-logo--word { overflow: hidden; }
.wordmark { display: flex; flex-direction: column; min-width: 0; font: 1rem/.98 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.wordmark-lead, .wordmark-last { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wordmark-last { color: var(--accent-text); }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { font-weight: 800; font-size: .92rem; text-decoration: none; text-underline-offset: .3em; }
.nav-links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 1.4rem; }
.nav-actions .btn-steam > span { white-space: nowrap; }
.nav-burger { display: none; position: relative; z-index: var(--z-burger); padding: .35rem; background: var(--surface-container); color: var(--on-surface); border: 2.5px solid var(--line); border-radius: 8px; cursor: pointer; }
.nav-burger > span { display: contents; }
.nav-burger svg { display: block; }
.nav-burger[aria-expanded="false"] .nav-burger-close, .nav-burger[aria-expanded="true"] .nav-burger-open { display: none; }
.nav-mobile { display: none; }
.is-menu-open .nav { z-index: var(--z-burger); }
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-mobile {
    position: fixed; inset: 0; z-index: var(--z-overlay); display: none;
    flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
    background: var(--surface); background-image: var(--tone);
  }
  .nav-mobile.is-open { display: flex; }
  .nav-mobile[hidden] { display: none; }
  .nav-mobile > a:not(.btn) { font: 1.6rem/1.2 var(--font-display); text-decoration: none; color: var(--on-surface); }
  .nav-mobile > a:not(.btn):hover { color: var(--accent-text); }
}

.lang-switch { display: inline-flex; align-items: stretch; height: 40px; border: 2.5px solid var(--line); border-radius: 8px; background: var(--surface-container); }
.lang-switch.lang-menu { overflow: visible; }
.lang-opt {
  display: flex; align-items: center; padding: 0 .75rem;
  font: 800 .82rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-surface); text-decoration: none; background: none; border: 0;
}
.lang-switch > .lang-opt + .lang-opt { border-left: 2px solid var(--line); }
.lang-opt--active { background: var(--on-surface); color: var(--on-window); }
.lang-switch > .lang-opt:first-child { border-radius: 5px 0 0 5px; }
.lang-switch > .lang-opt:last-child { border-radius: 0 5px 5px 0; }
.lang-menu, .profile-menu { position: relative; }
.lang-trigger { cursor: pointer; border-radius: 5px; }
.lang-opt.lang-trigger { background: none; color: var(--on-surface); }
.lang-trigger::after { content: ""; flex: none; margin-left: .4em; border-style: solid; border-width: .32em .26em 0; border-color: currentColor transparent transparent; }
.lang-list, .profile-list {
  position: absolute; top: calc(100% + .6rem); right: 0; z-index: 60; margin: 0; padding: .4rem; list-style: none;
  min-width: 10rem; width: max-content;
  background: linear-gradient(180deg, var(--window), var(--window-deep)); color: var(--on-window);
  border: var(--ink) solid var(--on-window); border-radius: 10px; box-shadow: 0 0 0 var(--ink) var(--line);
}
.lang-list li, .profile-list li { display: flex; }
.lang-list .lang-opt, .profile-list .profile-item {
  position: relative; flex: 1; min-height: 40px; padding: .45rem .8rem .45rem 1.6rem; border-radius: 5px;
  color: var(--on-window); font: 700 .95rem/1.2 var(--font-body); letter-spacing: 0; text-transform: none; text-decoration: none;
}
.lang-list .lang-opt--active { background: none; }
.lang-list .lang-opt:hover, .lang-list .lang-opt:focus-visible, .profile-list .profile-item:hover, .profile-list .profile-item:focus-visible { background: color-mix(in srgb, var(--on-window) 14%, transparent); }
.lang-list .lang-opt[aria-current="true"]::before { content: ""; position: absolute; left: .55rem; top: 50%; translate: 0 -50%; border-left: .5rem solid currentColor; border-block: .32rem solid transparent; }
.lang-list[hidden], .profile-list[hidden] { display: none; }
.lang-phone { display: none; }
@media screen and (max-width: 720px) and (scripting: enabled) {
  .lang-phone { display: contents; }
  .lang-switch.lang-desktop { display: none; }
}

.hero { position: relative; overflow: clip; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 72% 48%, color-mix(in srgb, var(--line) 11%, transparent) 0deg .8deg, transparent .8deg 5deg);
  -webkit-mask-image: radial-gradient(circle at 72% 48%, transparent 0 24%, var(--on-surface) 62%);
  mask-image: radial-gradient(circle at 72% 48%, transparent 0 24%, var(--on-surface) 62%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: var(--tone);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
}
.hero-grid {
  width: var(--col); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(3.5rem, 7vw, 5.5rem);
}
.hero-content { display: grid; justify-items: start; gap: 1.1rem; min-width: 0; }
.hero-logo { max-height: 88px; width: auto; max-width: min(100%, 20rem); filter: var(--logo-ink) drop-shadow(4px 4px 0 var(--line)); }
.hero-h { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; color: var(--on-surface); }
.hero-line { display: block; }
.hero-line--pop {
  display: inline; padding-inline: .04em .12em;
  background: linear-gradient(transparent 58%, var(--accent) 58% 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { max-width: 46ch; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: .3rem; }
.hero-art { position: relative; min-width: 0; }
.hero-panel {
  --shape: polygon(7.3% 0, 100% 0, 100% 90.8%, 0 100%);
  aspect-ratio: 600 / 520; padding: 6px; background: var(--line); clip-path: var(--shape);
}
.hero-art::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; background: var(--surface-container-high); clip-path: polygon(7.3% 0, 100% 0, 100% 90.8%, 0 100%); }
.hero-panel-inner { position: relative; height: 100%; overflow: hidden; clip-path: var(--shape); background: linear-gradient(180deg, var(--sky-deep), var(--surface-container-high) 42%, var(--peach) 70%, var(--accent)); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--art-focus, 50% 50%); }
.sky-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-rays { fill: color-mix(in srgb, var(--surface-container) 28%, transparent); }
.sky-sun { fill: color-mix(in srgb, var(--accent) 16%, var(--surface-container)); stroke: var(--line); stroke-width: 3; }
.sky-sun-cel { fill: color-mix(in srgb, var(--accent) 42%, var(--surface-container)); }
.sky-cloud-far { fill: color-mix(in srgb, var(--accent) 22%, var(--surface-container)); stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }
.sky-cloud { fill: var(--surface-container); }
.sky-cloud-cel { fill: var(--sky-shade); }
.sky-cloud-ink, .sky-ink { fill: none; stroke: var(--line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.hero-burst { position: absolute; left: -4.4rem; top: -4.5rem; width: clamp(6rem, 9.5vw, 7.75rem); aspect-ratio: 1; display: grid; place-items: center; rotate: -10deg; }
.burst { display: block; }
.hero-burst .burst { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--accent); stroke: var(--line); stroke-width: 7; stroke-linejoin: round; overflow: visible; }
.sfx--hero { position: relative; font-size: clamp(1.8rem, 3.3vw, 2.6rem); text-shadow: var(--outline-3); }

.section { position: relative; width: var(--col); margin-inline: auto; padding-block: calc(var(--rhythm) / 2); }
main:not(.dash-main) > section.section:first-of-type, main:not(.dash-main) > .hero + .section { padding-top: var(--rhythm); }
main:not(.dash-main) > section.section:last-child { padding-bottom: var(--rhythm); }
.sec-head { display: grid; gap: .9rem; justify-items: start; max-width: 54rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head--center { justify-items: center; margin-inline: auto; text-align: center; }
.sec-h { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 20ch; color: var(--on-surface); }
.sec-intro { max-width: 58ch; font-size: 1.08rem; }

.band { position: relative; isolation: isolate; padding-block: var(--cut); }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: var(--cut); z-index: 1; pointer-events: none; }
.band::before { top: -1px; }
.band::after { bottom: -1px; }
.band--sky { background: linear-gradient(172deg, var(--surface-container-high) 0%, var(--sky-tint) 44%, var(--peach) 80%, var(--sunset) 100%); }
.band--sky::before { background: linear-gradient(to bottom right, var(--surface) calc(50% - 2px), var(--line) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); }
.band--sky::after { background: linear-gradient(to top left, var(--surface) calc(50% - 2px), var(--line) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); }
.band--tint { background: var(--sky-tint); }
.band--tint::before { background: linear-gradient(to bottom left, var(--surface) calc(50% - 2px), var(--line) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); }
.band--tint::after { background: linear-gradient(to top right, var(--surface) calc(50% - 2px), var(--line) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); }
.band > .section { padding-block: calc(var(--rhythm) * .45); }

.proc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .6rem; }
.proc-step { --slant: 26px; min-width: 0; }
.proc-step:first-child { --tlx: 0px; }
.proc-step:last-child { --brx: 0px; }
.proc-step .panel-cut-inner {
  display: grid; align-content: start; gap: .6rem; min-height: 15rem;
  padding: 1.6rem calc(var(--slant) + 1.2rem) 1.8rem calc(var(--slant) + 1.2rem);
  background:
    repeating-conic-gradient(from 180deg at 100% 0%, color-mix(in srgb, var(--line) 9%, transparent) 0deg 1.2deg, transparent 1.2deg 6deg),
    var(--surface-container);
}
.num { justify-self: start; margin-bottom: .2rem; font: clamp(3.6rem, 7vw, 5.4rem)/.9 var(--font-display); color: var(--peach); text-shadow: var(--outline-3), 5px 5px 0 var(--line); }
.proc-step h3 { font-size: 1.3rem; color: var(--on-surface); }

.sfx--rumble {
  position: absolute; right: 0; top: 2rem; writing-mode: vertical-rl;
  font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.04em; rotate: 6deg;
}
.xp-track {
  --bar: 1.5rem; --gap: 1rem;
  position: relative; isolation: isolate; list-style: none; margin: 0; padding: 3.4rem 0 0;
  display: grid; grid-template-columns: repeat(var(--tiers), minmax(0, 1fr)); gap: var(--gap);
}
.xp-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--bar);
  background: linear-gradient(90deg, var(--surface-container-high), var(--surface-container) 45%, var(--accent));
  border: var(--ink) solid var(--line); border-radius: 6px;
  box-shadow: inset 0 4px 0 color-mix(in srgb, var(--surface-container) 60%, transparent);
}
.tier { position: relative; display: flex; flex-direction: column; min-width: 0; isolation: isolate; }
.tier::before { content: ""; position: absolute; left: 50%; top: calc(var(--bar) - 3.4rem); height: calc(3.4rem - var(--bar)); border-left: var(--ink) solid var(--line); }
.tier:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + var(--gap) / 2 - 1.5px); top: -3.4rem; height: var(--bar); border-left: var(--ink) solid var(--line); }
.tier-node {
  position: absolute; left: 50%; top: calc(var(--bar) / 2 - 3.4rem); width: 1.05rem; height: 1.05rem; translate: -50% -50%; rotate: 45deg;
  background: color-mix(in srgb, var(--accent) calc(var(--n) / var(--tiers) * 100%), var(--surface-container)); border: var(--ink) solid var(--line); z-index: 1;
}
.tier-card {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: .45rem;
  padding: 1.1rem 1.1rem 1.2rem; background: var(--surface-container); color: var(--on-surface);
  border: var(--ink) solid var(--line);
}
.tier-card:not(.window)::after { content: ""; position: absolute; inset: 8px -11px -11px 8px; z-index: -1; background: var(--tone); }
.tier-level { font: calc(1.6rem + min(var(--n), 6) * .28rem)/1 var(--font-display); color: var(--on-surface); }
.tier-lv { margin-right: .25rem; font-size: .85rem; letter-spacing: .08em; vertical-align: .15em; color: var(--accent-text); }
.tier-name { font-size: 1.12rem; }
.tier-reward { font-weight: 700; font-size: .95rem; line-height: 1.45; color: var(--on-surface); }
.tier-desc { font-size: .92rem; line-height: 1.45; }
.tier-xp {
  margin-top: auto; align-self: flex-start; padding: .2rem .6rem; border-radius: 4px;
  background: var(--on-surface); color: var(--on-window); font: .9rem/1.3 var(--font-display); letter-spacing: .03em;
}
.tier-xp-num { font-weight: 400; font-variant-numeric: tabular-nums; }
.tier-xp-unit { font-size: .82em; letter-spacing: .06em; }
.tier--max .tier-card {
  background: linear-gradient(180deg, var(--window), var(--window-deep)); color: var(--on-window);
  border-color: var(--on-window); box-shadow: 0 0 0 var(--ink) var(--line), 10px 10px 0 var(--ink) var(--accent-text);
}
.tier--max .tier-node { width: 1.4rem; height: 1.4rem; background: var(--accent); }
.tier--max .tier-level, .tier--max .tier-name, .tier--max .tier-reward { color: var(--on-window); }
.tier--max .tier-lv { color: var(--xp-on-window); }
.tier--max .tier-desc { color: var(--on-window-variant); }
.tier--max .tier-xp { background: var(--accent); color: var(--accent-ink); }
.tier-flag {
  position: absolute; right: -.6rem; top: -1.35rem; margin: 0;
  font: 1.3rem/1 var(--font-display); text-transform: uppercase; white-space: nowrap;
  color: var(--surface-container); text-shadow: var(--outline-3);
  transform: rotate(-7deg) skewX(-10deg);
}

.quest-window { overflow: hidden; }
.quest-window-bar {
  display: flex; align-items: center; gap: .7rem; padding: .7rem 1.4rem;
  border-bottom: 2px solid color-mix(in srgb, var(--on-window) 40%, transparent);
}
.sfx--bar { font-size: 1.15rem; letter-spacing: .08em; color: var(--on-window); text-shadow: none; }
.quest-log { list-style: none; margin: 0 -2px -2px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quest {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .2rem .9rem; align-items: start;
  padding: 1.2rem 1.3rem 1.3rem;
  border-right: 2px dotted var(--window-rule); border-bottom: 2px dotted var(--window-rule);
}
.quest-icon {
  display: grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; margin: .1rem .15rem 0;
  border: 2px solid var(--surface-container-high); border-radius: 6px; color: var(--surface-container-high); rotate: 45deg;
}
.task-icon-mark { width: 1.15rem; height: 1.15rem; rotate: -45deg; }
.quest-main { display: grid; gap: .3rem; justify-items: start; min-width: 0; }
.quest-main h3 { font-size: 1.05rem; line-height: 1.2; color: var(--on-window); }
.quest-main p { font-size: .93rem; line-height: 1.45; color: var(--on-window-variant); }
.cpts { font: 1rem/1.2 var(--font-display); color: var(--xp-on-window); white-space: nowrap; text-align: right; }
.cpts-repeat { display: block; margin-top: .2rem; font: 700 .75rem/1.3 var(--font-body); color: var(--on-window-variant); }

.section--cta { filter: drop-shadow(10px 10px 0 var(--line)); }
.splash { --slant: 56px; }
.splash-inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 2rem 3rem;
  padding: clamp(2.2rem, 5vw, 3.6rem) calc(var(--slant) + clamp(1.4rem, 4vw, 3rem));
  overflow: hidden;
  background: repeating-conic-gradient(from 0deg at 82% 50%, var(--sunset) 0deg 2.2deg, transparent 2.2deg 7deg), var(--accent);
}
.splash .sec-head { margin: 0; position: relative; }
.splash .sec-h { max-width: 15ch; color: var(--accent-ink); }
.splash .sec-intro { max-width: 40ch; font-weight: 700; color: var(--accent-ink); }
.splash-stores { position: relative; display: grid; gap: 1rem; min-width: 0; padding-top: 3.4rem; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.store-list > li { display: flex; }
.btn-store { width: 100%; justify-content: space-between; font-size: 1.05rem; padding-block: .95rem; }
.btn-store > span { flex: 1; text-align: left; }
.steam-embed { display: block; width: 100%; max-width: 646px; border: var(--ink) solid var(--line); background: var(--surface-container); }
.sfx--bang { position: absolute; right: calc(var(--slant) + 1.2rem); top: 1rem; font-size: clamp(2.6rem, 5vw, 4rem); rotate: 7deg; }
@media (max-width: 720px) { #cta [data-steam-swap="widget"] { display: none; } }
@media not all and (max-width: 720px) { #cta [data-steam-swap="stores"] { display: none; } }

.manga { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; }
.sfx--sparkle { position: absolute; right: 1.5rem; top: -2.3rem; z-index: 2; font-size: clamp(1.6rem, 3vw, 2.2rem); rotate: -8deg; }
.media-plate {
  --shape: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
  position: relative; aspect-ratio: 16 / 9; min-width: 0; padding: var(--ink); background: var(--line); clip-path: var(--shape);
}
.media-plate-inner { position: relative; height: 100%; overflow: hidden; clip-path: var(--shape); background: var(--sky-deep); }
.media-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-plate img[hidden] { display: none; }
.media-plate-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.media-plate-fallback[hidden] { display: none; }
.media-tiles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; min-width: 0; }
.media-tiles > li { flex: 1 1 9rem; min-width: 0; max-width: 18rem; }
.media-tile {
  --slant: 14px;
  --shape: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: var(--ink); cursor: pointer;
  border: 0; background: var(--line); clip-path: var(--shape);
}
.media-tiles > li:first-child .media-tile { --shape: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); }
.media-tiles > li:last-child .media-tile { --shape: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
.media-tile img { width: 100%; height: 100%; object-fit: cover; display: block; clip-path: var(--shape); }
.media-tile { background: color-mix(in srgb, var(--line) 30%, transparent); }
.media-tile.is-selected { padding: 6px; background: var(--line); }
.media-tile:focus-visible { outline: none; padding: 6px; background: var(--line); }
.media-tile:focus-visible img { outline: 3px solid var(--surface-container); outline-offset: -6px; }
.media-play { position: absolute; inset: 0; display: grid; place-items: center; }
.media-play svg {
  width: var(--play, 2.6rem); height: var(--play, 2.6rem); padding: calc(var(--play, 2.6rem) * .26); border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); border: 3px solid var(--line);
  box-shadow: 0 0 0 4px var(--surface-container), 0 0 0 6px var(--line);
}
.media-plate-fallback .media-play { --play: 5rem; }
.media-nav, .media-dots { display: none; }
.media-dot { position: relative; width: .7rem; height: .7rem; padding: 0; border: 0; background: none; cursor: pointer; }
.media-dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: .7rem; height: .7rem; translate: -50% -50%; rotate: 45deg; background: var(--surface-container); border: 2px solid var(--line); }
.media-dot[aria-current="true"]::before { background: var(--accent); }
.media-dot::after { content: ""; position: absolute; width: 44px; height: 44px; top: 50%; left: 50%; translate: -50% -50%; }
.media-dots li { position: relative; display: grid; place-items: center; width: 44px; }
@media (max-width: 720px) {
  .media-gallery--live .media-tiles { display: none; }
  .media-gallery--live .media-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 0; list-style: none; margin: .75rem 0 0; padding: 0; }
  .media-gallery--live .media-grid, .dash-about-media.media-gallery--live { display: grid; grid-template-columns: minmax(0, 1fr); }
  .media-gallery--live .media-plate, .media-gallery--live .dash-about-plate, .media-gallery--live .media-nav { grid-row: 1; grid-column: 1; }
  .media-gallery--live .media-nav {
    display: grid; place-items: center; align-self: center; z-index: 1;
    width: 44px; height: 44px; padding: 0; margin: 0 .6rem; cursor: pointer;
    background: var(--surface-container); color: var(--on-surface); border: 2.5px solid var(--line); border-radius: 8px;
  }
  .media-gallery--live .media-nav--prev { justify-self: start; }
  .media-gallery--live .media-nav--next { justify-self: end; }
  .media-gallery--live .dash-about-strip { display: none; }
}

.section--faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.section--faq .sec-head { margin: 0; }
.faq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
.faq-item {
  background: var(--surface-container); border: var(--ink) solid var(--line); border-radius: 12px;
  box-shadow: inset 0 0 0 5px var(--surface-container), inset 0 0 0 7px var(--line);
}
.faq-item summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.5rem; border-radius: 9px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 800 1.06rem/1.35 var(--font-body); color: var(--on-surface); }
.faq-tick { position: absolute; right: 1.5rem; top: 50%; translate: 0 -40%; border-top: .6rem solid var(--line); border-inline: .45rem solid transparent; }
.faq-item[open] .faq-tick { rotate: 180deg; }
.faq-item summary:focus-visible { outline-offset: -10px; }
.faq-item > p { max-width: 60ch; padding: 0 1.5rem 1.4rem; }
.faq-item[open] summary { padding-bottom: .5rem; }
@media (prefers-reduced-motion: no-preference) {
  .faq-tick { transition: rotate .2s var(--snap); }
  .faq-item summary:hover .faq-tick { animation: next-bob .8s steps(2, jump-none) 4; }
}
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
  #faq details::details-content { interpolate-size: allow-keywords; height: 0; overflow: clip; }
  #faq details[open]::details-content { height: auto; }
  @media (prefers-reduced-motion: no-preference) {
    #faq details::details-content { transition: height .28s ease, content-visibility .28s allow-discrete; }
  }
  @media print {
    #faq details::details-content { height: auto; overflow: visible; transition: none; }
  }
}

.footer { position: relative; overflow: clip; padding-block: 3.5rem 2.5rem; background: var(--window-deep); color: var(--on-window); border-top: var(--ink) solid var(--line); }
.footer-inner { position: relative; width: var(--col); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; text-align: center; }
.footer-socials, .footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-socials { gap: .8rem; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; color: var(--on-window); border: 2px solid var(--window-rule); border-radius: 8px; rotate: 45deg; }
.social-link > * { rotate: -45deg; }
.social-link svg { width: 20px; height: 20px; }
.footer-legal-links { gap: .4rem 1.6rem; font-weight: 700; font-size: .95rem; }
.footer-legal-links a { color: var(--on-window); text-underline-offset: .2em; }
.powered { font-size: .85rem; font-weight: 700; }
.powered a { color: var(--xp-on-window); }
.footer-fineprint { max-width: 62ch; font-size: .85rem; color: var(--on-window-variant); }
.sfx--end { position: absolute; right: max(var(--gutter), (100% - var(--col-max)) / 2); top: 1.6rem; writing-mode: vertical-rl; font-size: 2.1rem; color: var(--xp-on-window); text-shadow: none; }

.dash-header { position: sticky; top: 0; z-index: var(--z-dash-header); background: var(--surface); border-bottom: var(--ink) solid var(--line); }
.dash-header-inner { width: var(--col); margin-inline: auto; min-height: var(--chrome-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dash-title { flex: 0 1 auto; }
.dash-header-actions { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.dash-header-actions .lang-switch { flex: none; }
.dash-header-actions .profile-menu { min-width: 0; }
.dash-plate {
  display: flex; align-items: center; gap: .5rem; min-width: 0; min-height: 40px; padding: .25rem .8rem .25rem .3rem; cursor: pointer;
  background: var(--surface-container); color: var(--on-surface); border: 2.5px solid var(--line); border-radius: 8px;
}
.profile-avatar { width: 28px; height: 28px; border-radius: 5px; object-fit: cover; border: 2px solid var(--line); }
.profile-name { min-width: 0; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: .9rem; }
.dash-main { isolation: isolate; width: var(--col); margin-inline: auto; padding-block: clamp(2rem, 5vw, 3.5rem) var(--rhythm); display: grid; gap: clamp(3rem, 7vw, 5rem); }
.dash-section.section, .dash-main > .section { padding-block: 0; width: 100%; }
.dash-section .sec-head { margin-bottom: 1.8rem; }

.dash-band { position: relative; display: grid; gap: 1.2rem; }
.dash-band-stage { display: grid; gap: 1.5rem; align-items: start; }
.dash-band-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.dash-band-copy { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.dash-hero { display: grid; align-content: center; gap: .4rem; padding: 1.4rem 1.6rem; min-width: 0; }
.dash-label { margin: 0; font: 800 .8rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-window-variant); }
.window .dash-label { color: var(--on-window-variant); }
.dash-points { margin: 0; }
.dash-points-num { font: clamp(2.8rem, 6vw, 4.2rem)/1 var(--font-display); font-weight: 400; color: var(--on-window); font-variant-numeric: tabular-nums; }
.tier-chip { display: grid; gap: .2rem; justify-items: start; margin-top: .8rem; padding-top: .8rem; border-top: 2px dotted var(--window-rule); }
.tier-chip-name { font: 1.25rem/1.15 var(--font-display); color: var(--xp-on-window); }
.dash-band-frame { --shape: polygon(5% 0, 100% 0, 100% 88%, 0 100%); position: relative; min-width: 0; aspect-ratio: 16 / 9; padding: 5px; background: var(--line); clip-path: var(--shape); }
.dash-band-frame-inner { position: relative; height: 100%; overflow: hidden; clip-path: var(--shape); background: linear-gradient(180deg, var(--sky-deep), var(--surface-container-high) 42%, var(--peach) 70%, var(--accent)); }
.dash-band-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--art-focus, 50% 50%); }
.dash-band-foot { padding: 1.3rem 1.5rem 1.2rem; background: var(--surface-container); border: var(--ink) solid var(--line); border-radius: 10px; box-shadow: 8px 8px 0 var(--surface-container-high); }
.dash-gauge { margin: 0; padding-block: 2.4rem 4.4rem; }
.dash-gauge:has(.gauge-cap:nth-child(4 of .gauge-cap)) { padding-bottom: 6.2rem; }
.gauge-track {
  position: relative; container-type: inline-size; height: 1.5rem;
  background: var(--tone), var(--surface); border: var(--ink) solid var(--line); border-radius: 6px;
}
.gauge-fill {
  position: absolute; inset-block: 0; left: 0; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, var(--surface-container-high), var(--surface-container) 45%, var(--accent)) 0 0 / 100cqw 100%;
  box-shadow: inset 0 4px 0 color-mix(in srgb, var(--surface-container) 60%, transparent);
}
.gauge-tick { position: absolute; top: 50%; width: 1.05rem; height: 1.05rem; translate: -50% -50%; rotate: 45deg; background: var(--surface-container); border: var(--ink) solid var(--line); }
.gauge-tick--hit { background: var(--accent); }
.gauge-lv { position: absolute; bottom: calc(100% + var(--ink) + .35rem); translate: -50% 0; font: 1.35rem/1 var(--font-display); color: var(--on-surface); white-space: nowrap; }
.gauge-lv-tag { margin-right: .15rem; font-size: .7rem; letter-spacing: .06em; vertical-align: .2em; color: var(--accent-text); }
.gauge-cap {
  position: absolute; top: calc(100% + var(--ink) + .45rem); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  font-size: .85rem; color: var(--on-surface-variant); white-space: nowrap; text-align: center;
}
.gauge-cap-name { font-weight: 800; font-size: .8rem; color: var(--on-surface); }
.gauge-cap-pts { font-weight: 700; font-variant-numeric: tabular-nums; }
.gauge-cap--hit .gauge-cap-pts { color: var(--accent-text); }
.gauge-cap--first { translate: max(-50%, calc(var(--climb) * -1cqw)) 0; align-items: flex-start; text-align: left; }
.gauge-cap--last { translate: -100% 0; align-items: flex-end; text-align: right; }
@media (min-width: 530px) {
  .dash-gauge:has(.gauge-cap:nth-child(4 of .gauge-cap)) .gauge-cap:nth-child(even of .gauge-cap) { top: calc(100% + var(--ink) + 3.1rem); }
}
@media (max-width: 529px) {
  .gauge-cap:not(.gauge-cap--end), .gauge-lv-tag { display: none; }
  .dash-gauge:has(.gauge-cap:nth-child(4 of .gauge-cap)) { padding-bottom: 4.4rem; }
}
.dash-next { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin: 0; padding: 1rem 1.3rem; font-weight: 800; color: var(--on-window); }
.dash-next .cursor { color: var(--on-window); }
.dash-next-reward { font: 1.2rem/1.25 var(--font-display); color: var(--on-window); }
.dash-next-sep { color: var(--xp-on-window); }
.dash-next-xp { font: 1.2rem/1.25 var(--font-display); color: var(--xp-on-window); }

.dash-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.1rem; }
.dash-card {
  --ok: var(--surface-container-high); --danger: var(--xp-on-window);
  --fg: var(--on-window); --muted: var(--on-window-variant); --card: var(--window); --accent-text: var(--xp-on-window); --surface-2: var(--window);
  position: relative; display: flex; flex-direction: column; gap: .35rem; min-width: 0; padding: 1.2rem 1.25rem 1.3rem;
  background: linear-gradient(180deg, var(--window), var(--window-deep)); color: var(--on-window);
  border: var(--ink) solid var(--on-window); border-radius: 10px; box-shadow: 0 0 0 var(--ink) var(--line);
}
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.dash-card-pts { margin: 0; font: 1rem/1.2 var(--font-display); color: var(--xp-on-window); white-space: nowrap; }
.dash-card h3 { font-size: 1.08rem; line-height: 1.2; color: var(--on-window); }
.dash-card-desc { font-size: .93rem; line-height: 1.45; color: var(--on-window-variant); flex: 1; }
.dash-counter { margin: .3rem 0 0; font-size: .85rem; font-weight: 700; color: var(--on-window-variant); }
.dash-counter-meter { height: .7rem; margin-top: .2rem; border: 2px solid var(--on-window); border-radius: 4px; background: var(--window-deep); }
.dash-counter-meter > i { display: block; height: 100%; width: var(--fill, 0%); background: var(--xp-on-window); }
.dash-card-foot { margin-top: auto; padding-top: .8rem; }
.dash-chip { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-weight: 800; font-size: .9rem; }
.dash-chip svg { width: 1.1rem; height: 1.1rem; }
.dash-chip--done { padding: .2rem .7rem .2rem .45rem; border-radius: 4px; background: var(--xp-on-window); color: var(--window-deep); }
.dash-chip--gone { color: var(--on-window-variant); }
.dash-card--earned { border-color: var(--xp-on-window); }
.dash-card--earned .quest-icon { border-color: var(--xp-on-window); color: var(--xp-on-window); }
.dash-card--closed { opacity: .82; }
.dash-card--closed .quest-icon { border-style: dashed; }

.dash-bay-grid { list-style: none; margin: 0; padding: 0; isolation: isolate; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1.4rem; }
.dash-bay {
  position: relative; display: flex; flex-direction: column; gap: .4rem; min-width: 0;
  padding: 1.1rem 1.2rem 1.2rem; background: var(--surface-container); color: var(--on-surface); border: var(--ink) solid var(--line);
  --tier: var(--tier-neutral);
}
.dash-bay::after { content: ""; position: absolute; inset: 8px -11px -11px 8px; z-index: -1; background: var(--tone); }
.dash-bay--featured {
  --tier: var(--xp-on-window); --accent-text: var(--xp-on-window);
  background: linear-gradient(180deg, var(--window), var(--window-deep)); color: var(--on-window);
  border-color: var(--on-window); box-shadow: 0 0 0 var(--ink) var(--line), 10px 10px 0 var(--ink) var(--accent);
}
.dash-bay--featured::after { content: none; }
.dash-bay--featured .dash-bay-name, .dash-bay--featured .dash-bay-reward, .dash-bay--featured .dash-bay-lock, .dash-bay--featured .tier-level { color: var(--on-window); }
.dash-bay--featured .tier-lv { color: var(--xp-on-window); }
.dash-bay--featured .tier-xp { background: var(--accent); color: var(--accent-ink); }
.dash-bay--featured .dash-bay-st, .dash-bay--featured .dash-bay-note { color: var(--on-window-variant); }
.dash-bay--featured .charge { border-color: var(--on-window); background: var(--window-deep); }
.dash-bay--locked:not(.dash-bay--featured) { background: var(--surface); }
.dash-bay-lbl { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; margin: 0; color: var(--tier); }
.dash-bay-level { font-size: calc(1.6rem + min(var(--n, 1), 6) * .28rem); }
.dash-bay-xp { margin: 0 0 .25rem; }
.dash-bay-off { font: 800 .78rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-variant); }
.dash-bay-name { font-size: 1.15rem; color: var(--on-surface); }
.dash-bay-name .note-tip { white-space: nowrap; }
.dash-bay-lock { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--on-surface); }
.dash-bay-box { flex: 1; }
.dash-bay-reward { margin: 0; font-weight: 700; font-size: .95rem; color: var(--on-surface); }
.dash-bay-st { margin: .2rem 0 0; font-weight: 800; font-size: .9rem; color: var(--on-surface-variant); }
.dash-bay-st--done { color: var(--accent-text); }
.dash-bay-note { margin: .4rem 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.dash-reveal .btn { background: linear-gradient(var(--accent) 62%, var(--accent-cel) 62%); color: var(--accent-ink); }
.charge { height: .7rem; margin-top: .6rem; border: 2px solid var(--line); border-radius: 4px; background: var(--surface); overflow: hidden; }
.charge-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--surface-container-high), var(--accent)); transform-origin: left; }
.bay-charge { margin-top: auto; }

.dash-about {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; position: relative;
  padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface-container); border: var(--ink) solid var(--line);
}
.dash-about::after { content: ""; position: absolute; inset: 12px -14px -14px 12px; z-index: -1; background: var(--tone); }
@media (min-width: 720px) { .dash-about { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec-idx { display: none; }
.dash-about-col { min-width: 0; }
.dash-about-text { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.dash-about-h { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--on-surface); }
.dash-about-blurb { max-width: 60ch; }
.dash-about-stores, .dash-about-strip { list-style: none; margin: 0; padding: 0; }
.dash-about-stores { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.dash-about-stores .btn { background: linear-gradient(var(--surface-container) 62%, var(--sky-tint) 62%); color: var(--on-surface); }
.dash-about-media { display: block; }
.dash-about-plate { position: relative; aspect-ratio: 16 / 9; margin-bottom: .75rem; overflow: hidden; border: var(--ink) solid var(--line); background: var(--sky-deep); }
.dash-about-plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dash-about-plate img[hidden] { display: none; }
.dash-about-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .6rem; }
.dash-about-strip > li { min-width: 0; }
.dash-shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer; border: 2px solid color-mix(in srgb, var(--line) 30%, transparent); background: var(--line); }
.dash-shot--trailer .dash-shot-play svg { box-shadow: 0 0 0 2px var(--surface-container); }
.dash-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dash-shot.is-selected { border: 5px solid var(--line); }
.dash-shot-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: block; color: var(--accent-ink); }
.dash-shot-play[hidden] { display: none; }
.dash-about-plate-play { z-index: 1; }
.dash-shot-play svg { display: block; width: 2rem; height: 2rem; padding: .45rem; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--line); }
.dash-about-plate .dash-shot-play svg { width: 3.4rem; height: 3.4rem; padding: .85rem; }

.dash-links.card {
  position: relative; padding: clamp(1.3rem, 3vw, 1.8rem); background: var(--surface-container); color: var(--on-surface);
  border: var(--ink) solid var(--line); border-radius: 0; box-shadow: 8px 8px 0 var(--surface-container-high);
}
.dash-links .section-title { font-family: var(--font-display); font-weight: 400; color: var(--on-surface); }
.dash-link { border-top: 2px dotted color-mix(in srgb, var(--line) 45%, transparent); }
.note-tip-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -6px 0 -6px .2em; padding: 0;
  vertical-align: middle; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer;
}
:has(> .note-tip) { position: relative; }
.note-tip-pop {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 5; margin: 0; padding: .6rem .75rem;
  background: var(--surface-container); color: var(--on-surface); border: 2.5px solid var(--line); border-radius: 6px;
  font: 400 .85rem/1.45 var(--font-body); text-transform: none; letter-spacing: normal; text-align: left;
}
.note-tip-pop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: .6rem; }
.note-tip:not([data-tip-js]):is(:hover, :focus-within) .note-tip-pop, .note-tip.note-tip--open .note-tip-pop { display: block; }

.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .45s ease-out, transform .55s var(--snap); }
  .reveal.is-visible.d1 { transition-delay: .06s; }
  .reveal.is-visible.d2 { transition-delay: .12s; }
  .reveal.is-visible.d3 { transition-delay: .18s; }
  .reveal.is-visible.d4 { transition-delay: .24s; }
  .reveal.is-visible.d5 { transition-delay: .3s; }
  .charge-fill { transition: transform .8s ease .2s; }
  .reveal:not(.is-visible) .charge-fill { transform: scaleX(0); }
  .quest-window-bar .cursor { animation: cursor-bob 1s steps(2, jump-none) 3; }
  .hero-art.is-visible .hero-burst { animation: burst-pop .5s var(--snap) .25s backwards; }
}
@keyframes burst-pop { from { scale: .4; rotate: -30deg; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .charge-fill { transition: none; transform: none; }
}
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: 100%; max-width: 40rem; margin-inline: auto; }
  .sfx--rumble { display: none; }
  .xp-track { grid-template-columns: 1fr; padding: 0 0 0 3.6rem; --gap: 1.1rem; }
  .xp-track::before {
    left: 0; right: auto; top: 0; bottom: 0; width: var(--bar); height: auto;
    background: linear-gradient(180deg, var(--surface-container-high), var(--surface-container) 45%, var(--accent));
    box-shadow: inset 4px 0 0 color-mix(in srgb, var(--surface-container) 60%, transparent);
  }
  .tier::before { left: calc(var(--bar) - 3.6rem); top: 50%; width: calc(3.6rem - var(--bar)); height: 0; border-left: 0; border-top: var(--ink) solid var(--line); }
  .tier:not(:last-child)::after { left: -3.6rem; top: calc(100% + var(--gap) / 2 - 1.5px); width: var(--bar); height: 0; border-left: 0; border-top: var(--ink) solid var(--line); }
  .tier-node { left: calc(var(--bar) / 2 - 3.6rem); top: 50%; }
  .tier-flag { right: .4rem; }
  .quest-log { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section--faq { grid-template-columns: 1fr; }
  .dash-band-stage { grid-template-columns: 1fr; }
  .dash-band-frame { order: -1; }
}
@media (max-width: 720px) {
  :root { --chrome-h: 62px; }
  .wordmark { font-size: .85rem; }
  .nav-mark { width: 2rem; height: 2rem; }
  .hero-grid { padding-block: 1.6rem 3rem; gap: 3.2rem; }
  .hero-content { gap: 1rem; }
  .hero-logo { max-height: 64px; }
  .hero-h { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { display: grid; width: 100%; grid-template-columns: 1fr; gap: .8rem; }
  .hero-burst { left: -.6rem; top: -3.6rem; width: 5.25rem; }
  .sfx--hero { font-size: 1.6rem; }
  .proc { gap: .5rem; }
  .proc-step { --slant: 0px; --tlx: 0px; --brx: 0px; --bry: 18px; }
  .proc-step + .proc-step { --tly: 18px; }
  .proc-step:last-child { --bry: 0px; }
  .proc-step .panel-cut-inner { min-height: 0; padding: 1.6rem 1.4rem 2.2rem; }
  .proc-step + .proc-step .panel-cut-inner { padding-top: 2.2rem; }
  .quest-log { grid-template-columns: 1fr; }
  .quest { grid-template-columns: auto minmax(0, 1fr); padding-inline: 1rem; }
  .cpts { grid-column: 2; text-align: left; }
  .cpts-repeat { display: inline; margin-left: .3rem; }
  .section--cta { filter: drop-shadow(6px 6px 0 var(--line)); }
  .splash { --slant: 0px; --tlx: 0px; --brx: 0px; --tly: 26px; --bry: 26px; }
  .splash-inner { grid-template-columns: 1fr; padding: 3.4rem 1.4rem; }
  .splash-stores { padding-top: 0; }
  .sfx--bang { right: 1rem; top: 2rem; font-size: 2.4rem; }
  .media-plate { --shape: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%); }
  .dash-header-actions { gap: .5rem; }
  .dash-next-sep { display: none; }
  .dash-next-xp { flex-basis: 100%; padding-left: 1.22rem; }
}
@media (max-width: 560px) {
  .store-list:has(li:nth-child(2)) { width: 100%; }
  .dash-about-stores { width: 100%; display: grid; }
  .dash-about-stores .btn { width: 100%; }
}

@media print {
  .nav, .nav-mobile, .nav-burger, .skip-link, .lang-switch, .profile-menu, .sfx, .hero-burst, .hero::before, .hero::after { display: none; }
  .dash-header, .nav { position: static; }
  .reveal { opacity: 1; transform: none; }
  .note-tip-btn { display: none; }
  .note-tip-pop, .note-tip.note-tip--open .note-tip-pop { display: block; position: static; padding: 0; margin: .2rem 0 0; border: 0; background: none; color: inherit; }
  .media-gallery--live .media-dots, .media-gallery--live .media-nav { display: none; }
}
