/* Ember 余烬放映室：独立视觉系统与核心页面布局 */
:root {
    --em-bg: #151615;
    --em-bg-deep: #0d0e0d;
    --em-surface-1: #1d1f1e;
    --em-surface-2: #272927;
    --em-surface-3: #333532;
    --em-line: #494c47;
    --em-line-soft: #30332f;
    --em-text: #f2f0e8;
    --em-text-soft: #cbc9c0;
    --em-text-muted: #92958e;
    --em-accent: #d9ff43;
    --em-accent-strong: #e5ff7c;
    --em-accent-ink: #171b08;
    --em-success: #92ce77;
    --em-warning: #ffb342;
    --em-danger: #ff684e;
    --em-shell: 1520px;
    --em-gutter: clamp(12px, 3vw, 40px);
    --em-radius-sm: 8px;
    --em-radius-md: 8px;
    --em-radius-lg: 12px;
    --em-radius-xl: 16px;
    --em-shadow-lg: 0 24px 64px rgba(7, 8, 4, .32);
    --em-display: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
    --em-body: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --em-ease: cubic-bezier(.16, 1, .3, 1);
}

@supports (color: oklch(50% 0.1 20)) {
    :root {
        --em-bg: oklch(19% .006 130);
        --em-bg-deep: oklch(14% .005 130);
        --em-surface-1: oklch(23% .007 130);
        --em-surface-2: oklch(29% .008 130);
        --em-surface-3: oklch(36% .009 130);
        --em-line: oklch(43% .01 130);
        --em-line-soft: oklch(33% .009 130);
        --em-text: oklch(95% .015 96);
        --em-text-soft: oklch(82% .014 96);
        --em-text-muted: oklch(64% .012 130);
        --em-accent: oklch(92% .205 119);
        --em-accent-strong: oklch(95% .15 119);
        --em-accent-ink: oklch(22% .04 119);
    }
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background: var(--em-bg);
    color: var(--em-text);
    font-family: var(--em-body);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
}
body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% -8%, rgba(217, 255, 67, .07), transparent 34%),
        linear-gradient(115deg, transparent 0 72%, rgba(238, 233, 220, .016) 72% 72.2%, transparent 72.2%);
    content: "";
    pointer-events: none;
}
body.em-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
svg { display: block; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
::selection { background: var(--em-accent); color: var(--em-accent-ink); }
:focus-visible { outline: 2px solid var(--em-accent-strong); outline-offset: 3px; }

.em-shell, .em-wrap {
    width: min(calc(100% - (var(--em-gutter) * 2)), var(--em-shell));
    margin-inline: auto;
}
/* 单层吸顶导航 */
.em-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--em-line-soft);
    background: rgba(21, 22, 21, .96);
    transition: box-shadow .25s var(--em-ease), background .25s ease;
}
.em-header.is-scrolled { background: rgba(21, 22, 21, .99); box-shadow: 0 14px 36px rgba(7, 8, 4, .3); }
.em-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 64px; align-items: center; gap: 12px; }
.em-header__primary-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 64px; gap: 12px; }
.em-brand { display: inline-flex; min-width: 0; align-items: center; justify-self: start; }
.em-brand__logo { display: block; max-width: 148px; max-height: 46px; object-fit: contain; }
.em-brand__fallback { display: inline-flex; min-width: 0; align-items: center; gap: 10px; }
.em-brand__mark {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--em-accent);
    color: var(--em-accent-strong);
    font-family: "Songti SC", STSong, serif;
    font-size: 1.25rem;
    font-weight: 700;
    transform: rotate(-3deg);
}
.em-brand__copy { display: grid; min-width: 0; line-height: 1.15; }
.em-brand__copy strong { max-width: 150px; overflow: hidden; font-family: var(--em-display); font-size: 1.02rem; text-overflow: ellipsis; white-space: nowrap; }
.em-brand__copy small { margin-top: 3px; color: var(--em-text-muted); font-size: .64rem; letter-spacing: .18em; }
.em-search { display: flex; align-items: center; border: 1px solid var(--em-line); background: var(--em-surface-1); }
.em-search svg { flex: 0 0 auto; margin-left: 15px; color: var(--em-text-muted); }
.em-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--em-text); }
.em-search input::placeholder { color: var(--em-text-muted); opacity: 1; }
.em-search button { min-width: 64px; align-self: stretch; border: 0; background: var(--em-accent); color: var(--em-accent-ink); cursor: pointer; font-weight: 800; }
.em-search--header { display: none; width: min(46vw, 560px); height: 44px; border-radius: 999px; overflow: hidden; }
.em-search--header input { flex: 1; height: 100%; padding: 0 12px; }
.em-search--drawer { width: 100%; min-height: 48px; margin-bottom: 18px; border-radius: 10px; overflow: hidden; }
.em-search--drawer input { flex: 1; width: 100%; padding: 0 10px; }
.em-header__actions { display: flex; align-items: center; gap: 6px; }
.em-icon-action, .em-menu-btn {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--em-text-soft);
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}
.em-icon-action:hover, .em-menu-btn:hover { background: var(--em-surface-2); color: var(--em-accent-strong); }
.em-icon-action--rank { display: none; }
.em-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 92;
    display: flex;
    width: min(88vw, 380px);
    padding: max(20px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    border-left: 1px solid var(--em-line);
    background: var(--em-bg-deep);
    box-shadow: -30px 0 80px rgba(7, 8, 4, .5);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .35s var(--em-ease), visibility .35s;
}
.em-nav.is-open { transform: translateX(0); visibility: visible; }
.em-nav__drawer-head { display: flex; min-height: 48px; margin-bottom: 14px; align-items: center; justify-content: space-between; }
.em-nav__drawer-head strong { font-family: var(--em-display); font-size: 1.35rem; }
.em-nav__drawer-head button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: var(--em-surface-2); cursor: pointer; }
.em-nav > a, .em-nav__link { display: flex; min-height: 46px; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--em-text-soft); font-weight: 700; }
.em-nav > a.active, .em-nav > a:hover, .em-nav__item.is-active .em-nav__link { background: var(--em-surface-2); color: var(--em-accent-strong); }
.em-nav__row { display: flex; align-items: center; }
.em-nav__row .em-nav__link { flex: 1; }
.em-nav__toggle { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.em-nav__toggle svg { transition: transform .25s var(--em-ease); }
.em-nav__item.is-expanded .em-nav__toggle svg { transform: rotate(90deg); }
.em-nav__dropdown { display: none; padding: 6px 8px 12px 20px; }
.em-nav__item.is-expanded .em-nav__dropdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.em-nav__dropdown a { min-height: 40px; padding: 8px; color: var(--em-text-muted); font-size: .875rem; }
.em-nav__dropdown a:hover, .em-nav__dropdown a.active { color: var(--em-accent-strong); }
.em-nav__divider { height: 1px; margin: 12px; background: var(--em-line-soft); }
.em-drawer-backdrop { position: fixed; inset: 0; z-index: 79; display: block; width: 100vw; height: 100dvh; padding: 0; border: 0; background: rgba(4, 8, 12, .72); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s; }
.em-drawer-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
/* 首页首屏 */
.em-hero { padding: clamp(14px, 3vw, 34px) 0 18px; }
.em-hero__layout { display: grid; gap: 12px; }
.em-hero__stage { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--em-line-soft); border-radius: var(--em-radius-lg); background: var(--em-bg-deep); }
.em-hero__slides { position: relative; aspect-ratio: 16 / 11; min-height: 0; touch-action: pan-y; }
.em-hero__slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s var(--em-ease); }
.em-hero__slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.em-hero__media, .em-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.em-hero__media img { object-fit: cover; }
.em-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 13, 8, .97) 2%, rgba(11, 13, 8, .18) 68%), linear-gradient(90deg, rgba(11, 13, 8, .6), transparent 62%); }
.em-hero__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; max-width: 780px; padding: 30px 20px 72px; }
.em-hero h1 { max-width: 13ch; margin: 8px 0 10px; font-family: var(--em-display); font-size: clamp(2.3rem, 9vw, 4.8rem); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.em-hero h1 a { display: inline; }
.em-hero__content > p { max-width: 58ch; margin: 0 0 14px; color: var(--em-text-soft); display: -webkit-box; overflow: hidden; font-size: .92rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-meta { display: flex; margin: 0 0 18px; flex-wrap: wrap; gap: 7px; color: var(--em-text-soft); }
.em-meta span, .em-meta a, .em-meta strong { display: inline-flex; min-height: 28px; align-items: center; padding: 2px 10px; border: 1px solid var(--em-line); border-radius: 999px; background: rgba(17, 25, 35, .76); font-size: .78rem; font-style: normal; }
.em-meta strong { border-color: rgba(217, 255, 67, .38); color: var(--em-accent-strong); font-variant-numeric: tabular-nums; }
.em-hero__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.em-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 1px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 800; }
.em-btn--primary { background: var(--em-accent); color: var(--em-accent-ink); }
.em-btn--ghost { border-color: var(--em-line); background: rgba(17, 25, 35, .72); color: var(--em-text); }
.em-hero__controls { position: absolute; right: 18px; bottom: 20px; left: 20px; z-index: 4; display: flex; align-items: center; gap: 14px; }
.em-hero__progress { height: 2px; overflow: hidden; flex: 1; background: rgba(243, 234, 223, .22); }
.em-hero__progress span { display: block; width: 100%; height: 100%; background: var(--em-accent); transform: scaleX(0); transform-origin: left; }
.em-hero__progress span.is-running { animation: em-hero-progress 6.2s linear both; }
.em-hero__arrows { display: flex; gap: 6px; }
.em-hero__arrows button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--em-line); border-radius: 50%; background: rgba(17, 25, 35, .78); cursor: pointer; }
@keyframes em-hero-progress { to { transform: scaleX(1); } }
.em-hero__queue { padding: 14px; border: 1px solid var(--em-line-soft); border-radius: var(--em-radius-lg); background: var(--em-surface-1); }
.em-hero__queue-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.em-hero__queue-list::-webkit-scrollbar { display: none; }
.em-hero__queue-item { display: grid; min-width: min(78vw, 265px); min-height: 76px; grid-template-columns: 30px 52px minmax(0, 1fr); align-items: center; gap: 9px; padding: 7px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--em-text-soft); cursor: pointer; text-align: left; }
.em-hero__queue-item.is-active { border-color: var(--em-line); background: var(--em-surface-2); }
.em-hero__queue-index { color: var(--em-text-muted); font-family: Georgia, serif; font-size: .75rem; font-variant-numeric: tabular-nums; }
.em-hero__queue-item.is-active .em-hero__queue-index { color: var(--em-accent-strong); }
.em-hero__queue-pic { height: 60px; overflow: hidden; border-radius: 7px; background: var(--em-surface-3); }
.em-hero__queue-pic img { width: 100%; height: 100%; object-fit: cover; }
.em-hero__queue-copy { display: grid; min-width: 0; gap: 3px; }
.em-hero__queue-copy strong, .em-hero__queue-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-hero__queue-copy strong { font-size: .88rem; }
.em-hero__queue-copy em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }

