/* Reading pages have their own layout and load no game runtime. */
.guide-page { margin:0; background:#f6f3e9; color:#203a30; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; }
.guide-page *, .landing-guides * { box-sizing:border-box; }
.guide-page a { color:inherit; text-underline-offset:4px; }
.guide-page a:focus-visible,.landing-guides a:focus-visible { outline:3px solid #c47d12; outline-offset:5px; border-radius:3px; }
.guide-page h1,.guide-page h2,.guide-page h3,.guide-page p { margin-top:0; }
.guide-page h1 { font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,sans-serif; font-weight:900; letter-spacing:-.025em; line-height:1.12; }
.guide-skip { position:fixed; top:-100px; left:12px; padding:12px; background:white; z-index:50; }
.guide-skip:focus { top:12px; }
.guide-header { background:#10382b; color:#fcf5df; padding:22px max(22px,calc((100vw - 1180px)/2)); display:flex; justify-content:space-between; gap:22px; align-items:center; }
.guide-brand { display:flex; align-items:baseline; gap:5px; text-decoration:none; font-size:32px; font-weight:850; letter-spacing:-2px; white-space:nowrap; }
.guide-brand span { font-size:15px; letter-spacing:-.5px; font-weight:600; }
.guide-header nav { display:flex; gap:26px; align-items:center; font-size:14px; }
.guide-header nav>a { text-decoration:none; }
.guide-button { display:inline-flex; justify-content:center; align-items:center; gap:14px; padding:13px 20px; min-height:46px; border-radius:7px; background:#e5b65a; color:#173328!important; text-decoration:none!important; font-size:14px; font-weight:750; border:1px solid transparent; }
.guide-button:hover { background:#efc679; }
.guide-button.secondary { background:transparent; border-color:#557565; color:#f6f3e9!important; }
.guide-hero,.guide-index-sections,.guide-categories,.guide-related,.guide-article-heading,.guide-reading-layout { max-width:1180px; margin-inline:auto; }
.guide-hero { display:grid; grid-template-columns:1.5fr 1fr; align-items:center; gap:50px; padding:76px 26px 58px; }
.guide-eyebrow { color:#876422; font-size:11px; letter-spacing:.13em; font-weight:800; text-transform:uppercase; }
.guide-hero h1 { font-size:clamp(38px,4.6vw,64px); margin:20px 0; }
.guide-hero h1 em { color:#557b5b; font-weight:inherit; font-style:normal; }
.guide-hero p:not(.guide-eyebrow) { font-size:17px; line-height:1.8; max-width:570px; color:#55665a; }
.guide-hero-links { display:flex; flex-wrap:wrap; gap:24px; align-items:center; margin-top:28px; font-size:14px; font-weight:700; }
.guide-tile-art { min-height:250px; display:flex; justify-content:center; align-items:center; padding:35px 0; background:radial-gradient(ellipse,#e6dbc1,transparent 70%); }
.guide-tile-art span { display:flex; flex-direction:column; align-items:center; justify-content:center; width:92px; height:140px; border:1px solid #ccba91; border-bottom:7px solid #c5ad79; border-radius:12px; font-size:76px; font-weight:850; background:#fffdf0; color:#be493a; box-shadow:10px 18px 24px #2d3f3020; transform:rotate(-12deg) translateY(8px); }
.guide-tile-art span:nth-child(2) { color:#264b6c; transform:rotate(1deg) translateY(-12px); z-index:1; }
.guide-tile-art span:nth-child(3) { color:#ca8a22; transform:rotate(14deg) translateY(8px); }
.guide-tile-art i { width:8px; height:8px; border-radius:50%; background:currentColor; margin-top:5px; }
.guide-categories { display:flex; flex-wrap:wrap; gap:10px; padding:0 26px 34px; border-bottom:1px solid #d8ddce; }
.guide-categories a { padding:10px 15px; border:1px solid #cad3c3; border-radius:24px; text-decoration:none; font-size:14px; }
.guide-categories a:hover { background:#e7eddf; }
.guide-categories span { margin-left:10px; color:#798776; font-size:12px; }
.guide-index-sections { padding:0 26px 60px; }
.guide-category-section { padding-top:48px; scroll-margin-top:20px; }
.guide-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:18px; margin-bottom:18px; }
.guide-section-heading h2 { margin:0; font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,sans-serif; font-size:30px; font-weight:750; letter-spacing:-.02em; }
.guide-section-heading>span,.guide-section-heading>a { font-size:13px; color:#667860; }
.guide-card-grid,.landing-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.guide-card { position:relative; display:flex; flex-direction:column; min-width:0; padding:25px; border:1px solid #d7decf; border-radius:10px; background:#fffdf6; transition:border-color .15s,box-shadow .15s; }
.guide-card:hover { border-color:#99ae93; box-shadow:0 6px 22px #243e2d0a; }
.guide-category { font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#7b885d; }
.guide-card h3 { margin:14px 0 12px; font-size:18px; font-weight:700; line-height:1.45; }
.guide-card h3 a { text-decoration:none; }
.guide-card h3 a::after { content:""; position:absolute; inset:0; border-radius:10px; }
.guide-card p { font-size:13px; line-height:1.75; color:#64725f; margin-bottom:24px; }
.guide-read { font-size:12px; font-weight:750; margin-top:auto; color:#365f48; }
.guide-article-heading { padding:34px 26px 28px; }
.guide-breadcrumb { display:flex; flex-wrap:wrap; gap:10px; font-size:12px; color:#697762; margin-bottom:36px; }
.guide-article-heading h1 { max-width:950px; font-size:clamp(34px,4.4vw,58px); margin:14px 0 24px; }
.guide-meta { font-size:12px; color:#697762; }
.guide-reading-layout { display:grid; grid-template-columns:minmax(0,760px) minmax(180px,260px); gap:60px; padding:0 26px 50px; align-items:start; }
.guide-prose { min-width:0; font-size:17px; line-height:1.9; color:#37483b; overflow-wrap:break-word; }
.guide-prose>p:first-child { font-size:20px; line-height:1.75; color:#274f39; border-left:3px solid #cba252; padding-left:22px; margin-bottom:35px; }
.guide-prose p { margin-bottom:22px; }
.guide-prose h2 { margin:35px 0 15px; font-size:24px; font-weight:750; line-height:1.4; color:#183c29; scroll-margin-top:20px; }
.guide-prose a { color:#276d48; text-decoration-thickness:1px; }
.guide-toc { position:sticky; top:24px; font-size:13px; line-height:1.7; border-top:2px solid #b9c7ac; padding-top:20px; }
@media(min-width:651px) { .guide-toc { max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); overflow-y:auto; } }
.guide-toc ol { margin:15px 0 22px; padding-left:20px; }
.guide-toc li { padding:5px 0 5px 3px; }
.guide-toc a { text-decoration:none; }
.guide-toc a:hover { text-decoration:underline; }
.guide-toc p { color:#78826d; font-size:12px; padding-top:18px; border-top:1px solid #d7dece; }
.guide-cta { margin-top:38px; padding:28px; border-radius:12px; background:#123e2d; color:#e9f0df; }
.guide-cta h2 { margin:12px 0; color:#fff9e9; font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,sans-serif; font-size:29px; font-weight:800; }
.guide-cta .guide-eyebrow { color:#e0ba6f; }
.guide-cta p { color:#c3d4bf; font-size:15px; }
.guide-cta>div { display:flex; flex-wrap:wrap; gap:12px; }
.guide-sources { font-size:13px; color:#73816b; }
.guide-sources h2 { font-size:17px; }
.guide-related { padding:40px 26px 70px; border-top:1px solid #d5ddcc; }
.guide-footer { background:#10382b; color:#e5eddc; padding:36px max(22px,calc((100vw - 1128px)/2)); }
.guide-footer p { color:#acbea5; font-size:13px; margin:10px 0 24px; }
.guide-footer nav { display:flex; flex-wrap:wrap; gap:15px 25px; font-size:13px; }
.guide-not-found { max-width:800px; margin:80px auto; padding:24px; }
/* Home preview styles are scoped so the game layout is unaffected. */
.landing-guides { margin:28px 0; padding:24px; border:1px solid #a9c69e28; border-radius:16px; background:#122b21; color:#f6edcf; }
.landing-guides-heading { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:20px; }
.landing-guides-heading p { color:#bbaa75; font-size:10px; letter-spacing:.12em; margin:0 0 8px; }
.landing-guides-heading h2 { margin:0; font-size:25px; }
.landing-guides-heading>a { color:#e4c381; font-size:13px; text-decoration:none; }
.landing-guides .guide-card { background:#1b392a; border-color:#a8bf8c2b; padding:20px; }
.landing-guides .guide-category { color:#c4bc87; }
.landing-guides .guide-card h3 { color:#f0eace; font-size:16px; }
.landing-guides .guide-card a { color:inherit; }
.landing-guides .guide-card p { color:#b9c8b2; }
.landing-guides .guide-read { color:#e1c280; }
.guide-nav-link { display:inline-flex; align-items:center; text-decoration:none; color:inherit; }
body.in-waiting .guide-nav-link { display:none; }
.guide-entry-choice { outline:3px solid #ecc76b; outline-offset:4px; }
@media(max-width:1000px) {
  .app-header .desktop-header-nav { display:none!important; }
  .app-header .btn-mobile-menu { display:inline-flex!important; align-items:center; justify-content:center; }
}
@media(max-width:900px) { .guide-card-grid,.landing-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .guide-reading-layout { grid-template-columns:minmax(0,1fr) 210px; gap:30px; } .guide-hero { gap:20px; } .guide-tile-art span { width:72px; height:115px; font-size:60px; } }
@media(max-width:650px) {
  .guide-header { padding:15px 18px; gap:12px; } .guide-brand { font-size:28px; } .guide-brand span { font-size:12px; } .guide-header nav { gap:12px; font-size:12px; } .guide-header .guide-button { padding:9px 12px; min-height:40px; font-size:12px; } .guide-header .guide-button span { display:none; }
  .guide-hero { grid-template-columns:minmax(0,1fr); padding:38px 20px 30px; } .guide-hero h1 { font-size:46px; } .guide-tile-art { display:none; } .guide-categories { padding:0 20px 24px; } .guide-categories a { font-size:12px; padding:9px 12px; }
  .guide-index-sections { padding:0 20px 40px; } .guide-card-grid,.landing-guide-grid { grid-template-columns:minmax(0,1fr); } .guide-card { padding:22px; } .guide-category-section { padding-top:32px; } .guide-section-heading h2 { font-size:26px; }
  .guide-article-heading { padding:24px 20px 8px; } .guide-breadcrumb { margin-bottom:24px; } .guide-reading-layout { display:flex; flex-direction:column; padding:0 20px 30px; gap:26px; } .guide-toc { position:static; order:-1; width:100%; padding-top:14px; } .guide-toc ol { margin-bottom:4px; } .guide-toc p { display:none; }
  .guide-prose { font-size:16px; line-height:1.85; } .guide-prose>p:first-child { font-size:18px; } .guide-prose h2 { font-size:22px; } .guide-cta { padding:24px; } .guide-cta h2 { font-size:27px; } .guide-related { padding:30px 20px 45px; }
  .landing-guides { padding:18px; } .landing-guides-heading { align-items:flex-start; } .landing-guides-heading>a { max-width:115px; text-align:right; }
}
@media(max-width:360px) { .guide-header nav>a:first-child { max-width:45px; line-height:1.3; } .guide-header nav { gap:8px; } .guide-header { padding-inline:12px; } .guide-hero h1 { font-size:40px; } }
@media(prefers-reduced-motion:reduce) { .guide-card { transition:none; } }
