@font-face{font-family:Galmuri;src:url('../ai-arena/font.woff2')}*{box-sizing:border-box}body{margin:0;background:#0b1020;color:#e9edfa;font:14px Galmuri,monospace}main{max-width:920px;margin:auto;padding:14px}header{display:flex;justify-content:space-between;align-items:center}h1{font-size:23px}button,select{font:inherit;color:inherit;background:#20334a;border:2px solid #456079;border-radius:7px;padding:12px;cursor:pointer;touch-action:manipulation}button:hover,button:focus-visible{border-color:#b5ed69}button:disabled{opacity:.4;cursor:default}#status{color:#b5ed69;min-height:24px}#controls,#options{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}#controls button{flex:1;min-width:55px}canvas{display:block;width:100%;max-height:65vh;object-fit:contain;touch-action:none;border-radius:14px;background:#14253a}#board{overflow:auto}.help{line-height:1.8;color:#afbdd1}.word{text-align:center;font-size:clamp(23px,5vw,48px);letter-spacing:8px;margin:25px 0}.alphabet{display:grid;grid-template-columns:repeat(9,1fr);gap:6px}.alphabet button{padding:12px 4px}.spider{display:grid;grid-template-columns:repeat(10,minmax(32px,1fr));gap:6px;background:#174039;padding:10px;border-radius:12px;min-height:420px}.pile{min-height:140px;border:1px dashed #668a7c;border-radius:5px}.card{display:block;position:relative;width:100%;height:125px;margin-top:-98px;background:#f4efd9;color:#142238;padding:0;border:1px solid #aaa;border-radius:5px;overflow:hidden}.card:first-child{margin-top:0}.card .rank{display:block;font-size:clamp(26px,5vw,55px);line-height:65px}.card .suit{display:block;font-size:38px;line-height:42px}.card.back{background:repeating-linear-gradient(45deg,#35516d 0 4px,#294760 4px 8px)}.card.selected{outline:3px solid #b5ed69}.card .edge{position:absolute;left:2px;top:0;font-size:15px}.card:last-child .edge{display:none}@media(max-width:500px){main{padding:8px}.spider{gap:3px;padding:5px}.card{height:98px;margin-top:-76px}.card .rank{line-height:52px}.card .suit{font-size:28px;line-height:34px}.card .edge{font-size:13px}h1{font-size:19px}button{padding:10px 7px}}

body[data-game=block-stack] main{max-width:640px}body[data-game=block-stack] header{justify-content:flex-start;gap:20px}body[data-game=block-stack] canvas{max-height:62vh}
