*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{-webkit-tap-highlight-color:transparent;overscroll-behavior:none;font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.timer-bar{background:#7f7f7f33;border-radius:999px;width:100%;transition:opacity .3s;overflow:hidden}.timer-fill{border-radius:999px;height:100%;transition:width .12s linear,background .4s}.mask{flex-wrap:wrap;gap:.18em;font-weight:800;line-height:1;display:flex}.mask-slot{text-align:center;border-bottom:.08em solid;min-width:.8em;padding-bottom:.05em;display:inline-block}.mask-letter{color:#fde047;border-color:#fde047}.mask-space{width:.6em}.mask-sep{text-align:center;min-width:.4em}.home{background:linear-gradient(#f5f3ff 0%,#fff 320px);min-height:100%}.host{background:#f5f3ff;flex-direction:column;height:100dvh;display:flex}.host-header{background:#fff;border-bottom:1px solid #ede9fe;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.host-main{flex:1;min-height:0;overflow:auto}.center-panel{text-align:center;min-height:100%;padding:24px 16px}.word-option{flex-direction:column;align-items:center;min-width:160px;font-weight:700;gap:4px!important;height:auto!important;padding:16px 24px!important;font-size:22px!important;display:inline-flex!important}.drawing-layout{grid-template:"top top top""tools canvas guessers"1fr/auto 1fr auto;gap:8px;height:100%;padding:8px;display:grid}.drawing-top{background:#fff;border-radius:12px;flex-direction:column;grid-area:top;gap:6px;padding:8px 12px;display:flex}.drawing-tools{background:#fff;border-radius:12px;flex-direction:column;grid-area:tools;align-items:center;gap:12px;padding:10px;display:flex}.drawing-canvas{grid-area:canvas;min-width:0;min-height:0;display:flex}.drawing-guessers{background:#fff;border-radius:12px;flex-direction:column;grid-area:guessers;gap:8px;min-width:140px;padding:10px;display:flex;overflow:auto}.guesser-btn{font-weight:700}.palette{grid-template-columns:repeat(2,36px);gap:6px;display:grid}.swatch{cursor:pointer;border:2px solid #e5e7eb;border-radius:50%;width:36px;height:36px;padding:0}.swatch.active{outline-offset:2px;outline:3px solid #7c3aed}.size-dot{vertical-align:middle;background:currentColor;border-radius:50%;display:inline-block}@media (aspect-ratio<=1){.drawing-layout{grid-template:"top""tools""canvas"1fr"guessers"/1fr}.drawing-tools{flex-flow:wrap;justify-content:center}.palette{grid-template-columns:repeat(10,30px)}.swatch{width:30px;height:30px}.drawing-guessers{flex-flow:wrap;align-items:center;min-width:0}}.view{color:#fff;cursor:default;background:radial-gradient(circle at 20% 0,#4c1d95 0%,#1e1b4b 60%,#0f0a2e 100%);grid-template:"header header""stage side"1fr"footer side"/1fr minmax(220px,22vw);gap:16px;height:100dvh;padding:16px 24px;display:grid;overflow:hidden}.view-empty{justify-content:center;align-items:center;display:flex}.view-header{grid-area:header;justify-content:space-between;align-items:center;display:flex}.view-pill{background:#ffffff1f;border-radius:999px;padding:4px 14px;font-size:18px;font-weight:700}.view-pill.warn{color:#111;background:#f59e0b}.view-chip{background:#ffffff24;border-radius:999px;padding:8px 18px;font-size:24px;font-weight:700}.view-stage{grid-area:stage;min-width:0;min-height:0;display:flex;position:relative}.view-side{background:#ffffff0f;border-radius:16px;flex-direction:column;grid-area:side;gap:8px;padding:16px;display:flex;overflow:hidden}.side-title{text-transform:uppercase;letter-spacing:1px;font-size:16px;font-weight:700;color:#c4b5fd!important}.score-row{background:#ffffff14;border-radius:12px;justify-content:space-between;align-items:center;padding:10px 14px;font-size:24px;font-weight:700;transition:transform .3s;display:flex;position:relative;overflow:hidden}.score-row.drawing{background:#fde0472e}.score-name,.score-pts{z-index:1;position:relative}.score-pts{color:#fde047}.score-progress{background:#a78bfa;height:4px;transition:width .6s;position:absolute;bottom:0;left:0}.view-footer{flex-direction:column;grid-area:footer;gap:12px;display:flex}.hints{min-height:56px}.overlay{text-align:center;background:#0f0a2eeb;border-radius:12px;justify-content:center;align-items:center;padding:24px;animation:.35s ease-out fade-in;display:flex;position:absolute;inset:0}.overlay.translucent{background:#0f0a2eb8}.overlay-big{color:#fff!important;margin:0!important;font-size:clamp(40px,7vw,96px)!important;line-height:1.05!important}.overlay-sub{font-size:28px;color:#c4b5fd!important}.sound-btn{z-index:10;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.podium{align-items:flex-end;gap:16px;margin-top:16px;display:flex}.podium-col{flex-direction:column;align-items:center;gap:6px;width:180px;display:flex}.podium-name{font-size:28px;font-weight:800}.podium-score{color:#fde047;font-size:20px;font-weight:700}.podium-block{background:#7c3aed;border-radius:12px 12px 0 0;justify-content:center;width:100%;padding-top:12px;font-size:48px;display:flex}.place-0 .podium-block{background:#eab308;height:200px}.place-1 .podium-block{background:#94a3b8;height:150px}.place-2 .podium-block{background:#b45309;height:110px}@keyframes fade-in{0%{opacity:0;transform:scale(.97)}}@media (width<=800px){.view{grid-template:"header""stage"1fr"footer""side"/1fr;padding:8px}.view-side{flex-flow:wrap}.score-row{font-size:16px}}.word-icon{flex:none;display:inline-block}.word-icon svg{width:100%;height:100%;display:block}.view-chip{max-width:100%}.hint-pop{animation:.4s cubic-bezier(.2,1.6,.4,1) pop-in}@keyframes pop-in{0%{opacity:0;transform:scale(.4)}}.hint-item{background:#fde04724;border-left:4px solid #fde047;border-radius:8px;padding:8px 12px;font-size:20px;font-weight:700;line-height:1.25}:fullscreen .drawing-layout{padding:20px 28px 24px}
