@font-face{font-family:Galmuri;src:url('../ai-arena/font.woff2')}*{box-sizing:border-box}body{margin:0;background:#0b1020;color:#e9edfa;font:15px Galmuri,monospace}main{max-width:780px;margin:auto;padding:14px}header{display:flex;gap:25px;align-items:center}h1{font-size:24px}button,select{font:inherit;color:inherit;background:#23384e;border:2px solid #4b6379;border-radius:7px;padding:12px;cursor:pointer;touch-action:manipulation}button:focus-visible,button:hover{border-color:#b5ed69}button:disabled{opacity:.4}#status{color:#b5ed69;min-height:24px}#controls,#options{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}#board{overflow:auto}canvas{display:block;width:100%;max-height:65vh;object-fit:contain;touch-action:none;background:#15283d;border-radius:14px}.help{line-height:1.8;color:#adbed0}.sudoku{display:grid;grid-template-columns:repeat(9,1fr);max-width:540px;margin:auto;border:3px solid #aebed3}.sudoku button{aspect-ratio:1;padding:0;border:1px solid #52657c;border-radius:0;font-size:clamp(20px,4vw,32px)}.sudoku button.fixed{color:#a4b5c9;background:#152437}.sudoku button.selected{background:#4b6453}.sudoku button.error{color:#ff7a8d}.sudoku button:nth-child(3n){border-right-width:3px}.sudoku button:nth-child(n+19):nth-child(-n+27),.sudoku button:nth-child(n+46):nth-child(-n+54){border-bottom-width:3px}.numberpad button{flex:1;padding:13px 5px}.tubes{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;padding:25px 5px}.tube{display:flex;flex-direction:column-reverse;width:62px;height:220px;border:3px solid #88a9c5;border-top:0;border-radius:0 0 22px 22px;padding:4px;background:#203b5240;gap:2px;justify-content:flex-start}.tube.selected{outline:3px solid #b5ed69;transform:translateY(-10px)}.liquid{height:47px;flex-shrink:0;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#142238;font-size:12px}.nonogram{border-collapse:collapse;margin:auto}.nonogram td,.nonogram th{border:1px solid #52657a;padding:0;text-align:center;min-width:27px;height:27px}.nonogram th{white-space:pre-line;font-size:12px;padding:4px;color:#d1dcec}.nonogram button{border:0;border-radius:0;width:27px;height:27px;padding:0;background:#e0e5e2;color:#24344a}.nonogram .filled{background:#273b53}.nonogram tr:nth-child(5n+1) td{border-bottom:2px solid #8199b3}.nonogram td:nth-child(5n+1){border-right:2px solid #8199b3}@media(max-width:500px){main{padding:8px}.tubes{gap:11px}.tube{width:47px;height:180px}.liquid{height:37px}.nonogram td,.nonogram th{min-width:23px}.nonogram button{width:23px;height:23px}}
