@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#111412;--surface:#1b1f1c;--line:#303730;--muted:#9ba59b;--accent:#d5fa65}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f2f4ed;font:16px 'Manrope',sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{border:0}header{height:100px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:40px;padding:0 5vw}.brand{font-size:38px;letter-spacing:-2px;font-weight:800;text-decoration:none;color:#fff}.brand span{color:var(--accent);font-size:16px;margin-left:3px}.header-note{color:var(--muted);font-size:14px}.profile{margin-left:auto;background:none;color:#d7ddd4;font-size:14px}.profile span{margin-left:12px;color:var(--accent)}main{max-width:1192px;margin:0 auto;padding:65px 32px 24px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:46px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--accent);font-weight:700}h1{font-size:clamp(28px,4vw,42px);line-height:1.2;letter-spacing:-1.7px;margin:14px 0}p{color:var(--muted);line-height:1.7;margin:8px 0}.primary{background:var(--accent);color:#1b2410;border-radius:9px;padding:15px 22px;font-weight:800;font-size:14px;white-space:nowrap}.primary:hover{background:#e4ff94}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}nav{display:flex;gap:28px}.tab{background:none;color:var(--muted);padding:0 0 20px;border-bottom:2px solid transparent;font-size:14px;white-space:nowrap}.tab.active{color:var(--accent);border-color:var(--accent)}.count{font-size:12px;background:#292f29;padding:2px 7px;border-radius:5px;margin-left:7px;color:#adb5aa}.search{display:flex;align-items:center;gap:10px;padding-bottom:18px;color:var(--muted)}.search span{font-size:26px}.search input{width:190px;border:0;background:none;color:#fff;font-size:14px;outline-offset:2px}.list-label{display:flex;justify-content:space-between;color:#7e897e;font-size:11px;letter-spacing:1.6px;margin:28px 0 14px}.show{display:grid;grid-template-columns:82px 1fr 230px;gap:26px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line)}.cover{height:112px;width:82px;border-radius:6px;background:var(--cover);display:flex;align-items:flex-end;padding:10px;color:white;font-size:12px;font-weight:800;letter-spacing:1px;line-height:1.25;overflow:hidden;border:1px solid #ffffff18;text-align:left}.cover small{writing-mode:vertical-rl;letter-spacing:4px;font-size:14px}.title-button{padding:0;background:none;color:#f2f4ed;text-align:left;font-weight:700;font-size:21px;letter-spacing:-.5px}.title-button:hover{color:var(--accent)}.meta{font-size:12px;color:var(--muted);margin-top:7px}.next{margin-top:18px;font-size:14px;color:#d9dfd4}.next span{color:#838e81;margin-left:10px}.progress-info{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin-bottom:10px}.bar{height:3px;background:#343c32;border-radius:5px;margin-bottom:18px}.bar b{display:block;height:100%;background:var(--accent);border-radius:5px}.watch{width:100%;padding:11px;border-radius:7px;border:1px solid #46513c;background:#252e20;color:var(--accent);font-size:14px;font-weight:700}.watch:hover{background:#354429}footer{display:flex;justify-content:space-between;gap:20px;margin-top:32px;color:#73806f;font-size:11px;letter-spacing:.5px}footer i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-right:7px}dialog{background:var(--surface);color:#f2f4ed;border:1px solid #40483d;border-radius:16px;padding:30px;width:min(620px,calc(100% - 32px));max-height:85vh}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}h2{font-size:26px;letter-spacing:-1px;margin:8px 0 20px}.icon{font-size:27px;background:none;color:var(--muted);padding:0 6px}.catalog-search{background:var(--bg);border:1px solid var(--line);padding:14px;border-radius:8px;width:100%;margin:8px 0 16px}.catalog-item{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.catalog-item button,.subtle{padding:9px 12px;border-radius:6px;background:#303a29;color:var(--accent);font-size:14px}.catalog-item button:disabled{color:var(--muted);cursor:default}.hint{font-size:12px;margin-top:20px}.detail-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0}select{background:#272e26;color:#fff;padding:10px;border:1px solid #485044;border-radius:6px;font-size:14px}.episode{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.episode input{width:20px;height:20px;accent-color:var(--accent)}.episode span{color:var(--muted);font-size:12px;margin-left:auto}.empty{padding:64px 0;text-align:center}.empty h2{margin-bottom:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#e1f4c5;color:#182011;border-radius:9px;padding:14px 20px;display:none;box-shadow:0 8px 32px #0005;max-width:calc(100% - 24px);width:max-content;font-size:14px;z-index:10}#toast button{background:none;text-decoration:underline;font-weight:700;color:inherit;margin-left:15px}@media(min-width:1400px){main{padding-top:80px}}@media(max-width:760px){header{height:76px;padding:0 22px}.header-note{display:none}main{padding:36px 22px 20px}.heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:32px}h1{letter-spacing:-1px}.heading p{font-size:14px}.toolbar{align-items:stretch;flex-direction:column;gap:10px}nav{gap:22px}.tab{padding-bottom:14px}.search{padding-bottom:12px}.search input{width:100%}.list-label span:last-child{display:none}.show{grid-template-columns:64px 1fr;gap:16px;padding:24px 0}.cover{width:64px;height:92px;font-size:10px}.title-button{font-size:18px}.next{font-size:13px;margin-top:12px}.next span{display:block;margin:4px 0 0}.progress-block{grid-column:2}.bar{margin-bottom:12px}.progress-info{margin-top:0}footer{flex-direction:column;gap:12px}.detail-controls{flex-wrap:wrap}dialog{padding:22px}.profile{font-size:12px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,color .15s}.show{animation:appear .25s ease}@keyframes appear{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}}
.cover{overflow-wrap:anywhere}
.language-switch{display:flex;gap:2px;margin-left:auto;padding:3px;border:1px solid var(--line);border-radius:8px}.language-switch button{background:none;color:var(--muted);font-size:12px;font-weight:700;border-radius:5px;padding:7px 9px}.language-switch button[aria-pressed="true"]{color:var(--accent);background:#2b3325}.profile{margin-left:0}header{gap:24px}@media(max-width:760px){header{gap:12px}.language-switch button{padding:7px}.profile{max-width:100px;text-align:right}.profile span:last-child{margin-left:4px}}
.cover{position:relative}.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.result-poster{width:56px;height:84px;object-fit:cover;border-radius:5px;flex-shrink:0}.poster-empty{background:#2b3428;display:flex;align-items:center;justify-content:center;color:var(--accent)}.result-info{flex:1;min-width:0}.result-overview{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.detail-summary{display:flex;gap:20px;align-items:flex-start}.detail-summary .result-poster{width:96px;height:144px}.detail-summary p{font-size:14px;margin:0}.tmdb-link,.tmdb-credit a{color:var(--accent);display:inline-block;margin-top:20px}.tmdb-credit p{font-size:12px}.episode>div{min-width:0}.episode input{flex-shrink:0}.episode:has(input:disabled){opacity:.55}#connection-status{margin:-22px 0 28px}@media(max-width:760px){.catalog-item{gap:12px}.catalog-item button{padding:8px;font-size:12px}.detail-summary{gap:14px}.detail-summary .result-poster{width:65px;height:98px}}
/* Compact collection: keep the next action close to the show, without a hero. */
header{height:72px;padding:0 max(24px,calc((100vw - 1192px)/2 + 32px))}.brand{font-size:32px}main{padding-top:30px}.heading{margin-bottom:26px;gap:20px}h1{font-size:30px;letter-spacing:-1px;margin:0}.primary{padding:12px 18px}.toolbar{margin-bottom:8px}.tab{padding-bottom:14px}.search{padding-bottom:12px}.show{grid-template-columns:60px minmax(0,1fr) 210px 36px;gap:18px;padding:16px 0}.cover{width:60px;height:86px;font-size:10px;padding:7px}.show>div{min-width:0}.title-button{font-size:18px}.meta{margin-top:5px;line-height:1.5}.next{margin-top:9px;font-size:14px}.next span{display:none}.progress-info{margin-bottom:7px}.bar{margin-bottom:10px}.watch{min-height:40px;padding:9px 10px}.remove-show{display:flex;align-items:center;justify-content:center;width:36px;min-height:40px;border-radius:7px;color:var(--muted);background:transparent}.remove-show:hover,.remove-text:hover{color:#ffb1a7;background:#3b2625}.remove-text{background:transparent;color:#e7a298;padding:10px 12px;border-radius:7px;font-size:14px}.detail-footer{display:flex;justify-content:flex-end;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}footer{margin-top:22px;font-size:12px}#connection-status{margin:0 0 20px}#connection-status[hidden]{display:none}.show .meta{font-size:13px}#toast button{min-height:32px}#toast{padding:10px 16px}
@media(max-width:760px){header{height:66px;padding:0 18px}main{padding:24px 18px 20px}.heading{flex-direction:row;align-items:center;gap:12px;margin-bottom:24px}h1{font-size:25px}.primary{font-size:13px;padding:11px 12px}.toolbar{gap:12px}nav{gap:18px}.tab{font-size:14px}.search{padding:0 10px 10px 0}.show{grid-template-columns:52px minmax(0,1fr) 36px;column-gap:12px;row-gap:10px;padding:16px 0}.cover{width:52px;height:76px;grid-row:1}.show>div:nth-child(2){grid-column:2;grid-row:1}.remove-show{grid-column:3;grid-row:1;align-self:start}.progress-block{grid-column:2 / 4;grid-row:2;display:grid;grid-template-columns:1fr;gap:0}.title-button{font-size:17px}.show .meta{font-size:12px}.next{font-size:14px;margin-top:7px}.progress-info{font-size:12px}.watch{min-height:42px}.language-switch button{min-height:32px}.profile{font-size:12px}.detail-footer{justify-content:stretch}.remove-text{width:100%;min-height:44px}}
@media(max-width:360px){.heading{align-items:stretch;flex-direction:column}.primary{align-self:flex-start}nav{gap:10px}.count{margin-left:4px}.profile{max-width:80px}}
/* A little personality without returning to a tall introduction. */
.collection-note{font-size:14px;line-height:1.5;margin:8px 0 0;color:var(--muted)}.header-note{font-size:13px;white-space:nowrap}.footer-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.footer-links a,.footer-links button{font:inherit;color:var(--muted);background:none;border:0;padding:0;text-decoration:none}.footer-links a:hover,.footer-links button:hover{color:var(--accent)}.footer-links button{cursor:pointer}#catalog .hint a{color:var(--accent);text-decoration:none}.tmdb-credit img{display:block;width:120px;height:auto}.tmdb-credit p{font-size:14px}.tmdb-credit a{font-size:14px}.tmdb-credit{margin-top:8px}@media(max-width:1000px){.header-note{display:none}}@media(max-width:760px){.heading{flex-wrap:wrap}.heading>div{flex:1 1 100%}.heading .primary{align-self:flex-start}.collection-note{font-size:14px}.footer-links{gap:16px}.footer-links a,.footer-links button{min-height:32px;display:inline-flex;align-items:center}}
/* Mira's star: a quiet signature, shared by the wordmark and favicon. */
.brand{display:inline-flex;align-items:baseline;gap:3px}.brand-star{width:17px;height:17px;color:var(--accent);flex-shrink:0;align-self:center;margin-top:8px}.brand:hover .brand-star{color:#ecffb2}
#account-dialog{max-width:480px}.account-close{display:flex;justify-content:flex-end}.account-email{overflow-wrap:anywhere;color:#edf3e7}#account-dialog form{display:grid;gap:14px;margin:24px 0}#account-dialog input[type=email]{width:100%;background:var(--bg);color:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit}#account-dialog label{font-size:14px}.account-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-top:28px}.confirm-delete{display:flex;align-items:flex-start;gap:10px}.confirm-delete input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0}#account-message{font-size:14px}#import-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#222b1d;border:1px solid #3e4b30;border-radius:9px;padding:14px 16px;margin-bottom:24px;font-size:14px}#import-banner[hidden]{display:none}#import-banner>div{display:flex;gap:12px}.quiet{background:none;color:var(--muted);font-size:14px;padding:8px}.mutating [data-watch],.mutating [data-remove],.mutating [data-tmdb-add],.mutating [data-remote-season],.mutating [data-resume],.mutating #pause,.mutating [data-episode]{opacity:.55;cursor:wait}@media(max-width:760px){#import-banner{align-items:flex-start;flex-direction:column}.account-actions>*{min-height:44px}}