/* 首页内容编排 */
.em-channel-rail { border-block: 1px solid var(--em-line-soft); background: var(--em-bg-deep); }
.em-channel-rail .em-shell { display: flex; min-height: 74px; align-items: center; gap: 20px; }
.em-channel-rail__track { display: flex; min-width: 0; overflow-x: auto; flex: 1; scrollbar-width: none; }
.em-channel-rail__track::-webkit-scrollbar { display: none; }
.em-channel-rail a { display: inline-flex; min-width: 118px; min-height: 52px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; border-right: 1px solid var(--em-line-soft); font-family: var(--em-display); font-size: 1.02rem; }
.em-channel-rail a:first-child { border-left: 1px solid var(--em-line-soft); }
.em-channel-rail a svg { color: var(--em-accent); font-size: .9rem; transition: transform .2s var(--em-ease); }
.em-channel-rail a:hover svg { transform: translateX(3px); }
.em-section { padding: clamp(20px, 3vw, 36px) 0; }
.em-section + .em-section { border-top: 1px solid var(--em-line-soft); }
.em-section__head { display: flex; margin-bottom: 12px; align-items: end; justify-content: space-between; gap: 16px; }
.em-section__head h2 { margin: 0; font-family: var(--em-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.em-section__head > a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--em-text-soft); font-size: .84rem; font-weight: 700; }
.em-section__head > a span { color: var(--em-accent-strong); }
.em-shelf { padding-bottom: clamp(26px, 3vw, 44px); }
.em-home-sections { padding-top: clamp(22px, 2.4vw, 36px); padding-bottom: clamp(28px, 3vw, 46px); }
.em-trending__list { display: grid; gap: 8px; }
.em-trending__item { position: relative; display: grid; min-width: 0; min-height: 78px; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--em-line-soft); }
.em-trending__pic { display: none; overflow: hidden; background: var(--em-surface-2); }
.em-trending__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--em-ease); }
.em-trending__rank { color: var(--em-text-muted); font-family: Georgia, serif; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.em-trending__copy { display: grid; min-width: 0; gap: 2px; }
.em-trending__copy strong { overflow: hidden; font-family: var(--em-display); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.em-trending__copy em { overflow: hidden; color: var(--em-text-muted); font-size: .75rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.em-trending__score { color: var(--em-accent-strong); font-family: Georgia, serif; font-size: .95rem; font-variant-numeric: tabular-nums; }
.em-vod-grid, .em-card-grid, .em-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; container-type: inline-size; }
.em-vod-card { min-width: 0; }
.em-vod-card > a { display: block; }
.em-vod-card__pic { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--em-radius-md); background: var(--em-surface-2); }
.em-vod-card__pic::after { position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(0deg, rgba(11, 13, 8, .82), transparent); content: ""; pointer-events: none; }
.em-vod-card__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--em-ease), filter .3s ease; }
.em-vod-card__note, .em-vod-card__score { position: absolute; z-index: 2; display: inline-flex; min-height: 24px; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 800; }
.em-vod-card__note { right: 7px; bottom: 7px; left: 7px; width: fit-content; max-width: calc(100% - 14px); overflow: hidden; background: rgba(21, 22, 21, .84); color: var(--em-text-soft); text-overflow: ellipsis; white-space: nowrap; }
.em-vod-card__score { top: 7px; right: 7px; background: var(--em-accent); color: var(--em-accent-ink); }
.em-vod-card__body { display: grid; padding-top: 10px; gap: 2px; }
.em-vod-card h3 { margin: 0; overflow: hidden; font-family: var(--em-display); font-size: .94rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.em-vod-card p { margin: 0; overflow: hidden; color: var(--em-text-muted); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
@container (min-width: 700px) {
    .em-vod-card h3 { font-size: 1rem; }
    .em-vod-card__body { padding-top: 11px; }
}
.em-home-channel { padding: clamp(20px, 2vw, 30px) 0; border-top: 1px solid var(--em-line-soft); }
.em-home-channel:first-child { padding-top: 0; border-top: 0; }
.em-home-channel .em-section__head { margin-bottom: clamp(15px, 1.8vw, 22px); }
.em-home-channel .em-section__head h2 { font-size: clamp(1.5rem, 2.35vw, 2.2rem); }
.em-home-channel__body { display: grid; gap: 22px; }
.em-mini-rank { align-self: start; padding: 18px; border-top: 2px solid var(--em-accent); background: var(--em-surface-1); }
.em-mini-rank h3 { margin: 0 0 12px; font-family: var(--em-display); font-size: 1.12rem; }
.em-mini-rank ol { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; gap: 0; list-style: none; }
.em-mini-rank li a { display: grid; min-height: 45px; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--em-line-soft); }
.em-mini-rank li span { color: var(--em-accent-strong); font-family: Georgia, serif; font-size: .76rem; }
.em-mini-rank li strong { overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.em-mini-rank li em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }
.em-home-journal__grid { display: grid; gap: 20px; }
.em-home-journal__grid > a { display: grid; min-width: 0; gap: 12px; }
.em-home-journal__pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--em-radius-md); background: var(--em-surface-2); }
.em-home-journal__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--em-ease); }
.em-home-journal__copy { display: grid; gap: 6px; }
.em-home-journal__copy em { color: var(--em-accent-strong); font-size: .72rem; font-style: normal; }
.em-home-journal__copy strong { font-family: var(--em-display); font-size: 1.18rem; line-height: 1.35; }
.em-home-journal__copy p { margin: 0; color: var(--em-text-muted); display: -webkit-box; overflow: hidden; font-size: .83rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-detail-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.em-art-home-item, .em-art-compact-item, .em-art-banner-item { list-style: none; }
.em-art-home-item > a { display: grid; min-height: 76px; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--em-line-soft); }
.em-art-home-item__pic { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--em-surface-2); }
.em-art-home-item__pic img { width: 100%; height: 100%; object-fit: cover; }
.em-art-home-item__copy { display: grid; min-width: 0; gap: 3px; }
.em-art-home-item__copy em, .em-art-compact-item em { color: var(--em-accent-strong); font-size: .7rem; font-style: normal; }
.em-art-home-item__copy strong, .em-art-compact-item strong { display: -webkit-box; overflow: hidden; font-family: var(--em-display); font-size: .9rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-art-compact-item > a { display: grid; min-height: 68px; grid-template-columns: minmax(0, 1fr) 72px; align-items: center; gap: 10px; border-bottom: 1px solid var(--em-line-soft); }
.em-art-compact-item > a > span { display: grid; min-width: 0; gap: 3px; }
.em-art-compact-item img { width: 72px; aspect-ratio: 16 / 10; border-radius: 5px; object-fit: cover; }
.em-art-banner-item > a { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 8px; }
.em-art-banner-item img { width: 100%; height: 100%; object-fit: cover; }
.em-art-banner-item strong { position: absolute; right: 12px; bottom: 10px; left: 12px; z-index: 1; overflow: hidden; color: var(--em-text); text-overflow: ellipsis; white-space: nowrap; }

/* 通用列表、筛选和分页 */
.em-panel, .em-filter, .em-rank-card, .em-art-side-card, .subsite-art-detail { border: 1px solid var(--em-line-soft); background: var(--em-surface-1); box-shadow: none; }
.em-channel-page, .em-catalog-page, .em-search-page, .em-latest-page, .em-rank-page { min-height: 60vh; }
.em-catalog-page > .em-section { padding-top: 10px; }
.em-search-hero, .em-latest-hero, .em-rank-hero { padding: clamp(32px, 6vw, 80px) 0 24px; border-bottom: 1px solid var(--em-line-soft); background: var(--em-bg-deep); }
.em-search-hero h1, .em-latest-hero h1, .em-rank-hero h1 { margin: 0; font-family: var(--em-display); font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.04em; line-height: 1.05; }
.em-filter { margin-bottom: 24px; padding: 14px; border-radius: var(--em-radius-md); }
.em-filter__mobile-toggle { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: space-between; padding: 0 4px; border: 0; background: transparent; cursor: pointer; font-weight: 800; }
.em-filter__body { display: none; padding-top: 12px; }
.em-filter.is-mobile-open .em-filter__body { display: block; }
.em-filter__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 8px; padding: 8px 0; border-top: 1px solid var(--em-line-soft); }
.em-filter__row strong { min-height: 36px; padding-top: 6px; color: var(--em-text-muted); font-size: .76rem; }
.em-filter__items { display: flex; min-width: 0; overflow-x: auto; flex-wrap: nowrap; gap: 5px; scrollbar-width: none; }
.em-filter__items::-webkit-scrollbar { display: none; }
.em-filter__items a { display: inline-flex; min-height: 36px; flex: 0 0 auto; align-items: center; padding: 0 11px; border-radius: 999px; color: var(--em-text-soft); font-size: .78rem; }
.em-filter__items a:hover, .em-filter__items a.active { background: var(--em-accent); color: var(--em-accent-ink); }
.em-filter__toggle { min-height: 44px; margin-top: 10px; padding: 0 14px; border: 1px solid var(--em-line); border-radius: 999px; background: transparent; color: var(--em-text-soft); cursor: pointer; }
.em-filter__extra[hidden] { display: none; }
.em-filter__actions { padding-top: 8px; text-align: center; }
.em-catalog-toolbar { display: flex; min-height: 58px; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--em-line-soft); }
.em-catalog-toolbar h2 { margin: 0; font-family: var(--em-display); font-size: 1.4rem; }
.em-catalog-toolbar span { color: var(--em-text-muted); font-size: .78rem; }
.em-empty { padding: 64px 20px; text-align: center; }
.em-pagination { display: flex; margin-top: 36px; justify-content: center; }
.em-pagination__desktop, .em-pagination__mobile { align-items: center; gap: 6px; }
.em-pagination a, .em-pagination span { display: inline-grid; min-width: 44px; min-height: 44px; place-items: center; padding: 0 10px; border: 1px solid var(--em-line); border-radius: 9px; background: var(--em-surface-1); }
.em-pagination .active, .em-pagination .current { border-color: var(--em-accent); background: var(--em-accent); color: var(--em-accent-ink); }
.em-pagination__meta, .em-pagination__compact { color: var(--em-text-muted); font-size: .76rem; }

