:root{font:16px/1.45 system-ui,sans-serif;color:#f5e8cc;background:#09241c}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#1a4433,#09241c 70%);min-height:100dvh}button,input{font:inherit}button{min-height:44px;border:1px solid #b99454;border-radius:8px;background:#254a37;color:#ffe3a5;padding:8px 14px;cursor:pointer}button:hover{background:#38674b}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f5d083;outline-offset:2px}a{color:#f0d08d}.match-shell{width:min(100%,1000px);margin:auto;padding:12px 18px 55px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #786a44;padding:6px 0 15px;font-size:13px;letter-spacing:.08em}.match-heading{padding:22px 0 12px}.match-heading>span{color:#cda965;font-size:11px;font-weight:800;letter-spacing:.15em}.match-heading h1{font:700 clamp(30px,5vw,46px)/1.1 Georgia,serif;margin:6px 0}.match-heading p{color:#c7d3c4}.room-controls,.match-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid #756341;border-radius:10px;background:#142e24}.room-controls p{margin:0;color:#dfcca3}.room-controls p:empty{display:none}#invite-bar:not([hidden]){display:flex;flex:1;align-items:end;gap:8px;min-width:250px}#invite-bar label{flex:1;min-width:0;font-size:12px}#invite{display:block;width:100%;padding:9px;background:#0a211b;color:#fff;border:1px solid #897650;border-radius:6px;font-size:14px}.match-status{justify-content:space-between;margin:16px 0;color:#ffe5a7}#role-status{color:#f9e7bb;font-size:15px;font-weight:700;overflow-wrap:anywhere}.match-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:min(100%,560px);aspect-ratio:1;margin:14px auto;border:6px solid #735936;box-shadow:0 16px 35px #0009}.match-board:empty{display:none}.square{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:#d8c59d;color:#222;font-size:clamp(20px,5vw,46px);line-height:1}.square.dark{background:#6b765e}.square.selected{outline:4px solid #ffc84d;outline-offset:-4px}.square.legal:after{content:'';position:absolute;width:22%;aspect-ratio:1;border-radius:50%;background:#f8d65caa}.square .piece{position:relative;z-index:1}.square .white{color:#fff8de;text-shadow:0 2px 2px #111,0 0 3px #111}.square .black{color:#181a17;text-shadow:0 1px #e9d9a1}.square .checker{width:65%;aspect-ratio:1;border:3px solid #f4d8af;border-radius:50%;background:#a52d30;box-shadow:0 3px 2px #0008}.square .checker.ivory{background:#eee7c9;border-color:#937d58}.square .checker.king:before{content:'♛';font-size:55%;color:#28241c}.match-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:14px auto}.match-actions button{min-width:90px}#history{max-height:130px;overflow:auto;padding-left:26px;color:#d5ceb6;font-size:13px}.poker-table{margin:16px auto;padding:20px;border:12px solid #705334;border-radius:35% / 18%;background:radial-gradient(#246348,#12432e);box-shadow:0 10px 30px #0008;text-align:center}.poker-seats{display:flex;justify-content:space-between;gap:10px}.poker-seat{padding:10px;border:1px solid #b39c69;border-radius:10px;background:#113828}.poker-seat.active{box-shadow:0 0 0 3px #f5ca66}.cards{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:15px 0}.card{display:grid;place-items:center;width:48px;height:66px;border-radius:5px;background:#f9f2db;color:#17241e;font-size:21px;font-weight:800}.card.red{color:#b51e32}.card.back{background:#304e47;color:#d8b974}.poker-note{font-size:13px;color:#e2d7ba}.match-note{color:#adbdad;font-size:12px;margin-top:20px}@media(max-width:540px){.match-shell{padding:9px 10px 50px}header strong{font-size:11px}.room-controls{align-items:stretch}#invite-bar:not([hidden]){flex-basis:100%}.card{width:35px;height:49px;font-size:15px}.poker-table{padding:12px 8px;border-width:7px;border-radius:25% / 10%}.poker-seat{font-size:12px;padding:6px}}

.poker-seat strong{display:block;color:#ffe4a3;font-size:clamp(13px,2vw,18px);overflow-wrap:anywhere}
