/* HEXODRAMA v6.4 — episode pages, no jump-scroll, mobile-friendly */
.hexo-ep-browser{min-width:0}
.hexo-ep-range-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.hexo-ep-range-title{font-size:12px;font-weight:750;color:#d7d6dd}
.hexo-ep-page-info{font-size:11px;color:#a6a4b0;font-weight:650}
.hexo-ep-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.hexo-ep-tab{padding:9px 13px;border:1px solid #36343f;background:#191920;color:#d8d7df;border-radius:9px;font-size:12px;font-weight:750;min-width:72px;min-height:40px;transition:background .15s,border-color .15s}
.hexo-ep-tab:hover{background:#29212a;border-color:#9c3747}
.hexo-ep-tab.is-active,.hexo-ep-tab[aria-pressed=true]{background:#b9142c;border-color:#e9445c;color:#fff}
.hexo-ep-tab:focus-visible,.hexo-ep-link:focus-visible,.hexo-watch-prevnext:focus-visible,.hexo-watch-select:focus-visible{outline:2px solid #ff7b90;outline-offset:2px}
.hexo-ep-page[hidden]{display:none!important}
.hexo-ep-link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:9px;overflow-anchor:none}
.hexo-ep-link{display:flex;min-height:43px;gap:9px;align-items:center;justify-content:flex-start;padding:9px 12px;background:#1b1a22;border:1px solid #34323e;color:#eeeef2;border-radius:10px;font-size:12px;font-weight:750;transition:background .15s,border-color .15s;min-width:0}
.hexo-ep-link:hover{background:#38202a;border-color:#e33c52}
.hexo-ep-link svg{width:15px;height:15px;color:#f44c62}
.hexo-ep-link span:not(.hexo-ep-now){white-space:nowrap}
.hexo-ep-link.is-current{background:#491d29;border-color:#eb4159;color:#fff;box-shadow:inset 3px 0 0 #ed334c}
.hexo-ep-now{margin-left:auto;font-size:10px;color:#ff9aa9;white-space:nowrap}
.hexo-ep-total{color:#aaa9b4;font-size:12px;font-weight:600}
.hexo-ep-browser--watch{padding:15px 14px 18px}
.hexo-ep-browser--watch .hexo-ep-range-header{gap:6px}
.hexo-ep-browser--watch .hexo-ep-range-title{font-size:11px}
.hexo-ep-browser--watch .hexo-ep-tabs{gap:6px}
.hexo-ep-browser--watch .hexo-ep-tab{min-width:60px;padding:8px;font-size:11px}
.hexo-ep-browser--watch .hexo-ep-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.hexo-ep-browser--watch .hexo-ep-link{min-height:41px;padding:9px 8px;gap:5px;font-size:11px}
.hexo-ep-browser--watch .hexo-ep-link svg{width:13px;height:13px}
.hexo-ep-browser--watch .hexo-ep-now{font-size:9px}
/* Watching controls are above the player, so episode switching doesn't require a long scroll */
.hexo-watch-quickbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 15px;border-radius:12px;background:#17161e;border:1px solid #35323e;margin-bottom:12px}
.hexo-watch-now{display:flex;flex-direction:column;gap:2px}
.hexo-watch-now>span{font-size:9px;letter-spacing:.10em;font-weight:800;color:#ff647a}
.hexo-watch-now strong{font-size:14px;color:#fff;white-space:nowrap}
.hexo-watch-now small{font-size:11px;color:#a8a5af;font-weight:600}
.hexo-watch-quick-controls{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.hexo-watch-prevnext{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-height:39px;padding:8px 10px;border:1px solid #45414d;border-radius:9px;color:#f0eef2;background:#25232c;font-size:11px;font-weight:800;white-space:nowrap}
.hexo-watch-prevnext:hover:not(.is-disabled){border-color:#eb4258;background:#43232d}
.hexo-watch-prevnext svg{width:13px;height:13px}
.hexo-watch-prevnext .hexo-icon-left{transform:rotate(180deg)}
.hexo-watch-prevnext.is-disabled{opacity:.35}
.hexo-watch-select{border:1px solid #e03d53!important;background:#281920!important;min-height:39px;max-width:155px;min-width:112px;font-size:12px;font-weight:750;color:#fff!important;padding:7px 9px!important;cursor:pointer}
.hexo-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0!important}
.watch-episodes{position:sticky;top:90px}
@media(max-width:980px){.watch-episodes{position:static}.hexo-ep-browser--watch .hexo-ep-link-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:740px){.hexo-ep-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hexo-ep-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:2px 1px 7px}.hexo-ep-tab{flex:0 0 auto}.hexo-watch-quickbar{padding:10px 11px;gap:8px}.hexo-watch-now{width:100%}.hexo-watch-quick-controls{width:100%;display:grid;grid-template-columns:auto minmax(100px,1fr) auto;gap:6px}.hexo-watch-prevnext{padding:8px 6px}.hexo-watch-prevnext span{font-size:10px}.hexo-watch-select{width:100%;min-width:0;max-width:100%;font-size:11px}.hexo-ep-browser--watch .hexo-ep-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.hexo-ep-link-grid,.hexo-ep-browser--watch .hexo-ep-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hexo-ep-link{font-size:11px;padding:9px}.hexo-ep-link span:not(.hexo-ep-now){white-space:normal}.hexo-watch-quickbar{margin-top:0}.hexo-watch-prevnext{font-size:10px}.hexo-watch-prevnext span{display:none}.hexo-watch-prevnext{width:40px}.hexo-watch-quick-controls{grid-template-columns:40px minmax(110px,1fr) 40px}}
@media(prefers-reduced-motion:reduce){.hexo-ep-tab,.hexo-ep-link{transition:none}}