/* 详情与播放 */
.em-detail-page { width: 100%; max-width: 100%; overflow: clip; }
.em-detail-hero { position: relative; isolation: isolate; width: 100%; max-width: 100%; padding: clamp(22px, 3vw, 44px) 0 32px; overflow: hidden; }
.em-detail-hero__backdrop { position: absolute; inset: 0; z-index: -2; }
.em-detail-hero__backdrop::after { position: absolute; inset: 0; background: linear-gradient(0deg, var(--em-bg) 2%, rgba(21, 22, 21, .45) 64%, rgba(21, 22, 21, .8)), linear-gradient(90deg, rgba(21, 22, 21, .95), rgba(21, 22, 21, .2)); content: ""; }
.em-detail-hero__backdrop img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); }
.em-detail-hero__grid { display: grid; min-width: 0; grid-template-areas: "poster body" "facts facts"; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; align-items: start; }
.em-detail-poster { grid-area: poster; position: relative; min-width: 0; align-self: start; overflow: hidden; border-radius: 12px; }
.em-detail-poster img { display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 12px; object-fit: cover; box-shadow: 0 24px 60px rgba(7, 8, 4, .45); }
.em-detail-poster > span { position: absolute; top: auto; right: 6px; bottom: 6px; left: auto; padding: 3px 8px; border-radius: 999px; background: var(--em-accent); color: var(--em-accent-ink); font-family: Georgia, serif; font-weight: 700; }
.em-detail-body { grid-area: body; display: block; min-width: 0; align-self: center; }
.em-detail-main { min-width: 0; }
.em-detail-type { color: var(--em-accent-strong); font-size: .73rem; font-weight: 800; letter-spacing: .12em; }
.em-detail-main h1 { margin: 5px 0 9px; font-family: var(--em-display); font-size: clamp(1.8rem, 6vw, 4.6rem); letter-spacing: -.045em; line-height: 1.02; }
.em-detail-year { color: var(--em-text-soft); font-size: .45em; font-weight: 500; }
.em-detail-main > p { margin: 0 0 16px; color: var(--em-text-soft); display: -webkit-box; overflow: hidden; font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.em-detail-facts { grid-area: facts; min-width: 0; padding: 16px 0 0; border-top: 1px solid rgba(243, 234, 223, .14); }
.em-detail-facts dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; gap: 8px 12px; }
.em-detail-facts dt { color: var(--em-text-muted); font-size: .76rem; }
.em-detail-facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--em-text-soft); font-size: .8rem; }
.em-detail-facts dd a { color: var(--em-text); }
.em-detail__facts { display: grid; gap: 6px; color: var(--em-text-soft); }
.em-score { color: var(--em-accent-strong); font-weight: 900; }
.em-eyebrow { color: var(--em-accent-strong); font-size: .75rem; font-weight: 900; }
.em-source-panel__title { color: var(--em-text); }
.em-detail-side { display: none; }
.em-detail-page > .em-section { padding: clamp(24px, 3vw, 46px) 0; }
.em-shell.em-detail-stack { width: min(calc(100% - (var(--em-gutter) * 2)), var(--em-shell)); }
.em-detail-stack { display: grid; min-width: 0; max-width: 100%; gap: 18px; }
.em-detail-stack > *, .em-panel { width: 100%; min-width: 0; max-width: 100%; }
.em-panel { padding: clamp(18px, 3vw, 30px); border-radius: var(--em-radius-lg); }
.em-panel h2 { margin: 0 0 16px; font-family: var(--em-display); font-size: clamp(1.35rem, 4vw, 2rem); }
.em-panel h3 { margin: 20px 0 10px; color: var(--em-text-soft); font-size: .88rem; }
.em-copy { width: 100%; min-width: 0; max-width: none; overflow-wrap: anywhere; color: var(--em-text-soft); font-size: 1rem; line-height: 1.95; }
.em-play-list { display: flex; flex-wrap: wrap; gap: 8px; }
.em-play-list a { display: inline-flex; min-width: 56px; min-height: 42px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--em-line); border-radius: 9px; background: var(--em-surface-2); color: var(--em-text-soft); }
.em-play-list a:hover, .em-play-list a.active { border-color: var(--em-accent); background: var(--em-accent); color: var(--em-accent-ink); }
.em-detail-recommend-rail { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 18px); }
.em-detail-recommend-rail > * { min-width: 0; }
.em-player-stage { padding: 12px 0 0; background: var(--em-bg-deep); }
.em-player-shell { width: min(calc(100% - 24px), 1440px); margin-inline: auto; }
.em-player-heading { display: flex; min-height: 56px; align-items: center; gap: 14px; }
.em-player-heading > a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; gap: 4px; color: var(--em-text-muted); font-size: .78rem; }
.em-player-heading > div { display: flex; min-width: 0; align-items: baseline; gap: 10px; }
.em-player-heading h1 { margin: 0; overflow: hidden; font-family: var(--em-display); font-size: clamp(1.05rem, 3vw, 1.4rem); text-overflow: ellipsis; white-space: nowrap; }
.em-player-heading span { color: var(--em-accent-strong); font-size: .76rem; white-space: nowrap; }
.em-player-box { position: relative; width: 100%; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0b07; }
.em-player-box iframe, .em-player-box video { width: 100% !important; height: 100% !important; min-height: 0 !important; }
.em-episode-panel { border: 1px solid var(--em-line-soft); border-top: 0; background: var(--em-surface-1); }
.em-episode-panel__head { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; }
.em-episode-panel__head h2 { margin: 0; font-family: var(--em-display); font-size: 1rem; }
.em-episode-panel__head > div > span { display: block; color: var(--em-text-muted); font-size: .7rem; }
.em-episode-panel__body { display: none; max-height: 46vh; padding: 0 14px 14px; overflow-y: auto; }
.em-episode-panel.is-open .em-episode-panel__body { display: block; }
.em-play-source + .em-play-source { margin-top: 14px; }
.em-play-source h3 { margin: 0 0 8px; color: var(--em-text-soft); font-size: .78rem; }
.em-episode-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--em-accent-strong); cursor: pointer; }
.em-episode-toggle svg { transition: transform .25s var(--em-ease); }
.em-episode-panel.is-open .em-episode-toggle svg { transform: rotate(180deg); }
.em-play-content { padding-top: 20px; }
.em-now-playing { display: grid; gap: 12px; padding: 16px 0; border-block: 1px solid var(--em-line-soft); }
.em-now-playing h2 { margin: 0; font-family: var(--em-display); font-size: clamp(1.3rem, 3vw, 2rem); }
.em-now-playing p { max-width: 70ch; margin: 4px 0 0; color: var(--em-text-muted); font-size: .86rem; }
.em-now-playing .em-meta { margin: 0; align-self: center; }
.em-play-stack { display: grid; gap: 18px; }
.em-detail-mobile-play { position: fixed; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; z-index: 70; display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--em-accent-strong); border-radius: 8px; background: var(--em-accent); color: var(--em-accent-ink); font-weight: 900; box-shadow: 0 16px 40px rgba(7, 8, 4, .42); }
.em-third-party { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--em-bg-deep); }
.em-third-party__poster { position: absolute; inset: -8%; background-position: center; background-size: cover; filter: blur(22px) saturate(.55); opacity: .24; }
.em-third-party__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 8, .96), rgba(11, 13, 8, .7)); }
.em-third-party__content { position: relative; z-index: 1; display: grid; height: 100%; align-content: center; justify-items: start; gap: 14px; padding: clamp(18px, 5vw, 64px); }
.em-third-party__content > div { max-width: 680px; }
.em-third-party__mark { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--em-accent); border-radius: 50%; color: var(--em-accent-strong); }
.em-third-party__label { color: var(--em-accent-strong); font-size: .75rem; font-weight: 800; }
.em-third-party h2 { margin: 4px 0; font-family: var(--em-display); font-size: clamp(1.4rem, 4vw, 2.6rem); }
.em-third-party p { margin: 0; color: var(--em-text-soft); font-size: .84rem; }

/* 资讯编辑排版 */
.subsite-art-page, .subsite-art-detail-page { min-height: 65vh; }
.subsite-art-page .em-art-layout, .subsite-art-detail-page .em-art-layout { padding-top: 10px; }
.em-art-page-head { padding: clamp(34px, 7vw, 86px) 0 24px; border-bottom: 1px solid var(--em-line-soft); background: var(--em-bg-deep); }
.em-art-page-head h1 { margin: 0 0 20px; font-family: var(--em-display); font-size: clamp(2.2rem, 7vw, 4.8rem); letter-spacing: -.05em; line-height: 1; }
.em-art-page-head nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.em-art-page-head nav::-webkit-scrollbar { display: none; }
.em-art-page-head nav a { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; padding: 0 12px; border-bottom: 1px solid transparent; color: var(--em-text-muted); font-size: .82rem; }
.em-art-page-head nav a.active, .em-art-page-head nav a:hover { border-color: var(--em-accent); color: var(--em-accent-strong); }
.em-art-layout { display: grid; padding-block: clamp(28px, 5vw, 72px); gap: 28px; }
.em-art-main { min-width: 0; }
.subsite-art-list .art-list { display: grid; margin: 0; padding: 0; gap: 0; list-style: none; }
.em-art-card a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--em-line-soft); border-radius: 0; background: transparent; }
.em-art-card:first-child a { padding-top: 0; }
.em-art-card__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 9px; background: var(--em-surface-2); }
.em-art-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.em-art-card__body { display: grid; min-width: 0; align-content: center; gap: 5px; }
.em-art-card__body strong { font-family: var(--em-display); font-size: 1rem; line-height: 1.4; white-space: normal; }
.em-art-card__body em { color: var(--em-accent-strong); font-size: .7rem; font-style: normal; }
.em-art-card__body p { margin: 0; color: var(--em-text-muted); display: -webkit-box; overflow: hidden; font-size: .78rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-art-sidebar { display: grid; align-self: start; gap: 16px; }
.em-art-side-card { padding: 18px; border-radius: var(--em-radius-md); }
.em-art-side-card h2 { margin: 0 0 12px; font-family: var(--em-display); font-size: 1.25rem; }
.em-art-side-list { margin: 0; padding: 0; list-style: none; }
.em-art-side-list li a { display: grid; min-height: 45px; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--em-line-soft); }
.em-art-side-list li span { color: var(--em-accent-strong); font-family: Georgia, serif; }
.em-art-side-list li strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.em-art-side-list li em { color: var(--em-text-muted); font-size: .68rem; font-style: normal; }
.subsite-art-detail { padding: 10px clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px); border-radius: var(--em-radius-lg); }
.subsite-art-detail__header { max-width: 760px; margin-inline: auto; }
.subsite-art-detail__header h1 { margin: 18px 0 12px; font-family: var(--em-display); font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.045em; line-height: 1.13; }
.subsite-art-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subsite-art-nav a { min-height: 38px; flex: 0 0 auto; padding: 7px 11px; color: var(--em-text-muted); }
.subsite-art-nav a.active, .subsite-art-nav a:hover { border-color: var(--em-accent); background: var(--em-accent); color: var(--em-accent-ink); font-weight: 800; }
.subsite-art-detail__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--em-text-muted); font-size: .76rem; }
.subsite-art-detail__content { max-width: none; margin: 36px 0 0; color: var(--em-text-soft); font-size: 1rem; line-height: 2; }
.subsite-art-detail__content img { height: auto; border-radius: 8px; }
.subsite-art-detail__content h2, .subsite-art-detail__content h3 { color: var(--em-text); font-family: var(--em-display); }
.em-art-neighbor, .em-art-related { max-width: 760px; margin-inline: auto; }
.em-art-neighbor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.em-art-neighbor__item { display: grid; min-width: 0; gap: 4px; padding: 12px; border: 1px solid var(--em-line-soft); background: var(--em-surface-2); }
.em-art-neighbor__item > span, .em-art-related h2 { color: var(--em-accent-strong); }
.em-art-neighbor__item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-art-neighbor__item.is-disabled { opacity: .55; }
.em-art-related { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--em-line-soft); }
.em-art-related h2 { margin: 0 0 10px; font-family: var(--em-display); font-size: 1.25rem; }
.em-art-related__list { display: grid; gap: 6px; }
.em-art-related__item { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--em-line-soft); }
.em-art-related__pic { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--em-surface-2); }
.em-art-related__pic img { width: 100%; height: 100%; object-fit: cover; }
.em-art-related__copy { display: grid; min-width: 0; gap: 4px; }
.em-art-related__copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-art-related__copy em { display: -webkit-box; overflow: hidden; color: var(--em-text-muted); font-size: .75rem; font-style: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-art-vod-list { display: grid; gap: 4px; }
.em-art-vod-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--em-line-soft); }
.em-art-vod-item__pic { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 5px; background: var(--em-surface-2); }
.em-art-vod-item__pic img { width: 100%; height: 100%; object-fit: cover; }
.em-art-vod-item__copy { display: grid; min-width: 0; gap: 3px; }
.em-art-vod-item__copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-art-vod-item__copy em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }

/* 排行榜 */
.em-rank-hero__inner { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.em-rank-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--em-line); background: var(--em-surface-1); }
.em-rank-tabs__btn { min-height: 40px; padding: 0 15px; border: 0; background: transparent; color: var(--em-text-muted); cursor: pointer; }
.em-rank-tabs__btn.is-active { background: var(--em-accent); color: var(--em-accent-ink); font-weight: 900; }
.em-rank-panel { display: none; }
.em-rank-panel.is-active { display: block; }
.em-rank-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.em-rank-card { padding: 14px; border-radius: 8px; }
.em-rank-card__head { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--em-line-soft); }
.em-rank-card__head h2 { margin: 0; font-family: var(--em-display); font-size: 1.2rem; }
.em-rank-card__head a { color: var(--em-accent-strong); font-size: .76rem; }
.em-rank-card ol { list-style: none; }
.em-rank-card li a { display: grid; min-height: 58px; grid-template-columns: 28px 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--em-line-soft); }
.em-rank-index { color: var(--em-text-muted); font-variant-numeric: tabular-nums; font-weight: 900; text-align: center; }
.em-rank-card li:nth-child(-n+3) .em-rank-index { color: var(--em-accent-strong); font-size: 1.1rem; }
.em-rank-thumb { width: 38px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: var(--em-surface-2); }
.em-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.em-rank-copy { display: grid; min-width: 0; gap: 2px; }
.em-rank-copy strong, .em-rank-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-rank-copy em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }
.em-rank-score { color: var(--em-accent-strong); font-variant-numeric: tabular-nums; }

