:root {
  color-scheme: light;
  --paper: #f8f1e6;
  --pale: #fffaf2;
  --ink: #2b2534;
  --muted: #635968;
  --rule: #d8c9ba;
  --orange: #ffa861;
  --burnt: #9e4a2a;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 290px; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.62 var(--sans); }
img, svg { display: block; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a44424; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.skip { position: fixed; z-index: 4; left: 10px; top: 10px; padding: 8px 12px; background: var(--pale); transform: translateY(-160%); }
.skip:focus { transform: none; }

.mast { border-bottom: 1px solid var(--rule); background: var(--pale); }
.mast-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 9px; font: bold 26px/1 var(--serif); letter-spacing: -.06em; }
.brand > span { white-space: nowrap; }
.brand svg { width: 33px; height: 33px; }
.brand-accent { color: var(--burnt); }
.mast nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 3vw, 34px); color: var(--muted); font-size: 13px; font-weight: 700; }
.mast nav a { text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 27px 0 12px; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 65px); line-height: 1; }
.page-heading > span { color: var(--burnt); font-size: 13px; font-weight: 700; text-align: right; }

.stage { position: relative; isolation: isolate; height: clamp(600px, 55vw, 718px); overflow: hidden; background: #242431; border-radius: 15px 15px 0 0; box-shadow: 0 10px 24px #3c29301a; }
.stage iframe, .cover, .loading { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage iframe { border: 0; display: block; background: #f3f0e5; }
.stage:fullscreen { width: 100%; height: 100%; border-radius: 0; }
.stage[data-gf-state="loading"] .loading { z-index: 2; }
.cover { color: #fff8e9; }
.cover img, .cover-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover img { object-fit: cover; object-position: center 56%; }
.cover-shade { background: linear-gradient(90deg, #16152173, transparent 77%), linear-gradient(0deg, #191622dc 0%, #1c182647 40%, transparent 72%); }
.launch { position: absolute; left: clamp(21px, 5vw, 66px); bottom: clamp(62px, 13%, 100px); width: min(365px, calc(100% - 42px)); padding: 18px 22px 17px; background: #211c2ae8; border: 1px solid #ffebce73; box-shadow: 0 10px 34px #16111c62; border-radius: 12px; }
.launch p { font: bold clamp(23px, 2.8vw, 34px)/1.12 var(--serif); letter-spacing: -.025em; margin: 0 0 15px; }
.launch button { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #2d1d29; border: 1px solid #fecd9d; padding: 12px 16px; min-height: 48px; border-radius: 6px; font-weight: 800; box-shadow: 0 3px 0 #a95031; }
.launch button:hover { background: #ffc38f; }
.launch button svg { width: 19px; height: 19px; }
.launch button:focus-visible { outline-color: #ffddad; }
.launch > span { display: block; color: #f4dcc8; font-size: 12px; margin-top: 12px; }

.loading { display: grid; align-content: center; justify-items: center; place-items: center; background: radial-gradient(ellipse at 68% 35%, #503f4c, #2b2534 58%); color: #f9e5c9; text-align: center; font: bold 22px/1.2 var(--serif); }
.loading-ladder { width: 84px; height: 94px; overflow: visible; }
.loading-ladder circle { animation: climb-rungs 1.62s cubic-bezier(.3,.1,.3,1) infinite; }
.loading p { margin: 12px 0 0; }
@keyframes climb-rungs { 0%, 12% { transform: translate(0,0); opacity: 1; } 25%, 34% { transform: translate(6px,-15px); } 47%, 57% { transform: translate(12px,-30px); } 70%, 80% { transform: translate(18px,-45px); opacity: 1; } 100% { transform: translate(21px,-52px); opacity: 0; } }

.controls { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 11px; background: var(--pale); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 12px 12px; }
.control-set { display: flex; align-items: center; gap: 6px; min-width: 0; }
.controls button, .form-actions button, [data-gf-reply-cancel], .comment button { border: 1px solid transparent; border-radius: 7px; color: var(--ink); background: transparent; }
.controls button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; white-space: nowrap; padding: 7px 11px; font-size: 13px; font-weight: 750; }
.controls button:hover, .comment button:hover { border-color: var(--rule); background: #f2e8dc; }
.controls button[aria-pressed="true"], .controls button[data-gf-liked] { background: #f7dfd0; color: #863726; border-color: #eed0c1; }
.controls svg { width: 17px; height: 17px; }
.count:not(:empty) { padding-inline: 5px; background: #efe2d6; border-radius: 4px; font-variant-numeric: tabular-nums; }
.share-status:not(:empty) { position: absolute; z-index: 3; inset: auto 12px -42px auto; padding: 7px 11px; color: var(--pale); background: var(--ink); border-radius: 5px; font-size: 13px; }

.field-guide { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(235px, 1fr); gap: clamp(28px, 7vw, 115px); padding-top: 55px; }
.copy { font-size: 16px; line-height: 1.72; color: #4c414e; max-width: 70ch; }
.copy h2, .side-note h2, .faq h2, .discussion h2 { color: var(--ink); font-size: clamp(26px, 3vw, 39px); line-height: 1.12; margin: 1.25em 0 .46em; }
.copy h2:first-child { margin-top: 0; }
.copy p { margin: 0 0 .95em; }
.copy ol { padding-left: 25px; }
.copy ol li { padding: 0 0 .48em 3px; }
.copy strong { color: var(--ink); }
.field-sidebar { position: sticky; top: 26px; align-self: start; }
.example { margin: 0 0 14px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.example img { width: 100%; height: auto; }
.side-note { padding: 19px; border: 1px solid var(--rule); border-left: 3px solid #ba6442; background: var(--pale); border-radius: 3px; }
.side-note h2 { font-size: 25px; margin: 0 0 11px; }
.side-note p { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.rarity { margin: 0; }
.rarity div { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; padding: 5px 0; border-bottom: 1px solid var(--rule); font-weight: 650; font-size: 14px; }
.rarity dd { margin: 0; color: var(--burnt); font-variant-numeric: tabular-nums; }
.faq, .discussion { margin-top: 43px; padding-top: 24px; border-top: 1px solid var(--rule); }
.faq h2, .discussion h2 { margin-top: 0; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 11px 16px; }
.faq details { background: var(--pale); border: 1px solid var(--rule); border-radius: 7px; }
.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 700; }
.faq summary::marker { color: var(--burnt); }
.faq details p { color: var(--muted); padding: 0 14px 12px; margin: 0; font-size: 15px; }
.discussion { padding-bottom: 56px; }
.discussion-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; align-items: center; }
.comment-total { color: var(--muted); font-size: 13px; }
.comment-form { display: grid; gap: 7px; max-width: 680px; }
.comment-form label { font-size: 14px; font-weight: 750; }
.comment-form label span { color: var(--muted); font-weight: 400; }
.comment-form input, .comment-form textarea { background: var(--pale); border: 1px solid var(--rule); color: var(--ink); border-radius: 7px; padding: 8px 11px; }
.comment-form input { max-width: 280px; }
.comment-form textarea { resize: vertical; }
.comment-form .replying { display: none; }
.comment-form[data-gf-replying] .replying { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.form-actions button { background: var(--ink); color: var(--pale); min-height: 43px; font-weight: 800; padding: 7px 12px; }
.form-actions button:hover { background: #493b50; }
.form-actions [role="status"] { color: var(--muted); font-size: 14px; }
.comments { margin-top: 16px; max-width: 700px; }
.comments-empty { display: none; }
.comments[data-gf-empty] .comments-empty { display: block; color: var(--muted); font-size: 14px; }
.comment, .replies > article { border-left: 2px solid var(--rule); padding-left: 12px; margin-top: 14px; }
.comment header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
.comment time { color: var(--muted); font-size: 12px; }
.comment p { white-space: pre-wrap; overflow-wrap: anywhere; }
.comment button { padding: 3px 7px; font-size: 12px; }
.comment[data-gf-owner] { border-left-color: var(--burnt); }
.owner-mark { display: none; }
.comment[data-gf-owner] > header .owner-mark { display: inline; color: var(--burnt); font-size: 12px; font-weight: 700; }

.breadcrumbs { margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; }
.legal { padding-block: 46px 64px; }
.legal h1 { font-size: clamp(37px, 6vw, 59px); margin-bottom: 17px; }
.footer { background: var(--ink); color: #f3e4da; padding: 20px 0; }
.footer-inner, .footer-inner > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 23px; }
.footer-name { color: #fff0e1; font: bold 22px/1.2 var(--serif); text-decoration: none; }
.footer-inner > div { font-size: 13px; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .field-guide { grid-template-columns: 1fr; gap: 20px; padding-top: 33px; }
  .field-sidebar { position: static; }
  .faq-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .mast-inner { min-height: 56px; }
  .mast nav { gap: 10px; font-size: 11px; }
  .brand { font-size: 20px; gap: 6px; }
  .brand svg { width: 28px; height: 28px; }
  .page-heading { margin-top: 17px; }
  .page-heading > span { display: none; }
  .stage { height: min(720px, max(609px, 97svh)); border-radius: 11px 11px 0 0; }
  .cover img { object-position: 58% 37%; }
  .cover-shade { background: linear-gradient(0deg, #211c2bdc, #211c2b25 64%, transparent 82%); }
  .launch { top: 48%; bottom: auto; left: 14px; width: calc(100% - 28px); max-width: 340px; padding: 15px; }
  .launch p { font-size: clamp(22px, 5.5vw, 30px); }
  .controls { padding: 6px; }
  .controls button { padding-inline: 7px; gap: 4px; font-size: 12px; }
}
@media (max-width: 465px) { .mast nav a[href="#discussion"] { display: none; } }
@media (prefers-reduced-motion: reduce) { .loading-ladder circle { animation: none; } }
