:root{--ocean-deep: #0a1e33;--ocean-mid: #11304f;--ocean-light: #1a4870;--parchment: #faf2df;--parchment-dark: #ebdcc0;--gold: #eab308;--gold-dark: #b45309;--ink: #1e293b;--muted: #64748b;--danger: #dc2626;--radius: 16px}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100%;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,sans-serif;background:radial-gradient(circle at 50% 0%,var(--ocean-light),var(--ocean-deep) 70%);color:#f8fafc;-webkit-tap-highlight-color:transparent}.btn{border:none;border-radius:12px;font-weight:700;font-size:.95rem;padding:11px 16px;cursor:pointer;transition:transform .1s ease,filter .15s ease,opacity .15s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.42;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#f59e0b,#d97706);color:#1c1002;box-shadow:0 4px 14px #f59e0b59}.btn-primary:hover:not(:disabled){filter:brightness(1.06)}.btn-secondary{background:#ffffff21;color:#f8fafc;border:1px solid rgba(255,255,255,.22)}.btn-tv{background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;box-shadow:0 4px 16px #2563eb59}.btn-lg{width:100%;padding:14px 20px;font-size:1.05rem}.btn-xl{width:100%;padding:18px 24px;font-size:1.25rem}.btn-sm{padding:7px 12px;font-size:.85rem}.btn-ghost-sm{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:1.1rem;padding:4px 8px}.btn-ghost-sm:hover{color:#f87171}.btn-end-turn{width:100%;margin-top:14px;background:#1e293b;color:#f8fafc;border:1px solid rgba(255,255,255,.2);padding:13px}.error-banner{background:#dc262633;border:1px solid rgba(248,113,113,.55);color:#fecaca;padding:10px 14px;border-radius:10px;font-size:.9rem;font-weight:600}.brand-badge{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.14em;color:#fde68a;background:#eab30829;border:1px solid rgba(234,179,8,.35);padding:5px 11px;border-radius:999px;margin-bottom:10px}.brand-title{font-family:Cinzel,Georgia,serif;font-size:2.8rem;letter-spacing:.12em;color:#fef3c7;text-shadow:0 3px 18px rgba(0,0,0,.45)}.home-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.home-card{width:100%;max-width:420px;background:#0d2137e6;border:1px solid rgba(254,243,199,.18);border-radius:24px;padding:32px 26px;text-align:center;box-shadow:0 24px 60px #00000073}.brand-subtitle{color:#cbd5e1;font-size:.95rem;margin:8px 0 24px;line-height:1.45}.join-form{display:flex;flex-direction:column;gap:14px;text-align:left}.field{display:flex;flex-direction:column;gap:6px}.field span{font-size:.75rem;font-weight:800;letter-spacing:.1em;color:#fde68a}.field input{width:100%;padding:13px 14px;border-radius:12px;border:2px solid rgba(255,255,255,.16);background:#ffffff14;color:#fff;font-size:1.05rem;font-weight:700;outline:none}.field input:focus{border-color:var(--gold)}.input-code{text-transform:uppercase;letter-spacing:.35em;text-align:center;font-size:1.5rem!important}.home-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#94a3b8;font-size:.85rem}.home-divider:before,.home-divider:after{content:"";flex:1;height:1px;background:#ffffff26}.status-pill{padding:5px 12px;border-radius:999px;font-size:.8rem;font-weight:700;background:#ffffff1a}.status-open{color:#4ade80}.status-reconnecting,.status-connecting{color:#fde047}.tag{font-size:.7rem;font-weight:800;padding:2px 7px;border-radius:6px;margin-left:6px;vertical-align:middle}.tag-vip{background:#eab30840;color:#fde047}.tag-bot{background:#38bdf838;color:#7dd3fc}.tag-offline{background:#ef444440;color:#fca5a5}.player-dot{width:12px;height:12px;border-radius:50%;display:inline-block;border:2px solid rgba(255,255,255,.7);flex-shrink:0}.tv-loading,.phone-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}.tv-lobby{min-height:100vh;padding:28px 36px;max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:24px}.tv-lobby-header{display:flex;justify-content:space-between;align-items:flex-start}.tv-title{font-family:Cinzel,Georgia,serif;font-size:2.2rem;color:#fef3c7}.tv-lobby-grid{display:grid;grid-template-columns:380px 1fr;gap:28px;flex:1}.tv-join-card,.tv-seats-card{background:#0b1d31d9;border:1px solid rgba(254,243,199,.16);border-radius:24px;padding:28px;display:flex;flex-direction:column}.tv-join-card{align-items:center;justify-content:center;text-align:center;gap:10px}.join-step{font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;color:#94a3b8;font-weight:700}.join-url{font-size:1.25rem;font-weight:800;color:#7dd3fc}.qr-wrap{background:#fffdf7;padding:12px;border-radius:18px;margin:8px 0}.qr-image{display:block;border-radius:8px}.room-code-big{font-family:Cinzel,Georgia,serif;font-size:4rem;font-weight:800;letter-spacing:.2em;color:#fde047;line-height:1}.seats-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}.vp-selector{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#cbd5e1}.chip{background:#ffffff1a;color:#e2e8f0;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 12px;font-weight:700;cursor:pointer}.chip-active{background:var(--gold);color:#1c1002;border-color:var(--gold)}.seat-list{display:flex;flex-direction:column;gap:12px;flex:1}.seat-card{display:flex;align-items:center;gap:14px;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px 16px}.seat-empty{border-style:dashed;opacity:.55;justify-content:center;padding:20px}.seat-swatch{width:36px;height:36px;border-radius:50%;border:3px solid;flex-shrink:0}.seat-info{flex:1}.seat-name{font-size:1.15rem;font-weight:800}.seat-sub{font-size:.8rem;color:#94a3b8}.lobby-actions{display:flex;gap:12px;margin-top:20px}.lobby-actions .btn-secondary{white-space:nowrap}.tv-game{height:100vh;display:flex;flex-direction:column;overflow:hidden}.tv-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:12px 24px;background:#081626eb;border-bottom:1px solid rgba(254,243,199,.15);gap:16px}.tv-topbar-left{display:flex;align-items:center;gap:10px}.tv-topbar-right{display:flex;justify-content:flex-end}.tv-code-pill{background:#eab3082e;color:#fde047;font-weight:800;padding:6px 12px;border-radius:10px;letter-spacing:.08em}.tv-turn-pill{font-size:.88rem;color:#cbd5e1;font-weight:600}.tv-banner{display:inline-flex;align-items:center;gap:10px;background:#ffffff14;border:1px solid rgba(254,243,199,.22);padding:8px 20px;border-radius:999px;font-size:1.1rem;font-weight:800;color:#fef3c7}.banner-dot{width:14px;height:14px;border-radius:50%;border:2px solid #fff}.tv-main{flex:1;display:grid;grid-template-columns:330px 1fr;min-height:0}.tv-sidebar{background:#09192bc7;border-right:1px solid rgba(255,255,255,.1);padding:16px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}.tv-players{display:flex;flex-direction:column;gap:10px}.tv-player-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-left:5px solid;border-radius:12px;padding:11px 13px;transition:transform .15s ease,background .15s ease}.tv-player-active{background:#eab30824;border-color:#eab30880;box-shadow:0 0 18px #eab30826}.tv-player-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.tv-player-name-row{display:flex;align-items:center;gap:7px;font-weight:800}.tv-vp-badge{font-size:1rem;font-weight:800;color:#fde047}.tv-player-stats{display:flex;gap:12px;font-size:.84rem;color:#cbd5e1}.tv-player-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.trophy-badge{font-size:.72rem;font-weight:800;background:#eab30838;color:#fde68a;padding:3px 8px;border-radius:999px}.discard-badge{font-size:.72rem;font-weight:800;background:#ef444440;color:#fecaca;padding:3px 8px;border-radius:999px}.btn-cpu-takeover{margin-top:8px;width:100%;padding:6px 10px;border-radius:8px;border:1px solid rgba(56,189,248,.45);background:#38bdf826;color:#bae6fd;font-weight:700;font-size:.8rem;cursor:pointer}.tv-trade-box{background:#eab30824;border:1px solid rgba(234,179,8,.45);border-radius:12px;padding:12px;font-size:.86rem}.tv-trade-title{font-weight:800;color:#fde047;margin-bottom:6px}.tv-trade-row{display:flex;justify-content:space-between;margin:3px 0}.tv-trade-responses{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.trade-resp{font-size:.75rem;padding:2px 8px;border-radius:999px;background:#ffffff1a}.resp-accepted{background:#22c55e40;color:#86efac}.resp-declined{background:#ef444440;color:#fca5a5}.tv-log{margin-top:auto;background:#00000038;border-radius:12px;padding:12px}.tv-log-title{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#94a3b8;font-weight:800;margin-bottom:8px}.tv-log-items{display:flex;flex-direction:column;gap:6px;font-size:.8rem;color:#cbd5e1}.tv-log-item{line-height:1.3;border-bottom:1px solid rgba(255,255,255,.05);padding-bottom:5px}.tv-board-stage{display:flex;align-items:center;justify-content:center;padding:12px;min-height:0}.catan-board{width:100%;height:100%;max-height:calc(100vh - 84px);max-width:920px;-webkit-user-select:none;user-select:none}.catan-board-compact{max-height:360px}.dice-roll{display:inline-flex;align-items:center;gap:6px;background:#ffffff14;padding:5px 10px;border-radius:12px}.dice-seven{background:#dc26264d;border:1px solid rgba(248,113,113,.6)}.dice-total{font-weight:800;font-size:1.15rem;color:#fde047;margin-left:4px}@keyframes pulseTarget{0%,to{opacity:.95}50%{opacity:.45}}.pulse-target{animation:pulseTarget 1.1s ease-in-out infinite}.victory-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#06101cd1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.victory-card{width:100%;max-width:460px;background:#102a46;border:2px solid var(--gold);border-radius:24px;padding:32px;text-align:center}.victory-crown{font-size:3.5rem;margin-bottom:8px}.victory-card h2{font-family:Cinzel,Georgia,serif;font-size:1.8rem;color:#fde047}.victory-sub{color:#94a3b8;font-size:.9rem;margin:6px 0 20px}.standings-list{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.standing-row{display:flex;align-items:center;gap:10px;background:#ffffff0f;padding:12px 14px;border-radius:12px}.standing-rank{font-weight:800;color:#fde047;width:28px}.standing-name{flex:1;text-align:left;font-weight:700}.standing-vp{font-weight:800}.phone-page{max-width:520px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding-bottom:28px}.phone-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#081626f0;border-bottom:4px solid;position:sticky;top:0;z-index:20}.phone-room-tag{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#fde047}.phone-player-title{display:flex;align-items:center;gap:8px;font-size:1.1rem;font-weight:800}.phone-turn-sub{font-size:.8rem;color:#fde68a;font-weight:700;margin-top:2px}.phone-vp-pill{background:#eab3082e;border:1px solid rgba(234,179,8,.45);border-radius:12px;padding:6px 12px;text-align:right;color:#fde047}.secret-vp-note{display:block;font-size:.68rem;color:#cbd5e1}.phone-body{padding:14px;display:flex;flex-direction:column;gap:12px}.hand-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.resource-card{border-radius:12px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:800;box-shadow:0 4px 10px #00000040}.resource-empty{opacity:.42}.res-emoji{font-size:1.25rem}.res-count{font-size:1.15rem;line-height:1}.res-label{font-size:.68rem;text-transform:uppercase}.phone-card{background:#0d2137e6;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:16px}.phone-card h3{font-size:1rem;margin-bottom:10px;color:#fef3c7}.card-highlight{border-color:#eab308a6;background:#1e344af2}.card-alert{border-color:#ef4444b3;background:#41141ce6}.card-hint{font-size:.85rem;color:#cbd5e1;margin-bottom:10px}.prompt-banner{background:#eab30833;border:1px solid rgba(234,179,8,.65);color:#fef08a;padding:12px 14px;border-radius:14px;font-weight:800;font-size:.92rem;text-align:center}.prompt-danger{background:#dc262640;border-color:#f87171b3;color:#fecaca}.color-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.color-btn{padding:12px;border-radius:12px;border:3px solid;font-weight:800;cursor:pointer}.color-btn:disabled{opacity:.25;cursor:not-allowed}.color-btn-selected{box-shadow:0 0 0 3px #fde047}.mini-player-list{display:flex;flex-direction:column;gap:8px}.mini-player-row{display:flex;align-items:center;gap:8px;font-weight:700}.phone-btn-row{display:flex;gap:10px}.phone-btn-row .btn{flex:1}.phone-btn-col{display:flex;flex-direction:column;gap:8px}.phone-wait-hint{text-align:center;color:#94a3b8;font-size:.9rem;padding:8px}.tab-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}.tab-btn{background:#ffffff14;color:#cbd5e1;border:none;border-radius:10px;padding:9px 6px;font-weight:700;font-size:.86rem;cursor:pointer}.tab-active{background:var(--gold);color:#1c1002}.build-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.build-btn{background:#ffffff12;border:2px solid rgba(255,255,255,.14);border-radius:12px;padding:11px 10px;text-align:left;color:#f8fafc;cursor:pointer}.build-btn:disabled{opacity:.35;cursor:not-allowed}.build-btn-active{border-color:#fde047;background:#eab30838}.build-title{font-weight:800;font-size:.95rem}.build-cost{font-size:.74rem;color:#cbd5e1;margin-top:3px}.sub-heading{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:#fde68a;font-weight:800;margin-bottom:8px}.bank-trade-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}.trade-select{flex:1;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:9px 8px;font-weight:700;font-size:.85rem}.trade-select option{background:#0f2942;color:#fff}.divider-line{border:none;border-top:1px solid rgba(255,255,255,.12);margin:14px 0}.trade-col-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.mini-label{font-size:.78rem;font-weight:800;color:#cbd5e1;margin-bottom:6px}.mini-stepper{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px;background:#ffffff0f;padding:4px 8px;border-radius:8px}.mini-stepper button,.stepper button{width:26px;height:26px;border-radius:6px;border:none;background:#ffffff2e;color:#fff;font-weight:800;cursor:pointer}.mini-stepper button:disabled,.stepper button:disabled{opacity:.3}.picker-grid{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.picker-row{display:flex;justify-content:space-between;align-items:center;background:#0003;padding:8px 10px;border-radius:10px;font-weight:700}.stepper{display:flex;align-items:center;gap:10px}.partner-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.partner-row{display:flex;justify-content:space-between;align-items:center;background:#ffffff0f;padding:8px 10px;border-radius:10px}.trade-summary-lines{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;font-size:.92rem}.trade-status-note{font-size:.85rem;color:#fde68a;font-weight:700}.resource-pick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dev-list{display:flex;flex-direction:column;gap:8px}.dev-card-item{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#ffffff0f;padding:10px 12px;border-radius:12px}.dev-card-title{font-weight:800;font-size:.92rem}.dev-card-desc{font-size:.76rem;color:#cbd5e1;margin-top:2px}.phone-board-card{background:#09192be6;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:10px}.phone-board-header{display:flex;justify-content:space-between;align-items:center;padding:2px 6px 6px;font-size:.82rem;font-weight:700;color:#fde68a}@media(max-width:900px){.tv-lobby-grid{grid-template-columns:1fr}.tv-main{grid-template-columns:1fr;overflow-y:auto}.tv-game{height:auto;min-height:100vh}.tv-topbar{grid-template-columns:1fr;text-align:center}.tv-topbar-left,.tv-topbar-right{justify-content:center}}
