*{box-sizing:border-box}body{margin:0;background:#082321;color:#e5f2df;font:16px/1.5 system-ui,sans-serif}main{width:min(840px,100%);margin:22px auto;border:1px solid #41605a;background:#113430}header{position:relative;overflow:hidden;min-height:180px;display:flex;align-items:end;background:#0b2520}header img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 55%}header div{position:relative;width:100%;background:linear-gradient(90deg,#082320f7,transparent);padding:26px}h1{font: bold clamp(34px,6vw,58px)/1 Georgia,serif;color:#ffdc98;margin:0}header p{max-width:355px}section{padding:20px 26px}h2,h3,p{margin:0 0 12px}h2{font:28px Georgia,serif}h3{font-size:15px;letter-spacing:.04em}.top,.row,#strip,#bank{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.top{justify-content:space-between}.station{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0;padding:18px 0;border-block:1px solid #54766b}button{background:#244c43;border:1px solid #719586;color:#f4f5d9;border-radius:5px;padding:9px 12px;cursor:pointer;font:inherit}button:disabled{opacity:.45}button:focus-visible,button:hover:enabled{outline:2px solid #f7c66b}#write,#next{background:#f4c876;color:#18332a}.chip{display:inline-grid;place-items:center;width:56px;height:56px;background:#092321;border:2px solid #48635a;padding:2px;border-radius:5px}.sprite{display:block;width:100%;height:100%;background-image:url(sprites.webp);background-size:200% 200%;image-rendering:pixelated}.current,.selected{border-color:#ffd07e;box-shadow:0 0 0 2px #ffd07e}.done{opacity:.48}#bank,#preview{min-height:70px;margin-bottom:8px}#msg{min-height:24px;color:#ffda91}small{color:#b3cbbc}button[hidden]{display:none}@media(max-width:590px){main{margin:0}section,header div{padding:16px}.station{grid-template-columns:1fr}.chip{width:44px;height:44px}.row{gap:5px}button{padding:8px}}
