:root{--color-red: #e74c3c;--color-blue: #3498db;--color-green: #1abc9c;--color-white: #ecf0f1;--surface: #11131b;--surface-2: #2d2d44;--border: #3a4054;--muted: #9aa3b8;--accent: #7c9cff}*{box-sizing:border-box}body{margin:0;font-family:system-ui,sans-serif;background:#1a1a2e;color:#eee}.app{min-height:100vh;padding:1rem;transition:background .4s ease}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.topbar h1{margin:0;font-size:1.35rem}.lobby-link{color:#9cf;text-decoration:none;white-space:nowrap}.active-clue{margin:0 0 1rem;padding:.65rem 1rem;background:color-mix(in srgb,var(--surface) 88%,transparent);border:1px solid var(--border);border-radius:10px;text-align:center;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.45rem .65rem}.active-clue__word{text-transform:uppercase;letter-spacing:.04em}.active-clue__number{font-variant-numeric:tabular-nums;font-weight:700;color:var(--muted)}.clue-progress{display:inline-flex;align-items:center;gap:.35rem}.clue-progress--compact{gap:.25rem}.clue-progress__group{display:inline-flex;align-items:center;gap:.2rem}.clue-progress__divider{width:1px;height:.85rem;background:color-mix(in srgb,var(--muted) 55%,transparent);flex-shrink:0}.clue-progress--compact .clue-progress__divider{height:.65rem}.clue-progress__pip{width:.62rem;height:.62rem;border-radius:50%;border:2px solid color-mix(in srgb,var(--muted) 70%,transparent);background:transparent;flex-shrink:0}.clue-progress--compact .clue-progress__pip{width:.5rem;height:.5rem;border-width:1.5px}.clue-progress__pip--quota.clue-progress__pip--filled{border-color:transparent}.clue-progress__pip--red.clue-progress__pip--filled{background:var(--color-red)}.clue-progress__pip--blue.clue-progress__pip--filled{background:var(--color-blue)}.clue-progress__pip--green.clue-progress__pip--filled{background:var(--color-green)}.clue-progress__pip--bonus{border-style:dashed;border-color:color-mix(in srgb,#ffd166 65%,var(--muted))}.clue-progress__pip--bonus.clue-progress__pip--filled{border-style:solid;border-color:#ffd166;background:color-mix(in srgb,#ffd166 82%,#fff);box-shadow:0 0 0 1px color-mix(in srgb,#ffd166 35%,transparent)}.clue-progress--numeric{font-variant-numeric:tabular-nums;font-weight:700;gap:.4rem}.clue-progress__numeric-quota{color:#fff}.clue-progress__numeric-bonus{color:#ffd166;font-size:.85em}.up-next-clue{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem .65rem;margin:-.35rem 0 1rem;padding:.55rem .85rem;border-radius:10px;border:1px dashed var(--border);background:color-mix(in srgb,var(--surface) 92%,transparent);font-size:.85rem;text-align:center}.up-next-clue--waiting{border-style:solid;border-width:2px}.up-next-clue--red.up-next-clue--waiting{border-color:color-mix(in srgb,var(--color-red) 55%,var(--border));background:color-mix(in srgb,var(--color-red) 10%,var(--surface))}.up-next-clue--blue.up-next-clue--waiting{border-color:color-mix(in srgb,var(--color-blue) 55%,var(--border));background:color-mix(in srgb,var(--color-blue) 10%,var(--surface))}.up-next-clue--green.up-next-clue--waiting{border-color:color-mix(in srgb,var(--color-green) 55%,var(--border));background:color-mix(in srgb,var(--color-green) 10%,var(--surface))}.up-next-clue__label{font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.up-next-clue__meta{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:.35rem .5rem}.up-next-clue__who{font-weight:600}.up-next-clue__word{text-transform:uppercase;letter-spacing:.04em}.up-next-clue__number{font-variant-numeric:tabular-nums;font-weight:700;color:var(--muted)}.up-next-clue__pending{font-size:.8rem;color:var(--muted);font-style:italic}.up-next-clue__more{font-size:.72rem;font-weight:600;color:var(--muted);padding:.1rem .4rem;border-radius:999px;background:color-mix(in srgb,var(--border) 40%,transparent)}.game-layout{display:flex;gap:1.25rem;align-items:flex-start}.game-main{flex:1;min-width:0}.board-clue-status{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.65rem}.board-clue-status .up-next-clue,.board-clue-status .active-clue,.board-clue-status .guesser-passed-banner{margin:0}.guesser-passed-banner{margin:0;padding:.65rem 1rem;border-radius:10px;border:1px solid color-mix(in srgb,var(--muted) 55%,var(--border));background:color-mix(in srgb,var(--surface) 82%,#3d3520);text-align:center;font-size:.9rem;line-height:1.45;color:#ffffffe0}.guesser-passed-banner strong{color:#ffe89a}.guesser-roster-desktop{display:none}.guesser-roster-mobile{display:block;margin-bottom:1rem}.panel-heading,.roster__heading{margin:0 0 .5rem;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.clue-panel,.guesser-panel{margin-bottom:1rem}.guesser-panel{display:flex;flex-direction:column;gap:.65rem}.guesser-panel__pass{display:flex;flex-direction:column;gap:.45rem}.guesser-panel__pass-summary{margin:0;font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);text-align:center}.guesser-pass{width:100%;min-height:3.25rem;padding:.85rem 1rem;border:2px solid color-mix(in srgb,var(--accent) 55%,var(--border));border-radius:14px;background:color-mix(in srgb,var(--accent) 18%,var(--surface));color:inherit;font:inherit;font-size:1.1rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;cursor:pointer;touch-action:manipulation}.guesser-pass:not(:disabled):active{transform:scale(.98);background:color-mix(in srgb,var(--accent) 28%,var(--surface))}.guesser-pass:disabled{opacity:.45;cursor:not-allowed}.guesser-pass--done{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:3.25rem;padding:.85rem 1rem;border:2px solid color-mix(in srgb,var(--muted) 55%,var(--border));border-radius:14px;background:color-mix(in srgb,var(--surface-2) 88%,var(--surface));text-align:center}.guesser-pass__label{font-size:1.05rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#dce3f3}.guesser-pass__hint{font-size:.78rem;color:var(--muted)}.guesser-panel__wait{margin:0;font-size:.82rem;color:var(--muted);text-align:center}.clue-panel{display:flex;flex-direction:column;gap:.45rem;position:relative}.clue-panel__label{margin:0;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.clue-panel__row{display:flex;gap:.5rem;align-items:stretch}.clue-panel__input{width:100%;min-width:0;padding:.85rem .95rem;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:inherit;font:inherit;font-size:1.05rem}.clue-panel__input:focus{outline:2px solid color-mix(in srgb,var(--accent) 65%,transparent);outline-offset:1px;border-color:var(--accent)}.clue-panel__counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem}.clue-panel__count{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:3.4rem;padding:.45rem .35rem .35rem;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--surface-2) 88%,var(--accent));color:inherit;font:inherit;cursor:pointer;touch-action:manipulation}.clue-pips{position:relative;width:1.85rem;height:1.85rem;flex-shrink:0}.clue-pips__dot{position:absolute;width:.42rem;height:.42rem;border-radius:50%;background:currentColor;transform:translate(-50%,-50%);box-shadow:0 0 0 1px color-mix(in srgb,currentColor 25%,transparent)}.clue-panel__count-label{font-size:.62rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);line-height:1}.clue-panel__count--suggested .clue-panel__count-label{color:color-mix(in srgb,var(--accent) 75%,var(--muted))}.clue-panel__count--suggested{border-color:color-mix(in srgb,var(--accent) 70%,var(--border));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent)}.clue-panel__count:not(:disabled):active{transform:scale(.97);background:color-mix(in srgb,var(--accent) 28%,var(--surface-2))}.clue-panel__count:disabled{opacity:.4;cursor:not-allowed}.clue-panel__hint{margin:0;font-size:.78rem;color:var(--muted)}.clue-panel__error{margin:0;font-size:.82rem;color:#ffb4b4}.clue-panel__submit-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.roster{margin-bottom:1rem}.roster--clue-givers .roster__list,.roster--guessers .roster__list{display:flex;gap:.65rem;flex-wrap:wrap;justify-content:center}.roster-card{display:flex;flex-direction:column;align-items:center;gap:.45rem;padding:.75rem .85rem;min-width:108px;background:var(--surface);border:2px solid var(--border);border-radius:14px;text-align:center;position:relative;transition:box-shadow .2s ease,border-color .2s ease,opacity .2s ease}.roster-card--clue{min-width:120px;padding-top:.85rem}.roster-card--you{border-color:color-mix(in srgb,var(--accent) 55%,var(--border))}.roster-card--active{border-color:var(--team-color, var(--accent));box-shadow:0 0 0 1px color-mix(in srgb,var(--team-color, var(--accent)) 35%,transparent),0 0 22px color-mix(in srgb,var(--team-color, var(--accent)) 35%,transparent)}.roster-card--red{--team-color: var(--color-red)}.roster-card--blue{--team-color: var(--color-blue)}.roster-card--green{--team-color: var(--color-green)}.roster-card--passed{opacity:.72;filter:grayscale(.2);border-style:dashed}.roster-card__meta{display:flex;flex-direction:column;gap:.15rem;min-width:0;width:100%}.roster-card__name{font-size:.82rem;font-weight:600;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-card__score{font-size:1.35rem;font-weight:700;line-height:1}.roster-card__badge{position:absolute;top:.45rem;right:.45rem;font-size:.58rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.15rem .35rem;border-radius:999px;background:color-mix(in srgb,var(--team-color, var(--accent)) 22%,var(--surface));color:#fff}.roster-card__badge--muted{background:#4a5368;color:#dce3f3;border:1px solid color-mix(in srgb,var(--muted) 35%,transparent)}.roster-card__badge--bonus{background:#ffd1662e;color:#ffd166;border:1px solid rgba(255,209,102,.35)}.roster-card--pass-bonus{box-shadow:inset 0 0 0 1px #ffd16659}.scoring-bar__bonus-recipients{display:flex;flex-direction:column;gap:.45rem}.scoring-bar__bonus-label{font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#ffd166}.scoring-bar__bonus-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.45rem .65rem}.scoring-bar__bonus-list li{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;padding:.2rem .45rem .2rem .25rem;border-radius:999px;background:#ffd1661f;border:1px solid rgba(255,209,102,.28)}.player-avatar{border-radius:50%;overflow:hidden;flex-shrink:0;background:linear-gradient(145deg,#1a1d28,#0d0f14);border:3px solid var(--border);box-sizing:border-box}.player-avatar--lg{width:72px;height:72px}.player-avatar--md{width:56px;height:56px}.player-avatar--xs{width:18px;height:18px;border-width:2px}.player-avatar--xs .player-avatar__initial{font-size:.55rem}.player-avatar--ring{border-color:var(--avatar-ring, var(--border))}.player-avatar--you{box-shadow:0 0 14px color-mix(in srgb,var(--accent) 35%,transparent)}.player-avatar--dimmed{opacity:.55}.player-avatar__img{width:100%;height:100%;object-fit:cover;display:block}.player-avatar__initial{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1.6rem;font-weight:700;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;max-width:720px}.tile{position:relative;container-type:inline-size;aspect-ratio:1.4;border:2px solid #444;border-radius:8px;background:var(--surface-2);color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.25rem;font-size:.75rem}.tile:disabled{cursor:default}.tile:disabled:not(.tile--revealed):not(.tile--spectating){opacity:.85}.grid--clue-view .tile--clue-readonly:not(.tile--revealed){opacity:1;cursor:default}.grid--clue-view .tile--clue-readonly.tile--revealed{cursor:default}.tile--revealed{opacity:.38;filter:grayscale(.45) saturate(.35);border-color:#3a3a4a!important;cursor:default}.tile--revealed.tile--red{background:color-mix(in srgb,var(--color-red) 14%,#252530)}.tile--revealed.tile--blue{background:color-mix(in srgb,var(--color-blue) 14%,#252530)}.tile--revealed.tile--green{background:color-mix(in srgb,var(--color-green) 14%,#252530)}.tile--revealed.tile--white{background:#2a2a34}.tile--revealed .tile-word{font-size:min(.56rem,max(.36rem,calc(142cqw / var(--word-len))));font-weight:500;color:#ffffff73;letter-spacing:-.02em}.tile--revealed:hover,.tile--revealed:focus-visible{opacity:.68;filter:grayscale(.2) saturate(.55)}.tile--revealed:hover .tile-word,.tile--revealed:focus-visible .tile-word{color:#ffffffd1}.tile.tile--red:not(.tile--revealed){border-color:var(--color-red);background:color-mix(in srgb,var(--color-red) 42%,var(--surface-2))}.tile.tile--blue:not(.tile--revealed){border-color:var(--color-blue);background:color-mix(in srgb,var(--color-blue) 42%,var(--surface-2))}.tile.tile--green:not(.tile--revealed){border-color:var(--color-green);background:color-mix(in srgb,var(--color-green) 42%,var(--surface-2))}.tile.tile--white:not(.tile--revealed){border-color:#95a5a6;background:color-mix(in srgb,var(--color-white) 28%,var(--surface-2))}.tile-word{--word-len: 6;text-transform:uppercase;font-weight:600;line-height:1;text-align:center;white-space:nowrap;letter-spacing:-.03em;font-size:min(.64rem,max(.4rem,calc(158cqw / var(--word-len))));max-width:100%;overflow:hidden}.clue-history--collapsible{border:none;margin:0;padding:0}.clue-history__summary{cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.clue-history__summary::-webkit-details-marker{display:none}.clue-history__summary:before{content:"▸ ";display:inline-block;transition:transform .15s ease}.clue-history--collapsible[open] .clue-history__summary:before{transform:rotate(90deg)}.grid--clue-view .tile--mine:not(.tile--revealed){border-width:3px;z-index:1}.grid--clue-view .tile--mine:not(.tile--revealed) .tile-word{font-size:min(.72rem,max(.42rem,calc(168cqw / var(--word-len))));font-weight:800;letter-spacing:-.04em}.grid--clue-view .tile.tile--red.tile--mine:not(.tile--revealed){background:color-mix(in srgb,var(--color-red) 58%,var(--surface-2));box-shadow:0 0 0 1px color-mix(in srgb,var(--color-red) 35%,transparent)}.grid--clue-view .tile.tile--blue.tile--mine:not(.tile--revealed){background:color-mix(in srgb,var(--color-blue) 58%,var(--surface-2));box-shadow:0 0 0 1px color-mix(in srgb,var(--color-blue) 35%,transparent)}.grid--clue-view .tile.tile--green.tile--mine:not(.tile--revealed){background:color-mix(in srgb,var(--color-green) 58%,var(--surface-2));box-shadow:0 0 0 1px color-mix(in srgb,var(--color-green) 35%,transparent)}.grid--clue-view .tile--neutral:not(.tile--revealed) .tile-word{font-size:min(.58rem,max(.38rem,calc(150cqw / var(--word-len))));font-weight:500;opacity:.78}.grid--guesser-view .tile--revealed{opacity:1;filter:saturate(1.25);border-width:3px}.grid--guesser-view .tile--revealed.tile--red{background:color-mix(in srgb,var(--color-red) 75%,#252530);border-color:var(--color-red);border-style:solid}.grid--guesser-view .tile--revealed.tile--blue{background:color-mix(in srgb,var(--color-blue) 75%,#252530);border-color:var(--color-blue);border-style:solid}.grid--guesser-view .tile--revealed.tile--green{background:color-mix(in srgb,var(--color-green) 75%,#252530);border-color:var(--color-green);border-style:solid}.grid--guesser-view .tile--revealed.tile--white{background:#4a4e5c;border-color:#bdc3c7;border-style:dashed}.grid--guesser-view .tile--revealed .tile-word{font-size:.5rem;font-weight:500;color:#ffffff6b}.grid--guesser-view .tile--revealed:hover,.grid--guesser-view .tile--revealed:focus-visible{opacity:1;filter:saturate(1.35)}.grid--guesser-view .tile--revealed:hover .tile-word,.grid--guesser-view .tile--revealed:focus-visible .tile-word{color:#ffffffbf}.grid--guesser-passed{position:relative}.grid--guesser-passed .tile--spectating{cursor:not-allowed;pointer-events:none;opacity:.48;filter:grayscale(.9) saturate(.25);border-style:dashed!important;border-width:2px!important;border-color:#707890!important;background:#1a1d28!important;box-shadow:inset 0 0 0 1px #00000059;transform:none}.grid--guesser-passed .tile--spectating .tile-word{color:#ffffff6b;font-weight:500;letter-spacing:-.02em;opacity:1}.grid--guesser-passed .tile--spectating:hover,.grid--guesser-passed .tile--spectating:focus,.grid--guesser-passed .tile--spectating:focus-visible,.grid--guesser-passed .tile--spectating:active{transform:none;filter:grayscale(.9) saturate(.25);opacity:.48;border-color:#707890!important;background:#1a1d28!important;outline:none;box-shadow:inset 0 0 0 1px #00000059}.tile-owner{position:absolute;top:3px;right:3px;pointer-events:none;line-height:0}.tile-neutral-mark{position:absolute;top:5px;right:5px;width:12px;height:12px;border-radius:50%;border:2px dashed #bdc3c7;background:transparent;flex-shrink:0;box-sizing:border-box}.tile-color-mark{position:absolute;top:5px;right:5px;width:11px;height:11px;border-radius:50%;border:1px solid rgba(255,255,255,.45);flex-shrink:0}.tile--revealed.tile--red .tile-color-mark{background:var(--color-red)}.tile--revealed.tile--blue .tile-color-mark{background:var(--color-blue)}.tile--revealed.tile--green .tile-color-mark{background:var(--color-green)}.tile--revealed.tile--white .tile-color-mark{background:var(--color-white)}.clue-history-mobile{margin-bottom:1rem}.clue-history__list{list-style:none;margin:0;padding:0;max-height:12rem;overflow-y:auto;display:flex;flex-direction:column;gap:.35rem}.clue-history__item{display:flex;align-items:center;gap:.5rem;padding:.45rem .55rem;border-radius:8px;background:color-mix(in srgb,var(--surface) 90%,transparent);border:1px solid var(--border);font-size:.85rem}.clue-history__item--incomplete{border-style:dashed}.clue-history__hint{margin:0 0 .55rem;font-size:.75rem;line-height:1.4;color:var(--muted)}.clue-history__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.clue-history__remaining{flex-shrink:0;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#ffd166}.clue-history__item--active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface))}.clue-history__color{width:10px;height:10px;border-radius:50%;flex-shrink:0}.clue-history__item--red .clue-history__color{background:var(--color-red)}.clue-history__item--blue .clue-history__color{background:var(--color-blue)}.clue-history__item--green .clue-history__color{background:var(--color-green)}.clue-history__word{font-weight:600;text-transform:uppercase;letter-spacing:.03em}.clue-history__number{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:600}.clue-history__badge{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--accent)}.banner--error{background:#5c1a1a;padding:.5rem 1rem;border-radius:6px;margin-bottom:1rem}.result-banner{text-align:center;font-size:1.1rem;padding:.85rem 1rem;border-radius:8px;margin-bottom:1rem;background:#2d2d44}.result-banner--win{background:#0f2e22;color:#6ee7a8}.app--finished{max-width:960px;margin:0 auto}.topbar--compact{margin-bottom:.5rem}.game-over{display:flex;flex-direction:column;gap:1.5rem}.game-over__hero{text-align:center;padding:1.25rem 1rem 1.5rem;border-radius:12px;background:linear-gradient(180deg,#252842,#1a1a2e);border:1px solid var(--border)}.game-over__eyebrow{margin:0 0 .25rem;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.game-over__title{margin:0 0 1.25rem;font-size:clamp(1.75rem,4vw,2.25rem)}.game-over__winners{display:grid;gap:1rem;grid-template-columns:1fr}@media (min-width: 640px){.game-over__winners{grid-template-columns:1fr 1fr}}.game-over__winner-card{--winner-card-height: 11.5rem;position:relative;height:var(--winner-card-height);min-height:var(--winner-card-height);max-height:var(--winner-card-height);padding:0;overflow:hidden;border-radius:10px;background:#00000038;border:1px solid var(--border)}.game-over__winner-card h3{position:absolute;top:0;left:0;right:0;z-index:2;margin:0;padding:.85rem 1rem .55rem .85rem;font-size:.95rem;color:var(--muted);font-weight:600;text-shadow:0 1px 10px rgba(0,0,0,.85);pointer-events:none}.game-over__winner-list{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;align-items:stretch;min-height:0;width:100%;padding:0;z-index:0}.game-over__winner-list .game-over__empty{position:relative;z-index:1;padding:2.5rem 1rem .85rem;align-self:center}.game-over__winner{position:relative;display:block;flex:1 1 0;min-width:0;height:100%;padding:0;background:none;border:none;border-radius:0}.game-over__winner+.game-over__winner{border-left:1px solid var(--border)}.game-over__winner-photo{position:absolute;top:0;left:0;bottom:0;z-index:0;display:flex;height:100%;width:min(var(--winner-card-height),100%);max-width:100%;aspect-ratio:1;background:transparent}.game-over__winner .player-avatar{flex:1;width:100%;height:100%;border-radius:0;border:none;background:transparent;box-shadow:none}.game-over__winner .player-avatar--ring,.game-over__winner .player-avatar--you{border:none;box-shadow:none}.game-over__winner .player-avatar__img{object-fit:contain;object-position:center center}.game-over__winner .player-avatar__initial{font-size:clamp(1.5rem,5vw,2.1rem)}.game-over__winner-meta{position:relative;z-index:1;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-width:0;margin-left:min(var(--winner-card-height),100%);padding:2.45rem 1rem .85rem;text-align:center}.game-over__winner-name{font-weight:700;font-size:clamp(.9rem,2.8vw,1.05rem);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;width:100%}.game-over__winner-score{font-size:clamp(1.35rem,4vw,1.75rem);font-weight:800;color:var(--accent);line-height:1.1}.game-over__you-won{margin:1rem 0 0;font-size:1.05rem;color:#6ee7a8;font-weight:600}.game-over__lobby-link{display:inline-block;margin-top:1rem}.game-over__empty{margin:0;color:var(--muted);font-size:.9rem}.game-over__boards{display:grid;gap:1rem}@media (min-width: 768px){.game-over__boards{grid-template-columns:1fr 1fr}}.game-over__board h3{margin:0 0 .65rem;font-size:.95rem;color:var(--muted)}.game-over__scores .roster__heading{display:none}.game-over__scores .roster{margin-bottom:0}@media (min-width: 768px){.game-over__scores .roster--clue-givers .roster__list,.game-over__scores .roster--guessers .roster__list{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:.65rem;overflow:visible;padding-bottom:0}.game-over__scores .roster-card--clue,.game-over__scores .roster-card--guesser{width:100%;min-width:0;flex-direction:column;align-items:center;padding:.75rem .85rem;gap:.45rem}.game-over__scores .roster-card--clue .roster-card__meta,.game-over__scores .roster-card--guesser .roster-card__meta{flex-direction:column;align-items:center;width:100%}.game-over__scores .roster-card--clue .roster-card__name,.game-over__scores .roster-card--guesser .roster-card__name{font-size:.82rem;max-width:none}.game-over__scores .roster-card--clue .roster-card__score,.game-over__scores .roster-card--guesser .roster-card__score{font-size:1.35rem}.game-over__scores .roster-card--clue .roster-card__badge,.game-over__scores .roster-card--guesser .roster-card__badge{position:absolute;top:.45rem;right:.45rem;margin:0}}@media (max-width: 767px){.game-over__scores .roster--clue-givers .roster__list,.game-over__scores .roster--guessers .roster__list{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;overflow-x:auto;gap:.45rem;padding-bottom:.15rem}.game-over__scores .roster-card--clue,.game-over__scores .roster-card--guesser{flex:0 0 120px;width:120px;min-width:120px;max-width:120px;flex-shrink:0;flex-direction:column;align-items:center;padding:.75rem .55rem;gap:.3rem;box-sizing:border-box}.game-over__scores .roster-card--clue .player-avatar--md,.game-over__scores .roster-card--clue .player-avatar--lg,.game-over__scores .roster-card--guesser .player-avatar--md{width:44px;height:44px}.game-over__scores .roster-card--clue .player-avatar__initial,.game-over__scores .roster-card--guesser .player-avatar__initial{font-size:1.1rem}.game-over__scores .roster-card--clue .roster-card__meta,.game-over__scores .roster-card--guesser .roster-card__meta{flex-direction:column;align-items:center;width:auto;gap:.15rem}.game-over__scores .roster-card--clue .roster-card__name,.game-over__scores .roster-card--guesser .roster-card__name{font-size:.72rem;max-width:100%}.game-over__scores .roster-card--clue .roster-card__score,.game-over__scores .roster-card--guesser .roster-card__score{font-size:1.05rem}.game-over__scores .roster-card--clue .roster-card__badge,.game-over__scores .roster-card--guesser .roster-card__badge{position:static;margin-top:.15rem;font-size:.58rem}}.scoring-bar{display:flex;flex-direction:column;gap:.65rem;padding:.75rem .9rem;margin-bottom:.75rem;border-radius:10px;background:#00000047;border:1px solid var(--border)}.scoring-bar__pot{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.35rem 0 .5rem;text-align:center}.scoring-bar__pot-label{font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.scoring-bar__pot-value{font-size:4.5rem;font-weight:800;color:#ffd166;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 2px 12px rgba(255,209,102,.35)}.scoring-bar__rules{margin:0;padding-left:1.1rem;font-size:.85rem;color:#d5dceb;display:flex;flex-direction:column;gap:.35rem}.scoring-bar__rules strong{color:#fff}.guesser-pass{display:flex;flex-direction:column;align-items:center;gap:.2rem}.guesser-pass__label{font-size:1.05rem;font-weight:800}.guesser-pass__hint{font-size:.78rem;font-weight:600;opacity:.85}.app--error{padding:2rem}@media (min-width: 900px){.clue-panel{max-width:28rem;margin-top:.5rem}.board-clue-status{gap:.3rem;margin-bottom:.35rem}.board-clue-status .active-clue{padding:.5rem .85rem}.board-clue-status .up-next-clue{padding:.45rem .75rem}.game-layout{align-items:stretch}.guesser-roster-desktop{display:block;width:168px;flex-shrink:0}.clue-history-mobile{display:none}.guesser-roster-desktop .clue-history{margin-bottom:1rem}.guesser-roster-desktop .clue-history__list{max-height:14rem}.guesser-roster-mobile{display:none}.roster--guessers .roster__list{flex-direction:column}.guesser-roster-desktop .roster-card{width:100%}}@media (max-width: 899px){.app--clue-ready{--clue-panel-offset: 14.5rem;padding-bottom:calc(var(--clue-panel-offset) + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(var(--clue-panel-offset) + env(safe-area-inset-bottom,0px))}.app--clue-ready .game-main{padding-bottom:.5rem}.app--clue-ready .guesser-roster-mobile{scroll-margin-bottom:calc(var(--clue-panel-offset) + env(safe-area-inset-bottom,0px))}.clue-panel{position:fixed;left:0;right:0;bottom:0;z-index:20;margin:0;padding:.65rem .5rem calc(.65rem + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--surface) 94%,#000);border-top:1px solid var(--border);box-shadow:0 -8px 28px #00000059;gap:.55rem}.clue-panel__input{font-size:1.1rem;padding:.9rem 1rem}.clue-panel__count{min-height:3.6rem;padding:.5rem .3rem .35rem}.clue-pips{width:2rem;height:2rem}.clue-pips__dot{width:.48rem;height:.48rem}.clue-panel__hint{font-size:.72rem}.app{padding:.65rem .5rem 1rem}.topbar{margin-bottom:.65rem}.topbar h1{font-size:1.1rem}.lobby-link{font-size:.82rem}.active-clue{margin-bottom:.65rem;padding:.5rem .75rem;font-size:.92rem}.board-clue-status{margin-bottom:.5rem;gap:.35rem}.clue-panel{margin-bottom:0}.guesser-panel{gap:.55rem;margin-bottom:0}.guesser-pass,.guesser-pass--done{min-height:3.5rem;font-size:1.15rem}.guesser-panel__pass-summary{font-size:.72rem}.clue-history-mobile{margin-bottom:.65rem}.clue-history__list{max-height:8rem}.app:not(.app--finished) .roster--clue-givers .roster__list{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;gap:.5rem;padding-bottom:.15rem;margin-bottom:.65rem}.app:not(.app--finished) .roster-card--clue{min-width:auto;flex-direction:row;align-items:center;gap:.5rem;padding:.45rem .65rem .45rem .45rem;min-height:auto}.app:not(.app--finished) .roster-card--clue .player-avatar--lg{width:40px;height:40px}.app:not(.app--finished) .roster-card--clue .player-avatar__initial{font-size:1rem}.app:not(.app--finished) .roster-card--clue .roster-card__meta{flex-direction:row;align-items:baseline;gap:.35rem;width:auto}.app:not(.app--finished) .roster-card--clue .roster-card__name{font-size:.78rem;max-width:5.5rem}.app:not(.app--finished) .roster-card--clue .roster-card__score{font-size:1rem}.app:not(.app--finished) .roster-card--clue .roster-card__badge{position:static;margin-left:.15rem;font-size:.52rem;padding:.1rem .3rem}.grid{gap:.25rem;max-width:none;width:100%;margin-bottom:.75rem}.tile{aspect-ratio:1.08;padding:.12rem .06rem;border-radius:6px;min-height:0}.tile-word{letter-spacing:-.04em;font-size:min(.58rem,max(.36rem,calc(162cqw / var(--word-len))))}.grid--clue-view .tile--mine:not(.tile--revealed) .tile-word{font-size:min(.62rem,max(.38rem,calc(170cqw / var(--word-len))));font-weight:800;letter-spacing:-.05em}.grid--clue-view .tile--neutral:not(.tile--revealed) .tile-word{font-size:min(.54rem,max(.34rem,calc(154cqw / var(--word-len))));opacity:.82}.tile--revealed{opacity:.72;filter:grayscale(.15) saturate(.75)}.tile--revealed .tile-word{font-size:min(.5rem,max(.32rem,calc(146cqw / var(--word-len))));font-style:normal}.grid--guesser-view .tile--revealed{opacity:1;filter:none}.grid--guesser-view .tile--revealed .tile-word{font-size:min(.48rem,max(.3rem,calc(144cqw / var(--word-len))))}.tile-color-mark{top:3px;right:3px;width:9px;height:9px}.guesser-roster-mobile{margin-bottom:0}.roster--guessers .roster__list{overflow-x:auto;padding-bottom:.15rem;gap:.45rem}.roster-card--guesser{min-width:76px;flex-shrink:0;padding:.45rem .5rem;gap:.3rem}.roster-card--guesser .player-avatar--md{width:44px;height:44px}.roster-card--guesser .player-avatar__initial{font-size:1.1rem}.roster-card--guesser .roster-card__name{font-size:.72rem}.roster-card--guesser .roster-card__score{font-size:1.05rem}.roster-card--guesser.roster-card--passed{opacity:.88}.roster-card--guesser .roster-card__badge{position:static;margin-top:.15rem;font-size:.58rem}.roster-card__badge{top:.3rem;right:.3rem}}@media (min-width: 640px){.game-over__winner-card{--winner-card-height: 13rem}.game-over__winner-meta{padding:2.55rem 1.15rem 1rem}}.game-over__scores .roster-card--clue{min-width:0}@media (min-width: 768px){.game-over__scores .roster-card--clue{padding-top:.75rem}}.game-over__scores .roster-card__badge{display:none}@media (max-width: 767px){.game-over__scores .roster-card--clue .roster-card__name,.game-over__scores .roster-card--guesser .roster-card__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}}
