:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f8fafc;background-color:#030712;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body,#root{margin:0;min-height:100vh;width:100%}body{background-color:#030712}#root{position:relative;overflow:hidden}button{font-family:inherit}.app-shell{position:relative;min-height:100vh;width:100%;color:#f8fafc;font-size:16px}.canvas-host{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0}.ui-layer{position:relative;z-index:1;display:flex;flex-direction:column;min-height:100vh;padding:1.5rem clamp(1rem,4vw,3rem) 2rem;background:linear-gradient(180deg,#030712a6,#030712f2 60%)}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.top-bar__actions{display:flex;gap:.5rem}.label{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:0 0 .125rem}.player-id{font-family:JetBrains Mono,SFMono-Regular,Menlo,monospace;font-size:.85rem;background:#0f172a99;padding:.3rem .6rem;border-radius:.4rem;word-break:break-all}.phase-chip{border-radius:999px;padding:.35rem .9rem;background:#3b82f633;border:1px solid rgba(59,130,246,.5);font-weight:600;font-size:.85rem}.layout{display:flex;flex-direction:column;gap:1.5rem;flex:1}.view-container{flex:1;display:flex;align-items:center;justify-content:center}.question-card,.scoreboard,.menu-card,.panel,.lobby-card,.splash{background:#0f172ad9;border:1px solid rgba(148,163,184,.2);border-radius:1.25rem;padding:1.5rem;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.menu-card{max-width:680px;text-align:left}.menu-card h1{margin-top:.25rem;margin-bottom:.75rem;font-size:clamp(1.9rem,6vw,2.6rem)}.menu-card p{margin-bottom:1rem;color:#cbd5f5}.menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem}.menu-tile{border:1px solid rgba(59,130,246,.35);background:#1e293be6;border-radius:1rem;padding:1.25rem;text-align:left;display:flex;flex-direction:column;gap:.25rem;color:inherit;font-size:1.1rem;cursor:pointer;transition:border .2s ease,transform .2s ease}.menu-tile small{color:#94a3b8}.menu-tile:hover{border-color:#3b82f6b3;transform:translateY(-2px)}.panel,.lobby-card,.splash{width:min(520px,100%)}.panel h2,.splash h2{margin-top:.5rem}.panel__form{display:flex;flex-direction:column;gap:.6rem;margin:1rem 0}.panel__form label{font-weight:600}.panel__form input,.panel__form textarea,.question-card__form input{width:100%;padding:.85rem 1rem;border-radius:.9rem;border:1px solid rgba(148,163,184,.4);background:#0f172acc;color:inherit;font-size:1rem}.question-card__form button,.action-footer button,.panel button:not(.ghost),.lobby-card button:not(.ghost){border:none;border-radius:999px;padding:.85rem 1.5rem;font-weight:600;font-size:1rem;background:linear-gradient(135deg,#38bdf8,#6366f1);color:#0f172a;cursor:pointer;transition:opacity .2s ease,transform .2s ease}.question-card__form button:disabled,.action-footer button:disabled{opacity:.4;cursor:not-allowed}.ghost{border-radius:999px;padding:.5rem 1.25rem;border:1px solid rgba(148,163,184,.5);background:transparent;color:#e2e8f0;cursor:pointer}.splash{text-align:center}.highlight{background:#3b82f626;border:1px dashed rgba(59,130,246,.5);border-radius:1rem;padding:1rem;margin:1.25rem 0}.code-display{font-family:JetBrains Mono,SFMono-Regular,Menlo,monospace;font-size:1.5rem;letter-spacing:.2em;margin:.25rem 0 0}.panel__actions{display:flex;flex-direction:column;gap:.5rem}.lobby-card header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.lobby-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0 1.5rem}.stat{font-size:1.6rem;font-weight:700}.lobby-actions{display:flex;flex-direction:column;gap:.5rem}.avatar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin:1rem 0 1.5rem}.avatar-tile{border:1px solid rgba(148,163,184,.4);border-radius:1rem;padding:1rem;background:#0f172a99;display:flex;flex-direction:column;gap:.35rem;cursor:pointer}.avatar-tile small{color:#94a3b8}.avatar-tile.is-active{border-color:#3b82f6e6;background:#3b82f626}.question-card h1{margin:.35rem 0 .5rem;font-size:clamp(1.6rem,5vw,2.3rem)}.question-card p{margin:0 0 1.25rem;color:#cbd5f5}.question-card__meta{display:flex;justify-content:space-between;align-items:center;gap:1rem}.badge{padding:.15rem .75rem;background:#818cf833;border:1px solid rgba(129,140,248,.4);border-radius:999px;font-size:.85rem}.timer{font-weight:700;font-size:1.25rem}.question-card__form{display:flex;flex-direction:column;gap:.75rem}.scoreboard header{display:grid;grid-template-columns:1fr 70px;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin-bottom:.5rem}.scoreboard ul{display:flex;flex-direction:column;list-style:none;padding:0;margin:0;gap:.5rem}.scoreboard li{display:grid;grid-template-columns:1fr 70px;gap:.4rem}.scoreboard li span{display:flex;align-items:center;padding:.6rem .35rem;border-radius:.8rem;background:#1e293be6}.scoreboard li[data-self] span{background:#3b82f64d}.answers-hint{margin-top:1.25rem;font-size:.85rem;color:#94a3b8}.action-footer{display:flex;flex-direction:column;gap:.35rem;margin-top:1.5rem}.view-footer{align-items:flex-start}.helper-text{margin:0;font-size:.75rem;color:#94a3b8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (min-width: 900px){.layout{flex-direction:row}.question-card,.scoreboard{flex:1}.view-container{justify-content:flex-start}}
