/* Native anchor equivalents of the preserved button rules; no visual redesign. */
.desktop-nav a{padding:0;position:relative;color:#b9afab;font-weight:500;display:flex;align-items:center}.desktop-nav a.active{color:#fff}
.tab-track a{position:relative;flex-shrink:0;color:#a69b97;padding:0 14px;font-size:15px;font-weight:500;display:flex;align-items:center}.tab-track a.active{color:#fff}
.deck-actions .watch{height:48px;border-radius:30px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700}
@media(max-width:1200px) and (min-width:761px){.desktop-nav a:nth-last-child(-n+2){display:none}}
@media(max-width:760px){.tab-track a{padding:0 11px;font-size:15px}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8a8793;font-size:12px;line-height:1.5;padding:0}.mobile-nav a.active{color:#ff3e6b}.deck-actions .watch{flex:1;width:auto;font-size:13px}}

/* Video is an inert overlay; poster geometry, text and age badges stay intact. */
.card-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0;z-index:0;border-radius:inherit}
.poster-art>.new-ribbon{z-index:1}

/* Preserve chapter control styling on native Go links. */
.episode-grid a{height:72px;border:1px solid #332a2d;border-radius:12px;background:#1a1618;display:flex;flex-direction:column;align-items:center;justify-content:center}
.episode-list a{border:1px solid #36292e;background:#191516;border-radius:12px;padding:14px 18px;width:100%;display:grid;grid-template-columns:32px minmax(0,1fr) 65px;gap:24px;text-align:left;align-items:center}
@media(max-width:760px){.episode-grid a{height:62px;border-radius:10px}
.episode-list a{padding:12px 10px;grid-template-columns:22px minmax(0,1fr) 44px;gap:9px}}
.episode-grid a{height:59px}
.episode-list a{grid-template-columns:32px minmax(0,1fr);gap:12px 14px;padding:14px 12px}
.episode-list a>span{grid-column:2;grid-row:1}}
@media(max-width:760px){.mobile-nav{grid-template-columns:repeat(3,1fr)}}
.series-columns{grid-template-columns:minmax(0,1fr)}.memory-favorite{min-width:0}.memory-favorite>.poster{width:100%;max-width:100%}.series-actions{flex-wrap:wrap}

/* Paint on the frame: broken inline images may shrink to their alt text. Keep image geometry and diagnostics intact. */
:is(.deck-card,.poster-art,.continue-art,.shelf-poster):has(>img:is([data-content-cover],[data-image-state]):not([data-image-state="ready"])),img.series-cover:is([data-content-cover],[data-image-state]):not([data-image-state="ready"]){background:#181517 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22brand-red%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FF5A72%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23C8102E%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M30%2014%20H45%20L33%2086%20H18%20Z%22%20fill%3D%22url%28%23brand-red%29%22%2F%3E%3Cpath%20d%3D%22M67%2014%20H82%20L70%2086%20H55%20Z%22%20fill%3D%22url%28%23brand-red%29%22%2F%3E%3Cpath%20d%3D%22M22.79%2057.27%20L78.57%2034.58%20L76.92%2044.47%20L21.14%2067.16%20Z%22%20fill%3D%22%23f2eeec%22%2F%3E%3C%2Fsvg%3E") center/44% auto no-repeat}
/* Replace unresolved bitmap rendering, not its alt/title or source, so broken-image UI never covers the fallback. */
img:is([data-content-cover],[data-image-state]):not([data-image-state="ready"]){content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'/%3E")}
