:root {
  --bg: #08040d;
  --bg-deep: #050208;
  --panel: rgba(17, 9, 25, 0.9);
  --panel-soft: rgba(26, 13, 37, 0.72);
  --panel-raised: rgba(31, 15, 44, 0.92);
  --ivory: #f7f0df;
  --ink: #eee6f3;
  --muted: #b7a9bd;
  --dim: #837489;
  --gold: #d8b86d;
  --gold-bright: #f2d18a;
  --rose: #ef5d74;
  --purple: #9b65cf;
  --cyan: #72cfe6;
  --green: #7fdaa2;
  --line: rgba(216, 184, 109, 0.2);
  --line-soft: rgba(255, 255, 255, 0.08);
  --display: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  min-width: 300px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 2%, rgba(128, 57, 197, 0.17), transparent 30rem),
    radial-gradient(circle at 92% 20%, rgba(239, 93, 116, 0.1), transparent 34rem),
    radial-gradient(circle at 52% 88%, rgba(46, 217, 255, 0.055), transparent 34rem),
    linear-gradient(145deg, #0b0611, var(--bg) 52%, #0e0616);
  font-family: var(--body);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
}

::selection {
  color: #12081b;
  background: var(--gold-bright);
}

:where(a, summary):focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

code {
  display: inline-block;
  padding: 0.08rem 0.32rem;
  border: 1px solid rgba(114, 207, 230, 0.18);
  border-radius: 4px;
  color: #bceefa;
  background: rgba(5, 12, 18, 0.66);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.91em;
  font-weight: 700;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  color: #13091d;
  background: var(--gold-bright);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-stars {
  position: fixed;
  inset: 0;
  z-index: -4;
  opacity: 0.34;
  background-image:
    radial-gradient(1px 1px at 22px 38px, #fff, transparent),
    radial-gradient(1px 1px at 126px 96px, #d7bfff, transparent),
    radial-gradient(2px 2px at 238px 154px, #fff8, transparent),
    radial-gradient(1px 1px at 310px 62px, #f2d18a99, transparent);
  background-size: 340px 230px;
  animation: starDrift 42s linear infinite;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  z-index: -3;
  width: min(48vw, 670px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.22;
  filter: blur(90px);
  pointer-events: none;
}

.page-glow-left {
  top: 10%;
  left: -30%;
  background: rgba(128, 57, 197, 0.75);
}

.page-glow-right {
  right: -31%;
  bottom: 8%;
  background: rgba(186, 37, 91, 0.52);
}

.help-shell {
  width: min(1240px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.help-header {
  position: sticky;
  top: 1rem;
  z-index: 30;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.55rem 0.65rem 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 4, 13, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.help-header::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.help-brand {
  position: relative;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ivory);
  text-decoration: none;
}

.help-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  filter: drop-shadow(0 0 9px rgba(244, 59, 94, 0.42));
}

.help-brand span {
  min-width: 0;
  display: grid;
  line-height: 1.08;
}

.help-brand strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-brand small {
  margin-top: 0.25rem;
  color: var(--gold);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.help-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.8vw, 1.5rem);
}

.help-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.help-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.help-nav a:hover,
.help-nav a:focus-visible {
  color: var(--ivory);
}

.help-nav a:hover::after,
.help-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.header-cta,
.primary-button {
  border: 1px solid rgba(216, 184, 109, 0.48);
  color: #180b21;
  background: linear-gradient(135deg, var(--gold-bright), #b78a3d);
  box-shadow: 0 10px 26px rgba(216, 184, 109, 0.13);
}

.secondary-button {
  border: 1px solid rgba(216, 184, 109, 0.3);
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
}

.header-cta:hover,
.header-cta:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(113, 50, 171, 0.28);
}

.help-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(5.5rem, 10vw, 8rem) clamp(0.5rem, 2vw, 1.5rem) 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 0.45rem;
  color: var(--rose);
}

.hero-copy h1,
.section-heading h2,
.guide-cta h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 6.6vw, 6rem);
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--gold-bright), #d77b93 68%, #a673d6);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lede {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  align-items: center;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
  margin: 1.7rem 0 0;
  padding: 0;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  list-style: none;
}

.hero-facts li {
  position: relative;
  padding-left: 0.85rem;
}

.hero-facts li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  content: "";
}

.hero-stage {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(216, 184, 109, 0.22);
  border-radius: 18px 18px 8px 8px;
  background:
    radial-gradient(circle at 72% 35%, rgba(239, 93, 116, 0.14), transparent 15rem),
    radial-gradient(circle at 20% 45%, rgba(114, 207, 230, 0.11), transparent 13rem),
    linear-gradient(180deg, rgba(28, 12, 40, 0.96), rgba(8, 4, 13, 0.96));
  box-shadow: var(--shadow), inset 0 0 80px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.38;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-stage::after {
  position: absolute;
  inset: 8px;
  z-index: 8;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 12px 12px 4px 4px;
  content: "";
  pointer-events: none;
}

.stage-label {
  position: absolute;
  top: 1.5rem;
  z-index: 5;
  display: grid;
  gap: 0.1rem;
  line-height: 1.1;
  text-shadow: 0 2px 8px #000;
}

.stage-label span {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
}

.stage-label strong {
  color: var(--gold);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
}

.stage-label-player {
  left: 1.5rem;
}

.stage-label-boss {
  right: 1.5rem;
  text-align: right;
}

.stage-health {
  position: absolute;
  top: 4.55rem;
  right: 1.5rem;
  z-index: 5;
  width: 44%;
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.56);
}

.stage-health span {
  width: 78%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #a51d40, var(--rose));
  box-shadow: 0 0 12px rgba(239, 93, 116, 0.7);
}

.hero-player,
.hero-monster {
  position: absolute;
  z-index: 2;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 100%;
}

.hero-player {
  bottom: 2.7rem;
  left: 2%;
  width: 37%;
  max-height: 66%;
  object-fit: contain;
  animation: playerIdle 3.4s ease-in-out infinite;
}

.hero-monster {
  right: -3%;
  bottom: 2rem;
  width: 64%;
  max-height: 73%;
  object-fit: contain;
  animation: monsterIdle 4s ease-in-out infinite;
}

.stage-versus {
  position: absolute;
  top: 48%;
  left: 39%;
  z-index: 4;
  color: rgba(242, 209, 138, 0.86);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 0 14px rgba(216, 184, 109, 0.48);
}

.stage-floor {
  position: absolute;
  right: 3%;
  bottom: 1.5rem;
  left: 3%;
  z-index: 1;
  height: 5.3rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(155, 101, 207, 0.2), rgba(0, 0, 0, 0) 68%);
  border-bottom: 1px solid rgba(216, 184, 109, 0.15);
  transform: perspective(300px) rotateX(60deg);
}

