:root {
  --ink: #eee8dd;
  --ink-muted: #bdb1a4;
  --night: #0c0a10;
  --night-soft: #15111b;
  --panel: #1b1622;
  --panel-raised: #241c2c;
  --line: #463752;
  --line-soft: rgba(190, 156, 216, 0.18);
  --purple: #a46cff;
  --purple-bright: #c79cff;
  --purple-deep: #5a2f91;
  --amber: #e6aa55;
  --green: #77a65a;
  --red: #b8514e;
  --gold: #d8b957;
  --water: #5e9db8;
  --content: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(103, 47, 153, 0.17), transparent 28rem),
    radial-gradient(circle at 90% 38%, rgba(114, 79, 40, 0.12), transparent 30rem),
    linear-gradient(180deg, #0e0b13, var(--night) 36rem);
  color: var(--ink);
  font: 1rem/1.72 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 32px 32px;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p, ul, ol { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.35rem; }
strong { color: #fffaf2; }
code {
  border: 1px solid rgba(164, 108, 255, 0.3);
  border-radius: 0.3rem;
  background: #0d0912;
  color: var(--purple-bright);
  padding: 0.15rem 0.42rem;
  font: 0.93em/1.5 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.page-shell { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 0; z-index: 100; transform: translateY(-120%); background: var(--purple); color: #10091a; padding: .7rem 1rem; font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: translateY(.75rem); }

.brand-bar { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 3.7rem; height: 3.7rem; border-radius: .45rem; box-shadow: 0 0 25px rgba(142, 78, 230, .25); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 1.15rem/1.1 Georgia, serif; letter-spacing: .04em; text-transform: uppercase; }
.brand small { margin-top: .25rem; color: var(--purple-bright); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.brand-byline { margin: 0; color: var(--ink-muted); font: italic .95rem Georgia, serif; }

.banner-wrap { position: relative; min-height: clamp(23rem, 46vw, 37rem); overflow: hidden; border-block: 1px solid #4b365d; background: #0d0912; }
.banner-wrap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.05) brightness(.78); }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,7,13,.96) 0%, rgba(10,7,13,.76) 32%, rgba(10,7,13,.18) 68%, rgba(10,7,13,.42) 100%), linear-gradient(0deg, #0c0a10 0%, transparent 36%); }
.banner-copy { position: relative; min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 4rem 5rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--purple-bright); font-size: .76rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.banner-copy h1 { margin: 0; max-width: 750px; color: #fbf4e9; font: 700 clamp(3.4rem, 8vw, 6.7rem)/.83 Georgia, "Times New Roman", serif; letter-spacing: -.055em; text-shadow: 0 5px 30px rgba(0,0,0,.7); }
.banner-copy h1 span { color: var(--purple-bright); font-size: .62em; letter-spacing: -.035em; }
.banner-copy > p:last-child { max-width: 36rem; margin: 1.5rem 0 0; color: #d7ccbf; font: italic clamp(1rem, 2vw, 1.22rem)/1.5 Georgia, serif; }

.sticky-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #4a3758; background: rgba(15, 11, 20, .9); backdrop-filter: blur(14px); box-shadow: 0 10px 35px rgba(0,0,0,.25); }
.sticky-nav-inner { display: flex; align-items: center; min-height: 4.15rem; gap: 1rem; }
.nav-mark { display: flex; flex: 0 0 auto; align-items: center; gap: .55rem; color: var(--purple-bright); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.nav-mark img { width: 2.1rem; height: 2.1rem; border-radius: .25rem; }
.nav-links { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { flex: 0 0 auto; border-radius: .25rem; color: var(--ink-muted); padding: .6rem .8rem; font-size: .8rem; font-weight: 750; letter-spacing: .025em; text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.is-active { outline: none; background: rgba(164,108,255,.14); color: #fff; }

.guide-index { padding-block: clamp(3.8rem, 8vw, 7rem); scroll-margin-top: 4rem; }
.section-kicker { display: flex; align-items: center; gap: .8rem; color: var(--amber); font-size: .7rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.section-kicker span { width: 2.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--amber)); }
.section-kicker span:last-child { background: linear-gradient(90deg, var(--amber), transparent); }
.index-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(18rem, .55fr); align-items: end; gap: 2rem; margin: 1.4rem 0 2.2rem; }
.index-heading h2 { margin: 0; font: 700 clamp(2.5rem, 5vw, 4rem)/1 Georgia, serif; letter-spacing: -.035em; }
.index-heading p:last-child { margin: 0; color: var(--ink-muted); }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.index-card { --crop: var(--purple); position: relative; display: flex; align-items: center; min-height: 6.3rem; gap: 1rem; overflow: hidden; border: 1px solid var(--line-soft); border-radius: .45rem; background: linear-gradient(145deg, rgba(38,30,47,.9), rgba(21,17,27,.9)); padding: 1.05rem; text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.index-card::after { content: ""; position: absolute; inset: auto -1rem -1.8rem auto; width: 5rem; height: 5rem; border: 1px solid color-mix(in srgb, var(--crop), transparent 50%); opacity: .13; transform: rotate(45deg); }
.index-card:hover, .index-card:focus-visible { outline: none; transform: translateY(-2px); border-color: var(--crop); background: linear-gradient(145deg, color-mix(in srgb, var(--crop) 13%, #261e2f), #15111b); }
.index-number { color: var(--crop); font: 700 1.55rem/1 Georgia, serif; }
.index-card strong, .index-card small { display: block; }
.index-card strong { font: 700 1.02rem/1.25 Georgia, serif; }
.index-card small { margin-top: .35rem; color: var(--ink-muted); font-size: .77rem; line-height: 1.35; }
.crop-tomato { --crop: #d2635d; } .crop-lettuce { --crop: #75ab5b; } .crop-wheat { --crop: #d5b351; } .crop-chili { --crop: #e17a4b; } .crop-soil { --crop: #a77a53; } .crop-water { --crop: #63a8c7; } .crop-metal { --crop: #b7abc4; } .crop-gold { --crop: #d8b957; } .crop-purple { --crop: #ae72ff; }

.content-shell { display: grid; grid-template-columns: 13rem minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); padding-bottom: 7rem; }
.chapter-rail { position: sticky; top: 6rem; border-left: 1px solid var(--line); padding-left: 1.15rem; }
.chapter-rail > p { color: var(--amber); font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.chapter-rail ol { list-style: none; padding: 0; margin: 0; counter-reset: rail; }
.chapter-rail li { counter-increment: rail; }
.chapter-rail a { display: block; position: relative; padding: .35rem 0 .35rem 1.7rem; color: #94899b; font-size: .76rem; line-height: 1.35; text-decoration: none; transition: color .2s; }
.chapter-rail a::before { content: counter(rail, decimal-leading-zero); position: absolute; left: 0; color: #695875; font: 700 .65rem/1.7 Georgia, serif; }
.chapter-rail a:hover, .chapter-rail a.is-active { color: var(--purple-bright); }

.guide-content { min-width: 0; }
.guide-chapter { scroll-margin-top: 6rem; padding: clamp(3.5rem, 7vw, 6.5rem) 0; border-top: 1px solid var(--line-soft); }
.guide-chapter:first-child { border-top-color: var(--line); }
.chapter-header { display: flex; align-items: center; gap: 1.35rem; margin-bottom: 2rem; }
.chapter-number { display: grid; flex: 0 0 3.3rem; aspect-ratio: 1; place-items: center; border: 1px solid #694b7b; background: linear-gradient(145deg, #2a1d36, #17111e); color: var(--purple-bright); font: 700 1.05rem/1 Georgia, serif; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.chapter-header > div { position: relative; z-index: 1; }
.chapter-label { margin: 0 0 .22rem; color: var(--amber); font-size: .67rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.chapter-header h2 { margin: 0; color: #fff9ef; font: 700 clamp(2.1rem, 5vw, 3.5rem)/1 Georgia, serif; letter-spacing: -.04em; }
.guide-chapter h3 { margin: 2.8rem 0 1rem; color: #f2e7d7; font: 700 1.45rem/1.2 Georgia, serif; }
.guide-chapter h3 em { display: inline-block; margin-left: .5rem; border: 1px solid #5f4670; border-radius: 100px; color: var(--purple-bright); padding: .25rem .55rem; font: 800 .65rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.guide-chapter .lead { max-width: 48rem; color: #e1d7cb; font: 1.16rem/1.7 Georgia, serif; }
.guide-chapter > p, .guide-chapter > ul, .guide-chapter > ol { max-width: 52rem; color: #c3b8ac; }

.crop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin: 2rem 0; }
.crop-card { --crop: var(--purple); border: 1px solid var(--line-soft); background: rgba(31,24,38,.72); padding: 1rem; }
.crop-card strong, .crop-card p { display: block; }
.crop-card p { margin: .35rem 0 0; color: var(--ink-muted); font-size: .78rem; line-height: 1.45; }
.crop-dot { display: block; width: .8rem; height: .8rem; margin-bottom: 1rem; background: var(--crop); box-shadow: 0 0 12px color-mix(in srgb, var(--crop), transparent 15%); transform: rotate(45deg); }
.crop-card.tomato { --crop: #ca5f5a; } .crop-card.lettuce { --crop: #76ad5f; } .crop-card.corn { --crop: #d9bc53; } .crop-card.chili { --crop: #e57447; }

.callout { max-width: 52rem; margin: 1.8rem 0; border: 1px solid #62487a; border-left: 4px solid var(--purple); background: linear-gradient(90deg, rgba(88,47,127,.2), rgba(27,22,34,.7)); padding: 1rem 1.15rem; color: #d8ccdd; }
.callout-limit { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.callout-limit > span:first-child { margin-right: .25rem; color: var(--purple-bright); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.callout-limit strong { color: var(--amber); font: 700 1.45rem Georgia, serif; }
.dot-divider { color: #665a6d; }
.callout-bonus { border-color: #4f7046; border-left-color: var(--green); background: linear-gradient(90deg, rgba(60,95,46,.24), rgba(27,22,34,.7)); }
.callout-caution { border-color: #7a6240; border-left-color: var(--amber); background: linear-gradient(90deg, rgba(111,75,35,.2), rgba(27,22,34,.7)); }
.note { border-left: 2px solid var(--amber); padding-left: 1rem; color: #d1b582 !important; font-style: italic; }

.device-list, .feature-chips, .check-list, .store-list { list-style: none; padding: 0; }
.device-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 1.6rem 0; }
.device-list li { border-top: 2px solid #6c4c7f; background: rgba(30,24,37,.7); padding: 1rem; }
.device-list strong, .device-list span { display: block; }
.device-list span { color: var(--ink-muted); font-size: .82rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 1.8rem; }
.feature-chips li { border: 1px solid #4b3a59; background: #18121f; padding: .45rem .72rem; color: #d8cadf; font-size: .82rem; }

.recipe-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; max-width: 52rem; margin: 1.3rem 0 1.8rem; }
.recipe-list div { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: .7rem; border: 1px solid var(--line-soft); background: rgba(29,23,36,.76); padding: .8rem .9rem; }
.recipe-list span, .recipe-list strong { font-size: .82rem; }
.recipe-list span { color: var(--ink-muted); }
.recipe-list b { color: var(--purple); }
.recipe-list.compact, .recipe-list.wide { grid-template-columns: 1fr; }
.recipe-list.wide div { grid-template-columns: minmax(11rem,1.3fr) auto minmax(8rem,.7fr); }

.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.7rem; }
.book-card { position: relative; border: 1px solid #4f3e5c; background: linear-gradient(145deg, rgba(40,31,49,.8), rgba(22,17,28,.88)); padding: 1.4rem; }
.book-card:last-child { grid-column: 1 / -1; }
.book-card .book-rune { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border: 1px solid #755394; background: #17101f; color: var(--purple-bright); font: 700 1rem Georgia, serif; transform: rotate(45deg); }
.book-card h3 { margin-top: 1.4rem; }
.book-card p, .book-card ul { color: var(--ink-muted); font-size: .88rem; }
.command { color: #a99caf !important; }
.command-large { display: inline-block; border: 1px solid #5f4770; background: #17111d; padding: .7rem .9rem; }

.milestone-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 48rem; margin: 1.8rem 0; }
.milestone-track::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: linear-gradient(90deg, #5c3c70, var(--purple), var(--amber)); }
.milestone-track span { position: relative; z-index: 1; display: grid; justify-self: center; width: 3.2rem; height: 3.2rem; place-items: center; border: 1px solid #755391; background: #17111e; color: #eadfff; font: 700 .85rem Georgia, serif; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.level-table { max-width: 48rem; margin: 1.4rem 0 1.8rem; border: 1px solid var(--line-soft); }
.level-table > div { display: grid; grid-template-columns: 8rem 1fr; border-top: 1px solid var(--line-soft); }
.level-table > div:first-child { border-top: 0; }
.level-table strong, .level-table span { padding: .65rem .85rem; }
.level-table strong { border-right: 1px solid var(--line-soft); color: var(--purple-bright); font-size: .82rem; }
.level-table span { color: var(--ink-muted); font-size: .85rem; }
.sign-list { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 48rem; list-style: none; padding: 0; }
.sign-list li { color: var(--ink-muted); }
.sign-list span { display: block; margin-top: .25rem; font-size: .78rem; }

.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.7rem 0; }
.path-grid section { border: 1px solid #4f3c60; background: linear-gradient(145deg, rgba(71,39,91,.25), rgba(25,19,31,.8)); padding: 1.35rem; }
.path-grid h3 { margin: .5rem 0 .8rem; }
.path-grid p { margin: 0; color: var(--ink-muted); }
.path-rank { color: var(--amber); font-size: .67rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.crafting-wrap { display: flex; align-items: center; gap: 1.5rem; margin: 1.4rem 0 2.2rem; }
.crafting-grid { display: grid; grid-template-columns: repeat(3, 5.5rem); gap: .3rem; }
.crafting-grid span { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #564365; background: #1b1521; color: #cbbfcf; padding: .35rem; text-align: center; font-size: .7rem; line-height: 1.25; }
.crafting-grid .featured { border-color: #ac8f5a; background: #312719; color: #f0d89a; }
.crafting-wrap > p { color: var(--ink-muted); font-style: italic; }
.condition-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; max-width: 48rem; margin: 1.5rem 0; }
.condition-grid div { border: 1px solid var(--line-soft); background: #19141f; padding: .9rem; }
.condition-grid strong, .condition-grid span { display: block; }
.condition-grid span { color: var(--ink-muted); font-size: .8rem; }
.condition-grid .moist strong { color: #78b7cf; } .condition-grid .damp strong { color: #9fae70; } .condition-grid .dry strong { color: #b78261; }

.fertilizer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.7rem 0; }
.fertilizer-grid section { border: 1px solid var(--line-soft); background: #19141f; padding: 1.15rem; }
.fertilizer-grid h3 { margin: 1rem 0; font-size: 1.25rem; }
.fertilizer-grid ul, .fertilizer-grid p { color: var(--ink-muted); font-size: .84rem; }
.fertilizer-type { display: grid; width: 2rem; height: 2rem; place-items: center; color: #111; font: 900 .8rem Georgia, serif; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.fertilizer-type.retention { background: #6da1ad; } .fertilizer-type.growth { background: #7da45f; } .fertilizer-type.yield { background: #c7a34c; }

.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; max-width: 44rem; margin: 1.7rem 0; }
.coverage-grid > div { display: grid; place-items: center; min-height: 10rem; border: 1px solid var(--line-soft); background: #19141f; padding: 1rem; text-align: center; }
.coverage-grid strong, .coverage-grid small { display: block; }
.coverage-grid small { color: var(--ink-muted); }
.coverage-box { display: block; margin-bottom: .75rem; border: 1px solid #63a8c7; background: radial-gradient(circle, #bfe8f7 0 7%, #548ba1 8% 14%, rgba(73,137,164,.24) 15% 55%, transparent 56%); box-shadow: 0 0 20px rgba(73,137,164,.15); }
.size-5 { width: 3rem; height: 3rem; } .size-7 { width: 3.8rem; height: 3.8rem; } .size-9 { width: 4.6rem; height: 4.6rem; }

.check-list li, .store-list li { position: relative; padding: .45rem 0 .45rem 1.2rem; list-style: none; }
.check-list li::before, .store-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: .4rem; height: .4rem; background: var(--green); transform: rotate(45deg); }
.reward-banner { display: flex; max-width: 48rem; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0; border: 1px solid #5c7a4c; background: linear-gradient(90deg, rgba(63,104,52,.28), rgba(33,25,40,.7)); padding: 1rem 1.2rem; }
.reward-banner span { color: #aabf9e; font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.reward-banner strong { color: #a4d183; font: 700 1.4rem Georgia, serif; }
.steps { max-width: 45rem; counter-reset: steps; list-style: none; padding: 0; }
.steps li { counter-increment: steps; position: relative; min-height: 2.5rem; padding: .4rem 0 .8rem 3rem; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #654c76; color: var(--purple-bright); font: 700 .8rem Georgia, serif; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.tool-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; max-width: 52rem; margin: 1.4rem 0 2rem; }
.tool-tiers div { display: flex; min-height: 6rem; flex-direction: column; justify-content: space-between; border-top: 2px solid #75627f; background: #19141f; padding: .9rem; }
.tool-tiers span { margin-top: .6rem; color: var(--purple-bright); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.crop-tools { grid-template-columns: repeat(5, 1fr); }
.crop-tools div:nth-child(1) { border-color: #c25e57; } .crop-tools div:nth-child(2) { border-color: #78a75d; } .crop-tools div:nth-child(3) { border-color: #d2b34f; } .crop-tools div:nth-child(4) { border-color: #e27748; } .crop-tools div:nth-child(5) { border-color: var(--purple); }
.command-stack { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.3rem 0 1.8rem; }
.command-stack code { padding: .65rem .85rem; }

.site-footer { border-top: 1px solid #493755; background: #09070c; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 8rem; }
.footer-inner img { width: 3.3rem; height: 3.3rem; border-radius: .35rem; }
.footer-inner strong { font: 700 1rem Georgia, serif; }
.footer-inner p { margin: .2rem 0 0; color: var(--ink-muted); font-size: .8rem; }
.footer-inner a { color: var(--purple-bright); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border: 1px solid #7956a0; background: rgba(26,18,34,.9); color: var(--purple-bright); text-decoration: none; opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .2s, transform .2s; backdrop-filter: blur(10px); }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (max-width: 980px) {
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-shell { grid-template-columns: 1fr; }
  .chapter-rail { display: none; }
  .crop-tools { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 4.25rem; }
  .page-shell { width: min(calc(100% - 1.2rem), var(--content)); }
  .brand-bar { min-height: 4.4rem; }
  .brand img { width: 3rem; height: 3rem; }
  .brand strong { font-size: .92rem; }
  .brand-byline { display: none; }
  .banner-wrap { min-height: 27rem; }
  .banner-wrap > img { object-position: 53% center; }
  .banner-shade { background: linear-gradient(90deg, rgba(10,7,13,.94) 0%, rgba(10,7,13,.65) 68%, rgba(10,7,13,.45) 100%), linear-gradient(0deg, #0c0a10 0%, transparent 45%); }
  .banner-copy { justify-content: flex-end; padding-bottom: 3.6rem; }
  .banner-copy h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .sticky-nav-inner { min-height: 3.8rem; }
  .nav-mark span { display: none; }
  .index-heading { grid-template-columns: 1fr; gap: .8rem; }
  .index-heading p:last-child { max-width: 34rem; }
  .index-grid, .book-grid, .fertilizer-grid { grid-template-columns: 1fr; }
  .book-card:last-child { grid-column: auto; }
  .crop-grid { grid-template-columns: repeat(2, 1fr); }
  .device-list, .path-grid { grid-template-columns: 1fr; }
  .recipe-list { grid-template-columns: 1fr; }
  .tool-tiers, .crop-tools { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  body { font-size: .98rem; }
  .banner-copy h1 { letter-spacing: -.065em; }
  .index-card { min-height: 5.7rem; }
  .crop-grid, .condition-grid, .coverage-grid, .tool-tiers, .crop-tools, .sign-list { grid-template-columns: 1fr; }
  .crafting-wrap { align-items: flex-start; flex-direction: column; }
  .crafting-grid { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .chapter-header { gap: 1rem; }
  .chapter-number { flex-basis: 2.7rem; }
  .recipe-list div, .recipe-list.wide div { grid-template-columns: 1fr auto; }
  .recipe-list div strong { grid-column: 1 / -1; }
  .milestone-track { grid-template-columns: repeat(5, 1fr); }
  .milestone-track span { width: 2.45rem; height: 2.45rem; font-size: .7rem; }
  .level-table > div { grid-template-columns: 6.6rem 1fr; }
  .reward-banner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-inner > a { grid-column: 1 / -1; padding-bottom: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
