/* Shared editorial layer; the existing game remains one viewport tall. */
html { overflow-x: clip; overflow-y: auto; }
body { height: auto; min-height: 100%; overflow: visible; }
.guide-shortcut { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--cream); font-size: 12px; font-weight: 650; }
.guide-shortcut:hover { background: #ffffff0c; color: var(--aqua); }
.navigation-dialog h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.65px; }
.game-notes { padding: 72px max(24px, calc((100% - 1120px) / 2)) 40px; background: #f5f1e7; color: #242640; }
.notes-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 36px; }
.eyebrow, .card-label { margin: 0 0 16px; color: #596056; font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.game-notes h1 { max-width: 540px; margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.notes-heading > p { max-width: 530px; margin: 0; color: #56586b; font-size: 16px; line-height: 1.8; }
.notes-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.notes-links > a { display: flex; flex-direction: column; padding: 26px; border: 1px solid #dcdcd0; border-radius: 16px; background: #fffdf6; }
.notes-links h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.notes-links p { margin: 0 0 26px; color: #666778; font-size: 14px; line-height: 1.7; }
.card-label { display: block; font-size: 10px; }
.card-action { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; font-size: 12px; font-weight: 750; }
.notes-links > a:hover { border-color: #797b69; }
.notes-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #dadace; color: #626476; font-size: 12px; line-height: 1.8; }
.notes-bottom p { max-width: 410px; margin: 0; }
.notes-bottom nav { display: flex; flex-wrap: wrap; align-content: start; gap: 12px 22px; }
.notes-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.game-notes :focus-visible, .editorial :focus-visible { outline-color: #386654; }
body.editorial { margin: 0; min-width: 280px; color-scheme: light; background: #f5f1e7; color: #242640; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.editorial * { box-sizing: border-box; }
.editorial a { color: inherit; }
.doc-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1168px; margin: 0 auto; padding: 20px 24px; border-bottom: 1px solid #dadace; }
.doc-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.doc-brand img { width: 28px; height: 28px; }
.doc-header nav { display: flex; align-items: center; gap: 24px; }
.doc-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; font-weight: 650; }
.doc-header .play-link { padding: 0 18px; border-radius: 9px; background: #202348; color: #fff9e8; }
.doc-shell { max-width: 1120px; margin: 0 auto; padding: 34px 24px 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; color: #626476; font-size: 12px; line-height: 1.7; }
.breadcrumbs a { text-underline-offset: 3px; }
.doc-hero { max-width: 780px; padding-bottom: 36px; }
.doc-hero h1 { margin: 0; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.doc-hero .lead { margin: 22px 0 20px; color: #56586b; font-size: 18px; line-height: 1.8; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #656778; font-size: 12px; }
.doc-meta a { text-underline-offset: 3px; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 700px) minmax(170px, 240px); gap: 64px; align-items: start; border-top: 1px solid #dadace; padding-top: 32px; }
.doc-content { min-width: 0; font-size: 16px; line-height: 1.85; }
.doc-content section { scroll-margin-top: 24px; }
.doc-content h2 { margin: 42px 0 16px; font-size: 26px; line-height: 1.25; letter-spacing: -.025em; }
.doc-content section:first-child h2 { margin-top: 0; }
.doc-content h3 { margin: 26px 0 10px; font-size: 19px; line-height: 1.4; }
.doc-content p { margin: 0 0 20px; }
.doc-content a { color: #325e51; text-underline-offset: 4px; }
.doc-content ul, .doc-content ol { padding-left: 22px; margin: 0 0 22px; }
.doc-content li { padding-left: 3px; margin-bottom: 9px; }
.doc-content strong { font-weight: 700; }
.doc-content .table-wrap { width: 100%; overflow-x: auto; margin: 24px 0; }
.doc-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.doc-content th, .doc-content td { padding: 13px 12px; border-bottom: 1px solid #dcdcd0; text-align: left; vertical-align: top; }
.doc-content th { background: #eae9de; font-weight: 700; }
.doc-content .note { padding: 20px 22px; margin: 24px 0; border-left: 3px solid #47786a; background: #e8eee5; font-size: 14px; }
.doc-content .note p:last-child { margin-bottom: 0; }
.doc-aside { position: sticky; top: 24px; padding: 22px; border: 1px solid #dcdcd0; border-radius: 14px; background: #fffdf6; font-size: 12px; line-height: 1.7; }
.doc-aside p { margin: 0 0 14px; color: #626476; }
.doc-aside ol { margin: 0; padding-left: 18px; }
.doc-aside li { margin: 0 0 12px; }
.doc-aside a { text-decoration: none; }
.doc-aside a:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc-sources { margin-top: 38px; padding-top: 24px; border-top: 1px solid #dadace; }
.doc-sources h2 { font-size: 21px; }
.doc-sources p, .doc-sources li { color: #626476; font-size: 13px; }
.doc-related { margin-top: 64px; border-top: 1px solid #dadace; padding-top: 28px; }
.doc-related h2 { font-size: 22px; letter-spacing: -.02em; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.guide-card { display: flex; flex-direction: column; align-items: start; padding: 28px; border: 1px solid #dcdcd0; border-radius: 14px; background: #fffdf6; text-decoration: none; }
.guide-card:hover { border-color: #797b69; }
.guide-card h2, .guide-card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.3; letter-spacing: -.025em; }
.guide-card p { margin: 0 0 24px; color: #626476; font-size: 14px; line-height: 1.8; }
.guide-card .card-action { padding-top: 8px; }
.doc-footer { display: flex; justify-content: space-between; gap: 20px; margin: 64px auto 0; padding: 24px 0 0; border-top: 1px solid #dadace; color: #626476; font-size: 12px; line-height: 1.8; }
.doc-footer p { max-width: 590px; margin: 0; }
.doc-footer a { text-underline-offset: 3px; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 12px 18px; transform: translateY(-160%); border-radius: 8px; background: #ffdf58; color: #171b39; }
.skip-link:focus { transform: none; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; } .doc-aside { position: static; grid-row: 1; } .doc-aside ol { display: flex; flex-wrap: wrap; gap: 0 25px; } .doc-aside li { margin-bottom: 6px; } }
@media (max-width: 760px) { .guide-shortcut { display: none; } .notes-heading { grid-template-columns: 1fr; gap: 20px; } .notes-links { grid-template-columns: 1fr; } .game-notes { padding: 44px 24px 30px; } .notes-bottom { flex-direction: column; gap: 20px; } .doc-layout { padding-top: 24px; } }
@media (max-width: 480px) { .doc-header { padding: 12px 18px; gap: 12px; } .doc-header nav { gap: 12px; } .doc-header nav a { font-size: 12px; } .doc-header .play-link { padding: 0 12px; } .doc-shell { padding: 24px 20px 40px; } .breadcrumbs { margin-bottom: 30px; } .doc-hero { padding-bottom: 28px; } .doc-hero .lead { font-size: 16px; } .guide-grid { grid-template-columns: 1fr; } .guide-card { padding: 24px; } .doc-content { font-size: 15px; } .doc-content h2 { font-size: 23px; } .doc-footer { flex-direction: column; } .navigation-dialog h2 { font-size: 20px; } }
@media (prefers-reduced-motion: no-preference) { .guide-card, .notes-links > a { transition: border-color 140ms ease, transform 140ms ease; } .guide-card:hover, .notes-links > a:hover { transform: translateY(-2px); } }
@media print { .doc-header nav, .doc-aside, .doc-related { display: none; } .doc-shell { max-width: none; } .doc-layout { display: block; } .doc-content a { color: inherit; } }

.editorial a, .editorial button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; outline-offset: 3px; }
.editorial :focus-visible { outline: 3px solid #386654; }
.doc-content figure { margin: 28px 0; }
.doc-content figure img { display: block; width: 100%; height: auto; border: 1px solid #dcdcd0; border-radius: 12px; background: #242640; }
.doc-content figcaption { margin-top: 10px; color: #626476; font-size: 12px; line-height: 1.7; }
.doc-play { margin-top: 40px; padding: 26px; border-radius: 14px; background: #e8eee5; }
.doc-play h2 { margin-top: 0; font-size: 23px; }
.doc-play p { font-size: 14px; }
.doc-play > div { display: flex; flex-wrap: wrap; gap: 12px; }
.doc-play a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 9px; background: #202348; color: #fff9e8; font-size: 13px; font-weight: 650; text-decoration: none; }
.playtest-feature { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 26px; border: 1px solid #c6d4c6; border-radius: 16px; background: #e8eee5; text-decoration: none; }
.playtest-feature h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; letter-spacing: -.03em; }
.playtest-feature p { max-width: 620px; margin: 0; color: #56586b; font-size: 14px; line-height: 1.8; }
.playtest-feature .card-label { margin-bottom: 10px; }
.playtest-feature > span { flex-shrink: 0; font-size: 13px; font-weight: 750; }
.playtest-feature:hover { border-color: #47786a; }
@media (max-width: 760px) { .playtest-feature { align-items: start; flex-direction: column; gap: 20px; } }