/* 页脚与认证长尾 */
.em-footer { margin-top: clamp(28px, 6vw, 80px); border-top: 1px solid var(--em-line); background: var(--em-bg-deep); }
.em-footer__grid { display: grid; padding-block: 42px; gap: 28px; }
.em-footer__brand strong { display: block; margin: 0 0 10px; font-family: var(--em-display); font-size: 1.8rem; }
.em-footer__brand p { max-width: 46ch; margin: 0; color: var(--em-text-muted); font-size: .84rem; }
.em-footer__links, .em-footer__meta { display: grid; align-content: start; gap: 8px; color: var(--em-text-muted); font-size: .8rem; }
.em-footer__links strong, .em-footer__meta strong { margin-bottom: 5px; color: var(--em-text-soft); font-size: .78rem; letter-spacing: .08em; }
.em-footer__links a:hover, .em-footer__meta a:hover { color: var(--em-accent-strong); }
.em-footer__bottom { border-top: 1px solid var(--em-line-soft); }
.em-footer__bottom .em-shell { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 20px; color: var(--em-text-muted); font-size: .7rem; }
.em-footer__stat { grid-column: 1 / -1; }
.em-auth-page { min-height: 100vh; padding: 12px 0; background: var(--em-bg-deep); }
.em-auth-shell { display: grid; overflow: hidden; border: 1px solid var(--em-line); border-radius: var(--em-radius-xl); background: var(--em-surface-1); }
.em-auth-stage { display: grid; min-height: 250px; align-content: space-between; gap: 28px; padding: 22px; background: var(--em-bg-deep); }
.em-auth-stage__brand { display: inline-flex; width: fit-content; align-items: center; }
.em-auth-stage__logo { max-width: 180px; max-height: 56px; object-fit: contain; }
.em-brand__text { overflow: hidden; max-width: 180px; text-overflow: ellipsis; white-space: nowrap; font-weight: 900; }
.em-auth-stage__eyebrow, .em-auth-panel__head > span { color: var(--em-accent-strong); font-size: .75rem; font-weight: 900; }
.em-auth-stage__copy h1, .em-auth-panel h1, .em-auth-panel h2 { margin: 6px 0 10px; font-family: var(--em-display); }
.em-auth-stage__copy p { max-width: 54ch; color: var(--em-text-muted); }
.em-auth-stage__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.em-auth-stage__meta span { padding: 4px 9px; border: 1px solid var(--em-line); color: var(--em-text-soft); font-size: .72rem; }
.em-auth-panel { padding: 22px; }
.em-auth-panel__head { margin-bottom: 16px; }
.em-auth-form { display: grid; gap: 12px; }
.em-auth-field { display: grid; gap: 5px; }
.em-auth-field > span, .em-auth-field label > span { color: var(--em-text-soft); font-size: .78rem; font-weight: 800; }
.em-auth-field input { width: 100%; min-width: 0; min-height: 46px; padding: 0 12px; border: 1px solid var(--em-line); border-radius: 6px; outline: 0; background: var(--em-surface-2); color: var(--em-text); }
.em-auth-field input:focus { border-color: var(--em-accent); box-shadow: 0 0 0 3px rgba(217, 255, 67, .14); }
.em-auth-field--inline { display: grid; grid-template-columns: minmax(0, 1fr) 128px; align-items: end; gap: 8px; }
.em-auth-field--inline label { display: grid; gap: 5px; }
.em-auth-verify { width: 128px; height: 46px; object-fit: contain; background: var(--em-text); }
.em-auth-submit, .em-auth-send { min-height: 46px; border: 0; border-radius: 6px; background: var(--em-accent); color: var(--em-accent-ink); cursor: pointer; font-weight: 900; }
.em-auth-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.em-auth-links a { color: var(--em-accent-strong); font-size: .82rem; }
.em-auth-oauth { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--em-line-soft); }
.em-auth-oauth h3 { margin: 0 0 10px; font-size: .88rem; }
.em-auth-oauth__list { display: flex; gap: 8px; }
.em-auth-oauth__item { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--em-line); border-radius: 50%; }
.em-auth-error, .em-auth-notice { display: none; padding: 9px 10px; border: 1px solid var(--em-danger); color: var(--em-text); font-size: .78rem; }
.em-auth-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.em-auth-step { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--em-line); border-radius: 50%; }
.em-auth-step.is-active { border-color: var(--em-accent); background: var(--em-accent); color: var(--em-accent-ink); }
.em-auth-steps i { height: 1px; flex: 1; background: var(--em-line); }
.em-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.em-auth, .em-box, .em-comment, .em-form, .em-card { padding: 16px; border: 1px solid var(--em-line-soft); background: var(--em-surface-1); }
.em-unavailable { display: grid; min-height: 70vh; place-items: center; padding: 24px; }
.em-unavailable__box { max-width: 560px; text-align: center; }
.em-unavailable__box h1 { margin-bottom: 8px; font-family: var(--em-display); font-size: clamp(2rem, 8vw, 4rem); }
.em-unavailable__box p { margin-bottom: 16px; color: var(--em-text-muted); }
.em-simple-grid, .em-list { display: grid; gap: 12px; }
.em-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; }
.em-page-hero { padding: 24px 0; border-bottom: 1px solid var(--em-line-soft); background: var(--em-bg-deep); }
.em-page-hero h1 { font-family: var(--em-display); }
.em-detail { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.em-poster, .em-card__pic { aspect-ratio: 2 / 3; overflow: hidden; background: var(--em-surface-2); }
.em-poster img, .em-card__pic img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 480px) {
    .em-vod-grid, .em-card-grid, .em-channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .em-home-journal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .em-detail-hero__grid { grid-template-columns: 138px minmax(0, 1fr); }
    .em-detail-recommend-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .em-filter__mobile-toggle { display: none; }
    .em-filter__body { display: block; padding-top: 0; }
    .em-header__inner { min-height: 68px; grid-template-columns: auto minmax(260px, 460px) auto; }
    .em-search--header { display: flex; width: 100%; justify-self: center; }
    .em-icon-action--rank { display: grid; }
    .em-hero__slides { aspect-ratio: 21 / 8; min-height: 0; }
    .em-hero__content { padding: 44px 38px 78px; }
    .em-hero__controls { right: 30px; bottom: 24px; left: 38px; }
    .em-vod-grid, .em-card-grid, .em-channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .em-trending__list { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); grid-template-rows: repeat(6, minmax(58px, auto)); gap: 0 24px; }
    .em-trending__item:first-child { grid-row: 1 / 7; display: block; min-height: 520px; padding: 0; overflow: hidden; border: 0; border-radius: var(--em-radius-lg); }
    .em-trending__item:first-child .em-trending__pic { position: absolute; inset: 0; display: block; }
    .em-trending__item:first-child::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 13, 8, .96), transparent 68%); content: ""; }
    .em-trending__item:first-child .em-trending__rank { position: absolute; top: 18px; left: 18px; z-index: 2; color: var(--em-accent-strong); font-size: 2.2rem; }
    .em-trending__item:first-child .em-trending__copy { position: absolute; right: 24px; bottom: 26px; left: 24px; z-index: 2; }
    .em-trending__item:first-child .em-trending__copy strong { font-family: var(--em-display); font-size: 2rem; }
    .em-trending__item:first-child .em-trending__score { position: absolute; right: 20px; bottom: 28px; z-index: 2; }
    .em-trending__item:not(:first-child) { grid-column: 2; }
    .em-detail-hero__grid { grid-template-areas: "poster body" "poster facts"; grid-template-columns: 220px minmax(0, 1fr); gap: 22px 34px; }
    .em-detail-body { display: block; align-self: end; }
    .em-detail-facts { grid-area: facts; padding-top: 18px; }
    .em-detail-facts dl { grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; }
    .em-detail-main > p { font-size: 1rem; -webkit-line-clamp: 3; }
    .em-detail-recommend-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .em-detail-mobile-play { display: none; }
    .em-episode-panel__body { display: block; max-height: 360px; }
    .em-episode-toggle { display: none; }
    .em-now-playing { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .em-rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .em-auth-page { padding: clamp(24px, 5vw, 56px) 0; }
    .em-auth-shell { grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); }
    .em-auth-stage { min-height: 620px; padding: clamp(28px, 4vw, 52px); }
    .em-auth-panel { padding: clamp(24px, 4vw, 42px); }
    .em-art-card a { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; padding: 20px 0; }
    .em-art-card__body strong { font-size: 1.3rem; }
    .em-art-card__body p { font-size: .86rem; }
    .subsite-art-list .art-list > .em-art-card:first-child a { grid-template-columns: 1fr; padding-bottom: 28px; }
    .subsite-art-list .art-list > .em-art-card:first-child .em-art-card__pic { aspect-ratio: 16 / 7; border-radius: var(--em-radius-lg); }
    .subsite-art-list .art-list > .em-art-card:first-child .em-art-card__body strong { font-size: clamp(1.65rem, 3vw, 2.35rem); }
    .em-footer__grid { grid-template-columns: minmax(0, 1.8fr) minmax(150px, .6fr) minmax(210px, .7fr); padding-block: 64px; }
}

@media (min-width: 1360px) {
    .em-header__inner { min-height: 64px; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px) auto; }
    .em-menu-btn, .em-nav__drawer-head, .em-search--drawer, .em-drawer-backdrop { display: none; }
    .em-nav { position: static; display: flex; width: 100%; height: 64px; min-width: 0; padding: 0; overflow: visible; flex-direction: row; align-items: center; gap: 0; border: 0; background: transparent; box-shadow: none; transform: none; visibility: visible; }
    .em-nav > a, .em-nav__link { min-height: 63px; padding: 0 9px; border-radius: 0; font-size: .78rem; white-space: nowrap; }
    .em-nav > a.active, .em-nav > a:hover, .em-nav__item.is-active .em-nav__link { background: transparent; box-shadow: inset 0 -2px var(--em-accent); }
    .em-nav__row { height: 64px; }
    .em-nav__toggle { width: 28px; height: 44px; flex-basis: 28px; }
    .em-nav__toggle svg { width: .9em; height: .9em; transform: rotate(90deg); }
    .em-nav__item { position: relative; }
    .em-nav__dropdown { position: absolute; top: calc(100% - 1px); left: 0; display: grid; width: 260px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; border: 1px solid var(--em-line); border-radius: 0 0 12px 12px; background: var(--em-surface-1); box-shadow: var(--em-shadow-lg); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .25s var(--em-ease); }
    .em-nav__item:hover .em-nav__dropdown, .em-nav__item:focus-within .em-nav__dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .em-nav__divider { width: 1px; height: 20px; margin: 0 5px; }
    .em-hero__layout { display: block; }
    .em-hero__slides { aspect-ratio: 21 / 8; }
    .em-hero__queue { margin-top: 8px; padding: 8px; }
    .em-hero__queue-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; gap: 6px; }
    .em-hero__queue-item { min-width: 0; min-height: 64px; grid-template-columns: 24px 46px minmax(0, 1fr); }
    .em-hero__queue-pic { height: 50px; }
    .em-vod-grid, .em-card-grid, .em-channel-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .em-home-channel__body { grid-template-columns: minmax(0, 1fr) 300px; }
    .em-home-journal__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .em-detail-facts dl { grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr); gap: 10px 20px; }
    .em-detail-recommend-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .em-art-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; }
    .em-art-sidebar { position: sticky; top: 80px; }
    .em-rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .em-brand__logo { max-width: 180px; }
    .em-brand__copy strong { max-width: 190px; font-size: 1.12rem; }
    .em-nav > a, .em-nav__link { padding-inline: 11px; }
    .em-vod-grid, .em-card-grid, .em-channel-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .em-vod-grid--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .em-home-channel__body { grid-template-columns: minmax(0, 1fr) 320px; }
    .em-detail-hero__grid { grid-template-columns: 280px minmax(0, 1fr); column-gap: 46px; }
}

