/* V5: numbered backend ads and real server-side pagination. */
.tg-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:22px;padding:30px 0;color:#ddd;grid-column:1/-1}.tg-page-total{width:100%;text-align:center;color:#999;font-size:14px}.tg-page-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.tg-pagination button{border:0;border-radius:10px;min-width:44px;min-height:44px;padding:10px 14px;background:#202020;color:#eee;cursor:pointer;font-weight:600}.tg-pagination button.is-current,.tg-page-jump button{background:#ffd321;color:#111}.tg-pagination button:disabled{opacity:.3;cursor:default}.tg-page-ellipsis{padding:0 7px;color:#999}.tg-page-jump{display:flex;align-items:center;gap:12px}.tg-page-jump input{width:80px;background:#202020;border:1px solid #555;color:#fff;border-radius:8px;padding:12px;margin:0 8px}.tg-pagination button:focus-visible,.tg-pagination input:focus-visible{outline:2px solid #ffd321;outline-offset:3px}@media(max-width:600px){.tg-pagination{gap:16px;padding:22px 0}.tg-page-links{gap:5px}.tg-pagination button{min-width:36px;padding:8px;font-size:13px}}
html body .hg-ssp-slot:not(.tg-real-ad){display:none!important}
html body .hg-home-ssp-row.tg-ad-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important}
/* Single active desktop ad keeps half width; never expand across both slots. */
html body .tg-ad-stack{display:flex;flex-direction:column;gap:16px;min-width:0;width:100%}
html body .hg-home-ssp-row[hidden],html body .tg-ad-stack[hidden]{display:none!important;margin:0!important;padding:0!important}
html body .hg-drama-card .hg-drama-card__cover{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;overflow:hidden!important;padding:0!important}
html body .hg-drama-card .hg-drama-card__cover>a{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important}
html body .hg-drama-card .hg-drama-card__cover img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important}
@media(max-width:767px){html body .hg-home-ssp-row.tg-ad-row{grid-template-columns:1fr!important;gap:12px!important}}
/* The banner is a fixed-height viewport, never an image-sized box. */
html body .hg-ssp-slot.tg-ad-frame{position:relative!important;height:120px!important;min-height:120px!important;max-height:120px!important;aspect-ratio:auto!important;width:100%!important;max-width:100%!important;overflow:hidden!important;flex:none!important}
html body .hg-ssp-slot.tg-ad-frame>a,html body .hg-ssp-slot.tg-ad-frame img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;max-width:100%!important;margin:0!important;object-fit:cover!important;transform:none!important}
html body .hg-ssp-slot.tg-ad-card{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:3/4!important;align-self:start!important}
html body .hg-ssp-slot[hidden],html body [data-tg-grid][hidden]{display:none!important}
.tg-empty{padding:24px;color:#909099;grid-column:1/-1}.tg-empty:empty{display:none}
.hg-drama-card__cover{background:#17171b}.hg-drama-card__cover img:not([src]){visibility:hidden}
.tg-v3-info{display:flex;gap:32px;align-items:center;background:#151515;border:1px solid #303034;border-radius:24px;padding:28px;margin-top:24px;color:#eee}
.tg-v3-poster{width:180px;height:240px;flex:none;border-radius:18px;overflow:hidden;background:#222}.tg-v3-poster img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
.tg-v3-info-main{flex:1;min-width:0}.tg-v3-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px}
.tg-v3-fact{position:relative;padding-left:18px;min-width:0}.tg-v3-fact:before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:3px;border-radius:3px;background:#ffd321}
.tg-v3-fact dt{color:#86868e;font-size:17px;font-weight:400;margin:0 0 8px}.tg-v3-fact dd{margin:0;font-size:18px;line-height:1.5;overflow-wrap:anywhere}.tg-v3-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.tg-v3-tags span{padding:7px 13px;border:1px solid #37343d;border-radius:9px;background:#201e23;color:#b7b3bc}
.hg-web-play__title-ep{margin-left:8px}.tg-empty-hero{height:180px;display:grid;place-items:center;color:#888}
@media(max-width:767px){html body .hg-ssp-slot.tg-ad-frame{height:64px!important;min-height:64px!important;max-height:64px!important}html body .hg-ssp-slot.tg-ad-card{height:auto!important;min-height:0!important;max-height:none!important}.tg-v3-info{padding:16px;gap:16px;align-items:flex-start;border-radius:16px}.tg-v3-poster{width:90px;height:120px;border-radius:10px}.tg-v3-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.tg-v3-fact{padding-left:10px}.tg-v3-fact dt{font-size:12px;margin-bottom:5px}.tg-v3-fact dd{font-size:13px}.tg-v3-tags{margin-top:16px;gap:6px}.tg-v3-tags span{font-size:12px;padding:4px 8px}}

/* V6: fixed frames, clear section hierarchy, accessible backend notices. */
html body .tg-ad-frame img{object-fit:cover!important;object-position:center!important;display:block!important;border-radius:inherit}
html body main>.hg-section{padding-top:30px;padding-bottom:32px;border-bottom:1px solid #252528;margin-bottom:18px}
html body .hg-section-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
html body .hg-see-more{display:inline-flex;align-items:center;padding:9px 18px;border:1px solid #3b3b40;border-radius:24px;background:#242428;color:#eee;font-size:14px;white-space:nowrap}
html body .tg-footer{margin-top:48px!important;background:#121214!important;border-top:1px solid #353539!important;color:#a7a7af}
html body .tg-footer-wrap{padding:40px 24px!important;max-width:1440px;margin:auto}
html body .tg-address-card{background:#1c1c20!important;border:1px solid #303036;box-shadow:0 8px 24px #0002}
html body .tg-footer-lower{border-top:1px solid #36363c!important;padding:40px 24px!important;max-width:1440px;margin:auto}
html body .tg-footer-col a{color:#aaaab4!important;line-height:1.8}.tg-footer-col a:hover{color:#ffd321!important}
html body .tg-notice{display:flex!important;align-items:center;gap:0;overflow:hidden;background:#19191d;border:1px solid #303037;border-radius:10px;min-height:48px;margin:24px 0 30px;padding:0!important;width:100%;box-sizing:border-box}
html body .tg-notice[hidden]{display:none!important}
.tg-notice-badge{flex:none;align-self:stretch;display:flex;align-items:center;background:#292720;color:#ffd321;padding:12px 16px;font-weight:600}
.tg-notice-viewport{flex:1;min-width:0;overflow:hidden}.tg-notice-track{display:flex;width:max-content;animation:tg-notice-left 40s linear infinite;color:#c8c8d0;font-size:15px;line-height:1.6}.tg-notice-copy{flex:none;white-space:nowrap;padding-right:70px;padding-left:20px}
.tg-notice-pause{flex:none;border:0;border-left:1px solid #35353b;background:#222227;color:#aaa;padding:14px 12px;cursor:pointer}
.tg-notice:hover .tg-notice-track,.tg-notice:focus-within .tg-notice-track,.tg-notice.is-paused .tg-notice-track{animation-play-state:paused}
@keyframes tg-notice-left{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.tg-notice-track{animation:none}.tg-notice-viewport{overflow:auto}.tg-notice-copy[aria-hidden]{display:none}}
@media(max-width:767px){html body main>.hg-section{padding-top:20px;padding-bottom:24px}.tg-notice-badge{padding:10px}.tg-notice-track{font-size:13px}html body .tg-footer-wrap,html body .tg-footer-lower{padding:28px 18px!important}}

/* V7 notice and player refinements */
html body .tg7-titlebar::before,html body .tg7-titlebar::after{content:none!important;display:none!important}html body .hg-web-play__titlebar img.tg7-brand{margin:0 0 0 auto!important}
html body .hg-web-play__titlebar.tg7-titlebar{display:flex!important;padding:14px 20px!important;justify-content:flex-start!important}html body .tg7-titlebar .hg-web-play__title-ep{display:inline-block!important}
html body .hg-web-play__titlebar img.tg7-brand{width:120px!important;height:42px!important;max-width:120px!important;object-fit:contain!important;margin-left:auto!important;flex:0 0 120px!important}
html body .tg7-titlebar .hg-web-play__title{flex:0 1 auto!important;min-width:0;overflow-wrap:anywhere}html body .tg7-titlebar .hg-web-play__title-ep{font-size:16px;white-space:nowrap;color:#ddd}
html body .tg7-smallad img{width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:cover!important;max-width:100%!important;display:block!important}
html body .tg-notice{margin:34px 0 18px!important;min-height:40px;border:0;border-radius:7px;background:#121212}
.tg-notice-badge{font-size:14px;font-weight:400;color:#fff;background:#242321;padding:10px 13px;gap:8px}.tg7-bell{width:19px;height:19px;color:#ffda00;flex:none}.tg-notice-track{font-size:13px;font-weight:400}.tg-notice-pause{padding:11px 10px;font-size:12px}
html body .tg7-titlebar{display:flex;align-items:center;gap:10px;background:#252423;border:1px solid #3b3a38;border-radius:12px;padding:16px 22px;margin-bottom:16px;min-height:62px;box-sizing:border-box}
html body .tg7-titlebar .hg-web-play__title{font-size:22px;font-weight:600;margin:0;background:none}.tg7-brand{width:120px;height:42px;object-fit:contain;margin-left:auto;flex:none}
.tg7-rating{width:240px;flex:none;padding:20px;border:1px solid #373529;border-radius:18px;background:linear-gradient(140deg,#1b1a13,#252214);display:flex;flex-direction:column;gap:14px}.tg7-rating>strong{font-size:38px;color:#ffdc20}.tg7-rating small{font-size:11px;color:#94918a}.tg7-stars{display:flex;gap:6px}.tg7-stars button{background:none;border:0;color:#59574e;font-size:30px;padding:0;cursor:pointer}.tg7-stars button.is-lit{color:#ffda00}
.tg7-tabs{display:flex;gap:25px;border-bottom:1px solid #343434;margin:0 0 20px}.tg7-tabs button{font-size:20px;background:none;border:0;color:#999;padding:12px 0;cursor:pointer}.tg7-tabs button.is-active{color:#ffda00;border-bottom:4px solid #ffda00}
html body .hg-web-play__ep-grid[hidden],.tg7-comments[hidden]{display:none!important}.tg7-comments{max-height:480px;overflow:auto}.tg7-comment{padding:15px 0;border-bottom:1px solid #333}.tg7-comment strong{font-size:15px;color:#eee}.tg7-comment time{font-size:12px;color:#888;margin-left:12px}.tg7-comment p{color:#bbb;line-height:1.7;overflow-wrap:anywhere}
.tg7-smallads{display:grid;gap:12px;margin:22px 0}.tg7-below{grid-template-columns:repeat(15,minmax(0,1fr))}.tg7-side{grid-template-columns:repeat(5,minmax(0,1fr))}.tg7-smallad{min-width:0;text-align:center;text-decoration:none;color:#ccc;font-size:12px}.tg7-smallad img{width:100%;aspect-ratio:1;height:auto;object-fit:cover;border-radius:12px;display:block}.tg7-smallad span{display:block;margin-top:6px;overflow-wrap:anywhere}.tg7-more{background:#292929;color:#ddd;border:1px solid #444;padding:9px 15px}
@media(max-width:1100px){.tg7-rating{width:190px}.tg7-below{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:767px){.tg7-below{grid-template-columns:repeat(5,minmax(0,1fr))}.tg7-rating{width:100%;box-sizing:border-box}.tg-v3-info{flex-wrap:wrap}.tg7-brand{width:90px;height:32px}html body .tg7-titlebar{padding:12px}.tg7-tabs button{font-size:17px}html body .tg7-titlebar .hg-web-play__title{font-size:18px}}

/* V8: keep announcement aligned with homepage section gutters. */
html body .tg-notice{margin:34px var(--hg-page-gutter,24px) 18px!important;width:auto!important;max-width:none!important;box-sizing:border-box;position:relative;left:auto;right:auto}
html body .tg-notice::before{display:none!important}
html body .tg7-tabs{gap:24px;margin-bottom:18px;align-items:center}
html body .hg-web-play__side .tg7-tabs button{font-size:16px!important;line-height:1.5!important;font-weight:600!important;padding:10px 0 12px!important;letter-spacing:0!important;border-radius:0!important}
html body .tg7-tabs button.is-active{border-bottom:3px solid #ffda00!important}
html body #vdAnchorNav.tg8-related-tabs{display:flex;gap:26px;border-bottom:1px solid #303030;margin:24px 0;padding:0}
html body #vdAnchorNav.tg8-related-tabs button{background:none;border:0;border-bottom:3px solid transparent;color:#929292;font-size:18px;font-weight:600;padding:12px 0;cursor:pointer}
html body #vdAnchorNav.tg8-related-tabs button.active{color:#ffda00;border-bottom-color:#ffda00}
html body #related-grid[hidden],html body .tg8-latest-address[hidden]{display:none!important}
.tg8-latest-address{background:#181818;border:1px solid #303030;border-radius:12px;padding:22px;margin-bottom:24px}.tg8-latest-address h3{margin:0 0 16px}.tg8-latest-address a{display:block;color:#e5e5e5;overflow-wrap:anywhere;margin:12px 0}
html body .tg8-banner-ad .hg-hero__score,html body .tg8-banner-ad .hg-hero__episode,html body .tg8-banner-ad .hg-hero__desc,html body .tg8-banner-ad .hg-hero__tags{display:none!important}
html body .tg8-banner-ad .hg-hero__bg-img{object-fit:cover!important;width:100%!important;height:100%!important}
html body .hg-hero__thumb[hidden],html body .hg-hero__dot[hidden],html body .hg-hero__panel[hidden],html body .hg-hero__play[hidden]{display:none!important}
@media(max-width:767px){html body .tg-notice{margin:20px var(--hg-page-gutter,16px) 12px!important}html body .hg-web-play__side .tg7-tabs button{font-size:15px!important}html body #vdAnchorNav.tg8-related-tabs button{font-size:16px}}

@media(min-width:768px){html body .tg-ad-row>.tg-ad-stack:nth-child(1){grid-column:1!important}html body .tg-ad-row>.tg-ad-stack:nth-child(2){grid-column:2!important}}

/* V8.2 per-ad safe formatted copy */
.tg82-carousel-copy{position:relative;z-index:4;max-width:520px;max-height:155px;overflow:auto;overflow-wrap:anywhere;font-size:16px;line-height:1.65;color:#ddd;margin:12px 0;pointer-events:auto;white-space:pre-wrap}
.tg82-carousel-copy p{margin:0 0 6px}.tg82-carousel-copy span{display:inline!important}.tg82-carousel-copy strong{font-weight:700}.tg82-carousel-copy em{font-style:italic}.tg82-carousel-copy u{text-decoration:underline}.tg82-carousel-copy[hidden]{display:none!important}
@media(max-width:767px){.tg82-carousel-copy{font-size:13px;max-height:90px;max-width:85vw;line-height:1.5}}


/* TG_RELATED_SPACING_COVER_V1 */
html body #related-grid{
 display:grid!important;
 column-gap:24px!important;
 row-gap:30px!important;
 align-items:start!important;
}
html body #related-grid[hidden]{display:none!important}
html body #related-grid>.hg-drama-card{
 min-width:0!important;
 width:100%!important;
 margin:0!important;
}
html body #related-grid .hg-drama-card__cover{
 position:relative!important;
 width:100%!important;
 height:auto!important;
 aspect-ratio:3/4!important;
 padding:0!important;
 overflow:hidden!important;
 border-radius:16px!important;
}
html body #related-grid .hg-drama-card__cover>a{
 position:absolute!important;
 inset:0!important;
 display:block!important;
 width:100%!important;
 height:100%!important;
 margin:0!important;
 padding:0!important;
}
html body #related-grid .hg-drama-card__cover img{
 position:absolute!important;
 inset:0!important;
 display:block!important;
 width:100%!important;
 height:100%!important;
 min-width:0!important;
 min-height:0!important;
 max-width:none!important;
 max-height:none!important;
 object-fit:cover!important;
 object-position:center!important;
 margin:0!important;
 padding:0!important;
 transform:none!important;
}
@media(max-width:767px){
 html body #related-grid{column-gap:12px!important;row-gap:20px!important}
 html body #related-grid .hg-drama-card__cover{border-radius:10px!important}
}


/* TG_HOME_COMPACT_V1 */
html body.hg-page-home .tg-notice{
 height:20px!important;min-height:20px!important;
 border-radius:4px!important;
 margin-bottom:12px!important;
}
html body.hg-page-home .tg-notice-badge{
 padding:0 6.5px!important;gap:4px!important;
 font-size:13px!important;line-height:20px!important;
}
html body.hg-page-home .tg7-bell{width:15px!important;height:15px!important}
html body.hg-page-home .tg-notice-track{
 font-size:13px!important;line-height:20px!important;
 animation-duration:80s!important;
}
html body.hg-page-home .tg-notice-pause{
 padding:0 8px!important;line-height:20px!important;
}
html body.hg-page-home .hg-section.hg-home-popular-tags{
 padding-top:calc(18.6667 * var(--hg-pc-unit,1px))!important;
 padding-bottom:0!important;
}
html body.hg-page-home .hg-home-popular-tags .hg-tagrow{
 margin-top:calc(10 * var(--hg-pc-unit,1px))!important;
}
html body.hg-page-home .hg-home-popular-tags+.hg-section{
 padding-top:calc(25.3333 * var(--hg-pc-unit,1px))!important;
}
@media(max-width:767px){
 html body.hg-page-home .tg-notice{margin-bottom:8px!important}
 html body.hg-page-home .hg-section.hg-home-popular-tags{
  padding-top:13.3333px!important;padding-bottom:0!important;
 }
 html body.hg-page-home .hg-home-popular-tags .hg-tagrow{
  margin-top:5px!important;
 }
 html body.hg-page-home .hg-home-popular-tags+.hg-section{
  padding-top:13.3333px!important;
 }
}


/* TG_TAG_TITLE_GAP_V2 */
html body.hg-page-home .hg-home-popular-tags .hg-section-header{
 min-height:0!important;
 margin-bottom:0!important;
 padding-bottom:0!important;
}
html body.hg-page-home .hg-home-popular-tags .hg-section-title{
 margin:0!important;padding:0!important;
}
html body.hg-page-home .hg-home-popular-tags h2{
 margin:0!important;line-height:1.3!important;
}
html body.hg-page-home .hg-home-popular-tags .hg-tagrow{
 margin-top:18px!important;padding-top:0!important;
}


/* TG_HOME_ROWS_ADS_V1 */
html body.hg-page-home .tg-home-row-hidden{
 display:none!important;
}
html body.hg-page-home .hg-home-ssp-row .hg-ssp-slot.tg-ad-frame{
 height:180px!important;
 min-height:180px!important;
 max-height:180px!important;
}

/* TG_TOPICS_V9: isolated from home rows, notice and player styles. */
html body .tg9-topics{padding:28px var(--hg-page-gutter,24px) 40px;min-height:50vh}
.tg9-crumbs{display:flex;gap:8px;align-items:center;color:#a0a0a0;margin:0 0 32px}.tg9-crumbs a{color:inherit;text-decoration:none}.tg9-crumbs a:last-child{color:#ffda00}
.tg9-topic-heading{margin-bottom:28px}.tg9-topic-heading h1{font-size:32px;font-weight:700;line-height:1.35;color:#fff;margin:0 0 16px}.tg9-topic-heading p{font-size:16px;font-weight:400;color:#b4b4b9;line-height:1.7;white-space:pre-wrap;margin:0 0 12px;overflow-wrap:anywhere}.tg9-topic-heading small{color:#aaa;font-size:14px}
html body .tg9-topic-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
.tg9-topic-card{position:relative;display:block;min-width:0;aspect-ratio:16/9;border-radius:16px;overflow:hidden;text-decoration:none!important;background:linear-gradient(135deg,#273942,#17212a 55%,#333125);color:white!important}
.tg9-topic-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .2s}.tg9-topic-card:hover>img{transform:scale(1.03)}
.tg9-topic-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;background:linear-gradient(transparent 20%,rgba(0,0,0,.85))}
.tg9-topic-content small{font-size:12px;line-height:1.5}.tg9-topic-content h3{font-size:24px;line-height:1.35;font-weight:700;margin:8px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tg9-topic-content p{font-size:12px;line-height:1.5;font-weight:400;color:#bbb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
html body .tg9-topic-videos{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:24px!important}
.tg9-page-link{color:#ffda00;background:#222;padding:10px 18px;border-radius:8px;text-decoration:none}
html body .tg9-topic-ads{margin:32px 0 0;display:grid;gap:24px}
html body .tg9-topic-ads .hg-home-ssp-row{margin:0!important;width:100%!important;padding:0!important}
html body .tg9-topic-ads .tg-ad-frame{height:180px!important;min-height:180px!important;max-height:180px!important;border-radius:12px!important}
html body .tg9-topic-videos .hg-drama-card__cover img{object-fit:cover!important;width:100%!important;height:100%!important}
@media(max-width:1100px){html body .tg9-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .tg9-topic-videos{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:767px){html body .tg9-topic-grid{grid-template-columns:1fr!important;gap:18px!important}html body .tg9-topic-videos{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.tg9-topic-heading h1{font-size:28px}.tg9-topic-heading p{font-size:14px}.tg9-crumbs{margin-bottom:24px}.tg9-topic-content h3{font-size:24px}.tg9-topic-content p{font-size:12px}}

/* TG_RANKS_V1 isolated layout */
html body main.tgr-page{padding:28px var(--hg-page-gutter,28px) 48px;color:#eee;min-height:60vh}
.tgr-crumbs{display:flex;flex-wrap:wrap;gap:8px;color:#9ba3ad;margin-bottom:32px;font-size:15px}.tgr-crumbs a{color:inherit;text-decoration:none}.tgr-crumbs [aria-current]{color:#ffda00}
.tgr-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}.tgr-heading h1{font-size:32px;line-height:1.3;margin:0;font-weight:700}.tgr-heading p{margin:0;color:#aab0ba;font-size:15px}.tgr-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #66571c;border-radius:14px;background:#292510;color:#ffda00;font-size:30px}
.tgr-tabs{display:flex;gap:32px;border-bottom:1px solid #292929}.tgr-tabs a{padding:0 0 18px;color:#9299a4;font-size:20px;font-weight:700;text-decoration:none;border-bottom:3px solid transparent}.tgr-tabs a.is-active{color:#ffda00;border-color:#ffda00}.tgr-note{color:#939ba6;font-size:12px;margin:14px 0 20px;line-height:1.7}
.tgr-list{display:grid;gap:18px}.tgr-row{display:grid;grid-template-columns:180px minmax(0,1fr) 160px;gap:20px;padding:18px;border:1px solid #303030;background:#161616;border-radius:20px;align-items:start}.tgr-poster{display:block;position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:15px;background:linear-gradient(145deg,#333c45,#191c23);color:white}.tgr-poster img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;margin:0!important}.tgr-no-image:before{content:'暂无封面';position:absolute;inset:0;display:grid;place-items:center;color:#aaa;font-size:14px}.tgr-number{position:absolute;top:10px;left:10px;min-width:34px;text-align:center;padding:3px 6px;border-radius:7px;background:#ffda00;color:#171717;font-weight:800;font-size:20px}.tgr-episodes{position:absolute;bottom:10px;right:8px;font-size:12px;padding:4px 7px;background:#000b;border-radius:6px;color:#fff}
.tgr-info{min-width:0}.tgr-info h2{font-size:22px;font-weight:700;line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere}.tgr-info h2 a{color:#fff;text-decoration:none}.tgr-meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;font-size:15px;line-height:1.6}.tgr-tags{color:#adb5c1;overflow-wrap:anywhere}.tgr-score{color:#ffda00;font-weight:700;white-space:nowrap}.tgr-description{font-size:15px;line-height:1.8;color:#c8cdd4;margin:12px 0 0;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.tgr-heat{align-self:center;text-align:center;display:grid;gap:8px;border-left:1px solid #303030;padding-left:18px}.tgr-heat strong{font-size:30px;font-weight:800;white-space:nowrap}.tgr-heat strong:before{content:'♨';color:#ffda00;margin-right:8px;font-size:25px}.tgr-heat span{font-size:16px;color:#aab5c4}.tgr-heat small{font-size:11px;color:#9299a4}.tgr-empty{padding:36px 0;color:#aab5c4}.tgr-retry{background:#ffda00;color:#111;padding:10px 20px;border:0;border-radius:8px;cursor:pointer}
@media(max-width:1000px){.tgr-row{grid-template-columns:140px minmax(0,1fr) 120px;gap:16px}.tgr-heat strong{font-size:25px}.tgr-info h2{font-size:20px}}
@media(max-width:600px){html body main.tgr-page{padding:20px 16px 32px}.tgr-crumbs{font-size:13px;margin-bottom:24px}.tgr-heading{gap:10px;margin-bottom:22px}.tgr-heading h1{font-size:27px}.tgr-heading p{width:100%;font-size:13px}.tgr-tabs{gap:28px}.tgr-tabs a{font-size:17px;padding-bottom:13px}.tgr-row{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px;border-radius:15px}.tgr-poster{grid-row:1/3;border-radius:10px}.tgr-info h2{font-size:17px;margin-bottom:6px}.tgr-meta{font-size:12px;gap:4px 10px}.tgr-description{font-size:12px;line-height:1.6;margin-top:6px;-webkit-line-clamp:3}.tgr-heat{grid-column:2;border:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px}.tgr-heat strong{font-size:20px}.tgr-heat strong:before{font-size:18px;margin-right:4px}.tgr-heat span{font-size:12px}.tgr-heat small{font-size:10px}.tgr-number{font-size:15px;top:6px;left:6px;min-width:26px}.tgr-episodes{font-size:10px;bottom:6px;right:5px}}

/* TG_RANKS_COMPACT_V11 */
/* 卡片左右宽度不变，缩短封面高度及上下内边距 */
html body main.tgr-page{padding-top:12px}
.tgr-page .tgr-crumbs{margin-bottom:20px;font-size:14px}
.tgr-page .tgr-heading{margin-bottom:18px;gap:12px}
.tgr-page .tgr-heading h1{font-size:30px}
.tgr-page .tgr-heading p{font-size:14px}
.tgr-page .tgr-icon{width:38px;height:38px;font-size:26px;border-radius:12px}
.tgr-page .tgr-tabs a{font-size:18px;padding-bottom:14px}
.tgr-page .tgr-note{margin:10px 0 14px}
.tgr-page .tgr-list{gap:14px}
.tgr-page .tgr-row{padding-top:14px;padding-bottom:14px}
.tgr-page .tgr-poster{aspect-ratio:15/16}
.tgr-page .tgr-info h2{font-size:20px;margin-bottom:8px}
.tgr-page .tgr-meta{font-size:14px;gap:8px 12px}
.tgr-page .tgr-description{font-size:14px;line-height:1.65;margin-top:9px;-webkit-line-clamp:4}
.tgr-page .tgr-number{font-size:18px}
.tgr-page .tgr-heat{gap:6px}
.tgr-page .tgr-heat strong{font-size:28px}
.tgr-page .tgr-heat strong:before{font-size:23px}
.tgr-page .tgr-heat span{font-size:14px}
@media(max-width:1000px){
 .tgr-page .tgr-info h2{font-size:18px}
 .tgr-page .tgr-heat strong{font-size:23px}
}
@media(max-width:600px){
 html body main.tgr-page{padding-top:10px}
 .tgr-page .tgr-crumbs{font-size:12px;margin-bottom:16px}
 .tgr-page .tgr-heading{margin-bottom:16px;gap:8px}
 .tgr-page .tgr-heading h1{font-size:25px}
 .tgr-page .tgr-heading p{font-size:12px}
 .tgr-page .tgr-tabs a{font-size:16px;padding-bottom:11px}
 .tgr-page .tgr-row{padding-top:9px;padding-bottom:9px;row-gap:8px}
 .tgr-page .tgr-info h2{font-size:16px;margin-bottom:5px}
 .tgr-page .tgr-meta{font-size:12px;gap:3px 8px}
 .tgr-page .tgr-description{font-size:12px;line-height:1.5;margin-top:5px;-webkit-line-clamp:2}
 .tgr-page .tgr-number{font-size:14px}
 .tgr-page .tgr-heat strong{font-size:18px}
 .tgr-page .tgr-heat strong:before{font-size:16px}
 .tgr-page .tgr-heat span{font-size:12px}
}
