.debug section{margin-top:28px}.debug h2{margin:0 0 12px;font-size:18px}.debug dl{color:var(--text-muted);grid-template-columns:auto 1fr;gap:6px 12px;margin:0 0 12px;display:grid}.debug dd{color:var(--text);margin:0;font-weight:600}.debug-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.debug button{background:var(--accent);min-height:44px;color:var(--accent-text);font:inherit;border:0;border-radius:10px;padding:0 16px;font-weight:600}.debug button.danger{background:var(--surface-raised);color:#ff8a80}.debug-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:4px;margin-bottom:12px;padding:14px;display:flex}.debug-item code{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px}:root{--bg:#0b0b10;--surface:#16161f;--surface-raised:#20202b;--border:#2a2a36;--text:#f3f3f6;--text-muted:#a3a3b2;--accent:#e8b04a;--accent-text:#0b0b10;--radius:14px;--tabbar-height:60px;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);min-height:100%;margin:0}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}.app{flex-direction:column;min-height:100dvh;display:flex}.screen{padding:calc(var(--safe-top) + 24px) 20px calc(var(--tabbar-height) + var(--safe-bottom) + 24px);flex:1}.screen h1{letter-spacing:-.02em;margin:0 0 8px;font-size:32px;font-weight:700}.screen p{color:var(--text-muted);margin:0;line-height:1.5}.empty-state{border:1px dashed var(--border);border-radius:var(--radius);text-align:center;margin-top:32px;padding:24px}.tabbar{height:calc(var(--tabbar-height) + var(--safe-bottom));padding-bottom:var(--safe-bottom);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--border);background:#16161feb;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.tab{min-height:44px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:600;text-decoration:none;display:flex}.tab svg{width:24px;height:24px}.tab.active{color:var(--accent)}.button-primary,.button-secondary{min-height:48px;font:inherit;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:17px;font-weight:600;text-decoration:none;display:inline-flex}.button-primary{background:var(--accent);color:var(--accent-text)}.button-secondary{background:var(--surface-raised);color:var(--text)}.button-primary svg,.button-secondary svg{width:20px;height:20px}.log-button{width:100%;margin-top:16px}.back-button{min-height:44px;color:var(--accent);font:inherit;background:0 0;border:0;align-items:center;gap:2px;margin:-8px 0 8px -6px;padding:0 8px 0 0;font-size:17px;display:inline-flex}.back-button svg{width:22px;height:22px}.search-form input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;appearance:none;border-radius:12px;margin:8px 0 20px;padding:0 16px;font-size:17px}.search-form input:focus{outline:2px solid var(--accent);outline-offset:-1px}.search-hint{text-align:center}.status-message{border:1px dashed var(--border);border-radius:var(--radius);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:28px 20px;display:flex}.status-message strong{font-size:17px}.status-message .button-secondary{margin-top:8px}.result-list{margin:0;padding:0;list-style:none}.result-row{border-bottom:1px solid var(--border);min-height:44px;color:var(--text);align-items:center;gap:14px;padding:8px 0;text-decoration:none;display:flex}.result-row:active{opacity:.6}.result-text{flex-direction:column;gap:2px;min-width:0;display:flex}.result-title{font-size:17px;font-weight:600}.result-year{color:var(--text-muted);font-size:15px}.poster{aspect-ratio:2/3;background:var(--surface-raised);object-fit:cover;border-radius:6px;flex-shrink:0}.poster-small{width:52px}.poster-large{border-radius:12px;width:min(60%,240px);box-shadow:0 12px 40px #00000080}.poster-missing{color:var(--text-muted);justify-content:center;align-items:center;display:flex}.poster-missing svg{width:40%}.movie-detail{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.movie-detail h1{margin:12px 0 0}.screen .movie-meta{color:var(--text-muted);font-size:17px}.genre-list{flex-wrap:wrap;justify-content:center;gap:8px;margin:4px 0 0;padding:0;list-style:none;display:flex}.genre-list li{background:var(--surface-raised);border-radius:999px;padding:6px 12px;font-size:14px}.screen .genre-group{color:var(--text-muted);font-size:15px}.genre-group strong{color:var(--text);font-weight:600}.movie-detail .log-button{max-width:360px;margin-top:20px}.log-step-form{flex-direction:column;gap:24px;display:flex}.log-step-movie{align-items:center;gap:14px;display:flex}.log-step-movie h1{margin:0;font-size:24px;line-height:1.2}.field{border:0;flex-direction:column;gap:10px;min-width:0;margin:0;padding:0;display:flex}.field-label{padding:0;font-size:17px;font-weight:600}legend.field-label{margin-bottom:10px}.date-input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;appearance:none;border-radius:12px;padding:0 16px;font-size:17px}.date-input::-webkit-date-and-time-value{text-align:left;line-height:46px}.date-input:focus{outline:2px solid var(--accent);outline-offset:-1px}.date-input[aria-invalid=true]{border-color:#ff6b6b}.screen .field-problem{color:#ff8a8a;font-size:15px}.screen .field-hint{text-align:center;font-size:15px}.one-tap{grid-auto-columns:1fr;grid-auto-flow:column;gap:8px;display:grid}.one-tap-option{border:1px solid var(--border);background:var(--surface);min-height:52px;color:var(--text);font:inherit;cursor:pointer;border-radius:12px;padding:0 8px;font-size:16px;font-weight:600}.one-tap-option[aria-checked=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.log-step-actions{flex-direction:column;gap:12px;margin-top:8px;display:flex}.button-primary:disabled{opacity:.4;cursor:default}.log-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;margin:24px 0;font-size:17px;display:grid}.log-summary dt{color:var(--text-muted)}.log-summary dd{margin:0}.flow-screen{flex-direction:column;min-height:100dvh;display:flex}.flow-top{justify-content:space-between;align-items:center;display:flex}.flow-count{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:15px}.progress{background:var(--surface-raised);border-radius:999px;height:6px;overflow:hidden}.progress-fill{border-radius:inherit;background:var(--accent);height:100%;transition:width .2s ease-out}.flow-question{margin-top:32px}.screen .flow-movie{text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;font-size:15px;font-weight:600}.flow-controls{flex-direction:column;gap:16px;margin-top:auto;padding-top:32px;display:flex}.rating{flex-direction:column;gap:8px;display:flex}.rating-scale{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.rating-option{aspect-ratio:1;border:1px solid var(--border);background:var(--surface);min-height:52px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border-radius:14px;font-size:24px;font-weight:700}.rating-option[aria-checked=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.rating-poles{color:var(--text-muted);justify-content:space-between;padding:0 4px 8px;font-size:14px;display:flex}.rating-na,.choice-list .one-tap-option{width:100%}.choice-list{flex-direction:column;gap:8px;display:flex}.flow-actions{grid-auto-columns:1fr;grid-auto-flow:column;gap:8px;display:grid}.flow-actions:empty{display:none}.flow-text{flex-direction:column;gap:8px;display:flex}.text-input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:52px;color:var(--text);font:inherit;appearance:none;border-radius:12px;padding:0 16px;font-size:17px}.text-input:focus{outline:2px solid var(--accent);outline-offset:-1px}.screen .text-counter{font-variant-numeric:tabular-nums;align-self:flex-end;font-size:14px}.flow-text .flow-actions{margin-top:8px}.log-summary-row{display:contents}.log-started .log-button+.log-button{margin-top:8px}.flow-tags,.flow-slider{flex-direction:column;gap:12px;display:flex}.tag-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.tag-option{border:1px solid var(--border);background:var(--surface);min-height:52px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:0 4px;font-size:15px;font-weight:600}.tag-option[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.screen .tag-hint{text-align:center;min-height:1.5em}.slider{--slider-fill:50%;appearance:none;cursor:pointer;background:0 0;width:100%;height:44px;margin:0}.slider::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--slider-fill), var(--surface-raised) var(--slider-fill));border-radius:999px;height:8px}.slider::-webkit-slider-thumb{background:var(--text);appearance:none;border:0;border-radius:50%;width:32px;height:32px;margin-top:-12px;box-shadow:0 2px 8px #00000080}.slider::-moz-range-track{background:var(--surface-raised);border-radius:999px;height:8px}.slider::-moz-range-progress{background:var(--accent);border-radius:999px;height:8px}.slider::-moz-range-thumb{background:var(--text);border:0;border-radius:50%;width:32px;height:32px}.slider:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:8px}.slider-poles{color:var(--text-muted);justify-content:space-between;gap:16px;padding-bottom:8px;font-size:15px;font-weight:600;display:flex}.slider-poles span:last-child{text-align:right}.flow-stars,.star-input{flex-direction:column;gap:16px;display:flex}.star-input-row{touch-action:none;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:12px;justify-content:center;padding:8px 0;display:flex}.star-input-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.star-input .star-row{width:100%}.star-row{display:inline-flex}.star{aspect-ratio:1;flex:1;min-width:0;display:block;position:relative}.star svg{width:100%;height:100%;display:block}.star-empty path{fill:var(--surface-raised)}.star-fill{position:absolute;inset:0 auto 0 0;overflow:hidden}.star-fill svg{aspect-ratio:1;width:auto}.star-fill path{fill:var(--accent)}.screen .star-verdict{min-height:1.6em;color:var(--text-muted);text-align:center;font-size:17px}.star-verdict strong{color:var(--text);font-size:20px}.star-number{font-variant-numeric:tabular-nums}.dialog-backdrop{z-index:10;padding:16px 12px calc(var(--safe-bottom) + 12px);background:#0009;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.dialog{border:1px solid var(--border);background:var(--surface);border-radius:20px;outline:none;width:min(100%,440px);padding:24px 20px 20px}.dialog h2{margin:0 0 12px;font-size:22px}.dialog p{color:var(--text-muted);margin:0;line-height:1.5}.dialog-movie{align-items:center;gap:14px;display:flex}.dialog-movie strong{font-size:17px}.dialog-actions{flex-direction:column;gap:8px;margin-top:20px;display:flex}.button-danger{color:#fff;min-height:48px;font:inherit;cursor:pointer;background:#e5484d;border:0;border-radius:12px;justify-content:center;align-items:center;padding:0 20px;font-size:17px;font-weight:600;display:inline-flex}.button-text{min-height:44px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;font-size:17px}.draft-section{margin-top:28px}.draft-section h2{margin:0 0 4px;font-size:20px}.draft-row{border-bottom:1px solid var(--border);align-items:center;display:flex}.draft-row .draft-link{border-bottom:0;flex:1;min-width:0}.draft-badge{background:var(--surface-raised);color:var(--accent);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;margin-right:4px;padding:1px 8px;font-size:13px;font-weight:700;display:inline-block}.draft-discard{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:flex}.draft-discard svg{width:20px;height:20px}
