*{box-sizing:border-box}html{background:#1d2221;color:#f4efda;font:16px/1.45 "DM Sans",system-ui,sans-serif}body{margin:0}main{width:min(100%,560px);margin:auto;padding:16px 16px 40px}header{background:#f5c842;color:#212624;padding:20px 22px;border-radius:8px 8px 3px 3px;border-bottom:7px solid #827348}header p{font:700 .8rem/1.2 monospace;letter-spacing:.12em;margin:0 0 7px}h1{font-size:clamp(1.8rem,6vw,2.5rem);line-height:1.1;margin:0;letter-spacing:-.04em}section{background:#272d2a;border:1px solid #50574f;border-radius:6px;margin-top:12px;padding:16px}h2{font-size:1.1rem;margin:0}p{margin:.4rem 0 .8rem}button,input{font:inherit;border-radius:6px;padding:10px 14px;min-height:46px}button{background:#f5c842;color:#202421;border:1px solid #e6bf51;font-weight:700;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #adedd0;outline-offset:2px}.pair,.power{display:flex;gap:8px}.power>*{flex:1}#park{background:#edac85;border-color:#edac85}input{width:9rem;letter-spacing:.2em}label{display:block;margin:9px 0 5px}dl{margin:12px 0 0}dl div{display:flex;justify-content:space-between;border-top:1px solid #49514a;padding:4px 0;gap:8px}dt{color:#d0d4c6}dd{margin:0;color:#b0e4c9;font-weight:650}.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0}.pad button{background:#d9dbc9;border-color:#d9dbc9}.pad [data-dir=forward]{grid-column:2}.pad [data-dir=left]{grid-column:1}.pad [data-dir=right]{grid-column:3}.pad [data-dir=back]{grid-column:2}#finish{background:transparent;color:#eceada;border-color:#7d8478}#feedback{min-height:1.5em;color:#bcefcf}
