:root{--ink:#172d32;--muted:#526465;--paper:#fff7e7;--card:#fffdf6;--sea:#14605b;--accent:#d99c31;--line:#dad8c8;font-family:ui-sans-serif,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:var(--sea);text-underline-offset:4px}button,input,select{font:inherit}button,.button{display:inline-block;border:0;border-radius:8px;background:var(--sea);color:white;padding:.8rem 1.2rem;text-decoration:none;cursor:pointer;font-weight:650}button:hover,.button:hover{background:#0a4843}button:disabled{opacity:.5;cursor:wait}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.site-header{max-width:1200px;padding:1.5rem 2rem;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}.site-header>a{font-family:Georgia,serif;font-size:1.4rem;font-weight:bold;text-decoration:none}.site-header nav{display:flex;gap:1.5rem}main{max-width:1200px;margin:auto;padding:2rem}.hero{padding:5rem 0 7rem;position:relative;max-width:800px}.eyebrow{letter-spacing:.15em;font-size:.75rem;font-weight:800;color:var(--sea)}h1,h2{font-family:Georgia,serif;font-weight:500;line-height:1.1}h1{font-size:clamp(2.2rem,5vw,4.3rem);white-space:pre-line;margin:1rem 0}h2{font-size:1.6rem;margin:0 0 1.2rem}.hero h1{font-size:clamp(3rem,7vw,6rem)}.lede{max-width:530px;font-size:1.2rem;line-height:1.6;color:var(--muted);margin-bottom:2rem}.domino-mark{margin-top:3rem;display:inline-block;border:2px solid var(--ink);border-radius:14px;padding:1rem 1.5rem;font-size:1.4rem;background:var(--card);transform:rotate(-9deg);box-shadow:8px 10px 0 #d99c3140}.lobby-grid{display:grid;grid-template-columns:3fr 2fr;gap:1.5rem}.panel{border:1px solid var(--line);border-radius:14px;background:var(--card);padding:1.5rem;margin-bottom:1.5rem}.narrow{max-width:640px;margin:2rem auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}label{display:flex;flex-direction:column;gap:.45rem;font-size:.9rem;font-weight:600;margin-bottom:1rem}input,select{width:100%;min-width:0;border:1px solid #aebbb7;border-radius:6px;padding:.65rem;background:white;color:var(--ink)}input[type=checkbox]{width:auto}.check{flex-direction:row;align-items:center;font-weight:500;margin:1.2rem 0}.room-list,.seats{list-style:none;padding:0}.room-list li{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid var(--line)}.room-list span{font-size:.8rem;color:var(--muted)}.table{border:10px solid #966334;border-radius:28px;background:#185f59;min-height:260px;padding:2rem;box-shadow:0 6px 0 #614327;margin:2rem 0}.table.mango{background:#865b22}.table.midnight{background:#253749}.board,.hand,.controls{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.tile{color:#172d32;background:#ffffef;border:1px solid #cdc8ac;border-radius:7px;padding:.8rem;font-weight:700;white-space:nowrap;box-shadow:2px 3px 0 #0003}.room-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.seats li{display:flex;flex-direction:column;gap:.4rem;padding:.7rem 0}.seats span{font-size:.85rem;color:var(--muted)}.seats form{margin-bottom:.4rem}.hand form{width:100%;margin-top:.4rem}.notice{border-left:4px solid var(--accent);padding:.8rem;background:#fff0c8}#room-error{color:#a12424}footer{max-width:1200px;margin:auto;padding:2rem;border-top:1px solid var(--line);color:var(--muted)}footer a{margin-right:1rem}footer p{font-family:Georgia,serif;font-size:1.3rem}@media(max-width:760px){.lobby-grid,.room-grid{grid-template-columns:1fr}.site-header,main,footer{padding:1rem}.hero{padding:3rem 0}.form-grid{grid-template-columns:1fr}.table{padding:1rem;min-height:220px;border-width:7px}.room-list li{flex-direction:column}.page-title h1{overflow-wrap:anywhere}.site-header>a{font-size:1.1rem}.site-header nav{gap:.7rem}.panel{padding:1rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.scene-table{width:100%;height:clamp(280px,50vw,570px);margin:1.5rem 0;border-radius:24px;overflow:hidden;background:#112b2c}.scene-table>div{height:100%!important;min-height:0!important}.scene-table svg{width:100%;height:100%}.scene-table canvas{max-width:100%}.scene-ends{display:flex;gap:.6rem;margin:.8rem 0}.tile[aria-pressed=true]{outline:3px solid var(--accent)}@media(max-width:760px){.scene-table{height:360px}}
