:root {
  --forest: #073f2f;
  --forest-deep: #032c22;
  --forest-mid: #0e5a3f;
  --cream: #fbf7f2;
  --cream-light: #fffaf5;
  --parchment: #f1dfb8;
  --parchment-deep: #d7bd84;
  --ink: #3d2e1f;
  --muted: #5c4a38;
  --orange: #c45d35;
  --orange-deep: #a84d2b;
  --gold: #d4a853;
  --gold-light: #ffd467;
  --wood: #704a30;
  --wood-dark: #3d2e1f;
  --line: #c9b483;
  --white: #fffdf5;
  --display: "Roboto Condensed", sans-serif;
  --body: "Nunito Sans", sans-serif;
  --brand: "Bree Serif", serif;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.sr-only {
  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;
  z-index: 200;
  top: -5rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--forest-deep);
}

.skip-link:focus-visible {
  top: 1rem;
}

section[id] {
  scroll-margin-top: 82px;
}

.paper-texture {
  background-color: var(--cream);
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 8% 24%, rgba(132, 83, 32, 0.08), transparent 31%),
    radial-gradient(ellipse at 92% 76%, rgba(120, 71, 24, 0.07), transparent 28%),
    linear-gradient(96deg, rgba(255,255,255,0.2), transparent 23%, rgba(112,71,30,0.035) 74%, transparent);
  background-size: 256px 256px, auto, auto, auto;
  background-blend-mode: multiply, multiply, multiply, normal;
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--cream-light);
  border-bottom: 1px solid rgba(41, 48, 39, 0.14);
}

.nav-shell {
  width: min(1420px, calc(100% - 48px));
  min-height: 92px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--forest);
  font-family: var(--brand);
  font-size: 1.72rem;
  line-height: 1;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  image-rendering: pixelated;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.5vw, 2.6rem);
}

.site-nav a,
.login-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav a::after,
.login-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 140ms ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.menu-toggle {
  display: none;
}

.pixel-button {
  position: relative;
  min-width: 190px;
  min-height: 62px;
  padding: 0.62rem 1.5rem 0.56rem;
  color: #17150e;
  background: var(--gold);
  border: 3px solid var(--wood-dark);
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 3px var(--gold-light),
    5px 6px 0 rgba(39, 28, 17, 0.24);
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 120ms ease, background 120ms ease;
}

.pixel-button::before,
.pixel-button::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: var(--gold);
  border-top: 2px solid var(--wood-dark);
  border-bottom: 2px solid var(--wood-dark);
}

.pixel-button::before {
  left: -7px;
}

.pixel-button::after {
  right: -7px;
}

.pixel-button:hover,
.pixel-button:focus-visible {
  background: #ffc442;
  transform: translateY(-2px);
}

.pixel-button strong,
.pixel-button span,
.pixel-button small {
  display: block;
}

.pixel-button strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pixel-button span,
.pixel-button small {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
}

.pixel-button--nav {
  min-width: 164px;
  min-height: 58px;
}

.pixel-button--nav strong {
  font-size: 0.9rem;
}

.play-cta {
  --cta-text-shadow:
    2px 2px 0 rgba(70, 34, 18, 0.62),
    0 1px 0 rgba(255, 223, 156, 0.18);
  position: relative;
  isolation: isolate;
  min-height: 58px;
  padding: 0.86rem 1.46rem 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--white);
  background-color: #b85a32;
  background-image:
    repeating-linear-gradient(0deg, rgba(80, 42, 22, 0.12) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(255, 202, 126, 0.28), transparent 36%, rgba(73, 34, 18, 0.22)),
    linear-gradient(92deg, rgba(255,255,255,0.08), transparent 28%, rgba(52, 24, 13, 0.14));
  border: 2px solid #21170f;
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
  box-shadow:
    inset 0 2px 0 rgba(255, 221, 142, 0.5),
    inset 0 -4px 0 rgba(76, 35, 19, 0.45),
    inset 3px 0 0 rgba(255, 191, 102, 0.16),
    inset -3px 0 0 rgba(58, 28, 17, 0.26),
    0 2px 0 #24170e,
    0 6px 9px rgba(59, 39, 22, 0.24);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: var(--cta-text-shadow);
  transform: translateY(0);
  filter:
    drop-shadow(4px 5px 0 rgba(44, 28, 15, 0.72))
    drop-shadow(6px 10px 9px rgba(59, 39, 22, 0.32));
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.play-cta::before,
.play-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.play-cta::before {
  z-index: 0;
  inset: 4px;
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 221, 143, 0.78) 0 2px, rgba(59, 34, 20, 0.48) 2px 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 12px) 12px, rgba(255, 221, 143, 0.72) 0 2px, rgba(59, 34, 20, 0.48) 2px 3px, transparent 4px),
    radial-gradient(circle at 12px calc(100% - 12px), rgba(255, 221, 143, 0.48) 0 2px, rgba(59, 34, 20, 0.42) 2px 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), rgba(255, 221, 143, 0.44) 0 2px, rgba(59, 34, 20, 0.42) 2px 3px, transparent 4px);
  clip-path: inherit;
}

.play-cta::after {
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(100deg, transparent 16%, rgba(255, 236, 175, 0.24) 17%, transparent 19%),
    linear-gradient(84deg, transparent 51%, rgba(48, 27, 16, 0.22) 52%, transparent 54%),
    repeating-linear-gradient(176deg, transparent 0 14px, rgba(74, 38, 19, 0.18) 14px 15px, transparent 15px 31px);
  opacity: 0.48;
  mix-blend-mode: soft-light;
  clip-path: inherit;
}

.play-cta:hover,
.play-cta:focus-visible {
  filter:
    saturate(1.08)
    brightness(1.03)
    drop-shadow(5px 6px 0 rgba(44, 28, 15, 0.74))
    drop-shadow(7px 12px 11px rgba(59, 39, 22, 0.36));
  box-shadow:
    inset 0 2px 0 rgba(255, 228, 155, 0.62),
    inset 0 -4px 0 rgba(76, 35, 19, 0.48),
    inset 3px 0 0 rgba(255, 191, 102, 0.2),
    inset -3px 0 0 rgba(58, 28, 17, 0.28),
    0 3px 0 #24170e,
    0 8px 12px rgba(59, 39, 22, 0.28);
  transform: translateY(-1px);
}

.play-cta:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 221, 142, 0.35),
    inset 0 -2px 0 rgba(76, 35, 19, 0.44),
    0 1px 0 #24170e,
    0 3px 5px rgba(59, 39, 22, 0.2);
  transform: translateY(2px);
  filter:
    drop-shadow(2px 2px 0 rgba(44, 28, 15, 0.7))
    drop-shadow(3px 5px 6px rgba(59, 39, 22, 0.24));
}

.play-cta > * {
  position: relative;
  z-index: 2;
  text-shadow: inherit;
}

.play-cta span {
  font-size: 1.45em;
  line-height: 0.6;
}

.play-cta--nav {
  min-height: 48px;
  padding-inline: 1.15rem;
  font-size: 0.9rem;
}

.play-cta--hero {
  min-width: 255px;
  min-height: 70px;
  justify-content: center;
  gap: 0.62rem;
  padding-inline: 1.6rem;
  font-size: 1.35rem;
}

.play-cta--gold {
  --cta-text-shadow:
    0 1px 0 rgba(255, 239, 178, 0.7),
    1px 2px 0 rgba(99, 62, 23, 0.2);
  color: var(--ink);
  background-color: #d3a34a;
  background-image:
    repeating-linear-gradient(0deg, rgba(77, 52, 22, 0.11) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(255, 232, 148, 0.52), transparent 38%, rgba(101, 64, 24, 0.22)),
    linear-gradient(92deg, rgba(255,255,255,0.1), transparent 30%, rgba(75, 45, 18, 0.12));
}

.play-cta--gold:hover,
.play-cta--gold:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  padding: clamp(3.2rem, 6vw, 6.8rem) 0 3.8rem;
}

.hero-shell {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(610px, 1.45fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
}

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

.ribbon-label {
  width: max-content;
  margin-bottom: 0.8rem;
  padding: 0.28rem 1.5rem 0.28rem 0.55rem;
  color: var(--ink);
  background: #eed29a;
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 94% 0, 100% 50%, 94% 100%, 0 100%);
}

.ribbon-label span {
  margin-right: 0.3rem;
  color: var(--orange);
}

.hero h1,
.world-copy h2,
.battle-copy h2,
.adults-copy h2,
.final-cta h2,
.signup-dialog h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 500px;
  margin-bottom: 0.8rem;
  color: var(--forest);
  font-size: clamp(3.5rem, 5.1vw, 5.95rem);
  line-height: 0.87;
}

.hero h1 span {
  color: var(--orange);
  font-size: 1.06em;
}

.brush-line {
  width: min(100%, 390px);
  height: 10px;
  margin: 0.2rem 0 1.7rem;
  border-top: 5px solid var(--orange);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.hero-lede {
  max-width: 465px;
  margin-bottom: 1.7rem;
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
  font-weight: 700;
  line-height: 1.55;
}

.hero-lede u {
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.pixel-button--hero {
  min-width: 280px;
  min-height: 72px;
}

.pixel-button--hero strong {
  font-size: 1.3rem;
}

.safety-note {
  margin: 1.2rem 0 0;
  color: #3d4037;
  font-size: 0.78rem;
  font-weight: 800;
}

.safety-note span {
  margin-right: 0.35rem;
  color: var(--forest);
}

.hero-encounter {
  position: relative;
  padding: 17px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 18%, rgba(0,0,0,0.12) 80%),
    var(--wood);
  border: 5px solid var(--wood-dark);
  box-shadow:
    inset 0 0 0 4px #a77a49,
    inset 0 0 0 8px #4d331f,
    10px 13px 0 rgba(45, 34, 20, 0.17);
  transform: rotate(0.8deg);
}

.frame-corner {
  position: absolute;
  z-index: 5;
  width: 26px;
  height: 26px;
  background: #c29a61;
  border: 3px solid var(--wood-dark);
  box-shadow: inset 0 0 0 3px #7c5331;
}

.frame-corner::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 4px;
  height: 4px;
  background: var(--wood-dark);
  border-radius: 50%;
}

.frame-corner--one { top: -6px; left: -6px; }
.frame-corner--two { top: -6px; right: -6px; }
.frame-corner--three { right: -6px; bottom: -6px; }
.frame-corner--four { bottom: -6px; left: -6px; }

.encounter-screen {
  --encounter-map-zoom: 4.27;
  position: relative;
  aspect-ratio: 1.48 / 1;
  overflow: hidden;
  background: #162e23;
  border: 4px solid #181812;
}

