:root{--font-display:"Space Grotesk","Inter","Noto Sans SC","Source Han Sans SC",system-ui,sans-serif;--font-ui:"Inter","Noto Sans SC","Source Han Sans SC",system-ui,sans-serif;--md-sys-color-primary:#d84b3f;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#ffd9d4;--md-sys-color-on-primary-container:#4f0a05;--md-sys-color-secondary-container:#f5dfdb;--md-sys-color-on-secondary-container:#3a1713;--md-sys-color-background:#f8f5ee;--md-sys-color-on-background:#171717;--md-sys-color-surface:#f8f5ee;--md-sys-color-on-surface:#171717;--md-sys-color-surface-container-lowest:#fffdf9;--md-sys-color-surface-container-low:#f4f0e8;--md-sys-color-surface-container:#ece7de;--md-sys-color-surface-container-high:#e5e0d7;--md-sys-color-surface-container-highest:#ddd7ce;--md-sys-color-on-surface-variant:#514d48;--md-sys-color-outline:#7f7972;--md-sys-color-outline-variant:#d0c9bf;--font-brand:var(--font-display);--font-editorial:var(--font-display);--primary:var(--md-sys-color-primary);--on-primary:var(--md-sys-color-on-primary);--primary-container:var(--md-sys-color-primary-container);--on-primary-container:var(--md-sys-color-on-primary-container);--secondary-container:var(--md-sys-color-secondary-container);--on-secondary-container:var(--md-sys-color-on-secondary-container);--surface:var(--md-sys-color-surface);--surface-container-low:var(--md-sys-color-surface-container-low);--surface-container:var(--md-sys-color-surface-container);--surface-container-high:var(--md-sys-color-surface-container-high);--surface-container-highest:var(--md-sys-color-surface-container-highest);--on-surface:var(--md-sys-color-on-surface);--on-surface-variant:var(--md-sys-color-on-surface-variant);--outline:var(--md-sys-color-outline);--outline-variant:var(--md-sys-color-outline-variant)}html,body{background:var(--md-sys-color-background);color:var(--md-sys-color-on-background)}body,button,input,.tab,.search,.episode,.episode-title,.episode-dates,.season-tabs button{font-family:var(--font-ui)}.brand,.hero h1,.show-card h3,.dialog-head h2,.remote-result h3,.stats strong{font-family:var(--font-display)}.topbar{height:80px;padding:0 56px}.brand{font-size:28px;font-weight:800;line-height:1;letter-spacing:-.045em}.brand:hover{opacity:.8}.hero,.library{width:min(1320px,calc(100% - 64px));max-width:none;margin:0 auto;padding-left:0;padding-right:0}.hero{padding-top:82px;padding-bottom:40px}.hero h1{font-size:clamp(56px,5vw,78px);font-weight:800;line-height:1.02;letter-spacing:-.055em;color:var(--on-surface)}.hero .eyebrow{font-family:var(--font-ui);font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.08em;margin-bottom:15px}.stats{margin-top:30px;gap:14px}.stats div{min-width:180px;height:72px;padding:0 18px;border:1px solid var(--outline-variant);border-radius:16px;background:var(--surface-container-low);gap:10px;box-shadow:none}.stat-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:50%;background:var(--primary-container);color:var(--primary);font-style:normal}.stat-icon .material-symbols-rounded{font-size:22px}.stats strong{font-size:29px;font-weight:800;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.stats span{font-size:12px;font-weight:500;color:var(--on-surface-variant);white-space:nowrap}.controls{margin-top:4px;margin-bottom:26px;gap:20px}.tabs{gap:10px}.tab{height:40px;padding:0 18px;font-size:14px;font-weight:600;background:var(--md-sys-color-surface-container-lowest);color:var(--on-surface);border-color:var(--outline-variant)}.tab.active{background:var(--primary-container);color:var(--on-primary-container);font-weight:600}.search{width:270px;height:52px;padding:0 20px;gap:12px;background:var(--surface-container-high)}.search input{font-size:14px;font-weight:500}.search .material-symbols-rounded{font-size:20px}.top-actions{gap:8px}.top-actions .text-button{height:40px;padding:0 12px;font-size:14px;font-weight:600}.top-actions #addButton{height:44px;padding:0 20px;font-size:14px;font-weight:700}.top-actions #addButton .material-symbols-rounded{font-size:20px}.show-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}.show-card{border-radius:22px;background:var(--md-sys-color-surface-container-lowest);border:1px solid var(--outline-variant);box-shadow:0 1px 2px rgba(20,20,20,.04),0 8px 24px rgba(20,20,20,.035);transition:transform 180ms cubic-bezier(.2,0,0,1),box-shadow 180ms cubic-bezier(.2,0,0,1),background 180ms}.show-card:hover{transform:translateY(-3px);background:var(--surface-container-lowest);box-shadow:0 2px 4px rgba(20,20,20,.055),0 12px 30px rgba(20,20,20,.065)}.show-card:active{transform:scale(.985);transition-duration:120ms}.poster-frame,.poster{border-radius:21px 21px 0 0}.show-card:hover .poster{transform:scale(1.015)}.card-content{padding:18px;min-height:210px}.card-top h3,.show-card h3{font-family:var(--font-display);font-size:17px;font-weight:700;line-height:1.35;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{font-size:12px;font-weight:500;color:var(--on-surface-variant)}.next-episode{padding-top:14px;font-size:14px;font-weight:750;color:var(--primary)}.episode-name{margin-top:4px;font-family:var(--font-ui);font-size:14px;font-weight:500;line-height:1.45;min-height:2.9em;color:var(--on-surface-variant)}.card-airdate{margin-top:12px;font-family:var(--font-ui);font-size:12px;font-weight:450;color:var(--outline)}.progress-row{margin-top:auto;padding-top:16px;gap:12px;font-size:12px;font-weight:600}.progress-track{height:6px;background:var(--surface-container-highest)}.progress-fill{height:100%;background:var(--primary)}dialog,#showDialog{width:min(760px,calc(100vw - 48px));max-height:min(860px,calc(100vh - 48px));background:var(--surface-container-high)}.dialog-head h2{font-family:var(--font-display);font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.035em}.dialog-head #dialogMeta{font-size:13px;font-weight:700}.season-tabs button{height:58px;padding:8px 16px;font-size:14px;font-weight:700}.season-tabs small{font-size:11px;font-weight:500}.episode-list{max-height:calc(min(860px,100vh - 48px) - 202px);padding-left:16px}.episode{min-height:76px;grid-template-columns:48px minmax(0,1fr) 48px;padding:12px 24px;gap:8px}.episode+.episode:before{left:72px;right:24px}.episode-number{width:48px;font-family:var(--font-display);font-size:13px;font-weight:600}.episode-title{font-family:var(--font-ui);font-size:16px;font-weight:600;line-height:1.4}.episode-dates{font-size:12px;font-weight:500;margin-top:5px}.check{width:44px;height:44px}.check:before{width:34px;height:34px}.check .material-symbols-rounded{font-size:21px}.icon-button{width:44px;height:44px}.remote-search input{font-size:14px}.remote-result h3{font-family:var(--font-display);font-size:18px;font-weight:700}.no-results{font-size:15px;font-weight:500}@media(min-width:1351px){.show-grid{grid-template-columns:repeat(5,minmax(210px,1fr))}}@media(min-width:1100px) and (max-width:1350px){.show-grid{grid-template-columns:repeat(4,minmax(210px,1fr))}}@media(min-width:800px) and (max-width:1099px){.show-grid{grid-template-columns:repeat(3,minmax(210px,1fr))}.controls{flex-wrap:wrap}.search{margin-left:auto}}@media(max-width:799px){.topbar{height:72px;padding:0 20px}.brand{font-size:25px}.hero,.library{width:calc(100% - 32px)}.hero{padding-top:52px}.hero h1{font-size:clamp(52px,14vw,64px)}.stats{overflow-x:auto}.stats div{min-width:165px}.controls{flex-wrap:wrap}.tabs{width:100%;order:1}.search{width:100%;max-width:none;order:2}.show-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card-content{padding:15px;min-height:200px}.card-top h3,.show-card h3{font-size:16px}.episode{grid-template-columns:42px minmax(0,1fr) 44px;padding:11px 12px}.episode-title{font-size:15px}dialog,#showDialog{width:100%;max-height:92dvh}.episode-list{max-height:calc(92dvh - 202px)}}
