:root{--watched:var(--guide-red);--unwatched:#FFFFFF;--rewatched:#777777;--current:#44D17A;--sidequest:#f1c34e;font-family:system-ui,-apple-system,sans-serif;color:#bf7bea;background:#000000}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1180px;margin:auto;padding:28px 18px 70px}h1{font-size:clamp(28px,5vw,46px);margin:0 0 8px}p{color:#eeeeee}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.stats{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.stat{background:#101010;border:1px solid #3c3c3c;border-radius:14px;padding:13px 20px;min-width:100px}.stat b{font-size:23px;display:block}.stat small{color:#eeeeee}.controls{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}input,select,button{background:#121212;color:#fff;border:1px solid #666666;border-radius:9px;padding:9px;font:inherit}button{cursor:pointer}button:hover{background:#343434}input[type=search]{flex:1;min-width:200px}.section{margin-top:30px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:15px}.item{background:#080808;border:3px solid #bf7bea;border-radius:13px;overflow:hidden;position:relative}.item.watched{border-color:var(--watched)}.item.rewatched{border-color:var(--rewatched)}.poster{height:220px;background:linear-gradient(145deg,#131313,#090909);display:flex;justify-content:center;align-items:center;text-align:center;padding:18px;position:relative;font-weight:800;font-size:21px;overflow:hidden}.poster img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.marker{position:absolute;top:8px;left:7px;background:var(--current);color:#000;font-size:11px;padding:6px 8px;border-radius:8px;font-weight:800;z-index:2}.marker.alt{background:var(--sidequest)}.content{padding:11px}.name{font-size:14px;font-weight:750;min-height:39px}.meta{font-size:12px;color:#eeeeee;margin:7px 0}.content select{width:100%;font-size:12px;margin:6px 0}.actions{display:flex;gap:5px}.actions button{flex:1;font-size:11px;padding:7px 3px}.active{background:var(--current);color:#000;border-color:var(--current)}.foot{margin-top:25px;color:#dddddd;font-size:12px}.hidden{display:none!important}#bonusPanel{margin-top:14px}#bonusToggle{width:100%;text-align:left;padding:14px;font-weight:750}#export{background:#474747}label{font-size:13px;color:#ffffff}.progress{height:9px;border-radius:20px;background:#303030;overflow:hidden;margin:10px 0}.progress div{height:100%;background:var(--watched)}details{margin-top:14px}summary{cursor:pointer;color:#c1c1c1}.note{font-size:13px}.checkrow{display:flex;align-items:center;gap:8px;font-size:12px;color:#fff;cursor:pointer}.checkrow input{appearance:none;-webkit-appearance:none;width:23px;height:23px;flex:none;border:2px solid var(--unwatched);border-radius:50%;background:#000;padding:0;margin:0;display:grid;place-items:center;cursor:pointer}.checkrow input:checked{background:var(--watched);border-color:var(--watched)}.checkrow input:checked::after{content:"";width:6px;height:10px;border:solid #000;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}.checkrow.plan{color:#ddd}.checkrow.plan input{width:17px;height:17px;border-radius:5px}.checkrow.plan input:checked{background:var(--rewatched);border-color:var(--rewatched)}.checkrow.plan input:checked::after{font-size:11px}.checkrow input:focus-visible{outline:3px solid #f1c34e;outline-offset:2px}.marker{max-width:calc(100% - 12px)}

/* Distinct active-location outlines override watch-completion colors. */
 .item.current,.item.watched.current,.item.rewatched.current{border-color:var(--current);box-shadow:0 0 0 2px var(--current),0 0 18px var(--current)}
.item.detour:not(.current),.item.watched.detour:not(.current),.item.rewatched.detour:not(.current){border-color:var(--sidequest);box-shadow:0 0 0 2px var(--sidequest),0 0 18px var(--sidequest)}
#jumpCurrent{background:var(--current);color:#000;border:2px solid var(--current);border-radius:999px;padding:13px 18px;font-size:14px;font-weight:800;box-shadow:0 5px 22px #000a}
#jumpSidequest{background:var(--sidequest);color:#000;border:2px solid var(--sidequest);border-radius:999px;padding:13px 18px;font-size:14px;font-weight:800;box-shadow:0 5px 22px #000a}
#jumpSidequest:focus-visible,#jumpCurrent:focus-visible{outline:3px solid #fff;outline-offset:3px}
.item.jump-highlight{animation:jumpGlow 1.4s ease-out}
@keyframes jumpGlow{0%,40%{outline:5px solid white;outline-offset:3px}100%{outline:0 solid transparent}}
.jump-bar{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom,0px));left:12px;right:12px;z-index:100;display:flex;justify-content:center;gap:8px;pointer-events:none}.jump-bar button{pointer-events:auto;flex:1;max-width:230px;min-width:0;font-size:12px;padding:12px 9px;white-space:normal}@media(max-width:600px){:root:not([data-layout="desktop"]) .wrap{padding-bottom:120px}}