@media (min-width: 1500px) {
    .em-vod-grid, .em-card-grid, .em-channel-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .em-vod-grid--compact { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 1359.98px) {
    .em-header { overflow: visible; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .em-menu-btn { display: grid; }
    .em-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        z-index: 92;
        display: flex;
        width: min(88vw, 380px);
        min-width: 0;
        max-height: none;
        margin: 0;
        padding: max(20px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        border: 0;
        border-left: 1px solid var(--em-line);
        border-radius: 0;
        background: var(--em-bg-deep);
        box-shadow: -30px 0 80px rgba(7, 8, 4, .5);
        transform: translate3d(105%, 0, 0);
        visibility: hidden;
        pointer-events: none;
    }
    .em-nav.is-open {
        display: flex;
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }
    .em-drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 79;
        width: 100vw;
        height: 100dvh;
        margin: 0;
        border-radius: 0;
    }
}

@media (max-width: 767.98px) {
    .em-hero { padding-top: 12px; }
    .em-hero__layout { gap: 0; }
    .em-hero__stage { min-height: 0; border-radius: 16px; }
    .em-hero__slides { height: auto; aspect-ratio: 16 / 11; min-height: 0; }
    .em-hero__queue { display: block; margin-top: 8px; padding: 6px; border-radius: 8px; }
    .em-hero__queue-item { min-width: min(68vw, 230px); }
    .em-hero__content { padding: 22px 16px 64px; }
    .em-hero h1 { max-width: 12ch; margin: 0 0 10px; font-size: clamp(2rem, 9vw, 2.7rem); line-height: 1; }
    .em-hero__content > p { display: none; }
    .em-meta { margin-bottom: 14px; gap: 5px; }
    .em-meta span, .em-meta a, .em-meta strong { min-height: 26px; padding-inline: 8px; font-size: .72rem; }
    .em-hero__actions { gap: 7px; }
    .em-btn { min-height: 42px; padding-inline: 14px; }
    .em-hero__controls { right: 14px; bottom: 12px; left: 16px; gap: 10px; }
    .em-hero__arrows button { width: 40px; height: 40px; }
    .em-detail-page > .em-section { padding: 18px 0 28px; }
    .em-detail-hero { padding: 20px 0 24px; }
    .em-detail-hero__grid { gap: 16px 14px; }
    .em-detail-main h1 { font-size: clamp(1.65rem, 7vw, 2.15rem); line-height: 1.08; }
    .em-detail-main > p { display: none; }
    .em-detail-facts dl { grid-template-columns: minmax(68px, max-content) minmax(0, 1fr); gap: 8px 10px; }
    .em-detail-stack { gap: 14px; }
    .em-detail-stack .em-panel { overflow: hidden; padding: 16px; border-radius: 14px; }
    .em-detail-stack .em-panel h2 { margin-bottom: 13px; font-size: 1.35rem; }
    .em-source-panel h2 > span:last-child { min-width: 0; overflow-wrap: anywhere; }
    .em-copy { font-size: .94rem; line-height: 1.8; }
    .em-player-stage { padding-top: 0; }
    .em-player-shell { width: 100%; }
    .em-player-heading { padding-inline: 12px; }
    .em-episode-panel { border-inline: 0; }
    .em-third-party__content { gap: 9px; padding: 16px; }
    .em-third-party__mark { width: 42px; height: 42px; }
    .em-third-party p { display: none; }
    .em-rank-hero__inner { align-items: stretch; flex-direction: column; }
    .em-rank-tabs { width: 100%; overflow-x: auto; }
    .em-rank-tabs__btn { flex: 1 0 auto; }
    .em-art-neighbor { grid-template-columns: 1fr; }
    .em-auth-stage__copy p, .em-auth-stage__meta { display: none; }
}

@media (max-width: 420px) {
    .em-hero__slides { height: 300px; }
    .em-hero__content { padding-right: 12px; padding-left: 12px; }
    .em-hero__actions .em-btn--ghost { display: none; }
}

@media (hover: hover) and (pointer: fine) {
    .em-vod-card:hover .em-vod-card__pic img, .em-home-journal__grid > a:hover img, .em-trending__item:hover .em-trending__pic img { transform: scale(1.045); }
    .em-vod-card:hover h3, .em-home-journal__grid > a:hover strong { color: var(--em-accent-strong); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Ember V2：黑曜票根视觉与独立页面构图 */
body {
    background:
        linear-gradient(90deg, transparent 0 calc(100% - 1px), var(--em-line-soft) calc(100% - 1px)) 0 0 / 96px 100%,
        var(--em-bg);
}
.em-header { border-bottom-color: var(--em-accent); background: rgba(13, 14, 13, .97); }
.em-brand__mark { border: 0; border-radius: 0; background: var(--em-accent); color: var(--em-accent-ink); transform: none; }
.em-brand__copy small { color: var(--em-accent-strong); letter-spacing: .06em; }
.em-nav > a.active, .em-nav > a:hover, .em-nav__item.is-active .em-nav__link { color: var(--em-accent); }
.em-search { border-radius: 0; }
.em-search button { color: var(--em-accent-ink); }
.em-action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid currentColor; font-weight: 900; }
.em-action--acid { border-color: var(--em-accent); background: var(--em-accent); color: var(--em-accent-ink); }
.em-action--dark { border-color: var(--em-bg-deep); background: var(--em-bg-deep); color: var(--em-text); }
.em-action--line { border-color: var(--em-bg-deep); color: var(--em-bg-deep); }
.em-action--transparent { border-color: var(--em-line); color: var(--em-text); }

/* 首页主推：左侧酸色字幕板，右侧全幅影像 */
.em-cinema-hero { position: relative; overflow: hidden; background: var(--em-bg-deep); }
.em-cinema-hero__slides { position: relative; min-height: clamp(560px, 78vh, 820px); }
.em-cinema-hero__slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); opacity: 0; pointer-events: none; }
.em-cinema-hero__slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.em-cinema-hero__copy { position: relative; z-index: 2; display: grid; min-width: 0; grid-template-columns: 76px minmax(0, 1fr); align-content: center; gap: 24px; padding: clamp(32px, 5vw, 88px); background: var(--em-accent); color: var(--em-accent-ink); }
.em-cinema-hero__number { align-self: start; padding-top: 8px; border-top: 4px solid currentColor; font-size: clamp(2.4rem, 5vw, 5.5rem); font-weight: 950; line-height: .8; }
.em-cinema-hero__words { max-width: 660px; }
.em-cinema-hero__type { font-size: .78rem; font-weight: 950; letter-spacing: .16em; }
.em-cinema-hero h1 { max-width: 9ch; margin: 14px 0 20px; font-size: clamp(3.6rem, 7vw, 8.6rem); font-weight: 950; letter-spacing: -.08em; line-height: .84; }
.em-cinema-hero__words > p { max-width: 45ch; margin: 0 0 20px; font-weight: 700; line-height: 1.7; }
.em-cinema-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .78rem; }
.em-cinema-hero__facts strong { color: #8d210f; }
.em-cinema-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.em-cinema-hero__visual { position: relative; min-width: 0; overflow: hidden; background: var(--em-surface-2); }
.em-cinema-hero__visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 14, 13, .12), transparent 36%), linear-gradient(0deg, rgba(13, 14, 13, .75), transparent 35%); content: ""; }
.em-cinema-hero__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.em-cinema-hero__visual > span { position: absolute; right: 24px; bottom: 22px; z-index: 2; padding: 7px 11px; background: var(--em-danger); color: var(--em-text); font-size: .75rem; font-weight: 950; }
.em-cinema-hero__footer { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: end; gap: 20px; padding-bottom: 16px; pointer-events: none; }
.em-cinema-hero__tickets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--em-line); background: var(--em-bg-deep); pointer-events: auto; }
.em-cinema-ticket { display: grid; min-width: 0; min-height: 68px; grid-template-columns: 28px minmax(0, 1fr); align-content: center; gap: 2px 8px; padding: 9px 11px; border: 0; border-right: 1px dashed var(--em-line); background: transparent; color: var(--em-text-muted); cursor: pointer; text-align: left; }
.em-cinema-ticket:last-child { border-right: 0; }
.em-cinema-ticket > span { grid-row: 1 / 3; color: var(--em-accent); font-weight: 950; }
.em-cinema-ticket strong, .em-cinema-ticket em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-cinema-ticket strong { color: var(--em-text); font-size: .78rem; }
.em-cinema-ticket em { font-size: .66rem; font-style: normal; }
.em-cinema-ticket.is-active { background: var(--em-text); color: var(--em-bg-deep); }
.em-cinema-ticket.is-active strong, .em-cinema-ticket.is-active span { color: var(--em-bg-deep); }
.em-cinema-hero__nav { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--em-bg-deep); pointer-events: auto; }
.em-cinema-hero__nav button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--em-line); border-radius: 0; background: transparent; color: var(--em-text); cursor: pointer; }
.em-cinema-hero__progress { height: 3px; overflow: hidden; flex: 1; background: var(--em-line); }
.em-cinema-hero__progress span { display: block; width: 100%; height: 100%; background: var(--em-accent); transform: scaleX(0); transform-origin: left; }
.em-cinema-hero__progress span.is-running { animation: em-hero-progress 6.2s linear both; }
.em-type-marquee { border-block: 1px solid var(--em-line); background: var(--em-text); color: var(--em-bg-deep); }
.em-type-marquee__track { display: flex; min-height: 74px; align-items: stretch; overflow-x: auto; }
.em-type-marquee__track > span, .em-type-marquee a { display: inline-flex; min-width: 150px; flex: 0 0 auto; align-items: center; gap: 12px; padding: 0 18px; border-right: 1px solid var(--em-bg-deep); font-weight: 950; }
.em-type-marquee__track > span { background: var(--em-danger); color: var(--em-text); }
.em-type-marquee b { font-size: .7rem; }

/* 首页内容账本 */
.em-home-block, .em-home-floors, .em-detail-more { padding: clamp(40px, 6vw, 88px) 0; border-top: 1px solid var(--em-line); }
.em-block-title { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: end; gap: 18px; margin-bottom: 22px; }
.em-block-title > span { color: var(--em-accent); font-size: .72rem; font-weight: 950; }
.em-block-title h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 6.4rem); font-weight: 950; letter-spacing: -.07em; line-height: .85; }
.em-block-title a { min-height: 44px; align-content: center; border-bottom: 1px solid var(--em-accent); font-size: .78rem; }
.em-hot-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--em-text); }
.em-hot-board__item { position: relative; display: grid; min-height: 96px; grid-template-columns: 54px 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border-bottom: 1px solid var(--em-line); }
.em-hot-board__item:nth-child(odd) { border-right: 1px solid var(--em-line); }
.em-hot-board__index { color: var(--em-accent); font-size: 1.35rem; font-weight: 950; }
.em-hot-board__image { height: 74px; overflow: hidden; clip-path: polygon(0 0,100% 0,100% 82%,88% 100%,0 100%); }
.em-hot-board__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); }
.em-hot-board__copy { display: grid; min-width: 0; gap: 2px; }
.em-hot-board__copy strong { overflow: hidden; font-size: 1.1rem; text-overflow: ellipsis; white-space: nowrap; }
.em-hot-board__copy em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }
.em-hot-board__item > b { color: var(--em-danger); font-size: 1.25rem; }
.em-poster-wall, .em-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--em-line-soft); }
.em-poster-wall .em-vod-card, .em-directory-grid .em-vod-card { background: var(--em-bg); }
.em-vod-card { position: relative; }
.em-vod-card > a { position: relative; padding: 8px; }
.em-vod-card__serial { position: absolute; top: 12px; left: 12px; z-index: 4; color: var(--em-accent); font-size: .7rem; font-weight: 950; }
.em-vod-card__pic { border-radius: 0; clip-path: polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%); }
.em-vod-card__note, .em-vod-card__score { border-radius: 0; }
.em-vod-card__score { background: var(--em-danger); color: var(--em-text); }
.em-vod-card__body { padding: 8px 2px 3px; }
.em-vod-card h3 { font-family: var(--em-body); font-size: .86rem; font-weight: 900; }
.em-home-floor { display: grid; grid-template-columns: 160px minmax(0, 1.25fr) minmax(0, 1.75fr) 260px; gap: 1px; border-top: 1px solid var(--em-line); background: var(--em-line-soft); }
.em-home-floor + .em-home-floor { margin-top: 32px; }
.em-home-floor > * { background: var(--em-bg); }
.em-home-floor__label { display: grid; align-content: space-between; min-height: 420px; padding: 18px; }
.em-home-floor__label > span { color: var(--em-accent); font-size: 2.5rem; font-weight: 950; }
.em-home-floor__label h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.6rem); letter-spacing: -.08em; line-height: .85; writing-mode: vertical-rl; }
.em-home-floor__label a { color: var(--em-text-muted); font-size: .72rem; }
.em-home-floor__lead { min-width: 0; overflow: hidden; }
.em-home-floor__lead > a { position: relative; display: block; height: 100%; min-height: 420px; }
.em-home-floor__lead img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.em-home-floor__lead span { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 4px; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(13,14,13,.92)); }
.em-home-floor__lead strong { font-size: 1.5rem; }
.em-home-floor__lead em { color: var(--em-text-soft); font-size: .75rem; font-style: normal; }
.em-home-floor__posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--em-line-soft); }
.em-home-floor__posters .em-vod-card { background: var(--em-bg); }
.em-home-floor__rank { margin: 0; padding: 12px; list-style: none; }
.em-home-floor__rank li a { display: grid; min-height: 58px; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px dashed var(--em-line); }
.em-home-floor__rank span { color: var(--em-accent); font-weight: 950; }
.em-home-floor__rank strong, .em-home-floor__rank em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-home-floor__rank em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }
.em-news-ledger { border-top: 3px solid var(--em-text); }
.em-news-ledger > a { display: grid; min-height: 76px; grid-template-columns: 48px 180px minmax(0, 1fr) 110px; align-items: center; gap: 14px; border-bottom: 1px solid var(--em-line); }
.em-news-ledger > a > span { color: var(--em-accent); font-weight: 950; }
.em-news-ledger em { color: var(--em-text-muted); font-size: .72rem; font-style: normal; }
.em-news-ledger strong { font-size: 1.05rem; }
.em-news-ledger img { width: 110px; height: 60px; object-fit: cover; }

