*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45}h1,h2,p{margin:0}button,input{font:inherit;color:inherit}.app{max-width:640px;min-height:100dvh;margin:0 auto}.app--signed-in{padding-bottom:calc(var(--tabbar-height) + env(safe-area-inset-bottom))}.account-button{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;margin-right:-5px;padding:0;display:grid}.sheet{z-index:30;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet__backdrop{background:#00000073;position:absolute;inset:0}.sheet__panel{width:100%;max-width:640px;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg);border-radius:20px 20px 0 0;gap:12px;display:grid;position:relative}.sheet__handle{background:var(--border);border-radius:999px;justify-self:center;width:40px;height:4px}.sheet__user{overflow-wrap:anywhere;align-items:center;gap:12px;padding:4px 2px;display:flex}.sheet__user small{color:var(--muted);font-size:.85rem;display:block}.avatar img{object-fit:cover;width:100%;height:100%}.sheet__group{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}.sheet__item{width:100%;min-height:54px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;padding:0 16px;text-decoration:none;display:flex}.sheet__item+.sheet__item{border-top:1px solid var(--border)}.sheet__item svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;color:var(--muted);flex:none}.sheet__item.router-link-exact-active{color:var(--accent);font-weight:600}.sheet__item.router-link-exact-active svg,.sheet__item--danger svg{color:inherit}.sheet__item--danger{color:var(--danger)}.sheet-enter-active,.sheet-leave-active{transition:opacity .2s}.sheet-enter-active .sheet__panel,.sheet-leave-active .sheet__panel{transition:translate .22s ease-out}.sheet-enter-from,.sheet-leave-to{opacity:0}.sheet-enter-from .sheet__panel,.sheet-leave-to .sheet__panel{translate:0 100%}@media (prefers-reduced-motion:reduce){.sheet-enter-active .sheet__panel,.sheet-leave-active .sheet__panel{transition:none}}.tabbar__item.router-link-exact-active{color:var(--accent);font-weight:600}.login .button{margin-top:12px}.account{gap:8px;max-width:340px;display:grid}.account .button{margin-top:12px}.account__form{gap:8px;margin-top:16px;display:grid}.profile-picture{align-items:center;gap:16px;display:flex}.profile-picture__actions{gap:8px;display:grid}.profile-picture .button{margin-top:0}.account__note{color:var(--muted);font-size:.88rem}.account__success{color:var(--accent);padding:8px 0;font-weight:600}.setting{gap:8px;padding:12px 0;display:grid}.setting small,.switch small{color:var(--muted);font-size:.85rem;display:block}.switch input{appearance:none;background:color-mix(in srgb, var(--muted) 60%, var(--bg));cursor:pointer;border-radius:999px;flex:none;width:52px;height:32px;margin:0;transition:background .2s;position:relative}.switch input:after{content:"";background:#fff;border-radius:50%;width:26px;height:26px;transition:translate .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}.switch input:checked{background:var(--accent)}.switch input:checked:after{translate:20px}:root{--bg:#fbf5ea;--surface:#fffcf7;--segment-active:#fffcf7;--text:#1c1712;--muted:#6d6152;--border:#e9dcc7;--accent:#c4420c;--accent-text:#fff;--accent-soft:#fbdcc8;--danger:#a8321f;--star:#c77d00;--shadow:0 1px 2px #3c28140f, 0 4px 14px #3c28140f;--radius:14px;--tabbar-height:62px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#17130f;--surface:#221c16;--segment-active:#4a3d31;--text:#f6ecdd;--muted:#a8998a;--border:#3a3027;--accent:#ff7d3c;--accent-text:#1f0d02;--accent-soft:#3d2416;--danger:#ff9a85;--star:#ffc04d;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme]){--bg:#17130f;--surface:#221c16;--segment-active:#4a3d31;--text:#f6ecdd;--muted:#a8998a;--border:#3a3027;--accent:#ff7d3c;--accent-text:#1f0d02;--accent-soft:#3d2416;--danger:#ff9a85;--star:#ffc04d;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}a{color:var(--accent)}.topbar{padding:calc(14px + env(safe-area-inset-top)) 16px 6px;justify-content:space-between;align-items:center;gap:12px;display:flex}.topbar__title{letter-spacing:-.02em;font-size:1.5rem;font-weight:800}.avatar{background:var(--accent-soft);color:var(--accent);text-transform:uppercase;border-radius:50%;flex:none;place-items:center;font-weight:700;line-height:1;display:grid;overflow:hidden}.content{padding:12px 16px 24px}.tabbar{height:calc(var(--tabbar-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--bg);border-top:1px solid var(--border);justify-content:center;display:flex;position:fixed;inset:auto 0 0}.tabbar__item{max-width:200px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.75rem;text-decoration:none;display:flex}.tabbar__item svg{box-sizing:content-box;fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;border-radius:999px;width:24px;height:24px;padding:2px 16px}.tabbar__item.router-link-exact-active svg{background:var(--accent-soft)}.button{background:var(--accent);min-height:46px;color:var(--accent-text);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0 22px;font-weight:600;text-decoration:none;display:inline-flex}.button:disabled{opacity:.6}.button--secondary{background:var(--accent-soft);color:var(--text)}.button--ghost{border:1px solid var(--border);color:var(--text);background:0 0}.button--small{min-height:38px;padding:0 14px;font-size:.9rem}label{font-size:.9rem;font-weight:600}input[type=text],input[type=password],input[type=search]{border:1px solid var(--border);background:var(--surface);border-radius:999px;width:100%;min-height:46px;padding:0 18px;font-size:1rem}input[type=date]{border:1px solid var(--border);background:var(--surface);border-radius:999px;min-height:42px;padding:0 14px;font-size:1rem}textarea{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;font:inherit;color:inherit;resize:vertical;padding:10px 14px}select{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);font:inherit;border-radius:999px;padding:0 12px;font-size:.9rem}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.segments{border-radius:var(--radius);background:var(--border);gap:4px;padding:4px;display:flex}.segments__item{border-radius:calc(var(--radius) - 4px);min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:1}.segments__item--active{background:var(--segment-active);color:var(--text);font-weight:600;box-shadow:0 1px 3px #0000001f}.hint{color:var(--muted)}.error{color:var(--danger)}.badge{background:var(--accent-soft);color:var(--accent);border-radius:6px;padding:1px 8px;font-size:.75rem;font-weight:600}.login{flex-direction:column;gap:8px;max-width:360px;margin:18vh auto 0;display:flex}.login h1{text-align:center;margin-bottom:16px;font-size:2.2rem}.account h1{margin-bottom:8px;font-size:1.3rem}.switch{color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;font-size:1rem;font-weight:400;display:flex}.home{gap:16px;display:grid}.home__header{gap:2px;display:grid}.home h1{letter-spacing:-.01em;font-size:1.6rem}.lists{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}.lists__item{border:1px solid var(--border);background:var(--surface);color:var(--muted);font:inherit;cursor:pointer;border-radius:12px;justify-items:center;gap:1px;padding:9px 2px 8px;display:grid}.lists__count{color:var(--text);font-variant-numeric:tabular-nums;font-size:1.2rem;font-weight:700;line-height:1.15}.lists__label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.74rem;overflow:hidden}.lists__item[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.lists__item[aria-pressed=true] .lists__label{font-weight:600}.home__section{gap:10px;display:grid}.home__section-heading{font-size:1rem}.home__section-heading span{color:var(--muted);font-weight:600}.empty{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.search{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.results{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;transition:opacity .15s;display:flex}.results--stale{opacity:.55}.title-card{color:inherit;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;gap:14px;padding:10px;text-decoration:none;display:flex}.title-card__poster{object-fit:cover;background:var(--border);border-radius:10px;flex:none;width:72px;height:108px}.title-card__poster--empty{color:var(--muted);place-items:center;font-size:1.6rem;font-weight:700;display:grid}.title-card__body{flex-direction:column;gap:3px;min-width:0;display:flex}.title-card__title{font-size:1.05rem;font-weight:700;line-height:1.25}.title-card__original{color:var(--muted);font-size:.85rem;font-style:italic}.title-card__meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.85rem;display:flex}.title-card__overview{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.85rem;display:-webkit-box;overflow:hidden}.title-card__on-list{color:var(--accent);font-size:.85rem;font-weight:600}.title-card__note{color:var(--muted);font-size:.8rem}.title-card__rating{font-size:.9rem;font-weight:700}.title-card__rating span{color:var(--star)}.title-card__rating small{color:var(--muted);font-size:.8rem;font-weight:400}.home__sort{justify-content:flex-end;align-items:center;gap:8px;display:flex}.home__sort label{color:var(--muted);font-weight:400}.title-card__progress{color:var(--accent);font-size:.85rem;font-weight:600}.suggestions{gap:14px;display:grid}.suggestions h1{letter-spacing:-.01em;font-size:1.6rem}.suggestion{gap:8px;display:grid}.suggestion+.suggestion{padding-top:6px}.suggestion__reason{padding:0 4px}.suggestion__caveat{color:var(--muted);padding:0 4px;font-size:.9rem;font-style:italic}.suggestion__actions,.suggestion__reasons{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px;display:flex}.suggestion__question{color:var(--muted);flex-basis:100%;font-size:.9rem}.title{gap:18px;display:grid}.title__back{justify-self:start;gap:2px;padding-left:6px}.title__back svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.title__hero{display:grid}.title__backdrop{aspect-ratio:16/9;object-fit:cover;background:var(--border);border-radius:16px;width:100%}.title__heading{align-items:flex-end;gap:14px;display:flex}.title__backdrop+.title__heading{margin-top:-48px;padding-left:12px}.title__poster{border:3px solid var(--bg);object-fit:cover;background:var(--border);width:104px;height:156px;box-shadow:var(--shadow);border-radius:12px;flex:none}.title__names{gap:3px;min-width:0;padding-bottom:2px;display:grid}.title__names h1{letter-spacing:-.01em;text-wrap:balance;font-size:1.45rem;line-height:1.15}.title__facts{color:var(--muted);font-size:.88rem}.title__rating{font-weight:700}.title__rating span{color:var(--star)}.title__rating small{color:var(--muted);margin-left:4px;font-size:.8rem;font-weight:400}.list-box{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;justify-items:start;gap:12px;padding:14px;display:grid}.list-box h2{font-size:1rem}.list-box__date{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.list-box__note{color:var(--muted);font-size:.85rem}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--border);background:var(--bg);min-height:38px;color:var(--text);cursor:pointer;border-radius:999px;padding:0 14px;font-size:.9rem}.chip--active{border-color:var(--accent);background:var(--accent);color:var(--accent-text);font-weight:600}.chip:disabled{cursor:default}.list-box__progress{font-weight:600}.notice{background:var(--accent-soft);border-radius:12px;justify-items:start;gap:8px;width:100%;padding:10px 12px;display:grid}.seasons{gap:8px;display:grid}.seasons h2{font-size:1.1rem}.season{border:1px solid var(--border);background:var(--surface);border-radius:14px}.season summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:0 14px;list-style:none;display:flex}.season summary::-webkit-details-marker{display:none}.season summary:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);flex:none;width:8px;height:8px;margin-left:-4px;transition:rotate .15s;translate:0 -2px;rotate:45deg}.season[open] summary:after{translate:0 2px;rotate:225deg}.season__name{flex:1;font-weight:600}.season__count{color:var(--muted);font-size:.85rem}.season__count--done{color:var(--accent);font-weight:600}.season__body{gap:10px;padding:0 14px 12px;display:grid}.season__actions{flex-wrap:wrap;gap:8px;display:flex}.episodes{margin:0;padding:0;list-style:none;display:grid}.episode{align-items:center;gap:12px;min-height:52px;padding:6px 0;display:flex}.episode+.episode{border-top:1px solid var(--border)}.episode__tick{border:2px solid var(--border);cursor:pointer;background:0 0;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.episode__tick svg{fill:none;stroke:#0000;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.episode--seen .episode__tick{border-color:var(--accent);background:var(--accent)}.episode--seen .episode__tick svg{stroke:var(--accent-text)}.episode__tick--future{cursor:default;border-style:dashed}.episode__text{flex:1;min-width:0;display:grid}.episode__title{overflow-wrap:anywhere}.episode--seen .episode__title{color:var(--muted)}.episode__text small{color:var(--muted);font-size:.8rem}.episode__up-to{border:1px solid var(--border);min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:0 10px;font-size:.8rem}.ratings{gap:12px;display:grid}.ratings h2{justify-content:space-between;align-items:baseline;gap:12px;font-size:1.1rem;display:flex}.ratings__average{color:var(--star);white-space:nowrap;font-size:.95rem;font-weight:700}.rating-group{justify-items:start;gap:8px;display:grid}.rating-group+.rating-group{border-top:1px solid var(--border);padding-top:12px}.rating-group__heading{justify-content:space-between;gap:12px;width:100%;margin:0;font-size:1rem;display:flex}.rating{border:1px solid var(--border);background:var(--surface);border-radius:14px;gap:4px;width:100%;padding:12px 14px;display:grid}.rating__header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.rating__overall{font-size:1.15rem;font-weight:800}.rating__overall span{color:var(--star)}.rating__overall small{color:var(--muted);font-size:.8rem;font-weight:500}.rating__categories{color:var(--muted);font-size:.85rem}.rating__review{white-space:pre-line}.rating-form{border:1px solid var(--accent);background:var(--surface);border-radius:14px;gap:10px;width:100%;padding:14px;display:grid}.rating-form__row{gap:2px;display:grid}.rating-form__label{font-size:.9rem;font-weight:600}.rating-form__actions{flex-wrap:wrap;gap:8px;display:flex}.rating-form__remove{color:var(--danger);margin-left:auto}.stars{align-items:center;display:flex}.stars__star{cursor:pointer;background:0 0;border:0;place-items:center;width:28px;height:34px;padding:0;display:grid}.stars__star svg{fill:#0000;width:24px;height:24px;stroke:var(--muted);stroke-width:1.5px;stroke-linejoin:round}.stars__star--on svg{fill:var(--star);stroke:var(--star)}.stars__value{font-variant-numeric:tabular-nums;min-width:2ch;margin-left:8px;font-weight:700}.title__genres{flex-wrap:wrap;gap:6px;display:flex}.title__overview{max-width:65ch}.title__people{gap:4px;margin:0;display:grid}.title__people dt{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;font-weight:600}.title__people dd{margin:0 0 10px}.cast{gap:2px;margin:0;padding:0;list-style:none;display:grid}.cast small{color:var(--muted);font-size:.85rem}.title .button{justify-self:start}.title .attribution{margin-top:0}.attribution{color:var(--muted);margin-top:24px;font-size:.75rem}