.encounter-map {
  position: absolute;
  top: 180%;
  left: 81.1%;
  display: block;
  width: calc(100% * var(--encounter-map-zoom));
  height: auto;
  max-width: none;
  image-rendering: pixelated;
  transform: translate(-50%, -50%);
}

.encounter-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 22, 16, 0.08), rgba(3, 22, 16, 0.3));
  pointer-events: none;
}

.turn-card {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 50%;
  width: min(68%, 540px);
  display: grid;
  grid-template-columns: 1fr 136px;
  grid-template-rows: auto auto;
  transform: translateX(-50%);
}

.turn-card > span {
  grid-column: 1 / -1;
  width: 145px;
  margin: 0 auto 5px;
  padding: 0.28rem 0.5rem;
  color: var(--gold-light);
  background: rgba(4, 35, 27, 0.94);
  border: 3px solid #181812;
  outline: 2px solid var(--gold);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.problem-card {
  min-height: 108px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: #f2e1b9;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 15% 28%, rgba(126, 76, 27, 0.11), transparent 46%),
    linear-gradient(92deg, rgba(255,255,255,0.16), transparent 35%, rgba(96,57,24,0.07));
  background-size: 210px 210px, auto, auto;
  background-blend-mode: multiply, multiply, normal;
  border: 3px solid #302419;
  box-shadow:
    inset 0 0 18px rgba(129, 79, 31, 0.22),
    inset 0 8px 13px rgba(255,255,255,0.14);
}

.problem-card small {
  font-size: 0.9rem;
  font-weight: 800;
}

.problem-card strong {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

.answer-list {
  padding: 0.4rem;
  display: grid;
  background: rgba(3, 37, 27, 0.94);
  border: 3px solid #241a12;
}

.answer-list button {
  padding: 0.13rem 0.45rem;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 0.83rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.answer-list button:hover,
.answer-list button:focus-visible,
.answer-list button.is-selected {
  color: var(--ink);
  background: #65a560;
}

.answer-list button.is-wrong {
  background: #b94f37;
}

.answer-list i {
  margin-right: 0.25rem;
  font-style: normal;
}

.combatant {
  position: absolute;
  z-index: 2;
  bottom: 15%;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.fighter-sprite {
  flex: 0 0 auto;
  display: block;
  background-position: 0 0;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(3px 5px 0 rgba(0,0,0,0.36));
}

.fighter-sprite--player {
  --sheet-width: 3584px;
  width: 112px;
  height: 168px;
  background-image: url("/public/assets/game/official/alethian-player-battle-left.png");
  background-size: var(--sheet-width) 168px;
  animation:
    fighter-frames 4s steps(32) infinite,
    player-fight-motion 4s linear infinite;
}

.fighter-sprite--slime {
  --sheet-width: 3520px;
  width: 110px;
  height: 110px;
  background-image: url("/public/assets/game/official/fractured-slime-battle-right.png");
  background-size: var(--sheet-width) 110px;
  animation:
    fighter-frames 4s steps(32) infinite,
    slime-fight-motion 4s linear infinite;
}

.combatant > div {
  min-width: 142px;
  padding: 0.5rem 0.6rem;
  background: rgba(5, 39, 29, 0.94);
  border: 3px solid #241a12;
  box-shadow: inset 0 0 0 2px rgba(244, 182, 44, 0.42);
}

.combatant strong,
.combatant > div span,
.combatant small {
  display: block;
}

.combatant strong {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.combatant > div span,
.combatant small {
  font-size: 0.63rem;
  font-weight: 900;
}

.hp-value {
  font-style: normal;
}

.combatant > div span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.3rem;
}

.combatant i {
  height: 5px;
  display: block;
  overflow: hidden;
  background: #291f17;
}

.combatant i b {
  height: 100%;
  display: block;
  background: #e65f3b;
}

.combatant--hero {
  right: 3%;
  flex-direction: row-reverse;
}

.combatant--enemy {
  left: 3%;
}

.combatant--enemy > div {
  min-width: 155px;
}

.combatant--hero i b {
  animation: player-hp-loop 4s linear infinite;
}

.combatant--enemy i b {
  animation: slime-hp-loop 4s linear infinite;
}

.battle-impact {
  position: absolute;
  z-index: 5;
  width: 12px;
  height: 12px;
  background: var(--gold-light);
  box-shadow:
    0 -18px 0 -3px #fff1a4,
    0 18px 0 -3px var(--orange),
    -18px 0 0 -3px #fff1a4,
    18px 0 0 -3px var(--orange);
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg) scale(0);
}

.battle-impact--player {
  right: 25%;
  bottom: 42%;
  animation: player-impact-loop 4s linear infinite;
}

.battle-impact--slime {
  left: 22%;
  bottom: 38%;
  animation: slime-impact-loop 4s linear infinite;
}

@keyframes fighter-frames {
  to { background-position-x: calc(-1 * var(--sheet-width)); }
}

@keyframes player-fight-motion {
  0%, 22%, 38%, 70%, 100% { transform: translateX(0); }
  27% { transform: translateX(-4px) translateY(2px); }
  30% { transform: translateX(5px) translateY(-1px); }
  33% { transform: translateX(-3px); }
  77% { transform: translateX(-7px); }
  84% { transform: translateX(-27px); }
  91% { transform: translateX(-8px); }
}

@keyframes slime-fight-motion {
  0%, 18%, 38%, 78%, 94%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(24px) scale(1.08, 0.9); }
  31% { transform: translateX(9px) scale(0.95, 1.07); }
  84% { transform: translateX(-6px) scale(0.92, 1.08); }
  87% { transform: translateX(7px) scale(1.06, 0.92); }
  90% { transform: translateX(-4px) scale(0.98, 1.03); }
}

@keyframes player-impact-loop {
  0%, 27%, 34%, 100% { opacity: 0; transform: rotate(45deg) scale(0); }
  29% { opacity: 1; transform: rotate(45deg) scale(1.15); }
  32% { opacity: 0.7; transform: rotate(70deg) scale(0.65); }
}

@keyframes slime-impact-loop {
  0%, 82%, 90%, 100% { opacity: 0; transform: rotate(45deg) scale(0); }
  85% { opacity: 1; transform: rotate(45deg) scale(1.35); }
  88% { opacity: 0.65; transform: rotate(75deg) scale(0.7); }
}

@keyframes player-hp-loop {
  0%, 28% { width: 100%; }
  34%, 96% { width: 76%; }
  100% { width: 100%; }
}

@keyframes slime-hp-loop {
  0%, 83% { width: 100%; }
  89%, 96% { width: 55%; }
  100% { width: 100%; }
}

.battle-result {
  position: absolute;
  z-index: 4;
  right: 3.5%;
  bottom: 3%;
  left: 3.5%;
  min-height: 42px;
  padding: 0.6rem 0.8rem;
  color: var(--white);
  background: rgba(5, 31, 24, 0.95);
  border: 3px solid #201811;
  box-shadow: inset 0 0 0 2px rgba(244, 182, 44, 0.38);
  font-size: 0.8rem;
  font-weight: 900;
}

.proof-bar {
  --rough-color: var(--forest);
  min-height: 112px;
  padding: 1rem max(24px, calc((100% - 1200px) / 2));
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  color: var(--white);
  background:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 18% 20%, rgba(200, 174, 102, 0.07), transparent 30%),
    radial-gradient(ellipse at 84% 88%, rgba(0, 15, 9, 0.2), transparent 36%),
    linear-gradient(rgba(255,255,255,0.015), rgba(0,0,0,0.09)),
    var(--forest);
  background-size: 256px 256px, auto, auto, auto, auto;
  background-blend-mode: soft-light, screen, multiply, normal, normal;
}

.proof-bar::before,
.proof-bar::after,
.world-section::before,
.world-section::after,
.resources-section::before,
.resources-section::after,
.site-footer::before {
  content: "";
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  height: 15px;
  pointer-events: none;
  background-color: var(--rough-color);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 15' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23d4a853' stop-opacity='0'/%3E%3Cstop offset='.12' stop-color='%23d4a853' stop-opacity='.45'/%3E%3Cstop offset='.27' stop-color='%23e4bd68' stop-opacity='.82'/%3E%3Cstop offset='.73' stop-color='%23d4a853' stop-opacity='.7'/%3E%3Cstop offset='.9' stop-color='%23d4a853' stop-opacity='.32'/%3E%3Cstop offset='1' stop-color='%23d4a853' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 8 C70 4 135 10 210 7 S355 5 450 8 S610 10 735 6 S900 4 1000 8' fill='none' stroke='url(%23g)' stroke-width='2.1' stroke-dasharray='15 11 7 9' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M80 10 C230 8 330 11 470 9 S730 8 920 10' fill='none' stroke='%238d6c2f' stroke-opacity='.25' stroke-width='.8' stroke-dasharray='3 25' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: repeat, no-repeat;
  background-size: 256px 256px, 100% 100%;
}

.proof-bar::before,
.world-section::before,
.resources-section::before,
.site-footer::before {
  top: -11px;
  clip-path: polygon(
    0 100%, 0 48%, 3% 35%, 7% 52%, 12% 28%, 18% 45%, 24% 31%,
    31% 49%, 38% 33%, 45% 52%, 53% 29%, 61% 46%, 68% 34%,
    76% 50%, 83% 30%, 91% 45%, 96% 34%, 100% 49%, 100% 100%
  );
}

.proof-bar::after,
.world-section::after,
.resources-section::after {
  bottom: -11px;
  clip-path: polygon(
    0 0, 100% 0, 100% 48%, 96% 33%, 91% 52%, 84% 31%, 77% 47%,
    69% 29%, 62% 50%, 55% 35%, 47% 52%, 39% 30%, 32% 46%,
    24% 34%, 17% 51%, 11% 29%, 5% 47%, 0 35%
  );
}

.proof-item {
  min-height: 70px;
  padding: 0.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border-right: 1px dashed rgba(244, 182, 44, 0.48);
}

.proof-item--last {
  border-right: 0;
}

.proof-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
}