.settings-intro{font-size:13px;color:#c8c8c8}










.legend{margin:17px 0 22px;padding:15px 17px;background:#101010;border:1px solid #3c3c3c;border-radius:14px}.legend h2{font-size:15px;margin:0 0 13px}.legend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:13px 17px}.legend-entry{display:flex;align-items:center;gap:10px;font-size:13px;color:#bf7bea}.legend-ring{display:inline-block;flex:none;width:20px;height:20px;border:3px solid var(--legend-color);border-radius:50%;background:#000;box-shadow:0 0 5px color-mix(in srgb,var(--legend-color) 40%,transparent)}
/* Compact poster gallery and accessible, color-matched detail overlay */
.grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:13px;align-items:start}
.item{background:#080808;cursor:pointer;transition:transform .15s ease}
.item:hover{transform:translateY(-2px)}.item:focus-within{outline:2px solid #fff;outline-offset:3px}
.poster{height:auto;aspect-ratio:2/3;padding:8px}.poster img{object-fit:cover}
.content{padding:10px 8px 12px}.name{font-size:13px;min-height:0;line-height:1.35;text-align:center}
.poster-open{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:inherit;overflow:hidden}
.poster-open:hover{background:transparent}.poster-open:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.poster-open .poster{pointer-events:none}.item .content{pointer-events:none}
.views{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 7px}.views button{font-weight:750;font-size:13px;padding:10px 13px}
.views button[aria-pressed="true"]{background:#f2f2f2;color:#080808;border-color:#f2f2f2}
.empty-list{color:#d7d7d7;padding:20px 0}
#detailBackdrop{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.77);display:flex;align-items:center;justify-content:center;padding:20px 12px;overflow-y:auto}
#detailBackdrop.hidden{display:none!important}
#detailPanel{--overlay-color:var(--guide-red);--overlay-ink:#fff;--overlay-control:#111;position:relative;max-width:430px;width:100%;max-height:calc(100dvh - 40px);overflow-y:auto;border:3px solid var(--overlay-color);border-radius:18px;background:color-mix(in srgb,var(--overlay-color) 88%,transparent);color:var(--overlay-ink);box-shadow:0 15px 55px #000;backdrop-filter:blur(20px);padding:17px}
#detailPanel h2{font-size:23px;line-height:1.2;margin:13px 0 6px;color:inherit}
#detailPanel .detail-meta{font-size:13px;margin-bottom:14px;font-weight:650;opacity:.9}
#detailPanel .detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
#detailPanel label{color:inherit}#detailPanel button,#detailPanel select{background:var(--overlay-control);color:var(--overlay-ink);border:1.5px solid currentColor;font-weight:700}
#detailPanel button:hover{filter:brightness(1.12)}
#detailPanel .detail-back{display:inline-flex;align-items:center;gap:7px;padding:9px 12px}
#detailPanel .detail-poster{width:85px;height:127px;object-fit:cover;border-radius:7px;border:2px solid currentColor;float:right;margin:0 0 10px 12px}
#detailPanel .checkrow{color:var(--overlay-ink);font-size:15px;font-weight:700;padding:8px 0}
#detailPanel .checkrow input{border-color:var(--overlay-ink);background:transparent}
#detailPanel .checkrow input:checked{background:var(--overlay-control);border-color:var(--overlay-ink)}
#detailPanel .checkrow input:checked::after{color:var(--overlay-ink)}
#detailPanel .checkrow.plan{color:var(--overlay-ink)}
#detailPanel label{color:inherit}#detailPanel select{width:100%;padding:11px;margin:6px 0 8px}
#detailPanel .detail-actions button{flex:1;min-width:100px;padding:9px}
body.detail-open{overflow:hidden}
@media(max-width:480px){:root:not([data-layout="desktop"]) .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}:root:not([data-layout="desktop"]) .name{font-size:12px}:root:not([data-layout="desktop"]) .content{padding:8px 5px 10px}:root:not([data-layout="desktop"]) .marker{font-size:9px;padding:4px 5px}:root:not([data-layout="desktop"]) #detailPanel{padding:14px}}
/* Fixed dimensions keep every card equal, including across separate grids. */
.item{height:306px;display:flex;flex-direction:column}.poster-open{flex:none}.poster{height:222px;aspect-ratio:auto}.item .content{height:78px;display:flex;align-items:center;justify-content:center}.name{overflow-wrap:anywhere}.grid{align-items:stretch}
.stat[data-stat="watched"] b{color:var(--watched)}
.stat[data-stat="todo"] b{color:var(--unwatched)}.stat[data-stat="forgot"] b{color:var(--watched)}
.stat[data-stat="rewatched"] b{color:var(--rewatched)}
.app-heading{display:flex;align-items:center;gap:12px}

/* Mobile Edition: responsive poster proportions and a quieter control hierarchy. */
:root{color-scheme:dark;-webkit-tap-highlight-color:transparent}
body{background:radial-gradient(ellipse at 50% 0,#161616 0,transparent 550px),#09090c;color:#bf7bea}
.wrap{max-width:1140px;padding:40px 28px calc(120px + env(safe-area-inset-bottom,0px))}
.top{margin-bottom:24px}.top>div{min-width:0}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:800;color:#b2b2b2;margin-bottom:12px}
.app-heading{font-size:clamp(25px,4vw,38px);line-height:1.12;letter-spacing:-.04em;gap:12px;margin:0}

.top p{font-size:14px;color:#a4a4a4;margin:12px 0 0}
.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 14px}
.stat{min-width:0;padding:15px 8px;text-align:center;background:#151515;border:1px solid #ffffff12;border-radius:14px}
.stat b{font-size:26px;font-variant-numeric:tabular-nums;line-height:1.2}.stat small{font-size:11px;display:block;margin-top:5px;color:#b4b4b4;white-space:nowrap}
.progress{height:5px;background:#ffffff12;margin:0 0 26px}.progress div{border-radius:20px;transition:width .2s}
nav.views{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;margin:0 0 16px}
nav.views button{grid-column:span 3;min-width:0;padding:12px 2px;font-size:clamp(10px,3.1vw,13px);border-radius:12px;border-color:#ffffff16;background:#161616;color:#b9b9b9;min-height:46px}
nav.views button:nth-child(n+5){grid-column:span 6}
nav.views button[aria-pressed="true"]{color:#fff;background:#262626;border-color:#676767;box-shadow:inset 0 0 0 1px #67676733}
.order-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0;background:#151515;border:1px solid #ffffff12;border-radius:12px;padding:4px}
.order-switch button{min-width:0;border:0;min-height:42px;background:transparent;color:#a5a5a5;font-size:13px;border-radius:8px;padding:8px}
.order-switch button[aria-pressed="true"]{background:#333333;color:#fff;box-shadow:0 2px 6px #0005}
.order-explainer{margin:5px 2px 10px}.order-explainer summary{font-size:11px;color:#969696;min-height:24px;display:flex;align-items:center;gap:6px}.order-explainer summary:before{display:none}.order-explainer p{margin:0 0 10px;color:#a5a5a5;line-height:1.6}
.controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 20px}
input,select,button{touch-action:manipulation}
.controls input[type=search]{grid-column:1/-1;min-width:0;width:100%;padding:14px 16px;border:1px solid #ffffff18;border-radius:13px;background:#17161d;font-size:16px;min-height:50px}
.controls input::placeholder{color:#8b8b8b}
.controls select,.controls button{min-width:0;font-size:13px;min-height:44px;border-color:#ffffff18;background:#151515;border-radius:11px;padding:10px 12px}
.section{margin-top:24px}.sectionhead{align-items:baseline;gap:8px;margin:0 0 14px}.sectionhead h2{font-size:19px;letter-spacing:-.03em;margin:0;min-width:0;line-height:1.25}.sectionhead span{font-size:11px;color:#9f9f9f;flex:none}
.grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:stretch}
.item{height:auto;min-width:0;border-width:2px;border-radius:14px;background:#151515;box-shadow:0 6px 18px #0003}
.poster-open{border-radius:0;min-height:0}.poster{height:auto;aspect-ratio:2/3;padding:10px;font-size:16px}.poster img{object-fit:cover}
.item .content{height:76px;flex:none;padding:10px 8px;align-items:center}.name{font-size:12px;line-height:1.35;overflow-wrap:normal;hyphens:auto;color:#bf7bea}
.marker{font-size:9px;line-height:1.1;padding:6px;left:6px;top:6px;border-radius:7px}
#bonusToggle{min-height:54px;border:1px solid #ffffff20;background:#181818;border-radius:13px;padding:15px;text-align:left;font-size:14px;color:#d3d3d3}
#bonusPanel{margin-top:16px}.empty-list{font-size:14px;line-height:1.5}

.legend,.backup-panel{border:1px solid #ffffff15;background:#141414;border-radius:14px;padding:16px;margin:10px 0}
.legend summary,.backup-panel summary{font-size:14px;font-weight:650;color:#d8d8d8;min-height:24px;line-height:1.5;cursor:pointer}
.legend-grid{margin-top:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.legend-entry{font-size:12px}.legend-ring{width:18px;height:18px}

.backup-panel #export{display:block;width:100%;min-height:46px;margin-top:16px;background:#2b2b2b;border-color:#575757;font-size:14px}
.backup-panel input{width:100%;min-width:0;font-size:13px;padding:12px 0;border:0;background:transparent}.backup-panel p,.settings-intro{font-size:13px;line-height:1.6}
.foot{line-height:1.7;font-size:11px;color:#7c7c7c;margin:24px 0 0}
.jump-bar{left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 24px);max-width:460px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:7px;border:1px solid #ffffff24;background:#141414ea;border-radius:20px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 6px 32px #0009;gap:7px}
.jump-bar button{min-height:46px;border-radius:13px;font-size:12px;padding:10px 6px;box-shadow:none;line-height:1.25}
#detailPanel{-webkit-backdrop-filter:blur(20px);overscroll-behavior:contain;scroll-padding-top:60px}
#detailPanel button,#detailPanel select{min-height:46px;font-size:16px}
#detailPanel .checkrow{min-height:54px;font-size:16px;line-height:1.35;gap:12px}
#detailPanel .checkrow input{width:26px;height:26px}#detailPanel .checkrow.plan input{width:23px;height:23px}
#detailPanel .detail-actions{display:grid;grid-template-columns:1fr;gap:8px}#detailPanel .detail-actions button{width:100%;min-width:0}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #c8c8c8;outline-offset:3px}
@media(hover:none){.item:hover{transform:none}}
@media(max-width:900px){:root:not([data-layout="desktop"]) .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){:root:not([data-layout="desktop"]) .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){:root:not([data-layout="desktop"]) .wrap{padding:calc(24px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(110px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}:root:not([data-layout="desktop"]) .top{margin-bottom:18px}:root:not([data-layout="desktop"]) .eyebrow{margin-bottom:8px}:root:not([data-layout="desktop"]) .app-heading{font-size:26px;gap:10px}:root:not([data-layout="desktop"]) .app-heading span{max-width:230px}:root:not([data-layout="desktop"]) .top p{font-size:13px;margin-top:10px}:root:not([data-layout="desktop"]) .stats{gap:5px}:root:not([data-layout="desktop"]) .stat{padding:10px 2px;border-radius:11px}:root:not([data-layout="desktop"]) .stat b{font-size:23px}:root:not([data-layout="desktop"]) .stat small{font-size:10px}:root:not([data-layout="desktop"]) .progress{margin-bottom:18px}:root:not([data-layout="desktop"]) .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}:root:not([data-layout="desktop"]) .item .content{height:76px;padding:10px 8px}:root:not([data-layout="desktop"]) .name{font-size:13px;line-height:1.35}:root:not([data-layout="desktop"]) .marker{font-size:10px}:root:not([data-layout="desktop"]) .sectionhead h2{font-size:18px}:root:not([data-layout="desktop"]) #detailBackdrop{align-items:flex-end;padding:0;background:#000b}:root:not([data-layout="desktop"]) #detailPanel{max-width:none;width:100%;max-height:calc(100dvh - max(20px,env(safe-area-inset-top,0px)));border-radius:24px 24px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom,0px));border-bottom:0}:root:not([data-layout="desktop"]) #detailPanel .detail-back{min-height:44px;font-size:14px;margin-bottom:4px}:root:not([data-layout="desktop"]) #detailPanel h2{font-size:25px}
}
@media(max-width:350px){:root:not([data-layout="desktop"]) .app-heading{font-size:23px}:root:not([data-layout="desktop"]) .app-heading span{max-width:200px}:root:not([data-layout="desktop"]) .wrap{padding-left:12px;padding-right:12px}:root:not([data-layout="desktop"]) .grid{gap:11px}:root:not([data-layout="desktop"]) .stat small{font-size:9px}:root:not([data-layout="desktop"]) .name{font-size:12px}:root:not([data-layout="desktop"]) .sectionhead h2{font-size:16px}:root:not([data-layout="desktop"]) .sectionhead span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* View selection stays within the phone screen even on a wide desktop canvas. */

.layout-picker{max-width:420px;margin:auto;display:flex;align-items:center;gap:6px}
.layout-label{font-size:10px;letter-spacing:.12em;color:#9f9f9f;font-weight:750;margin-right:6px}
.layout-picker button{flex:1;min-width:0;min-height:40px;font-size:12px;padding:8px 10px;background:transparent;border:1px solid transparent;border-radius:9px;color:#b6b6b6;font-weight:700}
.layout-picker button[aria-pressed="true"]{background:#323232;border-color:#ffffff24;color:#fff}
:root[data-layout="desktop"] .layout-canvas{width:100%;overflow-x:auto;overscroll-behavior-x:contain}
:root[data-layout="desktop"] .wrap{width:1140px;min-width:980px;max-width:calc(100% - 32px);margin-left:auto;margin-right:auto}
:root[data-layout="desktop"] .grid{grid-template-columns:repeat(6,minmax(0,1fr))}
:root[data-layout="desktop"] nav.views{display:flex;flex-wrap:nowrap}
:root[data-layout="desktop"] nav.views button{flex:1;padding:12px}
:root[data-layout="desktop"] .controls{grid-template-columns:minmax(0,1fr) 210px 160px}
:root[data-layout="desktop"] .controls input[type=search]{grid-column:auto}
:root[data-layout="mobile"] .wrap{padding:calc(24px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(110px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}:root[data-layout="mobile"] .top{margin-bottom:18px}:root[data-layout="mobile"] .eyebrow{margin-bottom:8px}:root[data-layout="mobile"] .app-heading{font-size:26px;gap:10px}:root[data-layout="mobile"] .app-heading span{max-width:230px}:root[data-layout="mobile"] .top p{font-size:13px;margin-top:10px}:root[data-layout="mobile"] .stats{gap:5px}:root[data-layout="mobile"] .stat{padding:10px 2px;border-radius:11px}:root[data-layout="mobile"] .stat b{font-size:23px}:root[data-layout="mobile"] .stat small{font-size:10px}:root[data-layout="mobile"] .progress{margin-bottom:18px}:root[data-layout="mobile"] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}:root[data-layout="mobile"] .item .content{height:76px;padding:10px 8px}:root[data-layout="mobile"] .name{font-size:13px;line-height:1.35}:root[data-layout="mobile"] .marker{font-size:10px}:root[data-layout="mobile"] .sectionhead h2{font-size:18px}:root[data-layout="mobile"] #detailBackdrop{align-items:flex-end;padding:0;background:#000b}:root[data-layout="mobile"] #detailPanel{max-width:none;width:100%;max-height:calc(100dvh - max(20px,env(safe-area-inset-top,0px)));border-radius:24px 24px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom,0px));border-bottom:0}:root[data-layout="mobile"] #detailPanel .detail-back{min-height:44px;font-size:14px;margin-bottom:4px}:root[data-layout="mobile"] #detailPanel h2{font-size:25px}

:root[data-layout="mobile"] .wrap{width:100%;max-width:480px;margin:auto}
:root[data-layout="mobile"] #detailPanel{max-width:480px}
:root[data-layout="mobile"] #detailBackdrop{justify-content:center}
:root[data-layout="mobile"] .legend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Catalog format labels and a live-color rewatch ribbon. */
.rewatch-banner{position:absolute;top:0;left:0;right:0;z-index:4;height:27px;background:var(--rewatched);color:var(--rewatch-ink,#000);display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:900;letter-spacing:.08em;box-shadow:0 2px 8px #0005;line-height:1;pointer-events:none}
.rewatch-banner span{font-size:14px}.item .marker.alt{top:39px}.item.has-rewatch .marker{top:34px}.item.has-rewatch .marker.alt{top:65px}
.stat small{white-space:normal;line-height:1.2;min-height:2.4em;display:flex;align-items:center;justify-content:center}
#detailPanel .format-label{display:inline-block;padding:3px 7px;border:1px solid currentColor;border-radius:6px;margin:2px 0;font-size:12px}
#detailPanel .continuity-note{font-size:12px;line-height:1.45;color:inherit;opacity:.9;margin:6px 0 12px}

:root[data-layout] .item .content{height:88px}
.stat[data-stat="watching"] b{color:var(--current)}

.stat[data-stat="watching"] b{color:var(--current)}
.prep-control{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px;border:1px solid #ffffff15;border-radius:11px;background:#141414;padding:2px 11px;min-height:46px}
.prep-control label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;color:#d3d3d3;cursor:pointer}.prep-control input{width:19px;height:19px;accent-color:#77dda0;margin:0}.prep-control a{font-size:11px;color:#a4c5b3;min-height:44px;display:flex;align-items:center;flex:none}
.prep-badge{position:absolute;top:7px;right:7px;z-index:3;display:flex;align-items:center;gap:4px;background:#0b2419ed;color:#a5f6c0;border:1px solid #85dba1;border-radius:7px;padding:4px 6px;font-size:9px;letter-spacing:.06em;font-weight:900;line-height:1}
.item.has-rewatch .prep-badge{top:34px}.item.has-prep .marker{top:42px}.item.has-prep .marker.alt{top:73px}.item.has-prep.has-rewatch .marker{top:69px}.item.has-prep.has-rewatch .marker.alt{top:100px}





.streaming-services{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}.streaming-chip{background:var(--overlay-control);border:1px solid currentColor;border-radius:7px;padding:5px 8px;font-size:12px;line-height:1.35;font-weight:700;max-width:100%;overflow-wrap:anywhere}
.stream-label{font-size:11px;font-weight:800;letter-spacing:.03em;margin-top:10px}.digital-options{margin:10px 0}.digital-options summary{color:inherit;font-size:12px;min-height:30px;padding:5px 0}.digital-options p{font-size:12px!important}


.bonus-context{font-size:12px;color:#a4a4a4;line-height:1.6;margin:0 0 16px}

/* Ribbons use each card's actual ring color; prep sits clear of all upper markers. */
.rewatch-banner{background:var(--card-ring);color:var(--card-ink)}
.item .prep-badge,.item.has-rewatch .prep-badge{top:auto;bottom:7px;right:7px}
.item.has-prep .marker{top:6px}.item.has-prep .marker.alt{top:39px}
.item.has-prep.has-rewatch .marker{top:34px}.item.has-prep.has-rewatch .marker.alt{top:65px}
#detailPanel button:disabled{opacity:.5;cursor:not-allowed}

.collection-section{margin:0 0 32px}.collection-head{display:flex;align-items:baseline;gap:10px;justify-content:space-between;margin-bottom:6px}.collection-head h3{font-size:19px;letter-spacing:-.02em;margin:0;color:#eaeaea}.collection-head span{font-size:11px;color:#a1a1a1;white-space:nowrap}.collection-note{font-size:12px;line-height:1.5;color:#979797;margin:0 0 14px}
@media(max-width:600px){.collection-head h3{font-size:17px}.collection-note{font-size:11px}}

#detailPanel .saga-label{font-weight:750}
.item{border-color:var(--card-ring,var(--unwatched))}

/* Completed rewatches share Original Watch color and use an icon, not a separate ring. */
.item.rewatched{border-color:var(--watched)}
.rewatch-complete-badge{position:absolute;bottom:7px;left:7px;z-index:3;width:30px;height:28px;display:grid;place-items:center;color:var(--watched);background:var(--watched-badge-bg,#000);border:1px solid currentColor;border-radius:7px;box-shadow:0 2px 6px #0005}
.legend-complete{display:grid;place-items:center;color:var(--watched);width:20px;height:20px;flex:none}
.stat[data-stat="rewatched"] b{color:var(--watched)}





.settings-shell{position:relative;z-index:120;width:100%;height:40px;max-width:1180px;margin:0 auto;pointer-events:none}.app-settings{position:absolute;right:16px;top:8px;margin:0;pointer-events:auto}.app-settings>summary{list-style:none;font-size:12px;font-weight:650;color:#b8b8b8;padding:8px 12px;background:#111111;border:1px solid #393939;border-radius:10px}.app-settings>summary::-webkit-details-marker{display:none}.settings-popover{position:absolute;right:0;top:42px;width:min(300px,calc(100vw - 32px));padding:18px;background:#191919;border:1px solid #585858;border-radius:14px;box-shadow:0 16px 50px #000b}.settings-popover>strong{font-size:13px}.settings-popover .layout-picker{margin-top:12px}.settings-popover .layout-label{display:none}.settings-popover p{font-size:12px;line-height:1.5;color:#bdbdbd}.settings-popover>button{width:100%;min-height:44px}:root[data-layout="mobile"] .settings-shell{max-width:480px}






.ui-icon{display:inline-block;width:18px;height:18px;flex:none;vertical-align:-3px;pointer-events:none}a .ui-icon{width:14px;height:14px}.marker .ui-icon{width:12px;height:12px;vertical-align:-2px}.detail-actions .ui-icon,.detail-back .ui-icon{margin-right:5px}
.jump-bar{
  --jump-bar-width:min(500px,calc(100% - 24px));
  --jump-bar-gap:5px;
  --jump-bar-padding:7px;
  --jump-bar-frame:calc(2 * (var(--jump-bar-padding) + 1px));
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:end;
  width:var(--jump-bar-width);
  max-width:500px;
  padding:var(--jump-bar-padding);
  gap:var(--jump-bar-gap);
}.jump-bar button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;line-height:1.25;min-height:50px;padding:9px 5px}.jump-bar .ui-icon{width:16px;height:16px}.back-to-top{background:#2e2e2e;color:#bf7bea;border:1px solid #6a6a6a;font-weight:750}.back-to-top:focus-visible{outline:3px solid #fff;outline-offset:3px}
.settings-shell,:root[data-layout="mobile"] .settings-shell{position:relative;top:auto;width:auto;max-width:none;height:auto;margin:12px 0 18px;display:flex;justify-content:flex-start;pointer-events:auto}.app-settings{position:relative;top:auto;right:auto;display:inline-block}.app-settings>summary{display:flex;align-items:center;gap:7px;padding:11px 16px;min-height:44px;font-size:13px}.settings-popover{left:0;right:auto;top:52px;width:min(320px,calc(100vw - 32px))}.settings-popover button{width:100%;min-height:44px}.settings-popover .layout-picker button{width:auto}

.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.currently-watching{margin:16px 0 18px;padding:18px;border:1px solid #4a4a4a;border-radius:18px;background:linear-gradient(120deg,#1d1d1d,#121212)}.currently-watching h2{font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:var(--current);margin:0 0 14px}.now-entry{display:flex;gap:16px;align-items:center;width:100%;padding:0;text-align:left;border:0;border-radius:10px;background:transparent;color:inherit}.now-entry:hover{background:#ffffff06}.now-entry img{display:block;flex:none;width:76px;height:114px;object-fit:cover;border-radius:9px;background:#272727;border:1px solid #ffffff20}.now-info{display:flex;flex-direction:column;gap:8px;min-width:0}.now-info strong{font-size:18px;line-height:1.3;color:#fff}.now-info>span{font-size:12px;line-height:1.4;color:#bebebe}.now-info .now-position{color:var(--current);font-weight:700;font-size:11px}.now-placeholder p{font-size:13px;line-height:1.6;color:#b7b7b7;margin:6px 0 0}.stat small{line-height:1.35}@media(max-width:350px){.currently-watching{padding:14px}.now-entry{gap:12px}.now-entry img{width:64px;height:96px}.now-info strong{font-size:16px}}

.bulk-tools{margin:16px 0 8px}.bulk-tools>button{min-height:44px;padding:10px 16px;font-size:13px}.bulk-tools>button[aria-pressed="true"]{background:#4b4b4b;border-color:#979797}#bulkPanel{margin-top:12px;padding:16px;background:#1b1b1b;border:1px solid #696969;border-radius:14px}#bulkPanel[hidden]{display:none!important}#bulkPanel label{display:block;margin-bottom:8px}#bulkPanel select{width:100%;min-height:46px}.bulk-buttons{display:grid;gap:10px}.bulk-buttons button{width:100%;min-height:46px;font-size:13px}#bulkPanel p{font-size:12px;line-height:1.6;color:#d4d4d4}#bulkResult:empty{display:none}.bulk-card-hint{font-size:10px;color:#cbcbcb;margin-top:8px;line-height:1.35}.bulk-edit .item .poster-open{cursor:crosshair}:root body.bulk-edit .item .content{height:106px}.bulk-edit .item:hover{outline:1px solid #aeaeae}

.marker-notice{width:min(400px,calc(100vw - 32px));padding:26px;border-radius:20px;border:1px solid #6e6e6e;background:#161616;color:#bf7bea;box-shadow:0 24px 80px #000b}.marker-notice::backdrop{background:#000b;backdrop-filter:blur(5px)}.marker-notice h2{font-size:22px;line-height:1.3;margin:0 0 16px}.marker-notice p{font-size:14px;line-height:1.65;color:#cecece;margin:0 0 24px}.marker-notice button{display:block;width:100%;min-height:48px;background:#404040;border-color:#838383}.bulk-tools button:disabled{opacity:.48;cursor:default}

.bulk-tools{margin:16px 0 20px}.bulk-tools>button{width:100%;font-weight:750;border-color:#767676;background:#242424;min-height:46px}.bulk-selection-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.bulk-selection-buttons button{min-height:44px;font-size:12px}#bulkSelectionCount{font-weight:750;color:#d3d3d3!important}.selection-indicator{position:absolute;z-index:5;right:10px;top:10px;width:28px;height:28px;border:2px solid #ebebeb;border-radius:7px;background:#131313cf;box-shadow:0 2px 8px #0008}.bulk-selected .selection-indicator{background:#999999;border-color:#d8d8d8}.bulk-selected .selection-indicator:after{content:'';position:absolute;width:7px;height:13px;left:8px;top:3px;border:solid #141414;border-width:0 3px 3px 0;transform:rotate(45deg)}.bulk-selected{outline:3px solid #b6b6b6!important;outline-offset:2px}.bulk-selected .bulk-card-hint{color:#dcdcdc;font-weight:800}

#bulkToggle{width:auto;min-height:46px;padding:10px 15px;font-size:13px;font-weight:750;border-color:#767676;background:#242424}#bulkToggle[aria-pressed="true"]{background:#4b4b4b}.bulk-tools[hidden]{display:none!important}
.item .marker.alt{top:6px}.item.has-prep .marker.alt{top:6px}.item.has-rewatch .marker.alt,.item.has-prep.has-rewatch .marker.alt{top:34px}
.currently-watching{--now-color:var(--order-accent,var(--guide-red))}
.currently-watching h2,.now-info .now-position{color:var(--now-color,var(--current))}
:root #detailPanel .checkrow input[type="checkbox"]{width:26px;height:26px;border-radius:6px;flex:0 0 26px}:root #detailPanel .checkrow input:checked{background:var(--watched);border-color:var(--watched)}:root #detailPanel .checkrow input:checked:after{border-color:var(--watched-ink,#fff);width:6px;height:11px;font-size:0}.selection-indicator{width:26px;height:26px;border-radius:6px}

.top.brand-header{display:grid;grid-template-columns:104px minmax(0,1fr);gap:4px 16px;align-items:center;margin-bottom:14px}.brand-copy{min-width:0}.brand-header .eyebrow{font-size:9px;line-height:1.4;letter-spacing:.13em;margin:0 0 8px}.brand-header .app-heading,:root[data-layout="mobile"] .brand-header .app-heading{display:block;margin:0;font-size:26px;line-height:1.12;letter-spacing:-.04em}.brand-header .app-heading span{display:block;max-width:230px}.brand-header .brand-copy p,:root[data-layout="mobile"] .brand-header .brand-copy p{font-size:12px;line-height:1.5;margin:9px 0 0;color:#b7b7b7}.brand-header .settings-shell,:root[data-layout="mobile"] .brand-header .settings-shell{grid-column:2;display:flex;justify-content:flex-end;width:auto;max-width:none;height:auto;margin:0}.brand-header .app-settings>summary{min-height:32px;padding:5px 8px;font-size:11px;gap:5px;border-color:#454545;background:#121212;color:#d0d0d0;border-radius:8px}.brand-header .app-settings>summary .ui-icon{width:14px;height:14px}.brand-header .settings-popover{left:auto;right:0;top:38px;width:min(320px,calc(100vw - 32px))}:root[data-layout="desktop"] .brand-header{grid-template-columns:120px minmax(0,1fr)}:root[data-layout="desktop"] .brand-header .app-heading{font-size:42px}:root[data-layout="desktop"] .brand-header .app-heading span{max-width:none}@media(max-width:350px){.top.brand-header{grid-template-columns:88px minmax(0,1fr);column-gap:12px}.brand-header .app-heading,:root[data-layout="mobile"] .brand-header .app-heading{font-size:23px}.brand-header .brand-copy p,:root[data-layout="mobile"] .brand-header .brand-copy p{font-size:11px}}

.brand-header .settings-shell,:root[data-layout="mobile"] .brand-header .settings-shell{justify-self:start;justify-content:flex-start}.brand-header .settings-popover{left:-120px;right:auto}:root[data-layout="desktop"] .brand-header .settings-popover{left:-136px}@media(max-width:350px){.brand-header .settings-popover{left:-100px}}
.stat b{color:#fff!important}.stat[data-stat="watched"] b{color:var(--watched)!important}#bar{background:var(--watched)}

.card-length{font-size:10px;line-height:1.4;margin-top:6px;color:#b1b1b1}:root[data-layout] .item .content{height:104px}:root[data-layout] body.bulk-edit .item .content{height:126px}

@media(max-width:350px){}

@media(max-width:350px){}

.item .content{flex-direction:column;justify-content:center;align-items:center;text-align:center}.card-length{width:100%;text-align:center;flex:none}

.top.brand-header{position:relative}.brand-header .settings-shell,:root[data-layout="mobile"] .brand-header .settings-shell{position:absolute;top:-12px;right:0;left:auto;display:block;width:auto;height:auto;margin:0;justify-self:auto}.brand-header .app-settings>summary{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:8px;border-radius:10px;background:#151515;border:1px solid #5d5d5d;color:#ececec}.brand-header .app-settings>summary .ui-icon{width:21px;height:21px}:root[data-layout] .brand-header .settings-popover{left:auto;right:0;top:48px;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}.settings-popover .legend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-popover .backup-panel input{width:100%;max-width:100%;min-width:0}.settings-popover .backup-panel,.settings-popover .legend{margin-top:12px}.settings-popover .backup-panel>summary,.settings-popover .legend>summary{font-size:13px;line-height:1.45}

/* Neutral charcoal theme; personal watch/marker colors remain independent. */
:root{color:#ececec;background:#212121}body,.layout-canvas{background:#212121!important;color:#ececec}.wrap{background:transparent}.top p,.brand-header .brand-copy p,:root[data-layout="mobile"] .brand-header .brand-copy p,.eyebrow{color:#b4b4b4}input,select,button{background:#303030;color:#ececec;border-color:#505050}button:hover{background:#3b3b3b}input::placeholder{color:#a0a0a0}.views button{background:#292929;border-color:#494949;color:#dedede}.views button[aria-pressed="true"],.layout-picker button[aria-pressed="true"]{background:#444;border-color:#666;color:#fff}.order-switch{background:#292929;border-color:#444}.order-switch button{background:transparent}.order-explainer summary,.order-explainer p{color:#b4b4b4}
.item{background:#292929}.item .content{background:#292929}.poster{background:linear-gradient(135deg,#333,#222)}.name{color:#ececec}.card-length{color:#b4b4b4}.stat{background:#292929;border-color:#444}.stat small{color:#c5c5c5}.progress{background:#3c3c3c}.prep-control{background:#292929;border-color:#444}.prep-control a,.foot{color:#b4b4b4}.currently-watching{background:#292929;border-color:#484848}.now-info>span,.now-placeholder p{color:#bcbcbc}.now-info strong{color:#ececec}.now-info .now-position{color:var(--now-color,var(--current))}
.brand-header .app-settings>summary{background:#303030;border-color:#555;color:#ececec}.settings-popover{background:#2f2f2f;border-color:#505050}.settings-popover p,.layout-label{color:#bcbcbc}.layout-picker button{color:#c5c5c5}summary{color:#ddd}.backup-panel,.legend{background:#292929;border-color:#494949}.settings-intro,.note{color:#bcbcbc}a{color:#dedede}
.marker-notice{background:#2f2f2f;border-color:#555;color:#ececec}.marker-notice p{color:#c7c7c7}.marker-notice button{background:#ececec;border-color:#ececec;color:#212121}.marker-notice button:hover{background:#fff;color:#171717}#export{background:#3c3c3c!important;border-color:#666!important}
#bulkToggle{background:#303030;border-color:#666;color:#ececec}#bulkToggle[aria-pressed="true"]{background:#444;border-color:#888}#bulkPanel{background:#292929;border-color:#555}#bulkPanel p,#bulkSelectionCount{color:#d0d0d0!important}.bulk-card-hint,.bulk-selected .bulk-card-hint{color:#d5d5d5}.bulk-selected{outline-color:#dedede!important}.selection-indicator{background:#252525e8;border-color:#ddd}.bulk-selected .selection-indicator{background:#ededed;border-color:#fff}.bulk-selected .selection-indicator:after{border-color:#212121}
.jump-bar{background:#2a2a2af2;border-color:#555}.back-to-top{background:#414141;color:#eee;border-color:#777}#detailPanel{--overlay-ink:#ececec!important;--overlay-control:#383838!important;background:#292929!important;color:#ececec!important;border-color:var(--overlay-color)}#detailPanel .detail-back,#detailPanel select,#detailPanel .detail-actions button{background:#333;color:#ececec;border-color:#777}

/* Near-black neutral surfaces with readable gray boundaries. */
:root{background:#0d0d0d;color:#f0f0f0}body,.layout-canvas{background:#0d0d0d!important;color:#f0f0f0}.item,.item .content,.stat,.currently-watching,.prep-control{background:#191919;border-color:#454545}.poster{background:linear-gradient(135deg,#242424,#121212)}input,select,button{background:#202020;border-color:#505050;color:#f0f0f0}button:hover{background:#303030}.views button{background:#1b1b1b;border-color:#464646}.views button[aria-pressed="true"],.layout-picker button[aria-pressed="true"]{background:#363636;border-color:#737373}.order-switch{background:#191919;border-color:#454545}.views button[aria-pressed="true"]{box-shadow:none}.brand-header .app-settings>summary{background:#202020;border-color:#666;color:#f4f4f4}.settings-popover,.marker-notice{background:#191919;border-color:#606060}.backup-panel,.legend{background:#171717;border-color:#444}#bulkPanel{background:#191919;border-color:#666}#bulkToggle{background:#222;border-color:#666}#bulkToggle[aria-pressed="true"]{background:#3b3b3b;border-color:#aaa}#detailPanel{background:#191919!important;color:#f0f0f0!important}#detailPanel .detail-back,#detailPanel select,#detailPanel .detail-actions button{background:#242424;border-color:#777;color:#f0f0f0}.jump-bar{background:#1c1c1cf5;border-color:#555}.back-to-top{background:#353535;border-color:#888;color:#fff}.bulk-selected{outline-color:#ececec!important}.bulk-edit .item:hover{outline-color:#aaa}.settings-popover p,.settings-intro,.note,.card-length,.foot{color:#c2c2c2}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#eee!important}::selection{background:#565656;color:#fff}
.progress{position:relative;height:25px;background:#303030;border-radius:12px;overflow:hidden}.progress #bar{position:absolute;left:0;top:0;height:100%;background:var(--watched)}.progress-count{position:relative;z-index:1;display:grid;place-items:center;height:25px;width:100%;font-size:12px;line-height:1;font-weight:850;color:#fff;text-shadow:0 1px 2px #000,1px 0 1px #000,-1px 0 1px #000}

#collapseBonus{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:20px 0 8px;background:#202020;border-color:#666;color:#f0f0f0;font-weight:700}


[hidden]{display:none!important}
#charactersPage{margin-top:26px;scroll-margin-top:20px}#charactersTitle,#entryLists>.section>.sectionhead>h2{font-size:28px}
#charactersTitle{margin:16px 0 8px;letter-spacing:-.03em;outline:none}#charactersIntro{font-size:14px;line-height:1.65;color:#bbb;margin:0 0 22px}#characterBack{min-height:42px;margin-bottom:6px;padding:10px 14px}#characterSearch{width:100%;min-width:0;min-height:48px;margin:0 0 22px}
.character-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px}.character-card{padding:0;overflow:hidden;border:1px solid #4d4d4d;background:#191919;display:flex;flex-direction:column;border-radius:15px;text-align:left;transition:transform .16s,border-color .16s}.character-card:hover{transform:translateY(-3px);border-color:#bbb;background:#252525}.character-card:focus-visible{outline:3px solid #fff;outline-offset:3px}.character-card>.character-name{display:flex;align-items:center;min-height:64px;padding:14px;font-size:15px;font-weight:750;line-height:1.3}
.character-spoiler-gate{padding:32px 26px;border:1px solid #666;border-radius:18px;background:#191919;max-width:650px;margin:28px auto;box-shadow:0 10px 50px #0005}.character-warning-icon{width:38px;height:38px;color:#f1c34e}.character-spoiler-gate h3{font-size:24px;margin:18px 0 14px}.character-spoiler-gate p{font-size:15px;line-height:1.7;color:#ccc}.character-remember{display:flex;align-items:flex-start;gap:12px;margin:26px 0;font-size:14px;line-height:1.5}.character-remember input{width:23px;height:23px;min-width:23px;margin:0;accent-color:#eee}.character-warning-actions{display:flex;gap:12px;flex-wrap:wrap}.character-warning-actions button{min-height:48px;flex:1;padding:12px 16px}.character-warning-actions .character-reveal{background:#eee;color:#161616;border-color:#eee;font-weight:750}.character-warning-actions .character-reveal:hover{background:#fff}
.character-list-intro{display:flex;align-items:center;gap:18px;margin:24px 0}.character-list-intro p{margin:6px 0;font-size:14px;line-height:1.6}.character-kicker{font-size:10px!important;font-weight:750;letter-spacing:.13em;color:#aaa}.character-help{color:#aaa;font-size:12px;line-height:1.7}.character-section-title{font-size:19px;margin:28px 0 16px}.character-titles{align-items:start}.character-entry{min-width:0}.character-entry-note{font-size:11px;line-height:1.55;color:#c0c0c0;margin:10px 4px 18px}.character-handoff{border-top:1px solid #777;margin:32px 0 20px;padding:22px 0 0}.character-handoff h3{font-size:21px;margin:0 0 8px;color:#eee}.character-handoff p{font-size:13px;line-height:1.7;color:#bbb}.character-expanded{margin:35px 0 24px;padding:18px;background:#151515;border:1px solid #4b4b4b;border-radius:14px}.character-expanded>summary{font-weight:750;font-size:17px;min-height:32px;line-height:1.5}.character-expanded>summary span{font-size:12px;color:#aaa;margin-left:8px}.character-expanded .collection-section{margin-top:24px}.character-bottom-back{width:100%;margin:28px 0 15px;min-height:46px}.character-setting{display:flex;gap:10px;align-items:flex-start;margin:16px 0;font-size:12px;line-height:1.6}.character-setting input{width:20px;min-width:20px;height:20px;margin-top:2px;accent-color:#ddd}
@media(max-width:600px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.character-card>.character-name{font-size:14px;min-height:58px;padding:12px}.character-spoiler-gate{padding:25px 20px}.character-warning-actions{flex-direction:column}.character-spoiler-gate h3{font-size:22px}.character-list-intro{gap:14px}.character-expanded{padding:14px}.character-list-intro p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.character-card{transition:none}.character-card:hover{transform:none}}



.release-countdown{--countdown-accent:#64d58b;margin:16px 0;background:#191919;border:1px solid #454545;border-radius:14px;padding:10px 12px}
.countdown-heading{min-width:0;flex:1}
.countdown-header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px}
.release-countdown h2{margin:0;font-size:18px;line-height:1.2;letter-spacing:-.025em;color:var(--countdown-accent)}
.countdown-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 7px;border:0;background:transparent;color:#bdbdbd;font-size:11px;flex:none}
.countdown-toggle svg{width:13px;height:13px;transition:transform .15s}.countdown-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.countdown-body{display:grid;grid-template-columns:64px minmax(0,1fr);gap:5px 12px;align-items:center;margin-top:3px}
.countdown-body[hidden]{display:none}
.countdown-poster{grid-column:1;grid-row:1/3;width:64px;height:96px;object-fit:cover;display:block;border-radius:7px;border:1px solid #ffffff20}
.countdown-label{margin:0 0 3px;font-size:9px;font-weight:800;letter-spacing:.12em;color:#aaa}
.countdown-units{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.countdown-unit{text-align:center;background:#111;border:1px solid #383838;border-radius:7px;padding:5px 1px}
.countdown-unit strong{display:block;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--countdown-accent)}
.countdown-unit span{display:block;font-size:9px;color:#aaa;margin-top:3px}
.countdown-date{grid-column:2;grid-row:2;margin:0;font-size:10px;color:#aaa;line-height:1.4}
@media(max-width:360px){.release-countdown h2{font-size:16px}.countdown-body{gap:5px 9px}.countdown-unit strong{font-size:20px}.countdown-unit span{font-size:8px}}
@media(min-width:760px){:root:not([data-layout="mobile"]) .countdown-body{grid-template-columns:56px minmax(180px,360px) minmax(0,1fr);gap:6px 14px}:root:not([data-layout="mobile"]) .countdown-poster{width:56px;height:84px;grid-row:1/3}:root:not([data-layout="mobile"]) .countdown-units{grid-column:2;grid-row:1/3;align-self:center}:root:not([data-layout="mobile"]) .countdown-date{grid-column:3;grid-row:1/3}:root:not([data-layout="mobile"]) .countdown-unit strong{font-size:25px}}
@media(prefers-reduced-motion:reduce){.countdown-toggle svg{transition:none}}

.release-countdown[data-release="secret-wars"]{--countdown-accent:#f1c34e}
.release-countdown[data-release="secret-wars"] h2{color:var(--countdown-accent)}

.countdown-actions{display:flex;align-items:center;gap:1px;flex:none}
.countdown-next{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:7px;border:0;background:transparent;color:#c7c7c7}
.countdown-next[hidden]{display:none}
.countdown-next svg{width:18px;height:18px}
.release-countdown[data-release="secret-wars"] .countdown-next svg{transform:rotate(180deg)}

/* The Marvel Brief: compact headlines and a separate editorial reading room. */
.news-meta{color:#a5a5a5;font-size:13px;line-height:1.6}.news-spoilers{display:inline-flex;align-items:center;gap:9px;font-size:13px;white-space:nowrap}.news-spoilers input{width:18px;height:18px;flex:0 0 18px;accent-color:#ddd}
.news-brief{margin:16px 0 22px;border:1px solid #3b3b3b;border-radius:15px;background:#171717;overflow:hidden}.brief-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #303030}.news-kicker{font-size:10px;font-weight:800;letter-spacing:.14em;color:#aaa}.brief-brand{font-weight:800;font-size:12px;letter-spacing:.09em}.brief-brand:before{content:"";display:inline-block;width:6px;height:6px;background:var(--guide-red);border-radius:50%;margin-right:8px}.brief-story{padding:15px 16px;min-height:100px;display:flex;flex-direction:column;justify-content:center;gap:7px;touch-action:pan-y}.brief-source{font-size:11px;color:#aaa}.brief-headline{color:#ededed;font-size:15px;font-weight:650;line-height:1.45;text-decoration:none}.brief-headline:hover{text-decoration:underline;text-underline-offset:3px}.brief-empty{font-size:13px;color:#aaa}.brief-bottom{display:flex;align-items:center;gap:8px;padding:0 12px 10px}.brief-bottom button{min-height:36px;padding:6px 10px;font-size:12px}.brief-bottom .brief-all{margin-left:auto}.brief-position{font-size:11px;color:#999;font-variant-numeric:tabular-nums}.brief-status{margin-left:7px;font-size:9px;color:#888;letter-spacing:.08em}
#newsPage{margin:30px 0;scroll-margin-top:20px}.news-page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #383838}.news-page-header h2{font-size:clamp(30px,5vw,44px);line-height:1.05;letter-spacing:-.045em;margin:10px 0 12px;outline:none}.news-page-header p{max-width:540px;margin:0;line-height:1.6;color:#aaa;font-size:14px}.news-page-controls{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.news-page-status{display:flex;gap:14px;align-items:center;color:#999;font-size:12px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.news-tile{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #343434;border-radius:16px;background:#171717;overflow:hidden;transition:border-color .15s}.news-tile:hover{border-color:#666}.news-tile-body{padding:19px;display:flex;flex-direction:column;flex:1}.news-tile-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:#999;line-height:1.5}.news-tile-meta span{font-weight:800;color:#d1d1d1;text-transform:uppercase;letter-spacing:.06em}.news-tile h3{font-size:19px;line-height:1.4;letter-spacing:-.015em;margin:13px 0 22px}.news-tile h3 a{color:#eee;text-decoration:none}.news-tile h3 a:after{content:"";position:absolute;inset:0}.news-tile h3 a:hover{text-decoration:underline;text-underline-offset:4px}.news-tile-link{font-size:11px;color:#aaa;margin-top:auto;padding-top:10px}.news-tile-guarded{background:repeating-linear-gradient(135deg,#191919,#191919 14px,#1c1c1c 14px,#1c1c1c 15px)}.news-guard{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 24px;flex:1}.news-guard svg{width:29px;height:29px;color:#a5a5a5;margin-bottom:20px}.news-guard h3{margin:12px 0 8px;font-size:24px}.news-guard p{max-width:240px;font-size:13px;line-height:1.6;color:#aaa;margin:0 0 23px}.news-reveal{min-height:42px;padding:10px 16px}.news-hide-story{z-index:1;position:relative;align-self:flex-start;margin-top:14px;font-size:11px}.news-page-note{border-top:1px solid #333;padding-top:18px;margin-top:25px;color:#888;font-size:12px;line-height:1.7}
@media(min-width:1000px){.news-tile:first-child{grid-column:span 2}.news-tile:first-child h3{font-size:25px}}
@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.news-grid{grid-template-columns:minmax(0,1fr);gap:16px}.news-page-header{flex-direction:column;gap:20px}.news-page-controls{align-items:flex-start;width:100%}.news-page-status{justify-content:space-between;width:100%}.brief-top{padding:12px}.brief-status{display:none}.brief-top .news-spoilers{font-size:12px}.news-tile h3{font-size:20px}.brief-story{min-height:116px}.brief-headline{font-size:14px}.brief-bottom{gap:5px}.brief-bottom button{min-height:40px}.brief-position{font-size:10px}}
@media(prefers-reduced-motion:reduce){.news-tile{transition:none}}
/* Compact color accents remain on neutral charcoal surfaces. */
.news-brief{--news-accent:var(--guide-red);margin:12px 0 16px;border-color:var(--guide-red);border-top:2px solid var(--news-accent);border-radius:12px}.brief-top{padding:7px 12px;min-height:44px}.brief-brand{color:#f4f4f4;font-size:11px}.brief-brand:before{background:var(--guide-red)}.brief-header-actions{display:flex;align-items:center;gap:12px}.brief-header-actions button:not(.countdown-toggle){padding:5px 9px;min-height:32px;font-size:11px;border-color:var(--guide-red);color:var(--guide-red)}.brief-top:has(+[hidden]){border-bottom:0}.brief-top:has(+[hidden]) .news-spoilers{display:none}.brief-story{padding:9px 12px;min-height:0;gap:4px}.brief-source{color:var(--news-accent);font-size:10px;font-weight:700}.brief-headline{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.brief-bottom{padding:3px 10px 8px;gap:6px}.brief-bottom button{min-height:32px;font-size:11px;padding:4px 9px}.brief-bottom .brief-all{color:#f4f4f4;border-color:var(--guide-red)}.brief-top .news-spoilers{font-size:11px}.brief-top .news-spoilers input{width:16px;height:16px;flex-basis:16px;accent-color:var(--guide-red)}
.news-page-header{margin-bottom:18px;padding-bottom:18px;border-bottom-color:var(--guide-red)}.news-page-header .news-kicker{color:#f1c34e}.news-page-header h2{font-size:clamp(28px,4vw,38px)}.news-grid{gap:16px}.news-tile{border-top:3px solid var(--news-accent,var(--guide-red));border-radius:12px}.news-tile-body{padding:15px}.news-tile-meta span{color:var(--news-accent,#f4f4f4)}.news-tile h3{font-size:17px;margin:10px 0 16px}.news-tile-link{color:var(--news-accent,#f4f4f4)}.news-guard{padding:24px 18px}.news-guard svg,.news-guard .news-kicker{color:#f1c34e}.news-guard h3{font-size:22px}.news-reveal{border-color:var(--guide-red);color:var(--guide-red)}
@media(min-width:1000px){.news-tile:first-child h3{font-size:22px}}
@media(max-width:560px){.brief-top{gap:5px;padding:6px 10px}.brief-brand{font-size:10px;letter-spacing:.04em}.brief-brand:before{margin-right:6px;width:5px;height:5px}.brief-header-actions{gap:7px}.brief-top .news-spoilers{gap:6px;font-size:10px}.brief-header-actions button:not(.countdown-toggle){min-height:36px}.brief-headline{-webkit-line-clamp:3;font-size:13px}.brief-bottom button{min-height:36px}.news-tile h3{font-size:18px}.news-page-header{gap:15px}.news-grid{gap:13px}}
/* A smaller, classic Marvel headline bar. */
.news-brief{margin:9px 0 12px;border-top:2px solid var(--guide-red)}.brief-top{min-height:34px;padding:3px 10px;background:var(--guide-red)}.brief-brand{font-size:10px;font-weight:900;letter-spacing:.07em;color:#fff}.brief-brand:before{border-radius:1px;background:var(--guide-red);width:5px;height:12px;vertical-align:-2px}.brief-status{font-size:8px;color:var(--guide-red)}.brief-header-actions{gap:9px}.brief-header-actions button:not(.countdown-toggle){min-height:28px;padding:3px 8px;background:var(--guide-red);border-color:var(--guide-red);color:#fff}.brief-top .news-spoilers input{accent-color:var(--guide-red)}.brief-story{padding:6px 10px;gap:3px}.brief-source{font-size:9px;color:#f1c34e}.brief-headline{font-size:13px;line-height:1.35;-webkit-line-clamp:1}.brief-bottom{padding:2px 8px 5px;gap:5px}.brief-bottom button{min-height:28px;padding:3px 8px;font-size:10px}.brief-bottom .brief-all{background:var(--guide-red);border-color:var(--guide-red);color:#fff}.brief-position{font-size:9px}.news-tile-meta span,.news-tile-link{color:var(--guide-red)}.news-reveal{border-color:var(--guide-red);background:var(--guide-red);color:#fff}.news-page-header .news-kicker{color:#f1c34e}.news-guard svg{color:var(--guide-red)}
@media(max-width:560px){.brief-top{min-height:36px;padding:3px 8px}.brief-brand{font-size:9px;letter-spacing:.03em}.brief-header-actions{gap:6px}.brief-top .news-spoilers{font-size:10px}.brief-header-actions button:not(.countdown-toggle){min-height:30px}.brief-headline{font-size:12px;-webkit-line-clamp:2}.brief-story{padding:5px 9px}.brief-bottom button{min-height:30px}.brief-source{font-size:9px}}
/* Minimal headline controls; rotation resumes after manual navigation. */
.news-brief{border-top:1px solid #3c3031}.brief-bottom{padding:0 8px 4px;gap:4px}.brief-bottom button{min-height:24px;padding:2px 6px;font-size:10px;line-height:1.2;border-radius:6px}.brief-bottom .brief-all{background:transparent;border-color:var(--guide-red);color:var(--guide-red)}.brief-position{font-size:9px}
@media(max-width:560px){.brief-bottom button{min-height:26px;padding:2px 7px;font-size:10px}.brief-bottom{padding-bottom:4px}}
/* Match the tracker widget surfaces; reserve red for accents and the action. */
.news-brief,.brief-top,.news-tile,.news-tile-guarded{background:#191919}.news-brief{border:1px solid #454545}.brief-top{border-bottom-color:#303030}.brief-header-actions button:not(.countdown-toggle){background:#202020;border-color:#505050;color:#f0f0f0}.brief-bottom .brief-all{background:var(--guide-red);border-color:var(--guide-red);color:#fff}.brief-bottom .brief-all:hover{background:var(--guide-red);border-color:var(--guide-red)}
/* Quiet, compact navigation beneath the headline. */
#newsStrip .brief-bottom{gap:7px;padding:5px 10px 7px;min-height:0}
#newsStrip .brief-bottom button{flex:none;width:22px;height:20px;min-width:0;min-height:0;padding:0;border-radius:4px;font-size:11px;line-height:1;border-color:#414141;background:#202020;box-shadow:none}
#newsStrip .brief-bottom .brief-all{width:auto;height:20px;padding:0 7px;font-size:9px;line-height:1;background:var(--guide-red);border-color:var(--guide-red);color:#fff}
#newsStrip .brief-bottom .brief-all:hover{background:var(--guide-red)}
#newsStrip .brief-position{font-size:9px;line-height:1}
/* Reserve a constant headline slot, regardless of title length. */
#newsStrip .brief-story{height:45px;min-height:45px;max-height:45px;box-sizing:border-box;justify-content:flex-start;overflow:hidden}
#newsStrip .brief-source{display:block;flex:0 0 12px;line-height:12px}
#newsStrip .brief-headline{flex:0 0 18px;height:18px;line-height:18px}
@media(max-width:560px){#newsStrip .brief-story{height:60px;min-height:60px;max-height:60px}#newsStrip .brief-headline{flex-basis:33px;height:33px;line-height:16.5px}}
html[data-hide-news] #newsStrip,html[data-hide-countdown] #releaseCountdown,html[data-hide-watching] #currentlyWatching{display:none!important}.clean-ui-settings{border-top:1px solid #3d3d3d;margin-top:16px;padding-top:14px}.clean-ui-settings summary{cursor:pointer;font-size:14px;font-weight:700}.clean-ui-option{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:9px 0;font-size:13px;min-height:38px}.clean-ui-option input{width:18px;height:18px;flex:0 0 18px;accent-color:#ddd}.clean-ui-master{font-weight:650;border-bottom:1px solid #393939}.clean-ui-choices{padding-top:5px}.settings-popover .clean-ui-status{font-size:11px;color:#aaa;margin:8px 0 0}.brand-header .settings-popover{max-height:calc(100dvh - 85px);overflow-y:auto;overscroll-behavior:contain}
html[data-page="news"] main.wrap>:not(#newsPage){display:none!important}html[data-page="news"] #newsPage{margin-top:0}html[data-page="news"] main.wrap{padding-top:20px}.news-back{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;margin:0 0 26px;font-size:12px}.news-back svg{width:17px;height:17px;flex:none}.jump-bar.jump-bar-single{
  grid-template-columns:minmax(0,1fr);
  width:calc((var(--jump-bar-width) - var(--jump-bar-frame) - 2 * var(--jump-bar-gap)) / 3 + var(--jump-bar-frame));
}#newsPage,#charactersPage{padding-bottom:75px}
.watch-time-line{margin:8px 0 12px;font-size:12px;color:#aaa}.watch-time-line summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:3px 2px}.watch-time-line summary::-webkit-details-marker{display:none}.watch-time-line summary>span:after{content:" ⓘ";font-size:11px;color:#888}.watch-time-line strong{font-weight:650;color:#e5e5e5;font-variant-numeric:tabular-nums}.watch-time-line p{font-size:11px;line-height:1.6;color:#aaa;margin:7px 2px;max-width:650px}
#totalWatchTime{color:var(--watched)}
/* A compact doorway to three watch paths. */
.brand-copy .guide-open{display:inline-flex;align-items:center;min-height:28px;margin-top:7px;padding:3px 8px;font-size:10px;font-weight:600;color:#bbb;border:1px solid #494949;border-radius:7px;background:transparent}.brand-copy .guide-open:hover{color:#fff;border-color:#888;background:#222}.start-guide{width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid #555;border-radius:20px;background:#111;color:#f4f4f4;overflow-y:auto;box-shadow:0 24px 90px #000c}.start-guide::backdrop{background:#000c;backdrop-filter:blur(5px)}.guide-heading{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.guide-eyebrow{font-size:10px;font-weight:750;color:#aaa;letter-spacing:.16em}.guide-heading h2{font-size:30px;line-height:1.12;letter-spacing:-.035em;margin:10px 0}.guide-heading p{font-size:14px;line-height:1.5;color:#aaa;margin:0}.guide-close{display:grid;place-items:center;flex:none;width:32px;height:32px;min-height:32px;padding:5px;background:transparent;border:1px solid #444;border-radius:8px}.guide-close svg{width:20px;height:20px}.guide-paths{display:grid;gap:14px}.guide-path{--path-color:var(--guide-red);display:flex;align-items:center;gap:22px;width:100%;text-align:left;padding:21px 22px 21px 18px;background:#1a1a1a;border:1px solid #4a4a4a;border-left:5px solid var(--path-color);border-radius:13px;color:#eee;min-height:0}.guide-path:hover{background:#222;border-color:var(--path-color)}.guide-timeline{--path-color:#bf7bea}.guide-characters{--path-color:#f1c34e}.guide-path-icon{display:grid;place-items:center;flex:none;width:66px;height:85px;border-right:1px solid #484848;padding-right:19px;color:var(--path-color)}.guide-path-icon svg{width:43px;height:43px}.guide-path-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.guide-path-number{font-size:14px;font-weight:800;color:var(--path-color)}.guide-path strong{font-size:21px;font-weight:800;line-height:1.15;letter-spacing:-.02em}.guide-path-badge{display:inline-block;color:var(--path-color);border:1px solid color-mix(in srgb,var(--path-color) 45%,transparent);background:color-mix(in srgb,var(--path-color) 12%,transparent);border-radius:20px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;margin:2px 0}.guide-path-description{font-size:12px;line-height:1.55;color:#c6c6c6}.guide-footnote{margin:18px 0 0;font-size:11px;color:#999;line-height:1.5}@media(max-width:560px){.start-guide{padding:20px 16px;border-radius:16px}.guide-heading{margin-bottom:18px}.guide-heading h2{font-size:25px}.guide-heading p{font-size:12px}.guide-path{gap:13px;padding:16px 13px;border-left-width:4px}.guide-path-icon{width:40px;height:76px;padding-right:11px}.guide-path-icon svg{width:29px;height:29px}.guide-path strong{font-size:18px}.guide-path-description{font-size:11px}.guide-path-number{font-size:12px}.guide-path-badge{font-size:9px;padding:4px 8px}.guide-paths{gap:11px}}
/* Watch-path accents tie the guide to its destinations. */
.order-help-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 14px}.order-help-row .order-explainer{flex:1;min-width:0;margin:0}.order-help-row .guide-open{flex:none;min-height:28px;padding:4px 8px;background:transparent;border:1px solid #484848;border-radius:7px;color:#bdbdbd;font-size:10px;line-height:1.4}.order-help-row .guide-open:hover{background:#242424;color:#fff}
.order-switch button[data-order="release"]{color:var(--guide-red);border-color:var(--guide-red)}.order-switch button[data-order="timeline"]{color:#bf7bea;border-color:#bf7bea}.order-switch button[data-order="release"][aria-pressed="true"]{background:var(--guide-red);border-color:var(--guide-red);color:#fff}.order-switch button[data-order="timeline"][aria-pressed="true"]{background:#bf7bea;border-color:#bf7bea;color:#bf7bea}
nav.views button[data-view="characters"]{color:#f1c34e;border-color:#f1c34e}nav.views button[data-view="characters"][aria-pressed="true"]{background:#f1c34e;border-color:#f1c34e;color:#f1c34e}#charactersTitle{color:#f1c34e}.character-kicker{color:#f1c34e!important}#characterSearch{border-color:#f1c34e}
/* Clear, vivid path colors and a dedicated guide entry. */
.guide-entry-row{display:flex;justify-content:flex-end;margin:6px 0 14px}.guide-entry-row .guide-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 15px;border-radius:9px;border:1px solid #858585;background:#303030;color:#fff;font-size:12px;font-weight:750;line-height:1.3;white-space:nowrap}.guide-entry-row .guide-open:before{content:"?";display:grid;place-items:center;border:1px solid #aaa;border-radius:50%;width:16px;height:16px;font-size:11px;font-weight:800}.guide-entry-row .guide-open:hover{background:#424242;border-color:#ccc}.order-help-row{display:block}.order-help-row .order-explainer{width:100%}
.order-switch button[data-order="release"]{color:var(--guide-red);border-color:var(--guide-red)}.order-switch button[data-order="timeline"]{color:#bf7bea;border-color:#bf7bea}.order-switch button[data-order="release"][aria-pressed="true"]{background:var(--guide-red);border-color:var(--guide-red);color:#fff}.order-switch button[data-order="timeline"][aria-pressed="true"]{background:#bf7bea;border-color:#bf7bea;color:#fff}
nav.views button[data-view="characters"]{color:#f1c34e;border-color:#f1c34e}nav.views button[data-view="characters"][aria-pressed="true"]{background:#f1c34e;border-color:#f1c34e;color:#f1c34e}.character-kicker{color:#f1c34e!important}#charactersTitle{color:#f1c34e}#characterSearch{border-color:#f1c34e}
:root{--guide-red:#f0141e;--guide-purple:#bf7bea;--guide-gold:#f1c34e}
.guide-entry-row{justify-content:center;margin:8px 0 12px}.guide-entry-row .guide-open{width:100%;min-height:42px;border-radius:10px;font-size:13px;background:#202020;border-color:#505050;text-align:center}
.order-switch{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.order-switch button{width:100%;min-width:0;padding:10px 5px;font-size:12px;line-height:1.25;white-space:normal}.order-switch button[data-order="release"]{color:var(--guide-red);border-color:var(--guide-red)}.order-switch button[data-order="timeline"]{color:var(--guide-purple);border-color:var(--guide-purple)}.order-switch button[data-view="characters"]{color:var(--guide-gold);border-color:var(--guide-gold)}.order-switch button[data-order="release"][aria-pressed="true"]{background:var(--guide-red);border-color:var(--guide-red);color:#fff}.order-switch button[data-order="timeline"][aria-pressed="true"]{background:var(--guide-purple);border-color:var(--guide-purple);color:#171717}.order-switch button[data-view="characters"][aria-pressed="true"]{background:var(--guide-gold);border-color:var(--guide-gold);color:#171717}html[data-page="characters"] .order-help-row{display:none}.guide-release{--path-color:var(--guide-red)}.guide-timeline{--path-color:var(--guide-purple)}.guide-characters{--path-color:var(--guide-gold)}#charactersTitle,.character-kicker{color:var(--guide-gold)!important}#characterSearch{border-color:var(--guide-gold)}.brief-brand:before{background:var(--guide-red)}.brief-source,.news-page-header .news-kicker{color:var(--guide-gold)}.brief-bottom .brief-all,.brief-bottom .brief-all:hover{background:var(--guide-red)!important;border-color:var(--guide-red)!important;color:#fff}.news-tile-meta span,.news-tile-link,.news-guard svg{color:var(--guide-red)}.news-reveal{background:var(--guide-red);border-color:var(--guide-red);color:#fff}.news-guard .news-kicker{color:var(--guide-gold)}
@media(max-width:350px){.order-switch{gap:4px}.order-switch button{font-size:11px;padding:10px 3px}}
#stats .stat:not([data-stat="watched"]) b{color:#fff}
.tracker-tools{display:grid;gap:10px;margin:4px 0 18px}.tracker-search input{display:block;width:100%;min-width:0;min-height:42px;padding:10px 12px;font-size:14px;border-radius:10px}.tracker-filters{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px}.tool-field{display:flex;flex-direction:column;gap:5px;min-width:0}.tool-field>span{font-size:10px;font-weight:650;letter-spacing:.025em;color:#aaa;padding-left:2px}.tool-field select{display:block;min-width:0;width:100%;min-height:42px;padding:9px 26px 9px 10px;border-radius:10px;font-size:13px;text-overflow:ellipsis}.tracker-tool-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.tracker-tool-actions .prep-control{border:0;background:transparent;padding:0 2px;margin:0;min-height:32px;min-width:0;flex:1}.tracker-tool-actions .prep-control label{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4}.tracker-tool-actions .prep-control input{width:17px;height:17px;flex:0 0 17px}.tracker-tool-actions #bulkToggle{flex:none;min-height:32px;padding:6px 10px;font-size:11px;border-radius:8px;border-color:#555}
@media(min-width:760px){:root:not([data-layout="mobile"]) .tracker-tools{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:end}:root:not([data-layout="mobile"]) .tracker-tool-actions{grid-column:1/-1}.tracker-tool-actions .prep-control{flex:initial}}
@media(max-width:400px){.tracker-filters{gap:8px}.tool-field select{font-size:12px;padding-left:8px}.tracker-tool-actions{gap:7px}.tracker-tool-actions .prep-control label{font-size:10px}}
.faq-open{position:absolute;right:0;top:36px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:8px;background:#151515;border:1px solid #5d5d5d;border-radius:10px;color:#ececec}.faq-open svg{width:21px;height:21px}.faq-open:hover{background:#292929;border-color:#999}.faq-dialog{width:min(600px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #555;border-radius:18px;background:#191919;color:#f0f0f0;overflow-y:auto;box-shadow:0 24px 90px #000c}.faq-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}.faq-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.faq-kicker{font-size:9px;letter-spacing:.13em;font-weight:750;color:#aaa}.faq-heading h2{font-size:27px;line-height:1.15;letter-spacing:-.03em;margin:9px 0 0}.faq-close{flex:none;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:5px;border:1px solid #555;border-radius:8px;background:transparent}.faq-close svg{width:20px;height:20px}.faq-questions{display:grid;gap:9px}.faq-question{border:1px solid #444;border-radius:10px;background:#202020;overflow:hidden}.faq-question summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;font-size:13px;line-height:1.45;font-weight:650;cursor:pointer;list-style:none}.faq-question summary::-webkit-details-marker{display:none}.faq-question summary:after{content:"+";color:#aaa;font-size:18px;font-weight:400;flex:none}.faq-question[open] summary:after{content:"−"}.faq-question[open] summary{border-bottom:1px solid #3a3a3a}.faq-question p{margin:0;padding:13px 14px 16px;font-size:12px;line-height:1.7;color:#bfbfbf}@media(max-width:560px){.faq-dialog{padding:20px 16px}.faq-heading h2{font-size:24px}.faq-question summary{font-size:12px;padding:12px}.faq-question p{font-size:12px}}

/* Character icon directory: compact emblems, generous tap targets. */
.character-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:26px 18px;padding:8px 2px 20px}
.character-card{border:0;border-radius:14px;background:transparent!important;align-items:center;text-align:center;padding:8px 4px;overflow:visible;gap:12px;min-height:168px}
.character-emblem{display:grid;place-items:center;width:112px;height:112px;flex:none;border:1px solid #3b3b3b;border-radius:50%;background:#1b1b1b;box-shadow:inset 0 0 0 5px #141414;transition:border-color .16s,background .16s}
.character-emblem img{display:block;width:66px;height:66px;overflow:visible}
.character-card:hover .character-emblem{border-color:var(--character-color);background:#242424}
.character-card>.character-name{display:block;min-height:38px;padding:0 3px;font-size:14px;font-weight:750;line-height:1.35;color:#fff}
.character-list-emblem{width:88px;height:88px;box-shadow:none}.character-list-emblem img{width:58px;height:58px}
@media(max-width:600px){.character-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px}.character-card{min-height:136px;gap:10px;padding:5px 0}.character-emblem{width:86px;height:86px}.character-emblem img{width:54px;height:54px}.character-card>.character-name{font-size:12px;min-height:33px;padding:0 2px}.character-list-emblem{width:76px;height:76px;flex:none}.character-list-emblem img{width:49px;height:49px}}
@media(max-width:330px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Gold accents for character watchlists and their entry controls. */
.character-title-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 14px}
.character-progress{flex:0 1 auto;min-width:0;font-size:11px;color:#ddd}
.character-progress progress{display:block;width:100%;height:5px;margin:0 0 4px;accent-color:var(--guide-gold)}
.character-progress progress[hidden]{display:none}
.character-progress progress::-webkit-progress-bar{background:#454545;border-radius:5px}
.character-progress progress::-webkit-progress-value{background:var(--guide-gold);border-radius:5px}
.character-progress progress::-moz-progress-bar{background:var(--guide-gold);border-radius:5px}
html[data-page=characters] #currentlyWatching{display:none}
html[data-page=characters] #detailPanel{--order-accent:var(--guide-gold)}
html[data-page=characters] :is(#characterContent,#detailPanel){
  --current:var(--guide-gold);
  --start-here:var(--guide-gold);
  --upnext:var(--guide-gold);
}
#charactersPage button[data-character-back]{border-color:var(--guide-gold);color:var(--guide-gold)}
#charactersPage button[data-character-back]:hover{background:color-mix(in srgb,var(--guide-gold) 15%,#292929)}
#detailPanel .detail-back[data-close]{
  border-color:var(--order-accent,var(--guide-red));
  color:var(--order-accent,var(--guide-red));
}
#detailPanel .detail-back[data-close]:hover{
  background:color-mix(in srgb,var(--order-accent,var(--guide-red)) 15%,#292929);
}

/* Chronicle 616: watch-status selection buttons */
#detailPanel .watch-status-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin:16px 0;
}
#detailPanel .watch-status-option{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:54px;
  padding:11px;
  border:2px solid var(--order-accent,var(--guide-red));
  border-radius:13px;
  background:#292929;
  color:#eee;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
#detailPanel .watch-status-option.selected{
  background:color-mix(in srgb,var(--order-accent,var(--guide-red)) 32%,#292929);
  color:#fff;
}
#detailPanel .watch-status-option:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
}
#detailPanel .watch-status-option .ui-icon{
  width:18px;
  height:18px;
}


/* Chronicle 616: rewatch controls */
#detailPanel .rewatch-controls{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:5px 10px;
  margin:8px 0;
  padding:9px 12px;
  border:1px solid #555;
  border-radius:13px;
  background:#292929;
}
#detailPanel .rewatch-controls .plan{
  grid-column:1 / -1;
  min-height:36px;
  padding:3px 0;
}
#detailPanel .rewatch-count-label{
  font-size:13px;
  font-weight:700;
}
#detailPanel input[data-rewatch-count]{
  width:76px;
  min-height:40px;
  padding:7px;
  border:1px solid #777;
  border-radius:9px;
  background:#191919;
  color:#fff;
  font:inherit;
  text-align:center;
}
#detailPanel input[data-rewatch-count]:focus-visible{
  outline:2px solid var(--watched);
  outline-offset:2px;
}


/* Chronicle 616: automatic rewatch interface */
#detailPanel .rewatch-count-value{
  font-size:21px;
  line-height:1.2;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
#detailPanel .rewatch-complete-btn{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:6px 10px;
  border:2px solid var(--order-accent,var(--guide-red));
  border-radius:12px;
  background:color-mix(in srgb,var(--order-accent,var(--guide-red)) 22%,#292929);
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
#detailPanel .rewatch-complete-btn .ui-icon{
  width:19px;
  height:19px;
}
#detailPanel .rewatch-undo-btn{
  grid-column:1 / -1;
  justify-self:center;
  min-height:32px;
  padding:3px 10px;
  border:0;
  background:transparent;
  color:var(--order-accent,var(--guide-red));
  font:inherit;
  font-size:12px;
  text-decoration:underline;
  cursor:pointer;
}
#detailPanel .rewatch-controls button:disabled{
  opacity:.4;
  cursor:not-allowed;
}
#detailPanel .rewatch-controls button:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}


/* History icon and completed rewatch count */
.item .rewatch-complete-badge{
  width:auto;
  min-width:38px;
  height:28px;
  padding:0 7px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  border-radius:8px;
  white-space:nowrap;
}
.item .rewatch-complete-badge svg{
  width:17px;
  height:17px;
  flex-shrink:0;
}
.item .rewatch-badge-count{
  font-size:13px;
  font-weight:800;
  line-height:1;
  font-variant-numeric:tabular-nums;
}


/* Chronicle 616: compact bottom-right poster badges */
.item .poster{
  position:relative;
}
.item .rewatch-complete-badge,
.item .prep-badge,
.item.has-rewatch .prep-badge{
  top:auto;
  bottom:7px;
  height:24px;
  min-height:24px;
  padding:0 6px;
  border-radius:6px;
  font-size:9px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  white-space:nowrap;
}
.item .rewatch-complete-badge{
  left:auto;
  right:7px;
  min-width:32px;
}
.item .prep-badge,
.item.has-rewatch .prep-badge{
  right:7px;
}
.item:has(.prep-badge) .rewatch-complete-badge{
  right:calc(14px + var(--prep-badge-width, 55px));
}
.item .rewatch-complete-badge svg{
  width:15px;
  height:15px;
}
.item .rewatch-badge-count{
  font-size:11px;
}


/* Chronicle 616: prevent poster badge overlap */
.item .poster{
  display:flex;
  flex-wrap:wrap;
  align-content:flex-end;
  justify-content:flex-end;
  gap:4px;
}
.item .rewatch-complete-badge,
.item .prep-badge,
.item.has-rewatch .prep-badge{
  position:relative;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  flex:0 0 auto;
  margin:0;
}
.item .rewatch-complete-badge{
  order:1;
}
.item .prep-badge,
.item.has-rewatch .prep-badge{
  order:2;
}


/* Chronicle 616: shared poster badge layout */
.item .poster{
  display:block;
  position:relative;
}
.item .poster-badge-group{
  position:absolute;
  right:7px;
  bottom:7px;
  z-index:5;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:5px;
  width:max-content;
  max-width:calc(100% - 14px);
  pointer-events:none;
}
.item .poster-badge-group:empty{
  display:none;
}
.item .poster-badge-group .rewatch-complete-badge,
.item .poster-badge-group .prep-badge,
.item.has-rewatch .poster-badge-group .prep-badge{
  position:static;
  inset:auto;
  order:initial;
  flex:0 0 auto;
  margin:0;
  height:24px;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}


/* Chronicle 616: compact Needs Rewatch corner ribbon */
.item .rewatch-banner{
  position:absolute;
  top:7px;
  right:0;
  left:auto;
  width:auto;
  height:25px;
  padding:0 9px 0 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  background:var(--rewatched);
  color:var(--rewatch-ink,#000);
  border-radius:5px 0 0 5px;
  box-shadow:0 2px 7px #0008;
  font-size:9px;
  font-weight:900;
  letter-spacing:.045em;
  white-space:nowrap;
  z-index:6;
}
.item .rewatch-banner svg{
  width:12px;
  height:12px;
  flex-shrink:0;
}
.item .rewatch-banner::after{
  content:"";
  position:absolute;
  top:100%;
  right:0;
  border-top:5px solid color-mix(in srgb,var(--rewatched) 55%,#000);
  border-left:5px solid transparent;
}
.item.has-rewatch .marker,
.item.has-prep.has-rewatch .marker{
  top:6px;
}
.item.has-rewatch .marker.alt,
.item.has-prep.has-rewatch .marker.alt{
  top:39px;
}


/* Chronicle 616: align journey marker with rewatch ribbon */
.item.has-rewatch .marker:not(.alt){
  top:7px;
}


/* Chronicle 616: matching journey badge shadows */
.item .marker,
.item .marker.alt{
  box-shadow:0 2px 7px #0008;
}


/* Chronicle 616: Up Next journey ring and badge */
.item.upnext:not(.current):not(.detour){
  border-color:var(--upnext);
  box-shadow:0 0 0 2px var(--upnext),0 0 18px var(--upnext);
}
.item .marker.upnext-marker{
  top:7px;
  left:7px;
  background:var(--upnext);
  color:var(--upnext-ink,#000);
  box-shadow:0 2px 7px #0008;
}


/* Start Here is the first title in a fresh journey. */
.item.start-here{
  border-color:var(--start-here);
  box-shadow:0 0 0 2px var(--start-here),0 0 18px var(--start-here);
}
.item .marker.start-here-marker{
  background:var(--start-here);
  color:var(--start-here-ink);
}

.item .marker.upcoming-marker{top:auto;bottom:7px;left:auto;right:7px;background:#252948;color:#fff;border:1px solid #b3bcff}
.item .poster-badge-group:has(.skipped-badge){flex-wrap:wrap}
.item .skipped-badge{
  display:inline-flex;
  align-items:center;
  flex:none;
  height:24px;
  padding:0 5px;
  border:1px solid #a9a9a9;
  border-radius:6px;
  background:#272727;
  color:#fff;
  font-size:9px;
  font-weight:800;
  line-height:1;
}
#journeySkipDialog button+button{margin-top:8px}

/* Compact journey action buttons */
.journey-start-btn,
.journey-undo-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto !important;
  max-width: 100%;
  min-height: 0 !important;
  padding: 8px 13px !important;
  margin: 10px 0 0 !important;
  border-radius: 9px;
  font-size: 12px !important;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  vertical-align: middle;
  flex: 0 0 auto;
}

.journey-start-btn {
  margin-right: 8px !important;
}

.journey-queue-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:9px;
}
.journey-queue-actions :is(.journey-start-btn,.journey-undo-btn){
  min-height:36px !important;
  padding-block:5px !important;
  font-size:11px !important;
  margin:0 !important;
}
.journey-queue-actions:has(.journey-undo-btn) :is([data-journey-start],.journey-undo-btn){
  flex:0 0 min(108px,calc((100% - 6px) / 2));
  min-width:0;
  padding-inline:5px !important;
  white-space:normal;
}
.journey-widget-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
}
.currently-watching .journey-widget-heading h2{margin:0}
.journey-widget-heading .journey-skip-btn{
  flex:none;
  min-height:36px;
  padding:5px 10px;
  border:1px solid #6b6b6b;
  background:transparent;
  color:#ddd;
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
}
.journey-widget-heading .journey-skip-btn:hover{background:#303030}

.journey-undo-btn .ui-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

#detailPanel .detail-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:10px 0 0;
}
#detailPanel .detail-header-copy{grid-column:1;grid-row:1;min-width:0}
#detailPanel .detail-header h2{margin:0 0 6px;overflow-wrap:anywhere}
#detailPanel .detail-header .detail-poster{
  grid-column:2;
  grid-row:1;
  float:none;
  width:clamp(70px,19vw,84px);
  height:auto;
  aspect-ratio:2 / 3;
  margin:0;
}
#detailPanel .detail-header .detail-meta{margin:0;line-height:1.45}
#detailPanel .detail-header .continuity-note{margin:5px 0}
#detailPanel .entry-runtime{
  margin:6px 0 0;
  color:inherit;
  font-size:12px;
}
#detailPanel .entry-runtime strong{margin-right:8px}
#detailPanel .entry-info{margin:8px 0 0}
#detailPanel .entry-info>summary{
  margin:0 0 3px;
  padding:4px 0;
  color:inherit;
  font-size:12px;
  cursor:pointer;
}
.entry-info[open] .entry-info-show,.entry-info:not([open]) .entry-info-hide{display:none}
#detailPanel .entry-info:not([open])>.entry-info-rows{display:none}
#detailPanel .entry-info-rows{
  padding:2px 0 7px;
  border-bottom:1px solid #ffffff24;
  font-size:12px;
  line-height:1.45;
}
#detailPanel .entry-synopsis p{
  margin:0;
  color:inherit;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
#detailPanel .entry-synopsis a{
  display:inline-block;
  margin-top:3px;
  color:inherit;
  text-underline-offset:2px;
}
#detailPanel .entry-info-rows>.streaming-info{margin:6px 0 0}
#detailPanel .entry-info-rows>.streaming-info>summary{
  margin:0;
  padding:2px 0;
  color:inherit;
  font-size:12px;
  cursor:pointer;
}
#detailPanel .entry-info-preview{margin-left:6px}
#detailPanel .entry-info-rows>.streaming-info[open] .entry-info-preview{display:none}

/* Filter menus follow the active watch order. */
:is(#filter,#collectionFilter,#bulkStatus){
  accent-color:var(--order-accent,var(--guide-red));
}
:is(#filter,#collectionFilter,#bulkStatus):focus-visible{
  outline:2px solid var(--order-accent,var(--guide-red));
  outline-offset:2px;
}
@supports (appearance:base-select){
  :is(#filter,#collectionFilter,#bulkStatus),
  :is(#filter,#collectionFilter,#bulkStatus)::picker(select){
    appearance:base-select;
  }
  :is(#filter,#collectionFilter,#bulkStatus)::picker(select){
    position-area:block-end span-inline-end;
    position-try-fallbacks:none;
    min-block-size:0;
    overflow-y:auto;
    background:#202020;
    color:#f0f0f0;
    border:1px solid var(--order-accent,var(--guide-red));
    border-radius:9px;
  }
  :is(#filter,#collectionFilter,#bulkStatus){
    display:flex;
    align-items:center;
    gap:6px;
    padding-inline-end:9px;
  }
  :is(#filter,#collectionFilter,#bulkStatus)::picker-icon{
    flex:none;
    margin-inline-start:auto;
    font-size:.85em;
  }
  :is(#filter,#collectionFilter,#bulkStatus) option{padding:8px 12px}
  :is(#filter,#collectionFilter,#bulkStatus) option:is(:checked,:hover,:focus-visible){
    background:color-mix(in srgb,var(--order-accent,var(--guide-red)) 36%,#202020);
    box-shadow:inset 3px 0 var(--order-accent,var(--guide-red));
    color:#fff;
  }
}

/* Keep the entry frame inside the viewport and scroll its contents. */
#detailBackdrop{
  display:grid;
  grid-template:minmax(0,1fr) / minmax(0,1fr);
}
#detailBackdrop > #detailPanel{
  align-self:center;
  justify-self:center;
  min-width:0;
  border-bottom:3px solid var(--overlay-color);
}
@media(max-height:720px){
  :root[data-layout] #detailBackdrop > #detailPanel{padding:14px}

  #detailPanel .watch-status-options{margin:12px 0}
}
/* Chronicle 616 wordmark with room for the Settings and FAQ controls. */
:root[data-layout] .top.brand-header{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:10px;
}
.brand-header .header-actions{display:grid;gap:8px;justify-items:end}
:root[data-layout] .brand-header .header-actions :is(.settings-shell,.faq-open){position:static;grid-column:1}
.brand-header .brand-copy{--brand-logo-width:min(290px,100%)}
.brand-header .chronicle-brand-logo{display:block;width:var(--brand-logo-width);height:auto}
:root[data-layout] .brand-header .brand-copy :is(.eyebrow,p){
  margin-inline-start:calc(var(--brand-logo-width) * 21 / 702);
}
#cloudSaveDialog{width:min(480px,calc(100vw - 28px))}
#cloudSaveDialog .cloud-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#cloudSaveDialog .cloud-actions button{padding:8px 12px}
#cloudSaveDialog #cloudConflict{margin-top:12px}
/* Watch history and side trips use white. The main journey follows its order. */
:root{
  --watched:#d6d6d6;
  --unwatched:#454545;
  --rewatched:#d6d6d6;
  --sidequest:#d6d6d6;
  --current:var(--order-accent,var(--guide-red));
  --upnext:var(--current);
  --start-here:var(--current);
  --current-ink:#000;
  --upnext-ink:#000;
  --start-here-ink:#000;
  --watched-ink:#000;
  --rewatch-ink:#000;
  --watched-badge-bg:#000;
  --card-ink:#000;
}
.item[data-i]{border-color:var(--card-ring)}
.item .marker.alt{background:var(--current);color:var(--current-ink)}
.item .poster-badge-group .original-watch-badge{width:24px;padding:0}
.item .poster-badge-group .original-watch-badge .ui-icon{width:16px;height:16px}
 .upcoming-divider{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin:12px 0 2px;font-size:14px;color:var(--order-accent,var(--guide-red))}
.upcoming-divider::after{content:"";height:1px;flex:1;background:currentColor;opacity:.4}
.upcoming-release{margin-top:4px;font-size:11px;color:#c2c2c2}
#settingsDialog .settings-group{margin:0;padding:0}
#settingsDialog .settings-group+.settings-group{margin-top:18px;padding-top:14px;border-top:1px solid #ffffff22}
#settingsDialog .settings-group h3{margin:0 0 8px;font-size:14px;line-height:1.4}
#settingsDialog .clean-ui-settings{margin-top:8px;padding-top:0;border-top:0}
#settingsDialog .backup-panel label[for="import"]{display:block;margin:10px 0 5px;font-size:12px}
#charactersPage .character-entry{--current:var(--guide-gold)}
.tracker-reset-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.tracker-reset-actions button {
  min-height: 44px;
  padding: 8px 12px;
  line-height: 1.25;
  white-space: normal;
}
#openFinalTrackerReset {
  grid-column: 1 / -1;
}
.tracker-reset-actions .reset-destructive {
  background: #343434;
  border-color: #888;
  color: #f4f4f4;
}
.tracker-reset-actions .reset-destructive:hover {
  background: #454545;
  border-color: #aaa;
}
.tracker-reset-actions button:focus-visible {
  outline: 2px solid #f4f4f4;
  outline-offset: 2px;
}
#trackerResetError:empty {
  margin: 0;
}
.foot a,#cloudSaveDialog .settings-intro a{color:#e4e4e4;text-decoration:underline;text-underline-offset:.18em}.foot nav{margin-top:.65rem}
@media (max-width:480px) {
  #jumpBar { width:calc(100% - 16px); gap:4px; }
  #jumpBar button {
    gap:4px;
    padding-inline:4px;
    font-size:11px;
    white-space:nowrap;
  }
  #jumpBar .ui-icon { width:12px; height:12px; flex:none; }
}
@media (max-width:360px) {
  #jumpBar { grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,1fr)); }
}

@media (max-width:480px) {
  #jumpBar:has(#jumpCurrent:not([data-jump-state="marker"])) {
    grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));
  }
}
@media (max-width:360px) {
  #jumpBar:has(#jumpCurrent:not([data-jump-state="marker"])) button {
    gap:3px;
    font-size:10px;
  }
}
