*{box-sizing:border-box}
:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#10241c;color:#f6f2df}
body{max-width:850px;margin:auto;padding:20px clamp(16px,4vw,40px) 46px}
nav,footer,.legend,.orders{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
nav,footer{border-block-end:1px solid #52695c;padding:6px 0 17px}
nav a:first-child{margin-right:auto;font-weight:750}
a{color:#f2d381;text-underline-offset:4px}
header{margin:36px 0 22px}.kicker{text-transform:uppercase;letter-spacing:.16em;color:#f2d381;font-weight:700;font-size:.78rem}
h1,h2{font-family:Georgia,serif;line-height:1.05;font-weight:500}h1{font-size:clamp(2.6rem,7vw,4.6rem);margin:9px 0}
header p:last-child,article{max-width:67ch;line-height:1.65}
.field{overflow:hidden;background:#192e27;border:1px solid #577264;border-radius:12px}
.legend,.orders,#outcome{padding:12px 16px;margin:0}
.legend{font-size:.85rem}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:10px;height:10px;border-radius:50%;background:#6ce0ed}.legend span:nth-child(2) i{background:#ff966e;transform:rotate(45deg);border-radius:0}
.legend output{margin-left:auto;font-variant-numeric:tabular-nums}
canvas{width:100%;height:auto;display:block;background:#203c32}
button,.play{padding:11px 17px;border:1px solid #e6c679;border-radius:6px;background:#f2d381;color:#15271e;font:700 .98rem system-ui;cursor:pointer}
button:nth-child(2){background:transparent;color:#f2d381}button[aria-pressed=true]{box-shadow:0 0 0 2px #fff}
.play{display:inline-block;margin:18px 0;text-decoration:none}
[hidden]{display:none!important}
#outcome{line-height:1.45;min-height:3.2em}
article h2{font-size:1.8rem;margin:27px 0 8px}article p{margin:9px 0 15px}
footer{margin-top:32px;border-block-start:1px solid #52695c;border-block-end:0}
@media(max-width:480px){.orders{gap:8px}.orders button{flex:1;padding:10px 6px}.legend{gap:10px}.field canvas{min-height:128px}}
