/* Ironstrike brand tokens (copied from ironstrike-ai/index.html). Zero dependencies. */
:root{--bg:#0a0a0b;--panel:#141416;--steel-line:#38393e;--text:#eae8e4;--dim:#9a9a9f;--ember:#f5821f;--ember-bright:#ff9e42}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column}
.wrap{width:100%;max-width:760px;margin:0 auto;padding:16px 16px 24px}
main.wrap{flex:1}
h1{font-size:2rem;line-height:1.15;margin:0 0 8px}
p{margin:0 0 12px}
a{color:var(--ember-bright)}
.lede{color:var(--dim)}
button,.btn{min-height:44px;min-width:44px;padding:10px 20px;font:inherit;font-weight:600;color:#0a0a0b;background:var(--ember);border:0;border-radius:8px;cursor:pointer;touch-action:manipulation}
button:disabled{opacity:.45;cursor:default}
button:focus-visible,a:focus-visible{outline:3px solid var(--ember-bright);outline-offset:2px}
.is-footer{border-top:1px solid var(--steel-line);color:var(--dim);font-size:.875rem;padding:16px;max-width:760px;margin:0 auto;width:100%}
.is-footer p{margin:0 0 8px}
/* Coil */
.layout{display:block}
.boardwrap{width:100%;max-width:420px;margin:0 auto}
#board{display:block;width:100%;height:auto;aspect-ratio:1;background:var(--panel);border:1px solid var(--steel-line);border-radius:10px;touch-action:none;-webkit-user-select:none;user-select:none}
.side{margin-top:12px;max-width:420px;margin-left:auto;margin-right:auto}
.status{display:flex;justify-content:space-between;gap:8px;color:var(--dim);margin-bottom:6px}
.status strong{color:var(--text)}
.msg{min-height:3em;margin:0 0 8px;color:var(--ember-bright);font-weight:600}
.actions{display:flex;gap:8px;margin-bottom:12px}
.actions button{flex:1}
.alt{background:var(--panel);color:var(--text);border:1px solid var(--steel-line)}
.pad{display:grid;grid-template-columns:repeat(3,56px);grid-template-rows:repeat(2,56px);gap:8px;justify-content:center;margin-bottom:12px}
.pad button{width:56px;height:56px;padding:0;font-size:1.2rem}
.pad .up{grid-column:2;grid-row:1}
.pad .left{grid-column:1;grid-row:2}
.pad .down{grid-column:2;grid-row:2}
.pad .right{grid-column:3;grid-row:2}
.keys{display:none;color:var(--dim)}
.tabs{margin-top:8px}
.tabs a{display:inline-block;min-height:44px;line-height:44px}
@media (min-width:820px){.wrap{padding:40px 24px}h1{font-size:2.6rem}.boardwrap{max-width:460px}.side{max-width:460px}}
@media (min-width:1100px){.wrap{max-width:960px}.layout{display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:40px;align-items:start}.boardwrap{margin:0}.side{margin:0;padding-top:4px}.pad{display:none}.keys{display:block}}
/* L-3015: phone tap target for the footer link (<=760px only) */
@media (max-width:760px){.is-footer a{display:inline-block;position:relative;padding:12px 0;margin:-12px 0}}
