@font-face{font-family:Poppins;src:url(/static/fonts/Poppins-Regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url(/static/fonts/Poppins-SemiBold.ttf) format("truetype");font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:Poppins;src:url(/static/fonts/Poppins-Bold.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Montserrat-Bold;src:url(/static/fonts/Montserrat-Bold-3.otf) format("opentype");font-weight:700;font-display:swap}

:root{
  --bg:#151314;
  --bg-deep:#141213;
  --accent:#f5315e;
  --text:#fff;
  --text-muted:rgba(255,255,255,.68);
  --text-faint:rgba(255,255,255,.5);
  --text-dim:#9a9a9a;
  --surface:rgba(255,255,255,.06);
  --surface-hover:rgba(255,255,255,.12);
  --radius:6px;
  --page-width:80vw;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:clip}
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;margin:0;padding-top:4.25rem;overflow-x:clip;background-color:var(--bg);background-image:linear-gradient(to bottom,rgba(21,19,20,0) 0,rgba(21,19,20,.35) 55%,#151314 100%),url(/static/homeBg.png);background-size:100% 820px,100% auto;background-position:top center,top center;background-repeat:no-repeat,no-repeat;color:var(--text);font-family:Poppins,"PingFang SC","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
#main-content{flex:1 0 auto}
body[data-preview="true"] .detail-play{cursor:default}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,p{margin:0}
.muted{color:var(--text-muted)}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Type area ---------- */
.type-area{width:var(--page-width);margin:0 auto;padding:.75rem 0}
@media (min-width:1280px){.type-area,.container,.detail-hero-inner,.detail-body{padding-left:64px;padding-right:64px}}
.container{width:var(--page-width);margin:0 auto}

/* ---------- Header ---------- */
.site-header{position:fixed;top:0;left:0;right:0;z-index:999;min-height:4.25rem;color:var(--text);background:linear-gradient(180deg,#151314 0%,rgba(21,19,20,.86) 70%,rgba(21,19,20,0) 100%);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.site-header .type-area{display:flex;align-items:center;justify-content:space-between;min-height:4.25rem;gap:1.5rem}
.header-left{display:flex;align-items:center;gap:2rem;min-width:0}
.header-right{display:flex;align-items:center;gap:1.25rem;flex-shrink:0}
.brand{display:inline-flex;align-items:center;gap:.5rem}
.brand-logo{height:28px;width:auto;object-fit:contain;border-radius:6px}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:.5rem;background:var(--accent);color:#fff;font-family:Montserrat-Bold,Poppins,sans-serif;font-weight:700;font-size:1rem;line-height:1}
.brand-name{font-family:Poppins,sans-serif;font-weight:700;font-size:1.25rem;letter-spacing:.2px;color:var(--text)}
.main-nav{display:flex;align-items:center;gap:2.5rem;margin-left:2rem}
.nav-item{display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;line-height:1.5rem;white-space:nowrap;color:var(--text);transition:color .25s,transform .25s}
@media (min-width:1461px){.nav-item{font-size:1.125rem}}
@media (min-width:1536px){.main-nav{gap:3.5rem}.nav-item{font-size:1.25rem;line-height:1.75rem;min-width:4rem}}
.nav-item:hover{color:var(--accent);transform:scale(1.08)}
.nav-item.is-active{color:var(--accent);transform:scale(1.04)}
.main-nav .nav-item-wrapper{position:relative;display:flex;align-items:center}
.nav-tips{position:absolute;top:100%;left:0;padding-top:.5rem;z-index:1000;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s ease,transform .16s ease,visibility .16s;pointer-events:auto}
.nav-item-wrapper:hover .nav-tips,.nav-item-wrapper:focus-within .nav-tips{opacity:1;visibility:visible;transform:translateY(0)}
.nav-tips-card{display:flex;width:max-content;align-items:center;border-radius:15px;background:#282828;padding:1.25rem;box-shadow:0 10px 18px rgba(0,0,0,.35)}
.nav-tips-card a{display:flex;min-width:132px;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:600;white-space:nowrap;color:rgba(255,255,255,.68);transition:color .15s}
.nav-tips-card a:hover{color:#fff}
.menu-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:24px;height:24px;padding:0;border:0;background:transparent}
.menu-toggle img{display:block;width:24px;height:24px;object-fit:contain}

.search-wrap{position:relative}
.search-form{position:relative;display:flex;align-items:center;width:10rem;height:2.75rem;border-radius:1.875rem;background:#2a2a2a}
.search-submit{position:absolute;top:50%;left:.75rem;z-index:1;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:rgba(255,255,255,.7);transform:translateY(-50%);transition:color .15s}
.search-submit:hover{color:#fff}
.search-input{width:100%;height:100%;padding:0 2rem 0 2.5rem;border:0;border-radius:1.875rem;outline:0;background:transparent;color:#fff;font-size:.875rem;font-family:inherit}
.search-input::placeholder{color:#c0b9c0}
.search-input::-webkit-search-decoration,.search-input::-webkit-search-results-button,.search-input::-webkit-search-results-decoration{display:none}
.search-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.search-clear{position:absolute;top:50%;right:.7rem;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:0;background:transparent;color:rgba(255,255,255,.7);transform:translateY(-50%);cursor:pointer}
.search-clear:hover{color:#fff}
.search-clear[hidden]{display:none}
.search-hot{display:none;position:absolute;top:calc(100% + .25rem);left:0;z-index:1001}
.search-wrap.is-open:not(.has-value) .search-hot{display:block}
.search-hot-card{box-sizing:border-box;width:14rem;padding:1rem 1.25rem;border-radius:.5rem;background:linear-gradient(135deg,#404040,#2c2c2c 50%,#171717);box-shadow:0 8px 16px rgba(0,0,0,.35)}
.search-hot-title{display:flex;align-items:center;gap:.75rem;margin:0 0 .5rem;color:#fff;font-size:1.25rem;line-height:1.75rem;font-weight:600}
.search-hot-icon{font-size:1.25rem;line-height:1}
.search-hot-list{list-style:none;margin:0;padding:0}
.search-hot-list a{display:block;padding:.5rem 1.5rem;overflow:hidden;color:rgba(255,255,255,.68);font-size:.875rem;line-height:1.25rem;white-space:nowrap;text-overflow:ellipsis;transition:color .15s}
.search-hot-list a:hover{color:#f5315e}
@media (min-width:1280px){.search-form{width:17rem}.search-hot-card{width:19rem}}




/* ---------- Mobile nav drawer ---------- */
.mobile-nav{position:fixed;inset:0 auto 0 0;width:82vw;height:100dvh;max-height:100dvh;max-width:none;margin:0;padding:0;border:0;background:#262525;color:#fff;z-index:1200}
.mobile-nav::backdrop{background:rgba(0,0,0,.8)}
.mobile-nav-body{position:relative;height:100%;min-height:100%;box-sizing:border-box;padding:1rem 1rem 6rem;overflow-y:auto}
.mobile-nav-close{position:absolute;right:1rem;top:.75rem;z-index:2;border:0;background:transparent;padding:0;cursor:pointer;line-height:0;outline:none}
.mobile-nav-logo{display:block;margin-bottom:.75rem}
.mobile-nav-logo img{display:block;width:7.33rem;height:auto}
.mobile-nav-list{display:flex;flex-direction:column;gap:12px}
.mobile-nav-item,.mobile-nav-header{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border:0;border-bottom:1px solid rgba(255,255,255,.15);background:none;color:#fff;font-family:inherit;font-size:20px;font-weight:400;line-height:1.3;text-align:left;text-decoration:none;cursor:pointer}
.mobile-nav-item{justify-content:flex-start}
.mobile-nav-main{display:flex;align-items:center;gap:1rem;min-width:0}
.mobile-nav-icon{flex:0 0 auto;width:24px;height:24px;object-fit:contain}
.mobile-nav-label{font-size:20px;font-weight:400;line-height:normal}
.mobile-nav-arrow{flex:0 0 auto;width:16px;height:16px;transition:transform .3s ease}
.mobile-nav-header[aria-expanded="true"] .mobile-nav-arrow{transform:rotate(180deg)}
.mobile-nav-sub{display:flex;flex-direction:column;max-height:0;overflow:hidden;transition:max-height .3s ease}
.mobile-nav-sub.is-open{max-height:500px}
.mobile-nav-subitem{display:block;padding:.5rem 0 .5rem 2.5rem;font-size:.875rem;color:rgba(255,255,255,.55);text-decoration:none}

/* ---------- Hero stage ---------- */
.hero{touch-action:pan-y;position:relative;padding:2.5rem 0 3.75rem;margin-bottom:1rem;overflow:hidden;background-image:linear-gradient(to bottom,rgba(21,19,20,.2) 0%,rgba(21,19,20,0) 12%,rgba(21,19,20,0) 60%,var(--bg) 100%);background-size:100% 100%;background-repeat:no-repeat}
.hero-viewport{position:relative;z-index:2;overflow:visible;width:100%}
.hero-track{position:relative;width:100%;height:480px;perspective:1100px;perspective-origin:50% 50%;transform-style:preserve-3d}
.hero-slide{position:absolute;left:50%;top:50%;width:310px;height:410px;opacity:0;transform:translateX(-50%) translateY(-50%) translateZ(0);transition:transform .5s cubic-bezier(.23,1,.32,1),opacity .5s cubic-bezier(.23,1,.32,1);transform-origin:center center;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity}
.hero-media{position:absolute;inset:0;display:block;border-radius:20px;overflow:hidden;background:#000;box-shadow:0 0 24px rgba(0,0,0,.8);backface-visibility:hidden}
.hero-slide.is-active .hero-media{box-shadow:0 0 24px rgba(0,0,0,.8)}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:top center}
.hero-circle{position:absolute;left:50%;bottom:-60px;transform:translateX(-50%);width:1390px;height:116px;max-width:none;pointer-events:none;z-index:1}
.hero-caption{position:absolute;left:0;right:0;top:calc(100% + 12px);padding:0 8px;text-align:left;pointer-events:auto;display:flex;flex-direction:column;justify-content:center}
.hero-title{display:block;font-family:Inter,sans-serif;font-size:14px;line-height:1.375;font-weight:500;color:rgba(255,255,255,.8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;filter:drop-shadow(0 1px 6px rgba(0,0,0,.8))}
.hero-slide.is-active .hero-title{font-size:20px;font-weight:500;color:#fff}
.hero-overlay{position:absolute;left:0;right:0;bottom:-1px;z-index:10;height:210px;overflow:hidden;pointer-events:none}
.hero-overlay-inner{position:absolute;left:0;right:0;bottom:0;opacity:0;transform:translateY(calc(100% + 16px));transition:transform .46s cubic-bezier(.16,1,.3,1),opacity .24s ease-out}
.hero-slide.is-active:hover .hero-overlay-inner{opacity:1;transform:translateY(0);pointer-events:auto}
.hero-panel{overflow:hidden;background:rgba(0,0,0,.7);padding:20px;border-radius:0 0 20px 20px;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.hero-overlay-title{margin:0;font-size:14px;line-height:1.5;font-weight:500;color:rgba(255,255,255,.95);text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-desc{margin:5px 0 0;font-size:12px;line-height:1.5;font-weight:400;color:rgba(255,255,255,.7);text-align:left;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.hero-actions{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:12px;color:#fff}
.hero-play{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:fit-content;padding:4px 30px;border-radius:9999px;background:linear-gradient(90deg,#f5315e 0%,#fe4f30 100%);color:#fff;font-size:14px;line-height:1.5;font-weight:500;text-decoration:none;pointer-events:auto}
.hero-play img{width:12px;height:12px;object-fit:contain}
.hero-share{display:flex;align-items:center;justify-content:center;margin-left:8px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;pointer-events:auto}
.hero-share img{width:20px;height:20px;margin-right:4px;object-fit:contain}
.hero-tags{display:none}
.hero-arrow{position:absolute;top:280px;transform:translateY(-50%);z-index:6;display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;transition:transform .2s,background .2s}
.hero-arrow:hover{transform:translateY(-50%) scale(1.1)}
.hero-arrow:active{transform:translateY(-50%) scale(.95)}
.hero-arrow svg{width:18px;height:28px}
.hero-prev{left:max(1rem,calc(50% - 610px))}
.hero-next{right:max(1rem,calc(50% - 610px))}









/* ---------- Shelf ---------- */
.shelf{width:80%;margin:0 auto;padding:1.25rem 0 2.5rem}
@media (min-width:1280px){.shelf{width:70%}}
.shelf-recs{width:80vw}
@media (min-width:1194px) and (max-width:1439px){.shelf-recs{width:67.625rem}}
@media (min-width:768px) and (max-width:1193px){.shelf-recs{width:48rem}}
@media (max-width:767px){.shelf-recs{width:100%}}
.shelf-recs .card-scroller .drama-card{width:calc((100% - 3.75rem) / 6)}
@media (max-width:767px){.shelf-recs .card-scroller .drama-card{width:calc((100% - 1.5rem) / 3)}}
.shelf:last-child{padding-bottom:4rem}
.shelf-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.shelf-head h2{font-family:Poppins,"PingFang SC",sans-serif;font-weight:600;font-size:1.875rem;line-height:1.2}
.shelf-more{flex-shrink:0;font-size:.875rem;font-weight:500;color:var(--text-faint);transition:color .2s}
.shelf-more:hover{color:var(--text)}
.card-scroller{display:flex;gap:.75rem;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding:0 6px;padding:0 6px .25rem;-ms-overflow-style:none;scrollbar-width:none}
.card-scroller::-webkit-scrollbar{display:none}
.card-scroller .drama-card{flex:0 0 auto;width:calc(70vw / 4 - 12px);scroll-snap-align:start}
@media (min-width:1463px) and (max-width:1828px){.card-scroller .drama-card{width:calc(70vw / 5 - 12px)}}
@media (min-width:1829px) and (max-width:3428px){.card-scroller .drama-card{width:calc(70vw / 6 - 12px)}}
@media (min-width:3429px){.card-scroller .drama-card{width:calc(70vw / 7 - 12px)}}
@media (min-width:960px) and (max-width:1279px){.card-scroller .drama-card{width:calc(80vw / 4 - 12px)}}
@media (min-width:768px) and (max-width:959px){.card-scroller .drama-card{width:calc(80vw / 3 - 12px)}}
@media (max-width:767px){.card-scroller .drama-card{width:calc((100vw - 40px) / 4 - 12px)}}
.card-scroller-wrap{position:relative}
.carousel-btn{position:absolute;top:40%;transform:translateY(-50%);width:2.625rem;height:2.625rem;border:0;border-radius:50%;background:rgba(0,0,0,.8);color:#fff;display:flex;align-items:center;justify-content:center;z-index:10;cursor:pointer;padding:0;transition:all .2s}
.carousel-btn:hover{background:#e11d48}
.carousel-btn[hidden]{display:none}
.carousel-btn-prev{left:-1.3125rem}
.carousel-btn-next{right:-1.3125rem}

/* ---------- Card ---------- */
.drama-card{display:block;color:var(--text)}
.card-poster{position:relative;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:#1f1d1e}
.card-poster img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .3s ease}
.drama-card:hover .card-poster img{transform:scale(1.06)}
.card-badge{position:absolute;left:.4rem;top:.4rem;padding:.1rem .4rem;border-radius:4px;font-size:.6875rem;font-weight:600;color:#fff;background:rgba(245,49,94,.9)}
.card-title{margin-top:.5rem;font-size:1rem;font-weight:600;line-height:1.4;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-tags{margin-top:.35rem;font-size:.75rem;color:var(--text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-tags .dot{margin:0 .3rem;opacity:.6}
.card-media{position:relative}
.card-link{display:block}
.card-hover{position:absolute;inset:0;display:flex;align-items:flex-end;padding:1rem;border-radius:var(--radius);background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.85));opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s;z-index:2}
.drama-card:hover .card-hover{opacity:1;visibility:visible}
.card-hover-actions{display:flex;width:100%;gap:.5rem;pointer-events:auto}
.card-play{flex:1;display:flex;align-items:center;justify-content:center;gap:.25rem;height:1.75rem;border-radius:6px;background:#f43f5e;color:#fff;font-size:.75rem;font-weight:600;transition:background .15s}
.card-play:hover{background:#e11d48}
.card-play img{width:16px;height:16px}
.card-share{display:flex;align-items:center;justify-content:center;width:3.5rem;height:1.75rem;border:0;border-radius:6px;background:#404040;color:#fff;transition:background .15s}
.card-share:hover{background:#525252}
.card-share img{width:16px;height:16px}
@media (min-width:1536px){.card-play,.card-share{height:2.25rem}}


/* ---------- Catalog ---------- */
.catalog-page{padding:1.5rem 0 4rem}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;font-size:1rem;line-height:1.5;color:rgba(255,255,255,.68);padding-bottom:1rem}
.breadcrumb-item{display:flex;align-items:center}
.breadcrumb a{color:rgba(255,255,255,.7);text-decoration:none;transition:color .2s}
.breadcrumb a:hover{color:#f5315e}
.breadcrumb-current{color:#fff}
.breadcrumb-point{display:block;width:8px;height:8px;margin:0 .5rem}
.catalog-page .container{padding-left:0;padding-right:0}
body[data-page-id="categories"],body[data-page-id="background"],body[data-page-id="themes"],body[data-page-id="tags"],body[data-page-id="rank"],body[data-page-id="search"]{background-image:none}
.catalog-heading{font-family:Poppins,"PingFang SC",sans-serif;font-weight:700;font-size:1.5rem;line-height:1.4;margin-top:.5rem}
.catalog-title{font-family:Poppins,"PingFang SC",sans-serif;font-weight:600;font-size:1.75rem;margin-bottom:1.25rem}
.catalog-tabs{margin-top:.375rem;border-bottom:1px solid rgba(255,255,255,.08)}
.catalog-tabs-row{display:flex;gap:2rem;overflow-x:auto;scrollbar-width:none}
.catalog-tabs-row::-webkit-scrollbar{display:none}
.catalog-tab{position:relative;flex-shrink:0;padding:.5rem 0;font-size:1rem;font-weight:500;color:rgba(255,255,255,.55);white-space:nowrap;transition:color .2s}
.catalog-tab:hover{color:#fff}
.catalog-tab.is-active{font-weight:600;color:#fff}
.catalog-tab.is-active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--accent)}
@media (max-width:768px){.catalog-tabs-row{gap:1.25rem}.catalog-tab{font-size:.875rem}}
.catalog-search{display:flex;gap:.5rem;margin-bottom:1.5rem;max-width:520px}
.catalog-search input{flex:1;min-width:0;height:2.75rem;padding:0 1rem;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--text);font-family:inherit;font-size:.9375rem}
.catalog-search input::placeholder{color:var(--text-faint)}
.catalog-search button{height:2.75rem;padding:0 1.5rem;border:0;border-radius:999px;background:var(--accent);color:#fff;font-weight:600}
.filter-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.filter-chip{padding:.5rem .75rem;border-radius:38px;background:rgba(255,255,255,.08);color:#fff;font-size:.875rem;transition:background .2s,color .2s}
.filter-chip:hover{background:rgba(255,255,255,.15)}
.filter-chip.is-active{background:var(--accent);color:#fff}
.catalog-section{font-family:Poppins,"PingFang SC",sans-serif;font-weight:700;font-size:1.5rem;line-height:1.4;margin-top:1.5rem;margin-bottom:1.25rem}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.catalog-grid .drama-card{width:auto;margin-bottom:1rem}
.catalog-grid .card-poster{aspect-ratio:247/350}
.catalog-grid .card-badge{display:none}
.catalog-grid .card-title{margin-top:.5rem;font-size:1rem;font-weight:500;line-height:1.4}
.catalog-grid .card-title:hover{color:var(--accent)}
.catalog-grid .card-tags{margin-top:.5rem;font-size:.75rem;color:#a3a3a3;white-space:normal}
@media (min-width:768px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1024px){.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1280px){.catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (max-width:767px){.catalog-heading{font-size:1.125rem;margin-top:0}.catalog-section{font-size:1.125rem;margin-top:.75rem;margin-bottom:.75rem}.filter-row{gap:.375rem}.filter-chip{padding:.25rem .375rem;border-radius:34px;font-size:.75rem}}

/* ---------- Search ---------- */
.search-page{width:80vw;margin:0 auto;padding:2rem 0}
.search-hot-block{padding:1rem 0 2rem}
.search-hot-block .search-hot-card{width:min(19rem,100%)}
.search-results{display:flex;flex-direction:column}
.search-row{display:flex;width:100%;margin-bottom:2rem}
.search-poster{display:block;flex:0 0 13rem;width:13rem;border-radius:.75rem;overflow:hidden;background:#1f1d1e}
.search-poster img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.search-info{position:relative;display:flex;flex:1;min-width:0;flex-direction:column;margin-left:1rem}
.search-title{display:-webkit-box;overflow:hidden;color:#fff;font-size:1.25rem;line-height:1.75rem;font-weight:600;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.search-title:hover{color:var(--accent)}
.search-hit{color:#f5315e}
.search-desc{display:-webkit-box;overflow:hidden;margin-top:1rem;color:rgba(255,255,255,.68);font-size:1rem;line-height:2rem;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical}
.search-labels{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;overflow:hidden}
.search-label{padding:.5rem 1rem;border-radius:1.5rem;background:#2e2e2e;color:#9d9b9b;font-size:.75rem;line-height:1rem;word-break:break-all}
.search-play{position:absolute;right:0;bottom:0;display:inline-flex;align-items:center;padding:.5rem 3.5rem;border-radius:.375rem;background:linear-gradient(90deg,#f5315e 0%,#f5315e 50%,#ff512c 100%);color:#fff;font-size:1.125rem;line-height:1.75rem;font-weight:600;transition:transform .3s,box-shadow .3s}
.search-play:hover{transform:scale(1.05);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.search-play:active{box-shadow:0 4px 15px rgba(245,49,94,.4)}
.search-play img{width:1.5rem;height:1.5rem;margin-right:.625rem}
.search-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 0 4rem;color:#fff;font-size:1.5rem;line-height:2rem;font-weight:700}
.search-empty img{width:auto;height:15rem;margin-bottom:.5rem}
.search-more{height:1px}
@media (max-width:767px){
  body[data-page-id="search"]{padding-top:3.25rem}
  .search-page{width:calc(100vw - 24px);padding:1.5rem 0}
  .search-row{margin-bottom:1.5rem}
  .search-poster{flex-basis:9.75rem;width:9.75rem}
  .search-info{margin-left:.75rem}
  .search-title{font-size:.9375rem;line-height:1.3125rem}
  .search-desc{margin-top:.375rem;font-size:.75rem;line-height:1.5rem;-webkit-line-clamp:3}
  .search-labels{gap:.5rem;margin-top:.75rem}
  .search-label{padding:.375rem .75rem;border-radius:1.125rem;font-size:.5625rem;line-height:.75rem}
  .search-play{padding:.1875rem 1.875rem;font-size:.84375rem;line-height:1.3125rem}
  .search-play img{width:1.125rem;height:1.125rem;margin-right:.4375rem}
  .search-empty{padding:1.875rem 0 3rem;font-size:1.125rem;line-height:1.5rem}
  .search-empty img{height:11.25rem}
}

/* ---------- Information ---------- */
body[data-page-id="page"],body[data-page-id="info"],body[data-page-id="info-detail"]{background-image:none}
.info-page .container,.info-detail .container{padding-left:0;padding-right:0}
.info-list{list-style:none;margin:1.75rem 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width:768px){.info-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1.25rem}}
@media (min-width:1280px){.info-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.info-card{position:relative;overflow:hidden;background:#262525;border-radius:.5rem;margin-bottom:.5rem}
.info-card-cover{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#262525}
.info-card-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .3s}
.info-card-cover:hover img{transform:scale(1.2)}
.info-card-body{padding:1.25rem}
.info-meta{font-size:.75rem;line-height:1rem;color:rgba(255,255,255,.38)}
.info-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:400;color:#fff;transition:color .2s}
.info-card-title:hover{color:var(--accent)}
.info-card-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:.5rem 0 0;font-size:.875rem;line-height:1.4rem;color:rgba(255,255,255,.68)}

/* ---------- Full episodes ---------- */
body[data-page-id="full-episodes"]{background-image:none;font-family:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.full-episodes-page{padding:1rem 0 2rem}
.full-ep-container{width:80vw;margin:0 auto}
@media (min-width:1194px) and (max-width:1439px){.full-ep-container{width:67.625rem}}
@media (min-width:768px) and (max-width:1193px){.full-ep-container{width:48rem}}
.full-ep-hero{position:relative;display:flex;align-items:flex-start;gap:1rem;margin-top:1.4375rem}
.full-ep-hero-bg{display:none}
.full-ep-cover{display:block;width:14.0625rem;height:18.75rem;flex-shrink:0;border-radius:.5rem;overflow:hidden;background:#1f1d1e}
.full-ep-cover img{display:block;width:100%;height:100%;object-fit:cover}
.full-ep-main{flex:1;min-width:0;padding:1.25rem 0}
.full-ep-title{font-family:Poppins-Bold,Poppins,"PingFang SC",sans-serif;font-size:2rem;line-height:3rem;font-weight:700;margin:0;word-break:break-word}
.full-ep-stats{display:flex;align-items:center;gap:1.75rem;margin-top:1rem;color:#c0b9c0;font-size:1rem;line-height:1.5}
.full-ep-stats span{display:inline-flex;align-items:center}
.full-ep-stats svg{width:1.25rem;height:1.25rem;margin-right:.4375rem}
.full-ep-tags{display:flex;flex-wrap:wrap;gap:1.25rem;margin-top:1rem}
.full-ep-tag{max-width:10rem;overflow:hidden;text-overflow:ellipsis;padding:.1875rem 1.25rem;border:2px solid rgba(255,255,255,.55);border-radius:107px;font-size:1rem;line-height:1.5;white-space:nowrap}
.full-ep-actions .watch-share{margin:0}
.full-ep-actions .watch-share .watch-share-list{margin:0}
.full-ep-actions-share{display:flex;align-items:center}
.full-ep-desc-share{display:none}
@media (max-width:767px){
  .full-ep-actions-share{display:none}
  .full-ep-desc-share{display:flex;justify-content:center;margin-top:1.5rem}
  .full-ep-main{display:flex;flex-direction:column}
  .full-ep-desc-share .watch-share-list{justify-content:center}
}
.full-ep-actions{display:flex;gap:1rem;margin-top:2.2rem;justify-content:space-between;align-items:center}
.full-ep-actions-btns{display:flex;gap:1rem}
.full-ep-play{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;width:13.75rem;height:3.1875rem;border-radius:.375rem;background:linear-gradient(135deg,#9f53ff,#f52154 45%,#ff6327 75%,#ffa41b);color:#fff;font-size:1.125rem;font-weight:400}
.full-ep-play:hover{opacity:.92}
.full-ep-download{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;width:13.75rem;height:3.1875rem;border-radius:.375rem;background:rgba(255,255,255,.1);color:#fff;font-size:1rem;font-weight:400}
.full-ep-download:hover{background:rgba(255,255,255,.16)}
.full-ep-download svg{width:20px;height:20px}
.full-ep-desc{margin-top:1rem;font-size:.875rem;line-height:1.25rem;color:rgba(255,255,255,.7);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.full-ep-head{display:flex;align-items:center;justify-content:space-between;height:2.25rem;margin-top:2.5rem;margin-bottom:1.25rem;border-bottom:1px solid rgba(255,255,255,.1);font-size:1rem;line-height:1.5}
.full-ep-head h2{font-size:1rem;font-weight:400;margin:0}
.full-ep-head span{font-size:1rem;color:#fff}
.full-ep-list{display:flex;flex-direction:column}
.full-ep-row{display:flex;align-items:flex-start;gap:1rem;height:11.75rem;margin-bottom:1rem}
.full-ep-thumb{width:8.875rem;height:100%;flex-shrink:0;border-radius:.5rem;overflow:hidden;background:#1f1d1e}
.full-ep-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.full-ep-body{min-width:0;overflow:hidden}
.full-ep-body h3{font-family:Poppins-Bold,Poppins,"PingFang SC",sans-serif;font-size:1.25rem;line-height:1.375;font-weight:700;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.full-ep-lock{display:inline-block;margin-left:.5rem;padding:0 .375rem;border-radius:4px;background:var(--accent);font-size:.6875rem;font-weight:600;vertical-align:middle}
.full-ep-body p{margin:.875rem 0 0;font-size:.875rem;line-height:1.3125rem;color:#a3a3a3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.full-ep-row:hover .full-ep-body h3{color:var(--accent)}
@media (max-width:767px){
.full-ep-container{width:calc(100% - 34px);margin:0 auto}
.full-ep-hero{display:flex;gap:4px;margin-top:.5rem;padding:2.5rem 9px .5rem;overflow:hidden;background:#151314}
.full-ep-hero-bg{display:block;position:absolute;top:0;left:0;width:100%;height:23rem;overflow:hidden;filter:blur(43.2px);z-index:0}
.full-ep-hero-bg img{width:100%;height:100%;object-fit:cover}
.full-ep-hero::before{content:"";position:absolute;top:0;left:0;right:0;height:23rem;background:linear-gradient(to bottom,rgba(21,19,20,.2),rgba(21,19,20,.6) 65%,#151314);z-index:1;pointer-events:none}
.full-ep-cover{position:relative;z-index:2;width:114px;height:152px;border:1px solid rgba(255,255,255,.35);border-radius:8px}
.full-ep-main{position:relative;z-index:2;padding:0}
.full-ep-title{font-family:Poppins,system-ui,sans-serif;font-size:14px;line-height:21px;font-weight:400}
.full-ep-stats{margin-top:8px;gap:1rem;font-size:12px;line-height:18px}
.full-ep-stats svg{width:.9rem;height:.9rem;margin-right:.25rem}
.full-ep-tags{gap:.5rem;margin-top:.5rem}
.full-ep-tag{padding:2px 15px;border:1px solid rgba(255,255,255,.55);border-radius:63px;font-size:10px;line-height:15px}
.full-ep-actions{margin-top:1rem}
.full-ep-play{width:116px;height:35px;border-radius:4.5px;font-size:10.5px;gap:.25rem}
.full-ep-download{width:116px;height:35px;border-radius:4.5px;font-size:10.5px;gap:.25rem}
.full-ep-download svg{width:12px;height:12px}
.full-ep-play svg{width:12px;height:12px}
.full-ep-desc{margin-top:12px;font-size:12px;line-height:20px;color:#a3a3a3}
.full-ep-head{height:26px;margin-top:1.75rem;margin-bottom:1rem;font-size:12px;line-height:18px}
.full-ep-head h2,.full-ep-head span{font-size:12px}
.full-ep-row{height:141px;margin-bottom:12px;gap:.5rem}
.full-ep-thumb{width:107px;border-radius:6px}
.full-ep-body h3{font-family:Poppins,system-ui,sans-serif;font-size:12px;line-height:16.5px;font-weight:700}
.full-ep-body p{margin-top:10.5px;font-size:14px;line-height:21px;color:#a3a3a3}
}
/* ---------- Playback ---------- */
body[data-page-id="watch"],body[data-page-id="detail"]{background-image:none}
.watch-page{padding:1rem 0 2rem}
.watch-container{width:80vw;margin:0 auto}
@media (min-width:1194px) and (max-width:1439px){.watch-container{width:67.625rem}}
@media (min-width:768px) and (max-width:1193px){.watch-container{width:48rem}}
@media (max-width:767px){.watch-container{width:100%;padding:0 .5rem}}
.watch-flex{display:flex;align-items:stretch;gap:1.25rem;margin-top:1.25rem}
@media (max-width:1439px){.watch-flex{display:block}}
.watch-video{position:relative;flex:0 0 60%;max-width:60%;background:#000;border-radius:1.25rem;overflow:hidden}
@media (max-width:1439px){.watch-video{width:100%;max-width:100%}}
.watch-stage{position:relative;display:flex;align-items:center;justify-content:center;height:912px;background:#000;overflow:hidden}
.watch-player{width:32.0625rem;height:912px;max-width:100%;background:#000}
.watch-player .xgplayer{width:100%;height:100%}
.watch-playback-status{position:absolute;left:50%;bottom:1rem;z-index:60;transform:translateX(-50%);margin:0;padding:.4rem .9rem;border-radius:.5rem;background:rgba(0,0,0,.7);color:#fff;font-size:.875rem;white-space:nowrap}
@media (max-width:1023px){.watch-stage{height:calc(100svh - 12rem);min-height:420px}.watch-player{width:100%;height:100%}}
.watch-close{position:absolute;top:4%;left:4%;z-index:50;display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;transition:opacity .2s,transform .2s}
.watch-close:hover{opacity:.6;transform:scale(1.05)}
.watch-close:active{transform:scale(.95)}
.watch-close img{display:block;width:100%;height:100%}
.watch-controller-container{position:absolute;top:50%;right:4%;z-index:50;display:flex;flex-direction:column;gap:1.5rem;transform:translateY(-50%)}
.watch-controller-btn{display:block;width:2.75rem;height:2.75rem;transition:opacity .2s,transform .2s}
.watch-controller-btn img{display:block;width:100%;height:100%}
.watch-controller-btn:hover{opacity:.6;transform:scale(1.05)}
.watch-controller-btn:active{transform:scale(.95)}
.xgplayer .xg-right-grid{flex-direction:row-reverse}
.xgplayer .xg-inner-controls xg-icon:not(.xgplayer-time):not(.xgplayer-playbackrate){width:20px}
.xgplayer .xg-right-grid{margin-right:0!important;padding-right:0!important}
.xgplayer .xgplayer-controls{left:0!important;right:0!important;padding:0!important}
.xgplayer .xg-inner-controls{padding:0!important}
.xgplayer .xgplayer-playbackrate .xg-options-list{max-height:301px!important}
.xgplayer .xgplayer-playbackrate .xg-options-list .option-item{height:34px!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center;line-height:20px!important}
@media (max-width:1023px){
  .xgplayer .xgplayer-playbackrate{display:none!important}
}
@media (max-width:767px){
  .xg-options-list.xg-list-slide-scroll{max-height:200px!important;height:auto!important}
  .xg-options-list.xg-list-slide-scroll .option-item{height:26px!important;line-height:26px!important;min-height:0!important;max-height:26px!important;padding:0!important;margin:0!important;display:block!important}
  .xg-options-list.xg-list-slide-scroll .option-item span{line-height:26px!important}
  .xg-options-list.xg-side-list,.xg-options-list.xg-list-slide-scroll,.xgplayer .xg-right-side{max-height:none!important;height:auto!important;bottom:54px!important;top:auto!important}
  .xg-options-list.xg-side-list .option-item,.xg-options-list.xg-list-slide-scroll .option-item,.xgplayer .xg-right-side .option-item{height:26px!important;min-height:0!important;line-height:26px!important;padding:0!important;margin:0!important}
  .xgplayer .xgplayer-playbackrate .xg-options-list{max-height:200px!important}
  .xgplayer .xgplayer-playbackrate .xg-options-list .option-item{height:26px!important;line-height:26px!important;margin:0!important;padding:0!important}
}
.xgplayer .xg-inner-controls{padding-right:0!important}
.xgplayer .xgplayer-play{width:20px}
.xgplayer .xg-right-grid .xg-icon{width:20px}
.xgplayer .xg-right-grid .xgplayer-playbackrate{width:42px}
.xgplayer .xgplayer-playbackrate .icon-text{font-size:0}
.xgplayer .xgplayer-playbackrate .icon-text::before{content:"Speed";font-size:14px}
.xgplayer .xgplayer-progress-played,.xgplayer .xgplayer-progress-btn,.xgplayer .xgplayer-volume .xgplayer-slider-value,.xgplayer .xgplayer-playbackrate .xgplayer-slider-value{background-color:#f5315e}
.xgplayer-progress .xgplayer-progress-played{background:#f5315e!important}
.xgplayer-progress .xgplayer-progress-cache{background:rgba(255,255,255,.3)!important}
.xgplayer-progress .xgplayer-progress-outer,.xgplayer-progress .xgplayer-progress-inner{background:rgba(255,255,255,.3)!important}
@media (max-width:1023px){
  .xgplayer .xgplayer-controls{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .watch-stage .xgplayer-pc .xgplayer-controls{opacity:1!important;visibility:visible!important}
}
.xgplayer-cssfullscreen,.xgplayer-definition,.xgplayer-audio-track{display:none!important}
.xgplayer xg-icon.xgplayer-vttsub,.xgplayer .xgplayer-vttsub,.xgplayer-mobile xg-icon.xgplayer-vttsub,.xgplayer-mobile .xgplayer-vttsub{display:none!important;visibility:hidden!important;pointer-events:none!important;width:0!important;min-width:0!important;max-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;opacity:0!important}
.xgplayer .xgplayer-subtitle,xg-text-track.xg-text-track{max-width:100%;pointer-events:none!important}
.watch-info{flex:0 0 40%;max-width:40%;max-height:57.5rem;overflow-y:auto;background:#242424;border-radius:1.25rem;padding:2rem;scrollbar-width:thin}
@media (max-width:1439px){.watch-info{width:100%;max-width:100%;margin-top:1.25rem;max-height:none}}
.watch-title{font-size:1rem;line-height:1.5556;font-weight:400;margin-bottom:1rem}
.watch-stats{display:flex;align-items:center;gap:1.75rem;color:#c0b9c0;font-size:1rem}
.watch-stats span{display:inline-flex;align-items:center}
.watch-stats svg{width:1rem;height:1rem;margin-right:.4375rem}
.watch-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.watch-tag{padding:.125rem .75rem;border-radius:3.9375rem;background:rgba(255,255,255,.1);font-size:.75rem;line-height:1.5rem;white-space:nowrap}
.watch-sub{margin:1rem 0 .5rem;font-size:1rem;line-height:1.5;font-weight:400;color:#fff}
.watch-desc{margin:0;font-size:.875rem;line-height:1.25rem;color:#a1a1aa;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.watch-share{margin-top:2.5rem}
.watch-share-list{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;margin:0;padding:0;list-style:none;font-family:Poppins,"PingFang SC",sans-serif}
.watch-share-icon{position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;transition:background-color .2s cubic-bezier(.68,-.55,.265,1.55)}
@media (min-width:768px){.watch-share-icon{width:32px;height:32px}}
.watch-share-icon button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.watch-share-icon img{display:block;width:32px;height:32px;max-width:100%;max-height:100%;object-fit:contain;transition:transform .2s}
.watch-share-icon button:hover img,.watch-share-icon button:focus-visible img{transform:scale(1.25)}
.watch-share-icon.is-facebook:hover{background:#1877f2}
.watch-share-icon.is-twitter:hover{background:#000}
.watch-share-icon.is-instagram:hover{background:#e4405f}
.watch-share-icon.is-link:hover{background:#f5315e}
.watch-share-tooltip{position:absolute;top:0;left:50%;z-index:9;display:none;white-space:nowrap;padding:.375rem .5rem;border-radius:.375rem;background:#fff;color:#fff;font-size:.875rem;line-height:1.25rem;box-shadow:0 10px 10px rgba(0,0,0,.1);opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%);transition:top .3s cubic-bezier(.68,-.55,.265,1.55),opacity .3s cubic-bezier(.68,-.55,.265,1.55),visibility .3s cubic-bezier(.68,-.55,.265,1.55)}
.watch-share-tooltip::before{content:"";position:absolute;left:50%;bottom:-.375rem;width:.5rem;height:.5rem;background:inherit;transform:translateX(-50%) rotate(45deg);transition:background .3s cubic-bezier(.68,-.55,.265,1.55)}
@media (min-width:768px){.watch-share-tooltip{display:block}}
.watch-share-icon:hover .watch-share-tooltip{top:-45px;opacity:1;visibility:visible}
.watch-share-icon.is-facebook:hover .watch-share-tooltip{background:#1877f2}
.watch-share-icon.is-link:hover .watch-share-tooltip{background:#f5315e}
.watch-episodes{margin-top:2rem}
.watch-ep-title{margin:0 0 .5rem;font-size:1rem;line-height:1.5;font-weight:400;color:#fff}
.watch-ep-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.15)}
.watch-ep-all{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;line-height:1.3333;color:rgba(255,255,255,.68)}
.watch-ep-all:hover{color:#fff}
.watch-ep-all img{width:12px;height:12px}
.watch-ep-tabs{display:flex;gap:2rem;overflow-x:auto;scrollbar-width:none}
.watch-ep-tabs::-webkit-scrollbar{display:none}
.watch-ep-tabs button{position:relative;flex-shrink:0;padding:.5rem 0;border:0;background:none;color:rgba(255,255,255,.9);font-size:.875rem;line-height:1.25rem;cursor:pointer}
.watch-ep-tabs button.is-active{color:var(--accent)}
.watch-ep-tabs button.is-active::after{content:"";position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);width:60%;height:2px;border-radius:2px;background:var(--accent)}
.watch-ep-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;margin-top:1rem;max-height:24rem;overflow-y:auto;scrollbar-width:thin}
.watch-ep-grid[hidden]{display:none}
@media (min-width:768px){.watch-ep-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1024px){.watch-ep-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.watch-ep{position:relative;display:flex;align-items:center;justify-content:center;height:2.5rem;border-radius:.5rem;background:#272727;color:#fff;font-size:.8125rem;font-weight:700;transition:background .2s}
.watch-ep:hover{background:#333}
.watch-ep.is-current{background:var(--accent)}
.watch-ep-lock{position:absolute;top:.15rem;right:.2rem;width:.75rem;height:.75rem;opacity:.75}
.watch-related{margin-top:2.5rem}
.watch-related h2{font-family:Poppins,"PingFang SC",sans-serif;font-size:1.5rem;font-weight:700;margin-bottom:1rem}

/* ---------- Detail ---------- */
.detail-page{padding-bottom:2rem}
.detail-hero{position:relative;overflow:hidden}
.detail-hero-bg{position:absolute;inset:0;z-index:0}
.detail-hero-bg img{width:100%;height:100%;object-fit:cover;filter:blur(28px) brightness(.35);transform:scale(1.15)}
.detail-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(21,19,20,.35) 0%,rgba(21,19,20,.7) 60%,var(--bg) 100%)}
.detail-hero-inner{position:relative;z-index:2;width:var(--page-width);margin:0 auto;padding:4rem 0 3rem;display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}
.detail-title{font-family:Poppins,"PingFang SC",sans-serif;font-weight:700;font-size:2.6rem;line-height:1.15}
.detail-sub{margin-top:.5rem;color:var(--text-muted);font-size:1rem}
.detail-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.chip{padding:.25rem .75rem;border-radius:999px;background:rgba(255,255,255,.1);color:var(--text-muted);font-size:.8125rem}
.chip-status{color:#fff;background:rgba(245,49,94,.85)}
.detail-play{display:inline-flex;align-items:center;gap:.5rem;flex-shrink:0;height:3.25rem;padding:0 2rem;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:1rem;font-weight:600;box-shadow:0 10px 30px rgba(245,49,94,.4)}
.detail-play:hover{filter:brightness(1.08)}
.detail-body{width:var(--page-width);margin:0 auto;padding-top:1rem}
.detail-section{margin-top:2rem}
.detail-section h2{font-family:Poppins,"PingFang SC",sans-serif;font-weight:600;font-size:1.25rem;margin-bottom:1rem}
.detail-section-head{display:flex;align-items:baseline;gap:.75rem}
.detail-desc{color:var(--text-muted);line-height:1.8;font-size:.9375rem}
.episode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:.5rem;max-width:720px}
.episode-chip{display:flex;align-items:center;justify-content:center;height:2.75rem;border-radius:6px;background:var(--surface);color:var(--text);font-size:.875rem;transition:background .2s}
.episode-chip:hover{background:var(--surface-hover)}
.episode-chip.is-disabled{color:var(--text-faint);cursor:default}
.capability-note{margin-top:1rem;font-size:.8125rem;color:var(--text-faint)}
.detail-related{padding-top:1rem}

/* ---------- Empty / not found ---------- */
.empty{color:var(--text-faint);padding:2rem 0}
.not-found{text-align:center;padding:5rem 0}
.not-found h1{font-size:2rem;margin-bottom:1rem}
.not-found a{display:inline-block;margin:.5rem;color:var(--accent)}
.primary{color:var(--accent)}

/* ---------- Pagination ---------- */
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:1.25rem;margin:4rem 0 2.5rem}
.page-arrow{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:.5rem;color:rgba(255,255,255,.9);transition:background .2s,opacity .2s}
.page-arrow:hover{background:var(--surface)}
.page-arrow.is-disabled{opacity:.35;cursor:not-allowed}
.page-status{min-width:3.5rem;text-align:center;font-size:.875rem;font-weight:500;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.9)}

/* ---------- Footer ---------- */
.site-footer{margin-top:2rem;border-top:1px solid #262525;background:#272727;color:rgba(255,255,255,.68);padding:2rem 0 1.25rem}
.footer-inner{width:80vw;margin:0 auto;display:flex;flex-direction:column;justify-content:space-between}
.footer-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2rem;line-height:2.25rem}
.footer-content{display:block}
.footer-col h3{margin:0 0 .5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600;color:#fff}
.footer-col ul{list-style:none;margin:.5rem 0 0;padding:0}
.footer-col li{margin:0 0 .5rem;line-height:1.5rem}
.footer-col a,.footer-btn{color:rgba(255,255,255,.3);background:none;border:0;padding:0;text-align:left;font:inherit;font-size:1rem;line-height:1.5rem;transition:color .2s;cursor:pointer}
.footer-col a:hover,.footer-btn:hover{color:rgba(255,255,255,.6)}
.footer-social{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 0}
.footer-social a{position:relative;display:inline-block;width:2.5rem;height:2.5rem}
.footer-social img{position:absolute;top:0;left:0;width:2rem;height:2rem;display:block;object-fit:contain}
.footer-social .s-hover{display:none}
.footer-social a:hover .s-default{display:none}
.footer-social a:hover .s-hover{display:block}
.footer-qr{display:flex;align-items:center;justify-content:center;width:7.875rem;height:7.875rem;margin-top:.5rem;padding:.375rem;border-radius:.625rem;background:rgba(255,255,255,.9)}
.footer-qr img{display:block;width:100%;height:100%;border-radius:.5rem}
.footer-download{margin-top:.5rem;padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}
.footer-download-title{margin-bottom:.75rem;font-size:14px;font-weight:400;color:#fff}
.footer-bottom{width:80vw;margin:1.5rem auto 0;border-top:1px solid rgba(255,255,255,.1);padding:1rem 0;text-align:center}
.footer-bottom p{margin:0;font-size:.875rem;line-height:1.25rem;color:rgba(255,255,255,.3)}


/* ---------- Watch extra sections ---------- */
.watch-comments{margin-top:2rem}
.watch-comments h2{font-size:1.5rem;font-weight:700;color:#fff;margin:0 0 1rem}
.comments-list{display:flex;flex-direction:column;gap:.75rem}
.comment-item{padding:1.25rem;border-radius:1.5rem;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.03))}
.comment-title{margin:0 0 .5rem;font-size:1rem;font-weight:700;color:#fff}
.comment-content{margin:0;font-size:.875rem;line-height:1.6;color:rgba(255,255,255,.68);white-space:pre-wrap;word-break:break-word}

.info-recommend{margin-top:2.5rem}
.info-recommend-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.info-recommend-head h2{font-size:1.25rem;font-weight:700;color:#fff}
.info-recommend-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:.5rem}
@media (min-width:768px){.info-recommend-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.info-rec-card{background:#262525;border-radius:.5rem}
.info-rec-card a{display:block;padding:.75rem 1rem;font-size:.875rem;color:rgba(255,255,255,.8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.info-rec-card a:hover{color:#fff}


/* ---------- Info detail (source-aligned) ---------- */
.info-title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:.75rem 0 .5rem}
.info-title-row .info-article-title{margin:0}
.info-share .watch-share-list{gap:.6rem}
.info-cats{margin:.35rem 0 1rem}
.info-cat{display:inline-block;padding:.15rem .65rem;border-radius:9999px;background:#e723fd;color:#fff;font-size:.75rem;line-height:1.5}

.info-detail{box-sizing:border-box;padding:2rem 0}
.info-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem}
@media (min-width:1024px){.info-detail-grid{grid-template-columns:minmax(0,1fr) 20rem;gap:2rem;align-items:start}}
@media (max-width:1023px){.info-detail .info-side{display:none}}
.info-article{min-width:0}
.info-article-title{margin:.75rem 0 .5rem;font-size:1.75rem;line-height:1.35;font-weight:700;color:#fff}
@media (min-width:768px){.info-article-title{font-size:2rem}}
.info-detail-meta{color:rgba(255,255,255,.5);font-size:.8125rem;margin-bottom:1.25rem}
.info-article-cover{display:block;width:100%;height:auto;object-fit:cover;border-radius:1rem;margin:0 0 1.5rem}
.info-article-content{font-size:.9375rem;line-height:1.9;color:rgba(255,255,255,.82)}
.info-article-content p{margin:0 0 1rem}
.info-article-content img{max-width:100%;height:auto;border-radius:.5rem;margin:1rem 0}
.info-prev-next{display:flex;justify-content:space-between;gap:1rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}
.info-pn{display:inline-block;max-width:48%;font-family:Poppins,"PingFang SC",sans-serif;font-size:.875rem;line-height:1.5;font-weight:400;color:rgba(255,255,255,.68);transition:color .2s}
.info-pn span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.info-pn.next{text-align:right}
.info-pn:hover{color:#f43f5e}
.info-pn.is-disabled{opacity:.35;pointer-events:none}
.info-pn-label{white-space:nowrap}
.info-side{display:flex;flex-direction:column;gap:1rem}
.info-side-card{background:#242424;border-radius:1rem;padding:1.25rem;color:#fff}
.info-hot{display:flex;flex-direction:column;min-height:20.625rem;max-height:30rem}
.info-side-title{margin:0 0 .5rem;font-size:1.25rem;font-weight:600;text-align:center;color:#fff}
.info-side-list{list-style:none;margin:0;padding:0;flex:1;overflow-y:auto;font-size:.8125rem}
.info-hot .info-side-list{text-align:left}
.info-side-list li{margin:.9rem 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.info-side-list a{color:rgba(255,255,255,.62);transition:color .2s}
.info-side-list a:hover{color:#f43f5e}
.info-shuffle{display:flex;align-items:center;justify-content:center;gap:.3rem;width:auto;margin:.75rem auto 0;padding:.3rem .6rem;border:0;border-radius:.375rem;background:none;color:rgba(255,255,255,.55);font-size:.75rem;cursor:pointer;opacity:.38;transition:background .2s,opacity .2s}
.info-shuffle:hover{background:rgba(255,255,255,.12);opacity:1;color:#fff}
.info-you-may{margin-top:2.5rem}
.info-ym-list{list-style:none;margin:.5rem 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:.5rem}
@media (min-width:768px){.info-ym-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.info-ym-list li{overflow:hidden}
.info-ym-list a{display:block;padding:.6rem .9rem;background:#242424;border-radius:.5rem;font-size:.875rem;color:rgba(255,255,255,.8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.info-ym-list a:hover{color:#fff;background:#2e2e2e}

.info-side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}
.info-side-head .info-side-title{margin:0}
.info-shuffle-icon{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .5rem;border:0;background:none;color:rgba(255,255,255,.55);font-size:.75rem;cursor:pointer;transition:color .2s}
.info-shuffle-icon:hover{color:#fff}

.info-playlet-card{display:flex;align-items:center;gap:.75rem;margin:0 0 1.5rem;padding:.6rem;border-radius:.75rem;background:#242424;color:#fff}
.info-playlet-card img{width:56px;height:76px;object-fit:cover;border-radius:.5rem;flex:0 0 auto}
.info-playlet-title{font-size:.9375rem;color:rgba(255,255,255,.9)}
.info-playlet-card:hover .info-playlet-title{color:#f43f5e}

.info-cover-big{display:block;width:100%;height:auto;border-radius:.9375rem;margin:1.25rem 0 0}
.info-download-cta{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:7.4375rem;margin-top:1.25rem;border-radius:1rem;color:#fff;background-image:url(/static/app-download-bg.png);background-position:center;background-size:cover;background-repeat:no-repeat;padding:1rem}
.info-download-text{font-family:Inter,"PingFang SC",sans-serif;font-size:.875rem;line-height:1rem;text-align:center;white-space:normal;padding:0 1.25rem}
.info-watch-btn{display:inline-flex;align-items:center;justify-content:center;min-width:17.5rem;height:2.875rem;margin-top:1rem;padding:0 2.25rem;border-radius:.875rem;background:linear-gradient(to right,#f5315e,#f5315e,#ff512c);color:#fff;font-size:1rem;font-weight:600;text-align:center}
.info-watch-btn:hover{opacity:.92}

/* ---------- Toast ---------- */
.netshort-toast{position:fixed;top:10%;left:50%;z-index:999;max-width:80vw;padding:.5rem 1.25rem;border-radius:.625rem;background:rgba(245,49,94,.9);color:#fff;font-size:1rem;line-height:1.5;box-shadow:0 16px 40px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translateX(-50%) translateY(-10px) scale(.96);transition:opacity .26s,transform .36s cubic-bezier(.22,1,.36,1),visibility .36s;pointer-events:none}
.netshort-toast.is-visible{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0) scale(1)}

/* ---------- Mobile ---------- */
@media (max-width:767px){
  :root{--page-width:calc(100vw - 2rem)}
  .site-header{min-height:4.25rem}
  .site-header .type-area{gap:.75rem;padding:.75rem 0}
  .menu-toggle{display:flex}
  .main-nav{display:none}
  .header-left{gap:1rem}
  .brand-logo{height:24px}
  .header-right{gap:.75rem}
  .search-form{width:14rem;max-width:52vw;height:2.75rem}
  .hero{padding:.5rem 0 2rem}
  .hero-track{height:calc(74vw * 1.32 + 40px)}
  .hero-circle{width:96vw;height:auto;bottom:-18px}
  .hero-slide{width:74vw;height:calc(74vw * 1.32)}
  .hero-arrow{display:none}
  
  .shelf{width:100%;padding:1rem 20px 2rem}
  .shelf-head h2{font-size:1.375rem}
  .shelf-more{font-size:.75rem}
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
  .detail-hero-inner{padding:2.5rem 0 2rem;flex-direction:column;align-items:flex-start;gap:1.5rem}
  .detail-title{font-size:1.75rem}
  .detail-play{height:2.75rem;padding:0 1.5rem}
  .episode-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}
  .footer-links{gap:2rem}
  .footer-inner{flex-direction:column}
}

/* ---------- Go top ---------- */
.go-top{position:fixed;right:4%;bottom:10%;z-index:11;display:none;width:48px;height:48px;padding:0;border:0;background:transparent;cursor:pointer;transition:opacity .3s}
.go-top.is-visible{display:block}
.go-top:hover{opacity:.5}
.go-top svg{display:block;width:100%;height:100%}
@media (min-width:768px){.go-top{bottom:20%}}

/* ---------- Toplist (查看更多) ---------- */
.toplist-page{padding:1rem 0 4rem}
.toplist-page .container{padding-left:0;padding-right:0}
.toplist-title{margin:1.5rem 0;font-size:1.875rem;line-height:1.2;font-weight:700;color:#fff}
.toplist-list{display:flex;flex-direction:column}
.toplist-card{display:flex;height:12.25rem;margin-bottom:1.25rem;padding:.75rem 1.25rem .75rem .75rem;border-radius:1.25rem;background:rgba(255,255,255,.05);cursor:pointer;transition:background .2s}
.toplist-card:hover{background:rgba(255,255,255,.08)}
.toplist-poster{display:block;flex-shrink:0;width:8.1875rem;height:10.875rem;border-radius:.5rem;overflow:hidden}
.toplist-poster img{display:block;width:100%;height:100%;object-fit:cover}
.toplist-info{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0;margin-left:.9375rem;overflow:hidden}
.toplist-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.toplist-name{flex:1;min-width:0;color:#fff}
.toplist-name h2{display:-webkit-box;overflow:hidden;font-family:Poppins,"PingFang SC",sans-serif;font-size:1.25rem;font-weight:700;line-height:1.4375rem;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;transition:color .2s}
.toplist-name:hover h2{color:#f5315e}
.toplist-play{display:flex;flex-shrink:0;align-items:center;justify-content:center;gap:.25rem;height:2.25rem;padding:.5rem 1rem;border-radius:.5rem;background:linear-gradient(92.6deg,#f5315e 49.773%,#ff512c 100%);color:#fff;font-size:.875rem;font-weight:500;line-height:1.25rem;transition:transform .2s}
.toplist-play:hover{transform:scale(1.03)}
.toplist-play img{display:block}
.toplist-desc{display:-webkit-box;overflow:hidden;max-width:48.9375rem;margin-top:.5rem;color:#a3a3a3;font-size:.875rem;line-height:1.5rem;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.toplist-play-mobile{display:none}
@media (max-width:767px){
.toplist-title{margin:.75rem 0 1rem;font-size:1.5rem}
.toplist-card{height:10.5rem;gap:.5rem;margin-bottom:1rem;padding:.5rem;border-radius:.625rem;background:#292929}
.toplist-poster{width:7.125rem;height:9.5rem}
.toplist-info{margin-left:0;padding:.75rem 0}
.toplist-name h2{font-size:.875rem;font-weight:500;line-height:1.4375rem}
.toplist-desc{font-size:.75rem;line-height:15px;color:rgba(255,255,255,.55)}
.toplist-play{display:none}
.toplist-play-mobile{display:flex;width:fit-content;min-width:4rem;height:1.75rem;margin-top:.75rem;padding:.5rem 1.5rem;border-radius:.25rem;color:#fff;font-size:.75rem;font-weight:500;line-height:1rem;transition:none}
.toplist-play-mobile:hover{transform:none}
}
/* ---------- Footer accordion + mobile home alignment ---------- */
.footer-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.5rem;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:default}
.footer-toggle h3{margin:0}
.footer-chevron{display:none;width:.75rem;height:.75rem;flex-shrink:0;color:rgba(255,255,255,.6);transition:transform .2s}
.footer-col.is-open .footer-chevron{transform:rotate(180deg)}
.app-download-bar{display:none}

@media (max-width:767px){
  body{background-image:none}
  .site-header{min-height:3.25rem}
  .site-header .type-area{min-height:3.25rem;padding:.5rem 0}
  .header-left{gap:.75rem}
  .header-right{gap:.5rem}
  .brand-logo{height:1.375rem;width:auto}
  .hero{padding:0;margin:0;background:none}
  .hero-viewport{overflow:hidden}
  .hero-track{display:flex;height:auto;perspective:none;transform-style:flat;transition:transform .35s cubic-bezier(.22,1,.36,1)}
  .hero-slide{display:block!important;position:relative!important;left:0!important;top:0!important;flex:0 0 100vw;width:100vw;height:auto;transform:none!important;opacity:1!important}
  .hero-media{position:relative;inset:auto;display:block;border-radius:0;box-shadow:none}
  .hero-media img{display:block;width:100%;height:auto;aspect-ratio:5/6;object-fit:cover;object-position:top center}
  .hero-caption{display:none}
  .hero-overlay{position:absolute;left:0;right:0;bottom:0;height:auto;overflow:visible;background:linear-gradient(180deg,rgba(21,19,20,0) 0%,rgba(21,19,20,.55) 42%,#151314 100%)}
  .hero-overlay-inner{position:static;opacity:1;transform:none;transition:none}
  .hero-panel{background:none;border-radius:0;padding:1.5rem 1rem 0;backdrop-filter:none;-webkit-backdrop-filter:none}
  .hero-overlay-title{font-size:1rem;line-height:1.4;text-align:center}
  .hero-desc{display:none}
  .hero-actions{justify-content:center;margin-top:.5rem}
  .hero-play{padding:.375rem 2rem;font-size:.875rem}
  .hero-share{display:none}
  .hero-circle,.hero-arrow{display:none}

  .shelf{padding:.75rem 0 1rem}
  .shelf-head{margin-bottom:.75rem;padding:0 1rem}
  .shelf-head h2{font-size:1.25rem}
  .card-scroller{gap:.625rem;padding:0;scroll-padding:0 1rem;padding-left:1rem;padding-right:1rem}
  .card-scroller .drama-card{width:calc((100vw - 2rem - 1.25rem) / 3);scroll-snap-align:start}
  .drama-card .card-title{font-size:.8125rem;line-height:1.25}
  .drama-card .card-tags{margin-top:.125rem;font-size:.6875rem;line-height:1.25}
  .drama-card:hover .card-hover{opacity:0;visibility:hidden}
  .card-hover-actions{display:none}

  .footer-inner{width:calc(100% - 2rem)}
  .footer-col--social .footer-content{display:block!important}
  .footer-col--social .footer-toggle{cursor:default}
  .footer-col--social .footer-chevron{display:none}
  .site-footer{background:#141213;padding:1.25rem 0}
  .footer-grid{display:flex;flex-direction:column;gap:2rem}
  .footer-col{padding:0;border-bottom:0}
  .footer-col a{font-size:12px;line-height:1.2}
  .footer-toggle{cursor:pointer}
  .footer-toggle h3{font-size:14px;line-height:1.3125rem;font-weight:500;color:#fff}
  .footer-chevron{display:block;width:.75rem;height:.75rem;color:rgba(255,255,255,.6);transition:transform .2s}
  .footer-content{display:none;margin-top:.5rem}
  .footer-col.is-open .footer-content{display:block}
  .footer-col--download{order:5}
  .footer-col--download .footer-content{display:block!important}
  .footer-col--download .footer-chevron{display:none}
  .footer-col--download .footer-toggle{cursor:default}
  .footer-col--social{order:99}
  .footer-col--social .footer-content{display:block!important}
  .footer-col--social .footer-chevron{display:none}
  .footer-col--social .footer-toggle{cursor:default}
  .footer-col--social{border-top:1px solid rgba(255,255,255,.1);padding-top:1rem}
  .footer-col--social .footer-social{justify-content:center}
  .footer-col--download{display:none}
  .footer-col--social h3{display:none}
  .footer-download{display:none}
  .footer-bottom p{font-size:10.5px;line-height:15px}
  .footer-social a{width:1.875rem;height:1.875rem}
  .footer-social img{width:1.875rem;height:1.875rem}
  .footer-social{margin:.5rem 0 0}
  .footer-bottom{width:calc(100% - 2rem);margin-top:1rem;padding:.75rem 0}

  .app-download-bar{box-sizing:border-box;display:flex;position:fixed;right:1rem;bottom:calc(10% + 4rem);left:auto;z-index:1000;width:auto;height:2.25rem;align-items:center;justify-content:center;padding:0 .9rem;border-radius:999px;background:#f5315e;box-shadow:0 6px 16px rgba(0,0,0,.28);color:#fff;text-decoration:none}
  body[data-page-id="watch"] .watch-close,
  body[data-page-id="detail"] .watch-close,
  body[data-page-id="watch"] .app-download-bar,
  body[data-page-id="detail"] .app-download-bar{display:none}
  .app-download-get{color:#fff;font-size:.8125rem;font-weight:600;line-height:1;white-space:nowrap}
}
.hero-dots{display:flex;align-items:center;justify-content:center;gap:.25rem;padding:.75rem 0 .5rem;min-height:1.5rem}
.hero-dot{width:.375rem;height:2px;padding:0;border:0;border-radius:9999px;background:rgba(255,255,255,.4);transition:width .3s,background .3s;cursor:pointer}
.hero-dot.is-active{width:2rem;background:#fff}
.hero-progress{display:flex;align-items:center;justify-content:center;gap:.25rem;padding:.75rem 0 .5rem}
.hero-progress-dot{width:.5rem;height:3px;padding:0;border:0;border-radius:9999px;background:rgba(255,255,255,.4);transition:width .3s,background .3s;cursor:pointer}
.hero-progress-dot.is-active{width:2rem;background:#fff}

/* ---------- Rich text content page ---------- */
.richtext-page{padding:2rem 0 4rem}
.richtext-page .container{padding-left:0;padding-right:0}
.richtext-article{max-width:48rem;margin:0 auto}
.richtext-title{margin:1.5rem 0;font-size:1.875rem;line-height:1.2;font-weight:700;color:#fff}
.richtext-content{font-size:.9375rem;line-height:1.9;color:rgba(255,255,255,.82)}
.richtext-content h2,.richtext-content h3{margin:1.5rem 0 .75rem;color:#fff;font-weight:600}
.richtext-content h2{font-size:1.25rem}
.richtext-content h3{font-size:1.0625rem}
.richtext-content p{margin:0 0 1rem}
.richtext-content ul,.richtext-content ol{margin:0 0 1rem;padding-left:1.25rem}
.richtext-content img{max-width:100%;height:auto;border-radius:.5rem;margin:1rem 0}
@media (max-width:767px){.richtext-title{font-size:1.5rem}}

/* ---------- Document page (FAQ-style) ---------- */
.doc-page{min-height:60vh;padding:3% 0 4rem;overflow-wrap:anywhere}
.doc-layout{padding-top:0;padding-bottom:0}
.doc-title{color:#fff;font-size:2rem;line-height:1.25;font-weight:700}
.doc-body{margin-top:2rem}
.doc-body h2,.doc-body h3{margin:2.25rem 0 0;color:#fff;font-size:.875rem;line-height:1.5rem;font-weight:700}
.doc-body > :first-child{margin-top:0}
.doc-body h2::before,.doc-body h3::before{content:"·";margin-right:.25rem;color:#f759ab;font-size:1.375rem;line-height:1}
.doc-body p,.doc-body li{max-width:50rem;margin:.5rem 0 0;color:#bfbfbf;font-size:.875rem;line-height:1.6}
.doc-body ul,.doc-body ol{margin:.5rem 0 0;padding-left:1.25rem}
.doc-body a{color:#fff;text-decoration:underline;text-underline-offset:2px}
@media (max-width:767px){
  .doc-body p,.doc-body li{font-size:.75rem;line-height:1.25rem}
}