/* 频道目录与筛选控制台 */
.em-directory-head { padding: clamp(42px, 7vw, 108px) 0 24px; border-bottom: 1px solid var(--em-line); background: var(--em-text); color: var(--em-bg-deep); }
.em-directory-head .em-shell { display: grid; grid-template-columns: 120px minmax(0, 1fr) 300px; align-items: end; gap: 18px; }
.em-directory-head span { color: #8d210f; font-size: .72rem; font-weight: 950; }
.em-directory-head h1 { margin: 0; font-size: clamp(4rem, 11vw, 11rem); font-weight: 950; letter-spacing: -.09em; line-height: .72; }
.em-directory-head p { margin: 0; padding-bottom: 6px; font-weight: 700; }
.em-directory-body { padding: 14px 0 56px; }
.em-filter { border: 0; border-radius: 0; background: var(--em-bg-deep); }
.em-filter__row { grid-template-columns: 110px minmax(0, 1fr); border-top: 1px dashed var(--em-line); }
.em-filter__row strong { color: var(--em-accent); font-weight: 950; }
.em-filter__items a { border-radius: 0; }
.em-filter__items a:hover, .em-filter__items a.active { background: var(--em-accent); color: var(--em-accent-ink); }
.em-directory-toolbar { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; border-top: 3px solid var(--em-text); }
.em-directory-toolbar strong { font-size: 1.4rem; }
.em-directory-toolbar span { color: var(--em-text-muted); font-size: .72rem; }
.em-directory-grid .em-vod-card:nth-child(9n+1), .em-poster-wall .em-vod-card:nth-child(11n+1) { grid-column: span 2; }
.em-directory-grid .em-vod-card:nth-child(9n+1) .em-vod-card__pic, .em-poster-wall .em-vod-card:nth-child(11n+1) .em-vod-card__pic { aspect-ratio: 16 / 10; }

/* 详情页：横向影片板 + 资料台 */
.em-feature-sheet { position: relative; min-height: 720px; overflow: hidden; background: var(--em-bg-deep); }
.em-feature-sheet__image { position: absolute; inset: 0 0 0 38%; }
.em-feature-sheet__image::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--em-bg-deep), transparent 45%), linear-gradient(0deg, var(--em-bg-deep), transparent 45%); content: ""; }
.em-feature-sheet__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.08); }
.em-feature-sheet__layout { position: relative; z-index: 2; display: grid; min-height: 720px; grid-template-columns: 210px minmax(0, 1fr) 190px; grid-template-areas: "poster title score" "poster facts facts"; align-content: center; gap: 18px 32px; }
.em-feature-sheet__poster { grid-area: poster; position: relative; align-self: center; }
.em-feature-sheet__poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; clip-path: polygon(0 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%); }
.em-feature-sheet__poster span { position: absolute; right: -8px; bottom: 20px; padding: 6px 10px; background: var(--em-danger); color: var(--em-text); font-size: .7rem; font-weight: 950; }
.em-feature-sheet__title { grid-area: title; align-self: end; max-width: 780px; }
.em-feature-sheet__category { color: var(--em-accent); font-size: .75rem; font-weight: 950; letter-spacing: .12em; }
.em-feature-sheet__title h1 { max-width: 10ch; margin: 10px 0 18px; font-size: clamp(4rem, 8vw, 9rem); font-weight: 950; letter-spacing: -.09em; line-height: .78; }
.em-feature-sheet__title p { max-width: 54ch; margin: 0; color: var(--em-text-soft); }
.em-feature-sheet__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.em-feature-sheet__score { grid-area: score; align-self: end; display: grid; justify-items: end; padding-bottom: 12px; border-bottom: 4px solid var(--em-accent); }
.em-feature-sheet__score span, .em-feature-sheet__score em { color: var(--em-text-muted); font-size: .68rem; font-style: normal; }
.em-feature-sheet__score strong { color: var(--em-accent); font-size: clamp(3rem, 6vw, 6rem); line-height: .9; }
.em-feature-sheet__facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; border-top: 1px solid var(--em-line); border-left: 1px solid var(--em-line); }
.em-feature-sheet__facts > div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--em-line); border-bottom: 1px solid var(--em-line); }
.em-feature-sheet__facts dt { color: var(--em-accent); font-size: .66rem; font-weight: 950; }
.em-feature-sheet__facts dd { min-width: 0; margin: 3px 0 0; overflow-wrap: anywhere; color: var(--em-text-soft); font-size: .78rem; }
.em-detail-desk { padding: 18px 0 54px; }
.em-detail-desk__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1px; background: var(--em-line-soft); }
.em-detail-desk__main, .em-detail-desk__side { background: var(--em-bg); }
.em-play-console, .em-story-sheet { padding: clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--em-line); }
.em-play-console > header, .em-story-sheet > header { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 18px; }
.em-play-console > header > span, .em-story-sheet > header > span { color: var(--em-accent); font-size: 1.8rem; font-weight: 950; }
.em-play-console h2, .em-story-sheet h2 { margin: 0; font-size: 2rem; }
.em-play-console header p { margin: 0; color: var(--em-text-muted); font-size: .72rem; }
.em-play-console__source { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px dashed var(--em-line); }
.em-play-console__source h3 { margin: 7px 0 0; color: var(--em-accent); font-size: .75rem; }
.em-play-list a { border-radius: 0; }
.em-detail-desk__side { padding: 24px; }
.em-detail-desk__side > span { color: var(--em-accent); font-size: .72rem; font-weight: 950; }
.em-detail-desk__side ol { margin: 16px 0 0; padding: 0; list-style: none; }
.em-detail-desk__side li a { display: grid; min-height: 64px; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px; border-bottom: 1px dashed var(--em-line); }
.em-detail-desk__side b { color: var(--em-accent); }
.em-detail-desk__side li span { display: grid; min-width: 0; }
.em-detail-desk__side strong, .em-detail-desk__side em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-detail-desk__side em { color: var(--em-text-muted); font-size: .7rem; font-style: normal; }

