@import "https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Cinzel:wght@600&display=swap";:root{--background:#0f111a;--panel-bg:#1a1d29c7;--panel-border:#ffffff14;--text-main:#f0f0f5;--text-muted:#9ba1b0;--gold:#d4af37;--power:#d32f2f;--reputation:#4fc3f7;--event:#9c27b0;--accent:#5e6ad2;--accent-hover:#7b88ff;--font-main:"Outfit", sans-serif;--font-heading:"Cinzel", serif}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:var(--font-main);background-color:var(--background);color:var(--text-main);background-image:radial-gradient(circle at 15%,#5e6ad226,#0000 25%),radial-gradient(circle at 85% 30%,#d32f2f1a,#0000 25%);width:100vw;overflow:hidden}button,input,textarea,select{font:inherit}.glass-panel{background:var(--panel-bg);-webkit-backdrop-filter:blur(12px);border:1px solid var(--panel-border);border-radius:16px;box-shadow:0 12px 36px #00000059}.btn{background:var(--accent);color:#fff;font-family:var(--font-main);cursor:pointer;border:none;border-radius:10px;padding:.75rem 1.1rem;font-size:.95rem;font-weight:600;transition:all .2s;box-shadow:0 6px 16px #5e6ad240}.btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.btn.btn-muted{color:var(--text-main);border:1px solid var(--panel-border);box-shadow:none;background:#ffffff14}.btn.work-gold{background:var(--gold);color:#181818}.btn.work-power{background:var(--power)}.btn.work-reputation{background:var(--reputation);color:#07111d}.btn.btn-small{padding:.45rem .75rem;font-size:.8rem}.container{flex-direction:column;height:100%;display:flex}h1,h2,h3,h4{font-family:var(--font-heading);letter-spacing:1px}p{line-height:1.5}.startup-screen{flex-direction:column;justify-content:center;align-items:center;gap:2rem;min-height:100%;padding:2rem;display:flex}.startup-screen h1{background:linear-gradient(45deg, var(--gold), #ffeb3b);-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 4px #00000080);-webkit-background-clip:text;background-clip:text;font-size:4rem}.section-eyebrow{color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;font-size:.75rem}.muted-copy,.empty-state{color:var(--text-muted)}.danger-text{color:var(--power)}.table-layout{flex-direction:column;gap:1rem;height:100%;padding:1rem;display:flex;overflow:hidden}.table-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.table-header h1{font-size:1.8rem}.phase-banner{flex-direction:column;flex-shrink:0;gap:1rem;padding:1rem 1.25rem;display:flex}.phase-summary{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.phase-title-row{align-items:center;gap:.75rem;margin:.2rem 0 .3rem;display:flex}.phase-title-row h2{font-size:1.7rem}.turn-pill{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);background:#ffffff14;border-radius:999px;align-items:center;padding:.3rem .7rem;font-size:.75rem;display:inline-flex}.turn-pill.is-you{color:#dfe4ff;background:#5e6ad238}.phase-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.work-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.phase-track{grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;display:grid}.phase-step{color:var(--text-muted);background:#ffffff0a;border-radius:12px;align-items:center;gap:.5rem;padding:.65rem .75rem;font-size:.85rem;display:flex}.phase-step.current{color:var(--text-main);background:#5e6ad229;border:1px solid #5e6ad261}.phase-step.past{color:#cfd3df}.phase-step-dot{opacity:.85;background:currentColor;border-radius:50%;width:10px;height:10px}.board-shell{flex:1;grid-template-columns:minmax(0,1.75fr) minmax(320px,420px);gap:1rem;min-height:0;display:grid;overflow:hidden}.board-main,.board-sidebar{flex-direction:column;gap:1rem;min-height:0;padding-right:.2rem;display:flex;overflow:auto}.board-section{padding:1rem}.board-section-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem;display:flex}.board-section-header h2{margin-top:.2rem;font-size:1.25rem}.targeting-hint{color:var(--power);font-weight:600}.opponent-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;display:grid}.opponent-column{flex-direction:column;gap:.75rem;display:flex}.player-target-actions{justify-content:stretch}.board-middle-grid{grid-template-columns:minmax(280px,.95fr) minmax(320px,1.05fr);gap:1rem;display:grid}.player-dashboard{flex-direction:column;gap:1rem;padding:1rem;display:flex}.player-dashboard.active-player{border-color:#5e6ad273;box-shadow:0 0 0 1px #5e6ad24d,0 12px 36px #00000059}.player-dashboard-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.player-dashboard-header h2{margin-top:.2rem;font-size:1.35rem}.player-stats-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;display:grid}.stat-pill{background:#ffffff0d;border-radius:12px;justify-content:center;align-items:center;gap:.45rem;padding:.7rem;font-weight:700;display:flex}.stat-pill.gold{color:var(--gold)}.stat-pill.power{color:var(--power)}.stat-pill.reputation{color:var(--reputation)}.player-meta-line{color:var(--text-muted);justify-content:space-between;gap:1rem;font-size:.9rem;display:flex}.dashboard-section{flex-direction:column;gap:.75rem;display:flex}.dashboard-section-header{justify-content:space-between;align-items:center;display:flex}.dashboard-section-header h3{font-size:1rem}.family-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;display:grid}.family-tile{flex-direction:column;gap:.55rem;padding:.8rem;display:flex}.family-tile-header,.family-tile-meta{justify-content:space-between;gap:.75rem;font-size:.9rem;display:flex}.family-tile-header span,.family-tile-meta span:last-child{color:var(--text-muted)}.revealed-secret-list{flex-direction:column;gap:.75rem;display:flex}.revealed-secret-item{align-items:stretch;gap:.75rem;display:flex}.revealed-secret-card{flex:1}.revealed-secret-meta{width:180px;color:var(--text-muted);flex-direction:column;justify-content:center;gap:.6rem;font-size:.9rem;display:flex}.target-actions{flex-wrap:wrap;gap:.5rem;display:flex}.planner-panel{flex-direction:column;gap:.9rem;display:flex}.planner-block{flex-direction:column;gap:.75rem;display:flex}.planner-empty-state{color:var(--text-muted);flex-direction:column;gap:.6rem;display:flex}.planner-choice-chip{width:fit-content;color:var(--text-main);background:#ffffff12;border-radius:999px;align-items:center;padding:.35rem .7rem;font-size:.88rem;display:inline-flex}.planner-actions-row{flex-wrap:wrap;gap:.6rem;display:flex}.planner-actions-row.wrap{justify-content:center}.planner-secret-list{flex-direction:column;gap:.75rem;max-height:320px;display:flex;overflow:auto}.planner-secret-item{flex-direction:column;gap:.5rem;display:flex}.log-panel{flex-direction:column;min-height:0;display:flex}.log-list{flex-direction:column;gap:.55rem;min-height:0;max-height:280px;display:flex;overflow:auto}.log-entry{color:var(--text-muted);border-bottom:1px solid #ffffff0a;padding-bottom:.5rem;font-size:.9rem}.hand-panel{flex-direction:column;flex-shrink:0;gap:1rem;min-height:280px;max-height:40vh;padding:1rem;display:flex;overflow:hidden}.hand-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.hand-header h2{margin:.2rem 0 .3rem;font-size:1.4rem}.hand-tabs{flex-wrap:wrap;gap:.6rem;display:flex}.hand-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:.9rem;padding-right:.2rem;display:grid;overflow:auto}.hand-card-shell{flex-direction:column;gap:.6rem;display:flex}.hand-card-shell.selected .hand-card{box-shadow:0 0 0 2px #5e6ad273,0 12px 36px #00000059}.hand-card-actions{flex-wrap:wrap;gap:.6rem;display:flex}.hand-empty{padding:1rem 0}.game-card{border-style:solid;border-width:1px;flex-direction:column;gap:.8rem;display:flex}.game-card.portrait{min-height:280px;padding:1rem}.game-card.wide{min-height:190px;padding:1rem 1.1rem}.game-card.compact{min-height:128px;padding:.85rem .95rem}.game-card.card-hidden{border-style:dashed;border-color:#ffffff2e;position:relative;overflow:hidden}.card-back-pattern{color:#ffffff38;background:linear-gradient(135deg,#5e6ad21f,#0000),linear-gradient(45deg,#ffffff08,#0000);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.card-header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.card-header h4{margin-bottom:.2rem;font-size:1.1rem}.card-kicker{opacity:.82;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem}.card-body{flex-direction:column;flex:1;gap:.6rem;display:flex}.card-body p{font-size:.92rem}.game-card.compact .card-body p{font-size:.84rem}.card-confrontation{color:var(--power);font-style:italic}.card-modifiers{flex-wrap:wrap;align-items:center;gap:.8rem;font-size:.85rem;display:flex}.card-modifiers span{align-items:center;gap:.3rem;display:inline-flex}.modal-scrim{z-index:90;background:#000000ad;position:fixed;inset:0}.modal-panel{z-index:91;flex-direction:column;gap:1rem;width:min(640px,100vw - 2rem);padding:1.4rem;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.modal-panel.wide-modal{width:min(920px,100vw - 2rem)}.modal-button-list,.choice-grid{flex-wrap:wrap;justify-content:center;gap:.9rem;display:flex}.choice-card,.choice-card-stack{flex-direction:column;align-items:center;gap:.75rem;display:flex}.choice-card{min-width:220px;padding:1rem}.game-over-modal{text-align:center;align-items:center}.game-over-modal h1{color:var(--gold);font-size:2.4rem}.confrontation-overlay{z-index:100;background:#000000d1;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.confrontation-panel{text-align:center;border-color:#d32f2f59;flex-direction:column;gap:1rem;width:min(720px,100%);padding:1.6rem;display:flex}@media (width<=1200px){body{overflow:auto}.table-layout{height:auto;min-height:100%}.board-shell,.board-middle-grid{grid-template-columns:1fr}.phase-summary,.hand-header,.table-header{flex-direction:column;align-items:flex-start}.phase-track{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.table-layout{padding:.75rem}.phase-track{grid-template-columns:repeat(2,minmax(0,1fr))}.hand-grid,.family-grid,.opponent-grid{grid-template-columns:1fr}.revealed-secret-item{flex-direction:column}.revealed-secret-meta{width:auto}}
