:root{color:#eef4ff;background:#08090d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 12% 0%,rgba(45,212,191,.24),transparent 30rem),radial-gradient(circle at 92% 12%,rgba(244,63,94,.2),transparent 26rem),linear-gradient(145deg,#08090d,#11131b 48%,#090b10)}button,input,select{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.shell{position:relative;width:min(100%,980px);min-height:100vh;margin:0 auto;padding:24px 16px 48px}.ambient{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:40px 40px;-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent);mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent)}.topbar{position:relative;display:flex;align-items:center;gap:12px;margin-bottom:28px}.brandMark,.iconButton{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.13);border-radius:8px;color:#5eead4;background:#ffffff0f}.iconButton.copied{color:#03120f;background:#5eead4}.topbar h1,.heroCopy h2,.heroPanel h2{margin:0;letter-spacing:0}.topbar h1{font-size:clamp(1.35rem,4vw,2rem)}.reconnectBanner{position:relative;display:inline-flex;align-items:center;gap:8px;margin:-10px 0 18px;border:1px solid rgba(245,158,11,.35);border-radius:8px;padding:9px 12px;color:#fed7aa;background:#78350f6b}.eyebrow{margin:0 0 5px;color:#9fb0c9;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.heroPanel,.panel{position:relative;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#0d111ac7;box-shadow:0 24px 70px #00000059;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.heroPanel{display:grid;gap:24px;padding:22px;animation:rise .36s ease-out}.heroPanel.compact{max-width:560px;margin:0 auto}.heroPanel.compact+.rosterPanel,.revealPanel+.rosterPanel{max-width:560px;margin:16px auto 0}.heroCopy h2,.heroPanel h2{max-width:720px;font-size:clamp(2rem,9vw,4.7rem);line-height:.98}.heroPanel.compact h2{font-size:clamp(2rem,10vw,3.6rem)}.heroCopy p:not(.eyebrow){max-width:620px;color:#b7c4d6;font-size:1.03rem;line-height:1.65}.controlGrid,.statsGrid,.choiceGrid{display:grid;gap:12px}.field,.segmentedWrap,.toggle,.rangePair,.fieldNote{display:grid;gap:9px;min-width:0}.rangePair{grid-template-columns:repeat(2,minmax(0,1fr))}.fieldNote{margin:0;color:#f8d78d;font-size:.86rem;line-height:1.45}.field span,.segmentedWrap>span,.toggle span{display:inline-flex;align-items:center;gap:8px;color:#c4d0e2;font-size:.88rem;font-weight:700}.field input,.field select,.finalForm input{width:100%;min-height:48px;border:1px solid rgba(255,255,255,.14);border-radius:8px;color:#f8fbff;background:#ffffff12;padding:0 14px;outline:none}.field input:focus,.field select:focus,.finalForm input:focus{border-color:#5eead4;box-shadow:0 0 0 3px #5eead429}.segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#0003}.segmented button,.actionRow button,.finalForm button,.choiceButton,.secondaryAction,.primaryAction{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border-radius:8px;color:#f8fbff;background:#ffffff17;transition:transform .18s ease,background .18s ease,border-color .18s ease}.segmented button.active,.primaryAction{color:#03120f;background:linear-gradient(135deg,#5eead4,#fbbf24);font-weight:900}.primaryAction{width:100%}.secondaryAction{width:100%;margin-top:14px;border:1px solid rgba(255,255,255,.13)}.choiceGrid{grid-template-columns:1fr}.choiceButton,.joinByCode{border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#ffffff0f}.choiceButton{justify-content:flex-start;min-height:132px;padding:18px}.choiceButton svg{color:#5eead4}.choiceButton span{display:grid;gap:4px;text-align:left}.choiceButton strong{font-size:1.25rem}.choiceButton small{color:#96a7bf}.hostChoice{min-height:112px}.joinByCode{display:grid;gap:12px;padding:18px}.toggle{grid-template-columns:auto 1fr;align-items:center;min-height:48px;padding:0 12px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#ffffff0f}.toggle input{width:18px;height:18px;accent-color:#5eead4}.dashboard{display:grid;gap:16px}.sessionStrip,.stat,.playerRow,.rankRow{display:flex;align-items:center;justify-content:space-between;gap:12px}.sessionStrip{border-radius:8px;padding:16px;background:linear-gradient(135deg,#5eead42e,#fbbf241f)}.sessionStrip strong{display:block;font-size:1.8rem}.joinLink{display:block;max-width:min(70vw,620px);margin-top:6px;overflow-wrap:anywhere;color:#c7fff5;font-size:.86rem;text-decoration:none}.joinLink:hover{text-decoration:underline}.secretLine{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;color:#c7fff5;font-size:.86rem}.secretLine button{min-height:28px;border:1px solid rgba(255,255,255,.13);border-radius:8px;padding:0 10px;color:#f8fbff;background:#ffffff17}.sessionActions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.copyNotice{flex-basis:100%;border-radius:999px;padding:5px 9px;color:#03120f;background:#5eead4;font-size:.78rem;font-weight:800;text-align:right}.statsGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{min-height:86px;align-items:flex-start;flex-direction:column;border:1px solid rgba(255,255,255,.11);border-radius:8px;padding:14px;background:#ffffff0f}.stat span,.panelHeader span,.rankRow small,.muted{color:#96a7bf}.stat strong{font-size:1.35rem}.actionRow,.finalForm{display:grid;grid-template-columns:1fr;gap:10px}.actionRow button,.finalForm button{border:1px solid rgba(255,255,255,.13)}.actionHint{margin:-6px 2px 0}.panel{padding:16px}.warningPanel{border-color:#f59e0b6b;background:#4e30075c}.panelHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panelHeader h3{margin:0}.playerList,.rankingList,.settingsList,.historyList{display:grid;gap:10px}.playerRow,.rankRow,.historyRow,.settingsList span,.inlineNotice,.countdownCard,.waitingCard{min-height:48px;border-radius:8px;padding:12px;background:#ffffff0e}.historyRow{display:grid;gap:4px}.historyRow strong{color:#f8fbff}.historyRow small,.maskedLine{color:#96a7bf}.historyRow small{white-space:pre-line}.smallControl{min-height:32px;border:1px solid rgba(255,255,255,.13);border-radius:8px;padding:0 12px;color:#f8fbff;background:#ffffff17}.maskedLine{margin:0;overflow-wrap:anywhere}.inlineNotice{display:flex;align-items:center;gap:10px;color:#c7fff5;background:#5eead41f}.badge{flex:none;border-radius:999px;padding:5px 9px;color:#c9d6e8;background:#ffffff17;font-size:.78rem;font-weight:800}.badge.success{color:#06251e;background:#5eead4}.badge.warning{color:#221505;background:#f59e0b}.badge.danger{color:#ffe8ec;background:#b91c1c}.guessField input{min-height:76px;font-size:2.4rem;font-weight:900;text-align:center}.waitingCard{display:flex;align-items:center;gap:14px;color:#dce7f7}.timerCard{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border:1px solid rgba(94,234,212,.26);border-radius:8px;color:#c7fff5;background:#5eead417}.timerCard span{font-size:1.35rem;font-weight:900}.participantExit{max-width:560px;margin:16px auto 0}.countdownCard{display:grid;place-items:center;gap:8px;min-height:156px;color:#f8fbff;background:#fbbf241a}.countdownCard span{display:grid;place-items:center;width:76px;height:76px;border:1px solid rgba(251,191,36,.38);border-radius:50%;color:#fbbf24;font-size:2.8rem;font-weight:900}.countdownCard small{color:#f8d78d}.rankRow{justify-content:flex-start}.rankRow strong{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;color:#08100f;background:#5eead4}.rankRow.randomized strong{color:#fff1f2;background:#b91c1c}.rankRow.randomized small{color:#fecdd3}.rankRow div{display:grid;gap:3px;flex:1}.rankRow svg{color:#fbbf24}.toast{position:fixed;z-index:10;left:16px;right:16px;bottom:16px;max-width:520px;margin:0 auto;border:1px solid rgba(251,113,133,.45);border-radius:8px;padding:12px 14px;color:#ffe8ec;background:#570d1ceb;box-shadow:0 18px 50px #00000059}.spin{animation:spin .9s linear infinite}@media(min-width:720px){.shell{padding:34px 24px 64px}.heroPanel{padding:34px}.controlGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.choiceGrid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.hostChoice{grid-column:1 / -1;min-height:118px}.actionRow,.finalForm{grid-template-columns:repeat(2,minmax(0,1fr))}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