.proof-item p {
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.proof-item strong,
.proof-item span {
  display: block;
  font-family: var(--display);
}

.proof-item strong {
  color: var(--white);
  font-size: 1.42rem;
  font-weight: 900;
}

.proof-item p span {
  margin-top: 0.22rem;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 800;
}

.proof-heart {
  color: #ef6847;
  font-size: 3rem;
  line-height: 1;
  text-shadow: 3px 3px 0 #451f14;
}

.path-section {
  padding: clamp(3.2rem, 5vw, 5.4rem) max(28px, calc((100% - 1220px) / 2));
}

.path-heading {
  max-width: 720px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.path-heading h2 {
  margin-bottom: 0.85rem;
  color: var(--forest);
  font-size: clamp(2.35rem, 4.4vw, 4.6rem);
  line-height: 0.95;
}

.path-heading > p:not(.orange-kicker) {
  margin: 0 auto;
  max-width: 610px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 800;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.path-card {
  min-height: 310px;
  padding: 1.6rem 1.5rem 1.35rem;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background-color: #efd8a8;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 22% 16%, rgba(255, 244, 200, 0.32), transparent 43%),
    radial-gradient(ellipse at 82% 84%, rgba(103, 62, 25, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(255, 241, 190, 0.24), transparent 12%, rgba(94, 58, 24, 0.08));
  background-size: 238px 238px, auto, auto, auto;
  background-blend-mode: multiply, screen, multiply, normal;
  border: 1px solid rgba(103, 72, 35, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.5),
    inset 0 0 24px rgba(113, 72, 30, 0.12),
    0 6px 11px rgba(58, 39, 18, 0.18);
  transform: rotate(-0.04deg);
}

.path-card:nth-child(2) {
  transform: translateY(-8px) rotate(0.04deg);
}

.path-card:nth-child(3) {
  transform: rotate(0.06deg);
}

.path-card--featured {
  border-color: rgba(160, 90, 43, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.54),
    inset 0 0 26px rgba(113, 72, 30, 0.13),
    0 9px 14px rgba(58, 39, 18, 0.21);
}

.path-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 rgba(67, 44, 22, 0.2));
}

.path-card > span {
  margin: 0.8rem 0 0.55rem;
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.path-card h3 {
  margin-bottom: 0.75rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.path-card p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.46;
}

.path-card em {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--forest);
  border-top: 2px dashed rgba(97, 66, 30, 0.3);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.role-board-section {
  padding: clamp(3.4rem, 5.5vw, 5.6rem) max(28px, calc((100% - 1220px) / 2));
  color: var(--white);
  background-color: var(--forest-deep);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 12% 22%, rgba(212, 168, 83, 0.08), transparent 34%),
    radial-gradient(ellipse at 86% 68%, rgba(196, 93, 53, 0.075), transparent 38%);
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, screen;
  border-top: 1px dashed rgba(212, 168, 83, 0.32);
  border-bottom: 1px dashed rgba(212, 168, 83, 0.32);
}

.role-board-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.role-board-heading h2 {
  max-width: 760px;
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 5.25rem);
  line-height: 0.9;
}

.role-board-heading p:not(.gold-kicker) {
  max-width: 650px;
  margin-bottom: 0;
  color: #f1dcc0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.52;
}

.role-board {
  padding: clamp(1.1rem, 2.8vw, 1.9rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
  background-color: #5b3924;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 18%, rgba(0,0,0,0.1)),
    repeating-linear-gradient(90deg, transparent 0 116px, rgba(36, 22, 13, 0.2) 116px 119px);
  border: 4px solid var(--wood-dark);
  box-shadow:
    inset 0 0 0 2px rgba(255, 212, 103, 0.16),
    8px 9px 0 rgba(0,0,0,0.16);
}

.role-board-card {
  min-height: 305px;
  padding: 1.35rem 1.25rem 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background-color: #efd8a8;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 18% 18%, rgba(255, 247, 211, 0.34), transparent 46%),
    radial-gradient(ellipse at 86% 84%, rgba(95, 58, 23, 0.14), transparent 44%);
  background-size: 238px 238px, auto, auto;
  background-blend-mode: multiply, screen, multiply;
  border: 1px solid rgba(91, 59, 26, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.58),
    0 5px 8px rgba(33, 20, 11, 0.2);
  transform: rotate(-0.25deg);
}

.role-board-card:nth-child(2) {
  transform: translateY(-8px) rotate(0.18deg);
}

.role-board-card:nth-child(3) {
  transform: rotate(0.22deg);
}

.role-board-card::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 2px solid var(--wood-dark);
  border-radius: 50%;
  box-shadow: 1px 2px 0 rgba(0,0,0,0.18);
  transform: translateX(-50%);
}

.role-board-card img {
  width: 70px;
  height: 70px;
  margin-top: 0.55rem;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 rgba(67, 44, 22, 0.2));
}

