:root{touch-action:manipulation;--bg:#fbfaf7;--surface:#fff;--text:#1f2a2e;--muted:#5c6b70;--border:#e3e1db;--accent:#0b7a72;--accent-strong:#08615b;--accent-soft:#e2f2ef;--radius:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:ui-rounded,SF Pro Rounded,Hiragino Maru Gothic ProN,Quicksand,Nunito,Segoe UI,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{background:var(--bg);margin:0}button{font:inherit;cursor:pointer}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app{max-width:480px;margin:0 auto;padding:0 16px 32px}.header{border-bottom:1px solid var(--border);justify-content:center;align-items:center;margin-bottom:16px;padding:12px 0;display:flex}.header h1{letter-spacing:.01em;color:var(--accent);margin:0;font-size:1.6rem;font-weight:800}.app:has(.playing){flex-direction:column;height:100dvh;padding-bottom:8px;display:flex}.app:has(.playing) .header{margin-bottom:10px;padding:8px 0}.playing{flex-direction:column;flex:1;min-height:0;display:flex}.photo-area{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;container-type:size}.photo-area .frame{width:min(100cqw,100cqh)}.photo-area .toast{z-index:5;position:absolute;top:12px}.playing .progress{margin:10px 0 6px}.guess-display{letter-spacing:.06em;text-transform:uppercase;white-space:pre;justify-content:center;align-items:center;min-height:48px;margin:0 0 8px;font-size:1.5rem;font-weight:700;display:flex;overflow:hidden}.guess-display .placeholder{color:var(--muted);letter-spacing:.02em;text-transform:none;font-size:1.15rem;font-weight:600}.caret{background:var(--accent);width:2px;height:1.4em;margin-left:2px;animation:1s step-end infinite blink}.guess-display .placeholder+.caret{order:-1;margin:0 4px 0 0}@keyframes blink{50%{opacity:0}}.keyboard{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;flex-direction:column;align-self:center;width:calc(100% + 32px);max-width:520px;margin:0 -16px;padding:0 3px;display:flex}.key-row{display:flex}.key-spacer{flex:.5}.key{min-width:0;height:58px;color:var(--text);text-transform:uppercase;touch-action:none;background:0 0;border:none;flex:1;padding:4px 3px;font-size:1.35rem;font-weight:700;position:relative}.key-cap{background:#e7e5df;border-radius:8px;justify-content:center;align-items:center;width:100%;height:100%;display:flex;box-shadow:0 1px #0000001f}.key[data-pressed] .key-cap{background:#d3d0c7}.key-pop{z-index:10;background:var(--surface);pointer-events:none;border-radius:10px;min-width:52px;padding:8px 0;font-size:2rem;line-height:1;position:absolute;bottom:calc(100% - 6px);left:50%;translate:-50%;box-shadow:0 4px 14px #00000038}.key-wide{flex:1.5}.key-enter{letter-spacing:.02em;font-size:.8rem}.key-row-space{justify-content:center}.key-space{text-transform:none;flex:0 0 50%;height:46px;font-size:.95rem;font-weight:600}@media (height<=700px){.key{height:50px}.key-space{height:40px}.guess-display{min-height:40px}}@media (height<=580px){.key{height:44px;padding:3px}.key-space{height:36px}}.frame{aspect-ratio:1;border-radius:var(--radius);background:var(--border);width:100%;position:relative;overflow:hidden;box-shadow:0 2px 12px #00000014}.frame img{object-fit:cover;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;transition-property:transform;transition-timing-function:cubic-bezier(.22,1,.36,1);display:block}.shake{animation:.36s ease-in-out shake}@keyframes shake{20%{translate:-6px}40%{translate:5px}60%{translate:-3px}80%{translate:2px}}@media (prefers-reduced-motion:reduce){.frame img{transition-duration:0s!important}.shake{animation:none}}.analytics-off{text-align:center;color:var(--muted);margin:-4px 0 8px;font-size:.75rem}.debug{text-align:center;color:var(--muted);margin:8px 0 0;font-family:ui-monospace,Menlo,monospace;font-size:.8rem}.progress{justify-content:center;gap:10px;margin:16px 0;display:flex}.dot{border:2px solid var(--muted);border-radius:50%;width:12px;height:12px}.dot-used{background:var(--muted)}.dot-win{background:var(--accent);border-color:var(--accent)}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.end-panel{text-align:center;margin-top:8px}.end-panel h2{margin:8px 0 4px;font-size:1.5rem}.answer{color:var(--accent);margin:0 0 12px;font-size:1.15rem;font-weight:700}.fun-fact{margin:12px 0;line-height:1.5}.credit{margin:0 0 20px;font-size:.8rem}.credit a{color:var(--muted)}.share-button{border-radius:var(--radius);background:var(--accent);color:#fff;border:none;width:100%;height:56px;font-size:1.2rem;font-weight:700}.share-button:hover{background:var(--accent-strong)}.next{color:var(--muted);font-variant-numeric:tabular-nums;margin:16px 0 0}.toast{z-index:20;pointer-events:none;position:fixed;top:16px;left:50%;translate:-50%}.toast span{white-space:nowrap;background:var(--text);color:#fff;border-radius:999px;padding:10px 18px;font-weight:600;display:block}.empty{text-align:center;color:var(--muted);padding:64px 0}.empty-title{color:var(--text);font-size:1.3rem;font-weight:700}
