/* Word Biome site. The page background is the selected biome;
   scrolling moves from its top (surface, canopy, entrance) to its floor. */

:root {
  --cream: #FFF4DC;
  --cream-shade: #B08A5A;
  --ink: #2A1E14;
  --ink-soft: #6B5440;
  --red: #B8322A;
  --red-shade: #7E1F19;
  --gold: #E3B341;
  --gold-shade: #A77D1E;
  --teal: #1F7A74;
  --teal-shade: #13524E;
  --orange: #D9701C;
  --orange-shade: #9A4C10;
  --burlap: #A9825A;
  --burlap-shade: #7A5A38;

  --display: "Lilita One", "Trebuchet MS", sans-serif;
  --body: "Nunito", "Trebuchet MS", sans-serif;

  /* Swapped per biome below */
  --bg: linear-gradient(180deg, #8AD8E8 0, #3C9CC0 520px, #17648C 1500px, #0D3F62 3200px, #06192C 100%);
}

/* Biome palettes. When the Blender web renders are ready, add them here as
   layered background-image values on .biome-scene (see README). */
[data-biome="ocean"]  { --bg: linear-gradient(180deg, #8AD8E8 0, #3C9CC0 520px, #17648C 1500px, #0D3F62 3200px, #06192C 100%); }
[data-biome="forest"] { --bg: linear-gradient(180deg, #C4E38E 0, #6FA84E 520px, #33693A 1500px, #1E4226 3200px, #22170F 100%); }
[data-biome="cave"]   { --bg: linear-gradient(180deg, #9A8670 0, #5C4A52 520px, #33283F 1500px, #1E1729 3200px, #0D0913 100%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  color: var(--cream);
  background: #06192C;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Scene ---------- */
.biome-scene {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--bg);
  transition: background 0.5s ease;
}
.decor { position: absolute; pointer-events: none; z-index: 0; }
.decor-top { top: 0; left: 0; width: 100%; height: 130px; }
.decor-floor { bottom: 0; left: 0; width: 100%; height: 170px; }
.biome-set { display: none; }
[data-biome="ocean"] .biome-set[data-for="ocean"],
[data-biome="forest"] .biome-set[data-for="forest"],
[data-biome="cave"] .biome-set[data-for="cave"] { display: block; }
@media (max-width: 760px) { .decor-side { display: none; } }

/* ---------- Felt ---------- */
.felt {
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px),
    radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.4px);
  background-size: 7px 7px, 9px 9px;
  background-position: 0 0, 3px 4px;
}
.stitch { outline: 2px dashed rgba(176,138,90,.7); outline-offset: -10px; }
.stitch-light { outline: 2px dashed rgba(255,244,220,.55); outline-offset: -10px; }
.stitch-gold { outline: 2px dashed rgba(227,179,65,.85); outline-offset: -6px; }
.panel-cream { background-color: var(--cream); color: var(--ink); box-shadow: 0 6px 0 var(--cream-shade); }

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 200px;
  display: flex;
  flex-direction: column;
  gap: 112px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
p { margin: 0; }
.section { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 24px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.section-head p { font-size: 18px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 16px;
  font: 800 16px/1 var(--body);
  text-decoration: none; cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translateY(3px); }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 0 5px 0 #000; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 5px 0 var(--gold-shade); }
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 var(--cream-shade); }
.pill {
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  font: 800 15px/1 var(--body); color: var(--ink);
  background: #EADBB9; box-shadow: 0 4px 0 var(--cream-shade);
  cursor: pointer;
}
.pill[aria-pressed="true"] { background: var(--gold); box-shadow: 0 4px 0 var(--gold-shade); }

/* ---------- Nav ---------- */
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px 10px 10px;
  background-color: var(--cream); color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--cream-shade), 0 14px 28px rgba(0,0,0,.22);
  outline: 2px dashed rgba(176,138,90,.7); outline-offset: -7px;
}
.logo {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 22px;
  background-color: var(--red); color: var(--cream);
  border-radius: 999px; text-decoration: none;
  font: 400 24px/1 var(--display); letter-spacing: .5px;
  box-shadow: 0 4px 0 var(--red-shade);
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-weight: 800; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px; border-radius: 12px; }
.nav-links a:not(.btn):hover { background: rgba(176,138,90,.2); }
.nav-links .btn { min-height: 44px; padding: 0 20px; border-radius: 999px; margin-left: 6px; background: var(--teal); color: var(--cream); box-shadow: 0 4px 0 var(--teal-shade); }
@media (max-width: 760px) {
  .nav { border-radius: 28px; justify-content: center; }
  .nav-links { justify-content: center; }
  .nav-links a:not(.btn) { padding: 10px 8px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-top: -40px; }
.hero-card {
  flex: 1 1 420px;
  border-radius: 32px; padding: 44px 40px 40px;
  background-color: var(--cream); color: var(--ink);
  box-shadow: 0 8px 0 var(--cream-shade), 0 24px 44px rgba(0,0,0,.3);
  outline: 3px dashed rgba(176,138,90,.65); outline-offset: -14px;
  display: flex; flex-direction: column; gap: 20px;
}
.hero-card h1 { font-size: clamp(44px, 6vw, 72px); line-height: .98; color: var(--red); }
.hero-card .lede { font-size: 19px; max-width: 520px; }
.hero-tag { align-self: flex-start; padding: 6px 14px; background: var(--teal); color: var(--cream); border-radius: 999px; font-weight: 800; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scenery { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 6px 0 0; border: 0; margin: 0; min-width: 0; }
.scenery legend { float: left; margin-right: 4px; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 520px) { .hero-card { padding: 36px 26px 30px; } }

.board-demo { flex: 0 1 380px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.creature-slot {
  width: 190px; height: 150px; border-radius: 50%;
  border: 3px dashed rgba(255,244,220,.8); background: rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; font-size: 14px; padding: 16px;
}
.creature-slot img { width: 100%; height: 100%; object-fit: contain; }
.nameplate {
  background-color: var(--red); border-radius: 999px; padding: 10px 26px;
  font: 400 22px/1.1 var(--display);
  box-shadow: 0 5px 0 var(--red-shade);
}
.sack {
  width: 100%; max-width: 360px;
  background-color: var(--burlap); border-radius: 26px; padding: 22px;
  box-shadow: 0 7px 0 var(--burlap-shade), 0 20px 36px rgba(0,0,0,.35);
}
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tile {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--cream); color: var(--ink);
  font: 400 30px/1 var(--display);
  box-shadow: 0 4px 0 #C9AE84;
}
.tile.hot { background: var(--gold); box-shadow: 0 4px 0 var(--gold-shade); }
.board-caption { font-weight: 800; font-size: 15px; text-shadow: 0 2px 6px rgba(0,0,0,.4); }

/* ---------- How to play ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  border-radius: 24px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font: 400 22px/1 var(--display);
}
.step h3 { font-size: 26px; color: var(--red); }

/* ---------- Biomes ---------- */
.biome-card {
  border-radius: 26px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  border: 4px solid transparent;
}
.biome-card[data-card="ocean"]  { background-color: #1D6F9A; box-shadow: 0 7px 0 #0F4A6B, 0 18px 30px rgba(0,0,0,.25); }
.biome-card[data-card="forest"] { background-color: #3E7D3F; box-shadow: 0 7px 0 #24522A, 0 18px 30px rgba(0,0,0,.25); }
.biome-card[data-card="cave"]   { background-color: #4B3A63; box-shadow: 0 7px 0 #2C2140, 0 18px 30px rgba(0,0,0,.25); }
[data-biome="ocean"] .biome-card[data-card="ocean"],
[data-biome="forest"] .biome-card[data-card="forest"],
[data-biome="cave"] .biome-card[data-card="cave"] { border-color: var(--gold); }
.art-slot {
  height: 130px; border-radius: 16px; overflow: hidden;
  border: 2px dashed rgba(255,244,220,.6); background: rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.art-slot img { width: 100%; height: 100%; object-fit: cover; }
.biome-sub { font-weight: 800; font-size: 15px; opacity: .85; }
.biome-card h3 { font-size: 32px; line-height: 1; }
.biome-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.22); font-weight: 800; font-size: 13px; }
.biome-card .pill { background: var(--cream); box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.biome-card .pill[aria-pressed="true"] { background: var(--gold); box-shadow: 0 4px 0 var(--gold-shade); }
.next-card {
  border-radius: 26px; padding: 26px 24px;
  border: 3px dashed rgba(255,244,220,.7); background: rgba(0,0,0,.2);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.next-card .kicker { font-weight: 800; color: var(--gold); }
.next-card h3 { font-size: 32px; }

/* ---------- Creatures ---------- */
.creatures { display: flex; flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.creatures .section-head { flex: 1 1 380px; }
.roster { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.roster h3 { font: 800 15px/1 var(--body); color: var(--gold); }
.roster ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.roster li { padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.roster li.costume { background: var(--gold); }
.roster li.boss { background: var(--red); color: var(--cream); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 700; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.legend .l-costume::before { background: var(--gold); }
.legend .l-boss::before { background: var(--red); }

.field-card {
  flex: 0 1 360px; margin: 0 auto;
  border-radius: 28px; padding: 26px;
  box-shadow: 0 8px 0 var(--cream-shade), 0 22px 40px rgba(0,0,0,.35);
  display: flex; flex-direction: column; gap: 14px;
  transform: rotate(1.5deg);
}
.field-top { display: flex; justify-content: space-between; align-items: center; }
.field-tag { padding: 5px 12px; background: var(--teal); color: var(--cream); border-radius: 999px; font-weight: 800; font-size: 13px; }
.field-world { font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.field-card .art-slot { height: 150px; border-color: var(--cream-shade); background: #F3E4C2; }
.field-card h3 { font-size: 34px; color: var(--red); }
.field-card dl { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.field-card dt { font-weight: 800; display: inline; }
.field-card dd { margin: 0; display: inline; }
.field-note { font-weight: 800; font-size: 14px; color: var(--ink-soft); }

/* ---------- Daily ---------- */
.daily {
  background-color: var(--orange); border-radius: 30px; padding: 36px 34px;
  box-shadow: 0 8px 0 var(--orange-shade), 0 22px 40px rgba(0,0,0,.3);
  outline: 3px dashed rgba(255,244,220,.6); outline-offset: -12px;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.daily .section-head { flex: 1 1 380px; }
.share-card {
  flex: 0 1 280px; margin: 0 auto;
  background: var(--cream); color: var(--ink);
  border-radius: 20px; padding: 18px 20px;
  box-shadow: 0 5px 0 rgba(0,0,0,.25);
  display: flex; flex-direction: column; gap: 6px;
  transform: rotate(-2deg);
}
.share-card strong { font: 400 22px/1.1 var(--display); color: var(--red); }
.share-card .date { font-weight: 800; color: var(--ink-soft); }
.share-card .result { height: 64px; border-radius: 12px; border: 2px dashed var(--cream-shade); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.duo { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.duo > div { border-radius: 26px; padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.duo h3 { font-size: 30px; }
.boards-card { background-color: var(--teal); box-shadow: 0 7px 0 var(--teal-shade); }
.ach-card { background-color: var(--red); box-shadow: 0 7px 0 var(--red-shade); }
.board-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.board-list li { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.22); font-weight: 800; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.badges li { padding: 10px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; width: 100%; margin: 0 auto; }
.faq .section-head { align-items: center; text-align: center; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 20px; outline-offset: -8px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 18px 24px;
  font-weight: 800; font-size: 18px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; font-size: 16px; }

/* ---------- Get + footer ---------- */
.get { align-items: center; text-align: center; gap: 18px; }
.get h2 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.05; text-shadow: 0 3px 0 rgba(0,0,0,.3); }
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 2px dashed rgba(255,244,220,.35); font-size: 14px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 4px; font-weight: 800; }
.footer nav a { padding: 12px 10px; text-decoration: none; }
.footer nav a:hover { color: var(--gold); }

/* ---------- Simple pages (privacy, terms, support, 404) ---------- */
.page-card {
  border-radius: 32px; padding: 44px 40px;
  background-color: var(--cream); color: var(--ink);
  box-shadow: 0 8px 0 var(--cream-shade), 0 24px 44px rgba(0,0,0,.3);
  outline: 3px dashed rgba(176,138,90,.65); outline-offset: -14px;
  max-width: 760px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.page-card h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1; color: var(--red); }
.page-card h2 { font-size: 26px; color: var(--red); margin-top: 12px; }
.page-card a:not(.btn) { color: var(--teal); font-weight: 800; }
.page-card ul { margin: 0; padding-left: 22px; }
.updated { color: var(--ink-soft); font-weight: 700; }
@media (max-width: 520px) { .page-card { padding: 34px 24px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .biome-scene, .faq summary svg, .btn { transition: none; }
}
.wrap-main { display: contents; }

/* ---------- Home: links into biome and creature pages ---------- */
.biome-link { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.biome-link:hover { color: var(--gold); }
.roster h3 a { color: inherit; text-decoration: none; }
.roster h3 a:hover { text-decoration: underline; }
.roster li a { color: inherit; text-decoration: none; display: block; }
.roster li:hover { box-shadow: 0 3px 0 rgba(0,0,0,.3), 0 0 0 3px var(--gold); }
a.field-card { text-decoration: none; }
a.field-card:hover { transform: rotate(0deg); }
.field-card > span { display: block; }
.field-card .field-top { display: flex; }
.fc-name { font: 400 34px/1 var(--display); color: var(--red); }
.fc-rows { display: flex !important; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.field-note { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: -60px 0 0; padding: 0; font-weight: 800; font-size: 15px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { opacity: .85; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* ---------- Biome page ---------- */
.biome-hero { border-radius: 32px; padding: 44px 40px 40px; max-width: 760px; display: flex; flex-direction: column; gap: 16px; margin-top: -72px; }
.biome-hero h1 { font-size: clamp(46px, 6vw, 72px); line-height: .98; color: var(--red); }
.biome-hero p { font-size: 18px; }
.biome-sub-dark { font-weight: 800; color: var(--teal); font-size: 16px; }
.biome-facts { padding-top: 8px; border-top: 2px dashed rgba(176,138,90,.5); }
@media (max-width: 520px) { .biome-hero { padding: 36px 26px 30px; } }

.carousel-head { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; flex-wrap: wrap; }
.carousel-btns { display: flex; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--cream); color: var(--red); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 0 var(--cream-shade);
}
.round-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cream-shade); }
@media (hover: none) { .carousel-btns { display: none; } }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 20px;
  list-style: none; margin: 0 -20px; padding: 6px 20px 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255,244,220,.5) transparent;
}
.c-card-item { scroll-snap-align: start; display: flex; }
.c-card {
  flex: 1; border-radius: 24px; padding: 22px 20px 20px; text-decoration: none;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .12s ease;
}
.c-card:hover { transform: translateY(-4px); }
.c-card .art-slot { height: 140px; border-color: var(--cream-shade); background: #F3E4C2; margin-bottom: 4px; }
.c-name { font: 400 26px/1.05 var(--display); color: var(--red); }
.c-sci { font-style: italic; color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.c-fact { font-size: 15px; line-height: 1.45; flex: 1; }
.c-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-boss { background: var(--red); color: var(--cream); }
.chip-costume { background: var(--gold); color: var(--ink); }
.biome-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Creature page ---------- */
.creature-page { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: -72px; }
.creature-page .field-card.big { transform: none; margin: 0; max-width: none; position: sticky; top: 24px; }
.field-card.big h1 { font-size: clamp(38px, 5vw, 48px); line-height: 1; color: var(--red); }
.c-sci-big { font-style: italic; font-weight: 700; color: var(--ink-soft); margin-top: -6px; }
.field-card.big .art-slot { height: 200px; }
.creature-body { display: flex; flex-direction: column; gap: 20px; }
.panel-block { border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.panel-block h2 { font-size: 30px; line-height: 1.05; }
.panel-cream h2 { color: var(--red); }
.panel-dark { background-color: rgba(0,0,0,.28); color: var(--cream); box-shadow: 0 6px 0 rgba(0,0,0,.3); }
.fact-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.fact-list li::marker { color: var(--red); }
.myth { border-radius: 16px; background: #F3E4C2; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.sources { font-size: 14px; opacity: .9; padding: 0 6px; }
.sources h2 { font: 800 15px/1.2 var(--body); margin-bottom: 4px; }
.pager { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 8px; }
.pager .btn { min-height: 48px; font-size: 15px; }
@media (max-width: 820px) {
  .creature-page { grid-template-columns: 1fr; }
  .creature-page .field-card.big { position: static; }
  .pager { justify-content: center; }
}
.nav-links a[aria-current="page"] { background: rgba(176,138,90,.25); }
.pager .btn { gap: 8px; }
.field-card > .art-slot { display: flex; }

/* ---------- Know your kit ---------- */
.scenery-inline { padding-top: 4px; }
.kit { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.kit-card { border-radius: 24px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.kit-card h3 { font-size: 28px; line-height: 1.05; color: var(--red); }
.kit-card a { color: var(--teal); font-weight: 800; }
.kit-storm { background-color: var(--gold); color: var(--ink); box-shadow: 0 6px 0 var(--gold-shade); }
.kit-storm h3 { color: var(--ink); }
.relics-wrap { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.relics-title { font-size: 30px; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.relics { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.relic {
  border-radius: 20px; padding: 18px 18px 18px 76px; position: relative; min-height: 88px;
  display: flex; flex-direction: column; gap: 4px; outline-offset: -7px;
}
.relic-badge {
  position: absolute; left: 16px; top: 18px; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font: 400 22px/1 var(--display); box-shadow: 0 3px 0 rgba(0,0,0,.3);
}
.relic-name { font: 400 20px/1.1 var(--display); color: var(--red); }
.relic-text { font-size: 15px; line-height: 1.4; }
.chip-elite { background: var(--teal); color: var(--cream); }

/* ---------- Biome page: how it plays ---------- */
.kit-table { border-radius: 26px; padding: 28px 28px 24px; max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.kit-table dl { margin: 0; display: grid; gap: 0; }
.kit-table dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px dashed rgba(176,138,90,.4); }
.kit-table dl > div:last-child { border-bottom: 0; }
.kit-table dt { font-weight: 800; }
.kit-table dd { margin: 0; }
.kit-more { color: var(--teal); font-weight: 800; }
@media (max-width: 520px) { .kit-table dl > div { grid-template-columns: 1fr; gap: 2px; } }