.role-board-card > span {
  margin: 0.85rem 0 0.45rem;
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.role-board-card h3 {
  margin-bottom: 0.72rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.role-board-card p {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.45;
}

.role-board-card em {
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--forest);
  border-top: 2px dashed rgba(97, 66, 30, 0.28);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.features {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.feature-grid {
  width: min(1190px, calc(100% - 56px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.parchment-card {
  --card-tilt: -0.08deg;
  position: relative;
  min-height: 335px;
  padding: 2.18rem 2.05rem 1.46rem;
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 1rem;
  isolation: isolate;
  overflow: hidden;
  background-color: #efd8a8;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 22% 16%, rgba(255, 244, 200, 0.28), transparent 42%),
    radial-gradient(ellipse at 84% 82%, rgba(118, 73, 29, 0.09), transparent 48%),
    linear-gradient(90deg, rgba(104, 67, 29, 0.14), transparent 9px, transparent calc(100% - 9px), rgba(104, 67, 29, 0.12)),
    linear-gradient(180deg, rgba(255, 238, 181, 0.22), transparent 8px, transparent calc(100% - 9px), rgba(99, 60, 24, 0.14));
  background-size: 238px 238px, auto, auto, auto, auto;
  background-blend-mode: multiply, screen, multiply, multiply, normal;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.52),
    inset 0 -1px 0 rgba(123, 78, 33, 0.18),
    inset 0 0 28px rgba(113, 72, 30, 0.11),
    0 1px 0 rgba(93, 61, 28, 0.62),
    0 5px 10px rgba(58, 39, 18, 0.2);
  transform: rotate(var(--card-tilt));
}

.parchment-card:nth-child(2) {
  --card-tilt: 0.06deg;
}

.parchment-card:nth-child(3) {
  --card-tilt: -0.04deg;
}

.parchment-card::before,
.parchment-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.parchment-card::before {
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(95, 59, 23, 0.18), transparent 6px),
    linear-gradient(270deg, rgba(95, 59, 23, 0.14), transparent 7px),
    linear-gradient(180deg, rgba(255, 244, 200, 0.22), transparent 6px),
    linear-gradient(0deg, rgba(95, 59, 23, 0.13), transparent 8px);
  background-repeat: no-repeat;
  background-size: 9px 100%, 10px 100%, 100% 8px, 100% 10px;
  mix-blend-mode: multiply;
  opacity: 0.68;
}

.parchment-card::after {
  z-index: 1;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 6px 18%, rgba(105, 65, 26, 0.2) 0 2px, transparent 5px),
    radial-gradient(ellipse at calc(100% - 5px) 28%, rgba(105, 65, 26, 0.16) 0 2px, transparent 5px),
    radial-gradient(ellipse at 18% 5px, rgba(255, 240, 183, 0.22) 0 2px, transparent 5px),
    radial-gradient(ellipse at 76% calc(100% - 5px), rgba(105, 65, 26, 0.16) 0 2px, transparent 5px),
    radial-gradient(circle at 9% 13%, rgba(99, 61, 25, 0.16) 0 1px, transparent 3px),
    radial-gradient(circle at 90% 18%, rgba(99, 61, 25, 0.12) 0 1px, transparent 3px),
    radial-gradient(circle at 17% 88%, rgba(99, 61, 25, 0.12) 0 1px, transparent 3px),
    radial-gradient(circle at 84% 84%, rgba(255, 238, 184, 0.22) 0 2px, transparent 4px);
  background-repeat: no-repeat;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.parchment-card > * {
  position: relative;
  z-index: 2;
}

.parchment-card > img,
.friend-icon,
.report-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  image-rendering: pixelated;
}

.parchment-card h2 {
  margin-bottom: 0.8rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.parchment-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.52;
}

.parchment-card > div:not(.friend-icon) {
  margin: -0.2rem -0.15rem 0;
  padding: 0.72rem 0.85rem 0.78rem;
}

.parchment-card > a {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  padding: 0.75rem 0.55rem 0.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px dashed rgba(97, 66, 30, 0.34);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.parchment-card > a span {
  font-size: 1.5rem;
}

.friend-icon {
  position: relative;
}

.friend-icon img {
  position: absolute;
  width: 60px;
  image-rendering: pixelated;
}

.friend-icon img:first-child {
  top: -4px;
  left: -5px;
}

.friend-icon img:last-child {
  right: -8px;
  bottom: -8px;
  width: 46px;
}

.report-icon {
  padding: 11px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: #ead098;
  border: 3px solid var(--wood-dark);
  transform: rotate(4deg);
}

.report-icon i {
  height: 7px;
  display: block;
  background: var(--forest);
  box-shadow: 7px 0 0 var(--orange);
}

.report-icon i:nth-child(2) {
  width: 78%;
}

.report-icon i:nth-child(3) {
  width: 62%;
}

.world-section {
  --rough-color: var(--forest);
  min-height: 610px;
  padding: clamp(3.2rem, 5vw, 5rem) max(28px, calc((100% - 1320px) / 2));
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(600px, 1.65fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  color: var(--white);
  background:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 18% 16%, rgba(190, 158, 80, 0.075), transparent 34%),
    radial-gradient(ellipse at 83% 78%, rgba(0, 12, 7, 0.25), transparent 38%),
    linear-gradient(103deg, rgba(255,255,255,0.018), transparent 25%, rgba(0,0,0,0.08)),
    var(--forest);
  background-size: 256px 256px, auto, auto, auto, auto;
  background-blend-mode: soft-light, screen, multiply, normal, normal;
}

.gold-kicker,
.orange-kicker {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.gold-kicker::before,
.orange-kicker::before {
  content: "✦";
  margin-right: 0.45rem;
}

.orange-kicker {
  color: var(--orange-deep);
}

.world-copy h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.7rem, 4.6vw, 4.7rem);
  line-height: 0.9;
}

.brush-line--light {
  width: 245px;
  margin-bottom: 1.3rem;
  border-color: var(--gold);
}

.world-copy > p:not(.gold-kicker) {
  max-width: 370px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
}

.quest-card {
  position: relative;
  max-width: 360px;
  margin-top: 1.5rem;
  padding: 1rem 5rem 1rem 1rem;
  background: #141d19;
  border: 3px solid #111713;
  outline: 2px solid var(--gold);
  box-shadow: 5px 6px 0 rgba(0,0,0,0.24);
}

.quest-card > span,
.quest-card > strong {
  display: block;
}

.quest-card > span {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quest-card > strong {
  margin-bottom: 0.65rem;
  font-size: 0.83rem;
  line-height: 1.3;
}

.quest-card > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.quest-card i {
  height: 7px;
  display: block;
  background: #4d3a26;
}

.quest-card i b {
  height: 100%;
  display: block;
  background: var(--gold);
}

.quest-card em {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.quest-card img {
  position: absolute;
  right: 4px;
  bottom: -3px;
  width: 82px;
  image-rendering: pixelated;
}

.world-map-frame {
  position: relative;
  padding: 9px;
  background: #b67d31;
  border: 4px solid #211b12;
  box-shadow:
    inset 0 0 0 3px var(--gold),
    9px 11px 0 rgba(0, 0, 0, 0.18);
}

.map-viewport {
  --world-loop-duration: 12s;
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #16281f;
  border: 3px solid #1f1b13;
}

.map-viewport > img:first-child {
  position: absolute;
  top: -12.222%;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  object-fit: fill;
  image-rendering: pixelated;
  transform-origin: top left;
}

.map-character {
  position: absolute;
  z-index: 2;
  image-rendering: pixelated;
  filter: drop-shadow(3px 5px 0 rgba(0,0,0,0.35));
}

.map-character--slime {
  left: 79.0625%;
  top: 65.556%;
  width: 5cqw;
}

.map-npc {
  position: absolute;
  z-index: 3;
  width: var(--npc-size);
  height: var(--npc-size);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: calc(var(--npc-size) * 4) var(--npc-size);
  image-rendering: pixelated;
  filter: drop-shadow(2px 4px 0 rgba(0,0,0,0.35));
  pointer-events: none;
  animation: npc-idle-loop 1.333s steps(4) infinite;
}

.map-npc--vella {
  --npc-size: 5cqw;
  top: 41.111%;
  left: 59.375%;
  background-image: url("/public/assets/game/official/merchant-vella-idle-down.png");
}

.world-player {
  --world-player-width: 5cqw;
  --world-player-height: calc(var(--world-player-width) * 1.5);
  position: absolute;
  z-index: 4;
  top: 45%;
  left: 53.75%;
  width: var(--world-player-width);
  height: var(--world-player-height);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size:
    calc(var(--world-player-width) * 120)
    var(--world-player-height);
  image-rendering: pixelated;
  filter: drop-shadow(3px 5px 0 rgba(0,0,0,0.4));
  pointer-events: none;
  animation:
    world-sprite-loop var(--world-loop-duration) steps(120) infinite,
    world-player-path var(--world-loop-duration) linear infinite;
}

.world-player--standard {
  background-image: url("/public/assets/game/official/standard-female-world-walk.png");
  animation:
    world-sprite-loop var(--world-loop-duration) steps(120) infinite,
    world-player-path var(--world-loop-duration) linear infinite,
    world-standard-phase var(--world-loop-duration) linear infinite;
}

.world-player--alethian {
  background-image: url("/public/assets/game/official/alethian-female-world-walk.png");
  animation:
    world-sprite-loop var(--world-loop-duration) steps(120) infinite,
    world-player-path var(--world-loop-duration) linear infinite,
    world-alethian-phase var(--world-loop-duration) linear infinite;
}

.world-hit-spark {
  position: absolute;
  z-index: 5;
  top: 70%;
  left: 81.5625%;
  width: 10px;
  height: 10px;
  background: #fff1a4;
  box-shadow:
    0 -14px 0 -3px var(--gold),
    0 14px 0 -3px var(--orange),
    -14px 0 0 -3px var(--gold),
    14px 0 0 -3px var(--orange);
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg) scale(0);
  animation: world-hit-pop var(--world-loop-duration) linear infinite;
}

.world-gear-card {
  position: absolute;
  z-index: 6;
  top: 28%;
  left: 46%;
  width: min(275px, 46%);
  min-height: 70px;
  padding: 0.55rem 0.7rem 0.55rem 4.3rem;
  color: var(--white);
  background-color: rgba(5, 37, 29, 0.96);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    linear-gradient(90deg, rgba(244, 182, 44, 0.1), transparent 64%);
  background-size: 180px 180px, auto;
  border: 3px solid #19150f;
  box-shadow:
    inset 0 0 0 2px rgba(244, 182, 44, 0.44),
    4px 5px 0 rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  animation: world-gear-pop var(--world-loop-duration) linear infinite;
}

.world-gear-card img {
  position: absolute;
  left: 0.58rem;
  top: 50%;
  width: 48px;
  image-rendering: pixelated;
  transform: translateY(-50%);
}

.world-gear-card strong,
.world-gear-card small {
  display: block;
}

.world-gear-card strong {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.world-gear-card small {
  font-size: 0.68rem;
  font-weight: 900;
}

@keyframes npc-idle-loop {
  to { background-position-x: calc(-4 * var(--npc-size)); }
}

@keyframes world-sprite-loop {
  to { background-position-x: calc(-120 * var(--world-player-width)); }
}

@keyframes world-player-path {
  0%, 35% { left: 53.75%; top: 45%; }
  42% { left: 62.5%; top: 52.222%; }
  49%, 96%, 100% { left: 71.25%; top: 61.111%; }
}

@keyframes world-standard-phase {
  0%, 3% { opacity: 0; }
  6%, 32% { opacity: 1; }
  37%, 100% { opacity: 0; }
}

@keyframes world-alethian-phase {
  0%, 34% { opacity: 0; }
  39%, 94% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

@keyframes world-hit-pop {
  0%, 64%, 74%, 100% { opacity: 0; transform: rotate(45deg) scale(0); }
  68% { opacity: 1; transform: rotate(45deg) scale(1.35); }
  71% { opacity: 0.75; transform: rotate(70deg) scale(0.78); }
}

@keyframes world-gear-pop {
  0%, 10%, 35%, 100% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  14%, 30% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.map-label {
  position: absolute;
  bottom: 17px;
  left: 17px;
  min-width: 285px;
  padding: 0.65rem 1rem 0.65rem 4.2rem;
  display: flex;
  align-items: center;
  color: var(--white);
  background: rgba(5, 40, 30, 0.96);
  border: 3px solid #19150f;
  outline: 2px solid var(--gold);
}

.map-label img {
  position: absolute;
  bottom: 0;
  left: 2px;
  width: 68px;
  image-rendering: pixelated;
}

.map-label strong,
.map-label small {
  display: block;
}

.map-label strong {
  font-family: var(--display);
  font-size: 1rem;
  text-transform: uppercase;
}

.map-label small {
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.battle-section {
  padding: clamp(4rem, 7vw, 7rem) max(28px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.4fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
  border-bottom: 1px solid rgba(49, 48, 39, 0.17);
}

.battle-copy h2,
.adults-copy h2 {
  margin-bottom: 1rem;
  color: var(--forest);
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 0.9;
}

.battle-copy > p:not(.orange-kicker),
.adults-copy > p:not(.orange-kicker) {
  max-width: 470px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.battle-copy ol {
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.battle-copy li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.85rem;
}

.battle-copy li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--cream-light);
  background: var(--forest);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 900;
}

.battle-copy li strong,
.battle-copy li small {
  display: block;
}

.battle-copy li strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.02rem;
  text-transform: uppercase;
}

.battle-copy li small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.battle-world {
  position: relative;
  padding: 9px;
  background: var(--wood);
  border: 4px solid var(--wood-dark);
  box-shadow:
    inset 0 0 0 3px #bd8a4c,
    10px 12px 0 rgba(62, 43, 24, 0.16);
  transform: rotate(-1deg);
}

.battle-world > img {
  width: 100%;
  height: auto;
  object-position: center 62%;
  border: 3px solid #211811;
  image-rendering: pixelated;
}

.battle-world-label {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  background: rgba(5, 37, 29, 0.94);
  border: 2px solid var(--gold);
}

.battle-world-label span,
.battle-world-label strong {
  display: block;
}

.battle-world-label span {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.battle-world-label strong {
  font-size: 0.84rem;
}

.adults-section {
  position: relative;
  padding: clamp(4.2rem, 7vw, 7rem) max(28px, calc((100% - 1260px) / 2));
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(620px, 1.45fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.adults-copy ul {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.48rem;
  list-style: none;
}

.adults-copy li {
  font-size: 0.9rem;
  font-weight: 800;
}

.adults-copy li::before {
  content: "✓";
  margin-right: 0.6rem;
  color: #4d8a43;
  font-size: 1.1rem;
  font-weight: 900;
}

.text-button {
  width: max-content;
  padding: 0 0 0.25rem;
  display: inline-block;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--orange);
  font-weight: 900;
  cursor: pointer;
}

.text-button span {
  margin-left: 0.35rem;
}

.monitor-scene {
  position: relative;
  padding: 0 0 72px;
}

.monitor {
  position: relative;
  z-index: 2;
  padding: 14px 14px 22px;
  background: #353833;
  border: 4px solid #171a17;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 3px #5b5e56,
    10px 12px 0 rgba(52, 46, 34, 0.15);
}

.monitor-screen {
  min-height: 370px;
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
  background: #fbf7f2;
  border: 3px solid #111;
}

.portal-sidebar {
  padding: 1.2rem 1rem;
  color: var(--white);
  background-color: var(--forest);
  background-image: url("/public/assets/game/official/forest-wear.png");
  background-size: 220px 220px;
  background-blend-mode: soft-light;
}

.mini-brand {
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-light);
  font-family: var(--brand);
  font-size: 1rem;
  line-height: 1;
}

.mini-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  image-rendering: pixelated;
}

.portal-sidebar > strong {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.portal-sidebar nav {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.portal-sidebar nav button {
  padding: 0.5rem 0.6rem;
  color: #f9f3dc;
  background: transparent;
  border: 0;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.portal-sidebar nav .is-active {
  color: var(--forest-deep);
  background: var(--gold);
}

.portal-main {
  min-width: 0;
  padding: 1.2rem 1.4rem 1.4rem;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(196, 93, 53, 0.05), transparent 36%),
    radial-gradient(ellipse at 84% 84%, rgba(74, 124, 89, 0.055), transparent 34%),
    #fbf7f2;
}

.portal-heading {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.portal-heading span {
  display: block;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-heading small {
  color: var(--muted);
  font-weight: 800;
}

.portal-heading button,
.portal-child-row button,
.portal-range button,
.standard-modes button,
.portal-card button,
.portal-report,
.portal-report-card button {
  color: var(--forest-deep);
  background: #e8dfd3;
  border: 1px solid #d4c9bb;
  border-radius: 10px;
  font-family: var(--body);
  font-weight: 900;
  cursor: pointer;
}

.portal-heading button {
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
}

.portal-child-row {
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.45rem;
}

.portal-child-row button {
  padding: 0.42rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
}

.portal-child-row button small {
  color: var(--muted);
  font-weight: 900;
}

.portal-child-row .is-active,
.portal-range .is-active,
.standard-modes .is-active {
  color: #fffaf0;
  background: var(--orange);
  border-color: #9f4527;
}

.portal-child-row .is-active small {
  color: #ffe7b6;
}

.portal-panel {
  animation: portal-panel-in 180ms ease-out;
}

.portal-status,
.portal-card,
.portal-report-card,
.standard-list,
.portal-standards {
  background: #fffcf8;
  border: 1px solid #e8dfd3;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(139, 109, 76, 0.07);
}

.portal-status {
  padding: 0.85rem 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  gap: 0.65rem;
  color: var(--terracotta, #c45d35);
  background: #f5e6de;
  border-color: #e8b4a0;
}

.portal-status strong {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.portal-status p {
  margin: 0;
  padding: 0.42rem 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  color: #8b3f27;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid #e8b4a0;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.portal-range {
  margin: 0.75rem 0;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.24rem;
  background: #f5ede3;
  border-radius: 12px;
}

.portal-range button,
.standard-modes button {
  padding: 0.42rem 0.66rem;
  font-size: 0.72rem;
}

.portal-activity {
  height: 108px;
  padding: 0.65rem;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  background:
    linear-gradient(to top, rgba(232, 223, 211, 0.65) 1px, transparent 1px),
    #fff8e8;
  background-size: 100% 25%;
  border: 1px solid #d8c8a8;
  border-radius: 14px;
}

.activity-bar {
  flex: 1;
  min-height: 8px;
  background: linear-gradient(180deg, #c45d35 0%, #9f4527 100%);
  border-radius: 8px 8px 3px 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: height 180ms ease;
}

.portal-note {
  margin: 0.45rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.portal-report,
.portal-report-card button,
.portal-card button {
  padding: 0.58rem 0.75rem;
}

.portal-report,
.portal-card--play button,
.portal-report-card button {
  color: #fffaf0;
  background: linear-gradient(180deg, #c45d35 0%, #a84d2b 100%);
  border-color: #893b22;
}

.portal-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.portal-card,
.portal-report-card {
  padding: 1rem;
}

.portal-card strong,
.portal-report-card strong,
.portal-standards strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.portal-card label {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card code {
  margin: 0.12rem 0 0.52rem;
  padding: 0.38rem 0.5rem;
  display: block;
  color: #3d2e1f;
  background: #f5ede3;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.portal-card p,
.portal-report-card p {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
}

.portal-standards {
  margin-bottom: 0.75rem;
  padding: 0.88rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.portal-standards small {
  color: var(--muted);
  font-weight: 800;
}

.portal-standards > span {
  height: max-content;
  padding: 0.2rem 0.44rem;
  color: #fffaf0;
  background: var(--orange);
  border-radius: 7px;
  font-size: 0.58rem;
  font-weight: 900;
}

.standard-modes {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.standard-list {
  padding: 0.8rem 0.9rem;
}

.standard-list p {
  margin: 0.52rem 0;
  display: grid;
  grid-template-columns: 145px 1fr 34px;
  align-items: center;
  gap: 0.55rem;
  color: #3d2e1f;
  font-size: 0.67rem;
  font-weight: 800;
}

.standard-list i {
  height: 8px;
  overflow: hidden;
  background: #e5dcc6;
  border-radius: 99px;
}

.standard-list i b {
  height: 100%;
  display: block;
  background: #4a7c59;
  border-radius: inherit;
}

.standard-list p:nth-child(2) i b,
.standard-list p:nth-child(3) i b {
  background: var(--gold);
}

.standard-list em {
  font-style: normal;
}

.portal-report-card ul {
  margin: 0 0 0.85rem;
  padding-left: 1rem;
  color: #3d2e1f;
  font-size: 0.76rem;
  font-weight: 800;
}

@keyframes portal-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.monitor-button {
  position: absolute;
  right: 50%;
  bottom: 7px;
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
}

.monitor-stand {
  position: absolute;
  z-index: 1;
  bottom: 4px;
  left: 50%;
  width: 190px;
  height: 72px;
  background: #383a36;
  border: 4px solid #151714;
  transform: translateX(-50%);
  clip-path: polygon(35% 0, 65% 0, 72% 75%, 100% 75%, 100% 100%, 0 100%, 0 75%, 28% 75%);
}

.teacher-sprite {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 9px;
  width: 112px;
  image-rendering: pixelated;
  filter: drop-shadow(4px 6px 0 rgba(44, 34, 22, 0.26));
}

.teacher-note {
  position: absolute;
  z-index: 5;
  top: -35px;
  right: -15px;
  width: 220px;
  padding: 0.9rem 1rem;
  background-color: var(--parchment);
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 20% 20%, rgba(116, 71, 26, 0.1), transparent 45%);
  background-size: 220px 220px, auto;
  background-blend-mode: multiply;
  border: 2px solid #a98c5a;
  box-shadow: 4px 5px 0 rgba(63, 50, 30, 0.14);
  transform: rotate(2deg);
}

.teacher-note strong,
.teacher-note span {
  display: block;
}

.teacher-note strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.teacher-note span {
  font-size: 0.72rem;
  font-weight: 700;
}

.pricing-section {
  padding: clamp(4.2rem, 7vw, 7rem) max(28px, calc((100% - 1120px) / 2));
  border-top: 1px solid rgba(61, 46, 31, 0.15);
  border-bottom: 1px solid rgba(61, 46, 31, 0.15);
}

.pricing-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.pricing-heading h2,
.resources-heading h2 {
  margin: 0 0 0.9rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}

.pricing-heading > p:not(.orange-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

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

.price-card {
  position: relative;
  min-height: 540px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border: 3px solid var(--wood-dark);
  box-shadow: 7px 9px 0 rgba(61, 46, 31, 0.14);
}

.price-card--free {
  background-color: var(--parchment);
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 12% 16%, rgba(124, 76, 28, 0.11), transparent 38%),
    linear-gradient(110deg, rgba(255,255,255,0.14), transparent 32%, rgba(103,61,24,0.06));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: multiply, multiply, normal;
}

.price-card--premium {
  color: var(--white);
  background-color: var(--forest);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 78% 16%, rgba(201, 164, 77, 0.075), transparent 34%),
    linear-gradient(105deg, transparent, rgba(0,0,0,0.12));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, normal;
  border-color: var(--forest-deep);
  box-shadow:
    inset 0 0 0 3px rgba(212, 168, 83, 0.4),
    7px 9px 0 rgba(61, 46, 31, 0.18);
}

.price-label {
  margin-bottom: 0.35rem;
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-card--premium .price-label {
  color: var(--gold-light);
}

.price-card h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card--premium h3 {
  color: var(--white);
}

.price {
  margin: 1.15rem 0 0.7rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.price strong {
  font-family: var(--display);
  font-size: clamp(3.5rem, 6vw, 5.4rem);
  line-height: 0.85;
}

.price span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card--premium .price span {
  color: #d8d0c1;
}

.annual-price {
  margin: 0 0 1rem;
  color: #d8d0c1;
  font-size: 0.82rem;
  font-weight: 700;
}

.annual-price strong {
  color: var(--gold-light);
}

.price-card ul {
  width: 100%;
  margin: 1.1rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.price-card--premium li::before {
  color: var(--gold-light);
}

.price-card .play-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.resources-section {
  --rough-color: var(--forest);
  padding: clamp(4.5rem, 8vw, 7.5rem) max(28px, calc((100% - 1180px) / 2));
  position: relative;
  color: var(--white);
  background:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 20% 20%, rgba(198, 164, 80, 0.07), transparent 32%),
    radial-gradient(ellipse at 86% 82%, rgba(0, 12, 7, 0.24), transparent 39%),
    linear-gradient(100deg, rgba(255,255,255,0.016), transparent 30%, rgba(0,0,0,0.09)),
    var(--forest);
  background-size: 256px 256px, auto, auto, auto, auto;
  background-blend-mode: soft-light, screen, multiply, normal, normal;
}

.resources-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 3rem;
}

.resources-heading h2 {
  margin-bottom: 0;
  color: var(--white);
}

.resources-heading > p {
  margin-bottom: 0.35rem;
  color: #e9e0d1;
  font-weight: 700;
  line-height: 1.6;
}

.resource-tools {
  margin: 2.5rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.resource-tools label {
  width: min(440px, 100%);
}

.resource-tools input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--cream-light);
  border: 3px solid var(--forest-deep);
  box-shadow: 4px 5px 0 rgba(0,0,0,0.18);
  font: 800 0.9rem var(--body);
}

.resource-tools input:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.resource-tools > a {
  padding-bottom: 0.18rem;
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.blog-card {
  min-height: 215px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background-color: var(--cream-light);
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 15% 18%, rgba(135, 86, 36, 0.07), transparent 44%);
  background-size: 240px 240px, auto;
  background-blend-mode: multiply;
  border: 2px solid var(--forest-deep);
  box-shadow: 4px 5px 0 rgba(0,0,0,0.18);
  transition: transform 120ms ease, background 120ms ease;
}

.blog-card:nth-child(n + 7) {
  display: none;
}

.blog-grid.is-expanded .blog-card,
.blog-grid.is-searching .blog-card {
  display: flex;
}

.blog-card[hidden] {
  display: none !important;
}

.blog-card:hover,
.blog-card:focus-visible {
  background: #f2dfc9;
  transform: translateY(-3px);
}

.blog-card time {
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0.55rem 0 0.65rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.08;
}

.blog-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.blog-card > span {
  margin-top: auto;
  color: var(--orange-deep);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-loading {
  grid-column: 1 / -1;
  color: #d9d1c5;
  font-weight: 800;
}

.archive-toggle {
  min-height: 52px;
  margin: 1.8rem auto 0;
  padding: 0.7rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--forest-deep);
  box-shadow: 4px 5px 0 rgba(0,0,0,0.2);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.archive-toggle[hidden] {
  display: none;
}

.founder-section {
  padding: clamp(2.9rem, 5vw, 5rem) max(28px, calc((100% - 1120px) / 2));
}

.founder-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  background-color: #f2dfb3;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 12% 18%, rgba(255, 246, 204, 0.35), transparent 42%),
    radial-gradient(ellipse at 86% 78%, rgba(104, 64, 27, 0.12), transparent 48%);
  background-size: 238px 238px, auto, auto;
  background-blend-mode: multiply, screen, multiply;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.55),
    0 7px 14px rgba(58, 39, 18, 0.18);
}

.founder-card h2 {
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  line-height: 0.95;
}

.founder-card p:not(.orange-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
}

.founder-card > a {
  min-height: 56px;
  padding: 0.85rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--white);
  background: var(--forest);
  border: 3px solid var(--wood-dark);
  box-shadow: 4px 5px 0 rgba(67, 44, 22, 0.22);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-page {
  background: var(--cream);
}

.about-shell {
  width: min(1160px, calc(100% - 56px));
  margin-inline: auto;
}

.about-hero {
  padding: clamp(4.2rem, 7vw, 7.2rem) 0 clamp(3.6rem, 6vw, 6.2rem);
}

.about-shell--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.about-hero h1 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  color: var(--forest);
  font-size: clamp(3.65rem, 8vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.about-lede {
  max-width: 660px;
  margin-bottom: 1.6rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  font-weight: 800;
  line-height: 1.5;
}

.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.about-actions .text-button {
  color: var(--forest);
}

.about-founder-card {
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  position: relative;
  color: var(--white);
  background-color: var(--forest);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 18% 14%, rgba(255, 212, 103, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.035), transparent 34%, rgba(0,0,0,0.16));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, normal;
  border: 3px solid var(--wood-dark);
  box-shadow:
    inset 0 0 0 1px rgba(255, 212, 103, 0.22),
    9px 10px 0 rgba(61, 46, 31, 0.16);
  transform: rotate(1deg);
}

.about-founder-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 212, 103, 0.3);
  pointer-events: none;
}

.about-founder-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 1.2rem;
  image-rendering: pixelated;
  filter: drop-shadow(4px 5px 0 rgba(0,0,0,0.24));
}

.about-founder-card p {
  margin-bottom: 1.2rem;
  font-family: var(--brand);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.12;
}

.about-founder-card span {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-story {
  padding: clamp(3.6rem, 6vw, 6rem) 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.6rem);
}

.about-story h2,
.belief-heading h2,
.about-proof-card h2 {
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.92;
}

.about-story-card {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  background-color: #f1ddb0;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 12% 16%, rgba(255, 248, 213, 0.35), transparent 44%),
    radial-gradient(ellipse at 92% 86%, rgba(99, 62, 26, 0.14), transparent 42%);
  background-size: 238px 238px, auto, auto;
  background-blend-mode: multiply, screen, multiply;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.55),
    0 8px 14px rgba(58, 39, 18, 0.16);
}

.about-story-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.62;
}

.about-story-card p:last-child {
  margin-bottom: 0;
}

.belief-section {
  padding: clamp(3.8rem, 6vw, 6.2rem) 0;
  color: var(--white);
  background-color: var(--forest-deep);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 18% 22%, rgba(212, 168, 83, 0.08), transparent 35%),
    radial-gradient(ellipse at 86% 76%, rgba(196, 93, 53, 0.07), transparent 38%);
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, screen;
}

.belief-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.belief-heading h2 {
  color: var(--white);
}

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

.belief-card {
  min-height: 285px;
  padding: 1.35rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(6, 45, 34, 0.82);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent);
  background-size: 220px 220px, auto;
  border: 1px solid rgba(255, 212, 103, 0.28);
  box-shadow: 5px 6px 0 rgba(0,0,0,0.14);
}

.belief-card img {
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 rgba(0,0,0,0.25));
}

.belief-card h3 {
  margin-bottom: 0.65rem;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.belief-card p {
  margin-bottom: 0;
  color: #f7ead7;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.5;
}

.about-proof {
  padding: clamp(3.4rem, 6vw, 5.6rem) 0;
}

.about-proof-card {
  padding: clamp(1.7rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 0.85fr);
  align-items: start;
  gap: clamp(1.8rem, 5vw, 4rem);
  background-color: #f2dfb3;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 16% 18%, rgba(255, 246, 204, 0.35), transparent 42%),
    radial-gradient(ellipse at 86% 78%, rgba(104, 64, 27, 0.12), transparent 48%);
  background-size: 238px 238px, auto, auto;
  background-blend-mode: multiply, screen, multiply;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.55),
    0 7px 14px rgba(58, 39, 18, 0.18);
}

.about-proof-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-proof-card li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: var(--muted);
  border-bottom: 1px dashed rgba(91, 64, 32, 0.25);
  font-weight: 900;
}

.about-proof-card li:last-child {
  border-bottom: 0;
}

.about-proof-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest-mid);
  font-weight: 900;
}

.about-cta {
  min-height: 190px;
  padding: 2.2rem max(28px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  background-color: #0b523b;
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 16% 24%, rgba(210, 178, 91, 0.07), transparent 32%),
    linear-gradient(100deg, transparent, rgba(0,0,0,0.12));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, normal;
  border-top: 1px dashed rgba(212, 168, 83, 0.38);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.about-cta > img {
  width: 140px;
  image-rendering: pixelated;
}

.about-cta p {
  margin-bottom: 0.1rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 0.95;
}

.role-page {
  background: var(--cream);
}

.role-shell {
  width: min(1160px, calc(100% - 56px));
  margin-inline: auto;
}

.role-hero {
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3.2rem, 5.8vw, 5.8rem);
}

.role-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(2.4rem, 6vw, 5rem);
}

.role-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 1.05rem;
  color: var(--forest);
  font-size: clamp(3.35rem, 7vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.role-hero-copy > p:not(.orange-kicker) {
  max-width: 665px;
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  font-weight: 800;
  line-height: 1.52;
}

.role-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
}

.role-actions .text-button {
  color: var(--forest);
}

.role-trust-row {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.role-trust-row span {
  padding: 0.42rem 0.65rem;
  color: var(--forest);
  background: rgba(255, 250, 245, 0.72);
  border: 1px dashed rgba(7, 63, 47, 0.28);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.role-preview {
  padding: 1rem;
  position: relative;
  color: var(--ink);
  background-color: #4d321f;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 18%, rgba(0,0,0,0.12)),
    repeating-linear-gradient(90deg, transparent 0 112px, rgba(31, 19, 12, 0.22) 112px 115px);
  border: 4px solid var(--wood-dark);
  box-shadow:
    inset 0 0 0 2px rgba(255, 212, 103, 0.14),
    9px 10px 0 rgba(61, 46, 31, 0.16);
  transform: rotate(0.7deg);
}

.role-preview::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 212, 103, 0.22);
  pointer-events: none;
}

.role-preview > * {
  position: relative;
  z-index: 1;
}

.role-preview-top,
.role-player-row,
.role-stat-grid,
.role-topic-list,
.role-week-list,
.role-teacher-note,
.role-quest-note {
  background-color: #f3e2bd;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 18% 18%, rgba(255, 248, 215, 0.34), transparent 45%);
  background-size: 238px 238px, auto;
  background-blend-mode: multiply, screen;
  border: 1px solid rgba(91, 59, 26, 0.42);
}

.role-preview-top {
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.role-preview-top strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-player-row {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.role-player-row img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 rgba(67, 44, 22, 0.17));
}

.role-player-row span {
  display: block;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.role-player-row small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.role-stat-grid {
  margin-bottom: 0.75rem;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.role-stat-grid div {
  padding: 0.7rem 0.45rem;
  text-align: center;
  background: rgba(255, 250, 242, 0.54);
  border: 1px solid rgba(91, 59, 26, 0.18);
}

.role-stat-grid strong {
  display: block;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.role-stat-grid span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-topic-list,
.role-week-list {
  padding: 0.85rem;
}

.role-topic-list p {
  margin: 0 0 0.58rem;
  display: grid;
  grid-template-columns: 112px 1fr 38px;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.role-topic-list p:last-child {
  margin-bottom: 0;
}

.role-topic-list i {
  height: 9px;
  overflow: hidden;
  background: rgba(90, 67, 42, 0.18);
  border: 1px solid rgba(62, 42, 21, 0.2);
}

.role-topic-list b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--forest-mid));
}

.role-topic-list em {
  font-style: normal;
  text-align: right;
}

.role-teacher-note,
.role-quest-note {
  margin-top: 0.75rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}

.role-teacher-note img,
.role-quest-note img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  image-rendering: pixelated;
}

.role-week-list p {
  margin: 0 0 0.58rem;
  padding: 0.62rem;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 250, 242, 0.48);
  border: 1px solid rgba(91, 59, 26, 0.16);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.role-week-list p:last-child {
  margin-bottom: 0;
}

.role-week-list strong {
  color: var(--orange-deep);
  font-family: var(--display);
  text-transform: uppercase;
}

.role-week-list em {
  color: var(--forest);
  font-style: normal;
}

.role-proof-strip {
  min-height: 116px;
  padding: 0 max(28px, calc((100% - 1160px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background-color: var(--forest);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    linear-gradient(90deg, rgba(0,0,0,0.08), transparent, rgba(0,0,0,0.1));
  background-size: 256px 256px, auto;
  background-blend-mode: soft-light, normal;
  border-top: 1px dashed rgba(212, 168, 83, 0.45);
  border-bottom: 1px dashed rgba(212, 168, 83, 0.45);
}

.role-proof-strip div {
  min-height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-right: 1px dashed rgba(244, 182, 44, 0.36);
}

.role-proof-strip div:last-child {
  border-right: 0;
}

.role-proof-strip strong {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 0.9;
}

.role-proof-strip span {
  margin-top: 0.45rem;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.role-section {
  padding: clamp(3.6rem, 6vw, 6.2rem) 0;
}

.role-section--dark {
  color: var(--white);
  background-color: var(--forest-deep);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 18% 22%, rgba(212, 168, 83, 0.08), transparent 35%),
    radial-gradient(ellipse at 86% 76%, rgba(196, 93, 53, 0.07), transparent 38%);
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, screen;
}

.role-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.4rem);
}

.role-section-copy h2,
.role-section-head h2,
.role-free-panel h2,
.role-faq h2,
.role-price-card h2 {
  margin-bottom: 0.85rem;
  color: var(--forest);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.92;
}

.role-section--dark .role-section-copy h2,
.role-section--dark .role-section-copy p:not(.gold-kicker) {
  color: var(--white);
}

.role-section-copy p:not(.orange-kicker):not(.gold-kicker),
.role-section-head > p,
.role-free-panel > div > p,
.role-price-card p {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
}

.role-section--dark .role-section-copy p:not(.gold-kicker) {
  color: #f1dcc0;
}

.role-section-head {
  max-width: 870px;
  margin-bottom: 2rem;
}

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

.role-feature-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-feature-grid article {
  min-height: 230px;
  padding: 1.25rem 1.1rem;
  background-color: #f1ddb0;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 12% 16%, rgba(255, 248, 213, 0.35), transparent 44%),
    radial-gradient(ellipse at 92% 86%, rgba(99, 62, 26, 0.14), transparent 42%);
  background-size: 238px 238px, auto, auto;
  background-blend-mode: multiply, screen, multiply;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.55),
    0 6px 10px rgba(58, 39, 18, 0.13);
}

.role-feature-grid img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.9rem;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 rgba(67, 44, 22, 0.17));
}

.role-feature-grid h3,
.role-vendor-list h3 {
  margin-bottom: 0.55rem;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.role-feature-grid p,
.role-vendor-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.48;
}

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

.role-price-card,
.role-free-panel {
  padding: clamp(1.5rem, 3.4vw, 2.55rem);
  background-color: #f1ddb0;
  background-image:
    url("/public/assets/game/official/parchment-wear.png"),
    radial-gradient(ellipse at 12% 16%, rgba(255, 248, 213, 0.35), transparent 44%);
  background-size: 238px 238px, auto;
  background-blend-mode: multiply, screen;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 215, 0.55),
    0 7px 12px rgba(0,0,0,0.18);
}

.role-price-card--gold {
  background-color: #f4ca70;
  border-color: rgba(61, 46, 31, 0.5);
}

.role-price-card h2 {
  color: var(--forest-deep);
}

.role-price-card ul,
.role-free-panel ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.role-price-card li,
.role-free-panel li {
  padding: 0.65rem 0 0.65rem 1.75rem;
  position: relative;
  color: var(--muted);
  border-bottom: 1px dashed rgba(91, 64, 32, 0.22);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.38;
}

.role-price-card li:last-child,
.role-free-panel li:last-child {
  border-bottom: 0;
}

.role-price-card li::before,
.role-free-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest-mid);
}

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