@media (min-width: 768px) {
    .em-poster-wall, .em-directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .em-poster-wall { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .em-directory-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
    .em-poster-wall { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .em-directory-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
    .em-cinema-hero__slide { grid-template-columns: minmax(0, 52%) minmax(0, 48%); }
    .em-cinema-hero__copy { grid-template-columns: 52px minmax(0, 1fr); padding: 40px 30px 120px; }
    .em-cinema-hero h1 { font-size: clamp(3.4rem, 7vw, 6.8rem); }
    .em-cinema-hero__footer { grid-template-columns: minmax(0, 1fr) 210px; }
    .em-home-floor { grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.5fr); }
    .em-home-floor__rank { grid-column: 2 / -1; }
}
@media (max-width: 767.98px) {
    body { background: var(--em-bg); }
    .em-cinema-hero__slides { min-height: 650px; }
    .em-cinema-hero__slide { grid-template-columns: 1fr; grid-template-rows: 58% 42%; }
    .em-cinema-hero__visual { grid-row: 1; }
    .em-cinema-hero__copy { grid-row: 2; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 20px 14px 126px; }
    .em-cinema-hero h1 { max-width: none; margin: 6px 0 10px; font-size: clamp(2.6rem, 13vw, 4.8rem); }
    .em-cinema-hero__words > p { display: none; }
    .em-cinema-hero__facts { font-size: .68rem; }
    .em-cinema-hero__actions { margin-top: 14px; }
    .em-cinema-hero__footer { grid-template-columns: 1fr; gap: 6px; padding: 0 12px 10px; }
    .em-cinema-hero__tickets { overflow-x: auto; grid-template-columns: none; grid-auto-columns: minmax(180px, 1fr); grid-auto-flow: column; }
    .em-cinema-ticket { min-height: 58px; }
    .em-cinema-hero__nav { display: none; }
    .em-type-marquee__track > span, .em-type-marquee a { min-width: 124px; min-height: 58px; }
    .em-block-title { grid-template-columns: 1fr auto; }
    .em-block-title > span { grid-column: 1 / -1; }
    .em-block-title h2 { font-size: clamp(2.6rem, 14vw, 4.5rem); }
    .em-hot-board { grid-template-columns: 1fr; }
    .em-hot-board__item:nth-child(odd) { border-right: 0; }
    .em-hot-board__item { grid-template-columns: 36px 72px minmax(0, 1fr) auto; }
    .em-home-floor { grid-template-columns: 70px minmax(0, 1fr); }
    .em-home-floor__label { min-height: 300px; padding: 10px; }
    .em-home-floor__lead > a { min-height: 300px; }
    .em-home-floor__posters, .em-home-floor__rank { grid-column: 1 / -1; }
    .em-home-floor__posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .em-news-ledger > a { min-height: 68px; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 10px; padding: 8px 0; }
    .em-news-ledger em { grid-column: 2; }
    .em-news-ledger strong { grid-column: 2; }
    .em-news-ledger img { display: none; }
    .em-directory-head .em-shell { grid-template-columns: 1fr; gap: 5px; }
    .em-directory-head h1 { font-size: clamp(4rem, 23vw, 7rem); line-height: .8; }
    .em-directory-head p { font-size: .78rem; }
    .em-directory-grid .em-vod-card:nth-child(9n+1), .em-poster-wall .em-vod-card:nth-child(11n+1) { grid-column: auto; }
    .em-directory-grid .em-vod-card:nth-child(9n+1) .em-vod-card__pic, .em-poster-wall .em-vod-card:nth-child(11n+1) .em-vod-card__pic { aspect-ratio: 2 / 3; }
    .em-feature-sheet { min-height: auto; }
    .em-feature-sheet__image { inset: 0; height: 310px; }
    .em-feature-sheet__image::after { background: linear-gradient(0deg, var(--em-bg-deep), transparent 72%); }
    .em-feature-sheet__layout { min-height: 0; grid-template-columns: 105px minmax(0, 1fr); grid-template-areas: "poster score" "title title" "facts facts"; align-content: start; gap: 12px; padding-top: 230px; padding-bottom: 20px; }
    .em-feature-sheet__poster { align-self: start; }
    .em-feature-sheet__title h1 { max-width: none; margin: 8px 0 12px; font-size: clamp(3rem, 17vw, 5.5rem); }
    .em-feature-sheet__score { align-self: end; justify-items: start; }
    .em-feature-sheet__facts { grid-template-columns: 1fr; }
    .em-detail-desk__layout { grid-template-columns: 1fr; }
    .em-play-console__source { grid-template-columns: 1fr; }
    .em-detail-desk__side { display: none; }
}

/* 播放控制台与资讯报刊 */
.em-play-page .em-player-stage { padding: 0; border-bottom: 1px solid var(--em-accent); }
.em-player-shell { width: min(100%, 1440px); }
.em-player-heading { min-height: 70px; padding-inline: 16px; border-inline: 1px solid var(--em-line); background: var(--em-bg-deep); }
.em-player-heading > a { color: var(--em-accent); font-weight: 900; }
.em-player-heading h1 { font-family: var(--em-body); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 950; }
.em-player-box { border-inline: 1px solid var(--em-line); }
.em-episode-panel { border-color: var(--em-line); border-radius: 0; background: var(--em-text); color: var(--em-bg-deep); }
.em-episode-panel__head { min-height: 72px; padding-inline: 18px; }
.em-episode-panel__head h2 { font-family: var(--em-body); font-weight: 950; }
.em-episode-panel__head > div > span { color: #5d605b; }
.em-episode-toggle { color: #293300; font-weight: 950; }
.em-episode-panel__body { border-top: 1px solid var(--em-bg-deep); }
.em-play-source h3 { color: #293300; font-weight: 950; }
.em-episode-panel .em-play-list a { border-color: #a5a79f; background: transparent; color: var(--em-bg-deep); }
.em-episode-panel .em-play-list a:hover, .em-episode-panel .em-play-list a.active { border-color: var(--em-bg-deep); background: var(--em-bg-deep); color: var(--em-accent); }
.em-play-content .em-now-playing { border-block: 0; border-top: 4px solid var(--em-accent); }
.em-play-content .em-panel { border-radius: 0; }

.em-news-head { padding: clamp(44px, 8vw, 120px) 0 20px; border-bottom: 1px solid var(--em-line); background: var(--em-danger); color: var(--em-text); }
.em-news-head .em-shell { display: grid; grid-template-columns: 120px minmax(0, 1fr) 280px; align-items: end; gap: 18px; }
.em-news-head span { font-size: .72rem; font-weight: 950; }
.em-news-head h1 { margin: 0; font-size: clamp(4rem, 11vw, 11rem); font-weight: 950; letter-spacing: -.09em; line-height: .72; }
.em-news-head p { margin: 0; font-weight: 750; }
.em-news-head--detail { padding: 18px 0; background: var(--em-accent); color: var(--em-accent-ink); }
.em-news-head--detail .em-shell { grid-template-columns: 120px 1fr; }
.subsite-art-page .em-art-layout, .subsite-art-detail-page .em-art-layout { padding-top: 18px; }
.em-art-card a { grid-template-columns: 58px 190px minmax(0, 1fr); min-height: 126px; padding: 10px 0; border-bottom-style: dashed; }
.em-art-card a::before { align-self: start; color: var(--em-accent); content: "阅"; font-size: 1.5rem; font-weight: 950; }
.em-art-card__pic { grid-column: 2; border-radius: 0; clip-path: polygon(0 0,100% 0,100% 84%,90% 100%,0 100%); }
.em-art-card__body { grid-column: 3; }
.em-art-card__body strong { font-family: var(--em-body); font-size: clamp(1.2rem, 2.5vw, 2rem); font-weight: 950; letter-spacing: -.03em; }
.em-art-side-card { border-radius: 0; border-top: 4px solid var(--em-accent); }
.subsite-art-detail { border-radius: 0; border-top: 6px solid var(--em-accent); }
.subsite-art-detail__header h1 { max-width: 14ch; margin-inline: 0; font-family: var(--em-body); font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 950; letter-spacing: -.07em; line-height: .88; }
.subsite-art-detail__content { max-width: 76ch; margin-inline: auto; }
.em-auth-shell { border-radius: 0; }
.em-auth-stage { background: var(--em-accent); color: var(--em-accent-ink); }
.em-auth-stage__eyebrow { color: #293300; }
.em-auth-stage__copy p, .em-auth-stage__meta span { border-color: #778d1b; color: #293300; }
.em-auth-panel { border-top: 6px solid var(--em-accent); }
.em-auth-field input, .em-auth-submit, .em-auth-send { border-radius: 0; }

@media (max-width: 767.98px) {
    .em-news-head .em-shell { grid-template-columns: 1fr; gap: 5px; }
    .em-news-head h1 { font-size: clamp(4rem, 22vw, 7rem); line-height: .78; }
    .em-news-head--detail .em-shell { grid-template-columns: 1fr auto; }
    .em-art-card a { grid-template-columns: 36px 110px minmax(0, 1fr); min-height: 98px; gap: 8px; }
    .em-art-card__body strong { font-size: 1rem; }
    .em-art-card__body p { display: none; }
}

/* 真实数据页面校验修复：统一收敛旧规则与 V2 规则的边界 */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

main,
section,
article,
header,
footer,
nav,
div,
dl {
    min-width: 0;
}

.em-home-block,
.em-home-floors,
.em-detail-more {
    padding-block: clamp(28px, 3.6vw, 52px);
}

.em-block-title {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 16px;
}

.em-block-title h2 {
    font-size: clamp(2rem, 4.4vw, 4.8rem);
    line-height: .92;
}

.em-poster-wall,
.em-directory-grid {
    align-items: start;
}

.em-directory-grid .em-vod-card:nth-child(9n+1),
.em-poster-wall .em-vod-card:nth-child(11n+1) {
    grid-column: auto;
}

.em-directory-grid .em-vod-card:nth-child(9n+1) .em-vod-card__pic,
.em-poster-wall .em-vod-card:nth-child(11n+1) .em-vod-card__pic {
    aspect-ratio: 2 / 3;
}

.em-vod-card > a {
    min-width: 0;
}

.em-vod-card__pic img,
.em-home-floor__lead img,
.em-cinema-hero__visual img,
.em-feature-sheet__image img,
.em-feature-sheet__poster img {
    display: block;
}

.em-pagination__desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.em-pagination__mobile {
    display: none;
}

.em-directory-head {
    padding-block: clamp(34px, 5vw, 72px) 20px;
    overflow: hidden;
}

.em-directory-head .em-shell {
    grid-template-columns: 92px minmax(0, 1fr) minmax(220px, 280px);
    gap: 14px;
}

.em-directory-head h1 {
    overflow-wrap: anywhere;
    font-size: clamp(3.3rem, 8vw, 8rem);
    line-height: .82;
}

.em-filter {
    margin-bottom: 14px;
    padding: 10px 14px;
}

.em-filter__row {
    grid-template-columns: 88px minmax(0, 1fr);
    padding-block: 6px;
}

.em-directory-body {
    padding-bottom: 40px;
}

.em-directory-toolbar {
    min-height: 54px;
}

.em-feature-sheet,
.em-feature-sheet__layout {
    min-height: clamp(590px, 68vh, 700px);
}

.em-feature-sheet__layout {
    grid-template-columns: 190px minmax(0, 1fr) 160px;
    gap: 16px 26px;
}

.em-feature-sheet__title h1 {
    max-width: 12ch;
    overflow-wrap: anywhere;
    font-size: clamp(3.4rem, 6.4vw, 6.8rem);
    line-height: .86;
}

.em-feature-sheet__title p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.em-feature-sheet__facts dd,
.em-play-console__source,
.em-play-list,
.em-copy {
    min-width: 0;
    max-width: 100%;
}

.em-player-box > div,
.em-player-box .VideoPlayer,
.em-player-box iframe,
.em-player-box video,
.em-player-box object,
.em-player-box embed {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.em-episode-panel__body {
    scrollbar-gutter: stable;
}

.subsite-art-detail__content,
.subsite-art-detail__content * {
    max-width: 100%;
}

.subsite-art-detail__content table {
    display: block;
    overflow-x: auto;
}

.subsite-art-detail__content iframe,
.subsite-art-detail__content video {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.em-art-card--text-only a {
    grid-template-columns: 58px minmax(0, 1fr);
}

.em-art-card--text-only .em-art-card__body {
    grid-column: 2;
}

.em-auth-shell,
.em-auth-panel,
.em-auth-form,
.em-auth-field,
.em-auth-field label {
    min-width: 0;
}

@media (max-width: 1359.98px) and (min-width: 768px) {
    .em-header__inner {
        grid-template-columns: minmax(120px, auto) minmax(260px, 1fr) auto;
    }

    .em-cinema-hero__slides {
        min-height: clamp(600px, 72vh, 720px);
    }

    .em-cinema-hero__copy {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 16px;
        padding: 32px 24px 112px;
    }

    .em-cinema-hero h1 {
        font-size: clamp(3rem, 6vw, 5.3rem);
    }

    .em-feature-sheet__image {
        inset: 0 0 0 28%;
    }

    .em-feature-sheet__layout {
        grid-template-columns: 170px minmax(0, 1fr);
        grid-template-areas:
            "poster title"
            "poster score"
            "facts facts";
        align-content: center;
    }

    .em-feature-sheet__title h1 {
        max-width: 14ch;
        font-size: clamp(3rem, 7vw, 5.4rem);
    }

    .em-feature-sheet__score {
        justify-items: start;
        justify-self: start;
    }

    .em-home-floor {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .em-home-floor__label {
        min-height: 340px;
        padding: 12px;
    }

    .em-home-floor__lead > a {
        min-height: 340px;
    }

    .em-home-floor__posters,
    .em-home-floor__rank {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .em-shell,
    .em-wrap {
        width: min(calc(100% - 24px), var(--em-shell));
    }

    .em-header__inner {
        min-height: 58px;
    }

    .em-brand__logo {
        max-width: 132px;
        max-height: 38px;
    }

    .em-cinema-hero {
        overflow: hidden;
    }

    .em-cinema-hero__slides {
        min-height: 600px;
    }

    .em-cinema-hero__slide {
        grid-template-rows: 54% 46%;
    }

    .em-cinema-hero__copy {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 12px 16px;
        overflow: hidden;
    }

    .em-cinema-hero__number {
        font-size: 1.45rem;
    }

    .em-cinema-hero h1 {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        font-size: clamp(2.05rem, 10vw, 3rem);
        line-height: .94;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .em-cinema-hero__facts {
        gap: 5px 10px;
    }

    .em-cinema-hero__actions {
        margin-top: 10px;
    }

    .em-cinema-hero__actions .em-action {
        min-height: 42px;
        padding-inline: 12px;
        font-size: .78rem;
    }

    .em-cinema-hero__footer {
        position: static;
        display: block;
        width: 100%;
        padding: 0;
        background: var(--em-bg-deep);
    }

    .em-cinema-hero__tickets {
        width: 100%;
        border-inline: 0;
    }

    .em-cinema-ticket {
        min-height: 64px;
    }

    .em-home-block,
    .em-home-floors,
    .em-detail-more {
        padding-block: 26px;
    }

    .em-block-title {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px 10px;
        margin-bottom: 14px;
    }

    .em-block-title h2 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .em-hot-board__item {
        grid-template-columns: 28px 58px minmax(0, 1fr) auto;
        min-height: 78px;
        gap: 8px;
        padding-inline: 4px;
    }

    .em-hot-board__image {
        height: 58px;
    }

    .em-hot-board__item > b {
        font-size: .9rem;
    }

    .em-home-floor {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .em-home-floor__label,
    .em-home-floor__lead > a {
        min-height: 260px;
    }

    .em-home-floor__label h2 {
        font-size: 2rem;
    }

    .em-directory-head {
        padding-block: 28px 16px;
    }

    .em-directory-head .em-shell {
        grid-template-columns: 1fr;
    }

    .em-directory-head h1 {
        font-size: clamp(3rem, 17vw, 5rem);
        line-height: .9;
    }

    .em-filter {
        padding: 6px 10px 10px;
    }

    .em-filter__row {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .em-filter__items a {
        min-height: 40px;
    }

    .em-directory-toolbar {
        min-height: 52px;
    }

    .em-directory-toolbar strong {
        font-size: 1.08rem;
    }

    .em-pagination {
        margin-top: 24px;
    }

    .em-pagination__desktop {
        display: none;
    }

    .em-pagination__mobile {
        display: flex;
    }

    .em-feature-sheet,
    .em-feature-sheet__layout {
        min-height: 0;
    }

    .em-feature-sheet__image {
        inset: 0;
        height: 260px;
    }

    .em-feature-sheet__layout {
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas:
            "poster score"
            "title title"
            "facts facts";
        gap: 10px 12px;
        padding-top: 190px;
        padding-bottom: 16px;
    }

    .em-feature-sheet__title h1 {
        display: block;
        max-width: 100%;
        margin-block: 6px 10px;
        overflow: visible;
        overflow-wrap: anywhere;
        font-size: clamp(2.35rem, 12vw, 3.6rem);
        line-height: .96;
    }

    .em-feature-sheet__title p {
        -webkit-line-clamp: 2;
    }

    .em-feature-sheet__score strong {
        font-size: 2.5rem;
    }

    .em-feature-sheet__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .em-feature-sheet__facts > div:first-child,
    .em-feature-sheet__facts > div:only-child {
        grid-column: 1 / -1;
    }

    .em-play-console,
    .em-story-sheet {
        padding: 16px 12px;
    }

    .em-play-console > header,
    .em-story-sheet > header {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px;
    }

    .em-play-console h2,
    .em-story-sheet h2 {
        font-size: 1.45rem;
    }

    .em-detail-page {
        padding-bottom: 72px;
    }

    .em-player-heading {
        min-height: 58px;
    }

    .em-player-heading > a {
        max-width: 84px;
    }

    .em-player-heading > div {
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .em-player-heading h1,
    .em-player-heading span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .em-episode-panel__head {
        min-height: 64px;
        padding-inline: 12px;
    }

    .em-episode-panel__head > div {
        min-width: 0;
    }

    .em-episode-panel__head > div > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .em-play-list a {
        min-width: 52px;
        min-height: 44px;
        padding-inline: 10px;
        overflow-wrap: anywhere;
    }

    .em-news-head {
        padding-block: 30px 16px;
        overflow: hidden;
    }

    .em-news-head h1 {
        overflow-wrap: anywhere;
        font-size: clamp(3rem, 17vw, 5rem);
        line-height: .88;
    }

    .em-art-card a,
    .em-art-card--text-only a {
        grid-template-columns: 30px 96px minmax(0, 1fr);
        gap: 7px;
    }

    .em-art-card--text-only a {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .em-art-card--text-only .em-art-card__body {
        grid-column: 2;
    }

    .subsite-art-detail {
        padding-inline: 14px;
    }

    .subsite-art-detail__header h1 {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: clamp(2rem, 10vw, 3.4rem);
        line-height: 1;
    }

    .em-auth-page {
        padding-block: 0 20px;
    }

    .em-auth-stage {
        min-height: 190px;
        gap: 14px;
        padding: 18px;
    }

    .em-auth-panel {
        padding: 18px;
    }

    .em-auth-field--inline {
        grid-template-columns: minmax(0, 1fr) 112px;
    }

    .em-auth-verify {
        width: 112px;
    }
}

@media (max-width: 359.98px) {
    .em-feature-sheet__facts {
        grid-template-columns: 1fr;
    }

    .em-feature-sheet__facts > div {
        grid-column: 1;
    }

    .em-auth-field--inline {
        grid-template-columns: 1fr;
    }

    .em-auth-verify,
    .em-auth-send {
        width: 100%;
    }
}

/* 大屏密度与标题比例修正 */
.em-cinema-hero__copy {
    padding-bottom: 132px;
}

.em-cinema-hero__words {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.em-cinema-hero h1 {
    display: -webkit-box;
    width: 100%;
    max-width: 8em;
    max-height: 1.92em;
    margin-block: 10px 14px;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: clamp(3rem, 4.8vw, 5.6rem);
    letter-spacing: -.055em;
    line-height: .96;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.em-cinema-hero__words > p {
    display: -webkit-box;
    max-width: 48ch;
    margin-bottom: 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.em-cinema-hero__actions {
    margin-top: 18px;
}

.em-block-title {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
}

.em-block-title h2 {
    font-size: clamp(1.9rem, 3vw, 3.5rem);
    letter-spacing: -.045em;
    line-height: 1;
}

.em-home-floor__label h2 {
    font-size: clamp(1.9rem, 2.5vw, 3rem);
    letter-spacing: -.05em;
    line-height: .95;
}

.em-directory-head {
    padding-block: clamp(30px, 4vw, 56px) 20px;
    border-bottom-color: var(--em-line);
    background: var(--em-surface-2);
    color: var(--em-text);
}

.em-directory-head .em-shell {
    grid-template-columns: 82px minmax(0, 1fr) minmax(220px, 280px);
    align-items: center;
}

.em-directory-head span {
    color: var(--em-accent);
}

.em-directory-head h1 {
    max-width: 12em;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    letter-spacing: -.055em;
    line-height: .92;
}

.em-directory-head p {
    color: var(--em-text-soft);
    font-size: .88rem;
    line-height: 1.65;
}

.em-feature-sheet__title h1 {
    max-width: 12em;
    margin-block: 8px 14px;
    font-size: clamp(2.8rem, 4.2vw, 4.8rem);
    letter-spacing: -.055em;
    line-height: .96;
}

.em-feature-sheet__score strong {
    font-size: clamp(2.6rem, 4.5vw, 4.8rem);
}

.em-news-head h1 {
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    letter-spacing: -.055em;
    line-height: .92;
}

@media (max-width: 1359.98px) and (min-width: 768px) {
    .em-cinema-hero__copy {
        padding-bottom: 116px;
    }

    .em-cinema-hero h1 {
        font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    }

    .em-feature-sheet__title h1 {
        font-size: clamp(2.7rem, 5.2vw, 4.4rem);
    }
}

@media (max-width: 767.98px) {
    .em-cinema-hero__copy {
        padding: 14px 12px 16px;
    }

    .em-cinema-hero h1 {
        max-width: 100%;
        max-height: 2em;
        margin-block: 6px 9px;
        font-size: clamp(2rem, 9vw, 2.8rem);
        letter-spacing: -.04em;
        line-height: 1;
    }

    .em-block-title {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .em-block-title h2 {
        font-size: clamp(1.75rem, 8vw, 2.45rem);
    }

    .em-home-floor__label h2 {
        font-size: 1.75rem;
    }

    .em-directory-head h1,
    .em-news-head h1 {
        font-size: clamp(2.5rem, 13vw, 3.8rem);
        line-height: .98;
    }

    .em-feature-sheet__title h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
        line-height: 1;
    }

    .em-feature-sheet__score strong {
        font-size: 2.3rem;
    }
}

/* 移除标题前置提示后的双列标题结构 */
.em-block-title {
    grid-template-columns: minmax(0, 1fr) auto;
}

.em-directory-head .em-shell,
.em-news-head .em-shell {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.em-news-head--detail .em-shell {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767.98px) {
    .em-directory-head .em-shell,
    .em-news-head .em-shell,
    .em-news-head--detail .em-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 资讯列表与文章阅读比例修正 */
.em-art-card a,
.em-art-card--text-only a {
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 118px;
    gap: 18px;
    padding-block: 12px;
}

.em-art-card a::before {
    display: none;
    content: none;
}

.em-art-card__pic {
    grid-column: 1;
}

.em-art-card__body {
    grid-column: 2;
}

.em-art-card__body strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(1.15rem, 1.35vw, 1.55rem);
    font-weight: 850;
    letter-spacing: -.02em;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.em-art-card--text-only a {
    grid-template-columns: minmax(0, 1fr);
}

.em-art-card--text-only .em-art-card__body {
    grid-column: 1;
}

.subsite-art-detail__header,
.em-art-neighbor,
.em-art-related {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.subsite-art-detail__header h1 {
    width: 100%;
    max-width: none;
    margin-block: 20px 14px;
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.16;
}

@media (min-width: 1024px) {
    .em-art-related__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
    }
}

@media (max-width: 767.98px) {
    .em-art-card a,
    .em-art-card--text-only a {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 92px;
        gap: 10px;
        padding-block: 10px;
    }

    .em-art-card--text-only a {
        grid-template-columns: minmax(0, 1fr);
    }

    .em-art-card__body strong {
        font-size: 1rem;
        line-height: 1.35;
    }

    .subsite-art-detail__header h1 {
        margin-block: 16px 10px;
        font-size: clamp(1.85rem, 8vw, 2.5rem);
        line-height: 1.16;
    }
}

/* 资讯页头与首条列表项修正 */
.em-news-head {
    padding: clamp(26px, 3vw, 40px) 0 20px;
    border-top: 1px solid var(--em-accent);
    border-bottom-color: var(--em-line);
    background: var(--em-surface-2);
    color: var(--em-text);
}

.em-news-head .em-shell {
    align-items: center;
}

.em-news-head h1 {
    font-size: clamp(2.4rem, 3.6vw, 4rem);
    letter-spacing: -.045em;
    line-height: 1;
}

.em-news-head p {
    color: var(--em-text-soft);
    font-size: .88rem;
    line-height: 1.6;
}

.em-news-head--detail {
    padding: 12px 0;
    border-top: 0;
    background: var(--em-accent);
    color: var(--em-accent-ink);
}

.em-news-head--detail p {
    color: var(--em-accent-ink);
}

.subsite-art-list .art-list > .em-art-card:first-child a {
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 118px;
    gap: 18px;
    padding-block: 12px;
}

.subsite-art-list .art-list > .em-art-card:first-child .em-art-card__pic {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.subsite-art-list .art-list > .em-art-card:first-child .em-art-card__body strong {
    font-size: clamp(1.15rem, 1.35vw, 1.55rem);
}

.subsite-art-list .art-list > .em-art-card:first-child.em-art-card--text-only a {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767.98px) {
    .em-news-head {
        padding: 22px 0 16px;
    }

    .em-news-head h1 {
        font-size: clamp(2.2rem, 11vw, 3.2rem);
    }

    .em-news-head--detail {
        padding: 10px 0;
    }

    .subsite-art-list .art-list > .em-art-card:first-child a {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 92px;
        gap: 10px;
        padding-block: 10px;
    }

    .subsite-art-list .art-list > .em-art-card:first-child.em-art-card--text-only a {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 幻灯片次要按钮使用内描边，避免底边被片单层裁切 */
.em-cinema-hero .em-action--line {
    position: relative;
    z-index: 2;
    border-color: transparent;
    box-shadow: none;
}

.em-cinema-hero .em-action--line::after {
    position: absolute;
    inset: 0;
    border: 1px solid var(--em-bg-deep);
    content: "";
    pointer-events: none;
}

.em-cinema-hero__words {
    overflow: visible;
}

.em-cinema-hero__actions {
    padding-bottom: 2px;
    overflow: visible;
}

@media (max-width: 767.98px) {
    .em-type-marquee {
        display: none;
    }
}

/* 播放舞台高度、第三方信息与选集色阶修正 */
.em-episode-panel {
    border-color: var(--em-line);
    background: var(--em-surface-1);
    color: var(--em-text);
}

.em-episode-panel__head > div > span {
    color: var(--em-text-muted);
}

.em-episode-toggle {
    color: var(--em-accent-strong);
}

.em-episode-panel__body {
    border-top-color: var(--em-line-soft);
}

.em-play-source h3 {
    color: var(--em-accent-strong);
}

.em-episode-panel .em-play-list a {
    border-color: var(--em-line);
    background: var(--em-surface-2);
    color: var(--em-text-soft);
}

.em-episode-panel .em-play-list a:hover {
    border-color: var(--em-line);
    background: var(--em-surface-3);
    color: var(--em-text);
}

.em-episode-panel .em-play-list a.active {
    border-color: var(--em-accent);
    background: var(--em-bg-deep);
    color: var(--em-accent-strong);
}

.em-third-party__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin: 22px 0 0;
    border-top: 1px solid var(--em-line);
    border-left: 1px solid var(--em-line);
}

.em-third-party__details > div {
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid var(--em-line);
    border-bottom: 1px solid var(--em-line);
}

.em-third-party__details dt {
    color: var(--em-text-muted);
    font-size: .68rem;
}

.em-third-party__details dd {
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--em-text);
    font-size: .84rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .em-player-box {
        height: clamp(500px, 38vw, 580px);
        aspect-ratio: auto;
    }
}

@media (max-width: 1023.98px) {
    .em-player-box {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .em-third-party__details {
        display: none;
    }
}
