:root{color-scheme:dark;font-family:Tahoma,Arial,sans-serif;color:#edeee9;background:#0d0f11}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(160deg,#191c20,#0b0d10 55%,#11191e);min-height:100vh}
.shell{max-width:1240px;margin:0 auto;padding:0 22px 30px}
.top{min-height:84px;border-bottom:1px solid #383a3d;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px}.crest{display:grid;place-items:center;width:45px;height:49px;border:2px solid #d4b36e;border-radius:7px 7px 14px 14px;color:#e8ca8f;font:700 30px Georgia,serif;background:#231e17}
.brand strong{display:block;font:700 22px Georgia,serif;letter-spacing:2px;color:#ecd9ae}.brand small{display:block;margin-top:4px;font:10px Tahoma,sans-serif;letter-spacing:1.3px;color:#b7aa91}
a{color:#d1c4a7;text-decoration:none}a:hover{text-decoration:underline}
.head{display:flex;align-items:center;justify-content:space-between;padding:38px 0 30px;gap:35px}
.eyebrow{font:700 10px Tahoma,sans-serif;letter-spacing:2px;color:#c9b17a}
h1{font-size:clamp(25px,4vw,45px);line-height:1.2;margin:12px 0;color:#f7f2e8}
h1 em{font-style:normal;color:#e4c47c}.head p{color:#b9c0c6;font-size:14px;line-height:1.7}
.coin{display:flex;flex-direction:column;align-items:center;justify-content:center;border:6px double #e7c178;
border-radius:50%;width:130px;height:130px;flex-shrink:0;background:radial-gradient(circle at 28% 23%,#fff3b6,#cca157 50%,#5e3e16 85%);
box-shadow:0 8px 24px #0008;color:#563713;text-shadow:0 1px #fff5cd}
.coin span{font-size:45px;font-weight:900}.coin small{font-weight:800;letter-spacing:4px}
.warning{padding:16px 18px;border:1px solid #715c3b;border-left:3px solid #d1a75c;background:#272219;line-height:1.6;display:grid;gap:6px}
.warning strong{font-size:13px;color:#f0d5a1}.warning span{font-size:12px;color:#d5c9b5}
.statbar{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}
.statbar>div,.balances>div{background:#191c1f;border:1px solid #383d42;padding:17px 16px}
.statbar small,.balances small,.fields small{display:block;color:#9da6ac;font-size:10px;letter-spacing:.8px;margin-bottom:10px}
.statbar strong{font-size:15px;color:#e6ddc8}
.workspace,.ledger{background:#17191c;border:1px solid #4a4d4e;padding:22px;margin-bottom:18px}
.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.workspace h2,.ledger h2{margin:5px 0 8px;font-size:21px}.workspace-head p{margin:0;color:#aeb8bc;font-size:12px}
.start{display:flex;gap:10px}button{cursor:pointer;border:1px solid #786848;padding:12px 15px;border-radius:3px;font-size:13px;font-weight:700}
button:disabled{cursor:not-allowed;opacity:.46}button:focus-visible,a:focus-visible{outline:2px solid #e9c47f;outline-offset:3px}
button.primary{color:#292013;background:#dbc083}button.secondary{color:#e2d9c8;background:#25282b}
button:hover:not(:disabled){filter:brightness(1.08)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:27px}
.stage{min-height:134px;text-align:left;background:#202428;color:#f6eee2;border-color:#4b5358;display:flex;flex-direction:column;gap:9px}
.stage b{color:#d7b46e;font-size:14px}.stage strong{font-size:19px}.stage span{color:#b7bec3;font-size:12px;line-height:1.45;font-weight:400}
.stage.next{border-color:#c2a66d;background:#2a2b27}.stage.done{border-color:#56736b}
.statusline{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px;color:#c3cccf;font-size:12px}
#state{color:#e8cd92;font-weight:800}
.balances{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.balances strong{font-variant-numeric:tabular-nums;font-size:21px;color:#e3d4b5}
.conservation{color:#8ec6a7;padding:12px 3px;font-size:12px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fields>div{padding:12px;background:#1e2226;border:1px solid #353c42;min-width:0}
.fields span{font:12px/1.6 Consolas,monospace;overflow-wrap:anywhere;color:#c0d0de}
.disclaimer{font-size:11px;color:#9da9ad;line-height:1.7;padding-top:8px}
footer{font-size:11px;color:#8a999f;text-align:center;padding:20px}
@media(max-width:750px){.top{flex-wrap:wrap;padding:12px 0}.head{padding:23px 0}.coin{width:82px;height:82px}.coin span{font-size:27px}.coin small{font-size:8px}
.statbar,.steps{grid-template-columns:repeat(2,1fr)}.workspace-head{display:block}.start{margin-top:16px}.fields{grid-template-columns:1fr}.stage{min-height:110px}}
@media(max-width:420px){.shell{padding:0 12px}.statbar{gap:6px}.statbar>div{padding:11px 8px}.statbar strong{font-size:12px}.balances{gap:5px}.balances>div{padding:10px 8px}.balances strong{font-size:14px}.start button{padding:10px 8px;font-size:11px}}