.role-steps li {
  padding: 1rem;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  background: rgba(255, 250, 245, 0.08);
  border: 1px solid rgba(255, 212, 103, 0.22);
}

.role-steps span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--wood-dark);
  font-family: var(--display);
  font-weight: 900;
}

.role-steps strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.role-steps p {
  margin: 0.18rem 0 0;
  color: #f1dcc0;
  font-size: 0.9rem;
  font-weight: 800;
}

.role-free-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(1.6rem, 4vw, 3rem);
}

.role-vendor-list {
  display: grid;
  gap: 1rem;
}

.role-vendor-list article {
  padding: 1.25rem;
  background-color: #f1ddb0;
  background-image: url("/public/assets/game/official/parchment-wear.png");
  background-size: 238px 238px;
  background-blend-mode: multiply;
  border: 1px solid rgba(103, 72, 35, 0.48);
}

.role-vendor-list a {
  color: var(--orange-deep);
  text-decoration: underline;
}

.role-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.role-faq-list {
  display: grid;
  gap: 0.75rem;
}

.role-faq-list details {
  background-color: #f1ddb0;
  background-image: url("/public/assets/game/official/parchment-wear.png");
  background-size: 238px 238px;
  background-blend-mode: multiply;
  border: 1px solid rgba(103, 72, 35, 0.48);
  box-shadow: 0 5px 9px rgba(58, 39, 18, 0.11);
}

