.draw-room{display:grid;grid-template-columns:185px minmax(0,1fr) 235px;gap:14px;align-items:start}.draw-workspace{min-width:0;border:1px solid #435066;border-radius:16px;overflow:hidden;background:#202a3b}.draw-round-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;background:#263347;min-height:90px}.draw-word{text-align:center;flex:1;min-width:0}.draw-word>strong{font-size:25px;color:#ffe3a0;letter-spacing:.5px;overflow-wrap:anywhere}.draw-word-label{display:block;font-size:10px;color:#bdc8d8;margin-bottom:6px}.word-spaces{display:flex;gap:4px;justify-content:center;flex-wrap:wrap}.word-spaces>span{font-size:23px;font-weight:800;line-height:1.2;min-width:13px}.word-spaces>.word-gap{width:10px;min-width:10px}.draw-timer{width:51px;flex-shrink:0;display:flex;align-items:center;flex-direction:column;color:var(--teal);line-height:1.2}.draw-timer .icon{width:16px;height:16px}.draw-timer strong{font-size:24px;font-variant-numeric:tabular-nums}.draw-timer small{font-size:8px;color:var(--muted)}.draw-timer.urgent{color:var(--coral)}.draw-turn-count{font-size:9px;color:#aebdd3;max-width:45px;text-align:right}.draw-canvas-wrap{position:relative;background:#fff;aspect-ratio:500/320}.draw-canvas-wrap canvas{width:100%;height:100%;display:block;touch-action:none;background:#fff}.draw-canvas-wrap canvas.artist{cursor:crosshair}.draw-stage-cover{position:absolute;inset:0;background:#f5efdfeF;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;color:#263d40}.draw-stage-cover .eyebrow{color:#6a7c6e}.draw-stage-cover h2{font-size:24px;letter-spacing:-.6px;margin:8px 0}.draw-stage-cover p{font-size:11px;max-width:340px;color:#60746b}.draw-word-choices{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:12px}.draw-word-choices .btn{min-width:100px;font-size:14px;text-transform:capitalize}.draw-reveal-banner{position:absolute;bottom:0;left:0;right:0;padding:15px 20px;background:#19382cf0;text-align:center;color:#dcf0c9}.draw-reveal-banner>strong{font-size:23px;display:block}.draw-reveal-banner>span{font-size:11px;color:#bad5b9}.draw-reveal-points{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:7px}.draw-reveal-points>span{font-size:10px;color:#ffe09b;background:#ffffff14;border-radius:5px;padding:3px 6px}.draw-toolbar{padding:13px 15px;display:flex;flex-direction:column;gap:11px}.draw-tool-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.draw-tool-row .caption{margin-left:auto;font-size:9px}.draw-tool-row .segmented{background:#192434}.draw-tool-row .segmented button{font-size:10px;padding:7px 10px}.draw-tool-row .segmented button.active{background:#4d6275;color:#fff}.draw-brush-size{display:flex;align-items:center;gap:6px;font-size:10px;color:#b8c7da;margin-left:auto}.draw-brush-size select{width:74px;font-size:10px;min-height:31px;padding:6px}.draw-palette{display:flex;gap:5px;flex-wrap:wrap}.draw-palette button{width:24px;height:24px;border-radius:5px;border:1px solid #fff3;position:relative}.draw-palette button.selected{box-shadow:0 0 0 2px #ffdf98;transform:translateY(-2px)}.draw-palette button.selected:after{content:"✓";position:absolute;inset:0;color:#fff;mix-blend-mode:difference;font-size:15px}.draw-observer-note{font-size:11px;color:#b8c8d9;text-align:center;padding:18px;min-height:60px}.draw-standings,.draw-chat{border:1px solid #37465d;border-radius:14px;background:#1b2637;overflow:hidden}.draw-panel-label{font-size:12px;font-weight:750;background:#253246;padding:13px;display:flex;justify-content:space-between;gap:6px}.draw-panel-label>span{font-size:9px;color:var(--muted);font-weight:500}.draw-player{display:flex;align-items:center;gap:7px;padding:13px 9px;border-bottom:1px solid #344057}.draw-player>.avatar{height:29px;width:29px;font-size:12px;border-radius:9px}.draw-player.artist{background:#f9cf7820}.draw-player.solved{background:#65cbb21b}.draw-rank{font-size:10px;color:#a8b9ce;width:11px;flex-shrink:0}.draw-player>div{min-width:0;flex:1}.draw-player strong{display:block;font-size:10px;overflow-wrap:anywhere}.draw-player small{display:block;font-size:8px;color:#93aaca;margin-top:3px}.draw-score{font-size:12px;font-weight:800;color:var(--gold);font-variant-numeric:tabular-nums}.draw-score-note{font-size:9px;color:#a6b5cb;padding:14px;line-height:1.8}.draw-guesses{height:350px;overflow:auto;padding:9px 11px;display:flex;flex-direction:column;gap:8px}.draw-guess{font-size:11px;color:#c7d2e4;overflow-wrap:anywhere}.draw-guess>strong{font-weight:750;color:#e6eaf1;margin-right:5px}.draw-guess.correct{color:#86e6b8;background:#4d997523;border-radius:7px;padding:8px}.draw-guess.correct>strong{color:#9ce3bf}.draw-chat-empty{font-size:11px;color:#92a7c1;text-align:center;padding:35px 6px}.draw-guess-form{display:flex;gap:5px;padding:10px;border-top:1px solid #35465d;background:#202e43}.draw-guess-form input{min-width:0;font-size:11px;background:#142136}.draw-guess-form .btn{padding:9px;min-width:34px}.draw-last-result{padding:14px;text-align:center;font-size:11px;color:#9fb0c5}.draw-last-result>strong{color:var(--gold)}.draw-final-players{max-width:550px;margin:auto;border:1px solid #4a596c;border-radius:12px;overflow:hidden}.draw-final-players .draw-player strong{font-size:14px}.draw-history{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.draw-history article{border:1px solid #3c4a5e;background:#162133;border-radius:10px;padding:14px}.draw-history strong{display:block;font-size:18px;color:var(--gold);margin:6px 0}.draw-history small{font-size:10px;color:#a8b6ca}.tile-back{background:#507e69;color:#bfd6b8;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1250px){.draw-room{grid-template-columns:150px minmax(0,1fr)}.draw-chat{grid-column:1/-1;display:grid;grid-template-columns:150px minmax(0,1fr)}.draw-chat>.draw-panel-label{display:block;grid-row:1/3}.draw-chat>.draw-panel-label>span{display:block;margin-top:6px}.draw-guesses{height:160px;grid-column:2}.draw-guess-form{grid-column:2}.draw-word-choices .btn{font-size:12px;min-width:85px}.draw-stage-cover h2{font-size:21px}.draw-tool-row .caption{width:100%;margin-left:0}.draw-round-bar{padding:11px;gap:8px}}
@media(max-width:780px){.draw-room{grid-template-columns:1fr}.draw-workspace{grid-row:1}.draw-standings{grid-row:3;display:flex;flex-wrap:wrap}.draw-standings .draw-panel-label{width:100%}.draw-standings .draw-player{width:50%;border-right:1px solid #344057}.draw-score-note{width:100%}.draw-chat{grid-row:2;display:block}.draw-chat>.draw-panel-label{display:flex}.draw-guesses{height:170px}.draw-chat>.draw-panel-label>span{margin:0}.draw-history{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.draw-round-bar{min-height:77px}.draw-word>strong{font-size:21px}.word-spaces{gap:3px}.word-spaces>span{font-size:18px;min-width:10px}.draw-word-label{font-size:9px}.draw-timer{width:40px}.draw-timer strong{font-size:22px}.draw-stage-cover{padding:14px}.draw-stage-cover h2{font-size:20px;margin:5px 0}.draw-stage-cover p{font-size:10px;margin:5px 0}.draw-word-choices{gap:7px;margin-top:10px}.draw-word-choices .btn{font-size:11px;min-height:35px;min-width:72px;padding:10px}.draw-toolbar{padding:12px;gap:12px}.draw-palette{gap:6px}.draw-palette button{height:24px;width:24px}.draw-toolbar .btn.small{font-size:9px;min-height:31px;padding:7px 10px}.draw-reveal-banner{padding:10px}.draw-reveal-banner>strong{font-size:19px}.draw-reveal-banner>span{font-size:9px}.draw-reveal-points>span{font-size:8px}.draw-observer-note{font-size:10px;padding:14px}.draw-turn-count{font-size:8px;max-width:35px}.draw-tool-row .segmented button{font-size:9px;padding:7px}.draw-brush-size{font-size:9px}.draw-brush-size select{width:64px}.draw-history article{padding:12px}.draw-history strong{font-size:15px}}

.reversi-board .piece.p1{background:#233a36;border-color:#172e2c;color:#aac3ad}.reversi-board .piece.p2{background:#e6d8b6;border-color:#b8aa88;color:#82723e}

@media(max-width:600px){.draw-canvas-wrap:has(.draw-stage-cover){min-height:230px}.draw-stage-cover{overflow:auto;justify-content:safe center}.draw-word-choices .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}}
