/* Mobile recommendation redesign. Desktop and non-catalogue surfaces retain their rules. */
@media(max-width:1023px){
 html:has(.shorts-page){--page-width:100%}
 body:has(.shorts-page){padding:0}
 #app:has(.shorts-page){width:100%;max-width:none;height:100dvh;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none}
 .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 .short-retry{position:absolute;z-index:14;left:50%;transform:translateX(-50%);top:calc(72px + env(safe-area-inset-top));min-height:44px;padding:8px 20px;border-radius:8px;background:#24242b;color:#fff;border:1px solid #ffffff50}.short-retry[hidden]{display:none}
 .mobile-catalog{background-image:none;--mc-card:#fff;--mc-surface:#f3f4f5;--mc-bg:#f7f8fa;--mc-text:#191b20;--mc-muted:#61656e;--mc-accent:#c32d51;--mc-line:#e8e9ed;--mc-header:#fff;--mc-selection-bg:#fce9ee;--mc-selection-text:#a52040;--mc-tint:#fce9ee;background-color:var(--mc-bg)}
 html:not([data-mobile-theme="light"]) .mobile-catalog{--mc-bg:#151619;--mc-card:#202126;--mc-surface:#292b31;--mc-text:#f6f6f7;--mc-muted:#b9bcc6;--mc-line:#36383f;--mc-header:#191a1e;--mc-accent:#ff91af;--mc-selection-text:#ffadc3;--mc-selection-bg:#432631;--mc-tint:#432631}
 .mobile-catalog .mc-header{padding-left:16px;padding-right:16px;border:0;box-shadow:0 1px 0 var(--mc-line);background:var(--mc-header)}
 .mobile-catalog .mc-toolbar{gap:12px;min-height:56px}
 .mobile-catalog .mc-wordmark{background:none;-webkit-text-fill-color:var(--mc-text);color:var(--mc-text);font-weight:800;font-size:26px;letter-spacing:-1px}
 .mobile-catalog .mc-search{min-height:40px;border:0;border-radius:12px;background:var(--mc-surface);color:var(--mc-muted);padding:0 12px}
 .mobile-catalog .mc-tabs{justify-content:space-between;gap:24px;padding:0}
 .mobile-catalog .mc-tabs a{font-size:18px;font-weight:500;min-height:48px;padding:0 4px;color:var(--mc-muted)}
 .mobile-catalog .mc-tabs a[aria-current="page"]{font-weight:700;color:var(--mc-text)}
 .mobile-catalog .mc-tabs a[aria-current="page"]:after{height:3px;width:20px;background:var(--mc-accent);bottom:4px}
 .mobile-catalog .mc-content{padding:16px 12px calc(84px + env(safe-area-inset-bottom))}
 .mobile-catalog .mc-section{margin-top:20px}
 .mobile-catalog .mc-heading{margin-bottom:12px;gap:12px}
 .mobile-catalog .mc-heading h1,.mobile-catalog .mc-heading h2{font-size:20px;line-height:1.35;font-weight:700;letter-spacing:0}
 .mobile-catalog .mc-heading-note{font-size:12px;font-weight:400;color:var(--mc-muted)}
 .mobile-catalog .mc-heading>a{font-size:13px;color:var(--mc-muted)}
 .mobile-catalog .mc-accordion{gap:6px;border-radius:12px}
 .mobile-catalog .mc-carousel-controls{height:44px}
 .mobile-catalog .mc-active-title{font-weight:600;font-size:14px}
 .mobile-catalog .mc-rotation-toggle{min-height:44px;min-width:44px}
 .mobile-catalog .mc-grid{gap:10px}
 .mobile-catalog [data-feed="recommend"] .mc-grid .mc-card img{aspect-ratio:3/4;border-radius:10px;object-fit:cover}
 .mobile-catalog [data-feed="recommend"] .mc-grid .mc-card strong{-webkit-line-clamp:2;font-size:14px;line-height:1.5;margin-top:8px}
 .mobile-catalog .mc-card small{font-size:12px;color:var(--mc-muted);line-height:1.5}
 .mobile-catalog .mc-for-you .mc-card{background:var(--mc-card);border:1px solid var(--mc-line);border-radius:12px;padding:12px;box-shadow:none}
 .mobile-catalog .mc-masonry .mc-card{background:var(--mc-card);border:0;border-radius:12px}
 .mobile-catalog .mc-masonry .mc-card figure{margin:0}
 .mobile-catalog .mc-masonry .mc-card img{border-radius:12px 12px 0 0}
 .mobile-catalog .mc-masonry .mc-card strong{font-size:16px;line-height:1.45;margin:10px 10px 0}
 .mobile-catalog .mc-masonry .mc-card small{margin:4px 10px 12px}
 .mobile-catalog[data-mode="recommend"] .mc-content{padding-top:8px}
 .mobile-catalog[data-mode="recommend"] .mc-section{margin-top:8px}
 .mobile-catalog .mc-ranking-tabs{display:flex;gap:4px;overflow:auto;padding:0;margin:0;scrollbar-width:none}
 .mobile-catalog .mc-ranking-tabs button{position:relative;isolation:isolate;flex:none;min-height:44px;padding:8px 12px;border:0;border-radius:6px;white-space:nowrap;background:transparent;color:var(--mc-muted);font-size:13px;line-height:20px}
 .mobile-catalog .mc-ranking-tabs button::before{content:"";position:absolute;inset:6px 0;z-index:-1;border-radius:6px;pointer-events:none;background:transparent}
 .mobile-catalog .mc-ranking-tabs button[aria-pressed="true"]{background:transparent;color:var(--mc-selection-text);font-weight:700}
 .mobile-catalog .mc-ranking-tabs button[aria-pressed="true"]::before{background:var(--mc-selection-bg)}
 .mobile-catalog .mc-rank-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px;align-items:start}
 .mc-chart-card{min-width:0;overflow:hidden;background:var(--mc-card);border-radius:12px}
 .mc-chart-art{display:block;position:relative;aspect-ratio:2/3;overflow:hidden;background:var(--mc-surface)}
 .mc-chart-art img{width:100%;height:100%;object-fit:cover;display:block}
 .mc-chart-art:after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.64));pointer-events:none}
 .mc-chart-art small{position:absolute;bottom:10px;left:10px;z-index:1;color:#fff;font-size:12px}
 .mc-chart-title{display:block;margin:10px 10px 0;color:var(--mc-text)}
 .mc-chart-title strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;font-weight:600;line-height:1.5}
 .mc-chart-card p{margin:6px 10px 0;font-size:12px;line-height:1.5;color:var(--mc-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

 .mobile-catalog .mc-rank{color:#fff;background:#c32d51}
 .mobile-catalog .bottom-nav{background:var(--mc-header);border-top:1px solid var(--mc-line);box-shadow:none;backdrop-filter:none;grid-template-columns:repeat(4,minmax(0,1fr))}
 .mobile-catalog .bottom-nav .nav-item{color:var(--mc-muted);min-width:0}
 .mobile-catalog .bottom-nav .active,.mobile-catalog .bottom-nav .active .nav-label{color:var(--mc-text)}
 .mobile-catalog .bottom-nav .active .nav-icon{color:var(--mc-accent)}
 .shorts-page{background:#000;color:#fff;padding:0;height:100dvh;overflow:hidden}
 .shorts-page .shorts-feed,.shorts-page .short-card{height:calc(100dvh - 64px - env(safe-area-inset-bottom));min-height:0}
 .shorts-page .desktop-shorts-layout{padding:0;display:block;height:100%}
 .short-discovery-header{position:absolute;inset:0 0 auto;z-index:12;display:flex;align-items:center;justify-content:center;gap:28px;padding:calc(8px + env(safe-area-inset-top)) 16px 16px;background:linear-gradient(#0009,transparent);pointer-events:none}
 .short-discovery-header>a,.short-discovery-header>strong{pointer-events:auto;position:relative;min-height:44px;display:flex;align-items:center;font-size:18px;color:#fff;text-shadow:0 1px 4px #000}
 .short-discovery-header>strong:after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:20px;height:3px;border-radius:2px;background:#fff}
 .short-discovery-header .short-search{margin-left:auto;min-width:44px;justify-content:center}
 .short-search svg{width:24px;height:24px}
 .shorts-page .short-overlay{position:absolute;inset:0;pointer-events:none}
 .shorts-page .short-overlay button{pointer-events:auto}
 .shorts-page .short-card:after{background:linear-gradient(transparent 48%,rgba(0,0,0,.72));pointer-events:none}
 .shorts-page .action-rail{display:flex;flex-direction:column;position:absolute;right:8px;bottom:160px;gap:12px;z-index:3}
 .shorts-page .rail-action{width:52px;min-height:56px;gap:4px;background:transparent;color:#fff;text-shadow:0 1px 3px #000}
 .shorts-page .rail-action svg{width:32px;height:32px;filter:drop-shadow(0 1px 2px #0007)}
 .shorts-page .rail-action span{font-size:12px;line-height:1.4}
 .shorts-page .rail-action.is-active{color:#ff82a5}
 .shorts-page .short-info{position:absolute;left:16px;right:76px;bottom:80px;z-index:3;max-width:none;padding:0}
 .shorts-page .short-info h2{font-size:20px;line-height:1.4;margin:0 0 8px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .shorts-page .short-info p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.6;color:#eee;margin:0}
 .short-series-entry{position:absolute;left:12px;right:12px;bottom:16px;min-height:48px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #ffffff26;border-radius:8px;background:#ffffff20;color:#fff;z-index:3}
 .short-series-entry>svg{width:20px;height:20px;flex:none}.short-series-entry>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;font-size:14px}.short-series-entry>strong{font-size:13px;white-space:nowrap}
 .shorts-page .short-state-icon svg{width:56px;height:56px;color:#fff;opacity:.9}
 .shorts-page .bottom-nav{width:100%;max-width:none;left:0;bottom:0;border-radius:0;transform:none;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#161619;border:0;box-shadow:none;grid-template-columns:repeat(5,minmax(0,1fr));backdrop-filter:none}
 .shorts-page .bottom-nav .nav-item,.shorts-page .bottom-nav .nav-label{color:#aaa}.shorts-page .bottom-nav .active,.shorts-page .bottom-nav .active .nav-label,.shorts-page .bottom-nav .active .nav-icon{color:#fff}
 .mobile-catalog a:focus-visible,.mobile-catalog button:focus-visible,.shorts-page a:focus-visible,.shorts-page button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
 @media(max-height:500px){.shorts-page .action-rail{bottom:80px;flex-direction:row;right:12px;gap:8px;width:auto}.shorts-page .short-info{bottom:142px;right:16px}.shorts-page .short-info p{display:none}.short-discovery-header{padding-top:0;padding-bottom:0}.shorts-page .short-info h2{font-size:16px}}
 @media(prefers-reduced-motion:reduce){.mobile-catalog *,.shorts-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}

@media(max-width:1023px){.mc-chart-source{display:block;margin:6px 10px 0;color:var(--mc-accent);font-size:12px;line-height:1.5}}

/* Source-backed ranking metadata, without the redundant detail footer. */
@media(max-width:1023px){
 .mc-chart-position{position:absolute;top:8px;left:8px;max-width:calc(100% - 16px);z-index:2;padding:4px 7px;border-radius:5px;background:rgba(18,20,26,.8);color:#fff;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
 .mc-chart-position[data-position-kind="rank"]{background:#b72247}
 .mc-chart-metric{position:absolute;bottom:10px;left:10px;right:8px;z-index:2;display:flex;align-items:center;gap:4px;color:#fff;font-size:13px;font-weight:600;line-height:1.45;text-shadow:0 1px 3px #0009}
 .mc-chart-metric svg{width:16px;height:16px;flex:none}
 .mc-chart-metric>span{min-width:0;overflow-wrap:anywhere}
 .mc-chart-episodes{display:block;margin:4px 10px 0;color:var(--mc-muted);font-size:12px;line-height:1.5}
 .mc-chart-card{padding-bottom:12px}
 .mc-chart-card p{margin-top:6px}
}

/* New dramas: artwork-led masonry, scoped independently of the homepage section. */
@media(max-width:1023px){
 .mc-chart-position{min-width:24px;min-height:26px;display:grid;place-items:center;padding:3px 7px;font-size:15px;font-weight:700;line-height:20px;font-variant-numeric:tabular-nums;border-radius:5px}
 .mobile-catalog[data-mode="new"] .mc-content{padding:12px 12px calc(84px + env(safe-area-inset-bottom))}
 .mobile-catalog[data-mode="new"] .mc-section{margin:0}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-new-card{border-radius:10px;background:var(--mc-card);overflow:hidden;box-shadow:none}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-new-card figure{position:relative;margin:0;overflow:hidden}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-new-card figure:after{content:"";position:absolute;inset:70% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.6));pointer-events:none}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-new-card figure>img{display:block;width:100%;height:auto;object-fit:contain;border-radius:10px 10px 0 0}
 .mc-new-cover-meta{position:absolute;inset:auto 10px 9px;display:flex;gap:6px;align-items:flex-end;justify-content:space-between;z-index:1;color:#fff;pointer-events:none}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-new-cover-meta small{margin:0;color:#fff;flex:none;font-size:12px;line-height:1.4;text-shadow:0 1px 3px #0008}
 .mc-new-cover-meta>span{min-width:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
 .mc-new-copy{padding:10px 10px 12px}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-new-copy>strong{margin:0;font-size:13px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--mc-text)}
 .mc-new-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
 .mc-new-tags>span{padding:3px 6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;font-size:12px;line-height:1.3;background:var(--mc-selection-bg);color:var(--mc-selection-text)}
 .mc-new-copy p{margin:8px 0 0;color:var(--mc-muted);font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

/* A real short card starts the right column; poster order remains unchanged. */
@media(max-width:1023px){
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-resume-card{padding:10px;background:#f0e3e6;border:0;border-radius:10px;color:var(--mc-text);overflow:hidden}
 html:not([data-mobile-theme="light"]) .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-resume-card{background:#372a30}
 .mc-resume-head{display:flex;align-items:center;gap:8px;min-width:0}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-resume-head>img{flex:none;width:36px;height:50px;min-height:0;object-fit:cover;border-radius:5px}
 .mc-resume-head>span{min-width:0;flex:1}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-resume-head strong{display:block;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;font-weight:600;line-height:1.5}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-resume-head small{display:block;margin:4px 0 0;color:var(--mc-muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
 .mc-resume-action{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:5px 4px;margin-top:8px;border-radius:6px;background:var(--mc-card);color:var(--mc-accent);font-size:13px;font-weight:600;line-height:1.4;text-align:center}
 .mc-resume-action svg{width:16px;height:16px;flex:none}
}

/* Daily facts replace the short resume card only in the two requested new-drama sections. */
@media(max-width:1023px){
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card{padding:13px 12px 14px;border:0;border-radius:12px;background:linear-gradient(130deg,#35251e,#241e1b 52%,#211d1c);color:#f1e7df}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card .mc-daily-heading{margin:0;font-size:13px;font-weight:600;line-height:1.4;color:#f1e7df}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card small{margin:0;font-size:11px;color:#c2b5ac}
 .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card .mc-daily-status{margin-top:10px}
 html[data-mobile-theme="light"] .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card{background:linear-gradient(130deg,#fff0df,#fff7ee);color:#5e3721}
 html[data-mobile-theme="light"] .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card .mc-daily-heading{color:#5e3721}
 html[data-mobile-theme="light"] .mobile-catalog :is([data-feed="new"],[data-feed="home_new"]) .mc-daily-card small{color:#7c624f}
}

/* Restored folding rail; all panels stay visible and only width animates. */
@media(max-width:1023px){
 .mobile-catalog[data-mode="home"] .mc-accordion{display:flex;position:relative;height:clamp(120px,34vw,148px);gap:6px;overflow:hidden;border-radius:10px;touch-action:pan-y}
 .mobile-catalog[data-mode="home"] .mc-accordion[hidden]{display:none}
 .mobile-catalog[data-mode="home"] .mc-slide{position:relative;inset:auto;flex:1 1 0%;width:0;min-width:0;height:100%;border-radius:10px;opacity:1;pointer-events:auto;transform:none;box-shadow:none;transition:flex-grow .32s ease}
 .mobile-catalog[data-mode="home"] .mc-slide[aria-current="true"]{flex-grow:5}
 .mobile-catalog[data-mode="home"] .mc-slide .mc-slide-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}
 .mobile-catalog[data-mode="home"] .mc-slide-backdrop{display:none}
 .mobile-catalog[data-mode="home"] .mc-carousel-controls{display:flex;align-items:center;justify-content:center;height:44px;padding:0;gap:0}
 .mobile-catalog[data-mode="home"] .mc-hero-navigation{display:flex;align-items:center;justify-content:center;gap:0;min-width:0}
 .mobile-catalog[data-mode="home"] :is(.mc-hero-step,.mc-rotation-toggle){position:static;display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;border:0;background:transparent;color:var(--mc-muted);padding:0}
 .mobile-catalog[data-mode="home"] :is(.mc-hero-step,.mc-rotation-toggle) svg{width:16px;height:16px}
 .mobile-catalog[data-mode="home"] .mc-dots{display:flex;gap:0;max-width:calc(100vw - 168px);overflow:auto}
 .mobile-catalog[data-mode="home"] .mc-dots button{height:44px;min-width:24px;width:24px;flex:none}
 @media(prefers-reduced-motion:reduce){.mobile-catalog[data-mode="home"] .mc-slide{transition:none}}
}

@media(max-width:1023px){
 .mobile-catalog[data-mode="home"] .mc-slide{transition:flex-grow .45s ease}
 .mobile-catalog[data-mode="home"] .mc-slide[data-paired-artwork] .mc-slide-original{opacity:1;transition:opacity .45s ease}
 .mobile-catalog[data-mode="home"] .mc-pair-portrait,.mobile-catalog[data-mode="home"] .mc-pair-landscape-layer{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .45s ease}
 .mobile-catalog[data-mode="home"] .mc-pair-portrait{object-fit:cover;object-position:center}
 .mobile-catalog[data-mode="home"] .mc-pair-landscape-layer{display:block;background:#19191c}
 .mobile-catalog[data-mode="home"] .mc-pair-fill,.mobile-catalog[data-mode="home"] .mc-pair-landscape{position:absolute;inset:0;width:100%;height:100%;border-radius:0}
 .mobile-catalog[data-mode="home"] .mc-pair-fill{object-fit:cover;opacity:.25}
 .mobile-catalog[data-mode="home"] .mc-pair-landscape{object-fit:contain;object-position:center}
 .mobile-catalog[data-mode="home"] .mc-pair-ready .mc-slide-original{opacity:0}
 .mobile-catalog[data-mode="home"] .mc-pair-ready .mc-pair-portrait{opacity:1}
 .mobile-catalog[data-mode="home"] .mc-pair-ready[aria-current="true"] .mc-pair-portrait{opacity:0}
 .mobile-catalog[data-mode="home"] .mc-pair-ready[aria-current="true"] .mc-pair-landscape-layer{opacity:1}
 @media(prefers-reduced-motion:reduce){.mobile-catalog[data-mode="home"] .mc-slide,.mobile-catalog[data-mode="home"] .mc-pair-portrait,.mobile-catalog[data-mode="home"] .mc-pair-landscape-layer,.mobile-catalog[data-mode="home"] .mc-slide-original{transition:none}}
}

@media(max-width:1023px){.mobile-catalog[data-mode="home"] .mc-carousel-controls{display:none!important;height:0;min-height:0;margin:0;padding:0}}

@media(max-width:1023px){.mobile-catalog .mc-tabs a,.mobile-catalog .mc-tabs a[aria-current="page"]{font-size:14px;line-height:1.4}}

@media(max-width:1023px){.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 2026-11-10: one inline disclosure and compact native-matched chart rows. */
@media(max-width:1023px){
 html:not([data-mobile-theme="light"]) .mobile-catalog[data-mode="all"],html:not([data-mobile-theme="light"]) .mobile-catalog[data-mode="recommend"]{--mc-bg:#050506;--mc-card:#1d1c20;--mc-surface:#151419;--mc-header:#050506;--mc-accent:#ff1680;--mc-muted:#a0a0a4}
 html[data-mobile-theme="light"] .mobile-catalog[data-mode="all"],html[data-mobile-theme="light"] .mobile-catalog[data-mode="recommend"]{--mc-bg:#fff;--mc-card:#f5f5f6;--mc-surface:#f1f1f3;--mc-header:#fff;--mc-accent:#c52961;--mc-muted:#6c6c75}
 .mobile-catalog[data-mode="all"] .mc-content,.mobile-catalog[data-mode="recommend"] .mc-content{padding:2px 12px calc(84px + env(safe-area-inset-bottom))}
 .mobile-catalog[data-mode="recommend"] .mc-applied{display:none}
 .mobile-catalog .mc-filter-bar{display:flex;justify-content:flex-end;min-height:44px}
 .mobile-catalog .mc-filter-button{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 8px;background:transparent;border:0;color:var(--mc-text);font-size:13px}
 .mc-inline-filters[hidden]{display:none!important}.mc-inline-group{display:flex;align-items:center;min-height:44px;gap:0}
 .mc-inline-label{flex:0 0 42px;font-size:12px;color:var(--mc-muted)}
 .mc-filter-options{display:flex;gap:6px;overflow-x:auto;min-width:0;scrollbar-width:none}.mc-filter-options::-webkit-scrollbar{display:none}
 .mc-filter-options button{position:relative;flex:none;border:0;background:transparent;color:var(--mc-muted);font-size:13px;min-height:44px;padding:0 12px;white-space:nowrap;isolation:isolate}
 .mc-filter-options button:before{content:"";position:absolute;inset:8px 0;z-index:-1;border-radius:18px;background:var(--mc-surface);border:1px solid transparent}
 .mc-filter-options button[aria-pressed="true"]{color:var(--mc-accent)}.mc-filter-options button[aria-pressed="true"]:before{background:transparent;border-color:var(--mc-accent)}
 .mc-inline-reset{min-height:44px;border:0;background:transparent;color:var(--mc-muted);width:100%;font-size:13px}
 .mobile-catalog[data-mode="all"] .mc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
 .mobile-catalog[data-mode="all"] .mc-card figure{aspect-ratio:3/4;border-radius:8px;overflow:hidden}.mobile-catalog[data-mode="all"] .mc-card img{width:100%;height:100%;object-fit:cover}
 .mobile-catalog[data-mode="all"] .mc-card strong{font-size:13px;line-height:1.4;-webkit-line-clamp:2}
 .mobile-catalog .mc-rank-list{display:flex;flex-direction:column;gap:8px;align-items:stretch}
 .mc-ranking-row{display:flex;align-items:center;gap:0;box-sizing:border-box;width:100%;min-width:0;min-height:80px;padding:8px 10px 8px 4px;border-radius:10px;background:var(--mc-card);color:var(--mc-text);text-decoration:none}
 .mc-ranking-row[data-top="true"]{background:linear-gradient(35deg,#41111f,var(--mc-card) 68%)}html[data-mobile-theme="light"] .mc-ranking-row[data-top="true"]{background:linear-gradient(35deg,#f9e7ec,var(--mc-card) 68%)}
 .mc-ranking-number{flex:0 0 28px;text-align:center;font-size:20px;font-weight:700;color:var(--mc-muted);font-variant-numeric:tabular-nums}.mc-ranking-row[data-top="true"] .mc-ranking-number{color:#dcba83}
 .mc-ranking-poster{width:44px;height:64px;object-fit:cover;flex:none;border-radius:6px}.mc-ranking-info{flex:1;min-width:0;padding-left:10px}
 .mc-ranking-headline{display:flex;align-items:center;gap:6px}.mc-ranking-headline strong{font-size:14px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;min-width:0}
 .mc-ranking-heat{display:flex;align-items:center;gap:3px;flex:none;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;color:#ff791f}.mc-ranking-heat svg{width:13px;height:15px;fill:currentColor}html[data-mobile-theme="light"] .mc-ranking-heat{color:#b64b0b}
 .mc-ranking-tags{display:flex;gap:4px;margin-top:6px;overflow:hidden}.mc-ranking-tags span{max-width:33.33%;padding:2px 5px;border-radius:4px;background:#303033;color:#dddddf;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html[data-mobile-theme="light"] .mc-ranking-tags span{background:#eeeef0;color:#6c6c75}
 .mc-ranking-row:focus-visible,.mc-filter-options button:focus-visible{outline:2px solid var(--mc-accent);outline-offset:2px}
}

@media(max-width:1023px){
 .mobile-catalog[data-mode="all"] .mc-card figure{position:relative}.mobile-catalog[data-mode="all"] .mc-card strong{font-size:14px;min-height:39px}.mobile-catalog[data-mode="all"] .mc-card small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}
 .mc-all-plays{position:absolute;inset:auto 0 0;padding:12px 5px 6px;background:linear-gradient(transparent,#0009);text-align:right;font-size:11px;color:#fff}.mc-all-badge{position:absolute;right:2px;top:2px;padding:2px 5px;border-radius:4px;background:#f51b70;color:#fff;font-size:11px}
 .mc-ranking-tags span{flex:1;min-width:0;max-width:none}
 .mobile-catalog[data-mode="recommend"] .mc-ranking-tabs button:before{border-radius:20px;background:var(--mc-surface);border:1px solid transparent}.mobile-catalog[data-mode="recommend"] .mc-ranking-tabs button[aria-pressed="true"]{color:var(--mc-accent)}.mobile-catalog[data-mode="recommend"] .mc-ranking-tabs button[aria-pressed="true"]:before{background:transparent;border-color:var(--mc-accent)}
}

/* Local review: genre remains visible, only the genre row and toggle remain when collapsed. */
@media(max-width:1023px){
 .mobile-catalog[data-mode="all"] .mc-applied{display:none}
 .mc-filter-toggle-bar{display:flex;align-items:center;height:44px;min-width:0}
 #mc-expanded-groups[hidden]{display:none!important}
 .mc-filter-toggle{position:relative;isolation:isolate;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--mc-muted)}
 .mc-filter-toggle:before{content:"";position:absolute;inset:6px;z-index:-1;border-radius:50%;background:var(--mc-surface)}
 .mc-filter-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
 .mc-filter-toggle[aria-expanded="true"]{color:var(--mc-accent)}
 .mc-filter-toggle-bar .mc-inline-reset{flex:1;min-width:0;text-align:left;padding-left:10px}
 .mc-inline-retry{height:44px;width:100%;background:transparent;border:0;color:var(--mc-muted)}
}

@media(max-width:1023px){
 .mc-inline-group{height:44px;align-items:center}
 .mc-inline-label{display:flex;align-items:center;align-self:stretch;line-height:1}
 .mc-filter-options{flex:1;align-items:center}
 .mc-filter-options button{display:flex;align-items:center;justify-content:center;height:44px;line-height:1}
}

/* Local review: equal-width channel tabs and a compact trailing reset action. */
@media(max-width:1023px){
 .mobile-catalog .mc-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;width:100%;min-width:0;overflow:visible}
 .mobile-catalog .mc-tabs a{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;min-height:44px;height:44px;padding:0 4px;white-space:nowrap;font-size:14px;line-height:1.2;text-align:center}
 .mobile-catalog .mc-tabs a[aria-current="page"]:after{left:50%;right:auto;bottom:3px;transform:translateX(-50%);width:20px;height:3px}
 .mc-filter-toggle-bar{justify-content:flex-end}
 .mc-filter-toggle-bar .mc-inline-reset{position:relative;isolation:isolate;flex:0 0 auto;width:auto;min-width:64px;min-height:44px;height:44px;margin:0;padding:0 14px;text-align:center;font-size:13px;font-weight:500;color:var(--mc-muted);background:transparent;border:0}
 .mc-filter-toggle-bar .mc-inline-reset:before{content:"";position:absolute;inset:6px 0;z-index:-1;border:1px solid var(--mc-line);border-radius:16px;background:var(--mc-surface)}
 .mc-filter-toggle-bar .mc-inline-reset:active:before{background:var(--mc-tint)}
}

@media(max-width:1023px){
 .mobile-catalog .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;box-sizing:border-box;height:calc(56px + var(--safe-bottom,env(safe-area-inset-bottom)));padding:4px 8px var(--safe-bottom,env(safe-area-inset-bottom));}
 .mobile-catalog .bottom-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:2px 4px;gap:4px;line-height:1.2;}
 .mobile-catalog .bottom-nav .nav-label{font-size:11px;line-height:1.2;white-space:nowrap;}
 .mobile-catalog .bottom-nav .nav-icon,.mobile-catalog .bottom-nav .nav-icon svg{width:23px;height:23px;flex:none;}
}

/* Requested spacing and natural-width topic badges only. */
@media(max-width:1023px){
 .mobile-catalog[data-mode="all"] .mc-section[data-feed="all"]{margin-top:4px}
 .mobile-catalog[data-mode="home"] .withdrawal-ticker:not([hidden]){margin-top:8px;margin-bottom:0}
 .mobile-catalog[data-mode="home"] .mc-section[data-feed="recommend"]{margin-top:8px}
 .mobile-catalog[data-mode="home"] [data-feed="recommend"]>.mc-heading{margin-top:0;margin-bottom:8px}
 .mc-ranking-tags{gap:6px;align-items:center}
 .mc-ranking-tags span{flex:0 1 auto;max-width:calc((100% - 12px)/3);height:22px;box-sizing:border-box;padding:2px 7px;line-height:16px;border-radius:11px;border:1px solid #3d3542;background:#242128;color:#c7c3cc;font-size:11px;font-weight:400}
 html[data-mobile-theme="light"] .mc-ranking-tags span{border-color:#e1dfe6;background:#f5f4f7;color:#696371}
}

/* Homepage section labels, independent of drama titles and navigation. */
@media(max-width:1023px){
 .mobile-catalog[data-mode="home"] .mc-heading h2{font-size:16px;font-weight:500;line-height:1.4;}
}
