:root{color-scheme:dark;--bg:#0c1011;--side:#0a0e0f;--paper:#f5f3ee;--muted:#9ca9a0;--dim:#77877e;--line:#28332d;--accent:#d9fc86;--accent-ink:#172019;--panel:#1b2420;--border:#3d4b41;--red:#f18881;--serif:Georgia,'Times New Roman',serif;--sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:var(--sans);color:var(--paper);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button,select{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.shell{display:flex;min-height:100dvh}.sidebar{width:249px;flex:0 0 249px;min-height:100dvh;max-height:100dvh;overflow-y:auto;position:sticky;top:0;z-index:24;background:var(--side);border-right:1px solid #202924;padding:27px 14px 20px;display:flex;flex-direction:column}.brand{font-size:26px;font-weight:870;letter-spacing:-1.8px;display:flex;align-items:center;gap:10px;padding:0 7px;margin-bottom:32px}.brand-icon{width:38px;height:38px;display:grid;place-items:center;background:var(--accent);color:#17211a;border-radius:11px;font-size:28px;font:italic bold 27px var(--serif)}.brand-period{color:var(--accent)}.close-drawer{margin-left:auto;display:none}.side-caption,.side-heading{font-size:10px;text-transform:uppercase;letter-spacing:.18em;color:#65736b;font-weight:850;padding:0 10px;margin:8px 0 9px}.side-heading{display:flex;align-items:center;justify-content:space-between;margin-top:34px}.small-icon{background:transparent;border:0;color:#a2b0a5;font-size:15px;padding:3px;border-radius:6px}.small-icon:hover{color:var(--accent);background:#243028}.nav-stack{display:grid;gap:3px}.nav-item,.cat-item{display:flex;align-items:center;gap:11px;width:100%;min-height:37px;background:transparent;border:0;color:#a8b5a9;padding:11px 12px;border-radius:10px;text-align:left;font-size:12px;font-weight:660}.nav-item:hover,.cat-item:hover{background:#1a2720;color:white}.nav-item.active,.cat-item.active{background:#243228;color:var(--accent)}.nav-symbol{width:18px;text-align:center;font-size:15px}.nav-count{margin-left:auto;color:#839487;font-size:10px}.cat-item{padding:10px 11px;font-weight:520;font-size:12px;gap:10px}.cat-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--dot)}.cat-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-action{opacity:.65;flex:0 0 auto;background:none;border:0;color:#acbcb1;border-radius:5px;padding:2px 5px;line-height:1.2;font-size:18px}.cat-action:hover{background:#3a4a3d;opacity:1}.add-category{margin-top:6px;padding:10px 12px;font-size:12px;font-weight:700;background:none;border:0;text-align:left;color:var(--accent)}.add-category:hover{text-decoration:underline}.sidebar-spacer{flex:1;min-height:22px}.sidebar-link{display:flex;align-items:center;gap:11px;border:0;background:none;color:#9baba0;text-align:left;font-size:12px;padding:12px;border-radius:8px}.sidebar-link:hover{background:#202a23}.profile{border-top:1px solid #28332a;margin-top:12px;padding:17px 7px 0;display:flex;align-items:center;gap:10px}.avatar,.top-avatar{flex:0 0 34px;height:34px;width:34px;border-radius:50%;display:grid;place-items:center;background:#314435;color:#e0ffb1;font-size:12px;font-weight:850}.profile-text{min-width:0;flex:1}.profile-text strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-text small{display:block;color:#7c8b7f;font-size:10px;margin-top:5px;line-height:1.3}.profile-exit{background:none;border:0;font-size:20px;color:#9cac9e;padding:4px}.main{flex:1;min-width:0;max-width:1800px;margin:0 auto;padding:0 clamp(20px,4.1vw,56px) 65px}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;gap:14px}.top-left{color:#a0aea3;font-size:12px;white-space:nowrap}.top-left b{color:var(--paper)}.top-right{display:flex;align-items:center;gap:15px}.header-search{display:flex;align-items:center;gap:9px;width:clamp(180px,19vw,275px);height:39px;border-radius:40px;background:#1a2320;border:1px solid #28362e;color:#a2aba4;padding:0 13px}.header-search span{font-size:23px;line-height:0}.header-search input{min-width:0;width:100%;background:transparent;border:0;outline:none;color:white;font-size:11px}.header-search input::placeholder{color:#84928a}.sync-pill{display:flex;align-items:center;gap:7px;color:#c1c9bf;white-space:nowrap;font-size:11px}.sync-dot{height:7px;width:7px;background:#b6e381;border-radius:50%}.sync-pill.warn .sync-dot{background:#ffc16b}.sync-pill.error .sync-dot{background:#ff857e}.top-avatar{border:0;flex-basis:32px;width:32px;height:32px}.mobile-menu{display:none}.icon-button{border:0;background:transparent;color:#eef4e9;padding:7px 9px;border-radius:8px}.icon-button:hover{background:#2c392f}.hero{position:relative;min-height:300px;border-radius:18px;overflow:hidden;margin-top:0;background:radial-gradient(ellipse at 85% 32%,#752823 0,#321e23 38%,#101617 82%);border:1px solid #553c3a65;isolation:isolate}.hero-content{position:relative;z-index:2;max-width:610px;padding:39px 46px}.eyebrow{display:flex;gap:9px;align-items:center;color:#e0ffad;text-transform:uppercase;letter-spacing:.18em;font-size:9px;font-weight:850}.eyebrow:before{content:'';height:1px;width:22px;background:#d9fc86}.hero h1{font:normal clamp(44px,4.8vw,62px)/1.02 var(--serif);letter-spacing:-.07em;max-width:430px;margin:20px 0 15px}.hero h1 em{color:var(--accent);font-style:italic}.hero p{font-size:12px;line-height:1.6;color:#d5d7d0;max-width:365px;margin:0 0 20px}.hero-action,.accent-button{border:0;border-radius:40px;background:var(--accent);color:var(--accent-ink);font-weight:850;font-size:12px;padding:13px 19px}.hero-action:hover,.accent-button:hover{background:#e8ffab}.hero-action span{margin-left:7px}.hero-illustration{position:absolute;inset:0 0 0 49%;z-index:1;overflow:hidden;pointer-events:none}.sun{position:absolute;top:-20%;right:-16%;width:90%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#ee5b3d 0 59%,#d74c35 60% 67%,transparent 67%);transform:rotate(-14deg)}.sun-hole{position:absolute;right:12%;top:28%;width:21%;aspect-ratio:1;border-radius:50%;background:#1a1920;transform:rotate(15deg)}.sun-ray{position:absolute;z-index:1;background:#16171e;width:80%;height:10px;right:-12%;top:35%;transform-origin:50% 50%;transform:rotate(16deg)}.ray-two{transform:rotate(44deg);top:62%}.ray-three{transform:rotate(-22deg);top:55%}.ray-four{transform:rotate(-56deg);top:27%}.ray-five{transform:rotate(81deg);top:60%}.ray-six{transform:rotate(122deg);top:32%}.beam{position:absolute;z-index:4;right:-1%;top:69%;width:72%;height:15px;background:#e2baa8;transform:rotate(-35deg);box-shadow:0 2px 8px #0007}.ridge{position:absolute;z-index:3;bottom:-3px;right:0;width:70%;height:61%;background:#151722;clip-path:polygon(0 100%,24% 27%,45% 57%,65% 21%,100% 90%,100% 100%)}.hero-feature{position:absolute;right:26px;bottom:24px;z-index:5;min-width:190px;padding:13px 16px;background:#141519de;border:1px solid #ffffff30;border-radius:11px;backdrop-filter:blur(8px)}.hero-feature small{display:block;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.09em}.hero-feature strong{display:block;font-size:13px;margin:8px 0 4px;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-feature span{color:#f4e09b;font-size:14px;font-weight:850}.section-top{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:34px 0 18px}.kicker{font-size:9px;letter-spacing:.19em;font-weight:850;text-transform:uppercase;color:#b1c3b1;margin-bottom:9px}.section-top h2{font:normal clamp(28px,3vw,36px)/1.12 var(--serif);letter-spacing:-.052em;margin:0}.section-top h2 em{color:var(--accent);font-style:normal}.section-subtitle{font-size:11px;color:#7b8b81;margin:8px 0 0}.section-actions{display:flex;gap:9px;align-items:center}.outline-button{border-radius:30px;background:#1d2923;border:1px solid #354239;font-weight:750;font-size:11px;padding:12px 16px}.outline-button:hover{background:#2b3b2f}.filters{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid #26312a;margin-bottom:18px}.filter-pills{display:flex;gap:8px;overflow:auto;scrollbar-width:none}.filter-pills::-webkit-scrollbar{display:none}.pill{white-space:nowrap;background:#18221e;border:1px solid #2c3930;border-radius:30px;color:#a7b8a8;padding:9px 13px;font-size:11px;font-weight:740}.pill.active{background:#e8ffc3;color:#1a291d;border-color:#e8ffc3}.sort-box select{border:0;background:var(--bg);outline:none;font-size:11px;color:#c2d0c1;padding:8px;cursor:pointer}.sort-box select option{background:#26312b;color:#fff}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 16px}.media-card{min-width:0;cursor:pointer}.poster{position:relative;border-radius:12px;aspect-ratio:.70;background:linear-gradient(140deg,#324138,#141b28);overflow:hidden;border:1px solid #ffffff0d;box-shadow:0 9px 22px #0004}.poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.poster-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:#f3eccb;font:bold clamp(15px,2vw,24px)/1.1 var(--serif);background:radial-gradient(circle at 80% 5%,#a76b5e 0,transparent 38%),linear-gradient(145deg,#28383a,#111e26)}.poster:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0008,transparent 30%,transparent 64%,#0007)}.rating-badge{position:absolute;z-index:2;top:9px;right:9px;background:#121914e8;border:1px solid #ffffff15;border-radius:8px;color:#f9e9b6;font-size:11px;font-weight:800;padding:7px 8px;max-width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poster-status{position:absolute;z-index:2;bottom:10px;left:12px;color:white;text-transform:uppercase;font-size:9px;font-weight:840;letter-spacing:.08em;text-shadow:0 2px 5px #000}.card-bottom{display:flex;gap:7px;justify-content:space-between;align-items:flex-start;margin-top:10px}.card-bottom strong{font-size:12px;line-height:1.35;font-weight:780}.card-bottom p{font-size:10px;color:#7c8e80;line-height:1.4;margin:5px 0 0}.card-edit{flex:0 0 auto;border:1px solid #344339;background:#1c2921;border-radius:7px;font-size:12px;color:#b4c4b3;padding:5px 7px}.card-edit:hover{color:white;background:#384c3d}.media-card:hover .poster{outline:1px solid #789762;transform:translateY(-2px);transition:transform .15s}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:55px 24px 62px;background:linear-gradient(145deg,#171e1b,#101716);border:1px dashed #3a4b3d;border-radius:17px;text-align:center}.empty-symbol{font-size:47px;color:var(--accent)}.empty-state h3{font:normal 29px var(--serif);margin:16px 0 8px}.empty-state p{color:#9eafa0;font-size:12px;max-width:350px;line-height:1.55}.empty-state button{margin-top:12px}.footer{border-top:1px solid #26342b;margin-top:37px;padding:20px 0;color:#768679;font-size:10px}.footer a{color:#91ad87;text-decoration:none}.footer a:hover{text-decoration:underline}.drawer-scrim{position:fixed;inset:0;background:#000b;z-index:22}.modal-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:18px;background:#000b;backdrop-filter:blur(4px)}.modal{width:min(570px,100%);max-height:min(90dvh,900px);overflow-y:auto;border:1px solid #405347;background:#1c2721;border-radius:20px;box-shadow:0 26px 110px #000b;padding:27px}.modal:has(.wide-body){width:min(650px,100%)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:21px}.modal-kicker{font-size:10px;text-transform:uppercase;color:var(--accent);letter-spacing:.19em;font-weight:800;margin-bottom:7px}.modal h2{margin:0;font:normal 31px/1.05 var(--serif);letter-spacing:-.045em}.modal-head p{margin:8px 0 0;color:#a5b4a8;font-size:12px;line-height:1.6}.close-modal{border:1px solid #3b4d42;background:#29382e;flex:0 0 auto}.form-label{display:block;font-size:11px;font-weight:800;color:#e2ece0;margin:16px 0 7px}.input,.select,.textarea{width:100%;min-width:0;background:#101913;color:#fff;border:1px solid #435247;border-radius:10px;padding:12px 12px;font-size:12px}.input::placeholder,.textarea::placeholder{color:#809486}.textarea{min-height:88px;resize:vertical;line-height:1.5}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:23px}.left-actions,.right-actions{display:flex;gap:8px;align-items:center}.danger-button{border:1px solid #aa5e5a;background:#4d2728;color:#ffc7be;border-radius:30px;padding:11px 15px;font-size:12px;font-weight:800}.secondary-button{border:1px solid #3c4d40;background:#2a3a2e;border-radius:30px;padding:11px 15px;font-size:12px;font-weight:750}.danger-button:hover{background:#672f31}.secondary-button:hover{background:#39503c}.help{font-size:11px;color:#92a599;line-height:1.6;margin-top:7px}.error-text{color:#ffaaa1;font-size:12px;line-height:1.5}.category-checks{display:flex;flex-wrap:wrap;gap:8px}.category-check{position:relative;display:flex;align-items:center;gap:7px;padding:9px 11px;border-radius:22px;background:#152019;border:1px solid #3a493e;color:#bccbbd;font-size:11px;cursor:pointer}.category-check input{accent-color:#d9fc86;width:14px;height:14px}.category-check:has(input:checked){background:#2a402d;border-color:#9ac979;color:#f7fff1}.tiny-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:11px 0}.text-button{color:var(--accent);background:transparent;border:0;padding:4px;font-size:11px;font-weight:750;text-decoration:underline;text-underline-offset:3px}.search-results{display:grid;gap:2px;max-height:270px;overflow-y:auto;border:1px solid #3a4b40;border-radius:10px;background:#101b15;margin-top:8px}.tmdb-result{border:0;border-bottom:1px solid #29382d;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:9px;color:#f4f5f1}.tmdb-result:hover{background:#27392b}.tmdb-result img,.result-placeholder{height:55px;width:39px;object-fit:cover;background:#3b4c3e;border-radius:5px;flex:0 0 39px}.result-placeholder{display:grid;place-items:center;font-size:19px}.tmdb-result strong{display:block;font-size:12px}.tmdb-result small{display:block;color:#a7baaa;font-size:10px;margin-top:4px}.selected-result{display:flex;align-items:center;gap:12px;background:#28382c;border:1px solid #57754f;border-radius:12px;padding:10px 12px;margin-top:12px}.selected-result img{width:45px;height:64px;object-fit:cover;border-radius:4px}.selected-result strong{display:block;font-size:12px}.selected-result small{display:block;color:#a7baaa;font-size:10px;margin-top:6px}.color-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.color-choice{height:27px;width:27px;border-radius:50%;border:2px solid transparent;background:var(--choice)}.color-choice.active{outline:2px solid white;outline-offset:2px}.manage-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #334338;padding:11px 0}.manage-row .cat-dot{height:11px;width:11px;flex-basis:11px}.manage-row span:nth-child(2){flex:1;font-size:12px;min-width:0;word-break:break-word}.manage-row small{color:#809888}.manage-row button{font-size:11px;padding:7px 10px}.callout{border:1px solid #466045;border-radius:12px;background:#17261a;padding:13px 15px;font-size:11px;color:#afc0ad;line-height:1.7;margin:10px 0}.callout strong{color:var(--paper)}.tmdb-logo{max-width:125px;height:auto;display:block;margin:12px 0}.credits p,.backup-ui p{color:#b0c0b3;font-size:12px;line-height:1.7}.credits a{color:#d9fc86}.auth-container .input{margin-top:7px}.auth-container .form-actions{flex-wrap:wrap}.toast-stack{position:fixed;z-index:100;bottom:22px;right:22px;display:grid;gap:9px;max-width:min(420px,calc(100vw - 44px))}.toast{border:1px solid #536d51;background:#203328;color:#f7fff0;box-shadow:0 10px 28px #0008;padding:13px 17px;border-radius:12px;font-size:12px;line-height:1.5}.toast.error{background:#442629;border-color:#9a5050}.toast.warn{background:#3e3526;border-color:#9f7d40}.spinner{display:inline-block;vertical-align:middle;height:12px;width:12px;border-radius:50%;border:2px solid #536c55;border-top-color:#d9fc86;animation:spin .7s linear infinite;margin-right:6px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1250px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-feature{right:16px;bottom:16px}}
@media(max-width:1000px){.sidebar{width:218px;flex-basis:218px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.section-top{align-items:flex-start}.header-search{width:190px}}
@media(max-width:760px){.sidebar{position:fixed;left:0;top:0;bottom:0;max-height:100dvh;height:100dvh;transform:translateX(-105%);transition:transform .22s ease;box-shadow:12px 0 40px #0007;width:min(290px,82vw);z-index:30}.sidebar.open{transform:translateX(0)}.close-drawer,.mobile-menu{display:block}.main{padding:0 19px 65px}.topbar{height:69px}.hero{min-height:290px}.hero-content{padding:33px 28px}.hero-illustration{inset:0 0 0 28%;opacity:.67}.hero h1{font-size:47px;max-width:270px}.hero p{max-width:310px}.hero-feature{right:13px;bottom:11px;min-width:132px;max-width:160px;padding:9px}.hero-feature small{font-size:7px}.hero-feature strong{font-size:10px}.hero-feature span{font-size:11px}.section-actions{margin-top:8px}.section-top{flex-wrap:wrap}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.card-bottom strong{font-size:11px}.sort-box select{max-width:133px}.modal{padding:22px}.sync-pill{font-size:10px}}
@media(max-width:490px){.main{padding:0 14px 55px}.top-left{font-size:11px}.top-right{gap:8px}.header-search{width:39px;height:35px;cursor:pointer;transition:width .15s}.header-search input{opacity:0}.header-search.expanded,.header-search:focus-within{position:absolute;left:54px;right:52px;width:auto;z-index:10;box-shadow:0 0 0 8px var(--bg)}.header-search.expanded input,.header-search:focus-within input{opacity:1}.top-avatar{display:none}.sync-pill{max-width:95px;overflow:hidden}.hero{min-height:310px;border-radius:16px}.hero-content{padding:30px 23px}.hero h1{font-size:48px;max-width:260px}.hero p{font-size:11px;max-width:260px}.hero-illustration{inset:0 0 0 23%;opacity:.6}.hero-feature{bottom:11px;right:10px}.section-top{margin-top:26px}.section-top h2{font-size:30px}.section-actions{width:100%}.section-actions>*{flex:1;padding:11px 12px}.filters{align-items:start}.filter-pills{max-width:100%;flex:1}.sort-box{align-self:center}.sort-box select{max-width:105px;font-size:10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.form-two{grid-template-columns:1fr}.modal{max-height:93dvh;padding:20px 17px}.form-actions{flex-wrap:wrap}.form-actions>*{flex-wrap:wrap}.hero-feature{max-width:123px}.footer{font-size:10px}.empty-state{padding:45px 14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
