/* =========================================================
 *  ecms-rjv.css  ·  v20260603b
 *  Dark purple-pink gradient theme, inspired by rjvkn6686.com
 *  EmpireCMS 7.5 — kehu002 / rjv template
 *  Browser support: iOS Safari 12+, Android 8+, Edge/Chrome/Firefox last 2
 * =======================================================*/

/* ---------- Root / scheme ---------- */
:root{
  color-scheme:dark;
  accent-color:#a855f7;
  --rjv-safe-bottom:env(safe-area-inset-bottom,0px);
  --rjv-safe-top:env(safe-area-inset-top,0px);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{
  -webkit-text-size-adjust:100%;
  -moz-text-size-adjust:100%;
  text-size-adjust:100%;
  scroll-behavior:smooth;
  -webkit-tap-highlight-color:transparent;
  text-rendering:optimizeLegibility;
}
body{
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  -webkit-tap-highlight-color:transparent;
  line-height:1.5;color:#e5e7eb;
  background:
    radial-gradient(1200px 600px at 12% -10%,rgba(147,51,234,.35),transparent 60%),
    radial-gradient(1000px 500px at 90% 8%,rgba(219,39,119,.28),transparent 60%),
    radial-gradient(1200px 800px at 50% 100%,rgba(79,70,229,.22),transparent 60%),
    linear-gradient(180deg,#0b0716 0%,#140a26 35%,#0d0a1d 70%,#0a0717 100%);
  background-attachment:fixed;
  min-height:100vh;min-height:100dvh;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;-webkit-touch-callout:none}
img,svg{display:block;max-width:100%;height:auto}
img{vertical-align:middle}
button{background:none;border:0;color:inherit;font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
input,textarea,select{font:inherit;color:inherit;-webkit-appearance:none;appearance:none}
ul,ol,li{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,h5,h6,p{margin:0}

/* Accessible focus indicators */
::selection{background:rgba(168,85,247,.4);color:#fff}
:focus{outline:none}
:focus-visible{outline:2px solid #a855f7;outline-offset:2px;border-radius:4px}
input:focus-visible,textarea:focus-visible{outline-offset:0}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important;
  }
}

/* Print: keep crawlers / printers readable */
@media print{
  body{background:#fff;color:#000}
  .rjv-header,.rjv-foot,.rjv-top-btn,.rjv-drawer,.rjv-search-overlay,.rjv-pcard__hover{display:none !important}
  a{color:#000;text-decoration:underline}
}

/* ---------- Wrap ---------- */
.rjv-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
@media(min-width:768px){.rjv-wrap{padding:0 24px}}

/* =========================================================
 *  Header
 * =======================================================*/
.rjv-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  background:rgba(13,8,28,.65);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.rjv-header__inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.rjv-logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.rjv-logo__icon{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  font-weight:900;color:#fff;font-size:20px;
  background:linear-gradient(135deg,#9333ea 0%,#db2777 50%,#9333ea 100%);
  box-shadow:0 10px 25px -8px rgba(219,39,119,.55),0 0 0 1px rgba(255,255,255,.06) inset;
}
.rjv-logo__txt{display:flex;flex-direction:column;line-height:1.1}
.rjv-logo__name{
  font-weight:800;font-size:18px;letter-spacing:.2px;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rjv-logo__sub{font-size:11px;letter-spacing:.18em;color:#a78bfa}

.rjv-nav{display:none;align-items:center;gap:4px}
@media(min-width:1024px){.rjv-nav{display:flex}}
.rjv-nav a{
  position:relative;padding:8px 14px;border-radius:10px;
  font-size:14px;font-weight:500;color:#cbd5e1;
  transition:color .2s,background .2s;
}
.rjv-nav a:hover{color:#fff;background:rgba(255,255,255,.06)}
.rjv-nav a.is-active{
  color:#fff;
  background:linear-gradient(135deg,rgba(147,51,234,.35),rgba(219,39,119,.35));
  box-shadow:0 0 0 1px rgba(168,85,247,.4) inset;
}

.rjv-header__actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.rjv-iconbtn{
  width:40px;height:40px;border-radius:10px;display:grid;place-items:center;
  color:#e9d5ff;background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  transition:all .2s;
}
.rjv-iconbtn:hover{background:rgba(168,85,247,.18);color:#fff;border-color:rgba(168,85,247,.45)}
.rjv-iconbtn svg{width:18px;height:18px}
.rjv-burger{display:grid}
@media(min-width:1024px){.rjv-burger{display:none}}

.rjv-cta{
  display:none;align-items:center;gap:6px;padding:10px 18px;border-radius:9999px;
  font-weight:600;font-size:14px;color:#fff;white-space:nowrap;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 10px 24px -10px rgba(219,39,119,.7);
  transition:transform .2s,box-shadow .2s,filter .2s;
}
.rjv-cta:hover{transform:translateY(-1px);filter:brightness(1.07);box-shadow:0 14px 30px -10px rgba(219,39,119,.8)}
@media(min-width:1280px){.rjv-cta{display:inline-flex}}

/* =========================================================
 *  Mobile Drawer
 * =======================================================*/
.rjv-drawer{position:fixed;inset:0;z-index:60;pointer-events:none;opacity:0;transition:opacity .25s}
.rjv-drawer.is-open{pointer-events:auto;opacity:1}
.rjv-drawer__mask{position:absolute;inset:0;background:rgba(2,1,12,.65);backdrop-filter:blur(4px)}
.rjv-drawer__panel{
  position:absolute;right:0;top:0;bottom:0;width:320px;max-width:88vw;
  background:linear-gradient(180deg,#160b2d 0%,#0d0a1d 100%);
  border-left:1px solid rgba(255,255,255,.08);
  display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);
}
.rjv-drawer.is-open .rjv-drawer__panel{transform:translateX(0)}
.rjv-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.06)}
.rjv-drawer__close{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
  color:#cbd5e1;background:rgba(255,255,255,.05);
}
.rjv-drawer__close:hover{background:rgba(255,255,255,.12);color:#fff}
.rjv-drawer__search{padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.06)}
.rjv-drawer__search form{
  display:flex;align-items:center;gap:8px;padding:8px 8px 8px 12px;border-radius:12px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);
}
.rjv-drawer__search svg{width:16px;height:16px;color:#a78bfa;flex-shrink:0}
.rjv-drawer__search input{flex:1;background:transparent;border:0;outline:none;font-size:14px;color:#fff}
.rjv-drawer__search input::placeholder{color:#7c7591}
.rjv-drawer__search button{
  padding:6px 14px;border-radius:9px;font-weight:600;font-size:13px;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
}
.rjv-drawer__nav{padding:10px 8px;overflow-y:auto;flex:1}
.rjv-drawer__group{font-size:11px;letter-spacing:.2em;color:#9082b0;text-transform:uppercase;padding:14px 12px 6px}
.rjv-drawer__nav a{
  display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;
  font-size:14px;color:#d1d5db;
}
.rjv-drawer__nav a:hover{background:rgba(168,85,247,.12);color:#fff}
.rjv-drawer__nav a.is-active{
  background:linear-gradient(135deg,rgba(147,51,234,.3),rgba(219,39,119,.3));
  color:#fff;
}
.rjv-drawer__nav-icon{width:18px;height:18px;color:#a78bfa;flex-shrink:0}
.rjv-drawer__nav-arrow{width:14px;height:14px;color:#7c7591;margin-left:auto;flex-shrink:0}
.rjv-drawer__foot{padding:14px 18px;border-top:1px solid rgba(255,255,255,.06)}
.rjv-drawer__chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.rjv-drawer__chip{
  padding:5px 11px;border-radius:9999px;font-size:12px;color:#e9d5ff;
  background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.25);
}
.rjv-drawer__chip:hover{background:rgba(168,85,247,.28);color:#fff}
.rjv-drawer__foot-tip{font-size:12px;color:#9082b0;text-align:center}

/* =========================================================
 *  Search Overlay
 * =======================================================*/
.rjv-search-overlay{position:fixed;inset:0;z-index:70;display:none;align-items:flex-start;justify-content:center;padding-top:18vh;background:rgba(2,1,12,.78);backdrop-filter:blur(6px)}
.rjv-search-overlay.is-open{display:flex}
.rjv-search-panel{
  width:min(92vw,640px);background:linear-gradient(180deg,#1a0f33 0%,#0f0a22 100%);
  border-radius:18px;padding:20px;border:1px solid rgba(168,85,247,.25);
  box-shadow:0 30px 80px -20px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.04) inset;
}
.rjv-search-form{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.rjv-search-form svg{width:20px;height:20px;color:#a78bfa;flex-shrink:0}
.rjv-search-form input{flex:1;background:transparent;border:0;outline:none;font-size:16px;color:#fff}
.rjv-search-form input::placeholder{color:#7c7591}
.rjv-search-form button{padding:8px 16px;border-radius:10px;font-weight:600;font-size:14px;color:#fff;background:linear-gradient(135deg,#9333ea,#db2777)}
.rjv-search-hot{margin-top:16px}
.rjv-search-hot__lbl{font-size:12px;color:#9082b0;margin-bottom:8px}
.rjv-search-hot__chips{display:flex;flex-wrap:wrap;gap:8px}
.rjv-search-hot__chip{
  padding:6px 12px;border-radius:9999px;font-size:13px;color:#e9d5ff;
  background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.22);
  transition:all .15s;
}
.rjv-search-hot__chip:hover{background:linear-gradient(135deg,#9333ea,#db2777);color:#fff;border-color:transparent}

/* =========================================================
 *  Hero
 * =======================================================*/
.rjv-hero{position:relative;padding:72px 0 56px;overflow:hidden}
.rjv-hero::before{
  content:"";position:absolute;inset:-40% -10% auto -10%;height:520px;z-index:-1;
  background:
    radial-gradient(40% 40% at 30% 30%,rgba(168,85,247,.45),transparent 70%),
    radial-gradient(40% 40% at 70% 50%,rgba(236,72,153,.40),transparent 70%);
  filter:blur(40px);opacity:.9;
}
.rjv-hero__inner{text-align:center;max-width:920px;margin:0 auto}
.rjv-hero__eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 16px;border-radius:9999px;font-size:12px;letter-spacing:.16em;
  color:#f5d0fe;background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.32);
  margin-bottom:22px;
}
.rjv-hero__eyebrow::before{content:"";width:6px;height:6px;border-radius:9999px;background:#ec4899;box-shadow:0 0 8px #ec4899}
.rjv-hero__title{
  font-size:clamp(34px,6vw,68px);font-weight:900;line-height:1.05;letter-spacing:-.5px;
  color:#fff;margin-bottom:14px;
}
.rjv-hero__title span{
  display:inline-block;
  background:linear-gradient(90deg,#a855f7 0%,#ec4899 50%,#f97316 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 6px 28px rgba(236,72,153,.35));
}
.rjv-hero__desc{
  font-size:clamp(14px,1.6vw,17px);color:#cbd5e1;max-width:680px;margin:0 auto 28px;
  line-height:1.7;
}
.rjv-hero__cta{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:36px}
.rjv-btn-primary,.rjv-btn-ghost{
  display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:9999px;
  font-weight:600;font-size:15px;transition:all .2s;
}
.rjv-btn-primary{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 14px 30px -10px rgba(219,39,119,.65);
}
.rjv-btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 40px -10px rgba(219,39,119,.8);filter:brightness(1.07)}
.rjv-btn-ghost{
  color:#e9d5ff;background:rgba(255,255,255,.05);border:1px solid rgba(168,85,247,.4);
}
.rjv-btn-ghost:hover{background:rgba(168,85,247,.18);color:#fff;border-color:rgba(168,85,247,.6)}

.rjv-hero__search{
  display:flex;align-items:center;gap:10px;padding:8px 8px 8px 18px;
  width:min(100%,560px);margin:0 auto 30px;border-radius:9999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
}
.rjv-hero__search svg{width:18px;height:18px;color:#a78bfa;flex-shrink:0}
.rjv-hero__search input{flex:1;min-width:0;background:transparent;border:0;outline:none;font-size:15px;color:#fff;padding:8px 0}
.rjv-hero__search input::placeholder{color:#857a9c}
.rjv-hero__search button{
  padding:10px 22px;border-radius:9999px;font-weight:600;font-size:14px;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 8px 18px -6px rgba(219,39,119,.55);
  white-space:nowrap;
}
.rjv-hero__search button:hover{filter:brightness(1.08)}

.rjv-hero__stats{
  display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:760px;margin:0 auto;
}
@media(min-width:640px){.rjv-hero__stats{grid-template-columns:repeat(4,1fr)}}
.rjv-hero__stat{
  padding:18px 14px;border-radius:16px;text-align:center;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(6px);
  transition:transform .2s,background .2s,border-color .2s;
}
.rjv-hero__stat:hover{transform:translateY(-2px);background:rgba(168,85,247,.10);border-color:rgba(168,85,247,.35)}
.rjv-hero__stat strong{
  display:block;font-size:24px;font-weight:800;
  background:linear-gradient(90deg,#c084fc,#f0abfc);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-hero__stat span{display:block;font-size:12px;color:#9082b0;margin-top:4px;letter-spacing:.08em}

/* =========================================================
 *  Section
 * =======================================================*/
.rjv-main{padding:30px 0 60px}
.rjv-section{margin-bottom:64px}
.rjv-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.rjv-section__title{
  font-size:clamp(22px,3vw,30px);font-weight:800;color:#fff;
  display:flex;align-items:baseline;gap:14px;
}
.rjv-section__title-en{
  font-size:13px;font-weight:600;letter-spacing:.22em;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-section__title::before{
  content:"";display:inline-block;width:5px;height:24px;border-radius:3px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
  margin-right:14px;flex-shrink:0;
}
.rjv-section__sub{font-size:14px;color:#9082b0;margin-top:6px;width:100%}
.rjv-section__more{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 16px;border-radius:9999px;font-size:13px;font-weight:500;
  color:#e9d5ff;background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.28);
  transition:all .2s;
}
.rjv-section__more:hover{background:linear-gradient(135deg,#9333ea,#db2777);color:#fff;border-color:transparent}
.rjv-section__more svg{width:14px;height:14px}

/* =========================================================
 *  Featured (Poster) Grid — 3/4 cover cards
 * =======================================================*/
.rjv-pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media(min-width:640px){.rjv-pgrid{grid-template-columns:repeat(3,1fr);gap:18px}}
@media(min-width:1024px){.rjv-pgrid{grid-template-columns:repeat(5,1fr)}}
.rjv-pcard{
  position:relative;display:flex;flex-direction:column;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;overflow:hidden;
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.rjv-pcard:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 50px -22px rgba(168,85,247,.55),0 8px 20px -8px rgba(219,39,119,.35);
  border-color:rgba(168,85,247,.45);
}
.rjv-pcard__cover{position:relative;aspect-ratio:3/4;overflow:hidden;background:#1c1133}
.rjv-pcard__cover img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.rjv-pcard:hover .rjv-pcard__cover img{transform:scale(1.06)}
.rjv-pcard__cover img.is-broken{opacity:0}
.rjv-pcard__broken{
  position:absolute;inset:0;display:grid;place-items:center;font-size:32px;font-weight:900;
  color:#fff;letter-spacing:2px;opacity:0;pointer-events:none;
  background:linear-gradient(135deg,#3b1c5a,#5a1a4f);
  text-shadow:0 4px 14px rgba(0,0,0,.5);
}
.rjv-pcard__cover img.is-broken + .rjv-pcard__broken{opacity:1}

.rjv-pcard__rank{
  position:absolute;top:8px;left:8px;
  padding:4px 10px;border-radius:9999px;font-size:11px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,#ef4444,#db2777);
  box-shadow:0 4px 12px -4px rgba(239,68,68,.6);
  letter-spacing:.5px;
}
.rjv-pcard__score{
  position:absolute;top:8px;right:8px;
  padding:4px 9px;border-radius:9999px;font-size:12px;font-weight:700;color:#0c0118;
  background:linear-gradient(135deg,#fbbf24,#f97316);
  box-shadow:0 4px 12px -4px rgba(251,191,36,.55);
}
.rjv-pcard__score--low{background:linear-gradient(135deg,#94a3b8,#64748b);color:#fff}
.rjv-pcard__tag{
  position:absolute;top:8px;left:8px;
  padding:4px 9px;border-radius:8px;font-size:11px;font-weight:600;color:#fff;
  background:rgba(0,0,0,.65);backdrop-filter:blur(6px);
}
.rjv-pcard__rank ~ .rjv-pcard__tag{top:38px}
.rjv-pcard__ep{
  position:absolute;left:8px;bottom:8px;
  padding:3px 8px;border-radius:6px;font-size:11px;color:#fff;font-weight:600;
  background:rgba(147,51,234,.85);backdrop-filter:blur(4px);
}
.rjv-pcard__duration{
  position:absolute;right:8px;bottom:8px;
  padding:3px 8px;border-radius:6px;font-size:11px;color:#fff;font-weight:600;
  background:rgba(0,0,0,.65);backdrop-filter:blur(4px);
}
.rjv-pcard__hover{
  position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(11,7,22,.85) 100%);
  opacity:0;transition:opacity .25s;
}
.rjv-pcard:hover .rjv-pcard__hover{opacity:1}
.rjv-pcard__play{
  width:54px;height:54px;border-radius:9999px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 12px 30px -8px rgba(219,39,119,.7);
  transform:translateY(8px) scale(.9);transition:transform .3s;
}
.rjv-pcard:hover .rjv-pcard__play{transform:translateY(0) scale(1)}
.rjv-pcard__play svg{width:22px;height:22px;margin-left:2px}

.rjv-pcard__body{padding:12px 14px 14px}
.rjv-pcard__title{
  font-size:14px;font-weight:600;color:#fff;line-height:1.35;
  overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;
}
.rjv-pcard__meta{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12px;color:#9082b0;flex-wrap:wrap}
.rjv-pcard__meta-cat{
  color:#f5d0fe;font-weight:500;
  padding:1px 8px;border-radius:9999px;background:rgba(168,85,247,.18);border:1px solid rgba(168,85,247,.28);
}
.rjv-pcard__meta-dot{display:inline-block;width:3px;height:3px;border-radius:9999px;background:#5b4a7c}

/* =========================================================
 *  Hot videos — compact list with rank
 * =======================================================*/
.rjv-hotgrid{display:grid;grid-template-columns:repeat(1,1fr);gap:10px}
@media(min-width:640px){.rjv-hotgrid{grid-template-columns:repeat(2,1fr);gap:12px}}
@media(min-width:1024px){.rjv-hotgrid{grid-template-columns:repeat(4,1fr)}}
.rjv-hotcard{
  display:flex;align-items:center;gap:12px;
  padding:12px;border-radius:14px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);
  transition:all .2s;
}
.rjv-hotcard:hover{
  transform:translateX(2px);border-color:rgba(168,85,247,.45);
  background:linear-gradient(135deg,rgba(147,51,234,.10),rgba(219,39,119,.10));
}
.rjv-hotcard__rank{
  flex-shrink:0;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;
  font-weight:900;font-size:18px;color:#fff;font-style:italic;
  background:rgba(255,255,255,.05);
}
.rjv-hotcard--top1 .rjv-hotcard__rank{background:linear-gradient(135deg,#ef4444,#db2777);box-shadow:0 6px 16px -6px rgba(239,68,68,.6)}
.rjv-hotcard--top2 .rjv-hotcard__rank{background:linear-gradient(135deg,#f97316,#fbbf24);color:#0c0118}
.rjv-hotcard--top3 .rjv-hotcard__rank{background:linear-gradient(135deg,#a855f7,#ec4899)}
.rjv-hotcard__body{flex:1;min-width:0}
.rjv-hotcard__title{font-size:14px;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rjv-hotcard__meta{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:12px;color:#9082b0}
.rjv-hotcard__meta svg{width:12px;height:12px;color:#a78bfa}
.rjv-hotcard__score{color:#fbbf24;font-weight:700}

/* =========================================================
 *  Latest update — content cards with description
 * =======================================================*/
.rjv-grid{display:grid;grid-template-columns:repeat(1,1fr);gap:14px}
@media(min-width:640px){.rjv-grid{grid-template-columns:repeat(2,1fr);gap:18px}}
@media(min-width:1024px){.rjv-grid{grid-template-columns:repeat(4,1fr)}}
.rjv-card{
  position:relative;display:flex;flex-direction:column;justify-content:space-between;
  padding:20px;border-radius:18px;min-height:180px;
  background:linear-gradient(160deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.02) 100%);
  border:1px solid rgba(255,255,255,.07);
  overflow:hidden;
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.rjv-card::before{
  content:"";position:absolute;top:-40%;right:-30%;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(168,85,247,.22),transparent 70%);
  pointer-events:none;transition:opacity .3s;
}
.rjv-card:hover{
  transform:translateY(-4px);
  border-color:rgba(168,85,247,.45);
  box-shadow:0 22px 44px -22px rgba(168,85,247,.55);
}
.rjv-card__badge{
  position:absolute;top:14px;right:14px;
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 10px;border-radius:9999px;font-size:11px;font-weight:700;letter-spacing:.5px;color:#fff;
  background:linear-gradient(135deg,#22c55e,#10b981);
  box-shadow:0 4px 12px -4px rgba(34,197,94,.6);
}
.rjv-card__badge--hot{background:linear-gradient(135deg,#ef4444,#db2777);box-shadow:0 4px 12px -4px rgba(239,68,68,.6)}
.rjv-card__badge svg{width:11px;height:11px}
.rjv-card__title{
  font-size:17px;font-weight:700;color:#fff;line-height:1.35;margin-bottom:10px;
  overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  padding-right:60px;
}
.rjv-card__desc{
  font-size:13px;color:#9082b0;line-height:1.6;
  overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
}
.rjv-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;font-size:12px;color:#9082b0}
.rjv-card__foot-l{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rjv-card__foot-r{display:flex;align-items:center;gap:6px;color:#a78bfa;font-weight:500}
.rjv-card__foot-r svg{width:13px;height:13px}
.rjv-card__cat{
  padding:2px 9px;border-radius:9999px;font-size:11px;color:#f5d0fe;
  background:rgba(168,85,247,.18);border:1px solid rgba(168,85,247,.28);
}
.rjv-card__date{color:#9082b0}

.rjv-grid__empty{
  grid-column:1/-1;padding:40px;text-align:center;color:#9082b0;font-size:14px;
  border-radius:16px;background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.12);
}

/* =========================================================
 *  Why us — feature cards
 * =======================================================*/
.rjv-why{margin-bottom:64px}
.rjv-why__head{text-align:center;max-width:760px;margin:0 auto 30px}
.rjv-why__title{
  font-size:clamp(24px,3.4vw,34px);font-weight:800;color:#fff;margin-bottom:12px;
}
.rjv-why__title span{
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-why__sub{font-size:14px;color:#9082b0;line-height:1.7}
.rjv-why__grid{display:grid;grid-template-columns:repeat(1,1fr);gap:18px}
@media(min-width:768px){.rjv-why__grid{grid-template-columns:repeat(3,1fr)}}
.rjv-feature{
  position:relative;padding:28px 24px;border-radius:20px;text-align:center;
  background:linear-gradient(160deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.02) 100%);
  border:1px solid rgba(255,255,255,.08);
  transition:transform .25s,box-shadow .25s,border-color .25s;
  overflow:hidden;
}
.rjv-feature::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(160deg,rgba(168,85,247,.15) 0%,rgba(236,72,153,.10) 100%);
  opacity:0;transition:opacity .3s;pointer-events:none;
}
.rjv-feature:hover{transform:translateY(-5px);border-color:rgba(168,85,247,.4);box-shadow:0 24px 50px -22px rgba(168,85,247,.55)}
.rjv-feature:hover::before{opacity:1}
.rjv-feature__icon{
  position:relative;width:64px;height:64px;border-radius:18px;margin:0 auto 18px;
  display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 14px 30px -10px rgba(219,39,119,.55);
}
.rjv-feature__icon svg{width:28px;height:28px}
.rjv-feature__title{position:relative;font-size:18px;font-weight:700;color:#fff;margin-bottom:10px}
.rjv-feature__desc{position:relative;font-size:13.5px;color:#9082b0;line-height:1.7}

/* =========================================================
 *  About / Keywords
 * =======================================================*/
.rjv-about{
  margin-top:24px;padding:36px 28px;border-radius:22px;
  background:linear-gradient(160deg,rgba(168,85,247,.10) 0%,rgba(236,72,153,.06) 100%);
  border:1px solid rgba(168,85,247,.22);
}
.rjv-about__title{font-size:22px;font-weight:800;color:#fff;margin-bottom:14px}
.rjv-about__title span{
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-about__desc{font-size:14px;color:#cbd5e1;line-height:1.85;margin-bottom:10px}
.rjv-about__kw-lbl{
  display:inline-flex;align-items:center;gap:6px;margin-top:18px;margin-bottom:10px;
  font-size:12px;letter-spacing:.14em;color:#a78bfa;font-weight:600;
}
.rjv-about__kw-lbl svg{width:14px;height:14px}
.rjv-about__kws{display:flex;flex-wrap:wrap;gap:8px}
.rjv-about__kw{
  padding:6px 14px;border-radius:9999px;font-size:13px;color:#e9d5ff;
  background:rgba(255,255,255,.06);border:1px solid rgba(168,85,247,.22);
  transition:all .15s;
}
.rjv-about__kw:hover{background:linear-gradient(135deg,#9333ea,#db2777);color:#fff;border-color:transparent;transform:translateY(-1px)}

/* =========================================================
 *  Footer
 * =======================================================*/
.rjv-foot{
  margin-top:40px;padding:40px 0 calc(24px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(11,6,24,.6) 0%,rgba(8,4,18,.9) 100%);
  border-top:1px solid rgba(255,255,255,.08);
}
.rjv-foot__inner{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
@media(min-width:768px){.rjv-foot__inner{flex-direction:row;justify-content:space-between;align-items:center}}
.rjv-foot__brand{display:flex;align-items:center;gap:12px}
.rjv-foot__brand .rjv-logo__icon{width:38px;height:38px;font-size:18px;border-radius:11px}
.rjv-foot__links{display:flex;flex-wrap:wrap;gap:8px 22px}
.rjv-foot__links a{font-size:14px;color:#cbd5e1;transition:color .2s}
.rjv-foot__links a:hover{color:#f0abfc}
.rjv-foot__copy{
  margin-top:22px;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  font-size:12.5px;color:#857a9c;text-align:center;line-height:1.7;
}
.rjv-foot__copy strong{color:#f0abfc}

/* =========================================================
 *  List page — head (title + count + breadcrumb chips)
 * =======================================================*/
.rjv-listhead{
  margin-top:24px;margin-bottom:18px;padding:24px 26px;border-radius:20px;
  background:linear-gradient(160deg,rgba(168,85,247,.15) 0%,rgba(236,72,153,.08) 100%);
  border:1px solid rgba(168,85,247,.25);
  position:relative;overflow:hidden;
}
.rjv-listhead::before{
  content:"";position:absolute;top:-50%;right:-15%;width:360px;height:360px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(236,72,153,.25),transparent 70%);
  pointer-events:none;
}
.rjv-listhead__crumbs{
  position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:6px;
  font-size:13px;color:#9082b0;margin-bottom:14px;
}
.rjv-listhead__crumbs a{color:#cbd5e1;transition:color .15s}
.rjv-listhead__crumbs a:hover{color:#f0abfc}
.rjv-listhead__crumbs svg{width:12px;height:12px;color:#5b4a7c}
.rjv-listhead__crumbs strong{color:#f0abfc;font-weight:500}
.rjv-listhead__title{
  position:relative;font-size:clamp(22px,3vw,30px);font-weight:800;color:#fff;
  display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;line-height:1.2;
}
.rjv-listhead__count{
  font-size:13px;font-weight:500;color:#cbd5e1;
  padding:4px 12px;border-radius:9999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
}
.rjv-listhead__count strong{color:#f0abfc;font-weight:700;margin:0 2px}
.rjv-listhead__desc{
  position:relative;font-size:14px;color:#cbd5e1;line-height:1.7;margin-top:10px;max-width:840px;
}
.rjv-listhead__chips{
  position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;
}
.rjv-listhead__chips-lbl{font-size:12px;color:#9082b0;margin-right:4px}
.rjv-listhead__chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 6px 4px 12px;border-radius:9999px;font-size:12.5px;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 4px 12px -4px rgba(219,39,119,.55);
}
.rjv-listhead__chip a{
  display:inline-grid;place-items:center;width:18px;height:18px;border-radius:9999px;
  background:rgba(0,0,0,.25);color:#fff;font-size:12px;line-height:1;
  transition:background .15s;
}
.rjv-listhead__chip a:hover{background:rgba(0,0,0,.45)}
.rjv-listhead__clear{
  font-size:12.5px;padding:4px 12px;border-radius:9999px;color:#e9d5ff;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
}
.rjv-listhead__clear:hover{background:rgba(168,85,247,.18);color:#fff;border-color:rgba(168,85,247,.4)}

/* =========================================================
 *  List page — filter panel
 * =======================================================*/
.rjv-flt{
  margin-bottom:18px;padding:6px 0;border-radius:18px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);
  overflow:hidden;
}
.rjv-flt__row{
  display:flex;align-items:flex-start;gap:14px;padding:14px 22px;
  border-bottom:1px dashed rgba(255,255,255,.06);
}
.rjv-flt__row:last-child{border-bottom:0}
.rjv-flt__lbl{
  flex-shrink:0;width:54px;font-size:13px;font-weight:600;color:#a78bfa;
  padding-top:6px;letter-spacing:.04em;
}
.rjv-flt__body{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.rjv-flt__item{
  padding:5px 14px;border-radius:9999px;font-size:13px;font-weight:500;color:#cbd5e1;
  transition:all .15s;
  border:1px solid transparent;
  white-space:nowrap;
}
.rjv-flt__item:hover{color:#fff;background:rgba(168,85,247,.14)}
.rjv-flt__item.is-active{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -6px rgba(219,39,119,.6);
}

/* =========================================================
 *  List page — sort toolbar
 * =======================================================*/
.rjv-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin-bottom:18px;padding:12px 18px;border-radius:14px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);
}
.rjv-toolbar__left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rjv-toolbar__lbl{font-size:13px;color:#9082b0}
.rjv-toolbar__btns{display:flex;gap:6px;flex-wrap:wrap}
.rjv-toolbar__btn{
  display:inline-flex;align-items:center;gap:5px;
  padding:6px 14px;border-radius:9999px;font-size:13px;font-weight:500;color:#cbd5e1;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;
}
.rjv-toolbar__btn svg{width:13px;height:13px}
.rjv-toolbar__btn:hover{background:rgba(168,85,247,.16);color:#fff;border-color:rgba(168,85,247,.4)}
.rjv-toolbar__btn.is-active{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);border-color:transparent;
  box-shadow:0 6px 14px -6px rgba(219,39,119,.6);
}
.rjv-toolbar__right{font-size:13px;color:#9082b0}
.rjv-toolbar__right strong{color:#f0abfc;font-weight:700;margin:0 2px}

/* =========================================================
 *  List page — main grid
 * =======================================================*/
.rjv-list-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:24px}
@media(min-width:640px){.rjv-list-grid{grid-template-columns:repeat(3,1fr);gap:18px}}
@media(min-width:900px){.rjv-list-grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1200px){.rjv-list-grid{grid-template-columns:repeat(5,1fr)}}
.rjv-list-grid:empty::after,
.rjv-list-grid__empty{
  grid-column:1/-1;padding:60px 20px;text-align:center;color:#9082b0;font-size:14px;
  border-radius:18px;background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.12);
}
.rjv-list-grid:empty::after{content:"暂无符合条件的影片，请尝试其他筛选条件"}

/* =========================================================
 *  Pagination
 * =======================================================*/
.rjv-pager{
  display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;
  margin:8px 0 24px;padding:16px 0;
}
.rjv-pager a,
.rjv-pager span,
.rjv-pager strong,
.rjv-pager .pagenow{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 12px;border-radius:10px;font-size:13.5px;font-weight:500;
  color:#cbd5e1;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;text-decoration:none;
}
.rjv-pager a:hover{color:#fff;background:rgba(168,85,247,.18);border-color:rgba(168,85,247,.4)}
.rjv-pager strong,
.rjv-pager .pagenow,
.rjv-pager .nowpage,
.rjv-pager b{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);border-color:transparent;
  box-shadow:0 6px 14px -6px rgba(219,39,119,.6);font-weight:700;
}
.rjv-pager select{
  height:38px;padding:0 12px;border-radius:10px;font-size:13.5px;
  color:#fff;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);
  outline:none;cursor:pointer;
}
.rjv-pager select option{background:#160b2d;color:#fff}

/* =========================================================
 *  SEO blurb
 * =======================================================*/
.rjv-seo{
  margin:24px 0 0;padding:24px 26px;border-radius:20px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);
}
.rjv-seo h2{font-size:18px;font-weight:700;color:#fff;margin-bottom:10px}
.rjv-seo p{font-size:14px;color:#cbd5e1;line-height:1.85;margin-bottom:8px}
.rjv-seo p strong{color:#f0abfc;font-weight:600}
.rjv-seo a{color:#a78bfa;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(168,85,247,.4)}
.rjv-seo a:hover{color:#ec4899;text-decoration-color:#ec4899}
.rjv-seo kbd{
  display:inline-block;padding:1px 7px;margin:0 2px;border-radius:5px;font-size:12px;font-family:inherit;
  color:#f0abfc;background:rgba(168,85,247,.16);border:1px solid rgba(168,85,247,.32);
  box-shadow:0 2px 0 rgba(0,0,0,.2) inset;
}

/* =========================================================
 *  Utility
 * =======================================================*/
.rjv-hidden{display:none !important}

/* =========================================================
 *  Detail hero (show page)
 * =======================================================*/
.rjv-detail{
  position:relative;padding:38px 0 30px;margin-bottom:20px;overflow:hidden;
}
.rjv-detail::before{
  content:"";position:absolute;inset:-30% -10% auto -10%;height:560px;z-index:-1;
  background:
    radial-gradient(40% 40% at 25% 30%,rgba(168,85,247,.45),transparent 70%),
    radial-gradient(40% 40% at 75% 50%,rgba(236,72,153,.40),transparent 70%);
  filter:blur(40px);opacity:.7;
}
.rjv-detail__inner{
  position:relative;display:grid;grid-template-columns:1fr;gap:24px;
}
@media(min-width:768px){
  .rjv-detail__inner{grid-template-columns:260px 1fr;gap:32px}
}

/* poster */
.rjv-detail__poster{
  position:relative;width:200px;margin:0 auto;border-radius:18px;overflow:hidden;
  background:#1c1133;aspect-ratio:2/3;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.07) inset;
}
@media(min-width:640px){.rjv-detail__poster{width:240px}}
@media(min-width:768px){.rjv-detail__poster{width:260px;margin:0}}
.rjv-detail__poster img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .35s;
}
.rjv-detail__poster:hover img{transform:scale(1.04)}
.rjv-detail__poster img.is-broken{opacity:0}
.rjv-detail__poster-broken{
  position:absolute;inset:0;display:grid;place-items:center;font-size:54px;font-weight:900;
  color:#fff;letter-spacing:2px;opacity:0;pointer-events:none;
  background:linear-gradient(135deg,#3b1c5a,#5a1a4f);
  text-shadow:0 4px 14px rgba(0,0,0,.5);
}
.rjv-detail__poster img.is-broken + .rjv-detail__poster-broken{opacity:1}
.rjv-detail__badge{
  position:absolute;top:12px;right:12px;
  padding:5px 12px;border-radius:9999px;font-size:12px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 16px -6px rgba(219,39,119,.6);
}

/* main info */
.rjv-detail__main{min-width:0}
.rjv-detail__title{
  font-size:clamp(24px,3.4vw,36px);font-weight:800;color:#fff;line-height:1.2;margin-bottom:8px;
  display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;
}
.rjv-detail__sub{
  font-size:14px;font-weight:500;color:#9082b0;letter-spacing:.04em;
}
.rjv-detail__tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.rjv-detail__tag{
  padding:4px 12px;border-radius:9999px;font-size:12.5px;color:#cbd5e1;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
}
.rjv-detail__tag--pink{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);border-color:transparent;
  box-shadow:0 4px 10px -4px rgba(219,39,119,.55);
}

/* score + stats */
.rjv-detail__top{
  display:flex;align-items:center;gap:18px;margin-bottom:20px;flex-wrap:wrap;
  padding:14px 18px;border-radius:14px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.rjv-detail__score{display:flex;align-items:baseline;gap:6px;flex-shrink:0}
.rjv-detail__score-num{
  font-size:34px;font-weight:900;letter-spacing:-1px;line-height:1;
  background:linear-gradient(90deg,#fbbf24,#f97316);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 4px 12px rgba(251,191,36,.3));
}
.rjv-detail__score-lb{font-size:11px;letter-spacing:.2em;color:#9082b0;font-weight:600}
.rjv-detail__stats{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;flex:1;min-width:0;
  padding-left:18px;border-left:1px dashed rgba(255,255,255,.10);
}
@media(max-width:640px){.rjv-detail__stats{padding-left:0;border-left:0;border-top:1px dashed rgba(255,255,255,.10);padding-top:14px;width:100%}}
.rjv-stat{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#cbd5e1}
.rjv-stat__icon{width:15px;height:15px;color:#a78bfa;flex-shrink:0}
.rjv-stat__lbl{color:#9082b0}
.rjv-stat__val strong{color:#fff;font-weight:700}

/* info rows */
.rjv-detail__rows{margin-bottom:20px}
.rjv-detail__row{
  display:flex;gap:12px;padding:8px 0;font-size:14px;color:#cbd5e1;
  border-bottom:1px dashed rgba(255,255,255,.06);
}
.rjv-detail__row:last-child{border-bottom:0}
.rjv-detail__row-lbl{
  flex-shrink:0;width:48px;color:#a78bfa;font-weight:600;letter-spacing:.04em;
}
.rjv-detail__row-val{display:flex;flex-wrap:wrap;gap:6px 4px;align-items:center;flex:1;min-width:0}
.rjv-detail__row-val a{
  color:#e9d5ff;transition:color .15s;
  padding:1px 6px;border-radius:6px;
}
.rjv-detail__row-val a:hover{color:#fff;background:rgba(168,85,247,.16)}
.rjv-sep{color:#5b4a7c;margin:0 -2px}
.rjv-more{
  padding:1px 8px;border-radius:9999px;font-size:12px;color:#a78bfa;
  background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.25);
}

/* CTA */
.rjv-detail__cta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.rjv-detail__btn{
  display:inline-flex;align-items:center;gap:7px;
  padding:12px 24px;border-radius:9999px;font-weight:600;font-size:14.5px;
  transition:all .2s;
}
.rjv-detail__btn svg{width:16px;height:16px}
.rjv-detail__btn--primary{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 14px 28px -10px rgba(219,39,119,.65);
}
.rjv-detail__btn--primary:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 18px 36px -10px rgba(219,39,119,.8)}
.rjv-detail__btn--ghost{
  color:#e9d5ff;background:rgba(255,255,255,.05);border:1px solid rgba(168,85,247,.32);
}
.rjv-detail__btn--ghost:hover{background:rgba(168,85,247,.18);color:#fff;border-color:rgba(168,85,247,.55)}
.rjv-detail__btn.is-fav{
  color:#fff;background:linear-gradient(135deg,#ef4444,#db2777);border-color:transparent;
}
.rjv-detail__btn.is-fav svg{fill:#fff}

/* synopsis */
.rjv-detail__syn{
  padding:14px 18px;border-radius:14px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  position:relative;
}
.rjv-detail__syn-text{
  font-size:14px;color:#cbd5e1;line-height:1.85;
  max-height:5.55em;overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,#000 70%,transparent);
          mask-image:linear-gradient(180deg,#000 70%,transparent);
  transition:max-height .35s;
}
.rjv-detail__syn.is-open .rjv-detail__syn-text{
  max-height:none;
  -webkit-mask-image:none;mask-image:none;
}
.rjv-detail__syn-toggle{
  margin-top:8px;font-size:13px;font-weight:600;color:#a78bfa;
  transition:color .15s;
}
.rjv-detail__syn-toggle:hover{color:#ec4899}

/* =========================================================
 *  Episode list
 * =======================================================*/
.rjv-eps{margin-bottom:60px}
.rjv-eps__head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin-bottom:18px;
}
.rjv-eps__title{
  font-size:clamp(20px,2.6vw,26px);font-weight:800;color:#fff;
  display:flex;align-items:baseline;gap:12px;
}
.rjv-eps__title::before{
  content:"";display:inline-block;width:5px;height:22px;border-radius:3px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
  margin-right:12px;flex-shrink:0;
}
.rjv-eps__title-en{
  font-size:13px;font-weight:600;letter-spacing:.22em;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-eps__total{font-size:13px;color:#9082b0}
.rjv-eps__total strong{color:#f0abfc;font-weight:700;margin:0 2px}

.rjv-eps__tabs{
  display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;
  padding:8px;border-radius:14px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);
}
.rjv-eps__tab{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 16px;border-radius:9999px;font-size:13.5px;font-weight:500;color:#cbd5e1;
  transition:all .15s;
}
.rjv-eps__tab:hover{color:#fff;background:rgba(168,85,247,.16)}
.rjv-eps__tab.is-active{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -6px rgba(219,39,119,.6);
}
.rjv-eps__tab-count{
  padding:1px 8px;border-radius:9999px;font-size:11px;font-weight:600;
  background:rgba(0,0,0,.25);
}

.rjv-eps__grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  padding:14px;border-radius:14px;
  background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05);
}
@media(min-width:480px){.rjv-eps__grid{grid-template-columns:repeat(5,1fr)}}
@media(min-width:640px){.rjv-eps__grid{grid-template-columns:repeat(6,1fr)}}
@media(min-width:768px){.rjv-eps__grid{grid-template-columns:repeat(8,1fr)}}
@media(min-width:1024px){.rjv-eps__grid{grid-template-columns:repeat(10,1fr)}}
.rjv-eps__item{
  display:grid;place-items:center;padding:10px 6px;border-radius:10px;
  font-size:13px;color:#e9d5ff;text-align:center;line-height:1.3;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rjv-eps__item:hover{
  color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  border-color:transparent;
  transform:translateY(-2px);
  box-shadow:0 8px 18px -6px rgba(219,39,119,.55);
}

/* =========================================================
 *  Related recom
 * =======================================================*/
.rjv-recom{margin-bottom:60px}
.rjv-recom__head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.rjv-recom__title{
  font-size:clamp(20px,2.6vw,26px);font-weight:800;color:#fff;
  display:flex;align-items:baseline;gap:12px;
}
.rjv-recom__title::before{
  content:"";display:inline-block;width:5px;height:22px;border-radius:3px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
  margin-right:12px;flex-shrink:0;
}
.rjv-recom__title-en{
  font-size:13px;font-weight:600;letter-spacing:.22em;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-recom__more{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 14px;border-radius:9999px;font-size:13px;font-weight:500;color:#e9d5ff;
  background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.28);
  transition:all .2s;
}
.rjv-recom__more:hover{background:linear-gradient(135deg,#9333ea,#db2777);color:#fff;border-color:transparent}

/* =========================================================
 *  Detail page v2 — cinematic hero
 * =======================================================*/
.rjv-detail{
  position:relative;
  padding:64px 0 36px;
  overflow:hidden;
  isolation:isolate;
}

/* Layer 1: poster blurred backdrop (set via inline style --rjv-poster) */
.rjv-detail__bg{
  position:absolute;inset:-60px;z-index:-3;
  background-image:var(--rjv-poster,none);
  background-size:cover;background-position:50% 30%;
  filter:blur(70px) saturate(.9);
  transform:scale(1.15);opacity:.22;
  pointer-events:none;
}
.rjv-detail__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,4,18,.55) 0%,rgba(8,4,18,.85) 55%,rgba(8,4,18,1) 100%);
}

/* Layer 2: ambient orbs */
.rjv-detail::before{
  content:"";position:absolute;inset:-10% -10% auto -10%;height:680px;z-index:-2;
  background:
    radial-gradient(42% 50% at 18% 28%,rgba(168,85,247,.38),transparent 65%),
    radial-gradient(40% 50% at 78% 42%,rgba(236,72,153,.30),transparent 65%),
    radial-gradient(28% 38% at 50% 88%,rgba(91,33,182,.28),transparent 70%);
  filter:blur(42px);pointer-events:none;
}
/* Layer 3: dotted noise */
.rjv-detail::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.045) 1px,transparent 0);
  background-size:22px 22px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 65%);
          mask-image:linear-gradient(180deg,#000,transparent 65%);
}

.rjv-detail__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  background:none;border:none;padding:0;backdrop-filter:none;
}
@media(min-width:880px){
  .rjv-detail__inner{
    grid-template-columns:300px 1fr;
    gap:44px;
    align-items:start;
  }
}

/* ---- Poster ---- */
.rjv-detail__poster{
  position:relative;
  width:240px;max-width:100%;margin:0 auto;
  aspect-ratio:2/3;
  border-radius:20px;overflow:hidden;
  background:linear-gradient(135deg,#3b1c5a,#5a1a4f);
  box-shadow:
    0 32px 64px -16px rgba(0,0,0,.75),
    0 0 80px -10px rgba(168,85,247,.45),
    0 0 0 1px rgba(255,255,255,.08) inset;
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s;
}
@media(min-width:880px){
  .rjv-detail__poster{width:300px;margin:0}
  .rjv-detail__poster:hover{
    transform:translateY(-4px) scale(1.015);
    box-shadow:
      0 40px 80px -16px rgba(0,0,0,.85),
      0 0 100px -8px rgba(236,72,153,.55),
      0 0 0 1px rgba(255,255,255,.12) inset;
  }
}
.rjv-detail__poster img{width:100%;height:100%;object-fit:cover;display:block}
.rjv-detail__poster img.is-broken{opacity:0}
.rjv-detail__poster-broken{
  position:absolute;inset:0;display:grid;place-items:center;font-size:46px;font-weight:900;
  color:#fff;letter-spacing:2px;opacity:0;pointer-events:none;
  text-shadow:0 4px 18px rgba(0,0,0,.7);
}
.rjv-detail__poster img.is-broken + .rjv-detail__poster-broken{opacity:1}
/* gloss highlight + purple tint to harmonize warm posters with cool theme */
.rjv-detail__poster::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(135deg,rgba(255,255,255,.10) 0%,transparent 35%,transparent 60%,rgba(91,33,182,.18) 100%),
    linear-gradient(180deg,transparent 60%,rgba(8,4,18,.35) 100%);
}
.rjv-detail__badge{
  position:absolute;top:10px;left:10px;z-index:2;
  max-width:calc(100% - 20px);
  padding:4px 11px;border-radius:8px;
  font-size:11px;font-weight:700;color:#fff;letter-spacing:.3px;
  background:linear-gradient(135deg,#ef4444,#db2777);
  box-shadow:0 6px 14px -4px rgba(239,68,68,.65),0 0 0 1px rgba(255,255,255,.10) inset;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* ---- Main column ---- */
.rjv-detail__main{
  display:flex;flex-direction:column;gap:18px;min-width:0;
}

/* Crumb / category line */
.rjv-detail__crumb{
  display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;
  font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:#a78bfa;
}
.rjv-detail__crumb a{color:#a78bfa;transition:color .15s}
.rjv-detail__crumb a:hover{color:#f0abfc}
.rjv-detail__crumb-sep{opacity:.4;font-weight:400}
.rjv-detail__crumb-dot{
  width:6px;height:6px;border-radius:9999px;
  background:linear-gradient(135deg,#a855f7,#ec4899);
  box-shadow:0 0 10px rgba(168,85,247,.7);
}

/* Title */
.rjv-detail__title{
  position:relative;
  font-size:clamp(28px,3.6vw,44px);
  font-weight:900;line-height:1.1;letter-spacing:-.02em;
  color:#fff;margin:0;padding:0;
  display:flex;align-items:flex-start;flex-wrap:wrap;gap:14px;
}
.rjv-detail__title-zh{
  background:linear-gradient(135deg,#ffffff 0%,#ffffff 45%,#f0abfc 85%,#ec4899 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 4px 18px rgba(236,72,153,.18));
}
.rjv-detail__sub{
  align-self:center;
  font-size:13px;font-weight:600;color:#e9d5ff;letter-spacing:.04em;
  padding:5px 14px;border-radius:9999px;
  background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.32);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.rjv-detail__subline{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font-size:13.5px;color:#a78bfa;font-weight:500;
}
.rjv-detail__subline::before{
  content:"";display:inline-block;width:28px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,#a855f7,#ec4899);
}
.rjv-detail__subline-sep{opacity:.4}

/* ---- Tags / chips ---- */
.rjv-detail__tags{display:flex;flex-wrap:wrap;gap:6px}
.rjv-detail__tag{
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 13px;border-radius:9999px;font-size:12.5px;font-weight:500;color:#cbd5e1;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);
  transition:all .15s;
}
.rjv-detail__tag:hover{
  color:#fff;background:rgba(168,85,247,.16);border-color:rgba(168,85,247,.32);
  transform:translateY(-1px);
}
.rjv-detail__tag--pink{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -4px rgba(219,39,119,.55);
}

/* ---- Metrics: unified strip (score ring + inline chips) ---- */
.rjv-detail__metrics{
  display:flex;align-items:center;gap:18px;
  padding:14px 20px;border-radius:16px;
  background:
    linear-gradient(135deg,rgba(168,85,247,.10) 0%,rgba(236,72,153,.04) 100%),
    rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset;
}
@media(max-width:640px){
  /* 手机端：横向紧凑布局，左评分环 + 右 2x2 stat */
  .rjv-detail__metrics{
    flex-direction:row;align-items:center;
    gap:12px;padding:12px 14px;
  }
}

.rjv-score-ring{
  position:relative;
  width:88px;height:88px;
  display:grid;place-items:center;flex-shrink:0;
}
.rjv-score-ring__svg{
  position:absolute;inset:0;width:100%;height:100%;
  transform:rotate(-90deg);
}
.rjv-score-ring__track{
  fill:none;stroke:rgba(255,255,255,.08);stroke-width:6;
}
.rjv-score-ring__fill{
  fill:none;stroke:url(#rjvScoreGrad);
  stroke-width:6;stroke-linecap:round;
  transition:stroke-dashoffset .8s cubic-bezier(.2,.7,.2,1);
  filter:drop-shadow(0 0 6px rgba(251,191,36,.5));
}
.rjv-score-ring__body{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  position:relative;z-index:1;
}
.rjv-score-ring__num{
  font-size:24px;font-weight:900;line-height:1;
  background:linear-gradient(135deg,#fbbf24,#f97316);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 6px rgba(251,191,36,.4));
}
.rjv-score-ring__lbl{
  font-size:8px;letter-spacing:.24em;color:#a78bfa;
  margin-top:4px;font-weight:700;
}

.rjv-stats{
  display:flex;flex-wrap:wrap;gap:6px 22px;
  flex:1;min-width:0;
  padding-left:18px;
  border-left:1px solid rgba(255,255,255,.08);
}
@media(max-width:640px){
  /* 手机端：保留左侧竖分隔线 + 紧凑 2x2 */
  .rjv-stats{
    display:grid;grid-template-columns:1fr 1fr;
    gap:8px 12px;
    flex:1;min-width:0;width:auto;
    padding:0 0 0 12px;
    border-left:1px solid rgba(255,255,255,.08);
    border-top:0;
  }
  .rjv-stat-chip{min-width:0;gap:6px}
  .rjv-stat-chip__ic{width:24px;height:24px;border-radius:7px}
  .rjv-stat-chip__ic svg{width:11px;height:11px}
  .rjv-stat-chip__body{overflow:hidden}
  .rjv-stat-chip__num{font-size:12.5px}
  .rjv-stat-chip__lbl{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.rjv-stat-chip{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13px;color:#cbd5e1;line-height:1.3;
  white-space:nowrap;
}
.rjv-stat-chip__ic{
  width:30px;height:30px;border-radius:9px;flex-shrink:0;
  display:grid;place-items:center;color:#a78bfa;
  background:rgba(168,85,247,.10);
  border:1px solid rgba(168,85,247,.18);
}
.rjv-stat-chip__ic svg{width:14px;height:14px}
.rjv-stat-chip__body{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.rjv-stat-chip__num{
  font-size:14px;font-weight:700;color:#fff;
}
.rjv-stat-chip__num small{font-size:11px;font-weight:500;color:#9082b0;margin-left:1px}
.rjv-stat-chip__lbl{
  font-size:10.5px;color:#9082b0;letter-spacing:.05em;margin-top:1px;
}

/* ---- Info rows: flex-wrap, items自然紧凑 ---- */
.rjv-detail__rows{
  display:flex;flex-wrap:wrap;
  gap:8px 32px;
  padding:12px 18px;border-radius:14px;
  background:rgba(255,255,255,.022);
  border:1px solid rgba(255,255,255,.05);
}
.rjv-detail__row{
  display:flex;align-items:flex-start;gap:10px;
  font-size:13px;line-height:1.7;padding:3px 0;
  min-width:0;
}
.rjv-detail__row-lbl{
  flex-shrink:0;color:#9082b0;font-weight:600;
  display:inline-flex;align-items:center;gap:6px;
}
.rjv-detail__row-lbl::before{
  content:"";display:inline-block;width:3px;height:12px;border-radius:2px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
}
.rjv-detail__row-val{display:flex;align-items:center;flex-wrap:wrap;gap:2px;color:#cbd5e1;min-width:0}
.rjv-detail__row-val a{
  color:#cbd5e1;padding:1px 6px;border-radius:6px;
  transition:background .15s,color .15s;
}
.rjv-detail__row-val a:hover{color:#f0abfc;background:rgba(168,85,247,.14)}
.rjv-sep{color:#5b4a7c;margin:0 2px;opacity:.6}
.rjv-more{
  font-size:11px;padding:1px 8px;border-radius:9999px;color:#a78bfa;
  background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.22);margin-left:4px;
}

/* ---- CTA ---- */
.rjv-detail__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}
.rjv-detail__btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 28px;border-radius:9999px;font-weight:700;font-size:14px;
  cursor:pointer;transition:transform .2s,box-shadow .2s,filter .2s,background .2s,border-color .2s;
  letter-spacing:.02em;
}
.rjv-detail__btn svg{width:16px;height:16px}
.rjv-detail__btn--primary{
  color:#fff;
  background:linear-gradient(135deg,#a855f7 0%,#ec4899 100%);
  box-shadow:
    0 16px 36px -12px rgba(219,39,119,.75),
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 1px 0 rgba(255,255,255,.18) inset;
}
.rjv-detail__btn--primary:hover{
  transform:translateY(-2px);filter:brightness(1.08);
  box-shadow:
    0 22px 44px -12px rgba(219,39,119,.85),
    0 0 0 1px rgba(255,255,255,.15) inset,
    0 1px 0 rgba(255,255,255,.25) inset;
}
.rjv-detail__btn--ghost{
  color:#e9d5ff;background:rgba(255,255,255,.05);
  border:1px solid rgba(168,85,247,.30);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.rjv-detail__btn--ghost:hover{
  background:rgba(168,85,247,.16);color:#fff;border-color:rgba(168,85,247,.55);
  transform:translateY(-1px);
}
.rjv-detail__btn--ghost.is-fav{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,#ec4899,#f43f5e);
  box-shadow:0 12px 24px -8px rgba(244,63,94,.6),0 0 0 1px rgba(255,255,255,.10) inset;
}
.rjv-detail__btn--ghost.is-fav svg{fill:#fff}

/* ---- Synopsis ---- */
.rjv-detail__syn{
  position:relative;margin-top:2px;
  padding:16px 20px 16px 24px;border-radius:14px;
  background:linear-gradient(135deg,rgba(0,0,0,.28),rgba(0,0,0,.16));
  border:1px solid rgba(255,255,255,.05);
}
.rjv-detail__syn::before{
  content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,#a855f7,#ec4899);
}
.rjv-detail__syn-head{
  display:flex;align-items:baseline;gap:10px;margin-bottom:8px;
}
.rjv-detail__syn-head-zh{font-size:13.5px;font-weight:800;color:#fff;letter-spacing:.02em}
.rjv-detail__syn-head-en{
  font-size:10px;font-weight:700;letter-spacing:.24em;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-detail__syn-text{
  font-size:13.5px;color:#cbd5e1;line-height:1.85;
  position:relative;
}
/* 只有标记为 is-clamped 的短文本才裁剪 + 渐变遮罩 */
.rjv-detail__syn.is-clamped .rjv-detail__syn-text{
  max-height:155px;overflow:hidden;
  transition:max-height .4s ease;
}
.rjv-detail__syn.is-clamped .rjv-detail__syn-text::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:40px;
  background:linear-gradient(180deg,transparent,rgba(12,6,28,.92));
  pointer-events:none;
}
.rjv-detail__syn.is-clamped.is-open .rjv-detail__syn-text{max-height:1500px}
.rjv-detail__syn.is-clamped.is-open .rjv-detail__syn-text::after{display:none}
.rjv-detail__syn-toggle{
  margin-top:10px;font-size:12.5px;color:#a78bfa;font-weight:600;background:transparent;
  display:inline-flex;align-items:center;gap:4px;
  transition:color .15s;
}
.rjv-detail__syn-toggle:hover{color:#ec4899}

/* =========================================================
 *  Detail page — episodes
 * =======================================================*/
.rjv-eps{
  margin:24px 0;padding:24px 26px;border-radius:20px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);
}
.rjv-eps__head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:18px}
.rjv-eps__title{
  font-size:20px;font-weight:800;color:#fff;
  display:flex;align-items:baseline;gap:14px;
}
.rjv-eps__title::before{
  content:"";display:inline-block;width:5px;height:20px;border-radius:3px;
  background:linear-gradient(180deg,#a855f7,#ec4899);margin-right:8px;
}
.rjv-eps__title-en{
  font-size:12px;font-weight:600;letter-spacing:.22em;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-eps__total{font-size:13px;color:#9082b0}
.rjv-eps__total strong{color:#f0abfc;font-weight:700;margin:0 2px}

.rjv-eps__tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px dashed rgba(255,255,255,.08)}
.rjv-eps__tab{
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 16px;border-radius:9999px;font-size:13.5px;font-weight:500;color:#cbd5e1;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;
}
.rjv-eps__tab:hover{color:#fff;background:rgba(168,85,247,.16);border-color:rgba(168,85,247,.4)}
.rjv-eps__tab.is-active{
  color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);border-color:transparent;
  box-shadow:0 6px 14px -6px rgba(219,39,119,.6);
}
.rjv-eps__tab-count{
  font-size:11px;padding:1px 7px;border-radius:9999px;font-weight:600;
  background:rgba(0,0,0,.25);color:rgba(255,255,255,.85);
}
.rjv-eps__tab.is-active .rjv-eps__tab-count{background:rgba(255,255,255,.22)}

.rjv-eps__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.rjv-eps__item{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:10px;font-size:13.5px;color:#cbd5e1;text-align:center;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rjv-eps__item:hover{
  color:#fff;background:rgba(168,85,247,.18);border-color:rgba(168,85,247,.4);
  transform:translateY(-1px);
}

.rjv-hidden{display:none !important}

/* =========================================================
 *  Detail page — related recommendations
 * =======================================================*/
.rjv-recom{margin:24px 0 36px}
.rjv-recom__head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:20px}
.rjv-recom__title{
  font-size:clamp(20px,2.6vw,26px);font-weight:800;color:#fff;
  display:flex;align-items:baseline;gap:14px;
}
.rjv-recom__title::before{
  content:"";display:inline-block;width:5px;height:22px;border-radius:3px;
  background:linear-gradient(180deg,#a855f7,#ec4899);margin-right:8px;
}
.rjv-recom__title-en{
  font-size:12px;font-weight:600;letter-spacing:.22em;
  background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-recom__more{
  display:inline-flex;align-items:center;gap:5px;
  padding:7px 14px;border-radius:9999px;font-size:12.5px;font-weight:500;color:#e9d5ff;
  background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.28);
  transition:all .15s;
}
.rjv-recom__more:hover{background:linear-gradient(135deg,#9333ea,#db2777);color:#fff;border-color:transparent}
.rjv-recom__more svg{width:11px;height:11px}

/* =========================================================
 *  Detail page — mobile polish
 * =======================================================*/
@media(max-width:640px){
  /* Hero overall: 更紧的间距 */
  .rjv-detail{padding:36px 0 24px}
  .rjv-detail__inner{gap:20px}

  /* 海报：略缩小并居中，避免占满屏幕 */
  .rjv-detail__poster{width:200px;border-radius:16px}

  /* 标题与副信息行 —— 居中排版更精致 */
  .rjv-detail__title{
    font-size:24px;gap:8px;
    justify-content:center;text-align:center;
  }
  .rjv-detail__sub{font-size:12px;padding:3px 10px}
  .rjv-detail__subline{
    font-size:12.5px;gap:6px;
    justify-content:center;
  }
  .rjv-detail__subline::before{width:18px}
  .rjv-detail__crumb{
    font-size:10.5px;gap:6px;
    align-self:center;
  }
  .rjv-detail__tags{
    justify-content:center;
  }

  /* 信息行：去掉重盒子，用细虚线分隔，行间距更紧 */
  .rjv-detail__rows{
    background:transparent;border:0;border-radius:0;
    border-top:1px dashed rgba(255,255,255,.10);
    border-bottom:1px dashed rgba(255,255,255,.10);
    padding:10px 2px;margin:2px 0 0;
    gap:4px 20px;
  }
  .rjv-detail__row{font-size:13px;padding:2px 0}
  .rjv-detail__row-lbl{font-size:13px}
  .rjv-detail__row-lbl::before{top:6px;bottom:6px;width:2px}

  /* CTA：紧凑、主按钮占 1fr 让一行能放下三个 */
  .rjv-detail__cta{gap:8px;flex-wrap:wrap}
  .rjv-detail__btn{padding:11px 18px;font-size:13.5px;gap:6px}
  .rjv-detail__btn--primary{flex:1 1 160px;min-width:0}
  .rjv-detail__btn--ghost{flex:0 0 auto;padding:11px 16px}

  /* 简介：左侧装饰条变细 */
  .rjv-detail__syn{padding:14px 16px 14px 20px}
  .rjv-detail__syn::before{width:2px}

  /* 评分环大幅缩小，与右侧 chips 等高 */
  .rjv-score-ring{width:60px;height:60px}
  .rjv-score-ring__num{font-size:16px}
  .rjv-score-ring__lbl{font-size:7px;letter-spacing:.18em;margin-top:1px}
  .rjv-score-ring__track{stroke-width:7}
  .rjv-score-ring__fill{stroke-width:7}

  /* 选集：缩小卡片，单行能放 4 个 */
  .rjv-eps{padding:18px 16px;border-radius:16px;margin:18px 0}
  .rjv-eps__head{margin-bottom:14px}
  .rjv-eps__title{font-size:18px;gap:10px}
  .rjv-eps__title::before{height:18px}
  .rjv-eps__total{font-size:12px}
  .rjv-eps__tabs{gap:6px;margin-bottom:12px;padding-bottom:12px}
  .rjv-eps__tab{padding:6px 12px;font-size:12.5px}
  .rjv-eps__grid{
    grid-template-columns:repeat(auto-fill,minmax(78px,1fr));
    gap:6px;
  }
  .rjv-eps__item{padding:9px 6px;font-size:12.5px;border-radius:8px}

  /* 相关推荐：标题缩小 */
  .rjv-recom__title{font-size:20px}
  .rjv-recom__more{padding:5px 10px;font-size:11.5px}
}

@media(max-width:380px){
  /* 极小屏：主按钮全宽，收藏+分享并排 */
  .rjv-detail__btn--primary{flex:1 1 100%;justify-content:center}
  .rjv-detail__btn--ghost{flex:1 1 calc(50% - 4px);justify-content:center}
  .rjv-eps__grid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}
  .rjv-eps__item{font-size:12px;padding:8px 4px}
}

/* =========================================================
 *  Toast
 * =======================================================*/
.rjv-toast{
  position:fixed;left:50%;bottom:84px;transform:translate(-50%,12px);
  padding:10px 22px;border-radius:9999px;font-size:14px;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 14px 40px -10px rgba(219,39,119,.6);
  opacity:0;pointer-events:none;z-index:80;
  transition:opacity .25s,transform .25s;
}
.rjv-toast.is-show{opacity:1;transform:translate(-50%,0)}

/* =========================================================
 *  Back to top
 * =======================================================*/
.rjv-top-btn{
  position:fixed;right:18px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:55;
  width:46px;height:46px;border-radius:9999px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 14px 30px -10px rgba(219,39,119,.6);
  opacity:0;pointer-events:none;transform:translateY(10px);
  transition:opacity .25s,transform .25s,filter .15s;
  border:0;
}
.rjv-top-btn.is-show{opacity:1;pointer-events:auto;transform:translateY(0)}
.rjv-top-btn:hover{filter:brightness(1.07)}
.rjv-top-btn svg{width:18px;height:18px}

/* =========================================================
 *  Scrollbar (subtle dark)
 * =======================================================*/
@media(min-width:768px){
  ::-webkit-scrollbar{width:10px;height:10px}
  ::-webkit-scrollbar-track{background:#0d0a1d}
  ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#5b21b6,#9d174d);border-radius:9999px;border:2px solid #0d0a1d}
  ::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#7c3aed,#be185d)}
}

/* selection */
::selection{background:rgba(168,85,247,.45);color:#fff}

/* =========================================================
 *  Page hero (used by updates / rankings)
 * =======================================================*/
.rjv-pagehero{
  position:relative;margin:18px 0 22px;
  padding:36px 28px;border-radius:24px;overflow:hidden;
  background:
    radial-gradient(900px 200px at 0% 0%,rgba(168,85,247,.18) 0%,transparent 70%),
    radial-gradient(700px 220px at 100% 0%,rgba(236,72,153,.14) 0%,transparent 70%),
    linear-gradient(135deg,rgba(168,85,247,.08) 0%,rgba(236,72,153,.04) 100%),
    rgba(12,6,28,.6);
  border:1px solid rgba(168,85,247,.18);
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset;
}
.rjv-pagehero::before{
  content:"";position:absolute;left:-40px;top:-40px;width:220px;height:220px;border-radius:9999px;
  background:radial-gradient(circle,rgba(168,85,247,.35) 0%,transparent 70%);
  filter:blur(40px);pointer-events:none;
}
.rjv-pagehero::after{
  content:"";position:absolute;right:-60px;bottom:-60px;width:260px;height:260px;border-radius:9999px;
  background:radial-gradient(circle,rgba(236,72,153,.28) 0%,transparent 70%);
  filter:blur(50px);pointer-events:none;
}
.rjv-pagehero__inner{position:relative;z-index:1}
.rjv-pagehero__kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:700;letter-spacing:.26em;text-transform:uppercase;
  color:#a78bfa;
  padding:5px 12px;border-radius:9999px;
  background:rgba(168,85,247,.10);border:1px solid rgba(168,85,247,.22);
}
.rjv-pagehero__kicker svg{width:10px;height:10px;filter:drop-shadow(0 0 6px rgba(168,85,247,.7))}
.rjv-pagehero__title{
  margin:14px 0 10px;font-size:clamp(28px,3.8vw,42px);
  font-weight:900;line-height:1.12;letter-spacing:-.02em;color:#fff;
  background:linear-gradient(135deg,#ffffff 0%,#ffffff 45%,#f0abfc 85%,#ec4899 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 4px 20px rgba(236,72,153,.18));
}
.rjv-pagehero__sub{
  max-width:680px;font-size:14px;line-height:1.85;color:#cbd5e1;margin:0 0 18px;
}
.rjv-pagehero__stats{
  display:flex;flex-wrap:wrap;gap:10px 22px;
}
.rjv-pagehero__stat{
  display:inline-flex;align-items:baseline;gap:8px;
  padding:6px 14px;border-radius:9999px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.rjv-pagehero__stat-num{
  font-size:18px;font-weight:900;line-height:1;
  background:linear-gradient(135deg,#fbbf24,#f97316);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-pagehero__stat-lb{font-size:12px;color:#9082b0;font-weight:500}

@media(max-width:640px){
  .rjv-pagehero{padding:24px 18px;margin:14px 0 16px;border-radius:18px}
  .rjv-pagehero__title{font-size:24px}
  .rjv-pagehero__sub{font-size:13px;line-height:1.75}
  .rjv-pagehero__stat{padding:5px 12px}
  .rjv-pagehero__stat-num{font-size:16px}
}

/* =========================================================
 *  Quick category filter pills
 * =======================================================*/
.rjv-qcats{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;
  padding:14px 16px;border-radius:16px;
  background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);
}
.rjv-qcats a{
  display:inline-flex;align-items:center;
  padding:7px 14px;border-radius:9999px;font-size:13px;color:#cbd5e1;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;
}
.rjv-qcats a:hover{color:#fff;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}
.rjv-qcats a.is-active{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 16px -6px rgba(219,39,119,.55);
}
@media(max-width:640px){
  .rjv-qcats{padding:10px 12px;gap:6px;border-radius:14px;margin-bottom:18px;
    overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
  .rjv-qcats::-webkit-scrollbar{display:none}
  .rjv-qcats a{padding:6px 12px;font-size:12.5px;flex:0 0 auto}
}

/* =========================================================
 *  Date-grouped section (updates page)
 * =======================================================*/
.rjv-datesec{margin:0 0 32px}
.rjv-datesec__head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:14px;
  margin-bottom:16px;padding-bottom:12px;
  border-bottom:1px dashed rgba(255,255,255,.08);
}
.rjv-datesec__head h2{
  font-size:22px;font-weight:900;color:#fff;
  display:inline-flex;align-items:baseline;gap:10px;line-height:1.2;
}
.rjv-datesec__head h2::before{
  content:"";display:inline-block;width:4px;height:20px;border-radius:2px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
  transform:translateY(2px);
}
.rjv-datesec__head h2 span{
  font-size:11px;letter-spacing:.22em;color:#a78bfa;font-weight:700;
}
.rjv-datesec__count{font-size:12.5px;color:#9082b0}
.rjv-datesec__count strong{color:#f0abfc;font-weight:700;margin:0 2px}

@media(max-width:640px){
  .rjv-datesec{margin-bottom:24px}
  .rjv-datesec__head h2{font-size:18px;gap:8px}
  .rjv-datesec__head h2::before{width:3px;height:16px}
  .rjv-datesec__head h2 span{font-size:10px}
}

/* =========================================================
 *  Empty state
 * =======================================================*/
.rjv-empty{
  margin:30px 0;padding:36px 24px;text-align:center;border-radius:18px;
  background:rgba(255,255,255,.025);border:1px dashed rgba(168,85,247,.20);
}
.rjv-empty--my40{margin:40px 0}
.rjv-empty__title{font-size:16px;font-weight:700;color:#fff;margin-bottom:6px}
.rjv-empty__desc{font-size:13px;color:#9082b0;line-height:1.75}

/* =========================================================
 *  Rankings — TOP 3 podium
 * =======================================================*/
.rjv-rtop{
  display:grid;gap:14px;margin:0 0 24px;
  grid-template-columns:repeat(1,1fr);
}
@media(min-width:640px){.rjv-rtop{grid-template-columns:repeat(3,1fr);gap:16px}}
.rjv-rtop__item{
  position:relative;display:grid;
  grid-template-columns:96px 1fr;gap:14px;
  padding:14px;border-radius:18px;overflow:hidden;
  background:linear-gradient(135deg,rgba(168,85,247,.10) 0%,rgba(236,72,153,.04) 100%),rgba(12,6,28,.5);
  border:1px solid rgba(168,85,247,.22);
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.rjv-rtop__item:hover{
  transform:translateY(-3px);
  border-color:rgba(236,72,153,.40);
  box-shadow:0 20px 40px -16px rgba(168,85,247,.40);
}
.rjv-rtop__item--1{background:linear-gradient(135deg,rgba(251,191,36,.16) 0%,rgba(245,158,11,.06) 100%),rgba(12,6,28,.55);border-color:rgba(251,191,36,.36)}
.rjv-rtop__item--2{background:linear-gradient(135deg,rgba(203,213,225,.14) 0%,rgba(148,163,184,.06) 100%),rgba(12,6,28,.55);border-color:rgba(203,213,225,.30)}
.rjv-rtop__item--3{background:linear-gradient(135deg,rgba(245,158,11,.12) 0%,rgba(180,83,9,.06) 100%),rgba(12,6,28,.55);border-color:rgba(245,158,11,.28)}
.rjv-rtop__medal{
  position:absolute;top:8px;right:10px;z-index:2;
  width:30px;height:30px;border-radius:9999px;display:grid;place-items:center;
  font-size:14px;font-weight:900;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -4px rgba(219,39,119,.55);
}
.rjv-rtop__item--1 .rjv-rtop__medal{background:linear-gradient(135deg,#fbbf24,#f59e0b);box-shadow:0 8px 20px -4px rgba(251,191,36,.6)}
.rjv-rtop__item--2 .rjv-rtop__medal{background:linear-gradient(135deg,#cbd5e1,#94a3b8);box-shadow:0 8px 20px -4px rgba(203,213,225,.4)}
.rjv-rtop__item--3 .rjv-rtop__medal{background:linear-gradient(135deg,#fb923c,#b45309);box-shadow:0 8px 20px -4px rgba(245,158,11,.5)}
.rjv-rtop__crown{
  position:absolute;top:-10px;left:14px;z-index:2;
  color:#fbbf24;filter:drop-shadow(0 4px 10px rgba(251,191,36,.6));
}
.rjv-rtop__crown svg{width:22px;height:22px}
.rjv-rtop__cover{
  position:relative;display:block;aspect-ratio:2/3;border-radius:12px;overflow:hidden;
  background:#1c1133;box-shadow:0 10px 20px -10px rgba(0,0,0,.6);
}
.rjv-rtop__cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.rjv-rtop__item:hover .rjv-rtop__cover img{transform:scale(1.06)}
.rjv-rtop__cover img.is-broken{opacity:0}
.rjv-rtop__cover-badge{
  position:absolute;left:6px;bottom:6px;
  padding:3px 8px;border-radius:6px;font-size:10.5px;font-weight:600;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 4px 10px -2px rgba(219,39,119,.55);
}
.rjv-rtop__body{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}
.rjv-rtop__cat{font-size:11px;letter-spacing:.06em;color:#a78bfa;font-weight:600;text-transform:uppercase}
.rjv-rtop__title{
  font-size:16px;font-weight:700;color:#fff;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rjv-rtop__title a{color:inherit;transition:color .15s}
.rjv-rtop__title a:hover{color:#f0abfc}
.rjv-rtop__meta{display:flex;align-items:center;gap:6px;font-size:12px;color:#9082b0;margin-top:2px}
.rjv-rtop__hits{
  display:inline-flex;align-items:center;gap:4px;
  padding:2px 8px;border-radius:9999px;
  background:rgba(251,191,36,.12);color:#fbbf24;font-weight:700;
}
.rjv-rtop__bar{
  height:4px;border-radius:2px;background:rgba(255,255,255,.06);overflow:hidden;margin-top:4px;
}
.rjv-rtop__bar span{
  display:block;height:100%;border-radius:2px;
  background:linear-gradient(90deg,#9333ea,#db2777);
  box-shadow:0 0 8px rgba(236,72,153,.55);
}
.rjv-rtop__item--1 .rjv-rtop__bar span{background:linear-gradient(90deg,#fbbf24,#f59e0b);box-shadow:0 0 8px rgba(251,191,36,.6)}

@media(max-width:640px){
  .rjv-rtop__item{padding:12px;gap:12px;grid-template-columns:80px 1fr}
  .rjv-rtop__title{font-size:15px}
  .rjv-rtop__medal{width:26px;height:26px;font-size:12px}
}

/* =========================================================
 *  Rankings — list 4-N
 * =======================================================*/
.rjv-rlist{
  display:flex;flex-direction:column;gap:8px;margin:0 0 16px;
  padding:8px;border-radius:16px;
  background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06);
}
.rjv-rlist__item{
  display:grid;grid-template-columns:40px 60px 1fr auto;gap:14px;
  align-items:center;padding:10px 12px;border-radius:12px;
  color:#cbd5e1;transition:background .15s,transform .15s;
}
.rjv-rlist__item:hover{background:rgba(168,85,247,.08);transform:translateX(2px)}
.rjv-rlist__num{
  font-size:15px;font-weight:900;color:#7c7591;text-align:center;font-variant-numeric:tabular-nums;
}
.rjv-rlist__cover{
  position:relative;width:60px;aspect-ratio:2/3;border-radius:8px;overflow:hidden;
  background:#1c1133;
}
.rjv-rlist__cover img{width:100%;height:100%;object-fit:cover;display:block}
.rjv-rlist__cover img.is-broken{opacity:0}
.rjv-rlist__main{min-width:0}
.rjv-rlist__title{
  font-size:14px;font-weight:600;color:#fff;line-height:1.4;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rjv-rlist__item:hover .rjv-rlist__title{color:#f0abfc}
.rjv-rlist__meta{
  display:flex;align-items:center;gap:8px;margin-top:6px;
  font-size:11.5px;color:#9082b0;
}
.rjv-rlist__meta-dot{width:3px;height:3px;border-radius:9999px;background:#5b4a7c;flex-shrink:0}
.rjv-rlist__bar{
  display:inline-block;width:80px;height:4px;border-radius:2px;
  background:rgba(255,255,255,.06);overflow:hidden;vertical-align:middle;
}
.rjv-rlist__bar span{
  display:block;height:100%;border-radius:2px;
  background:linear-gradient(90deg,#9333ea,#db2777);
}
.rjv-rlist__hits{
  display:flex;flex-direction:column;align-items:flex-end;line-height:1.2;
}
.rjv-rlist__hits-n{
  font-size:14px;font-weight:800;
  background:linear-gradient(135deg,#fbbf24,#f97316);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rjv-rlist__hits-lb{font-size:10px;color:#9082b0;letter-spacing:.1em;text-transform:uppercase}

@media(max-width:640px){
  .rjv-rlist__item{grid-template-columns:28px 52px 1fr auto;gap:10px;padding:8px 10px}
  .rjv-rlist__cover{width:52px}
  .rjv-rlist__num{font-size:13px}
  .rjv-rlist__title{font-size:13.5px}
  .rjv-rlist__meta{font-size:11px;gap:6px}
  .rjv-rlist__bar{width:50px}
  .rjv-rlist__hits-n{font-size:13px}
}

/* =========================================================
 *  Period tabs (all/month/week/day for rankings)
 * =======================================================*/
.rjv-ptabs{
  display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;
  padding:6px;border-radius:14px;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);
  width:fit-content;max-width:100%;
}
.rjv-ptabs a{
  padding:7px 18px;border-radius:9999px;font-size:13px;font-weight:600;color:#cbd5e1;
  transition:all .15s;
}
.rjv-ptabs a:hover{color:#fff;background:rgba(168,85,247,.12)}
.rjv-ptabs a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -4px rgba(219,39,119,.55);
}
@media(max-width:640px){
  .rjv-ptabs{width:100%}
  .rjv-ptabs a{flex:1;text-align:center;padding:7px 10px;font-size:12.5px}
}

/* =========================================================
 *  Search hero (big search box on search page)
 * =======================================================*/
.rjv-shero{
  position:relative;margin:18px 0 22px;
  padding:36px 28px 28px;border-radius:24px;overflow:hidden;
  background:
    radial-gradient(900px 220px at 0% 0%,rgba(168,85,247,.22) 0%,transparent 70%),
    radial-gradient(700px 240px at 100% 100%,rgba(236,72,153,.18) 0%,transparent 70%),
    linear-gradient(135deg,rgba(168,85,247,.08) 0%,rgba(236,72,153,.04) 100%),
    rgba(12,6,28,.6);
  border:1px solid rgba(168,85,247,.22);
}
.rjv-shero::before{
  content:"";position:absolute;left:-50px;top:-50px;width:260px;height:260px;border-radius:9999px;
  background:radial-gradient(circle,rgba(168,85,247,.4) 0%,transparent 70%);filter:blur(50px);pointer-events:none;
}
.rjv-shero::after{
  content:"";position:absolute;right:-60px;bottom:-60px;width:280px;height:280px;border-radius:9999px;
  background:radial-gradient(circle,rgba(236,72,153,.32) 0%,transparent 70%);filter:blur(60px);pointer-events:none;
}
.rjv-shero > .rjv-wrap{position:relative;z-index:1;padding:0}
.rjv-shero__head{
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:18px;
}
.rjv-shero__icon{
  display:inline-grid;place-items:center;
  width:44px;height:44px;border-radius:14px;color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 10px 24px -8px rgba(219,39,119,.6);
}
.rjv-shero__icon svg{width:22px;height:22px}
.rjv-shero__title{
  font-size:clamp(24px,3vw,32px);font-weight:900;color:#fff;line-height:1.2;
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
}
.rjv-shero__kw{
  background:linear-gradient(135deg,#f0abfc,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 10px rgba(236,72,153,.3));
}
.rjv-shero__meta{font-size:13px;color:#9082b0;margin:0}
.rjv-shero__meta strong{color:#f0abfc;font-weight:700;margin:0 2px}

.rjv-shero__form{
  position:relative;display:flex;align-items:center;gap:8px;
  padding:6px 6px 6px 16px;border-radius:14px;
  background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.10);
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset;
  transition:border-color .2s,box-shadow .2s;
}
.rjv-shero__form:focus-within{
  border-color:rgba(236,72,153,.5);
  box-shadow:0 0 0 4px rgba(236,72,153,.15),0 1px 0 rgba(255,255,255,.04) inset;
}
.rjv-shero__form-icon{display:grid;place-items:center;color:#a78bfa;flex-shrink:0}
.rjv-shero__form-icon svg{width:18px;height:18px}
.rjv-shero__form input{
  flex:1;min-width:0;background:transparent;border:0;outline:none;
  font-size:15px;color:#fff;padding:11px 0;
}
.rjv-shero__form input::placeholder{color:#7c7591}
.rjv-shero__clear{
  display:grid;place-items:center;
  width:30px;height:30px;border-radius:9999px;color:#9082b0;
  background:rgba(255,255,255,.06);transition:all .15s;flex-shrink:0;
}
.rjv-shero__clear:hover{background:rgba(239,68,68,.18);color:#fca5a5}
.rjv-shero__submit{
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 18px;border-radius:10px;
  font-size:14px;font-weight:700;color:#fff;flex-shrink:0;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 8px 18px -6px rgba(219,39,119,.55);
  transition:filter .15s,transform .15s;
}
.rjv-shero__submit:hover{filter:brightness(1.08);transform:translateY(-1px)}
.rjv-shero__submit svg{width:15px;height:15px}

.rjv-shero__rows{margin-top:18px;display:flex;flex-direction:column;gap:12px}
.rjv-shero__row{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}
.rjv-shero__row-label{
  display:inline-flex;align-items:center;gap:5px;flex-shrink:0;
  font-size:12px;color:#a78bfa;font-weight:600;letter-spacing:.06em;padding-top:5px;
}
.rjv-shero__row-label svg{width:13px;height:13px}
.rjv-shero__row-clear{
  margin-left:6px;padding:1px 8px;border-radius:9999px;font-size:10.5px;
  color:#9082b0;background:rgba(255,255,255,.05);transition:all .15s;
}
.rjv-shero__row-clear:hover{color:#fca5a5;background:rgba(239,68,68,.12)}
.rjv-shero__chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.rjv-shero__chip{
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 12px;border-radius:9999px;font-size:12.5px;color:#cbd5e1;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);
  cursor:pointer;transition:all .15s;
}
.rjv-shero__chip:hover{color:#fff;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}
.rjv-shero__chip--hot{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,rgba(168,85,247,.22),rgba(236,72,153,.18));
}
.rjv-shero__chip-rank{
  display:inline-grid;place-items:center;
  width:16px;height:16px;border-radius:9999px;
  font-size:9.5px;font-weight:900;
  background:linear-gradient(135deg,#fbbf24,#f97316);color:#fff;
}

@media(max-width:640px){
  .rjv-shero{padding:24px 18px 22px;border-radius:18px;margin:14px 0 16px}
  .rjv-shero__title{font-size:20px}
  .rjv-shero__form{padding:4px 4px 4px 12px}
  .rjv-shero__form input{font-size:14px;padding:10px 0}
  .rjv-shero__submit{padding:9px 14px;font-size:13px}
  .rjv-shero__submit span{display:none}
  .rjv-shero__rows{margin-top:14px;gap:10px}
}

/* =========================================================
 *  Search result list & item
 * =======================================================*/
.rjv-sresult-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:0 0 16px;padding-bottom:12px;
  border-bottom:1px dashed rgba(255,255,255,.08);
}
.rjv-sresult-head__title{
  font-size:20px;font-weight:900;color:#fff;
  display:inline-flex;align-items:baseline;gap:10px;
}
.rjv-sresult-head__title::before{
  content:"";display:inline-block;width:4px;height:18px;border-radius:2px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
  transform:translateY(2px);
}
.rjv-sresult-head__meta{font-size:12.5px;color:#9082b0}
.rjv-sresult-head__meta strong{color:#f0abfc;font-weight:700;margin:0 2px}

.rjv-sresult{display:flex;flex-direction:column;gap:14px;margin:0 0 24px}

.rjv-sitem{
  display:grid;grid-template-columns:120px 1fr;gap:16px;
  padding:14px;border-radius:16px;
  background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.rjv-sitem:hover{
  transform:translateY(-2px);
  border-color:rgba(168,85,247,.32);
  box-shadow:0 16px 32px -16px rgba(168,85,247,.40);
}
.rjv-sitem__cover{
  position:relative;display:block;aspect-ratio:2/3;border-radius:12px;overflow:hidden;
  background:#1c1133;
}
.rjv-sitem__cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.rjv-sitem:hover .rjv-sitem__cover img{transform:scale(1.05)}
.rjv-sitem__cover img.is-broken{opacity:0}
.rjv-sitem__broken{
  position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:900;
  color:#fff;letter-spacing:1px;opacity:0;pointer-events:none;text-align:center;padding:4px;
  text-shadow:0 2px 8px rgba(0,0,0,.7);
}
.rjv-sitem__cover img.is-broken + .rjv-sitem__broken{opacity:1}
.rjv-sitem__play{
  position:absolute;inset:0;display:grid;place-items:center;
  background:rgba(0,0,0,.45);opacity:0;transition:opacity .25s;
}
.rjv-sitem__play svg{
  width:32px;height:32px;color:#fff;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.6));
  transform:scale(.85);transition:transform .25s;
}
.rjv-sitem:hover .rjv-sitem__play{opacity:1}
.rjv-sitem:hover .rjv-sitem__play svg{transform:scale(1)}

.rjv-sitem__body{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}
.rjv-sitem__title{font-size:17px;font-weight:800;color:#fff;line-height:1.3}
.rjv-sitem__title a{color:inherit;transition:color .15s}
.rjv-sitem__title a:hover{color:#f0abfc}
.rjv-sitem__meta{display:flex;align-items:center;gap:10px;font-size:12px;color:#9082b0;flex-wrap:wrap}
.rjv-sitem__meta svg{width:11px;height:11px;vertical-align:-1px;margin-right:2px}
.rjv-sitem__meta > span{display:inline-flex;align-items:center;gap:3px}
.rjv-sitem__score{
  padding:2px 8px;border-radius:9999px;font-size:11.5px;font-weight:800;
  background:linear-gradient(135deg,#fbbf24,#f97316);color:#fff;
  box-shadow:0 4px 10px -2px rgba(251,191,36,.4);
}
.rjv-sitem__cat{
  padding:2px 9px;border-radius:9999px;font-size:11px;color:#a78bfa;
  background:rgba(168,85,247,.10);border:1px solid rgba(168,85,247,.22);
}
.rjv-sitem__desc{
  font-size:13px;line-height:1.7;color:#cbd5e1;margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rjv-sitem__cta{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap}
.rjv-sitem__btn{
  display:inline-flex;align-items:center;gap:5px;
  padding:7px 14px;border-radius:9999px;font-size:12.5px;font-weight:700;
  transition:all .15s;
}
.rjv-sitem__btn svg{width:12px;height:12px}
.rjv-sitem__btn--primary{
  color:#fff;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -4px rgba(219,39,119,.55);
}
.rjv-sitem__btn--primary:hover{filter:brightness(1.07);transform:translateY(-1px)}
.rjv-sitem__btn--ghost{
  color:#cbd5e1;background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.rjv-sitem__btn--ghost:hover{background:rgba(168,85,247,.14);color:#fff;border-color:rgba(168,85,247,.32)}

@media(max-width:640px){
  .rjv-sitem{grid-template-columns:90px 1fr;gap:12px;padding:10px;border-radius:14px}
  .rjv-sitem__title{font-size:15px}
  .rjv-sitem__desc{font-size:12.5px;line-height:1.65;-webkit-line-clamp:2}
  .rjv-sitem__btn{padding:6px 12px;font-size:12px}
}

/* =========================================================
 *  Search empty state
 * =======================================================*/
.rjv-sempty{
  margin:24px 0;padding:50px 24px;text-align:center;border-radius:20px;
  background:
    radial-gradient(400px 200px at 50% 0%,rgba(168,85,247,.10) 0%,transparent 70%),
    rgba(255,255,255,.025);
  border:1px dashed rgba(168,85,247,.22);
}
.rjv-sempty__icon{
  display:inline-grid;place-items:center;
  width:64px;height:64px;border-radius:9999px;margin:0 auto 16px;
  color:#a78bfa;background:rgba(168,85,247,.10);border:1px solid rgba(168,85,247,.22);
}
.rjv-sempty__icon svg{width:30px;height:30px}
.rjv-sempty__title{font-size:18px;font-weight:800;color:#fff;margin:0 0 8px}
.rjv-sempty__sub{font-size:13px;line-height:1.7;color:#9082b0;margin:0 0 18px}
.rjv-sempty__act{display:inline-flex;flex-wrap:wrap;gap:10px;justify-content:center}
.rjv-sempty__act a{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 16px;border-radius:9999px;font-size:13px;font-weight:600;color:#cbd5e1;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);
  transition:all .15s;
}
.rjv-sempty__act a:hover{color:#fff;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}

@media(max-width:640px){
  .rjv-sempty{padding:36px 18px;margin:16px 0}
  .rjv-sempty__title{font-size:16px}
}

/* =========================================================
 *  Play page — stage / player / info / tools / side / mini
 * =======================================================*/
.rjv-play-stage{
  position:relative;padding:14px 0 24px;
  background:
    radial-gradient(800px 320px at 50% -50px,rgba(168,85,247,.16) 0%,transparent 70%),
    linear-gradient(180deg,rgba(168,85,247,.04) 0%,transparent 60%);
}

/* Breadcrumb */
.rjv-play-crumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  margin:0 0 14px;font-size:12.5px;color:#7c7591;
}
.rjv-play-crumb a{color:#cbd5e1;transition:color .15s}
.rjv-play-crumb a:hover{color:#f0abfc}
.rjv-play-crumb__sep{color:#5b4a7c}
.rjv-play-crumb__cur{color:#f0abfc;font-weight:600}
.rjv-play-crumb__title{
  max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  display:inline-block;vertical-align:bottom;
}

/* Layout grid — single column, sidebar moves below player */
.rjv-play-grid{
  display:flex;flex-direction:column;gap:16px;margin-bottom:24px;
}

/* Main column wrapper */
.rjv-play-main{display:flex;flex-direction:column;gap:16px;min-width:0}

/* Player */
.rjv-player{
  position:relative;aspect-ratio:16/9;width:100%;
  background:#000;border-radius:18px;overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(168,85,247,.45),
             0 0 0 1px rgba(168,85,247,.18) inset;
}
.rjv-player video,
.rjv-player iframe{width:100%;height:100%;display:block;border:0;background:#000}
.rjv-player iframe{display:block}
.rjv-player iframe.rjv-hidden{display:none}
.rjv-player__cover{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:14px;color:#fff;cursor:pointer;
  background-size:cover;background-position:center;
}
.rjv-player__cover::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(12,6,28,.45) 0%,rgba(12,6,28,.78) 70%,rgba(12,6,28,.92) 100%);
}
.rjv-player__cover > *{position:relative;z-index:1}
.rjv-player__play{
  display:grid;place-items:center;
  width:78px;height:78px;border-radius:9999px;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 20px 40px -10px rgba(219,39,119,.55),
             0 0 0 8px rgba(168,85,247,.18);
  transition:transform .25s,filter .25s;
}
.rjv-player__cover:hover .rjv-player__play{transform:scale(1.05);filter:brightness(1.08)}
.rjv-player__play svg{width:32px;height:32px;color:#fff;margin-left:4px}
.rjv-player__hint{
  font-size:14px;font-weight:600;color:#fff;
  padding:5px 14px;border-radius:9999px;
  background:rgba(255,255,255,.10);backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.18);
}
.rjv-player__warn{
  font-size:11.5px;color:rgba(255,255,255,.7);letter-spacing:.04em;
  display:inline-flex;align-items:center;gap:5px;margin-top:2px;
}
.rjv-player__empty{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:12px;color:#9082b0;font-size:14px;
  background:linear-gradient(135deg,#1c1133,#241043);
}
.rjv-player__empty svg{width:46px;height:46px;opacity:.55}
.rjv-player__fallback-link{color:#f0abfc;text-decoration:underline}

/* Info card */
.rjv-play-info{
  padding:18px 20px;border-radius:18px;
  background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.06);
}
.rjv-play-info__title{
  font-size:22px;font-weight:800;color:#fff;line-height:1.3;
  display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  margin:0 0 10px;
}
.rjv-play-info__title a{color:inherit;transition:color .15s}
.rjv-play-info__title a:hover{color:#f0abfc}
.rjv-play-info__ep{
  font-size:13px;font-weight:700;color:#fff;
  padding:3px 12px;border-radius:9999px;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -4px rgba(219,39,119,.5);
}
.rjv-play-info__meta{
  display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12.5px;color:#9082b0;
}
.rjv-play-info__meta span{display:inline-flex;align-items:center;gap:5px}
.rjv-play-info__meta svg{width:13px;height:13px;color:#a78bfa}

/* Tool row */
.rjv-play-tools{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;
  padding-top:14px;border-top:1px dashed rgba(255,255,255,.08);
}
.rjv-play-tool{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:9999px;
  font-size:13px;font-weight:600;color:#cbd5e1;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);
  cursor:pointer;transition:all .15s;
}
.rjv-play-tool:hover{color:#fff;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}
.rjv-play-tool svg{width:14px;height:14px}
.rjv-play-tool[aria-disabled="true"]{opacity:.4;pointer-events:none}
.rjv-play-tool--primary{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 8px 18px -6px rgba(219,39,119,.55);
}
.rjv-play-tool--primary:hover{filter:brightness(1.08);color:#fff;background:linear-gradient(135deg,#9333ea,#db2777);border-color:transparent}
.rjv-play-tool.is-fav{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,#ec4899,#db2777);
}
.rjv-play-tool.is-fav svg{fill:#fff}

/* Episode panel (full width, below player) */
.rjv-play-side{
  padding:16px 18px 18px;border-radius:18px;
  background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.06);
  display:flex;flex-direction:column;gap:12px;min-width:0;
}
.rjv-play-side__head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-bottom:10px;border-bottom:1px dashed rgba(255,255,255,.08);
}
.rjv-play-side__title{
  font-size:16px;font-weight:800;color:#fff;
  display:inline-flex;align-items:center;gap:8px;
}
.rjv-play-side__title::before{
  content:"";display:inline-block;width:3px;height:14px;border-radius:2px;
  background:linear-gradient(180deg,#a855f7,#ec4899);
}
.rjv-play-side__total{font-size:11.5px;color:#9082b0}
.rjv-play-side__total strong{color:#f0abfc;font-weight:700;margin:0 2px}

.rjv-play-side__src{display:flex;flex-wrap:wrap;gap:6px}
.rjv-play-side__src a{
  padding:5px 12px;border-radius:9999px;font-size:12px;color:#cbd5e1;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);
  transition:all .15s;
}
.rjv-play-side__src a:hover{color:#fff;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}
.rjv-play-side__src a.is-active{
  color:#fff;border-color:transparent;
  background:linear-gradient(135deg,#9333ea,#db2777);
}

.rjv-play-side__list{
  display:grid;gap:8px;align-content:start;
  grid-template-columns:repeat(auto-fill,minmax(82px,1fr));
}
.rjv-play-side__item{
  display:flex;align-items:center;justify-content:center;
  height:36px;padding:0 8px;border-radius:8px;
  font-size:13px;color:#cbd5e1;text-align:center;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);
  transition:all .15s;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rjv-play-side__item:hover{color:#fff;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}
.rjv-play-side__item.is-current{
  color:#fff;border-color:transparent;font-weight:700;
  background:linear-gradient(135deg,#9333ea,#db2777);
  box-shadow:0 6px 14px -4px rgba(219,39,119,.5);
}

/* Mini detail card */
.rjv-mini-detail{
  display:grid;grid-template-columns:100px 1fr;gap:14px;
  padding:14px;margin:0 0 24px;border-radius:16px;
  background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);
}
.rjv-mini-detail__poster{
  position:relative;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:#1c1133;
}
.rjv-mini-detail__poster img{width:100%;height:100%;object-fit:cover;display:block}
.rjv-mini-detail__poster img.is-broken{opacity:0}
.rjv-mini-detail__body{display:flex;flex-direction:column;gap:6px;min-width:0}
.rjv-mini-detail__name{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;
}
.rjv-mini-detail__name h3{font-size:16px;font-weight:800;color:#fff;line-height:1.3;margin:0}
.rjv-mini-detail__name a{font-size:12px;color:#a78bfa;transition:color .15s}
.rjv-mini-detail__name a:hover{color:#f0abfc}
.rjv-mini-detail__tags{display:flex;flex-wrap:wrap;gap:5px}
.rjv-mini-detail__tags span{
  padding:2px 9px;border-radius:9999px;font-size:11px;color:#cbd5e1;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.rjv-mini-detail__intro{
  font-size:12.5px;line-height:1.7;color:#9082b0;margin:4px 0 0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}

@media(max-width:640px){
  .rjv-play-stage{padding:10px 0 18px}
  .rjv-play-crumb{font-size:11.5px;gap:4px}
  .rjv-play-crumb__title{max-width:150px}
  .rjv-play-grid{gap:14px}
  .rjv-play-info{padding:14px 16px}
  .rjv-play-info__title{font-size:18px;gap:8px}
  .rjv-play-info__ep{font-size:12px;padding:2px 10px}
  .rjv-play-info__meta{font-size:12px;gap:6px 12px}
  .rjv-play-tools{gap:6px;padding-top:12px;margin-top:12px}
  .rjv-play-tool{padding:7px 12px;font-size:12px}
  .rjv-play-side{padding:14px}
  .rjv-play-side__list{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px}
  .rjv-play-side__item{font-size:12px;height:34px}
  .rjv-mini-detail{grid-template-columns:80px 1fr;gap:12px;padding:12px;border-radius:14px;margin-bottom:18px}
  .rjv-mini-detail__name h3{font-size:14.5px}
}
