.hot-language-switch,.hot-product-index{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:18px 0;font:10px 'DM Mono';color:#68736d}
.hot-language-switch a,.hot-product-index a{border:1px solid #cbd4cc;padding:7px 9px;color:#47554c;background:#f3f5f1}
.hot-language-switch a:hover,.hot-product-index a:hover{border-color:#1f6b4c;color:#1f6b4c}
.hot-product-index{border-top:1px solid #d7ddd7;border-bottom:1px solid #d7ddd7;padding:12px 0}
.hot-product-index span{color:#1f6b4c}
.hot-language-group{margin-top:24px}
.hot-language-group h4,.hot-language-group h2{font-size:14px;margin:0;color:#47554c}
.hot-card{grid-template-columns:1fr;min-height:0}
.hot-card-body{min-width:0}
.original-title{display:block;margin-top:6px;color:#68736d;font:10px 'DM Mono'}
.home-hot-product{border-top:1px solid #d7ddd7;margin-top:18px;padding-top:12px}
.home-hot-product-head{display:flex;gap:9px;align-items:center}
.home-hot-product-head h4{margin:0;font-size:14px}
.home-hot-product-head small{display:block;margin-top:4px;color:#68736d;font:9px 'DM Mono';line-height:1.5}
.home-hot-product>h3{font:11px 'DM Mono';color:#47554c;margin:13px 0 7px}
.home-hot-product .empty-inline{padding:12px}
.home-hot-product .home-hot-row{grid-template-columns:28px 1fr 100px}
.home-hot-product .home-hot-row small{grid-column:2/-1}
.home-hot-product .home-hot-row span{font:10px 'DM Mono';color:#68736d}
@media(max-width:800px){.hot-language-switch,.hot-product-index{gap:6px}.hot-language-switch a,.hot-product-index a{padding:6px 7px}.home-hot-product .home-hot-row{grid-template-columns:28px 1fr}.home-hot-product .home-hot-row span{display:block}.home-hot-product .home-hot-row small{grid-column:2}.hot-product-head{grid-template-columns:48px 1fr}.hot-product-head .text-link{grid-column:2}}

/* Icon system: the product identity controls size; the asset never stretches the row. */
.entity-icon{aspect-ratio:1/1;box-sizing:border-box;flex:0 0 var(--icon-size);align-self:center;border-radius:6px;background:#e4e9e5;color:#68736d}
.entity-icon img{aspect-ratio:1/1;object-fit:cover;border-radius:inherit}
.entity-icon[data-icon-state=pending]{border-style:dashed;border-color:#b9c4bb;background:#eef1ed;color:#68736d}
.entity-icon[data-icon-state=pending] .icon-fallback{opacity:.52}
.icon-state{font-size:7px;line-height:1.15;letter-spacing:-.02em}
.ranking-card-app .entity-icon{--icon-size:40px!important}
.table-row.app-table .entity-icon{--icon-size:28px!important}
.rank-row .entity-icon{--icon-size:28px!important}
.home-hot-row .entity-icon{--icon-size:28px!important}
.home-hot-product-head .entity-icon{--icon-size:32px!important}
.hot-product-head .entity-icon{--icon-size:32px!important}
.hot-card .entity-icon{--icon-size:28px!important}
.detail-head .poster .entity-icon,.page-head h1 .entity-icon,.product-identity .entity-icon{--icon-size:64px!important}
.candidate-row .entity-icon{--icon-size:32px!important}
.community-card .entity-icon{--icon-size:28px!important}
.hot-product-identity{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:center;min-width:0;color:inherit}
.hot-product-identity h3{margin:0;font-size:22px;letter-spacing:-.05em}
.hot-product-identity p,.hot-product-identity small{display:block;margin:5px 0 0;color:#68736d;font:10px 'DM Mono';line-height:1.5}
@media(max-width:800px){.ranking-card-app .entity-icon{--icon-size:36px!important}.home-hot-row .entity-icon{--icon-size:24px!important}.home-hot-product-head .entity-icon{--icon-size:28px!important}.hot-product-head .entity-icon{--icon-size:28px!important}.hot-card .entity-icon{--icon-size:24px!important}.detail-head .poster .entity-icon,.page-head h1 .entity-icon,.product-identity .entity-icon{--icon-size:56px!important}.hot-product-identity{grid-template-columns:28px minmax(0,1fr);gap:10px}.hot-product-identity h3{font-size:18px}.community-card .entity-icon{--icon-size:24px!important}}

/* Final icon and cover contract: one product icon in each product header; covers identify dramas. */
.hot-product-head{grid-template-columns:minmax(0,1fr) auto}
.hot-product-identity{min-height:44px;padding:6px 4px;min-width:0}
.hot-product-identity>div{min-width:0}
.hot-product-identity h3{overflow-wrap:anywhere}
.hot-product-head>.text-link{align-self:center;white-space:nowrap}
.drama-cover{display:inline-grid;place-items:center;width:72px;height:96px;aspect-ratio:3/4;flex:0 0 72px;overflow:hidden;border:1px solid #cbd4cc;border-radius:6px;background:#e4e9e5;color:#68736d;vertical-align:middle}
.drama-cover img{display:block;width:100%;height:100%;object-fit:cover}
.drama-cover .cover-fallback{font:10px 'DM Mono';line-height:1.35;text-align:center;color:#68736d}
.hot-card-body>.drama-cover{margin:0 0 12px}
.product-context{font:10px 'DM Mono';color:#68736d!important;margin:0!important;line-height:1.5}
.home-hot-product .home-hot-row{grid-template-columns:72px 1fr 100px}
.home-hot-product .home-hot-row .drama-cover{grid-row:1 / span 2}
.home-hot-product .home-hot-row strong{min-width:0}
.home-hot-product .home-hot-row small{grid-column:2/-1}
.hot-card h3{overflow-wrap:anywhere}
.audit-icon .entity-icon{--icon-size:20px!important}
@media(max-width:800px){
  .hot-product-head{grid-template-columns:minmax(0,1fr)}
  .hot-product-head>.text-link{grid-column:1;justify-self:start;margin-top:4px}
  .home-hot-product .home-hot-row{grid-template-columns:56px 1fr}
  .home-hot-product .home-hot-row .drama-cover{width:56px;height:74px;flex-basis:56px}
  .home-hot-product .home-hot-row small{grid-column:2}
  .drama-cover{width:64px;height:85px;flex-basis:64px}
}

/* Homepage hot picks stay inside the main container. */
.home-hot-section{max-width:1240px;margin:auto;padding:31px 28px 60px;min-width:0}
.home-hot-market,.home-hot-market>div,.home-hot-product{min-width:0}
.home-hot-product{overflow:hidden}
.home-hot-product .home-hot-row{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(0,160px);grid-template-rows:auto auto;gap:4px 12px;align-items:center;min-width:0;max-width:100%;padding:10px 0;border-bottom:1px solid #d7ddd7}
.home-hot-product .home-hot-row .drama-cover{grid-column:1;grid-row:1 / span 2;min-width:0;max-width:72px}
.home-hot-product .home-hot-row strong{grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-hot-product .home-hot-row span{grid-column:3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-hot-product .home-hot-row small{grid-column:2 / -1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:800px){.home-hot-section{padding-left:18px;padding-right:18px}.home-hot-product .home-hot-row{grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto auto auto;gap:4px 10px}.home-hot-product .home-hot-row .drama-cover{grid-column:1;grid-row:1 / span 3;width:56px;height:74px;flex-basis:56px}.home-hot-product .home-hot-row strong,.home-hot-product .home-hot-row span,.home-hot-product .home-hot-row small{grid-column:2;white-space:nowrap}}
/* The final stylesheet owns the mobile header so later page styles cannot squeeze the nav. */
@media(max-width:800px){.site-header .header-inner{height:auto;min-height:74px;flex-wrap:wrap;gap:10px;padding:12px 14px}.site-header .content-nav{order:3;flex:1 1 100%!important;width:100%!important;min-width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px;height:auto!important;overflow:visible!important;border-top:1px solid var(--line)}.site-header .content-nav .nav-link{height:36px;min-width:0;justify-items:start;place-items:center start;font-size:11px;white-space:nowrap}.site-header .header-tools{margin-left:auto;gap:0}.site-header .header-meta{display:none}.site-header .account-toggle{max-width:132px}}
/* /hot: editorial product sections, compact enough for mobile and calm at desktop. */
.hot-market-section{max-width:var(--max);margin:0 auto;padding:28px 28px 80px;min-width:0}
.hot-observation{margin:0 0 14px!important;color:var(--green)!important;font:11px 'DM Mono'!important;letter-spacing:.02em}
.hot-market-section>.section-kicker{margin-bottom:20px}
.hot-product{margin-top:22px;border:1px solid var(--line);background:#edf1ec;min-width:0;overflow:hidden}
.hot-product-head{display:block;border-bottom:1px solid var(--line);background:#f6f8f4}
.hot-product-identity{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:center;padding:18px 20px;min-width:0;color:inherit}
.hot-product-identity h3{margin:3px 0 0;font-size:22px;letter-spacing:-.05em;overflow-wrap:anywhere}
.hot-product-identity p{margin:5px 0 0;color:var(--muted);font:10px 'DM Mono'}
.hot-app-rank{color:var(--green);font:10px 'DM Mono';letter-spacing:.04em}
.hot-drama-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:0 20px}
.hot-drama-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;min-width:0;padding:15px 0;border-bottom:1px solid var(--line);color:inherit}
.hot-drama-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.hot-drama-copy strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.hot-drama-copy small{color:var(--muted);font:10px 'DM Mono'}
.hot-drama-row .drama-cover{width:48px;height:64px;flex-basis:48px}
.hot-product .empty-inline{margin:0 20px 20px}
@media(max-width:800px){.hot-market-section{padding:22px 18px 58px}.hot-drama-list{grid-template-columns:1fr;padding:0 14px}.hot-product-identity{padding:15px 14px;gap:10px}.hot-product-identity h3{font-size:18px}.hot-drama-row{padding:13px 0}.hot-drama-copy strong{font-size:14px}.hot-product .empty-inline{margin-left:14px;margin-right:14px}}

/* Hot picks are visual cards first; metadata stays to one quiet line. */
.hot-market-section>.hot-language-switch{margin:0 0 18px}
.hot-product{background:transparent;border:0;overflow:visible}
.hot-product-head{border:0;background:transparent}
.hot-product-identity{padding:8px 0 14px}
.hot-product-identity p{margin-top:3px}
.hot-drama-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;padding:0;align-items:start}
.hot-drama-card{position:relative;display:flex;flex-direction:column;min-width:0;align-self:start;color:inherit;background:#edf1ec;border:1px solid var(--line);overflow:hidden;transition:transform .18s ease,border-color .18s ease}
.hot-drama-card:hover{transform:translateY(-2px);border-color:var(--green)}
.hot-drama-card.has-cover .drama-cover{width:100%;height:auto;aspect-ratio:3/4;flex:0 0 auto;border:0;border-radius:0;background:transparent}
.hot-drama-card.has-cover .drama-cover img{width:100%;height:100%;object-fit:cover}
.hot-card-rank{position:absolute;z-index:1;top:8px;left:8px;display:grid;place-items:center;width:25px;height:22px;background:var(--green);color:#edf1ec;font:10px 'DM Mono'}
.hot-drama-copy{display:flex;flex-direction:column;gap:5px;min-width:0;padding:12px 12px 13px}
.hot-drama-copy strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.hot-drama-copy small{color:var(--muted);font:10px 'DM Mono';white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hot-drama-card.no-cover{min-height:92px}
.hot-drama-card.no-cover .hot-drama-copy{padding:30px 12px 13px}
.hot-drama-card.no-cover .hot-card-rank{background:transparent;color:var(--green);border:1px solid var(--green)}
@media(max-width:1100px){.hot-drama-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.hot-market-section{padding:18px 18px 52px}.hot-drama-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hot-product-identity{padding:5px 0 12px}.hot-drama-copy{padding:10px 10px 11px}.hot-drama-copy strong{font-size:13px}.hot-drama-card.no-cover .hot-drama-copy{padding:29px 10px 11px}.hot-card-rank{top:6px;left:6px}}
@media(max-width:420px){.hot-drama-list{grid-template-columns:1fr}.hot-drama-card.has-cover{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:stretch}.hot-drama-card.has-cover .drama-cover{grid-column:1;grid-row:1}.hot-drama-card.has-cover .hot-drama-copy{grid-column:2;align-self:center}.hot-drama-card.has-cover .hot-card-rank{top:6px;left:6px}}
.hot-product-identity.no-icon{display:block}
.hot-language-switch{flex-wrap:nowrap;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:3px;scrollbar-width:thin}
.hot-language-switch a{flex:0 0 auto;white-space:nowrap}
.hot-language-switch a.selected{border-color:var(--green);background:var(--green);color:#edf1ec}
.hot-language-switch a span{font-size:9px;opacity:.72}
.hot-product-index{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:thin}.hot-product-index a{flex:0 0 auto;white-space:nowrap}
.hot-drama-card.no-cover{min-height:0}.hot-drama-card.no-cover .hot-drama-copy{padding:12px}@media(max-width:800px){.hot-drama-card.no-cover .hot-drama-copy{padding:10px}}
.hot-market-section{min-width:0;max-width:100%;overflow-x:clip}
/* Stable composite: wrapped filters prevent page-level horizontal overflow. */
.hot-language-switch,.hot-product-index{max-width:100%;flex-wrap:wrap;overflow:visible;min-width:0}
.hot-language-switch a,.hot-product-index a{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.hot-product-index a{overflow:hidden;text-overflow:ellipsis}

/* APP detail pages reuse the hot-card language, but keep the section compact. */
.app-current-hot-section .app-history-head{align-items:flex-start}
.app-current-hot-section .app-history-head p{max-width:460px;margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.app-current-hot-section .app-hot-language-switch{margin:-2px 0 16px}
.app-current-hot-section .hot-product{margin-top:8px}
.app-current-hot-section .hot-drama-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.app-current-hot-section .hot-drama-card.no-cover .hot-drama-copy{padding:13px 12px}
@media(max-width:800px){.app-current-hot-section .app-history-head .text-link{display:inline-block;margin-top:14px}.app-current-hot-section .hot-drama-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:420px){.app-current-hot-section .hot-drama-list{grid-template-columns:1fr}}

/* Desktop density pass for the combined /hot page. Mobile rules above stay intact. */
@media(min-width:1100px){
  .page-head.compact,
  .hot-market-section{
    max-width:var(--max);
  }
  .page-head.compact{
    padding-top:44px;
    padding-bottom:26px;
  }
  .page-head.compact h1{
    max-width:900px;
    margin:10px 0 10px;
    font-size:clamp(46px,3.8vw,64px);
    line-height:1;
  }
  .page-head.compact .eyebrow{
    margin:0;
  }
  .hot-observation{
    margin:0!important;
  }
  .hot-market-section{
    padding:20px 28px 46px;
  }
  .hot-market-section+.hot-market-section{
    padding-top:24px;
  }
  .hot-market-heading h2{
    margin:0 0 10px;
    font-size:22px;
    line-height:1.15;
    letter-spacing:-.04em;
  }
  .hot-language-switch{
    flex-wrap:wrap;
    gap:6px;
    margin:0 0 12px;
    overflow:visible;
    padding-bottom:0;
  }
  .hot-language-switch a,
  .hot-product-index a{
    padding:5px 8px;
    line-height:1.15;
  }
  .hot-product-index{
    flex-wrap:wrap;
    gap:5px 6px;
    margin:8px 0 14px;
    overflow:visible;
    padding:8px 0;
  }
  .hot-product-index span{
    flex:0 0 auto;
    margin-right:4px;
  }
  .hot-product{
    margin-top:14px;
  }
  .hot-product+.hot-product{
    margin-top:18px;
  }
  .hot-product-identity{
    grid-template-columns:28px minmax(0,1fr);
    gap:10px;
    min-height:0;
    padding:2px 0 8px;
  }
  .hot-product-identity h3{
    margin-top:0;
    font-size:18px;
    line-height:1.15;
  }
  .hot-product-identity p{
    margin-top:2px;
    font-size:9px;
    line-height:1.35;
  }
  .hot-product-head .entity-icon,
  .hot-app-page-title .entity-icon{
    --icon-size:28px!important;
  }
  .hot-drama-list{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
  }
  .hot-drama-card{
    min-height:0;
  }
  .hot-drama-card.has-cover .drama-cover{
    height:clamp(150px,13vw,210px);
    aspect-ratio:auto;
  }
  .hot-drama-copy{
    gap:4px;
    padding:8px 9px 9px;
  }
  .hot-drama-copy strong{
    font-size:13px;
    line-height:1.22;
  }
  .hot-drama-copy small{
    font-size:9px;
  }
  .hot-drama-card.no-cover{
    min-height:70px;
  }
  .hot-drama-card.no-cover .hot-drama-copy{
    padding:9px;
  }
  .hot-app-page-title{
    margin-top:18px;
  }
  .hot-app-page .hot-language-switch{
    margin-top:16px;
  }
}

@media(min-width:1100px) and (max-width:1240px){
  .hot-drama-list{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

/* P0 container alignment: /hot roots use the same global container as the header. */
.page-head.compact,.hot-market-section,.hot-app-page,.hot-product-index,.hot-language-switch,.hot-product,.hot-drama-list{max-width:var(--max);margin-left:auto;margin-right:auto;min-width:0}
.hot-language-switch,.hot-product-index,.hot-drama-list{width:100%;overflow-x:visible}
.page-head.compact,.hot-market-section{width:auto;max-width:var(--max)}
.hot-market-section{padding-left:28px;padding-right:28px;overflow-x:visible}
.hot-product{max-width:100%;margin-left:0;margin-right:0}
.hot-drama-list{max-width:100%;margin-left:0;margin-right:0}
.hot-language-switch,.hot-product-index{flex-wrap:wrap;overflow:visible}
.hot-language-switch a,.hot-product-index a{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(min-width:1100px){.page-head.compact,.hot-market-section{max-width:var(--max)!important}.hot-market-section{padding-left:28px!important;padding-right:28px!important}}
@media(max-width:800px){.page-head.compact,.hot-market-section{padding-left:14px!important;padding-right:14px!important}.hot-drama-list{max-width:100%}}

.hot-drama-title-link{color:inherit;text-decoration:none}
.hot-drama-title-link:hover strong{color:var(--green)}
.drama-rating-head{padding-bottom:20px!important}
.drama-rating-head .text-link{display:inline-block;margin-bottom:16px}
.drama-rating-head h1{max-width:860px!important;margin:8px 0 10px!important;font-size:clamp(34px,4vw,54px)!important;line-height:1.02!important;letter-spacing:0!important;text-wrap:balance}
.drama-rating-head .hot-observation{max-width:680px!important;font-size:11px!important;line-height:1.55!important}
.drama-rating-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:24px;align-items:end}
.drama-rating-product{display:inline-block;margin-bottom:8px;color:var(--green);font:10px 'DM Mono';letter-spacing:.03em;text-decoration:none}
.drama-rating-product:hover{text-decoration:underline;text-underline-offset:3px}
.drama-rating-hero-score{justify-self:end;min-width:156px;border-left:1px solid var(--line);padding-left:18px}
.drama-rating-hero-score small,.drama-rating-hero-score span{display:block;color:var(--muted);font:10px 'DM Mono';line-height:1.4}
.drama-rating-hero-score strong{display:block;margin:6px 0 4px;color:var(--green);font-size:48px;line-height:.95;letter-spacing:0;font-variant-numeric:tabular-nums}
.drama-rating-shell{max-width:var(--max);margin:0 auto 60px;padding:0 28px;display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:22px;align-items:start}
.drama-rating-main,.drama-rating-context{border:1px solid var(--line);background:#edf1ec;padding:18px;min-width:0}
.drama-rating-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:-18px -18px 18px;background:var(--line);border-bottom:1px solid var(--line)}
.drama-rating-facts>div{background:#f6f8f4;padding:13px 14px;min-width:0}
.drama-rating-facts span{display:block;margin-bottom:6px;color:var(--muted);font:9px 'DM Mono';text-transform:uppercase;line-height:1.25}
.drama-rating-facts strong{display:block;font-size:15px;line-height:1.2;overflow-wrap:anywhere}
.drama-rating-facts a{color:inherit;text-decoration:none}
.drama-rating-facts a:hover strong{color:var(--green)}
.drama-tracking-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.6fr);gap:16px;margin:0 0 18px;padding:14px;border:1px solid var(--line);background:#f6f8f4;align-items:start}
.drama-tracking-panel h2{margin:0 0 5px;font-size:17px;line-height:1.15;letter-spacing:0}
.drama-tracking-panel p{margin:0;color:var(--muted);font-size:12px;line-height:1.55;max-width:62ch}
.drama-tracking-panel dl{display:grid;grid-template-columns:1fr;gap:0;margin:0;border-top:1px solid var(--line)}
.drama-tracking-panel dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:7px 0}
.drama-tracking-panel dt{color:var(--muted);font:9px 'DM Mono';text-transform:uppercase;line-height:1.25}
.drama-tracking-panel dd{margin:0;color:var(--green);font:13px 'DM Mono';line-height:1.2;font-variant-numeric:tabular-nums;text-align:right}
.drama-tracking-panel h3{grid-column:1/-1;margin:0;color:var(--muted);font:9px 'DM Mono';text-transform:uppercase;letter-spacing:.03em}
.tracking-month-list{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.tracking-month-list li{border:1px solid var(--line);background:#edf1ec;padding:6px 7px;min-width:96px}
.tracking-month-list strong{display:block;font:10px 'DM Mono';color:var(--green)}
.tracking-month-list span{display:block;margin-top:3px;color:var(--muted);font:9px 'DM Mono'}
.drama-rating-form{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0 0 12px;padding:22px;border:1px solid #cdd8ce;background:linear-gradient(135deg,#f8faf6 0%,#edf3ea 100%)}
.drama-rating-form:before{content:"";position:absolute;inset:10px auto 10px 10px;width:3px;background:var(--green)}
.drama-rating-form h2{margin:0 0 7px;padding-left:10px;font-size:25px;line-height:1.08;letter-spacing:0;text-wrap:balance}
.drama-rating-form p{max-width:54ch;margin:0;padding-left:10px;color:var(--muted);font-size:13px;line-height:1.55}
.rating-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;grid-column:1/-1;border:1px solid var(--green);background:var(--green)}
.rating-button{position:relative;width:100%;height:58px;border:0;background:#f8faf6;color:var(--green);font:10px 'DM Mono';cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;transition:background .18s ease,color .18s ease,transform .18s ease}
.rating-button b{font-size:21px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.rating-button span{font-size:9px;color:inherit}
.rating-button:hover,.rating-button:focus-visible{background:#e2eadf;color:var(--ink)}
.rating-button:active{transform:translateY(1px)}
.rating-button.selected{background:var(--green);color:#edf1ec;box-shadow:inset 0 0 0 3px #d9efbd}
.rating-button.selected:after{content:"saved";position:absolute;right:7px;top:6px;color:#d9efbd;font:8px 'DM Mono';letter-spacing:.04em;text-transform:uppercase}
.rating-saved{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:12px 0 0;padding:8px 10px;border:1px solid #cdd8ce;background:#f8faf6;color:var(--green);font:12px 'DM Mono'}
.rating-saved:before{content:"";width:7px;height:7px;background:var(--green)}
.rating-bars{margin:24px 0 0;padding:18px 20px 20px;border:1px solid var(--line);background:#f8faf6}
.rating-bars h2,.drama-rating-context h2{font-size:16px;margin:0 0 14px;letter-spacing:0}
.rating-bar-row{display:grid;grid-template-columns:32px minmax(120px,520px) 42px;gap:12px;align-items:center;margin:10px 0;color:var(--muted);font:10px 'DM Mono'}
.rating-bar-row span{font-size:12px;color:var(--ink)}
.rating-bar-row b{height:12px;background:linear-gradient(90deg,var(--green) var(--rating-width),#d7ddd7 var(--rating-width));border-radius:0;box-shadow:inset 0 0 0 1px rgba(23,33,29,.04)}
.rating-bar-row em{font-style:normal;text-align:right;color:var(--ink);font-size:12px;font-variant-numeric:tabular-nums}
.drama-rating-context dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}
.drama-rating-context dt{color:var(--muted);font:9px 'DM Mono';text-transform:uppercase;line-height:1.25}
.drama-rating-context dd{margin:3px 0 0;font-size:18px;color:var(--ink);line-height:1.08}
.drama-rating-context ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.drama-rating-context li{border-top:1px solid var(--line);padding-top:9px}
.drama-rating-context li a{display:block;color:inherit;text-decoration:none}
.drama-rating-context li a:hover strong{color:var(--green)}
.drama-rating-context li strong{display:block;font-size:13px;line-height:1.3}
.drama-rating-context li span{display:block;margin-top:5px;color:var(--muted);font:10px 'DM Mono';line-height:1.5}
.drama-recommendations{margin:22px 0 20px}
.drama-recommendations h2{margin:0 0 12px;font-size:18px;line-height:1.15;letter-spacing:0}
.drama-recommendations>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.drama-recommendation-card{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid var(--line);background:#f6f8f4;color:inherit;text-decoration:none}
.drama-recommendation-card:hover{border-color:var(--green)}
.drama-recommendation-card strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.drama-recommendation-card span,.drama-recommendation-card em{color:var(--muted);font:10px 'DM Mono';line-height:1.45;font-style:normal}
@media(max-width:900px){.drama-rating-head h1{font-size:clamp(30px,9vw,44px)!important}.drama-rating-hero-grid{grid-template-columns:1fr}.drama-rating-hero-score{justify-self:stretch;min-width:0;border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.drama-rating-hero-score strong{font-size:44px}.drama-rating-shell{grid-template-columns:1fr;padding:0 14px 52px}.drama-rating-main,.drama-rating-context{padding:16px}.drama-rating-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin:-16px -16px 16px}.drama-tracking-panel{grid-template-columns:1fr;padding:14px}.drama-rating-form{grid-template-columns:1fr}.rating-button{width:48px;height:44px}}
@media(max-width:620px){.drama-recommendations>div{grid-template-columns:1fr}}
@media(max-width:520px){.drama-rating-facts{grid-template-columns:1fr}.rating-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.rating-button{width:auto}.drama-tracking-panel dl,.drama-rating-context dl{grid-template-columns:1fr 1fr}}

/* Mobile compact: keep drama rating detail pages readable without excessive height. */
@media(max-width:620px){
  .drama-rating-head{
    padding-top:32px!important;
    padding-bottom:14px!important;
  }
  .drama-rating-head .text-link{
    margin-bottom:10px!important;
    font-size:11px!important;
  }
  .drama-rating-head h1{
    max-width:100%!important;
    margin:6px 0 8px!important;
    font-size:clamp(24px,7.2vw,32px)!important;
    line-height:1.08!important;
  }
  .drama-rating-head .hot-observation{
    font-size:11px!important;
    line-height:1.45!important;
  }
  .drama-rating-product{
    margin-bottom:6px!important;
    font-size:9px!important;
  }
  .drama-rating-hero-score{
    padding-top:10px!important;
  }
  .drama-rating-hero-score strong{
    font-size:34px!important;
  }
  .drama-rating-shell{
    gap:14px!important;
    padding:0 14px 42px!important;
  }
  .drama-rating-main,
  .drama-rating-context{
    padding:12px!important;
  }
  .drama-rating-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin:-12px -12px 12px!important;
  }
  .drama-rating-facts>div{
    padding:9px 10px!important;
  }
  .drama-rating-facts span,
  .drama-rating-context dt,
  .drama-tracking-panel dt{
    font-size:8px!important;
  }
  .drama-rating-facts strong{
    font-size:12px!important;
    line-height:1.22!important;
  }
  .drama-rating-form{
    gap:12px!important;
    padding:16px!important;
  }
  .drama-rating-form h2{
    margin-bottom:5px!important;
    font-size:19px!important;
    line-height:1.12!important;
  }
  .drama-rating-form p{
    font-size:12px!important;
    line-height:1.45!important;
  }
  .rating-button{
    height:42px!important;
  }
  .rating-button b{
    font-size:17px!important;
  }
  .rating-button span{
    font-size:8px!important;
  }
  .rating-button.selected:after{
    display:none!important;
  }
  .rating-saved{
    margin-top:10px!important;
    padding:7px 9px!important;
    font-size:11px!important;
  }
  .rating-bars{
    margin-top:16px!important;
    padding:14px!important;
  }
  .rating-bars h2,
  .drama-rating-context h2,
  .drama-recommendations h2,
  .drama-tracking-panel h2{
    font-size:15px!important;
  }
  .rating-bar-row{
    grid-template-columns:24px minmax(0,1fr) 30px!important;
    gap:8px!important;
    margin:8px 0!important;
  }
  .rating-bar-row span,
  .rating-bar-row em{
    font-size:10px!important;
  }
  .drama-recommendations{
    margin:18px 0 16px!important;
  }
  .drama-recommendation-card{
    padding:10px!important;
  }
  .drama-recommendation-card strong{
    font-size:12px!important;
    line-height:1.28!important;
  }
  .drama-recommendation-card span,
  .drama-recommendation-card em,
  .drama-tracking-panel p,
  .tracking-month-list span,
  .drama-rating-context li span{
    font-size:9px!important;
  }
  .drama-tracking-panel{
    gap:12px!important;
    padding:12px!important;
  }
  .drama-tracking-panel dd,
  .drama-rating-context dd{
    font-size:13px!important;
  }
}
.drama-index-shell{max-width:var(--max);margin:0 auto 72px;padding:0 28px;display:grid;gap:0}
.drama-index-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr) minmax(150px,.35fr);gap:18px;align-items:center;padding:15px 0;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.drama-index-row:hover strong{color:var(--green)}
.drama-index-row strong{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.drama-index-row span,.drama-index-row em{color:var(--muted);font:10px 'DM Mono';line-height:1.5;font-style:normal}
.drama-index-row em{text-align:right}
.drama-index-pager{display:flex;justify-content:center;align-items:center;gap:18px;border-top:1px solid var(--line);padding-top:22px;margin-top:10px;color:var(--muted);font:11px 'DM Mono'}
@media(max-width:800px){.drama-index-shell{padding:0 14px 56px}.drama-index-row{grid-template-columns:1fr;gap:5px;padding:13px 0}.drama-index-row em{text-align:left}}

/* P0 final homepage/ranking alignment: 20260812-ui-a2 */
.hero{
  min-height:0!important;
  padding-top:clamp(42px,6vw,72px)!important;
  padding-bottom:clamp(36px,5vw,64px)!important;
}
.hero h1{
  max-width:1180px!important;
  margin-bottom:0!important;
  font-size:clamp(46px,7.2vw,104px)!important;
  line-height:.98!important;
}
.hero .eyebrow{margin-bottom:22px!important}
.market-entry-grid{margin-top:0!important}
.market-entry-grid>a{min-height:clamp(168px,17vw,240px)!important;padding-top:clamp(34px,4vw,56px)!important;padding-bottom:clamp(24px,3vw,40px)!important}
.ranking-page-head{
  display:grid!important;
  grid-template-columns:minmax(280px,420px) minmax(0,1fr)!important;
  column-gap:clamp(56px,8vw,132px)!important;
  row-gap:20px!important;
  align-items:start!important;
  padding-top:clamp(36px,5vw,64px)!important;
  padding-bottom:30px!important;
}
.ranking-page-head .eyebrow{grid-column:1/-1!important;margin-bottom:4px!important}
.ranking-page-head h1{
  display:contents!important;
  font-size:clamp(56px,5.8vw,92px)!important;
  line-height:.96!important;
  letter-spacing:0!important;
}
.ranking-page-head h1 .market-title{display:block!important;max-width:420px!important;color:var(--ink)!important}
.ranking-page-head h1 em{display:block!important;align-self:start!important;color:var(--green)!important;font-style:normal!important;white-space:normal!important;max-width:760px!important}
.ranking-page-submeta{grid-column:1/-1!important;margin-top:16px!important;display:flex!important;flex-wrap:wrap!important;gap:10px 28px!important;align-items:center!important;line-height:1.35!important}
.ranking-table-header,.ranking-row{
  display:grid!important;
  grid-template-columns:72px 72px minmax(420px,1.35fr) minmax(104px,.42fr) minmax(104px,.42fr) minmax(150px,.56fr) minmax(150px,.56fr) minmax(104px,.4fr)!important;
  align-items:center!important;
  column-gap:18px!important;
}
.ranking-table-header>span,.ranking-row>span{min-width:0!important}
.ranking-table-header>span:nth-child(n+4),.ranking-row>span:nth-child(n+4){text-align:right!important;justify-self:stretch!important}
.ranking-row .rank-app{align-self:center!important;min-width:0!important}
.rank-app{display:flex!important;align-items:center!important;gap:18px!important;min-width:0!important}
.rank-app .app-copy{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important}
.rank-app .app-copy strong{line-height:1.15!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
.rank-app .app-copy small{line-height:1.25!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
.ranking-row{min-height:112px!important;padding-top:20px!important;padding-bottom:20px!important}
.ranking-row .rank-num{align-self:center!important}
@media(max-width:980px){
  .hero{padding-top:34px!important;padding-bottom:32px!important}
  .hero h1{font-size:clamp(38px,11vw,62px)!important}
  .ranking-page-head{display:block!important;padding-top:34px!important;padding-bottom:24px!important}
  .ranking-page-head h1{display:block!important;font-size:clamp(44px,13vw,70px)!important;line-height:.98!important}
  .ranking-page-head h1 .market-title,.ranking-page-head h1 em{display:inline!important;max-width:none!important}
  .ranking-page-submeta{display:flex!important;margin-top:18px!important;gap:8px 18px!important}
  .ranking-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .ranking-table-header,.ranking-row{min-width:1060px!important;grid-template-columns:58px 58px minmax(360px,1.2fr) 92px 96px 130px 130px 96px!important;column-gap:14px!important}
}

/* P0 final real ranking DOM alignment: 20260812-ui-a3 */
.ranking-page-head h1{display:contents!important}
.ranking-page-head h1 .market-title{
  display:block!important;
  max-width:420px!important;
  font-size:clamp(56px,5.8vw,92px)!important;
  line-height:.96!important;
  color:var(--ink)!important;
}
.ranking-page-head h1 em{
  display:block!important;
  max-width:760px!important;
  font-size:clamp(56px,5.8vw,92px)!important;
  line-height:.96!important;
  color:var(--green)!important;
}
.ranking-page-head .page-head-meta{
  grid-column:1/-1!important;
  margin-top:16px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px 28px!important;
  align-items:center!important;
  line-height:1.35!important;
}
.table-head.app-table,
.table-row.app-table{
  display:grid!important;
  grid-template-columns:72px 72px minmax(420px,1.35fr) minmax(104px,.42fr) minmax(104px,.42fr) minmax(150px,.56fr) minmax(150px,.56fr) minmax(104px,.4fr)!important;
  align-items:center!important;
  column-gap:18px!important;
}
.table-head.app-table>*,
.table-row.app-table>*{min-width:0!important}
.table-head.app-table>*:nth-child(n+4),
.table-row.app-table>*:nth-child(n+4){
  text-align:right!important;
  justify-self:stretch!important;
}
.table-row.app-table{
  min-height:112px!important;
  padding-top:20px!important;
  padding-bottom:20px!important;
}
.table-row.app-table .entity-icon,
.table-row.app-table .rank-number{align-self:center!important}
.table-row.app-table .table-title{
  align-self:center!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
}
.table-row.app-table .table-title b,
.table-row.app-table .table-title small{
  margin:0!important;
  line-height:1.2!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:980px){
  .ranking-page-head h1{display:block!important}
  .ranking-page-head h1 .market-title,
  .ranking-page-head h1 em{
    display:inline!important;
    max-width:none!important;
    font-size:clamp(44px,13vw,70px)!important;
  }
  .table-head.app-table,
  .table-row.app-table{
    min-width:1060px!important;
    grid-template-columns:58px 58px minmax(360px,1.2fr) 92px 96px 130px 130px 96px!important;
    column-gap:14px!important;
  }
}

/* P0 table child reset: 20260812-ui-a4 */
.ranking-page-table .table-head.app-table>*,
.ranking-page-table .table-row.app-table>*{
  grid-column:auto!important;
  grid-row:auto!important;
  min-width:0!important;
  justify-self:stretch!important;
}
.ranking-page-table .table-head.app-table>span:nth-child(2){
  grid-column:auto!important;
}
.ranking-page-table .table-head.app-table>*:nth-child(1),
.ranking-page-table .table-row.app-table>*:nth-child(1),
.ranking-page-table .table-head.app-table>*:nth-child(2),
.ranking-page-table .table-row.app-table>*:nth-child(2){
  text-align:left!important;
  justify-self:start!important;
}
.ranking-page-table .table-head.app-table>*:nth-child(3),
.ranking-page-table .table-row.app-table>*:nth-child(3){
  text-align:left!important;
}
.ranking-page-table .table-head.app-table>*:nth-child(n+4),
.ranking-page-table .table-row.app-table>*:nth-child(n+4){
  text-align:right!important;
}

/* P0 mobile ranking title spacing: 20260812-ui-a5 */
@media(max-width:980px){
  .ranking-page-head h1 .market-title::after{
    content:" ";
  }
}

/* P0 ranking trend column alignment: 20260812-ui-a6 */
.ranking-page-table .table-head.app-table>*:nth-child(8){
  text-align:right!important;
  justify-self:stretch!important;
}
.ranking-page-table .table-row.app-table>.trend{
  justify-self:stretch!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  text-align:right!important;
}
.ranking-page-table .table-row.app-table>.trend b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:800px){
  .ranking-page-table .table-row.app-table>.trend{
    justify-self:end!important;
    width:auto!important;
  }
}

/* P0 ranking trend grid reset: 20260812-ui-a7 */
.ranking-page-table .table-row.app-table>.trend{
  grid-column:auto!important;
  grid-row:auto!important;
  align-self:center!important;
  justify-self:stretch!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  margin:0!important;
}
.ranking-page-table .table-row.app-table>.trend b{
  margin-left:auto!important;
}
@media(max-width:800px){
  .ranking-page-table .table-row.app-table>.trend{
    grid-column:4!important;
    grid-row:2!important;
    justify-self:end!important;
    width:auto!important;
  }
}

/* P0 tablet ranking table normalization: 20260812-ui-a8 */
@media(min-width:801px) and (max-width:980px){
  .ranking-page-table{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .ranking-page-table .table-head.app-table,
  .ranking-page-table .table-row.app-table{
    display:grid!important;
    min-width:1060px!important;
    width:1060px!important;
    grid-template-columns:58px 58px 360px 92px 96px 130px 130px 96px!important;
    column-gap:14px!important;
    align-items:center!important;
  }
  .ranking-page-table .table-row.app-table{
    min-height:104px!important;
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  .ranking-page-table .table-head.app-table>*,
  .ranking-page-table .table-row.app-table>*{
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:center!important;
    min-width:0!important;
  }
  .ranking-page-table .table-row.app-table>.trend{
    display:flex!important;
    justify-content:flex-end!important;
    justify-self:stretch!important;
    width:100%!important;
  }
}

/* P0 ranking trend vertical alignment: 20260812-ui-a9 */
.ranking-page-table .table-row.app-table>*{
  padding-top:0!important;
  padding-bottom:0!important;
}
.ranking-page-table .table-row.app-table>.trend{
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:28px!important;
  line-height:1!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.ranking-page-table .table-row.app-table>.trend b{
  line-height:1!important;
}
.ranking-page-table .table-row.app-table>strong,
.ranking-page-table .table-row.app-table>.app-secondary{
  align-self:center!important;
  line-height:1.2!important;
}

/* P0 ranking density: 20260812-ui-a10 */
.ranking-page-table .ranking-filters{
  padding-top:12px!important;
  padding-bottom:18px!important;
}
.ranking-page-table .table-head.app-table{
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.ranking-page-table .table-row.app-table{
  min-height:72px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.ranking-page-table .table-row.app-table>.entity-icon{
  --icon-size:30px!important;
}
.ranking-page-table .table-row.app-table>.rank-number{
  font-size:13px!important;
}
.ranking-page-table .table-row.app-table>.table-title{
  gap:3px!important;
}
.ranking-page-table .table-row.app-table>.table-title b{
  font-size:16px!important;
  line-height:1.08!important;
}
.ranking-page-table .table-row.app-table>.table-title small{
  font-size:12px!important;
  line-height:1.22!important;
}
.ranking-page-table .table-row.app-table>strong,
.ranking-page-table .table-row.app-table>.app-secondary{
  font-size:13px!important;
}
.ranking-page-table .table-row.app-table>.trend b{
  min-height:24px!important;
  padding-top:3px!important;
  padding-bottom:3px!important;
}
@media(min-width:801px) and (max-width:980px){
  .ranking-page-table .table-row.app-table{
    min-height:78px!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
}
@media(max-width:800px){
  .ranking-page-table .table-row.app-table{
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
}

/* P0 ranking headline copy and scale: 20260812-ui-a11 */
.ranking-page-head h1{
  display:block!important;
  max-width:980px!important;
  margin:16px 0 24px!important;
  font-size:clamp(46px,5vw,72px)!important;
  line-height:1.04!important;
  letter-spacing:0!important;
}
.ranking-page-head h1 .market-title,
.ranking-page-head h1 em{
  display:inline!important;
  white-space:normal!important;
}
html:lang(en) .ranking-page-head h1{
  max-width:760px!important;
  font-size:clamp(38px,4vw,58px)!important;
  line-height:1.08!important;
}
.ranking-page-head .page-head-meta{
  gap:18px!important;
}
@media(max-width:900px){
  .ranking-page-head h1,
  html:lang(en) .ranking-page-head h1{
    font-size:clamp(34px,10vw,52px)!important;
    margin-bottom:18px!important;
  }
}

/* P0 ranking headline density: 20260812-ui-a12 */
.ranking-page-head{
  padding-top:36px!important;
  padding-bottom:24px!important;
}

/* P0 ranking headline wording: 20260812-ui-a13 */
html:lang(en) .ranking-page-head h1{
  font-size:clamp(32px,3vw,42px)!important;
}
html:lang(en) .ranking-page-head h1{
  max-width:none!important;
  width:max-content!important;
  font-size:clamp(34px,3.25vw,46px)!important;
  line-height:1.03!important;
  white-space:nowrap!important;
  margin-top:14px!important;
  margin-bottom:18px!important;
}
html:lang(en) .ranking-page-head .eyebrow{
  white-space:nowrap!important;
}
@media(max-width:900px){
  .ranking-page-head{
    padding-top:28px!important;
    padding-bottom:20px!important;
  }
  html:lang(en) .ranking-page-head h1{
    width:auto!important;
    max-width:100%!important;
    white-space:normal!important;
    font-size:clamp(32px,8.5vw,44px)!important;
  }
}

/* P0 ranking Chinese title structure + 7-day hot polish: 20260812-ui-a15 */
html:lang(zh-CN) .ranking-page-head h1{
  max-width:720px!important;
  margin-top:14px!important;
  margin-bottom:18px!important;
  font-size:clamp(52px,5.4vw,76px)!important;
  line-height:.98!important;
}
html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-main,
html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-sub{
  display:block!important;
  white-space:nowrap!important;
}
.hot-observation{
  max-width:760px!important;
  margin-top:12px!important;
  color:var(--muted)!important;
}
.hot-drama-copy small{
  line-height:1.35!important;
}
@media(max-width:900px){
  html:lang(zh-CN) .ranking-page-head h1{
    max-width:100%!important;
    font-size:clamp(40px,11vw,58px)!important;
  }
  html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-main,
  html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-sub{
    white-space:normal!important;
  }
}

/* P0 ranking title one-line parity: 20260812-ui-a16 */
.ranking-page-head h1,
html:lang(zh-CN) .ranking-page-head h1,
html:lang(en) .ranking-page-head h1{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin-top:12px!important;
  margin-bottom:16px!important;
  font-size:clamp(34px,3.2vw,46px)!important;
  line-height:1.04!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-main,
html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-sub{
  display:inline!important;
  white-space:inherit!important;
}
@media(max-width:900px){
  .ranking-page-head h1,
  html:lang(zh-CN) .ranking-page-head h1,
  html:lang(en) .ranking-page-head h1{
    width:auto!important;
    max-width:100%!important;
    font-size:clamp(30px,7.8vw,42px)!important;
    white-space:normal!important;
  }
}

/* Ranking header stability: prevent title/description overlap at 1280px. */
.ranking-page-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,420px)!important;
  column-gap:clamp(32px,5vw,72px)!important;
  row-gap:16px!important;
  align-items:end!important;
}
.ranking-page-head .eyebrow,
.ranking-page-head .page-head-meta{
  grid-column:1 / -1!important;
}
.ranking-page-head h1,
html:lang(zh-CN) .ranking-page-head h1,
html:lang(en) .ranking-page-head h1{
  grid-column:1!important;
  width:auto!important;
  max-width:100%!important;
  white-space:normal!important;
  margin:12px 0 10px!important;
  font-size:clamp(34px,3.05vw,42px)!important;
  line-height:1.06!important;
}
.ranking-page-head .page-head-lede{
  grid-column:2!important;
  align-self:center!important;
  max-width:420px!important;
  margin:10px 0!important;
  font-size:14px!important;
  line-height:1.55!important;
}
html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-main,
html:lang(zh-CN) .ranking-page-head h1 .zh-rank-title-sub{
  display:inline!important;
  white-space:normal!important;
}
@media(max-width:900px){
  .ranking-page-head{
    display:block!important;
  }
  .ranking-page-head .page-head-lede{
    max-width:640px!important;
    margin:12px 0 18px!important;
  }
}

/* Mobile restore: app ranking cards keep every data field visible and aligned. */
@media(max-width:720px){
  .ranking-page-table{overflow:visible!important}
  .ranking-page-table .table-head.app-table{display:none!important}
  .ranking-page-table .table-body{display:grid!important;gap:12px!important}
  .ranking-page-table .table-row.app-table{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:8px 10px!important;width:100%!important;min-width:0!important;min-height:0!important;padding:12px!important;border:1px solid var(--line)!important;background:#f8faf7!important;overflow:hidden!important}
  .ranking-page-table .table-row.app-table>*{min-width:0!important;grid-row:auto!important;grid-column:auto!important}
  .ranking-page-table .table-row.app-table>.rank-number{order:1!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:auto!important;padding:3px 0 0!important;background:transparent!important;color:var(--green)!important;font:700 15px/1 'DM Mono',monospace!important;text-align:left!important;display:block!important}
  .ranking-page-table .table-row.app-table>.entity-icon{order:2!important;flex:0 0 42px!important;--icon-size:38px!important;width:38px!important;height:38px!important;margin:0!important}
  .ranking-page-table .table-row.app-table>.table-title{order:3!important;flex:1 1 calc(100% - 166px)!important;display:flex!important;flex-direction:column!important;gap:3px!important;padding:0!important;overflow:hidden!important}
  .ranking-page-table .table-row.app-table>.table-title b{display:block!important;max-width:100%!important;margin:0!important;font-size:16px!important;line-height:1.12!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html:lang(en) .ranking-page-table .table-row.app-table>.table-title b{font-size:15px!important}
  .ranking-page-table .table-row.app-table>.table-title small{display:block!important;max-width:100%!important;margin:0!important;color:var(--muted)!important;font:12px/1.25 system-ui,sans-serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ranking-page-table .table-row.app-table>strong:nth-of-type(1){order:4!important;flex:0 0 64px!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:2px!important;padding:0!important;font:700 18px/1.08 'DM Mono',monospace!important;text-align:right!important}
  .ranking-page-table .table-row.app-table>strong:nth-of-type(1)::before{content:"Score";color:var(--muted);font:10px/1 system-ui,sans-serif}
  html:lang(zh-CN) .ranking-page-table .table-row.app-table>strong:nth-of-type(1)::before{content:"分数"}
  .ranking-page-table .table-row.app-table>strong:nth-of-type(2),.ranking-page-table .table-row.app-table>*:nth-child(6),.ranking-page-table .table-row.app-table>*:nth-child(7),.ranking-page-table .table-row.app-table>.trend{flex:1 1 0!important;width:auto!important;max-width:none!important;align-self:stretch!important;box-sizing:border-box!important;min-width:0!important;min-height:44px!important;display:block!important;padding:7px 6px!important;border:1px solid #dbe3dc!important;background:#eef3ea!important;color:var(--ink)!important;font:700 12px/1.18 system-ui,sans-serif!important;text-align:right!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ranking-page-table .table-row.app-table>strong:nth-of-type(2){order:5!important}
  .ranking-page-table .table-row.app-table>*:nth-child(6){order:6!important}
  .ranking-page-table .table-row.app-table>*:nth-child(7){order:7!important}
  .ranking-page-table .table-row.app-table>.trend{order:8!important}
  .ranking-page-table .table-row.app-table>strong:nth-of-type(2)::before{content:"Markets";display:block;margin-bottom:2px;color:var(--muted);font:9px/1 'DM Mono',monospace}
  html:lang(zh-CN) .ranking-page-table .table-row.app-table>strong:nth-of-type(2)::before{content:"市场"}
  .ranking-page-table .table-row.app-table>*:nth-child(6)::before{content:"Gross";display:block;margin-bottom:2px;color:var(--muted);font:9px/1 'DM Mono',monospace}
  html:lang(zh-CN) .ranking-page-table .table-row.app-table>*:nth-child(6)::before{content:"畅销"}
  .ranking-page-table .table-row.app-table>*:nth-child(7)::before{content:"Free";display:block;margin-bottom:2px;color:var(--muted);font:9px/1 'DM Mono',monospace}
  html:lang(zh-CN) .ranking-page-table .table-row.app-table>*:nth-child(7)::before{content:"免费"}
  .ranking-page-table .table-row.app-table>.trend b{display:block!important;min-width:0!important;max-width:100%!important;padding:0!important;background:transparent!important;color:inherit!important;font:700 12px/1.2 system-ui,sans-serif!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ranking-page-table .table-row.app-table>.trend::before{content:"Trend";display:block;margin-bottom:2px;color:var(--muted);font:9px/1 'DM Mono',monospace}
  html:lang(zh-CN) .ranking-page-table .table-row.app-table>.trend::before{content:"趋势"}
}

/* Mobile restore: final header override after shared page CSS. */
@media(max-width:720px){
  .site-header nav.content-nav,
  .site-header .content-nav{
    order:3!important;
    flex:1 1 100%!important;
    width:100%!important;
    min-width:100%!important;
    display:flex!important;
    grid-template-columns:none!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:18px!important;
    height:auto!important;
    min-height:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding-top:7px!important;
    padding-bottom:0!important;
    border-top:1px solid var(--line)!important;
    scrollbar-width:none!important;
  }
  .site-header nav.content-nav::-webkit-scrollbar,
  .site-header .content-nav::-webkit-scrollbar{
    display:none!important;
  }
  .site-header nav.content-nav .nav-link,
  .site-header .content-nav .nav-link{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:auto!important;
    height:28px!important;
    min-height:28px!important;
    display:grid!important;
    place-items:center!important;
    justify-items:center!important;
    padding:0!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
  html:lang(en) .site-header nav.content-nav .nav-link,
  html:lang(en) .site-header .content-nav .nav-link{
    font-size:10px!important;
  }
}
