/* Test harness only: approximate Seară colours, system fonts. Production uses assets/css/tokens.css. */
:root { color-scheme: dark; --bg: #14131c; --surface: #1f1d2a; --text: #ece6da; --muted: #a49c8e; --accent: #c9a24d; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 system-ui, sans-serif; }
main { max-width: 34rem; margin: 0 auto; padding: 1rem 1rem 4rem; }
h1 { font-size: 1.4rem; font-weight: 400; margin: .5rem 0; }
h2 { font-size: 1.05rem; font-weight: 500; margin: 1.5rem 0 .5rem; color: var(--muted); }
.muted { color: var(--muted); font-size: .9rem; }
a { color: var(--accent); }
button { font: inherit; color: var(--text); background: var(--surface); border: 1px solid #3a3648; border-radius: 999px;
         padding: .6rem 1rem; min-height: 44px; touch-action: manipulation; }
button.primary { background: var(--accent); color: #1a1408; border-color: var(--accent); font-weight: 600; }
.controls { display: flex; gap: .5rem; justify-content: center; margin: .75rem 0; flex-wrap: wrap; }
.controls .primary { min-width: 7rem; }
#player-shell { background: var(--surface); padding: 1rem; margin: 1rem 0; }
#status { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; font-size: .9rem; margin: .5rem 0 0; }
#status dt { color: var(--muted); }
#status dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#message { color: var(--accent); min-height: 1.5em; margin: .5rem 0 0; }
#resume { text-align: center; margin: 0 0 .5rem; }
#map svg { width: 100%; height: auto; display: block; }
#map .trail { fill: none; stroke: #3a3648; stroke-width: 2; stroke-dasharray: 4 6; }
#map .done { fill: var(--muted); }
#map .current { fill: var(--accent); }
#map .next { fill: none; stroke: var(--accent); stroke-width: 2; }
#panel { border: 1px dashed #3a3648; padding: .75rem; margin: 1rem 0; }
.tools button { display: block; width: 100%; margin: .5rem 0; }
.links { line-height: 2; }
.checklist { margin: 1rem 0; }
.checklist li { margin: .4rem 0; }
#log { font: .78rem/1.4 ui-monospace, monospace; color: var(--muted); padding-left: 2.2rem; overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; font-size: .8rem; }
td, th { border-bottom: 1px solid #2c2a38; padding: .3rem; text-align: left; vertical-align: top; }
code { overflow-wrap: anywhere; }
.pair { background: var(--surface); padding: 1rem; margin: 1rem 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
