/* =============================================================
   watch.css — watch / episode page (/watch/{slug}/ep-{n}/)
   ============================================================= */
.watch-page { padding-top: 1.5rem; }
.watch-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 992px) { .watch-layout { grid-template-columns: minmax(0,1fr); } }
.watch-main { min-width: 0; }

/* player placeholder (no streaming) */
.player { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #0b0b12; }
.player::before { content: ""; position: absolute; inset: 0; background: var(--poster) center/cover no-repeat; filter: blur(6px) brightness(.4); transform: scale(1.1); }
.player-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.player-play { width: 72px; height: 72px; border-radius: 50%; border: none; background: rgba(255,186,222,.95); color: #111; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.5); transition: transform .2s ease, background .2s ease; }
.player-play:hover { background: var(--accent); transform: scale(1.08); }
.player-play svg { width: 30px; height: 30px; margin-left: 3px; }
.player-caption { font-size: 13px; color: rgba(255,255,255,.85); }
.player-caption strong { color: var(--accent); }

/* server bar */
.player-bar { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--surface); border-radius: 10px; padding: 12px 16px; margin-top: 12px; }
.server-group { display: flex; align-items: center; gap: 8px; }
.server-label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); }
.server-label svg { width: 14px; height: 14px; }
.server-btn { padding: 6px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); background: var(--surface-2); color: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.server-btn:hover { border-color: rgba(255,186,222,.4); color: #fff; }
.server-btn.is-active { background: var(--accent); border-color: var(--accent); color: #111; }

/* episode head + nav */
.watch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.watch-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.watch-sub { font-size: 13px; color: rgba(255,255,255,.55); }
.filler-tag { color: var(--star); font-weight: 600; }
.watch-nav { display: flex; gap: 8px; }
.wn-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; transition: all .2s ease; }
.wn-btn svg { width: 14px; height: 14px; }
.wn-btn:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.wn-btn.is-disabled { opacity: .4; pointer-events: none; }
.watch-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.65); margin-top: 16px; }

/* episode rail */
.watch-side { align-self: start; }
.wep-card { background: var(--surface); border-radius: 12px; padding: 18px; }
.wep-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wep-head .side-h { font-size: 1rem; font-weight: 600; color: #fff; margin: 0; }
.wep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px,1fr)); gap: 8px; max-height: 320px; overflow-y: auto; }
.wep-tile { display: flex; align-items: center; justify-content: center; height: 40px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; transition: all .2s ease; }
.wep-tile:hover { background: rgba(255,186,222,.18); color: #fff; }
.wep-tile.is-current { background: var(--accent); border-color: var(--accent); color: #111; }
.wep-tile.ep-filler { color: var(--star); }
.wep-tile.is-hidden { display: none; }

.wep-anime { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 12px; padding: 14px; margin-top: 16px; }
.wep-anime img { width: 54px; height: 76px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.wep-anime-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.wep-anime-meta { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.wep-anime-link { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--accent); }
.wep-anime-link svg { width: 12px; height: 12px; }
