*{box-sizing:border-box} :root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#233433;background:#f4f5ef;font-size:14px}body{margin:0}main{max-width:1500px;margin:auto;padding:42px 42px 24px}header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:34px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;margin:0 0 12px;color:#49635c}.eyebrow span{margin-left:18px;color:#74857a}h1{font-size:36px;font-weight:600;letter-spacing:-1.4px;margin:0 0 9px}.accent{color:#cf833c}.subtitle{color:#6b7972;margin:0;font-size:14px}.sync-controls{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.sync-controls small{font-size:11px;color:#68776f}button,input,select{font:inherit}button,select{cursor:pointer}button{border:1px solid #dce2d9;background:white;border-radius:7px;padding:9px 13px;color:inherit}button:hover{background:#eff3ec}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c99752;outline-offset:3px}.primary{background:#254e43;color:#fff;border-color:#254e43;padding:12px 20px;font-weight:600}.primary:hover{background:#183b32}.library{background:#fff;border:1px solid #dde3d8;border-radius:12px;overflow:hidden;box-shadow:0 6px 22px #293e3610}.tabs{display:flex;border-bottom:1px solid #e3e7de;padding:0 22px;gap:22px}.tabs button{border:0;border-radius:0;background:none;padding:20px 4px 17px;color:#6f7c73;border-bottom:3px solid transparent;font-weight:600;white-space:nowrap}.tabs button.active{color:#244f43;border-bottom-color:#244f43}.tabs span{font-size:11px;margin-left:6px;border-radius:4px;padding:3px 6px;background:#edf0e9;color:#5f7467}.tabs .active span{background:#dfece2;color:#315c43}.tools{display:flex;gap:16px;align-items:center;padding:21px 24px}.tools label,.pagination label{display:flex;align-items:center;gap:9px;color:#718076;font-size:12px}.tools .search{flex:1;min-width:170px;border:1px solid #dce3d9;border-radius:7px;padding:10px 12px;gap:9px}.search span{font-size:22px;line-height:18px;color:#5a7463}.search input{width:100%;border:0;background:none;outline:none;font-size:13px;color:#233433}select{border:1px solid #dce3d9;border-radius:6px;padding:9px;background:#fff;color:#384c40}.quiet{font-size:12px;border:0;color:#748074;white-space:nowrap}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;table-layout:fixed;min-width:880px}thead{background:#f7f8f4}th{text-align:left;font-size:11px;color:#7c887e;letter-spacing:.25px;font-weight:600;padding:13px 16px;border-top:1px solid #e8ece3;border-bottom:1px solid #e5eadf}th button{border:0;padding:0;background:none;font-size:11px;color:inherit}th:first-child,td:first-child{padding-left:25px}th:first-child{width:32%}th:nth-child(2){width:11%}th:nth-child(3){width:10%}th:nth-child(4){width:12%}th:nth-child(5){width:27%}th:nth-child(6){width:8%}td{padding:14px 16px;border-bottom:1px solid #edf0e8;vertical-align:middle;font-size:12px}tbody tr:hover{background:#f9fbf6}.title-button{padding:0;border:0;background:none;text-align:left;max-width:100%;font-size:13px;font-weight:600;line-height:1.5;color:#2d4438;display:block}.title-button:hover{background:none;color:#946e32}.title-sub{font-size:11px;color:#899387;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge{padding:4px 8px;border-radius:5px;font-size:10px;white-space:nowrap;background:#e9f2e9;color:#477550}.badge.to_watch{background:#f8f0df;color:#977437}.badge.watching{background:#e9eff7;color:#5a7294}.rating{font-variant-numeric:tabular-nums;font-weight:600;color:#916e35}.muted{color:#97a094}.date{font-variant-numeric:tabular-nums;color:#6e7b70}.comment{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#74806f}.source{font-size:10px;color:#758c71}.pagination{display:flex;justify-content:space-between;align-items:center;padding:17px 24px;font-size:12px;color:#7b887b}.pagination>div{display:flex;align-items:center;gap:12px}.pagination button{padding:6px 10px}.pagination select{padding:5px}.note{font-size:11px;line-height:1.6;color:#7d887b;margin:14px 3px}.empty{text-align:center;padding:64px 20px;color:#7d887b}.progress-line{display:flex;justify-content:space-between;gap:20px;font-size:12px}#sync-panel{background:#e8f0e6;border:1px solid #d4e0ce;border-radius:8px;padding:16px 20px;margin-bottom:20px}progress{width:100%;height:7px;accent-color:#3c6c51;margin-top:12px}#sync-message{margin:8px 0 0;font-size:12px;color:#62765e}#error{padding:16px;background:#ffede8;color:#9a4936;border-radius:8px;margin-bottom:20px}dialog{width:min(600px,90vw);max-height:85vh;overflow:auto;border:1px solid #d9e0d2;border-radius:13px;padding:28px;color:#2e4439;box-shadow:0 25px 80px #1e372d40}dialog::backdrop{background:#20372c60}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head .eyebrow{margin:0}.dialog-head button{border:0}h2{font-size:23px;line-height:1.5}h3{font-size:13px;margin-top:26px}#detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:13px}#detail-fields label{display:block;font-size:11px;color:#89917f;margin-bottom:4px}#detail-comment{white-space:pre-wrap;line-height:1.8;background:#f6f7f2;padding:16px;border-radius:8px;font-size:13px}a{color:#346c53}#account-label{font-size:11px}[hidden]{display:none!important}@media(max-width:800px){main{padding:22px 14px}header{align-items:flex-start;gap:12px}h1{font-size:27px}.subtitle{max-width:230px;font-size:12px}.eyebrow span{display:block;margin:6px 0 0}.sync-controls small{max-width:120px;text-align:right}.tabs{gap:14px;overflow:auto;padding:0 14px}.tools{flex-wrap:wrap;padding:15px;gap:10px}.tools .search{flex-basis:100%}.pagination{padding:12px;gap:10px}.pagination label{display:none}.progress-line{flex-direction:column;gap:8px}.primary{padding:10px 12px;font-size:12px}}
/* IMDb is the visible cross-platform identifier; source keys remain internal. */
table{min-width:1060px}th:first-child{width:27%}th:nth-child(2){width:12%}th:nth-child(3){width:10%}th:nth-child(4){width:9%}th:nth-child(5){width:11%}th:nth-child(6){width:23%}th:nth-child(7){width:8%}.imdb-id{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.imdb-id a{text-decoration:none}.imdb-id a:hover{text-decoration:underline}#imdb-link{margin-right:18px}

.tools{flex-wrap:wrap}.tools .search{min-width:230px}table{min-width:1180px}th:first-child{width:25%}th:nth-child(2){width:8%}th:nth-child(3){width:11%}th:nth-child(4){width:9%}th:nth-child(5){width:8%}th:nth-child(6){width:10%}th:nth-child(7){width:22%}th:nth-child(8){width:7%}.candidate{padding:12px;border:1px solid #dce3d9;border-radius:6px;margin-bottom:10px}.candidate button{margin-right:8px;font-size:11px}

.overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.overview article,.issue-panel{padding:1rem 1.25rem;border:1px solid #d6ded3;border-radius:12px;background:#f6f8f4}
.overview h2{font-size:1.05rem;margin:0 0 .6rem}
.overview ul{list-style:none;padding:0;margin:0}
.overview li{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;padding:.4rem 0}
.overview li small{white-space:nowrap;color:#59665a}
.season-tag{font-size:.75rem;margin-inline-start:.5rem;color:#506651;white-space:nowrap}
.issue-panel{margin-block:1rem}
.issue-panel summary{cursor:pointer}
#detail-comment{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:720px){.overview{grid-template-columns:1fr}}

#detail-title{margin-bottom:0;overflow-wrap:anywhere}
#detail-original{margin:.5rem 0 0;color:#59665a;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}
#detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1.5rem;margin-block:1.5rem;line-height:1.5}
#detail-summary label{display:block;font-size:.8rem;color:#59665a;margin-bottom:.2rem}
#detail-summary span{overflow-wrap:anywhere}
@media(max-width:380px){#detail-summary{grid-template-columns:1fr;gap:.8rem}}
#detail-more>summary{cursor:pointer;width:fit-content;padding:.35rem .7rem;border:1px solid #d6ded3;border-radius:8px}
#detail-more[open]>summary{margin-bottom:1rem}

.detail-hero{display:flex;align-items:flex-start;gap:1.25rem}
.detail-hero>div{flex:1;min-width:0}
#detail-poster{width:clamp(90px,22vw,145px);flex:none;margin:0}
#detail-poster img{display:block;width:100%;height:auto;border-radius:8px}
#detail-poster figcaption{font-size:.75rem;margin-top:.35rem}
@media(max-width:480px){.detail-hero{flex-wrap:wrap}.detail-hero>div{flex-basis:100%}}