.path-section {
  padding: 3.5rem 0 7rem;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 2rem;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.guide-cta h2 {
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading > p:last-child,
.centered-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.path-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(28, 14, 39, 0.9), rgba(12, 6, 18, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.path-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  content: "";
  pointer-events: none;
}

.path-card-player::before {
  background: radial-gradient(circle at 100% 0%, rgba(114, 207, 230, 0.2), transparent 50%);
}

.path-card-streamer::before {
  background: radial-gradient(circle at 100% 0%, rgba(239, 93, 116, 0.18), transparent 50%);
}

.path-number {
  position: absolute;
  top: -1.2rem;
  right: 1.2rem;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.path-card > * {
  position: relative;
}

.path-card h3,
.feature-card h3,
.progress-panel h3,
.help-callout h3,
.stamina-panel h3,
.overlay-copy h3 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.25;
}

.path-card ol {
  display: grid;
  gap: 0.72rem;
  margin: 1.35rem 0 1.7rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.path-card li::marker {
  color: var(--gold);
  font-weight: 800;
}

.path-card > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.path-card > a span {
  transition: transform 160ms ease;
}

.path-card > a:hover span,
.path-card > a:focus-visible span {
  transform: translateX(4px);
}

.guide-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.guide-rail {
  position: sticky;
  top: 7.2rem;
  display: grid;
  gap: 1rem;
}

.guide-toc,
.rail-callout {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 6, 18, 0.74);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.guide-toc {
  display: grid;
  padding: 1rem;
}

.guide-toc > p {
  margin: 0 0 0.65rem;
  padding: 0 0.45rem 0.7rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-toc a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0.42rem 0.48rem;
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: var(--ivory);
  background: rgba(216, 184, 109, 0.07);
  transform: translateX(3px);
}

.rail-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 1rem;
}

.rail-callout > span {
  color: var(--rose);
  font-family: var(--display);
  font-size: 1.3rem;
}

.rail-callout p {
  margin: 0;
  color: var(--dim);
  font-size: 0.68rem;
  line-height: 1.55;
}

.rail-callout strong {
  color: var(--muted);
}

.guide-content {
  min-width: 0;
  display: grid;
  gap: 1.25rem;
}

.guide-section {
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 35%),
    rgba(12, 6, 18, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.step-card {
  min-height: 210px;
  padding: 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.026);
}

.step-card > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 207, 230, 0.3);
  border-radius: 50%;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
}

