*{box-sizing:border-box}
  html,body,#root{height:100%}
  body{margin:0;background:#070b14;color:#fff;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;overflow:hidden;-webkit-font-smoothing:antialiased}
  button,input{font:inherit}
  button{cursor:pointer}
  a{color:inherit;text-decoration:none}
  img{display:block;max-width:100%}
  ::selection{background:#f5b942;color:#111827}
  .app-scroll{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.28) transparent}
  .app-scroll::-webkit-scrollbar{width:7px;height:7px}
  .app-scroll::-webkit-scrollbar-thumb{background:rgba(148,163,184,.25);border-radius:999px}
  .app-scroll::-webkit-scrollbar-track{background:transparent}
  .no-scrollbar{scrollbar-width:none}
  .no-scrollbar::-webkit-scrollbar{display:none}
  .line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero-grain:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E")}
  .nav-item:before{content:"";position:absolute;left:0;top:50%;width:3px;height:0;background:#f5b942;border-radius:0 4px 4px 0;transform:translateY(-50%);transition:height .2s ease}
  .nav-item.active:before{height:22px}
  .poster-card:hover .poster-image{transform:scale(1.045)}
  .poster-card:hover .poster-play,.poster-card:focus-within .poster-play,.poster-card.is-revealed .poster-play{opacity:1;transform:translate(-50%,-50%) scale(1)}
  .poster-card{contain:layout style paint;content-visibility:auto;contain-intrinsic-size:240px 360px}.poster-image{transition:transform .55s cubic-bezier(.2,.75,.25,1)}.poster-card:hover .poster-image{will-change:transform}
  .poster-play{position:absolute;left:50%;top:50%;opacity:0;transform:translate(-50%,-50%) scale(.84);pointer-events:none;transition:opacity .25s ease,transform .25s ease}
  .rail-card{scroll-snap-align:start}
  .fade-mask{background:linear-gradient(180deg,rgba(7,11,20,0) 0%,rgba(7,11,20,.35) 55%,#070b14 100%)}
  @media(max-width:1023px){body{overflow:auto}.mobile-main{padding-bottom:88px}}#cms-page,#cms-filters,#cms-items,#cms-episodes,#cms-recommend,#cms-pagination,#cms-player-source{display:none!important}
.player-slot #focus,.player-slot iframe{display:block;width:100%!important;height:100%!important;border:0;background:#000}.custom-slot .wrap,.custom-slot .main,.custom-slot #leaveword,.custom-slot #leavewordlist{width:100%!important;max-width:100%!important}
.custom-slot input,.custom-slot textarea,.custom-slot select{width:100%!important;margin:5px 0 12px;padding:11px 13px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#111b2d;color:#e2e8f0;outline:none}
.custom-slot textarea{min-height:120px;resize:vertical}
.custom-slot input[type=submit],.custom-slot .btn,.custom-slot button{width:auto!important;padding:10px 18px;border:0;border-radius:10px;background:#f5b942;color:#0f172a;font-weight:700;cursor:pointer}
.custom-slot a{color:#f5b942}
.custom-slot .combox,.custom-slot .border{margin-bottom:14px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#0d1422}
.custom-slot h3{color:#fff;font-size:17px;font-weight:700}
.custom-slot ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.custom-slot li a{display:block;padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.035);color:#94a3b8}
/* Readability pass: larger type and roomier spacing */
[class~="text-[9px]"]{font-size:11px!important;line-height:1.35!important}
[class~="text-[10px]"]{font-size:12px!important;line-height:1.45!important}
[class~="text-[11px]"]{font-size:12.5px!important;line-height:1.5!important}
[class~="text-[12px]"]{font-size:13.5px!important;line-height:1.55!important}
[class~="text-[13px]"]{font-size:14.5px!important;line-height:1.55!important}
[class~="text-[14px]"]{font-size:15.5px!important;line-height:1.45!important}
[class~="text-[15px]"]{font-size:16.5px!important;line-height:1.45!important}
[class~="text-[16px]"]{font-size:17.5px!important;line-height:1.4!important}
[class~="text-[17px]"]{font-size:18.5px!important;line-height:1.35!important}
[class~="text-[18px]"]{font-size:19.5px!important;line-height:1.35!important}
[class~="text-[20px]"]{font-size:22px!important;line-height:1.35!important}
[class~="text-[22px]"]{font-size:24px!important;line-height:1.35!important}
header nav a{font-weight:650!important}
aside nav a{min-height:46px!important}
.poster-card .absolute.inset-x-0.bottom-0{padding:14px!important}
.poster-card .mt-1{margin-top:6px!important}
.poster-card .line-clamp-1{line-height:1.4!important}
.hero-copy p,.detail-copy p{line-height:1.8!important}
.header-user-name{font-size:13px!important}.detail-hero-grid{display:grid;grid-template-columns:1fr;gap:18px}
.detail-poster{width:100%;height:auto;aspect-ratio:2/3;object-position:center}
.detail-summary{display:flex;flex-direction:column;justify-content:flex-end}
.detail-body{min-width:0}
@media(max-width:767px){.detail-hero-grid{grid-template-columns:minmax(118px,42%) minmax(0,1fr);gap:14px;align-items:start}.detail-poster{grid-column:1;grid-row:1}.detail-summary{grid-column:2;grid-row:1}.detail-body{grid-column:1/-1;grid-row:2}.detail-summary h1{margin-top:8px}.detail-body .mt-5{margin-top:16px}.detail-body .line-clamp-3{-webkit-line-clamp:4}}
@media(min-width:768px){.detail-hero-grid{grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:end}.detail-poster{grid-column:1;grid-row:1/3}.detail-summary{grid-column:2;grid-row:1}.detail-body{grid-column:2;grid-row:2}}
/* Mobile-only internal scroll for long episode lists */
@media(max-width:767px){
  .episode-grid.episode-grid-scroll{max-height:540px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:rgba(245,185,66,.45) transparent;-webkit-overflow-scrolling:touch}
  .episode-grid.episode-grid-scroll::-webkit-scrollbar{width:4px}
  .episode-grid.episode-grid-scroll::-webkit-scrollbar-thumb{background:rgba(245,185,66,.45);border-radius:999px}
}
.detail-description{position:relative}
.detail-expand{position:absolute;right:0;bottom:0;padding:0 2px 0 24px;border:0;background:linear-gradient(90deg,rgba(12,20,32,0),#0c1420 30%,#0c1420 100%);color:#f5b942;font-size:12px;font-weight:700;line-height:24px;cursor:pointer}
/* Player width adapts to the available screen while preserving 16:9 */
.player-slot{display:block;width:100%;height:auto;aspect-ratio:16/9;margin:0;padding:0;overflow:hidden;line-height:0}
@media(min-width:1024px){
  .player-slot{width:100%;height:min(56vh,560px);aspect-ratio:auto}
}
/* Search-engine fallback content shown only when JavaScript is unavailable */
.seo-noscript{max-width:1180px;margin:0 auto;padding:28px 20px 40px;color:#cbd5e1;background:#070b14;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}
.seo-noscript h1{margin:0 0 14px;color:#fff;font-size:28px;line-height:1.35}
.seo-noscript p{margin:0 0 14px;color:#94a3b8;font-size:14px;line-height:1.8}
.seo-noscript nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.seo-noscript nav a{padding:8px 12px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#f5b942;background:rgba(255,255,255,.035)}
.seo-link-list{display:flex;flex-wrap:wrap;gap:8px 12px;line-height:1.8}
.seo-link-list a{color:#cbd5e1}.seo-link-list a:hover{color:#f5b942}
/* Mobile site map: fixed three-column link grid without horizontal overflow */
@media(max-width:767px){
  html,body,#root{max-width:100%!important;overflow-x:hidden!important}
  .custom-slot{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden;padding:12px!important}
  .custom-slot .combox{float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-bottom:18px;padding:0;border:0;background:transparent}
  .custom-slot .border{float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-bottom:12px;padding:10px;overflow:hidden;border-radius:14px}
  .custom-slot h3{padding:2px 4px 9px;font-size:16px;line-height:1.45}
  .custom-slot ul{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;list-style:none!important}
  .custom-slot li{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;list-style:none!important}
  .custom-slot li a{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:8px 4px!important;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4}
}
/* Static Tailwind compatibility utility */
@media(min-width:1536px){.\\32xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
.poster-card.is-play-suppressed .poster-play{opacity:0!important;transform:translate(-50%,-50%) scale(.84)!important}
.hero-slide{animation:hero-fade .55s ease}
@keyframes hero-fade{from{opacity:.55}to{opacity:1}}
.hero-dots{position:absolute;right:1.25rem;bottom:1rem;z-index:20;display:flex;gap:.4rem}
.hero-dot{width:.5rem;height:.5rem;border:0;border-radius:999px;background:rgba(255,255,255,.35);cursor:pointer;transition:width .25s ease,background .25s ease}
.hero-dot.active{width:1.4rem;background:#f5b942}