@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fredoka-latin-400-normal-17JuUzdy.woff2)format("woff2"),url(/assets/fredoka-latin-400-normal-DbXSrOeS.woff)format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fredoka-latin-500-normal-B0JifZgm.woff2)format("woff2"),url(/assets/fredoka-latin-500-normal-BL692wg7.woff)format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fredoka-latin-600-normal-C4zohCW5.woff2)format("woff2"),url(/assets/fredoka-latin-600-normal-CcrEjrB4.woff)format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fredoka-latin-700-normal-BOIZVyIN.woff2)format("woff2"),url(/assets/fredoka-latin-700-normal-C8FeHd3X.woff)format("woff")}:root{--bg-top:#1a0b3b;--bg-mid:#2b0f5c;--bg-bottom:#0b1236;--card:#ffffff14;--card-border:#ffffff29;--text:#fff;--text-muted:#ffffffa6;--text-faint:#fff6;--accent:#ff3d9a;--accent-2:#7c4dff;--accent-3:#2ec5ff;--danger:#ff4d5e;--imposter:#ff2e4c;--warning:#ffc145;--radius-sm:12px;--radius-md:18px;--radius-lg:28px;--gutter:16px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--spring:cubic-bezier(.34, 1.56, .64, 1);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-family:Fredoka,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg-top);overscroll-behavior:none;min-height:100%;margin:0}body{background:linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bottom) 100%) fixed;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}h1,h2,p,ol{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--accent-3);outline-offset:3px}.bg{pointer-events:none;z-index:0;position:fixed;inset:0;overflow:hidden}.bg__orb{opacity:.45;will-change:transform;border-radius:50%;animation:8s ease-in-out infinite alternate orb;position:absolute}.bg__sparkle{background:#fff;border-radius:50%;animation:3s ease-in-out infinite alternate twinkle;position:absolute}@keyframes orb{0%{transform:translate(15px,-30px)scale(.9)}to{transform:translate(-15px,30px)scale(1.1)}}@keyframes twinkle{0%{opacity:.15}to{opacity:.85}}.screen{z-index:1;width:100%;max-width:560px;min-height:100dvh;padding:var(--safe-top) calc(var(--safe-right)) 0 calc(var(--safe-left));flex-direction:column;margin:0 auto;display:flex;position:relative}.header{min-height:56px;padding:4px var(--gutter);justify-content:space-between;align-items:center;gap:8px;display:flex}.header__side{flex-shrink:0;width:44px}.header__title{font-size:22px;font-weight:700}.icon-btn{width:44px;height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:50%;margin-left:-8px;font-size:36px;font-weight:500;line-height:1}.icon-btn:active{background:#ffffff1a}.footer{padding:8px var(--gutter) calc(16px + var(--safe-bottom));flex-direction:column;gap:8px;display:flex}.footer--sticky{background:linear-gradient(#0b123600 0%,#0b1236eb 35%);padding-top:20px;position:sticky;bottom:0}.stack{flex-direction:column;gap:16px;display:flex}.row{gap:8px;display:flex}.flex{flex:1}.center{text-align:center}.muted{color:var(--text-muted)}.faint{color:var(--text-faint)}.small{font-size:14px}.error{color:var(--danger);text-align:center;font-size:14px;font-weight:500}.kicker{color:var(--text-muted);text-transform:uppercase;letter-spacing:.12em;text-align:center;font-size:14px;font-weight:500}.btn{border-radius:var(--radius-md);letter-spacing:.02em;width:100%;min-height:56px;transition:transform .18s var(--spring), opacity .2s;border:0;padding:16px 24px;font-size:19px;font-weight:600;display:block}.btn:active:not(:disabled){transform:scale(.95)}.btn--primary{background:linear-gradient(135deg,#ff3d9a,#7c4dff);box-shadow:0 8px 24px #7c4dff59}.btn--secondary{border:1px solid var(--card-border);background:linear-gradient(135deg,#ffffff24,#ffffff0f)}.btn--danger{background:linear-gradient(135deg,#ff6a3d,#ff2e4c);box-shadow:0 8px 24px #ff2e4c59}.btn--small{border-radius:var(--radius-sm);min-height:44px;box-shadow:none;padding:10px 16px;font-size:15px}.btn:disabled{color:var(--text-faint);box-shadow:none;opacity:.7;cursor:default;background:linear-gradient(135deg,#3b3556,#2c2744)}.link{min-height:44px;color:var(--accent-3);background:0 0;border:0;margin:-12px -8px;padding:0 8px;font-size:15px;font-weight:600}.card{border:1px solid var(--card-border);border-radius:var(--radius-lg);background:var(--card);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);flex-direction:column;gap:8px;padding:16px;display:flex}.card__header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.card__title{font-size:18px;font-weight:600}.home{padding-left:calc(24px + var(--safe-left));padding-right:calc(24px + var(--safe-right));padding-bottom:calc(24px + var(--safe-bottom));justify-content:center;gap:24px}.home__hero{flex-direction:column;align-items:center;display:flex}.home__mascots{justify-content:center;align-items:flex-end;height:190px;display:flex}.home__mascot--side{opacity:.9}.home__mascot--side:first-child{margin-right:-30px}.home__mascot--side:last-child{margin-left:-30px}.home__mascot--center{z-index:1}.home__title{letter-spacing:.1em;text-shadow:0 0 24px #ff3d9acc;margin-top:16px;font-size:clamp(44px,15vw,58px);font-weight:700}.home__subtitle{color:var(--text-muted);margin-top:-4px;font-size:18px;font-weight:500}.home__footer{color:var(--text-faint);text-align:center;font-size:13px}.rules{flex-direction:column;gap:10px;padding:0;list-style:none;display:flex}.rules__item{color:var(--text-muted);gap:12px;font-size:15px;line-height:1.4;display:flex}.rules__number{background:var(--accent-2);width:26px;height:26px;color:var(--text);border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;display:grid}.setup__content{padding:8px var(--gutter) 16px;flex-direction:column;flex:1;gap:16px;display:flex}.avatar{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;line-height:1;display:inline-grid;box-shadow:0 2px 8px #00000059}.player-row{border-radius:var(--radius-md);background:#ffffff0f;border:1px solid #0000;align-items:center;gap:12px;padding:6px 6px 6px 10px;transition:border-color .2s,background .2s;display:flex}.player-row--invalid{border-color:var(--danger);background:#ff4d5e1f}.player-row__input{-webkit-user-select:text;user-select:text;background:0 0;border:0;outline:none;flex:1;min-width:0;padding:8px 0;font-size:17px;font-weight:500}.player-row__input::placeholder{color:var(--text-faint)}.player-row__remove{background:#ffffff14;border:0;border-radius:50%;place-items:center;width:40px;height:40px;font-size:24px;line-height:1;display:grid}.player-row__remove:active:not(:disabled){background:#ff4d5e80}.player-row__remove:disabled{opacity:.25;cursor:default}.stepper{justify-content:space-between;align-items:center;padding:6px 0;display:flex}.stepper__label{font-size:16px;font-weight:500}.stepper__controls{align-items:center;gap:10px;display:flex}.stepper__value{text-align:center;min-width:64px;font-size:18px;font-weight:700}.stepper__btn{border-radius:var(--radius-sm);background:#7c4dff59;border:0;width:44px;height:44px;font-size:24px;font-weight:700;line-height:1}.stepper__btn:active:not(:disabled){background:#ff3d9a80}.stepper__btn:disabled{color:var(--text-faint);cursor:default;background:#ffffff0f}.switch-row{cursor:pointer;align-items:center;gap:16px;padding:6px 0;display:flex}.switch-row__text{flex-direction:column;flex:1;display:flex}.switch-row__label{font-size:16px;font-weight:500}.switch-row__sub{color:var(--text-faint);font-size:13px}.switch{appearance:none;cursor:pointer;background:#fff3;border-radius:16px;flex-shrink:0;width:52px;height:32px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";width:26px;height:26px;transition:transform .25s var(--spring);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 2px 4px #0000004d}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(20px)}.chips{flex-wrap:wrap;gap:8px;display:flex}.cat-chip{border-radius:var(--radius-md);min-height:40px;color:var(--text-faint);background:#ffffff0f;border:1px solid #ffffff1a;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:500;transition:background .2s,border-color .2s,color .2s,transform .15s;display:inline-flex}.cat-chip:active{transform:scale(.95)}.cat-chip--active{border-color:var(--accent-2);color:var(--text);background:#7c4dff73}.cat-chip__emoji{font-size:16px}.game{height:100dvh;overflow:hidden}.game__body{min-height:0;padding:0 var(--gutter);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:20px;display:flex}.game__body--roomy{gap:28px}.dots{flex-wrap:wrap;flex:1;justify-content:center;gap:5px;display:flex}.dots__dot{width:8px;height:8px;transition:width .3s var(--spring), background .3s;background:#fff3;border-radius:4px}.dots__dot--done{background:#ffffffb3}.dots__dot--current{width:22px}.reveal-title{flex-direction:column;align-items:center;gap:4px;display:flex}.reveal-title__text{text-align:center;overflow-wrap:anywhere;font-size:clamp(20px,6vw,24px);font-weight:700}.reveal{border:1px solid var(--card-border);border-radius:var(--radius-lg);background:linear-gradient(#2b1a6b,#1b2a7a);width:min(100vw - 40px,380px);height:min(1.32*min(100vw - 40px,380px),56dvh);position:relative;overflow:hidden;box-shadow:0 20px 50px #00000080}.reveal--imposter{background:linear-gradient(#5a0a2a,#2a0630)}.reveal__role{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:0 20px;display:flex;position:absolute;bottom:0;left:0;right:0}.reveal__label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.13em;font-size:15px;font-weight:500}.reveal__word{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;text-shadow:0 0 18px #2ec5ff99;font-weight:700;line-height:1.1}.reveal__imposter-title{color:var(--imposter);text-shadow:0 0 20px #ff2e4cb3;font-size:clamp(26px,8vw,32px);font-weight:700;line-height:1.12}.reveal__sub{color:var(--text-muted);font-size:15px;font-weight:500}.chip{background:#ffffff1f;border-radius:999px;padding:6px 14px;font-size:15px;font-weight:500}.chip--imposter{background:#ffc1452e}.reveal__cover{border-radius:var(--radius-lg);cursor:grab;touch-action:none;transition:transform .55s var(--spring);background:linear-gradient(135deg,#7c4dff,#ff3d9a);flex-direction:column;justify-content:space-between;align-items:center;padding:18px 0;display:flex;position:absolute;inset:0;overflow:hidden}.reveal__cover--dragging{cursor:grabbing;transition:none}.reveal__pattern span{color:#ffffff14;font-size:64px;font-weight:700;line-height:1;position:absolute}.reveal__grip{background:#ffffff80;border-radius:3px;width:56px;height:6px}.reveal__center{flex-direction:column;align-items:center;gap:10px;max-width:100%;padding:0 20px;display:flex}.reveal__name{text-align:center;overflow-wrap:anywhere;max-width:100%;font-weight:700;line-height:1.1}.reveal__cover-sub{color:#ffffffd9;font-size:15px;font-weight:500}.reveal__hint{z-index:1;flex-direction:column;align-items:center;gap:4px;font-size:16px;font-weight:600;display:flex;position:relative}.reveal__hint svg{animation:1.4s ease-in-out infinite nudge}@keyframes nudge{0%,to{opacity:.6;transform:translateY(0)}50%{opacity:1;transform:translateY(-10px)}}.reveal__shade{pointer-events:none;background:linear-gradient(#0000,#00000059);height:40px;position:absolute;bottom:0;left:0;right:0}.starter{border:1px solid var(--card-border);background:var(--card);border-radius:999px;align-items:center;gap:12px;padding:8px 22px 8px 8px;display:flex}.starter__label{color:var(--text-muted);font-size:13px}.starter__name{font-size:20px;font-weight:700}.timer-ring{position:relative}.timer-ring__progress{transition:stroke-dashoffset .25s linear}.timer-ring__center{flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.timer__time{font-variant-numeric:tabular-nums;font-weight:700;line-height:1.1}.timer__sub{color:var(--text-muted);font-size:15px;font-weight:500}.timer__expired{color:var(--warning);text-align:center;font-size:32px;font-weight:700}.tip{max-width:320px;font-size:16px}.alarm{z-index:0;background:var(--imposter);pointer-events:none;animation:.6s ease-in-out infinite alternate alarm;position:fixed;inset:0}@keyframes alarm{0%{opacity:0}to{opacity:.35}}.question{margin:6px 0;font-size:clamp(24px,8vw,30px);font-weight:700}.hold-btn{touch-action:none;-webkit-touch-callout:none;background:0 0;border:0;border-radius:50%;padding:0;position:relative}.hold-btn__ring{position:absolute;inset:0}.hold-btn__progress{transition:stroke-dashoffset .25s ease-out}.hold-btn--holding .hold-btn__progress{transition:none}.hold-btn__inner{background:linear-gradient(#ff6a3d,#ff2e4c);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;padding:0 12px;transition:transform .25s ease-out;display:flex;position:absolute;box-shadow:0 0 40px #ff2e4c8c}.hold-btn--holding .hold-btn__inner{transition:none}.hold-btn__label{text-align:center;font-size:20px;font-weight:700;line-height:1.15}.hold-btn__sub{color:#fffc;margin-top:2px;font-size:13px}.result{gap:14px;padding-top:16px;padding-bottom:8px;overflow-y:auto}.result__names{flex-direction:column;gap:8px;width:100%;max-width:420px;display:flex}.result__name-card{border:1.5px solid var(--imposter);border-radius:var(--radius-lg);background:#ff2e4c2e;align-items:center;gap:14px;padding:12px 16px;display:flex;box-shadow:0 0 30px #ff2e4c59}.result__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:clamp(22px,7vw,30px);font-weight:700;overflow:hidden}.result__word-card{border:1px solid var(--card-border);border-radius:var(--radius-lg);background:var(--card);text-align:center;flex-direction:column;align-items:center;gap:4px;width:100%;max-width:420px;margin-top:8px;padding:16px 24px;display:flex}.result__word{overflow-wrap:anywhere;font-size:clamp(26px,8vw,32px);font-weight:700}.confetti{z-index:5;pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti__piece{opacity:0;animation:2.5s ease-out forwards confetti;position:absolute;top:-40px}@keyframes confetti{0%{opacity:1;transform:translate(0)rotate(0)}75%{opacity:1}to{opacity:0;transform:translate(var(--drift), calc(100dvh + 80px)) rotate(var(--spin))}}.dialog{border:1px solid var(--card-border);border-radius:var(--radius-lg);width:min(100vw - 32px,400px);color:var(--text);background:linear-gradient(#2b1a6b,#1a0b3b);padding:0;box-shadow:0 20px 60px #0009}.dialog[open]{animation:zoom-in .3s var(--spring)}.dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#050214b3}.dialog__body{text-align:center;flex-direction:column;gap:8px;padding:24px 20px 20px;display:flex}.dialog__title{font-size:22px;font-weight:700}.dialog__message{color:var(--text-muted)}.dialog__actions{gap:8px;margin-top:12px;display:flex}.fade-in{animation:.6s ease-out both fade-in}.slide-up{animation:slide-up .5s var(--spring) both}.slide-in-right{animation:slide-in-right .45s var(--spring) both}.zoom-in{animation:zoom-in .5s var(--spring) both}.pop-in{animation:slide-up .35s var(--spring) both}.float{animation:2.2s ease-in-out infinite alternate float}@keyframes fade-in{0%{opacity:0}}@keyframes slide-up{0%{opacity:0;transform:translateY(24px)}}@keyframes slide-in-right{0%{opacity:0;transform:translate(60px)}}@keyframes zoom-in{0%{opacity:0;transform:scale(.6)}}@keyframes float{0%{transform:translateY(0)rotate(-3deg)}to{transform:translateY(-12px)rotate(3deg)}}@media (height<=640px){.home__mascots{transform-origin:bottom;height:140px;transform:scale(.75)}.game__body,.game__body--roomy{gap:12px}.reveal-title .kicker{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