.step-card h3,
.combat-flow h3,
.rule-pair h3,
.quest-timeline h3,
.boss-action-grid h3,
.boss-rules-grid h3,
.setup-steps h3,
.streamer-notes-grid h3 {
  margin: 0.85rem 0 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.3;
}

.step-card p,
.combat-flow p,
.rule-pair p,
.quest-timeline p,
.boss-action-grid p,
.boss-rules-grid p,
.setup-steps p,
.streamer-notes-grid p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.help-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.15rem;
  border: 1px solid var(--line-soft);
  border-left-width: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.callout-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 900;
}

.help-callout p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.help-callout-cyan {
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(114, 207, 230, 0.08), transparent 42%);
}

.help-callout-cyan .callout-mark {
  color: var(--cyan);
}

.help-callout-gold {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(216, 184, 109, 0.08), transparent 42%);
}

.help-callout-gold .callout-mark {
  color: var(--gold);
}

.help-callout-purple {
  border-left-color: var(--purple);
  background: linear-gradient(90deg, rgba(155, 101, 207, 0.09), transparent 42%);
}

.help-callout-purple .callout-mark {
  color: #bb8fe5;
}

.help-callout-red {
  border-left-color: var(--rose);
  background: linear-gradient(90deg, rgba(239, 93, 116, 0.08), transparent 42%);
}

.help-callout-red .callout-mark {
  color: var(--rose);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  scrollbar-color: rgba(216, 184, 109, 0.35) transparent;
}

.scope-table,
.command-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 0.79rem;
  text-align: left;
}

.scope-table {
  min-width: 730px;
}

