@import"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600&display=swap";:root{--bg: #0a0f0b;--felt: #0f3b2f;--felt-dark: #082a21;--accent: #e9b44c;--accent-2: #cde9d0;--text: #f3f2ec;--muted: #b5b3a5;--danger: #d14b4b}*{box-sizing:border-box}body{margin:0;font-family:Space Grotesk,sans-serif;background:radial-gradient(circle at top,#1a231c,#0a0f0b 45%,#040605);color:var(--text)}.page{min-height:100vh;display:flex;flex-direction:column;gap:8px;padding:10px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-radius:14px;background:#0b120db3;border:1px solid rgba(255,255,255,.08)}.brand{font-family:Fraunces,serif;font-size:22px;letter-spacing:.5px}.status{display:flex;gap:12px;align-items:center}.ws-status{font-size:12px;color:var(--muted)}.phase{padding:4px 10px;border-radius:999px;background:#ffffff14;text-transform:uppercase;font-size:12px;letter-spacing:1px}.rules{display:flex;gap:14px;font-size:14px;color:var(--muted)}.table-wrap{display:grid;grid-template-columns:280px 1fr;gap:12px;align-items:stretch;min-height:820px}.table{position:relative;border-radius:28px;background:linear-gradient(180deg,var(--felt),var(--felt-dark));border:2px solid rgba(233,180,76,.35);width:660px;max-width:100%;height:640px;margin:0 auto;overflow:visible}.main-area{display:flex;flex-direction:column;gap:6px;align-items:center;height:100%}.felt{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at center,rgba(255,255,255,.08),transparent 55%),repeating-linear-gradient(135deg,rgba(255,255,255,.03) 0 6px,transparent 6px 12px);opacity:.6}.seat{position:absolute;width:150px;padding:6px 8px;background:#070e0ac7;border:1px solid rgba(255,255,255,.08);border-radius:14px;z-index:2;display:flex;flex-direction:column;gap:4px;text-align:center;transform:translate(-50%,-50%);height:135px;justify-content:space-between}.seat.turn{border-color:var(--accent);box-shadow:0 0 0 2px #e9b44c59}.seat-label{font-size:12px;color:var(--muted)}.seat-name{font-size:16px;font-weight:600}.seat-info{display:flex;justify-content:space-between;font-size:12px;color:var(--accent-2)}.seat-out{font-size:12px;color:var(--accent)}.seat-cards{font-size:12px;color:var(--accent);min-height:18px}.seat-error{color:var(--danger);font-size:12px}.seat-rank{color:var(--accent);font-weight:600;font-size:12px}.stack-cards{display:flex;flex-wrap:nowrap;justify-content:center;align-items:flex-end}.stack-card{width:38px;height:54px;border-radius:6px;border:1px solid rgba(0,0,0,.15);object-fit:cover;background:#f7f4ea;margin-left:-20px}.stack-card:first-child{margin-left:0}.seat-btn{margin-top:4px;background:transparent;border:1px solid rgba(255,255,255,.15);color:var(--text);border-radius:10px;padding:4px 6px;cursor:pointer}.seat-btn:disabled{opacity:.5;cursor:not-allowed}.seat-btn-placeholder{visibility:hidden}.bottom{bottom:12px;left:50%;transform:translate(-50%)}.top{top:12px;left:50%;transform:translate(-50%)}.left-top{top:140px;left:28px}.left-bottom{bottom:140px;left:28px}.right-top{top:140px;right:28px}.right-bottom{bottom:140px;right:28px}.center{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:300px;height:300px;background:#040806b3;border:1px solid rgba(255,255,255,.12);border-radius:50%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.center-title{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1px}.current-turn{color:var(--danger)}.center-cards{font-size:18px;font-weight:600;color:var(--accent);display:flex;justify-content:center}.center-line{display:flex;gap:6px}.center-card{width:50px;height:72px;border-radius:6px;border:1px solid rgba(0,0,0,.2);object-fit:cover;background:#f7f4ea}.timer{margin-top:6px;font-size:18px;padding:6px 12px;border-radius:999px;background:#e9b44c26}.timer.warn{background:#d14b4b33;color:var(--danger)}.side-panel{display:flex;flex-direction:column;gap:16px;height:100%}.panel-block{background:#0c120dbf;border-radius:16px;padding:14px;border:1px solid rgba(255,255,255,.08)}.panel-title{font-size:14px;color:var(--muted);margin-bottom:10px}.panel-title-row{display:flex;justify-content:space-between;align-items:center}.input{width:100%;padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:#0006;color:var(--text);margin-bottom:8px}.toggle{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px}.primary,.ghost{width:100%;padding:8px 10px;border-radius:10px;border:none;cursor:pointer;font-weight:600;margin-bottom:8px}.ghost.small{width:auto;padding:6px 10px;margin-bottom:0}.primary{background:var(--accent);color:#1a1407}.ghost{background:transparent;color:var(--text);border:1px solid rgba(255,255,255,.15)}.error{color:var(--danger);font-size:13px}.score-row{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px}.winner{margin-top:8px;font-weight:600;color:var(--accent)}.hint{font-size:12px;color:var(--muted)}.hand{background:#080c09cc;border-radius:16px;padding:16px 16px 10px;border:1px solid rgba(255,255,255,.08);overflow:visible;width:600px;max-width:100%;margin-top:0}.hand-title{color:var(--muted);margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.hand-cards{display:flex;flex-wrap:nowrap;overflow-x:hidden;gap:0;padding-top:26px;padding-bottom:8px;align-items:flex-end}.card{width:58px;height:82px;border:none;background:transparent;padding:0;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;box-shadow:0 6px 14px #00000040;transition:transform .12s ease,box-shadow .12s ease;margin-left:-40px;position:relative;z-index:1}.card:first-child{margin-left:0}.card.selected{transform:translateY(-22px);box-shadow:0 10px 20px #0000004d;z-index:1}.card-face{width:58px;height:82px;border-radius:8px;border:1px solid rgba(0,0,0,.2);object-fit:cover;background:#f7f4ea}.muted{color:var(--muted)}@media (max-width: 960px){.table-wrap{grid-template-columns:1fr}.side-panel{order:-1}.seat{width:140px}}