.role-faq-list summary {
  padding: 1rem 1.1rem;
  color: var(--forest);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.role-faq-list p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.role-cta {
  min-height: 190px;
  padding: 2.2rem max(28px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  background-color: #0b523b;
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 16% 24%, rgba(210, 178, 91, 0.07), transparent 32%),
    linear-gradient(100deg, transparent, rgba(0,0,0,0.12));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, normal;
  border-top: 1px dashed rgba(212, 168, 83, 0.38);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.role-cta > img {
  width: 118px;
  justify-self: center;
  image-rendering: pixelated;
  filter: drop-shadow(4px 5px 0 rgba(0,0,0,0.2));
}

.role-cta p {
  margin-bottom: 0.1rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 0.95;
}

.final-cta {
  min-height: 190px;
  padding: 2.2rem max(28px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  background-color: #0b523b;
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 16% 24%, rgba(210, 178, 91, 0.07), transparent 32%),
    linear-gradient(100deg, transparent, rgba(0,0,0,0.12));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, normal;
  border-top: 1px dashed rgba(212, 168, 83, 0.38);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.final-cta > img {
  width: 140px;
  image-rendering: pixelated;
}

.final-cta p {
  margin-bottom: 0.1rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 0.95;
}

.site-footer {
  --rough-color: var(--forest-deep);
  padding: 3rem max(28px, calc((100% - 1240px) / 2)) 1.1rem;
  position: relative;
  color: var(--white);
  background-color: var(--forest-deep);
  background-image:
    url("/public/assets/game/official/forest-wear.png"),
    radial-gradient(ellipse at 72% 24%, rgba(192, 154, 71, 0.055), transparent 36%),
    linear-gradient(98deg, rgba(255,255,255,0.012), transparent 28%, rgba(0,0,0,0.12));
  background-size: 256px 256px, auto, auto;
  background-blend-mode: soft-light, screen, normal;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.75fr) 1.15fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.brand--footer {
  color: var(--white);
}

.footer-brand p {
  max-width: 230px;
  margin: 1rem 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-brand > span {
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 800;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.footer-grid nav strong,
.footer-cta > span {
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-grid nav a {
  font-size: 0.7rem;
  font-weight: 700;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  color: var(--gold-light);
}

.footer-cta {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px dashed rgba(244, 182, 44, 0.62);
  text-align: center;
}

.footer-cta .play-cta {
  min-width: 0;
  min-height: 56px;
}

.footer-bottom {
  margin-top: 2.7rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  font-size: 0.6rem;
  font-weight: 700;
}

.footer-bottom div {
  display: flex;
  gap: 1.2rem;
}

.signup-dialog {
  width: min(580px, calc(100% - 28px));
  padding: 2.4rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 30%, rgba(126,88,34,0.1) 0 1px, transparent 1.5px),
    var(--cream-light);
  background-size: 13px 13px;
  border: 4px solid var(--wood-dark);
  box-shadow: 12px 14px 0 rgba(17, 19, 14, 0.28);
}

.signup-dialog::backdrop {
  background: rgba(3, 27, 20, 0.72);
}

.signup-dialog h2 {
  margin: 0.3rem 0 0.8rem;
  color: var(--forest);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.95;
}

.signup-dialog > p:not(.orange-kicker) {
  font-weight: 700;
}

.dialog-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

.dialog-options {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.dialog-options a {
  padding: 1.1rem;
  background: var(--parchment);
  border: 2px solid #aa8c58;
}

.dialog-options a:hover,
.dialog-options a:focus-visible {
  background: var(--gold-light);
}

.dialog-options strong,
.dialog-options span {
  display: block;
}

.dialog-options strong {
  color: var(--forest);
  font-family: var(--display);
  text-transform: uppercase;
}

.dialog-options span {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.signup-dialog > small {
  font-weight: 700;
}

.signup-dialog > small a {
  color: var(--orange-deep);
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .site-nav a {
    font-size: 0.74rem;
  }

  .hero-shell {
    grid-template-columns: minmax(300px, 0.75fr) minmax(520px, 1.3fr);
    gap: 2.5rem;
  }

  .turn-card {
    width: 67%;
  }

  .proof-item {
    padding-inline: 0.8rem;
  }

  .path-grid {
    gap: 1rem;
  }

  .role-board {
    gap: 1rem;
  }

  .role-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.82fr);
  }

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

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

  .world-section {
    grid-template-columns: 310px 1fr;
    gap: 2.5rem;
  }

  .battle-section,
  .adults-section {
    grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.2fr);
    gap: 3rem;
  }

  .teacher-note {
    right: 0;
  }

  .teacher-sprite {
    right: -5px;
  }
}

@media (max-width: 980px) {
  body {
    font-size: 16px;
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    background: transparent;
    border: 2px solid var(--forest);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--forest);
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    padding: 1.2rem 28px 1.4rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--cream-light);
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--forest);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(42, 52, 41, 0.12);
    font-size: 0.9rem;
  }

  .nav-actions .play-cta {
    display: none;
  }

  .nav-actions {
    justify-self: end;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav-actions {
    grid-column: 3;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

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

  .hero h1 {
    max-width: 620px;
    font-size: clamp(4rem, 10vw, 6.2rem);
  }

  .hero-lede {
    max-width: 580px;
  }

  .hero-encounter {
    width: 92%;
    margin-left: auto;
  }

  .proof-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px dashed rgba(244, 182, 44, 0.48);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .path-grid {
    max-width: 720px;
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .role-board {
    max-width: 720px;
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .role-board-card,
  .role-board-card:nth-child(2),
  .role-board-card:nth-child(3) {
    transform: none;
  }

  .path-card:nth-child(2),
  .path-card:nth-child(3) {
    transform: none;
  }

  .founder-card,
  .role-hero-grid,
  .role-split,
  .role-pricing-grid,
  .role-free-panel,
  .role-faq,
  .about-shell--hero,
  .about-story-grid,
  .about-proof-card {
    grid-template-columns: 1fr;
  }

  .founder-card > a {
    width: max-content;
  }

  .about-founder-card {
    max-width: 520px;
    transform: rotate(-0.5deg);
  }

  .role-preview {
    max-width: 560px;
    transform: rotate(-0.35deg);
  }

  .parchment-card {
    min-height: 245px;
    grid-template-columns: 90px 1fr;
  }

  .world-section,
  .battle-section,
  .adults-section {
    grid-template-columns: 1fr;
  }

  .resources-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .world-copy,
  .battle-copy,
  .adults-copy {
    max-width: 650px;
  }

  .world-map-frame,
  .battle-world,
  .monitor-scene {
    width: 95%;
    margin-left: auto;
  }

  .final-cta {
    grid-template-columns: 110px 1fr;
  }

  .about-cta {
    grid-template-columns: 110px 1fr;
  }

  .role-cta {
    grid-template-columns: 110px 1fr;
  }

  .final-cta > img {
    width: 110px;
  }

  .about-cta > img {
    width: 110px;
  }

  .role-cta > img {
    width: 100px;
  }

  .final-cta .play-cta {
    grid-column: 2;
    width: 260px;
  }

  .about-cta .play-cta {
    grid-column: 2;
    width: 260px;
  }

  .role-cta .play-cta {
    grid-column: 2;
    width: 260px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
  }

  .footer-cta {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .hero-shell,
  .about-shell,
  .role-shell,
  .feature-grid {
    width: min(100% - 32px, var(--max));
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
  }

  .brand {
    font-size: 1.27rem;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .hero {
    padding: 2.8rem 0 2.5rem;
  }

  .hero-shell {
    gap: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17vw, 5rem);
    line-height: 0.88;
  }

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

  .play-cta--hero {
    width: min(280px, calc(100% - 8px));
    min-width: 0;
    min-height: 62px;
    font-size: 1.12rem;
  }

  .hero-encounter {
    width: 100%;
    padding: 9px;
    border-width: 4px;
    transform: none;
  }

  .turn-card {
    top: 4%;
    width: 82%;
    grid-template-columns: 1fr 78px;
  }

  .turn-card > span {
    width: 105px;
    padding: 0.16rem;
    font-size: 0.56rem;
  }

  .problem-card {
    min-height: 66px;
    padding: 0.35rem;
  }

  .problem-card small {
    font-size: 0.61rem;
  }

  .problem-card strong {
    font-size: 1.05rem;
  }

  .answer-list {
    padding: 0.2rem;
  }

  .answer-list button {
    padding: 0;
    font-size: 0.58rem;
  }

  .combatant {
    bottom: 18%;
  }

  .fighter-sprite--player {
    --sheet-width: 1856px;
    width: 58px;
    height: 87px;
    background-size: var(--sheet-width) 87px;
  }

  .fighter-sprite--slime {
    --sheet-width: 1728px;
    width: 54px;
    height: 54px;
    background-size: var(--sheet-width) 54px;
  }

  .combatant > div {
    min-width: 75px;
    padding: 0.25rem;
    border-width: 2px;
  }

  .combatant--enemy > div {
    min-width: 82px;
  }

  .combatant strong {
    font-size: 0.52rem;
  }

  .combatant > div span,
  .combatant small {
    font-size: 0.42rem;
  }

  .battle-impact--player {
    right: 20%;
  }

  .battle-impact--slime {
    left: 17%;
  }

  .battle-result {
    min-height: 28px;
    padding: 0.35rem 0.45rem;
    border-width: 2px;
    font-size: 0.52rem;
  }

  .proof-bar {
    min-height: 0;
    padding: 0;
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    min-height: 92px;
    padding: 0.7rem;
    justify-content: flex-start;
  }

  .proof-item img {
    width: 48px;
    height: 48px;
  }

  .proof-item strong {
    font-size: 1.05rem;
  }

  .proof-item p span {
    font-size: 0.66rem;
  }

  .proof-heart {
    font-size: 2.2rem;
  }

  .path-section,
  .role-board-section,
  .founder-section {
    padding-inline: 16px;
  }

  .path-heading,
  .role-board-heading {
    text-align: left;
  }

  .path-heading > p:not(.orange-kicker),
  .role-board-heading p:not(.gold-kicker) {
    margin-inline: 0;
  }

  .path-card,
  .role-board-card {
    min-height: 0;
    padding: 1.35rem 1.2rem 1.15rem;
  }

  .founder-card > a {
    width: 100%;
  }

  .about-hero,
  .about-story,
  .belief-section,
  .about-proof,
  .role-hero,
  .role-section {
    padding-block: 3rem;
  }

  .about-hero h1,
  .role-hero-copy h1 {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

  .about-actions,
  .role-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-actions .play-cta,
  .about-actions .text-button,
  .role-actions .play-cta,
  .role-actions .text-button {
    width: 100%;
    justify-content: center;
  }

  .role-preview {
    padding: 0.72rem;
    border-width: 3px;
  }

  .role-stat-grid {
    grid-template-columns: 1fr;
  }

  .role-topic-list p {
    grid-template-columns: 92px 1fr 34px;
    gap: 0.35rem;
  }

  .role-week-list p {
    grid-template-columns: 36px 1fr;
  }

  .role-week-list em {
    grid-column: 2;
  }

  .role-proof-strip {
    padding-inline: 0;
    grid-template-columns: 1fr;
  }

  .role-proof-strip div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px dashed rgba(244, 182, 44, 0.36);
  }

  .role-proof-strip div:last-child {
    border-bottom: 0;
  }

  .role-feature-grid,
  .role-feature-grid--wide {
    grid-template-columns: 1fr;
  }

  .belief-grid {
    grid-template-columns: 1fr;
  }

  .map-character--slime {
    width: 5cqw;
  }

  .map-npc--vella {
    --npc-size: 5cqw;
  }

  .world-player {
    --world-player-width: 5cqw;
  }

  .world-hit-spark {
    top: 70%;
  }

  .world-gear-card {
    top: 28%;
    left: 41%;
    width: 57%;
    min-height: 56px;
    padding: 0.42rem 0.45rem 0.42rem 3.15rem;
    border-width: 2px;
  }

  .world-gear-card img {
    left: 0.35rem;
    width: 34px;
  }

  .world-gear-card strong {
    font-size: 0.64rem;
  }

  .world-gear-card small {
    font-size: 0.52rem;
  }

  .features {
    padding: 2.5rem 0;
  }

  .parchment-card {
    min-height: 0;
    padding: 1.5rem 1.25rem 1.1rem;
    grid-template-columns: 64px 1fr;
    column-gap: 0.7rem;
  }

  .parchment-card > img,
  .friend-icon,
  .report-icon {
    width: 58px;
    height: 58px;
  }

  .parchment-card h2 {
    font-size: 1.65rem;
  }

  .parchment-card p {
    font-size: 0.83rem;
  }

  .world-section,
  .battle-section,
  .adults-section {
    padding: 3.6rem 20px;
  }

  .pricing-section,
  .resources-section {
    padding: 3.8rem 20px;
  }

  .pricing-heading {
    text-align: left;
  }

  .pricing-heading h2,
  .resources-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .pricing-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
    padding: 1.7rem 1.35rem;
  }

  .price-card .play-cta {
    margin-top: 0.6rem;
  }

  .resource-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-tools > a {
    width: max-content;
  }

  .world-copy h2,
  .battle-copy h2,
  .adults-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .world-map-frame,
  .battle-world,
  .monitor-scene {
    width: 100%;
  }

  .map-label {
    right: 13px;
    bottom: 13px;
    left: 13px;
    min-width: 0;
    padding-left: 3.5rem;
  }

  .map-label img {
    width: 55px;
  }

  .battle-world > img {
    height: auto;
  }

  .battle-world-label {
    right: 17px;
    bottom: 16px;
    left: 17px;
  }

  .monitor-scene {
    padding-bottom: 50px;
  }

  .monitor {
    padding: 7px 7px 14px;
  }

  .monitor-screen {
    min-height: 285px;
    grid-template-columns: 95px 1fr;
  }

  .monitor-screen aside {
    padding: 0.7rem 0.45rem;
  }

  .mini-brand {
    margin-bottom: 0.8rem;
    font-size: 0.68rem;
  }

  .monitor-screen aside > strong {
    font-size: 0.54rem;
  }

  .monitor-screen aside nav {
    margin-top: 0.7rem;
  }

  .portal-sidebar nav button {
    padding: 0.35rem 0.25rem;
    font-size: 0.47rem;
  }

  .portal-main {
    padding: 0.7rem;
  }

  .portal-heading {
    margin-bottom: 0.48rem;
    align-items: flex-start;
  }

  .portal-heading span {
    font-size: 0.78rem;
  }

  .portal-heading small {
    font-size: 0.52rem;
  }

  .portal-heading button {
    display: none;
  }

  .portal-child-row {
    margin-bottom: 0.48rem;
    gap: 0.25rem;
  }

  .portal-child-row button {
    padding: 0.3rem 0.4rem;
    font-size: 0.48rem;
  }

  .portal-status {
    padding: 0.52rem;
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  .portal-status strong,
  .portal-status p,
  .portal-note {
    font-size: 0.5rem;
  }

  .portal-range {
    margin: 0.45rem 0;
  }

  .portal-range button,
  .standard-modes button {
    padding: 0.28rem 0.38rem;
    font-size: 0.48rem;
  }

  .portal-activity {
    height: 72px;
    padding: 0.45rem;
    gap: 0.24rem;
  }

  .portal-report,
  .portal-card button,
  .portal-report-card button {
    padding: 0.42rem 0.5rem;
    font-size: 0.52rem;
  }

  .portal-login-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .portal-card,
  .portal-report-card,
  .portal-standards,
  .standard-list {
    padding: 0.58rem;
    border-radius: 11px;
  }

  .portal-card--play {
    display: none;
  }

  .portal-card strong,
  .portal-report-card strong,
  .portal-standards strong {
    margin-bottom: 0.35rem;
    font-size: 0.56rem;
  }

  .portal-card label {
    font-size: 0.42rem;
  }

  .portal-card code {
    margin-bottom: 0.3rem;
    padding: 0.25rem 0.35rem;
    font-size: 0.52rem;
  }

  .portal-card p,
  .portal-report-card p,
  .portal-standards small,
  .portal-report-card ul {
    font-size: 0.52rem;
  }

  .portal-standards {
    margin-bottom: 0.45rem;
  }

  .portal-standards > span {
    font-size: 0.4rem;
  }

  .standard-modes {
    margin-bottom: 0.45rem;
  }

  .standard-list p {
    grid-template-columns: 66px 1fr 20px;
    gap: 0.28rem;
    font-size: 0.42rem;
  }

  .standard-list i {
    height: 6px;
  }

  .teacher-note {
    top: -32px;
    right: 0;
    width: 170px;
    padding: 0.65rem;
  }

  .teacher-note strong {
    font-size: 0.67rem;
  }

  .teacher-note span {
    font-size: 0.56rem;
  }

  .teacher-sprite {
    right: -8px;
    width: 95px;
  }

  .monitor-stand {
    width: 130px;
    height: 50px;
  }

  .final-cta {
    padding: 2rem 20px 2.4rem;
    grid-template-columns: 75px 1fr;
    gap: 1rem;
  }

  .about-cta {
    padding: 2rem 20px 2.4rem;
    grid-template-columns: 75px 1fr;
    gap: 1rem;
  }

  .role-cta {
    padding: 2rem 20px 2.4rem;
    grid-template-columns: 75px 1fr;
    gap: 1rem;
  }

  .final-cta > img {
    width: 78px;
  }

  .about-cta > img {
    width: 78px;
  }

  .role-cta > img {
    width: 74px;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .about-cta h2 {
    font-size: 2rem;
  }

  .role-cta h2 {
    font-size: 2rem;
  }

  .final-cta .play-cta {
    grid-column: 1 / -1;
    width: min(280px, calc(100% - 14px));
    margin-inline: auto;
  }

  .about-cta .play-cta {
    grid-column: 1 / -1;
    width: min(280px, calc(100% - 14px));
    margin-inline: auto;
  }

  .role-cta .play-cta {
    grid-column: 1 / -1;
    width: min(280px, calc(100% - 14px));
    margin-inline: auto;
  }

  .site-footer {
    padding: 2.5rem 20px 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.3rem;
  }

  .footer-brand,
  .footer-cta {
    grid-column: 1 / -1;
  }

  .footer-cta {
    max-width: none;
  }

  .footer-grid nav:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .dialog-options {
    grid-template-columns: 1fr;
  }

  .signup-dialog {
    padding: 2rem 1.3rem 1.5rem;
  }
}

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

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

  .fighter-sprite,
  .battle-impact,
  .combatant--enemy,
  .map-npc,
  .world-player,
  .world-hit-spark,
  .world-gear-card,
  .combatant i b {
    animation: none !important;
  }

  .world-player--standard {
    opacity: 1 !important;
    left: 71.25% !important;
    top: 61.111% !important;
  }

  .world-player--alethian,
  .world-hit-spark,
  .world-gear-card {
    opacity: 0 !important;
  }
}
