:root{font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;color:#f8f5e9;background:#101a1b;font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% 0%,#365e54 0,transparent 38%),#101a1b;min-height:100vh}main{width:min(680px,100%);margin:auto;padding:20px 18px 60px}header{display:flex;justify-content:space-between;align-items:center;color:#a9b9b0;font-size:.84rem}a{color:#b6eb9c;text-decoration:none}.hero{padding:46px 0 28px}.eyebrow{color:#a5e678;font-size:.76rem;font-weight:800;letter-spacing:.2em;margin:0 0 8px}h1{font-size:clamp(2.5rem,10vw,5rem);line-height:1.04;letter-spacing:-.06em;margin:0}h1 span{color:#b6eb9c}.hero>p:last-child{font-size:1.15rem;line-height:1.7;color:#d0dcd1}.panel{background:#1c2b2a;border:1px solid #416056;border-radius:22px;padding:22px;margin:16px 0;box-shadow:0 16px 45px #0003}label{display:block;color:#d3e0d5;font-size:.86rem;font-weight:700}input{display:block;width:100%;margin-top:8px;padding:13px 14px;background:#101a1b;color:white;border:1px solid #658276;border-radius:12px;font:inherit;font-size:1rem}input:focus{outline:2px solid #b6eb9c}button{border:1px solid #729177;color:#f8f5e9;background:#30483f;border-radius:12px;padding:12px 17px;font:inherit;font-weight:800;cursor:pointer;min-height:46px}button:hover{filter:brightness(1.15)}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#b6eb9c;color:#142218;border-color:#b6eb9c}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.join{display:flex;align-items:end;gap:10px;margin-top:20px}.join label{flex:1}.roomhead{display:flex;justify-content:space-between;align-items:center;gap:10px}.roomhead strong{font-size:2rem;letter-spacing:.15em}#status{color:#c4d3c8;min-height:1.5em}.notice{padding:16px;background:#443e29;border:1px solid #c8ae61;border-radius:14px;margin:16px 0}.notice button{margin:8px 8px 0 0}.players{display:grid;gap:12px}.player{border:1px solid #547269;background:#1e3330;border-radius:16px;padding:17px;display:flex;justify-content:space-between;gap:12px;align-items:center}.player.mine{border-color:#b6eb9c}.player.out{opacity:.6}.player h3{margin:0 0 4px;font-size:1.05rem}.player p{margin:0;color:#b9c8bf;font-size:.8rem}.word{font-size:1.4rem;font-weight:900;color:#f8d685}.word.hiddenword{font-size:.95rem;color:#a8b9ae}.player button{font-size:.8rem}.rules h2{margin-top:0}.rules li{margin:12px 0;line-height:1.6}.rules p{color:#aec0b4;font-size:.85rem;line-height:1.6}[hidden]{display:none!important}@media(max-width:440px){.roomhead{align-items:start;flex-direction:column}.player{align-items:start;flex-direction:column}.join{align-items:stretch;flex-direction:column}}
select{display:block;margin-top:8px;padding:12px 14px;border:1px solid #658276;border-radius:12px;background:#101a1b;color:#f8f5e9;font:inherit}#theme{display:flex;justify-content:space-between;align-items:center;gap:12px}#theme strong{font-size:1.25rem}#theme button{font-size:.85rem}
.word{overflow-wrap:anywhere;line-height:1.5}.commonword{display:inline-block;margin:4px;padding:7px 10px;border-radius:9px;background:#694e37;color:#ffe2af;font-weight:800}#common p:last-child{line-height:1.8;margin:0}
