:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#eeedf5;background:#0c0e16;font-synthesis:none;--bg:#0c0e16;--surface:#13151f;--border:#242633;--muted:#8c8e9e;--purple:#a88aff;--accent:#9471f4}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--purple)}input:focus,select:focus,textarea:focus{outline:1px solid var(--purple)}button{color:inherit}::selection{background:#8261d9;color:#fff}.skip{position:fixed;top:-100px;background:var(--accent);padding:12px;z-index:20}.skip:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#10121a;border-right:1px solid #20222d;display:flex;flex-direction:column;padding:35px 20px 20px;z-index:3}.logo{font-size:26px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:0;margin:0 12px 48px}.logo>span:not(.logo-icon){font-weight:450;color:var(--purple)}.logo-icon{font-size:18px;line-height:34px;width:34px;height:34px;text-align:center;background:#9471f4;border-radius:10px;margin-right:10px;letter-spacing:-3px;padding-right:3px;box-shadow:0 4px 22px #9471f429}.logo i{color:var(--muted);font-size:10px;border:1px solid #363344;border-radius:4px;padding:0 4px;margin-left:8px;align-self:flex-start;margin-top:2px;font-weight:400;font-style:normal;letter-spacing:0}.sidebar-label{color:#656779;font-size:9px;font-weight:600;letter-spacing:1.8px;padding:0 16px}.sidebar nav{display:grid;gap:7px;margin-top:12px}.nav-item{border:0;background:none;text-align:left;display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;border-radius:8px;color:#999bab;font-size:12px;font-weight:500}.nav-item>span{font-size:20px;width:20px;text-align:center;line-height:1}.nav-item:hover{background:#1b1d29;color:#fff}.nav-item.active{background:#252036;color:#bdabfa}.nav-item small{margin-left:auto;background:#39304d;padding:1px 7px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:50px}.mini-card{margin:0 6px 22px;padding:18px;background:linear-gradient(120deg,#242034,#171824);border:1px solid #383048;border-radius:9px;position:relative;overflow:hidden}.mini-card>span:first-child{font-size:12px;font-weight:600}.mini-card p{font-size:10px;color:#a19bab;line-height:1.8}.mini-art{position:absolute;right:13px;bottom:10px;font-size:65px;color:#8168b644;transform:rotate(-20deg)}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--border);padding:20px 8px 0;margin-top:15px}.avatar{background:#292334;color:#c9b4ff;border:1px solid #433455;display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;font-size:13px;font-weight:600}.profile strong,.profile small{display:block}.profile strong{font-size:11px;font-weight:500}.profile small{color:#76798a;font-size:8px;margin-top:3px}.workspace{margin-left:232px}.topbar{height:82px;display:flex;justify-content:space-between;align-items:center;padding:0 4.5%;border-bottom:1px solid #1d1f2a;gap:20px}.breadcrumb{font-size:11px;color:#c5c3cf}.breadcrumb>span{padding:0 12px;color:#4b4d60}.top-actions{display:flex;gap:10px;align-items:center}.button{background:#9270f0;color:#fff;border:1px solid #ab8bff66;padding:12px 20px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:8px;transition:background .15s,transform .15s}.button:hover{background:#a086f6;transform:translateY(-1px)}.button.ghost{background:transparent;border-color:#343342;color:#cbc6dc}.button.ghost:hover{background:#242030}.button.small{padding:9px 13px;font-size:10px;border-radius:6px}.button.full{width:100%}.local-badge{font-size:9px;color:#c5ac7b;background:#3a3021;border-radius:4px;padding:4px 7px}main{max-width:1500px;margin:auto;padding:40px 4.5% 65px;min-height:calc(100svh - 150px)}.heading{margin-bottom:27px}.heading .eyebrow{font-size:9px;letter-spacing:1.5px;color:#8c80aa;margin:0 0 10px}.heading h1{font-size:clamp(25px,2.5vw,38px);line-height:1.25;letter-spacing:-1.25px;font-weight:650;margin:0 0 10px}.heading h1 em{font-style:normal;color:#b29aef}.heading p{color:var(--muted);font-size:12px;margin:0}.heading.flex{display:flex;justify-content:space-between;align-items:center;gap:20px}.hero{background:radial-gradient(ellipse at 80% 40%,#59417b55,transparent 65%),linear-gradient(120deg,#201c32,#1c192d 60%,#191c2a);border:1px solid #3f3456;border-radius:14px;min-height:285px;overflow:hidden;position:relative;display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.hero-copy{z-index:1;padding:35px}.tag{font-size:8px;letter-spacing:1px;color:#c2b2dd;border:1px solid #68517d7a;border-radius:4px;padding:5px 8px;background:#77608716}.hero h2{font-size:clamp(27px,3vw,43px);font-weight:650;line-height:1.2;letter-spacing:-1.3px;margin:22px 0 14px}.hero p{font-size:12px;line-height:1.8;color:#a6a0b4;margin-bottom:24px}.hero-note{display:block;color:#81788f;font-size:9px;margin-top:14px}.hero-art{width:38%;height:285px;min-width:260px;position:relative;margin-right:25px;flex-shrink:0}.orbit{border:1px solid #8d6cba33;width:340px;height:340px;border-radius:50%;position:absolute;top:-20px;left:-5px}.orbit:after{content:"";position:absolute;inset:25px;border:1px solid #8d6cba22;border-radius:50%}.hero-jp{position:absolute;right:0;top:40px;color:#b293de17;font-size:90px;font-weight:800;writing-mode:vertical-rl;letter-spacing:15px}.book{position:absolute;width:132px;height:190px;border-radius:5px 12px 12px 5px;border-left:7px solid #181925;box-shadow:5px 15px 40px #070a1270;display:flex;flex-direction:column;justify-content:space-between;padding:16px;overflow:hidden}.book:before{content:"";position:absolute;width:150px;height:150px;border:20px solid #ffffff18;border-radius:50%;top:55px;left:25px}.book>span{font-size:9px;letter-spacing:4px}.book strong{position:relative;font-size:20px;line-height:1.15;letter-spacing:-1px}.book i{font-style:normal;font-size:9px}.book-a{left:15px;top:47px;transform:rotate(-14deg);background:linear-gradient(145deg,#6470a2,#333c65);color:#e0e5f8;z-index:1}.book-b{left:143px;top:32px;transform:rotate(12deg);background:linear-gradient(145deg,#ae7c6f,#6d4558);color:#fae8db}.floating-note{position:absolute;bottom:20px;left:30px;background:#252034e6;border:1px solid #6e5a8c;border-radius:8px;padding:9px 12px;color:#dbcaf4;font-size:9px;z-index:2;transform:rotate(-4deg)}.section-head{display:flex;justify-content:space-between;align-items:center;margin:32px 0 20px;gap:20px}.section-head h2{font-size:18px;letter-spacing:-.5px;margin:0;font-weight:600}.section-head h2>span{color:#a790d4;font-size:13px;padding-left:8px}.section-head p{font-size:11px;color:var(--muted);margin:6px 0 0}.text-button{border:0;background:none;color:#aa95da;font-size:11px;padding:8px 0}.text-button:hover{text-decoration:underline;color:#d3baff}.segmented{display:inline-flex;background:#141620;border:1px solid #282a36;border-radius:7px;padding:3px;gap:3px}.segmented button{background:none;border:0;color:#9093a5;font-size:10px;padding:7px 15px;border-radius:5px}.segmented button.selected{background:#30273f;color:#ceb5ff}.search{display:flex;align-items:center;gap:12px;padding:7px 9px 7px 16px;border:1px solid #2a2d3b;border-radius:9px;background:#13151f;margin-bottom:16px}.search>span{font-size:25px;color:#767789}.search input{flex:1;min-width:0;border:0;background:none;color:#fff;outline:none;font-size:12px}.search input::placeholder{color:#686b7e}.catalog-message{font-size:11px;color:#bfa97d;margin:12px 0}.poster-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:25px 18px}.poster{position:relative;width:100%;padding:0;border:0;background:#20202b;aspect-ratio:2/2.85;border-radius:8px;overflow:hidden;display:block}.poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.poster:hover img{transform:scale(1.04)}.poster-type{position:absolute;top:8px;left:8px;font-size:7px;letter-spacing:.7px;background:#10121bca;border:1px solid #ffffff22;border-radius:3px;padding:3px 5px}.poster-add{position:absolute;inset:auto 0 0;background:linear-gradient(0deg,#0c0e16ee,#0c0e1655);padding:25px 5px 10px;font-size:9px;color:#fff;opacity:0;transition:opacity .2s}.poster:hover .poster-add,.poster:focus-visible .poster-add{opacity:1}.poster-caption h3{font-size:11px;line-height:1.4;margin:10px 0 5px;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:30px}.poster-caption p{font-size:8px;color:#76798c;margin:0}.poster-caption p>span{padding:0 3px}.poster-caption strong{color:#c0a376;display:block;font-size:9px;margin-top:6px;font-weight:500}.catalog-bottom{display:flex;justify-content:space-between;align-items:center;margin:25px 0}.cover-placeholder{width:100%;height:100%;background:linear-gradient(140deg,#51415d,#202237);padding:20px;color:#d1c2df;display:flex;flex-direction:column;justify-content:space-between;text-align:left}.cover-placeholder>span{font-size:30px;opacity:.4}.cover-placeholder>strong{font-size:12px}.continue-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.continue-card{display:flex;align-items:center;gap:14px;background:#161823;padding:12px;border:1px solid #2b2b3b;border-radius:10px;min-width:0}.continue-card>img,.continue-card>.cover-placeholder{width:55px;height:78px;object-fit:cover;border-radius:5px;flex-shrink:0;padding:5px}.continue-card>div:not(.cover-placeholder){flex:1;min-width:0}.continue-card small{font-size:7px;letter-spacing:1px;color:#a58acb}.continue-card h3{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0}.continue-card p{color:#8d8b9d;font-size:9px;margin:0 0 9px}.increment{background:#292334;border:1px solid #4b3b61;color:#c7aff3;padding:6px 10px;min-width:32px;border-radius:6px;font-size:11px}.increment:hover{background:#423156}.progress{height:3px;border-radius:5px;background:#33303e;overflow:hidden}.progress i{display:block;height:100%;background:#a185e0}.notice{padding:14px 17px;border:1px solid #594e31;border-radius:8px;color:#c4b897;background:#29251b55;font-size:11px;line-height:1.75;margin:20px 0}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #2a2938;border-radius:12px;background:#13151f;margin:28px 0}.stats-strip>div{padding:22px;border-right:1px solid #2a2938}.stats-strip>div:last-child{border:0}.stats-strip strong{display:block;font-size:28px;font-weight:600}.stats-strip span{font-size:10px;color:#9290a4}.library-tools{display:flex;gap:15px;align-items:center;margin-bottom:20px}.library-tools>input{margin-left:auto}.library-tools input,.library-tools select{font-size:10px;padding:10px 12px;border:1px solid #2b2b3d;background:#141620;border-radius:6px;color:#c9c6d6;min-width:0}.status-tabs{display:flex;gap:25px;border-bottom:1px solid #292737;margin-bottom:25px;overflow:auto}.status-tabs button{border:0;border-bottom:2px solid transparent;padding:12px 0;background:none;color:#9290a5;font-size:11px;white-space:nowrap}.status-tabs button.active{color:#c6b0f3;border-bottom-color:#a185e0}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-card{display:flex;overflow:hidden;background:#141620;border:1px solid #2c2939;border-radius:9px;min-height:180px}.library-cover{padding:0;border:0;min-width:32%;width:32%;background:#282133}.library-cover img{width:100%;height:100%;object-fit:cover;display:block}.library-card-content{padding:13px;min-width:0;flex:1}.card-meta{display:flex;justify-content:space-between;align-items:center;color:#8e80a7;font-size:7px;letter-spacing:.7px}.favorite{font-size:20px;border:0;background:none;color:#81758f;line-height:1;padding:0}.favorite.on{color:#b397ec}.title-button{border:0;padding:0;background:none;text-align:left}.title-button h3{font-size:12px;line-height:1.4;font-weight:550;margin:10px 0}.status-badge{font-size:8px;display:inline-block;background:#292437;color:#c2acdf;padding:2px 6px;border-radius:4px}.status-badge.completed{background:#21382f;color:#a0c6b5}.status-badge.paused{background:#383020;color:#ccbb8c}.entry-progress{font-size:9px;color:#91899f;margin:10px 0 6px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:8px;color:#a99e87}.empty{text-align:center;border:1px dashed #353042;border-radius:12px;padding:65px 20px;background:radial-gradient(ellipse at center,#40335420,transparent 65%)}.empty-icon{font-size:45px;color:#a593c6}.empty h2{font-size:22px;letter-spacing:-.5px}.empty p{color:#8b869c;font-size:12px;margin-bottom:25px}.empty>.text-button{display:block;margin:12px auto}.empty.compact{padding:30px}.panel{padding:28px;border:1px solid #2a2737;border-radius:12px;background:#13151f;margin:20px 0}.panel h2{font-size:18px;font-weight:550;margin:0 0 16px}.panel p{font-size:12px;color:#a19aae;line-height:1.8}.panel .muted{font-size:10px}.button-row{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 0}.stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-cards article{padding:24px;border:1px solid #2d293d;background:#171521;border-radius:10px}.stat-cards article>span{display:block;font-size:24px;color:#b89ae6}.stat-cards article strong{display:block;font-size:30px;font-weight:550;margin:10px 0 0}.stat-cards article p{font-size:11px;color:#998fa9}.stat-row{display:flex;align-items:center;gap:20px;margin:25px 0;font-size:12px}.stat-row>span{width:100px;color:#a49ab2}.stat-row .progress{flex:1}.stat-row>strong{width:30px;text-align:right;color:#b9a0d9}footer{display:flex;justify-content:space-between;gap:20px;padding:20px 4.5%;border-top:1px solid #22202e;font-size:9px;color:#777183}footer>span{display:flex;gap:15px}footer button{border:0;background:none;color:#8e819f;padding:0;font-size:9px}dialog{width:calc(100% - 32px);max-width:510px;border:1px solid #494058;border-radius:15px;background:#16151f;color:#eeedf5;padding:32px;max-height:90svh;box-shadow:0 30px 150px #0008}dialog::backdrop{background:#06070bbd;backdrop-filter:blur(5px)}dialog h2{font-size:27px;line-height:1.25;letter-spacing:-.8px;margin:10px 0 17px;font-weight:600}dialog>p:not(.eyebrow){font-size:12px;color:#a19aae;line-height:1.8}.eyebrow{font-size:9px;letter-spacing:1.5px;color:#aa8fd2}.dialog-close{position:absolute;right:18px;top:12px;background:none;border:0;color:#ad9bbe;font-size:28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}form label{display:block;font-size:10px;color:#bcb2cb;margin:17px 0 0}form input:not([type=checkbox]),form select,form textarea{display:block;margin-top:7px;width:100%;padding:11px 12px;color:#e9e2f2;background:#0f1018;border:1px solid #383043;border-radius:7px;font-size:12px}form input::placeholder,form textarea::placeholder{color:#655c72}form textarea{resize:vertical;min-height:70px}.check-label{display:flex;align-items:center;gap:8px}input[type=checkbox]{accent-color:#a185e0}.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:15px}.form-actions .button{margin-left:auto}.form-error{color:#f3a5af;font-size:11px;min-height:16px}.danger{color:#d28c9c}.danger-button{background:#8a3d52;border-color:#ba6179}.auth-links{display:flex;justify-content:space-between;margin:16px 0}.local-option{width:100%;font-size:10px;border-top:1px solid #342b3f;padding-top:17px}.muted{color:var(--muted)}#toast{position:fixed;bottom:24px;left:calc(50% + 116px);transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:20;background:#31273f;border:1px solid #67517f;color:#f2e8fc;padding:13px 20px;font-size:12px;border-radius:10px;max-width:calc(100% - 32px);transition:.2s}#toast.visible{opacity:1;transform:translate(-50%)}@media(min-width:1600px){main{padding-top:50px}.hero{min-height:330px}.hero-art{height:330px}.book-a{top:70px}.book-b{top:60px}.hero-copy{padding:40px}.poster-caption h3{font-size:13px}}@media(max-width:1200px){.poster-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:210px;padding-left:14px;padding-right:14px}.workspace{margin-left:210px}.hero-copy{padding:27px}.hero-art{min-width:200px;margin-right:10px}.book-a{left:0;width:113px;height:170px}.book-b{left:100px;width:113px;height:170px}.hero h2{font-size:32px}.hero p br{display:none}#toast{left:calc(50% + 105px)}}@media(max-width:900px){.sidebar{width:78px;padding:25px 10px}.logo{margin:0 auto 40px;font-size:0}.logo>span:not(.logo-icon),.logo i{display:none}.logo-icon{font-size:20px;margin:0}.sidebar-label,.mini-card,.profile>div,.profile .avatar{display:none}.nav-item{font-size:0;padding:14px;justify-content:center;gap:0}.nav-item>span{font-size:23px}.nav-item small{display:none}.workspace{margin-left:78px}.sidebar-bottom{padding-top:0}.hero h2{font-size:30px}.topbar{height:74px}.breadcrumb{font-size:10px}.hero-art{width:30%;min-width:170px}.book-b{left:65px}.floating-note{left:0;font-size:8px}.hero-copy{max-width:65%}.hero .tag{font-size:7px}.continue-grid{grid-template-columns:1fr}.library-tools{flex-wrap:wrap}.library-tools>input{margin-left:0;flex:1}.stat-cards{grid-template-columns:1fr 1fr}#toast{left:calc(50% + 39px)}}@media(max-width:600px){.sidebar{inset:auto 0 0;width:100%;height:65px;border-top:1px solid #30283e;border-right:0;background:#11121af5;backdrop-filter:blur(12px);padding:5px 10px;display:block}.logo,.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;margin:0;gap:0}.sidebar nav .nav-item{display:flex;flex-direction:column;font-size:8px;padding:5px 12px;gap:3px;width:auto;color:#8d839c;min-width:65px}.nav-item>span{font-size:21px}.nav-item.active{background:#272034;color:#ccb0f5}.workspace{margin:0;padding-bottom:65px}.topbar{padding:0 5%;height:68px}.breadcrumb{font-size:9px}.breadcrumb>span{padding:0 5px}.top-actions{gap:6px}.top-actions .button.small{padding:7px 9px;font-size:9px}.local-badge{display:none}main{padding:30px 5% 40px}.heading h1{font-size:27px;letter-spacing:-.8px}.heading .eyebrow{font-size:8px}.heading p{font-size:11px}.heading.flex{display:block}.heading.flex>.button{margin-top:18px}.hero{display:block;min-height:390px;border-radius:12px}.hero-copy{padding:25px;max-width:100%}.hero h2{font-size:31px;margin-top:20px}.hero p{max-width:85%;font-size:11px}.hero .tag{font-size:6px}.hero-art{position:absolute;width:160px;min-width:0;right:-35px;bottom:-120px;height:240px;opacity:.3;pointer-events:none;transform:rotate(-12deg)}.hero-art .book{width:110px;height:170px}.hero-copy .button{position:relative;z-index:2}.hero-note{margin-top:17px}.hero-jp{font-size:70px}.section-head{gap:10px;align-items:flex-start}.section-head h2{font-size:16px}.section-head p{font-size:10px;max-width:210px}.segmented button{padding:6px 10px;font-size:9px}.search{padding-left:10px;gap:6px}.search input{font-size:10px}.search .button.small{padding:8px 9px;font-size:9px}.poster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 11px}.poster-caption h3{font-size:10px;min-height:28px}.poster-caption p{font-size:7px}.poster-type{font-size:6px;top:6px;left:6px}.poster-add{opacity:1;font-size:7px;padding-bottom:8px}.stats-strip{grid-template-columns:1fr 1fr}.stats-strip>div{padding:17px}.stats-strip>div:nth-child(2){border-right:0}.stats-strip>div:nth-child(-n+2){border-bottom:1px solid #2a2938}.stats-strip strong{font-size:25px}.stats-strip span{font-size:9px}.library-tools{gap:10px}.library-tools>input{width:100%;flex:initial;order:3}.library-tools select{margin-left:auto;max-width:45%;font-size:9px}.status-tabs{gap:22px}.status-tabs button{font-size:10px}.library-grid{grid-template-columns:1fr}.library-card{min-height:170px}.library-cover{width:29%;min-width:29%}.library-card-content{padding:15px 18px}.title-button h3{font-size:15px}.card-meta{font-size:8px}.entry-progress{font-size:10px}.status-badge,.card-bottom{font-size:9px}.stat-cards{gap:10px}.stat-cards article{padding:18px}.stat-cards article strong{font-size:26px}.stat-row{gap:10px}.panel{padding:20px}.panel h2{font-size:16px}.panel p{font-size:11px}footer{display:block;font-size:8px;padding:20px 5%}footer>span{margin-top:8px;justify-content:space-between}#toast{left:50%;bottom:85px;font-size:11px}dialog{padding:26px;max-height:85svh}dialog h2{font-size:25px}.form-grid{gap:10px}.notice{font-size:10px}.empty{padding:40px 15px}.empty h2{font-size:20px}.catalog-bottom .text-button{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.admin-status{color:#aaa0b9;font-size:12px;margin:16px 0}.admin-account{margin:0;padding:24px}.admin-accounts{display:grid;gap:16px}.admin-account-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.admin-account-top h2{margin-bottom:6px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.admin-account-top .admin-email{margin:0;overflow-wrap:anywhere}.admin-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.admin-facts dt{color:#8c829e;font-size:10px;margin-bottom:6px}.admin-facts dd{margin:0;font-size:12px;color:#e0d7eb}.admin-account-actions{display:flex;justify-content:flex-end;font-size:11px;padding-top:15px;border-top:1px solid #2a2737}.admin-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:24px 0;font-size:12px;color:#aaa0b9}.admin-explanation{font-size:11px;line-height:1.8}.admin-reason{overflow-wrap:anywhere}.button:disabled{opacity:.5;cursor:wait;transform:none}@media(max-width:600px){.admin-facts{grid-template-columns:1fr 1fr}.admin-account{padding:18px}.admin-account-top h2{font-size:17px}.sidebar nav .nav-item{min-width:0;padding:5px 7px;font-size:7px}.admin-pagination{gap:12px}.admin-account-actions{justify-content:flex-start}}@media(max-width:600px){.sidebar nav .nav-item{min-width:0;padding:5px 7px;font-size:7px}}.social-profile-hero{display:flex;align-items:center;gap:24px;background:radial-gradient(ellipse at right,#66508a44,transparent),#171521}.profile-avatar{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;background:linear-gradient(135deg,#9069d3,#463059);border:1px solid #b998f066;border-radius:24px;font-size:32px;font-weight:600}.social-profile-hero h2{margin-bottom:6px}.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere}.profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.watch-explanation{font-size:11px;line-height:1.8;margin:20px 0 28px}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.person-card{display:flex;align-items:center;gap:12px;padding:18px;margin:0}.person-card h3{font-size:14px;margin:0;overflow-wrap:anywhere}.person-card small{font-size:10px;color:#91869e}.person-card>div:not(.person-actions){min-width:0;flex:1}.person-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.person-actions .button{white-space:nowrap}.person-card .avatar{flex-shrink:0}#profile-form{max-width:680px}#profile-form .muted{font-size:10px;margin-top:6px}@media(max-width:1200px){.people-grid{grid-template-columns:1fr}}@media(max-width:600px){.profile-stats{grid-template-columns:1fr 1fr}.profile-stats article strong{font-size:23px}.profile-avatar{width:60px;height:60px;border-radius:18px;font-size:26px}.social-profile-hero{gap:16px}.person-card{flex-wrap:wrap}.person-actions{margin-left:auto}.sidebar nav{overflow-x:auto;justify-content:flex-start}.sidebar nav .nav-item{min-width:66px;flex-shrink:0;padding:5px 8px}.sidebar{padding-right:0}.sidebar-bottom{padding-top:20px}}@media(min-width:601px){.sidebar{overflow-y:auto}.sidebar-bottom{flex-shrink:0}}.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.achievement-card{border:1px solid #534266;background:radial-gradient(ellipse at top right,#8c60cf22,transparent),#181422;border-radius:12px;padding:24px}.achievement-symbol{display:block;font-size:24px;color:#c8a4f6;margin-bottom:12px}.achievement-card small{color:#a796bb;font-size:10px}.achievement-card h3{font-size:18px;margin:7px 0 10px;letter-spacing:-.3px}.achievement-card p{font-size:11px;color:#a89ab8}.achievement-card .progress{margin:20px 0 12px;height:5px}.achievement-next{min-height:36px;line-height:1.7}.achievement-next strong{color:#d2bdeb;font-weight:500}.profile-rank{display:inline-block;border:1px solid #7e609c;background:#5e3e762a;color:#d8b7f6;padding:4px 9px;border-radius:6px;font-size:11px}.media-details{padding:18px;border:1px solid #40324d;background:#1f192a;border-radius:10px;margin:20px 0}.media-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.media-detail-head h3{font-size:14px;margin:0}.media-detail-head span{font-size:9px;white-space:nowrap}.source-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.media-details p{font-size:10px;line-height:1.7}.trailer-section{padding-top:10px;border-top:1px solid #392c45}.trailer-section .text-button{margin-left:12px}#trailer-player iframe{margin-top:16px;width:100%;aspect-ratio:16/9;border:0;border-radius:8px}dialog:has(.media-details){max-width:660px}.profile-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1000px){.achievement-grid{grid-template-columns:1fr}.achievement-next{min-height:0}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.achievement-card{padding:20px}.media-details{padding:14px}.media-detail-head{align-items:flex-start;flex-direction:column;gap:5px}.source-buttons .button{max-width:100%;white-space:normal;text-align:left}.trailer-section .text-button{display:block;margin-left:0}}#trailer-player iframe{min-height:200px}.scan-section:empty{display:none}.scan-section:not(:empty){margin:14px 0}:root{color-scheme:dark}[hidden]{display:none!important}html{scrollbar-gutter:stable}html:has(dialog[open]){overflow:hidden}dialog{overscroll-behavior:contain}.library-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.library-results{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 10px;color:#aaa3b9;font-size:12px;min-height:36px}.library-results .text-button{font-size:12px}.profile-bio,.social-profile-hero h2{overflow-wrap:anywhere}.social-profile-hero>div{min-width:0}.poster img,.library-cover img{background:#252031}button:disabled{cursor:not-allowed}.series-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:14px 0}.series-toolbar>span{font-size:12px;color:var(--muted)}.series-group{border:1px solid #393044;border-radius:14px;margin:16px 0;background:#191621;overflow:hidden}.series-group summary{padding:20px;cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:10px;list-style:none}.series-group summary:before{content:"▸";color:#c4a4ff}.series-group[open] summary:before{content:"▾"}.series-group summary strong{font-size:17px;overflow-wrap:anywhere}.series-group summary span{font-size:12px;color:#bdb2cb}.series-group summary small{margin-left:auto;color:#baa0df}.series-group>.library-grid{padding:0 16px 16px}.singles-heading{font-size:17px;margin:26px 0 14px}.library-card-content{min-width:0}.quick-status,.quick-score{max-width:100%;border:1px solid #554263;border-radius:7px;background:#26202f;color:#e9e0f6;min-height:36px;padding:5px 7px;font:inherit;font-size:12px;cursor:pointer}.quick-status{width:100%}.quick-score{width:105px;min-width:0}.quick-error{font-size:11px;color:#ffb1bd;line-height:1.5}.card-bottom{gap:6px}.chat-panel{scroll-margin-top:20px}.chat-messages{max-height:420px;min-height:100px;overflow-y:auto;padding:12px 4px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.chat-message{max-width:85%;align-self:flex-start;border:1px solid #40334f;background:#241e2e;padding:12px 16px;border-radius:14px}.chat-message.mine{align-self:flex-end;background:#342345;border-color:#694187}.chat-message small{font-size:11px;color:#cab9dc}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;color:#f5ecff;line-height:1.5}.chat-status{font-size:12px;color:#bdb2cb}.chat-form textarea{resize:vertical;min-height:85px}.chat-form .form-actions{justify-content:space-between}.chat-form small{color:#bdb2cb}.chat-panel .section-head{gap:14px}.chat-panel h2{overflow-wrap:anywhere}.person-actions{flex-wrap:wrap}.messenger{position:fixed;right:24px;bottom:22px;z-index:8}.messenger-launcher{display:flex;align-items:center;gap:9px;border:1px solid #655180;border-radius:24px;background:#262030;color:#e5d9f5;padding:11px 17px;min-height:44px;font-size:12px;box-shadow:0 4px 20px #0005}.messenger-launcher:hover,.messenger-launcher[aria-expanded=true]{background:#3c2c50;border-color:#a88aff}.messenger-launcher>span{font-size:18px;line-height:1}.messenger-panel{position:absolute;right:0;bottom:57px;width:min(370px,calc(100vw - 32px));height:min(590px,calc(100dvh - 115px));display:flex;flex-direction:column;overflow:hidden;background:#15131e;border:1px solid #4e3c64;border-radius:15px;box-shadow:0 15px 65px #0009}.messenger-header{flex:none;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #362a44;padding:8px 15px;font-size:13px;background:#241c31}.messenger-minimize{background:none;border:0;color:#d3c5e6;min-width:36px;min-height:36px;border-radius:7px;font-size:22px}.messenger-minimize:hover{background:#42304f}.messenger-body{padding:16px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.messenger-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.messenger-list-heading h2{font-size:15px;margin:0}.messenger-person{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #32283c;border-radius:10px;background:#1d1827;padding:12px;margin-bottom:8px}.messenger-person:hover{background:#30233e;border-color:#725790}.messenger-person>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.messenger-person small{font-size:10px;color:#bfa5dc;flex-shrink:0}.messenger-empty{font-size:12px;color:#aaa0b9;line-height:1.6}.messenger .chat-panel{display:flex;flex-direction:column}.messenger .section-head{flex:none;margin:0 0 12px;gap:10px}.messenger .section-head h2{font-size:16px;line-height:1.4}.messenger .eyebrow{font-size:8px;letter-spacing:1px;color:#a58bbf;margin:0 0 4px}.messenger .chat-messages{flex:1;max-height:none;min-height:70px;margin-top:5px}.messenger .chat-message{padding:9px 12px;font-size:12px}.messenger .chat-message small{font-size:9px}.messenger .chat-status{flex:none;font-size:10px;margin:9px 0;line-height:1.4}.messenger .chat-form{flex:none;margin:0}.messenger .chat-form label{font-size:11px}.messenger .chat-form textarea{min-height:65px;max-height:100px;resize:vertical;font-size:14px}.messenger .chat-form .form-actions{margin-top:9px}.messenger .form-error{font-size:11px;line-height:1.4;margin:6px 0 0}.messenger .text-button{min-height:36px}.messenger .chat-message p{font-size:12px}dialog.wide-dialog{width:min(800px,calc(100vw - 32px));max-width:800px}.quick-import-tabs{margin:8px 0 18px}.quick-import-tabs button{white-space:normal}.quick-match{padding:18px;border:1px solid #3e304e;border-radius:12px;background:#1a1723;margin:12px 0}.quick-match>.check-label{font-weight:600;overflow-wrap:anywhere}.quick-match .form-grid{margin:10px 0}.quick-match p{font-size:12px;line-height:1.6}.quick-match .notice{padding:10px}.quick-match-list,.quick-review-list{margin:15px 0}.quick-catalog article{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px;border:1px solid #3a2d48;border-radius:10px;margin:10px 0}.quick-catalog article>div{min-width:0}.quick-catalog strong{overflow-wrap:anywhere}.quick-catalog small{display:block;color:#a89aba;margin-top:5px}.file-label{cursor:pointer;width:max-content}#quick-import>p,#season-sheet>p{line-height:1.7;color:#bbb1ca}#quick-import .form-error{color:#ffb1bd}#quick-import .check-label{align-items:flex-start}#quick-import .check-label input{margin-top:4px;flex:none}#quick-import input[type=number]{width:100%}.wide-dialog label:not(.check-label):not(.file-label){display:flex;flex-direction:column;gap:7px;margin:14px 0;color:#c5b9d5;font-size:12px;min-width:0}.wide-dialog select,.wide-dialog textarea,.wide-dialog input:not([type=checkbox]):not([type=file]){display:block;width:100%;min-width:0;min-height:44px;border:1px solid #514060;border-radius:8px;background:#211b2c;color:#f1e8fc;padding:10px 12px;font-size:14px}.wide-dialog textarea{resize:vertical;line-height:1.6}.wide-dialog .check-label{font-size:12px;line-height:1.6;margin:12px 0}.wide-dialog .form-grid>label{margin:0}.wide-dialog .form-grid{align-items:start}.wide-dialog .notice,.wide-dialog p{overflow-wrap:anywhere}@media(max-width:600px){.wide-dialog select,.wide-dialog textarea,.wide-dialog input:not([type=checkbox]):not([type=file]){font-size:16px}.wide-dialog label:not(.check-label):not(.file-label){font-size:12px}}.card-season-label{display:block;color:#a99abc;font-size:9px;margin:4px 0 9px}.card-season-label select{display:block;width:100%;min-width:0;max-width:100%;margin-top:4px;border:1px solid #524061;border-radius:7px;color:#e9dff6;background:#211b2b;font-size:11px;padding:7px;min-height:36px}.season-open{font-size:10px;text-align:left;margin-top:4px}.library-card .card-meta>span{font-size:8px;line-height:1.5}.library-card .entry-progress{font-size:10px}.season-switch-row{display:flex;align-items:flex-end;gap:14px;margin:20px 0}.season-switch-row>label{flex:1;min-width:0}.season-switch-row>button{flex-shrink:0;margin-bottom:3px}.season-info{background:#2c213b;border:1px solid #58406e;border-radius:12px;padding:18px;margin:20px 0}.season-info strong{display:block;font-size:20px;color:#e6d3ff}.season-info span{display:block;color:#ad9bc4;font-size:12px;margin-top:6px}.season-checklist{display:grid;gap:10px;margin:15px 0}.season-checklist .check-label{padding:12px;border:1px solid #3d304b;border-radius:9px;align-items:flex-start;line-height:1.6}.season-checklist small{display:block;color:#aa9bbd;font-size:11px}.season-checklist input{margin-top:5px;flex-shrink:0}#season-sheet>h2{overflow-wrap:anywhere}#season-select{width:100%}@media(max-width:600px){.quick-catalog article{align-items:flex-start;flex-direction:column}.quick-catalog article .button{width:100%}.season-switch-row{flex-direction:column;align-items:stretch}.card-season-label select{font-size:16px;min-height:44px}.season-info strong{font-size:18px}.quick-match{padding:13px}.quick-import-tabs{display:flex}.quick-import-tabs button{flex:1}.library-actions{width:100%}.library-actions .button{flex:1 1 45%}.wide-dialog .form-actions{flex-wrap:wrap;gap:10px}.wide-dialog .form-actions>.button{flex:1}#quick-import .check-label{font-size:12px;line-height:1.6}}@media(max-width:600px){.messenger{right:12px;bottom:calc(94px + env(safe-area-inset-bottom))}.messenger-launcher{padding:9px 14px;font-size:11px}.messenger-panel{bottom:54px;width:min(360px,calc(100vw - 24px));height:min(560px,calc(100dvh - 175px - env(safe-area-inset-bottom)))}.messenger .chat-form textarea{font-size:16px}.messenger .button.small,.messenger .messenger-minimize{min-height:40px}.messenger-body{padding:13px}.messenger-launcher>span{font-size:17px}}@media(max-width:600px){.quick-status,.quick-score{font-size:16px;min-height:44px}.quick-score{width:110px}.series-group summary{padding:16px;gap:7px}.series-group summary small{margin-left:0;width:100%;padding-left:18px}.series-group>.library-grid{padding:0 10px 10px}.chat-message{max-width:95%;padding:10px 12px}.chat-panel .section-head{align-items:flex-start}.sidebar{height:calc(80px + env(safe-area-inset-bottom));padding:6px 6px calc(6px + env(safe-area-inset-bottom))}.sidebar nav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;overflow:visible;gap:0;align-items:start}.sidebar nav .nav-item{min-width:0;width:100%;min-height:58px;padding:5px 2px;font-size:8px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;gap:5px}.sidebar nav .nav-item>span{font-size:20px;flex-shrink:0}.workspace{padding-bottom:calc(96px + env(safe-area-inset-bottom))}#toast{bottom:calc(100px + env(safe-area-inset-bottom))}.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{flex-shrink:0}.hero{min-height:0}.hero-copy{padding:24px}.hero h2{font-size:28px}.hero p{max-width:100%}.button,.button.small,.segmented button,.status-tabs button{min-height:44px}.segmented button{font-size:12px;padding:7px 12px}.button.small{font-size:12px}.library-actions{margin-top:18px}.library-actions .button{flex:1;white-space:nowrap;font-size:11px;padding:10px 12px}.library-results{font-size:11px;align-items:flex-start}.library-results .text-button{font-size:11px;padding-top:0}.library-tools>input{order:1}.library-tools select{order:2;flex:1 1 100%;width:100%;max-width:none;margin-left:0}form input:not([type=checkbox]),form select,form textarea,.library-tools input,.library-tools select{font-size:16px;min-height:44px}form label{font-size:11px}.favorite,.increment{min-width:44px;min-height:44px}.poster-caption h3{font-size:11px}.poster-caption p{font-size:9px}.stat-cards article strong{overflow-wrap:anywhere}.dialog-close{min-width:44px;min-height:44px;right:8px;top:6px}dialog{padding:26px 20px;max-height:calc(100svh - 32px)}dialog h2{padding-right:18px;overflow-wrap:anywhere}.source-buttons .button{font-size:11px}}.simple-series-dialog{width:min(560px,calc(100vw - 32px))}.simple-series-heading{display:flex;align-items:center;gap:16px;margin-bottom:24px}.simple-series-heading img{width:58px;height:80px;border-radius:8px;object-fit:cover}.simple-series-heading h2{margin:0 0 6px}.simple-series-heading p,.simple-hint{color:var(--muted,#afa7bd);font-size:13px}.simple-series form>label{display:block;margin:16px 0}.simple-series select,.simple-series input{width:100%}.simple-position{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:14px}.simple-position>label:only-child{grid-column:1/-1}.simple-series form>.button{width:100%;margin:6px 0 18px;min-height:44px}.simple-series details{border-top:1px solid #332b40;padding:15px 0}.simple-series summary{cursor:pointer;font-size:14px;font-weight:600;min-height:24px}.simple-series details #media-details{margin-top:14px}.simple-extra{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #332b40}.simple-extra>div{flex:1;min-width:0}.simple-extra strong{font-size:13px;overflow-wrap:anywhere}.simple-extra small,.simple-extra a{display:block;font-size:12px;margin-top:6px;color:#b6abc9}.simple-extra button{flex-shrink:0;min-height:44px}.simple-more{margin:12px 0}.simple-card-resume{font-size:13px;line-height:1.6;color:#afa7bd;margin:14px 0}.simple-library-card .library-card-content>.button{margin-top:auto}.simple-library-card .status-badge{align-self:flex-start}.simple-series .form-error:empty{display:none}@media(max-width:500px){.simple-position{grid-template-columns:minmax(0,1fr)}.simple-series-dialog{padding:20px}.simple-series-heading h2{font-size:24px}.simple-extra{align-items:flex-start}.simple-extra button{font-size:11px;padding:8px}}.simple-position label{margin:0}.simple-options .text-button{display:block;margin:12px 0}.global-search{margin:6px 0 28px;max-width:760px}.simple-card-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.simple-card-controls>.button{flex:1;min-height:44px}.simple-card-controls .text-button{padding:10px}.simple-card-resume{color:#ded3ef}.search-types{margin-bottom:24px}.search-owned,.search-catalog{margin:28px 0}.search-catalog>.button{margin-top:20px}#toast{display:flex;align-items:center;gap:14px;flex-wrap:wrap;max-width:min(700px,calc(100vw - 32px))}#toast button{background:transparent;border:0;color:#d5b2ff;font:inherit;font-weight:700;cursor:pointer;min-height:40px;padding:4px 8px}#toast button:hover{text-decoration:underline}@media(max-width:600px){.global-search{margin-top:0}.global-search .button{font-size:12px;padding:12px}.global-search input{min-width:0}.simple-card-controls{gap:8px}#toast{bottom:80px;gap:8px}}#toast.visible{pointer-events:auto}#toast[popover]{margin:0;top:auto;right:auto}.save-state{font-size:11px;color:#aca3b9;white-space:nowrap}.save-state.pending{color:#dbc6ff}.save-state.error,.save-state.offline{color:#f4b28d}.profile-data-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 24px}.external-review{max-height:50vh;overflow:auto;margin:20px 0}.external-row{padding:16px 4px;border-bottom:1px solid #393047}.external-row>small{display:block;color:#b4a9c3;margin:6px 0}.external-row details p{white-space:pre-wrap;font-size:12px}.external-row input[type=checkbox]{width:auto}.chat-recommendation{display:flex;gap:10px;min-width:0;padding:10px;border:1px solid #65507c;border-radius:10px;background:#292032}.chat-recommendation>img{width:48px;height:68px;object-fit:cover;border-radius:5px}.chat-recommendation>div{min-width:0;flex:1}.chat-recommendation strong{display:block;font-size:13px;overflow-wrap:anywhere;margin:4px 0}.chat-rec-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.chat-rec-actions button{border:1px solid #79618c;color:#e0c2ff;background:transparent;border-radius:6px;padding:8px;font-size:11px;cursor:pointer}.recommend-choices{display:grid;gap:8px;max-height:45vh;overflow:auto}.recommend-choices .button{text-align:left}.top-actions{flex-wrap:wrap}@media(max-width:600px){.save-state{font-size:10px}.profile-data-actions{gap:10px}.external-row .form-grid{grid-template-columns:1fr}.quick-import-tabs{flex-wrap:wrap}.chat-recommendation>img{width:36px;height:52px}}
