/* Shared Explorer presentation contract. No gameplay or state dependencies. */
:root{--forest:#143727;--night:#1c352d;--green:#285c43;--green-hover:#346b50;--paper:#f6f4e9;--surface:#fffbea;--surface-soft:#e7edda;--ink:#243d32;--muted:#526747;--border:#bcc9ac;--sage:#8ca879;--gold:#d3ad55;--gold-light:#f5dfa0;--focus:#efc975;--error:#a94739;--success:#397a50;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--radius-pill:999px;font-family:system-ui,sans-serif;color:var(--ink);background:var(--paper)}
body{background:var(--paper);color:var(--ink)}
a,a:visited{color:var(--green);text-underline-offset:4px}
h1,h2{font-family:Georgia,serif}button,.continue,.map-next{background:var(--green);color:var(--surface);border-radius:var(--radius-sm)}button:hover{background:var(--green-hover)}button.secondary{background:var(--surface);color:var(--green);border:1px solid var(--green)}
:focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px;box-shadow:0 0 0 5px var(--forest)}
button:disabled{opacity:1;background:var(--surface-soft);color:var(--muted);border:1px solid var(--border)}
body>header{max-width:none;margin:0;display:flex;flex-direction:row;align-items:center;padding:10px max(16px,calc((100vw - 1200px)/2));gap:12px;background:var(--forest);color:var(--surface);border-bottom:1px solid #8ca87966}
body>header .badge{background:var(--surface-soft);color:var(--ink);border-color:var(--border)}
body>header .brand{flex:none;display:block;line-height:0}body>header .brand img{display:block;width:112px;height:64px;object-fit:contain}body>header .brand span{display:none}
body>header :is(nav,div){display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
body>header a:not(.brand),body>header a:visited:not(.brand){color:var(--surface);font-size:14px;text-decoration:none;border:1px solid #8ca87988;border-radius:var(--radius-pill);padding:9px 12px;min-height:40px;display:inline-flex;align-items:center}
body>header button{font-size:13px;border:1px solid #8ca87988;background:var(--night);color:var(--surface);min-height:40px;padding:8px 12px}
.eyebrow,.note{color:var(--muted)}.savebar,dialog,details,#practice,.destination{background:var(--surface);border-color:var(--border)}
dialog{color:var(--ink);border:1px solid var(--border);border-radius:var(--radius-lg)}dialog::backdrop{background:#143727b3}
#error,#access-message{color:var(--error)}#error:not(:empty){padding:12px;border:1px solid var(--error);border-radius:var(--radius-sm);background:var(--surface)}
@media(max-width:600px){body>header{padding:8px 12px;gap:10px}body>header .brand img{width:84px;height:48px}body>header a:not(.brand){font-size:12px;padding:7px 10px}body>header button{font-size:12px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

#celebration a.map-next,#celebration a.map-next:visited,#celebration a.map-next:hover,#celebration a.map-next:focus{color:#fffbea;background:#285c43}#celebration .reward-medallion{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#celebration{max-height:calc(100dvh - 32px);overflow:auto}#celebration .map-next{display:block;margin:14px 0;font-size:18px}#celebration #finish-close{width:100%}
/* Touch Safari retains :hover at the old finger position; it is not a selection. */
#challenge .choices button,#challenge .choices button:hover,#challenge .choices button:focus{background:#f0f4e9;color:#234c3d}#challenge .choices button:active{background:#dce8cd}#challenge .choices button:focus-visible{outline:3px solid #efc975!important;outline-offset:3px}

.admin-test-banner{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:10px 20px;background:#fff0bd;color:#243d32;border-bottom:2px solid #987132}.admin-test-banner strong{flex:1}.admin-entry{margin-top:24px;font-size:13px}#admin-start{display:grid;gap:20px;max-width:700px;margin-top:24px}#admin-start label{display:grid;gap:6px}#admin-start[hidden]{display:none}