.scope-table th,
.scope-table td,
.command-table th,
.command-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.scope-table thead th,
.command-table thead th {
  color: var(--gold);
  background: rgba(216, 184, 109, 0.045);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scope-table tbody tr:last-child > *,
.command-table tbody tr:last-child > * {
  border-bottom: 0;
}

.scope-table tbody th,
.command-table tbody th {
  color: var(--ivory);
  font-weight: 750;
}

.scope-table tbody tr,
.command-table tbody tr {
  transition: background 150ms ease;
}

.scope-table tbody tr:hover,
.command-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.scope-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.scope-global { color: var(--cyan); background: currentColor; }
.scope-quest { color: var(--gold); background: currentColor; }
.scope-boss { color: var(--rose); background: currentColor; }

.carry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.carry-grid article {
  min-height: 138px;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.carry-grid span,
.action-cost {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carry-grid strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 0.95rem;
}

.carry-grid p {
  margin: 0.35rem 0 0;
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.5;
}

.character-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-card {
  min-height: 290px;
  padding: 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.character-feature {
  background: radial-gradient(circle at 100% 0%, rgba(114, 207, 230, 0.1), transparent 52%), rgba(255, 255, 255, 0.025);
}

.gear-feature {
  background: radial-gradient(circle at 100% 0%, rgba(216, 184, 109, 0.11), transparent 52%), rgba(255, 255, 255, 0.025);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(216, 184, 109, 0.27);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(216, 184, 109, 0.06);
  font-family: var(--display);
}

.feature-card > p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.feature-card .lock-note {
  padding: 0.8rem;
  border-left: 2px solid var(--rose);
  color: #d7c8d9;
  background: rgba(239, 93, 116, 0.055);
  font-size: 0.74rem;
}

.lock-note span {
  margin-right: 0.3rem;
  color: var(--rose);
}

.rarity-ladder {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.rarity-ladder span {
  position: relative;
  overflow: hidden;
  padding: 0.3rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rarity-common { color: #c1bdc6; }
.rarity-uncommon { color: #79d79d; }
.rarity-rare { color: #70b7ff; }
.rarity-unique { color: #c889ff; animation: uniquePulse 2.4s ease-in-out infinite; }
.rarity-legendary { color: #ffbf52; animation: legendaryPulse 1.7s ease-in-out infinite; }

.rarity-legendary::after {
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -40%;
  width: 30%;
  background: rgba(255, 255, 255, 0.34);
  content: "";
  transform: rotate(20deg);
  animation: rarityShine 2.4s ease-in-out infinite;
}

.subsection-title {
  margin: 2rem 0 1rem;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.12rem;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.skill-grid article {
  min-height: 160px;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.skill-grid article > span {
  color: var(--cyan);
  font-size: 1.15rem;
  filter: drop-shadow(0 0 7px rgba(114, 207, 230, 0.35));
}

.skill-grid h4 {
  margin: 0.45rem 0 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 0.85rem;
}

.skill-grid p {
  margin: 0.4rem 0 0;
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.55;
}

.progress-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(155, 101, 207, 0.2);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(155, 101, 207, 0.09), rgba(114, 207, 230, 0.035));
}

.progress-panel p:not(.card-kicker) {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.event-chips {
  display: flex;
  justify-content: flex-end;
  gap: 0.42rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-chips li {
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(216, 184, 109, 0.18);
  border-radius: 99px;
  color: #d8cdda;
  background: rgba(8, 4, 13, 0.5);
  font-size: 0.62rem;
  font-weight: 750;
}

.balance-note,
.boss-fine-print {
  margin: 1rem 0 0;
  color: var(--dim);
  font-size: 0.68rem;
  font-style: italic;
  line-height: 1.55;
}

.combat-flow {
  position: relative;
  display: grid;
}

.combat-flow::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 22px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--gold), var(--rose));
  content: "";
  opacity: 0.34;
}

.combat-flow article {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
}

.flow-index {
  z-index: 1;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 207, 230, 0.27);
  border-radius: 50%;
  color: var(--cyan);
  background: #0e0715;
  font-family: var(--display);
  font-size: 0.61rem;
  font-weight: 800;
}

.combat-flow h3 {
  margin-top: 0;
}

.rule-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.rule-pair article {
  padding: 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}

.rule-value {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}

.quest-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: var(--line-soft);
}

.quest-timeline article {
  min-height: 220px;
  padding: 1.15rem;
  background: #100818;
}

.quest-timeline article > span {
  color: rgba(216, 184, 109, 0.38);
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 900;
}

.quest-notes {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.quest-notes p {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 2px solid rgba(216, 184, 109, 0.4);
  color: var(--muted);
  background: rgba(216, 184, 109, 0.035);
  font-size: 0.78rem;
}

.quest-notes strong {
  color: var(--ivory);
}

.boss-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 93, 116, 0.1), transparent 35rem),
    radial-gradient(circle at 0% 100%, rgba(155, 101, 207, 0.08), transparent 30rem),
    rgba(12, 6, 18, 0.88);
}

.boss-clock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.75rem;
}

.boss-clock > div {
  min-height: 165px;
  padding: 1.15rem;
  border: 1px solid rgba(239, 93, 116, 0.18);
  border-radius: 9px;
  background: rgba(239, 93, 116, 0.04);
}

.boss-clock div > span {
  color: var(--rose);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boss-clock strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 0.94rem;
}

.boss-clock p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.clock-arrow {
  align-self: center;
  color: rgba(216, 184, 109, 0.45);
}

.stamina-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(242, 209, 91, 0.2);
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(242, 209, 91, 0.07), transparent);
}

.stamina-panel p:not(.card-kicker) {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.stamina-meter {
  min-width: 235px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(242, 209, 91, 0.25);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
}

.stamina-meter span {
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, #cba62b, #f4dc64);
  box-shadow: 0 0 9px rgba(244, 220, 100, 0.32);
}

.stamina-meter span.bonus {
  background: linear-gradient(90deg, #d8b44f, #fff0a0);
  box-shadow: 0 0 11px rgba(255, 233, 135, 0.42);
}

.stamina-meter small {
  grid-column: 1 / -1;
  color: #ecd870;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}

.boss-action-grid,
.boss-rules-grid,
.streamer-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.boss-action-grid article,
.boss-rules-grid article,
.streamer-notes-grid article {
  min-height: 190px;
  padding: 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.022);
}

.boss-action-grid h3 code {
  color: var(--ivory);
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 1rem;
}

.boss-rules-grid article:nth-child(1) { border-top-color: rgba(239, 93, 116, 0.38); }
.boss-rules-grid article:nth-child(2) { border-top-color: rgba(155, 101, 207, 0.46); }
.boss-rules-grid article:nth-child(3) { border-top-color: rgba(114, 207, 230, 0.4); }
.boss-rules-grid article:nth-child(4) { border-top-color: rgba(216, 184, 109, 0.4); }

.command-table-wrap {
  max-height: none;
}

.command-table {
  min-width: 820px;
}

.command-table caption {
  padding: 0.85rem 1rem;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.7rem;
  text-align: left;
}

.command-table th:first-child {
  width: 17%;
}

.command-table td:nth-child(2) {
  width: 19%;
}

.streamer-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(114, 207, 230, 0.085), transparent 34rem),
    rgba(12, 6, 18, 0.88);
}

.setup-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.setup-steps li:last-child {
  border-bottom: 0;
}

.setup-steps li > span {
  color: rgba(114, 207, 230, 0.52);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.setup-steps h3 {
  margin-top: 0;
}

.overlay-spec {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(114, 207, 230, 0.2);
  border-radius: 10px;
  background: rgba(114, 207, 230, 0.035);
}

.overlay-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 1px solid rgba(114, 207, 230, 0.4);
  background:
    radial-gradient(circle at center, rgba(114, 207, 230, 0.1), transparent 60%),
    linear-gradient(rgba(114, 207, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 207, 230, 0.035) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
  box-shadow: inset 0 0 40px rgba(114, 207, 230, 0.06);
}

.overlay-frame strong {
  color: var(--cyan);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-shadow: 0 0 15px rgba(114, 207, 230, 0.3);
}

.overlay-frame small {
  color: var(--dim);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
}

.frame-corner-a {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.frame-corner-b {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.precedence-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.precedence-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.precedence-list li > span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 184, 109, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 850;
}

.precedence-list strong,
.precedence-list small {
  display: block;
}

.precedence-list strong {
  color: var(--ivory);
  font-size: 0.76rem;
}

.precedence-list small {
  margin-top: 0.15rem;
  color: var(--dim);
  font-size: 0.68rem;
  line-height: 1.45;
}

.streamer-notes-grid article > span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 1.25rem;
}

.accordion-list {
  display: grid;
  border-top: 1px solid var(--line-soft);
}

.accordion-list details {
  border-bottom: 1px solid var(--line-soft);
}

.accordion-list summary,
.faq-grid summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ivory);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.accordion-list summary::-webkit-details-marker,
.faq-grid summary::-webkit-details-marker {
  display: none;
}

.accordion-list summary::after,
.faq-grid summary::after {
  min-width: 25px;
  color: var(--gold);
  content: "+";
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  transition: transform 160ms ease;
}

.accordion-list details[open] summary::after,
.faq-grid details[open] summary::after {
  transform: rotate(45deg);
}

.accordion-list details > div {
  padding: 0 2.6rem 1.2rem 0;
}

.accordion-list details p,
.faq-grid details > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.faq-grid details {
  align-self: start;
  overflow: hidden;
  padding: 0 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.faq-grid details > p {
  padding: 0 0 1rem;
}

.guide-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(216, 184, 109, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 50%, rgba(239, 93, 116, 0.12), transparent 18rem),
    radial-gradient(circle at 100% 50%, rgba(155, 101, 207, 0.14), transparent 24rem),
    rgba(18, 8, 27, 0.92);
  box-shadow: var(--shadow);
}

.guide-cta > img {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  filter: drop-shadow(0 0 18px rgba(239, 93, 116, 0.35));
}

.guide-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.guide-cta p:not(.eyebrow) {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.guide-cta-actions {
  display: grid;
  gap: 0.55rem;
  min-width: 170px;
}

.help-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2.3rem 1rem 1rem;
  border-top: 1px solid var(--line);
}

.help-footer p {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
}

.help-footer small {
  color: var(--dim);
  font-size: 0.65rem;
}

.help-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.help-footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration-color: rgba(216, 184, 109, 0.35);
  text-underline-offset: 0.25rem;
}

.help-footer a:hover,
.help-footer a:focus-visible {
  color: var(--ivory);
}

@keyframes starDrift {
  to { background-position: 340px 230px; }
}

@keyframes playerIdle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.5deg); }
  45% { transform: translate3d(2px, -5px, 0) rotate(0.8deg); }
  70% { transform: translate3d(-1px, -2px, 0) rotate(0deg); }
}

