*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#0c0d12;color:#f3f4f8;font:16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{background:radial-gradient(ellipse at 65% -25%,#223b4c88,transparent 65%),#0c0d12}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #56d7cf;outline-offset:2px}.shell{max-width:1200px;margin:0 auto;padding:0 22px}.top{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #30343c;gap:14px}.top-actions{display:flex;align-items:center;gap:8px}.brand{font-size:27px;font-weight:900;letter-spacing:-.065em}.brand span{color:#a2aab7;font-size:11px;font-weight:750;letter-spacing:.21em;padding-left:6px}.tag,.eyebrow{color:#69d5cd;letter-spacing:.1em;font-size:11px;font-weight:800}.tag{border:1px solid #355e60;border-radius:999px;padding:8px 10px}.quiet,.secondary,.primary,.danger{border-radius:12px;padding:12px 17px;border:1px solid #343b46;background:#23272f;color:#f2f5f7;font-weight:750}.primary{background:#55bcb5;color:#071b1c;border-color:#6adbd2}.danger{color:#ffacb7;border-color:#73414d}.secondary{background:#1b2026}.quiet{padding:8px 12px}.small{padding:7px 11px;font-size:13px}.hero{margin:48px 0 28px}.hero h1{font-size:clamp(36px,5vw,62px);letter-spacing:-.06em;line-height:1.1;margin:10px 0 14px}.hero p,.muted{color:#abb0bd;line-height:1.65}.hero p{max-width:740px;font-size:18px}.grid-two{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.panel{border:1px solid #30363e;border-radius:20px;background:#171a20;padding:24px}.panel h2{font-size:22px;margin:0 0 18px}.panel h3{margin:0 0 12px}label{display:grid;gap:8px;font-size:13px;color:#c0c6d0;font-weight:750;margin:15px 0}input,select{background:#0d1015;color:#f3f5f8;border:1px solid #454c55;border-radius:12px;padding:13px 14px;min-width:0;width:100%;font-size:16px}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.actions>button{flex:1 1 auto}.switches{display:flex;gap:8px;flex-wrap:wrap}.switches button{padding:9px 13px}.switches button.active{background:#214747;color:#98f3e9;border-color:#438d85}.members{display:grid;gap:8px}.member{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #303942;background:#13171c;border-radius:12px}.avatar{height:38px;width:38px;border-radius:11px;display:grid;place-items:center;background:#284344;color:#bcf8ef;font-weight:900;flex:none}.member .name{min-width:0;flex:1;font-weight:800}.member .detail{font-size:12px;color:#9ea5b1;margin-top:4px;font-weight:500}.pill{border:1px solid #343e48;border-radius:999px;padding:6px 12px;font-size:12px}.ready{color:#8ee2b7}.warning{color:#e2b47f}.row{display:flex;gap:10px;align-items:center;justify-content:space-between}.code{font-size:30px;letter-spacing:.14em;font-weight:900}.spacer{margin-top:22px}.hint{padding:12px 14px;background:#20282b;border-left:3px solid #5cc5bc;border-radius:8px;color:#bdd7d5;font-size:14px}.error{margin-top:20px;color:#ffb3bf;background:#49232c;border:1px solid #8c3c4b;padding:13px;border-radius:11px}.board-thumb{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:15px}.tile{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;font-weight:900;color:#102033}.t0{background:#ef478a}.t1{background:#53bfea}.t2{background:#c2df46}.t3{background:#ffd04b}.t4{background:#f99a38}.mode{border:1px solid #3f4a51;border-radius:14px;padding:15px;display:flex;gap:15px;align-items:center;justify-content:space-between}.play-shell{display:flex;flex-direction:column;min-height:calc(100dvh - 125px);margin-top:13px}.play-actions{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:10px}.game-frame{border:1px solid #344050;border-radius:12px;width:100%;height:min(75vh,800px);min-height:530px;background:#081021;display:block}.results{display:grid;gap:8px}.result{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:12px;border-radius:10px;background:#11171c}.result strong{font-size:20px;color:#7bddd2}footer{font-size:12px;color:#777f8b;padding:30px 0}.loading{padding:60px 0}.section{margin-top:24px}.notice{margin-top:10px;font-size:12px;color:#7f8a98}.empty{color:#9ba3b1}.inline-field{display:flex;gap:10px}.inline-field input{flex:1}.inline-field button{flex:none}@media(max-width:780px){.shell{padding:0 14px}.grid-two{grid-template-columns:1fr}.panel{padding:17px}.hero{margin:32px 0 20px}.hero p{font-size:15px}.code{font-size:25px}.game-frame{min-height:450px;height:calc(100dvh - 160px)}.play-shell{min-height:calc(100dvh - 120px)}.tag{display:none}}@media(orientation:landscape) and (max-height:520px){.shell{max-width:none;padding:0 8px}.top{padding:5px 0}.brand{font-size:18px}footer{display:none}.play-shell{margin-top:4px;min-height:calc(100dvh - 38px)}.play-actions{margin-bottom:3px}.game-frame{height:calc(100dvh - 70px);min-height:280px}}
