:root{color:#e5e7eb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0f172a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}input[type=text]{color:#e5e7eb;background:#111c33;border:1px solid #334155;border-radius:8px;min-width:0;padding:12px}input[type=text]:disabled{cursor:not-allowed;opacity:.55}button{border:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell{width:min(100%,560px);min-height:100vh;margin:0 auto;padding:18px 16px 142px}.search-shell{padding-bottom:24px}.topbar{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.eyebrow{color:#94a3b8;text-transform:uppercase;margin:0 0 4px;font-size:.78rem;font-weight:700}h1,h2,h3,h4,p{margin-top:0}h1{margin-bottom:0;font-size:2rem}h2{margin-bottom:0;font-size:1.25rem}h3{margin-bottom:6px;font-size:1rem}h4{margin-bottom:4px;font-size:.98rem}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.primary-action{color:#082f49;background:#38bdf8;border-radius:8px;padding:10px 14px;font-size:.9rem;font-weight:800}.muted{color:#94a3b8}.settings-page{gap:16px;display:grid}.settings-form{gap:10px;display:grid}.settings-form>label:not(.settings-checkbox){color:#cbd5e1;font-weight:700}.settings-checkbox{color:#cbd5e1;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;font-weight:700;display:grid}.settings-checkbox input{margin-top:3px}.settings-warning{color:#fde68a;background:#2a1d08;border:1px solid #f59e0b;border-radius:8px;margin-bottom:0;padding:12px}.settings-success{color:#86efac;margin-bottom:0}.settings-form button[type=submit]{color:#082f49;background:#38bdf8;border-radius:8px;margin-top:40px;padding:12px 14px;font-weight:800}.settings-form button[type=submit]:disabled{cursor:not-allowed;opacity:.55}.calendar-page{gap:22px;display:grid}.calendar-day{gap:10px;display:grid}.calendar-day h2{color:#f8fafc;font-size:1.08rem;font-weight:900}.calendar-episode-list{gap:10px;display:grid}.calendar-episode-card{background:#111c33;border:1px solid #334155;border-radius:8px;grid-template-columns:54px minmax(0,1fr);align-items:start;gap:12px;padding:10px;display:grid}.calendar-episode-card:hover,.calendar-episode-card:focus-visible{border-color:#38bdf8}.calendar-episode-card .poster-image,.calendar-episode-card .poster-placeholder{width:54px;height:81px}.calendar-episode-card h3{color:#e5e7eb;margin-top:4px;margin-bottom:6px;font-size:.92rem;line-height:1.25}.calendar-episode-card p{margin-bottom:0}.calendar-episode-card .episode-meta{font-size:.8rem}.calendar-series-title{color:#7dd3fc;margin-bottom:4px;font-size:.92rem;font-weight:800}.empty-state{background:#111c33;border:1px solid #334155;border-radius:8px;padding:18px}.empty-state p:last-child{color:#94a3b8;margin-bottom:0}.auth-error{color:#fca5a5;margin-bottom:0}.home{gap:24px;display:grid}.home-series-section{gap:12px;display:grid}.series-list{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;display:grid}.series-card{background:#111c33;border:1px solid #334155;border-radius:8px;padding:0;display:block;overflow:hidden}.series-card:hover,.series-card:focus-visible{border-color:#38bdf8}.series-card .poster-image,.series-card .poster-placeholder{aspect-ratio:2/3;border-radius:0;width:100%;height:auto}.poster-placeholder{color:#38bdf8;background:#1e293b;border-radius:6px;place-items:center;width:54px;height:72px;font-size:1.5rem;font-weight:800;display:grid}.poster-large{width:74px;height:111px}.search-page{gap:16px;display:grid}.search-form{gap:8px;display:grid}.search-form label{color:#cbd5e1;font-weight:700}.search-controls{grid-template-columns:1fr auto;gap:8px;display:grid}.search-controls input{color:#e5e7eb;background:#111c33;border:1px solid #334155;border-radius:8px;min-width:0;padding:12px}.search-controls button,.secondary-action{color:#082f49;background:#38bdf8;border-radius:8px;padding:12px 14px;font-weight:800}.secondary-action:disabled{cursor:not-allowed;opacity:.55}.quick-search-bar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.quick-search-actions{overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;grid-auto-columns:max-content;grid-auto-flow:column;gap:8px;display:grid;overflow-x:auto}.quick-search-actions::-webkit-scrollbar{display:none}.quick-search-scroll{cursor:pointer;color:#cbd5e1;background:#111c33;border:1px solid #334155;border-radius:8px;place-items:center;width:36px;height:36px;font-size:1.5rem;font-weight:800;line-height:1;display:grid}.quick-search-scroll:hover,.quick-search-scroll:focus-visible{color:#7dd3fc;border-color:#38bdf8}.quick-search-action{white-space:nowrap;cursor:pointer;color:#cbd5e1;background:#111c33;border:1px solid #334155;border-radius:8px;padding:10px 12px;font-weight:800}.quick-search-action.active{color:#082f49;background:#38bdf8;border-color:#38bdf8}.search-results{gap:12px;display:grid}.search-result-card{background:#111c33;border:1px solid #334155;border-radius:8px;grid-template-columns:86px 1fr;align-items:start;gap:16px;padding:12px;display:grid}.search-result-media{justify-items:center;gap:8px;display:grid}.poster-action{cursor:pointer;background:0 0;border-radius:6px;padding:0}.poster-action:hover,.poster-action:focus-visible{outline-offset:2px;outline:2px solid #7dd3fc}.poster-image{object-fit:cover;background:#1e293b;border-radius:6px;width:74px;height:111px}.search-result-content{gap:10px;min-width:0;display:grid}.search-result-content h2{margin-bottom:4px}.title-action{cursor:pointer;color:#e5e7eb;font:inherit;text-align:left;background:0 0;border-radius:6px;padding:0;font-weight:800}.title-action:hover,.title-action:focus-visible{color:#7dd3fc}.search-result-content p{color:#cbd5e1;margin-bottom:0;line-height:1.4}.search-result-content .muted{color:#94a3b8}.search-result-content .secondary-action{justify-self:start}.search-result-media .secondary-action{width:100%;padding-inline:8px}.overview-block{gap:6px;display:grid}.overview-action{cursor:pointer;color:#cbd5e1;text-align:left;background:0 0;padding:0;line-height:1.4}.overview-action:hover,.overview-action:focus-visible{color:#e5e7eb}.text-action{cursor:pointer;color:#7dd3fc;background:0 0;justify-self:start;padding:0;font-weight:800}.back-button{z-index:5;color:#cbd5e1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111c33f5;border:1px solid #38bdf8;border-radius:8px;justify-self:start;margin-left:10px;padding:10px 12px;font-weight:800;position:sticky;top:10px;box-shadow:0 10px 24px #0206174d}.back-button:hover,.back-button:focus-visible{color:#7dd3fc;border-color:#38bdf8}.back-to-top{z-index:10;cursor:pointer;color:#38bdf8;background:#0f172af5;border:1px solid #38bdf8;border-radius:999px;place-items:center;width:44px;height:44px;font-size:1.35rem;font-weight:900;display:grid;position:fixed;bottom:76px;left:max(26px,50vw - 254px);box-shadow:0 12px 32px #00000059}.back-to-top svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.series-page{gap:16px;display:grid}.tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tab{cursor:pointer;color:#cbd5e1;background:#111c33;border:1px solid #334155;border-radius:8px;padding:10px 12px;font-weight:800}.tab.active{color:#082f49;background:#38bdf8;border-color:#38bdf8}.dialog-backdrop{z-index:10;background:#020617b8;align-items:end;padding:18px 12px;display:grid;position:fixed;inset:0;overflow:hidden}.series-dialog{background:#0f172a;border:1px solid #334155;border-radius:8px;gap:14px;width:min(100%,560px);max-height:min(86vh,760px);margin:0 auto;padding:14px;display:grid;position:relative;overflow-y:auto;box-shadow:0 24px 70px #0006}.dialog-close{z-index:1;cursor:pointer;color:#e5e7eb;background:#0f172ae0;border-radius:8px;place-items:center;width:34px;height:34px;font-size:1.4rem;line-height:1;display:grid;position:absolute;top:10px;right:10px}.detail-backdrop{aspect-ratio:16/9;object-fit:cover;background:#1e293b;border-radius:6px;width:100%}.detail-header{grid-template-columns:74px 1fr;align-items:center;gap:12px;display:grid}.detail-header h2{margin-bottom:4px}.detail-header p{margin-bottom:0}.detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.detail-list div{background:#111c33;border-radius:8px;padding:10px}.detail-list dt{color:#94a3b8;margin-bottom:4px;font-size:.78rem;font-weight:800}.detail-list dd{color:#e5e7eb;margin:0;font-weight:700}.detail-tags,.detail-overview{color:#cbd5e1;margin-bottom:0;line-height:1.45}.detail-tags strong{color:#e5e7eb}.season-list{gap:16px;display:grid}.season-block{background:#111c33;border:1px solid #334155;border-radius:8px;gap:10px;padding:10px;display:grid}.season-block summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;list-style:none;display:grid}.season-block summary::-webkit-details-marker{display:none}.season-title{color:#cbd5e1;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;font-size:.95rem;font-weight:700;line-height:1.3;display:grid}.season-chevron{border-bottom:2px solid #94a3b8;border-right:2px solid #94a3b8;flex:none;width:8px;height:8px;transform:rotate(45deg)}.season-chevron.open{transform:rotate(225deg)}.season-progress{color:#94a3b8;grid-auto-flow:column;align-items:center;gap:8px;font-size:.82rem;font-weight:700;display:inline-grid}.season-progress-bar{background:#1e293b;border-radius:999px;grid-column:1/-1;width:100%;height:4px;margin-top:10px;display:block;overflow:hidden}.season-progress-bar span{border-radius:inherit;background:#22c55e;height:100%;display:block}.season-status{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;place-items:center;width:22px;height:22px;padding:0;font-size:.75rem;font-weight:900;display:grid}.season-status-icon{pointer-events:none}.season-status:disabled{cursor:not-allowed;opacity:.55}.season-status.saving{opacity:1}.season-status-spinner{border:2px solid;border-right-color:#0000;border-radius:999px;width:12px;height:12px;animation:.75s linear infinite spin}.season-status.watched{color:#bbf7d0;background:#14532d;border-color:#22c55e}@keyframes spin{to{transform:rotate(360deg)}}.season-air-date{color:#94a3b8;margin:-4px 0 4px;font-size:.82rem;font-weight:600;line-height:1.3}.season-block[open]{border-color:#38bdf8}.season-block .auth-error,.season-block .muted{margin-bottom:0}.episode-list{gap:10px;display:grid}.next-episode-panel{background:#0f172a;border:1px solid #334155;border-radius:8px;gap:6px;margin-bottom:16px;padding:10px;display:grid}.next-episode-label{color:#94a3b8;text-transform:uppercase;font-size:.78rem;font-weight:800}.episodes-section-title{color:#f8fafc;margin:0 0 10px;font-size:1.08rem;font-weight:900}.next-episode-title{margin-top:16px;margin-bottom:4px}.next-episode-panel>p{color:#94a3b8;margin:0;font-size:.84rem}.next-episode-summary{gap:10px;display:grid}.next-episode-image{aspect-ratio:16/9;object-fit:cover;background:#1e293b;border-radius:6px;width:100%}.next-episode-summary h4{color:#e5e7eb;margin-bottom:8px;font-size:.95rem;font-weight:700}.next-episode-link{cursor:pointer;color:#7dd3fc;text-underline-offset:3px;background:0 0;padding:0;font-size:.86rem;font-weight:800;text-decoration:underline}.episode-card{background:#111c33;border:1px solid #334155;border-radius:8px;align-items:start;gap:10px;padding:10px;display:grid}.episode-still{aspect-ratio:16/9;object-fit:cover;background:#1e293b;border-radius:6px;width:100%}.episode-card p{color:#cbd5e1;margin-bottom:0;line-height:1.4}.episode-card .episode-overview{color:#cbd5e1;font-size:.88rem}.episode-overview-block{gap:6px;display:grid}.overview-toggle{cursor:pointer;color:#7dd3fc;background:0 0;justify-self:start;padding:0;font-size:.86rem;font-weight:800}.comment-action{cursor:pointer;color:#7dd3fc;background:0 0;justify-self:start;margin-top:8px;padding:0;font-size:.86rem;font-weight:800}.episode-card h4{color:#e5e7eb;margin-bottom:0;font-size:.95rem;font-weight:700}.episode-card .muted{color:#94a3b8;margin-bottom:6px;font-size:.86rem}.episode-meta{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.episode-meta>span+span:not(.episode-meta-item):before{content:"·";color:#64748b;margin-right:10px}.episode-meta-item{align-items:center;gap:4px;display:inline-flex}.episode-meta-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.episode-number{color:#fff;font-size:1rem;font-weight:700}.episode-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:4px;display:grid}.watched-toggle{cursor:pointer;color:#64748b;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.watched-toggle.watched{color:#bbf7d0;background:#14532d;border-color:#22c55e}.watched-toggle:disabled{cursor:not-allowed;opacity:.55}.episode-rating{color:#cbd5e1;flex-direction:column;align-items:center;gap:8px;margin-top:8px;font-size:.86rem;font-weight:800;display:flex}.series-rating{margin-bottom:18px}.rating-label{text-align:center;align-items:center;gap:10px;width:100%;display:flex}.rating-label:before,.rating-label:after{content:"";background:#334155;flex:1;height:1px}.average-rating{color:#94a3b8;font-size:.82rem;font-weight:700}.rating-buttons{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.rating-button{cursor:pointer;color:#64748b;background:0 0;border:0;border-radius:999px;place-items:center;width:34px;height:34px;font-size:1.55rem;font-weight:900;line-height:1;display:grid}.rating-button.selected{color:#facc15}.rating-button:disabled{cursor:not-allowed;opacity:.55}.comments-dialog{background:#0f172a;border:1px solid #334155;border-radius:8px;gap:14px;width:min(100%,560px);max-height:min(86vh,760px);margin:0 auto;padding:14px;display:grid;position:relative;overflow-y:auto;box-shadow:0 24px 70px #0006}.comments-list{gap:10px;display:grid}.comment-actions-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;display:flex}.comment-add-link{color:#38bdf8;font-size:.9rem;font-weight:800;text-decoration:none}.comment-add-link:hover,.comment-add-link:focus-visible{color:#7dd3fc;text-decoration:none}.comment-sort{color:#94a3b8;align-items:center;gap:6px;font-size:.78rem;font-weight:700;display:inline-flex}.comment-sort select{color:#e5e7eb;font:inherit;background:#111c33;border:1px solid #334155;border-radius:8px;padding:6px 8px}.comment-thread{gap:8px;display:grid}.comment-card{background:#111c33;border:1px solid #334155;border-radius:8px;padding:10px 10px 28px;position:relative}.comment-replies{border-left:2px solid #334155;gap:8px;margin-left:18px;padding-left:10px;display:grid}.comment-reply-card{background:#0f1a30}.comment-card p{color:#e5e7eb;margin-bottom:0;line-height:1.4}.comment-image{object-fit:contain;border-radius:8px;width:min(100%,320px);height:auto;max-height:360px;margin:8px 0 10px;display:block}.comment-image-error{color:#f87171;margin-top:8px;font-size:.78rem}.comment-meta{color:#94a3b8;justify-content:flex-start;align-items:center;gap:12px;margin-bottom:6px;font-size:.82rem;display:flex}.comment-card:has(.comment-has-delete) .comment-meta{padding-right:28px}.comment-meta span{margin-left:auto}.comment-card .comment-status-note{color:#f87171;margin-top:6px;font-size:.78rem;font-weight:700}.comment-reply{cursor:pointer;color:#38bdf8;background:0 0;border:0;padding:0;font-size:.78rem;font-weight:800;position:absolute;bottom:8px;left:10px}.comment-reply:disabled{cursor:not-allowed;opacity:.55}.comment-like{cursor:pointer;color:#94a3b8;background:0 0;align-items:center;gap:4px;height:22px;padding:0;font-size:.78rem;font-weight:800;display:inline-flex;position:absolute;bottom:8px;right:10px}.comment-like.liked{color:#ef4444}.comment-like:disabled{cursor:not-allowed;opacity:.55}.comment-like-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.comment-like.liked .comment-like-icon{fill:currentColor}.comment-delete{cursor:pointer;color:#fecaca;background:#7f1d1d3d;border:1px solid #ef4444;border-radius:999px;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:8px;right:10px}.close-icon{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;width:13px;height:13px}.comment-delete:disabled{cursor:not-allowed;opacity:.55}.comment-confirm{gap:8px;margin-top:10px;display:grid}.comment-confirm p{color:#fecaca;font-size:.86rem;font-weight:700}.comment-confirm div{flex-wrap:wrap;gap:8px;display:flex}.comment-confirm button{cursor:pointer;border-radius:8px;padding:7px 10px;font-size:.82rem;font-weight:800}.comment-confirm button:first-child{color:#fff;background:#ef4444}.comment-confirm button:last-child{color:#cbd5e1;background:0 0;border:1px solid #334155}.comment-confirm button:disabled{cursor:not-allowed;opacity:.55}.comment-form{gap:8px;display:grid}.comment-form label{color:#cbd5e1;font-weight:700}.comment-cancel-reply{cursor:pointer;color:#38bdf8;background:0 0;border:0;justify-self:start;padding:0;font-weight:800}.comment-form textarea{resize:vertical;color:#e5e7eb;min-height:172px;font:inherit;background:#111c33;border:1px solid #334155;border-radius:8px;padding:10px}.comment-form textarea:disabled{cursor:not-allowed;opacity:.55}.comment-image-picker{flex-wrap:wrap;justify-self:stretch;align-items:center;gap:8px;min-width:0;max-width:100%;font-size:.86rem;display:flex}.comment-image-picker[aria-disabled=true]{cursor:not-allowed;opacity:.55}.comment-image-picker-button{cursor:pointer;color:#cbd5e1;background:#111c33;border:1px solid #334155;border-radius:8px;padding:8px 10px;font-weight:800}.comment-image-picker[aria-disabled=true] .comment-image-picker-button{cursor:not-allowed}.comment-image-picker-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.comment-image-picker-name{overflow-wrap:anywhere;color:#94a3b8;min-width:0;font-weight:500}.comment-image-selected{color:#94a3b8;flex-wrap:wrap;align-items:center;gap:8px;font-size:.82rem;display:flex}.comment-image-selected button{cursor:pointer;color:#cbd5e1;background:0 0;border:1px solid #334155;border-radius:8px;padding:6px 8px;font-weight:800}.comment-image-selected button:disabled{cursor:not-allowed;opacity:.55}.comment-length{color:#94a3b8;justify-self:end;margin:-2px 0 0;font-size:.78rem}.comment-form button[type=submit]{cursor:pointer;color:#082f49;background:#38bdf8;border-radius:8px;justify-self:start;padding:10px 12px;font-weight:800}.comment-form button[type=submit]:disabled{cursor:not-allowed;opacity:.55}.bottom-nav{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172af5;border-top:1px solid #334155;grid-template-columns:repeat(4,1fr);width:min(100%,560px);margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{color:#94a3b8;text-align:center;padding:14px 8px 16px;font-size:.9rem;font-weight:700}.bottom-nav a.active{color:#38bdf8}
