.home-page,.atlas-section {
    --ink:#272d22;
    --muted-ink:#5a5e4d;
    --forest:#264d3b;
    --forest-dark:#193729;
    --paper:#f6f0df;
    --line-warm:#d7cbac;
    --copper:#a2432e;
    color-scheme:light;
    color:var(--ink);
}
.home-page {--bg:#f6f2e8;--surface:#fffdf7;--text:#272d22;--muted:#55594a;--line:#d7cbac;--accent:#264d3b;background:var(--bg)}
.home-page .site-head,.home-page .site-footer {background:#fff9ea}
.home-page .site-head {min-height:69px}
.home-page .site-head nav a:last-child {font-weight:700;color:var(--forest)}
.home-page .hero {
    grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);
    padding-block:clamp(2rem,4vw,4.4rem);
    column-gap:clamp(1.5rem,4vw,4.25rem);
    background:radial-gradient(ellipse at 78% 39%,#e7dcb66e,transparent 70%);
}
.home-page .hero h1 {
    font:700 clamp(2.6rem,5vw,4.35rem)/.99 Georgia,serif;
    letter-spacing:-.063em;max-width:none;margin:.55rem 0 1rem;
}
.home-page .hero p:not(.kicker) {font-size:clamp(1rem,1.28vw,1.12rem);margin:0}
.home-page .hero p.tagline {font:700 clamp(1.15rem,2vw,1.52rem)/1.22 Georgia,serif;color:#466237;margin-bottom:.55rem}
.home-page .kicker,.atlas-section .kicker {color:#824130;font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:800;margin:0}
.home-page .actions {gap:.65rem;margin:1.2rem 0 0}
.home-page .actions .primary {color:#2e4427;background:#c3dda0;border-color:#92ad69}
.home-page .actions .primary:hover {background:#d6e6b9}
.home-page .actions .secondary {color:var(--forest);background:#fff9ec}
.choose-link {display:inline-block;margin-top:1.25rem;font-size:.92rem;font-weight:700;color:var(--forest)}
.hero-world {
    min-width:0;margin:0;border:1px solid #a69c75;border-radius:15px;overflow:hidden;
    background:#617f51;box-shadow:0 16px 36px #4c452237;
}
.hero-world canvas {width:100%;height:auto;display:block;aspect-ratio:1040/680}
.hero-world figcaption {
    background:#edf3d9;color:#3d5335;display:flex;flex-wrap:wrap;justify-content:space-between;
    gap:.24rem .75rem;padding:.48rem .78rem;font-size:.76rem;font-weight:650;
}
.hero-world figcaption span+span {font-weight:400}
.home-page .site-head .register {padding:.35rem .63rem;background:#d5e6b5;border:1px solid #b1c78b;border-radius:5px}
.home-page .play-guide {padding:0 clamp(1rem,5vw,5rem);max-width:96rem;margin:0 auto 2rem}
.home-page .play-guide h2 {margin:0 0 .65rem;font:700 clamp(1.4rem,3vw,2rem)/1.15 Georgia,serif;color:#344731}
.play-stories {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.68rem}
.play-stories article {overflow:hidden;background:#fffdf7;border:1px solid #dacfaf;border-radius:8px}
.play-stories canvas {display:block;width:100%;height:auto;aspect-ratio:360/168;background:#a8c07e}
.play-stories h3,.play-stories p {margin:.6rem .72rem .3rem}
.play-stories h3 {font:700 1.05rem/1.16 Georgia,serif;color:#365134}
.play-stories p {font-size:.86rem;color:#59614b;line-height:1.35;margin-bottom:.67rem}
@media(max-width:860px){.play-stories {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.play-stories h3 {font-size:.91rem}.play-stories p {font-size:.8rem}}
.atlas-section {
    scroll-margin-top:1rem;max-width:86rem;margin:0 auto 2.6rem;width:calc(100% - clamp(1.5rem,9.5vw,10rem));
    padding:clamp(.8rem,2.2vw,2.1rem);border:1px solid var(--line-warm);border-radius:13px;background:#fff9ea;
}
.atlas-heading {display:flex;justify-content:space-between;align-items:end;gap:.5rem 1rem;flex-wrap:wrap;margin:0 0 .8rem}
.atlas-heading h1,.atlas-heading h2 {margin:.15rem 0 0;font:700 clamp(1.75rem,3.5vw,2.6rem)/1.1 Georgia,serif;letter-spacing:-.04em;color:var(--forest-dark)}
.atlas-heading p:not(.kicker) {margin:0;color:var(--muted-ink);font-size:.92rem}
.territory-picker {display:grid;grid-template-columns:minmax(0,1.37fr) minmax(0,1fr);gap:clamp(.65rem,2vw,1.4rem);align-items:start}
.territory-atlas {min-width:0;border:1px solid #d4c6a6;border-radius:10px;background:#f0e7cd;padding:clamp(.2rem,1.1vw,.9rem);overflow:hidden}
.territory-map {position:relative}
.territory-map img {width:100%;height:auto;display:block}
.territory-points {position:absolute;inset:0}
.territory-picker button,#territory-exit {
    font:700 .88rem/1.24 "Segoe UI",system-ui,sans-serif;color:var(--forest-dark);cursor:pointer;
    background:#fff8e9;border:1px solid #bcae8e;border-radius:5px;padding:.45rem .66rem;
}
.territory-picker button:hover:not(:disabled),#territory-exit:hover:not(:disabled) {background:#eee4c8;border-color:#806a49;color:var(--forest-dark)}
.territory-picker button:focus-visible,.territory-picker :is(input,select):focus-visible,#territory-exit:focus-visible {outline:2px solid #a2432e;outline-offset:3px}
.territory-picker .county-point {
    transform:translate(-50%,-50%);position:absolute;border-radius:50%;padding:0;width:22px;height:22px;display:grid;place-items:center;
    background:transparent;border:0;z-index:1;
}
.territory-picker .county-point::before {content:"";width:9px;height:9px;background:#304e40;border:1px solid #fff7dd;border-radius:50%;box-shadow:0 0 0 1px #3d5c43}
.territory-picker .county-point:is(:hover,:focus-visible,[aria-pressed=true]) {z-index:2;background:#fff7de70}
.territory-picker .county-point:is(:hover,:focus-visible,[aria-pressed=true])::before {width:13px;height:13px;background:#a2432e;border-color:#ffeed2;box-shadow:0 0 0 2px #a2432e}
.territory-panel {min-width:0}
.territory-panel h3 {font-size:1.11rem;margin:0 0 .55rem;color:var(--forest-dark)}
.territory-search {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr) auto;gap:.48rem;align-items:end}
.territory-search label {display:grid;gap:.19rem;color:var(--muted-ink);font-size:.78rem;font-weight:700}
.territory-search label:has(input) {grid-column:1/3}
.territory-search label:nth-child(2) {grid-column:2/4}
.territory-search :is(input:not([type=checkbox]),select) {
    width:100%;min-width:0;min-height:2.21rem;border:1px solid #b9a988;border-radius:5px;padding:.35rem .48rem;
    background:#fffdfa;color:var(--ink);font:400 .88rem/1.25 "Segoe UI",system-ui,sans-serif;
}
.territory-search button {min-height:2.21rem}
.territory-status,.territory-error {font-size:.86rem;color:var(--muted-ink);margin:.52rem 0}
.territory-error {color:#972f24}
.territory-results ul {margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.28rem}
.territory-results li button {width:100%;display:grid;justify-items:start;text-align:left;gap:.1rem;height:100%;overflow-wrap:anywhere}
.territory-results small {font-size:.69rem;font-weight:500;color:#535e4b}
.territory-results button[aria-pressed=true] {border-color:#57764d;background:#e7ecd5}
.territory-pages {display:flex;justify-content:space-between;gap:.4rem;margin-top:.44rem}
.territory-detail {margin:.6rem 0 0;padding:.65rem .75rem;border:1px solid var(--line-warm);border-radius:7px;background:#f4edd7}
.territory-detail dl {margin:.2rem 0 .55rem;font-size:.83rem}
.territory-detail dl div {display:flex;justify-content:space-between;gap:.4rem;margin-bottom:.13rem}
.territory-detail :is(dt,dd) {color:var(--ink);font-size:inherit;margin:0}
.territory-detail dt {color:var(--muted-ink)}
.territory-detail dd {font-weight:700;text-align:right}
.territory-detail .territory-primary {background:var(--forest);color:#fff9e8;border-color:var(--forest)}
.territory-detail .territory-primary:hover:not(:disabled) {background:var(--forest-dark);color:#fff9e8}
.territory-picker button:disabled {opacity:.57;cursor:default}
.home-cta {
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;
    margin:0 auto 2.7rem;padding:1.1rem 1.4rem;max-width:86rem;width:calc(100% - clamp(1.5rem,9.5vw,10rem));
    background:#e9e2c6;border-radius:9px;
}
.home-cta h2 {font:700 clamp(1.35rem,2.2vw,1.95rem)/1.12 Georgia,serif;margin:0 0 .24rem;color:var(--forest-dark)}
.home-cta p,.home-page .home-cta .actions {margin:0}
@media(max-width:740px) {
    .home-page .hero,.territory-picker {grid-template-columns:1fr}
    .home-page .hero {row-gap:1.35rem}
    .home-page .site-head,.home-page .site-footer {padding:.65rem 1rem;gap:.55rem}
    .home-page .site-head nav {gap:.38rem .85rem;font-size:.79rem}
    .territory-picker .county-point {width:18px;height:18px}
    .territory-picker .county-point::before {width:7px;height:7px}
}