@keyframes monsterIdle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0.3deg); filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.6)); }
  50% { transform: translate3d(-3px, -4px, 0) rotate(-0.45deg); filter: drop-shadow(0 18px 22px rgba(117, 45, 134, 0.38)); }
}

@keyframes uniquePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(200, 137, 255, 0); }
  50% { box-shadow: 0 0 11px rgba(200, 137, 255, 0.28); }
}

@keyframes legendaryPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 191, 82, 0.18); }
  50% { box-shadow: 0 0 16px rgba(255, 191, 82, 0.48); }
}

@keyframes rarityShine {
  0%, 55% { transform: translateX(-160%) rotate(20deg); }
  100% { transform: translateX(560%) rotate(20deg); }
}

@media (max-width: 1080px) {
  .help-header {
    gap: 0.8rem;
  }

  .help-nav {
    gap: 0.75rem;
  }

  .help-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 6.4vw, 5rem);
  }

  .guide-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .quest-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 10.5rem;
  }

  .help-header {
    grid-template-columns: 1fr auto;
  }

  .help-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    padding: 0.45rem 0.2rem 0.05rem;
    border-top: 1px solid var(--line-soft);
  }

  .help-hero {
    grid-template-columns: 1fr;
    padding-top: 6.5rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-stage {
    width: min(100%, 680px);
    min-height: 480px;
    justify-self: center;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-rail {
    position: static;
  }

  .guide-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-toc > p {
    grid-column: 1 / -1;
  }

  .rail-callout {
    display: none;
  }

  .carry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boss-clock {
    grid-template-columns: 1fr;
  }

  .clock-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .overlay-spec {
    grid-template-columns: 1fr;
  }

  .overlay-frame {
    width: min(100%, 500px);
    justify-self: center;
  }

  .guide-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .guide-cta-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .path-grid,
  .steps-grid,
  .character-guide-grid,
  .rule-pair,
  .progress-panel,
  .boss-action-grid,
  .boss-rules-grid,
  .streamer-notes-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
  }

  .quest-timeline {
    grid-template-columns: 1fr;
  }

  .quest-timeline article {
    min-height: 0;
  }

  .progress-panel {
    gap: 1rem;
  }

  .event-chips {
    justify-content: flex-start;
  }

  .stamina-panel {
    grid-template-columns: 1fr;
  }

  .stamina-meter {
    width: 100%;
    min-width: 0;
  }

  .help-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 10.5rem;
  }

  .help-shell {
    width: min(100% - 1rem, 1240px);
    padding-top: 0.4rem;
  }

  .help-header {
    top: 0.4rem;
    padding-inline: 0.55rem;
  }

  .help-brand img {
    width: 40px;
    height: 40px;
  }

  .help-brand strong {
    font-size: 0.72rem;
  }

  .help-brand small {
    font-size: 0.5rem;
  }

  .header-cta {
    max-width: 112px;
    padding-inline: 0.65rem;
    font-size: 0.59rem;
  }

  .help-nav {
    gap: 0.8rem;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: thin;
  }

  .help-nav a {
    flex: 0 0 auto;
    font-size: 0.62rem;
  }

  .help-hero {
    min-height: 0;
    padding: 5rem 0.35rem 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-lede {
    font-size: 0.93rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stage {
    min-height: 340px;
    border-radius: 12px 12px 6px 6px;
  }

  .stage-label {
    top: 1rem;
  }

  .stage-label-player { left: 1rem; }
  .stage-label-boss { right: 1rem; }

  .stage-label span {
    max-width: 130px;
    font-size: 0.58rem;
  }

  .stage-health {
    top: 3.55rem;
    right: 1rem;
    width: 45%;
  }

  .hero-player {
    bottom: 2rem;
    left: 0;
    width: 39%;
  }

  .hero-monster {
    right: -5%;
    bottom: 1.5rem;
    width: 68%;
  }

  .stage-versus {
    left: 36%;
    font-size: 0.62rem;
  }

  .path-section {
    padding: 2rem 0 4rem;
  }

  .path-card,
  .guide-section {
    padding: 1.15rem;
  }

  .path-number {
    font-size: 6rem;
  }

  .guide-toc {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }

  .carry-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .carry-grid article,
  .skill-grid article {
    min-height: 0;
  }

  .help-callout {
    grid-template-columns: 1fr;
  }

  .help-callout .callout-mark {
    width: 28px;
    height: 28px;
  }

  .setup-steps li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .setup-steps li > span {
    font-size: 0.95rem;
  }

  .accordion-list summary,
  .faq-grid summary {
    font-size: 0.78rem;
  }

  .guide-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guide-cta > img {
    justify-self: center;
  }

  .guide-cta-actions {
    grid-template-columns: 1fr;
  }

  .help-footer nav {
    gap: 0.6rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #1a1020;
    background: #fff;
  }

  .page-stars,
  .page-glow,
  .help-header,
  .hero-stage,
  .guide-rail,
  .guide-cta,
  .help-footer {
    display: none !important;
  }

  .help-shell,
  .guide-layout {
    width: 100%;
    display: block;
  }

  .help-hero {
    min-height: 0;
    display: block;
    padding: 1rem 0;
  }

  .guide-section,
  .path-card {
    break-inside: avoid;
    color: #1a1020;
    background: #fff;
    box-shadow: none;
  }
}
