/* 视频播放页 — Figma PC 2591:5427 / H5 2713:9453（控制栏 2713:9517）
 * 内容区宽度复用 video-cards.css（body.hg-theater-page） */

body.hg-theater-play-page .archive-nav-breadcrumb-wrap {
    margin: 1.25rem 0 1.25rem;
}

body.hg-theater-play-page .nav-breadcrumb-wrap .action-butn {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.hg-theater-play-page .nav-breadcrumb-wrap .name {
    color: var(--hg-accent, #fe2e62) !important;
    width: auto;
    font-weight: 600;
}

.hg-theater-play {
    display: flex;
    flex-direction: column;
    padding-bottom: 2.5rem;
    box-sizing: border-box;
}

/* —— Stage —— */
.hg-tp-stage {
    width: 100%;
}

.hg-tp-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(810px, calc(100vh - 12rem));
    background: #111;
    border-radius: 0.75rem;
    overflow: hidden;
    box-sizing: border-box;
}

/* 原生全屏 / CSS 伪全屏：挂在 wrap 上铺满视口；隐藏右侧操作栏与标题/简介 */
.hg-tp-player-wrap:fullscreen,
.hg-tp-player-wrap:-webkit-full-screen,
.hg-tp-player-wrap.xgplayer-fullscreen-parent {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    background: #000;
}

.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-swiper,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-player {
    width: 100%;
    height: 100%;
}

/* PC/H5 全屏：隐藏右侧互动面板 + 标题/标签/简介 */
.hg-tp-player-wrap:fullscreen .hg-tp-actions,
.hg-tp-player-wrap:-webkit-full-screen .hg-tp-actions,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-actions,
.hg-tp-player-wrap--h5-fs .hg-tp-actions,
.hg-tp-player-wrap:fullscreen .hg-tp-meta,
.hg-tp-player-wrap:-webkit-full-screen .hg-tp-meta,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-meta,
.hg-tp-player-wrap--h5-fs .hg-tp-meta {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.hg-tp-player-wrap:fullscreen .hg-tp-back,
.hg-tp-player-wrap:-webkit-full-screen .hg-tp-back,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-back {
    z-index: 30;
}

/* CSS 伪全屏时控制条仍需可点（父级 pointer-events 策略不变） */
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-player .xgplayer-controls,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-player .xgplayer-fullscreen {
    pointer-events: auto;
    z-index: 40;
}

.hg-tp-player {
    position: absolute;
    inset: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
}

/* PC/H5 共用：竖滑 Swiper + 单实例播放器（参考 short-video） */
.hg-tp-swiper {
    position: absolute;
    inset: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hg-tp-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hg-tp-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.hg-tp-slide__media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hg-tp-slide__poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.hg-tp-slide.is-video-ready .hg-tp-slide__poster {
    opacity: 0;
}

/*
 * 非当前 slide 假进度条（参考 91porna .dx-sv-card-progress）
 * - 上下滑预览时显示「这条看到哪了」
 * - 当前 active slide 隐藏，改用 xgplayer 可交互进度条
 */
.hg-tp-slide__progress {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 1.25rem;
    z-index: 3;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    pointer-events: none;
}

.hg-tp-slide__progress-played {
    height: 100%;
    width: 0;
    background: var(--hg-accent, #fe2e62);
    transition: width 0.3s ease;
}

.hg-tp-slide.swiper-slide-active .hg-tp-slide__progress {
    display: none;
}

.hg-tp-swiper .hg-tp-player {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    /* 竖滑手势交给 Swiper；可交互控件单独开 pointer-events */
    pointer-events: none;
}

.hg-tp-swiper .hg-tp-player .xgplayer {
    pointer-events: none;
}

/* video 需可点：否则 H5 点画面无法暂停（父级 pointer-events:none 时子级可单独打开） */
.hg-tp-swiper .hg-tp-player .xgplayer video,
.hg-tp-swiper .hg-tp-player video {
    pointer-events: auto;
    touch-action: pan-y; /* 保留竖滑给 Swiper，单击由 JS 切换播放 */
}

.hg-tp-swiper .hg-tp-player .xgplayer-controls,
.hg-tp-swiper .hg-tp-player .xg-controls,
.hg-tp-swiper .hg-tp-player .xgplayer-start,
.hg-tp-swiper .hg-tp-player .xgplayer-playbackrate,
.hg-tp-swiper .hg-tp-player .xgplayer-volume,
.hg-tp-swiper .hg-tp-player .xgplayer-fullscreen,
.hg-tp-swiper .hg-tp-player .xgplayer-theater-episode,
.hg-tp-swiper .hg-tp-player .xgplayer-progress,
.hg-tp-swiper .hg-tp-player .xg-progress {
    pointer-events: auto;
    touch-action: manipulation;
}

/* 侧栏/信息层在 swiper 之上，但容器必须穿透，否则会盖住底部控制栏 */
.hg-tp-player-wrap--swiper .hg-tp-back,
.hg-tp-player-wrap--swiper .hg-tp-meta,
.hg-tp-player-wrap--swiper .hg-tp-actions {
    z-index: 8;
    pointer-events: none;
}

.hg-tp-player-wrap--swiper .hg-tp-back,
.hg-tp-player-wrap--swiper .hg-tp-meta > *,
.hg-tp-player-wrap--swiper .hg-tp-actions > * {
    pointer-events: auto;
}

.hg-tp-player .xgplayer {
    background: #000 !important;
}

.hg-tp-player .xgplayer video,
.hg-tp-player video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
}

/* 覆盖 xgplayer 默认 inactive 隐藏鼠标，避免控制栏交互时 cursor 消失 */
.hg-tp-player.xgplayer.xgplayer-inactive,
.hg-tp-player .xgplayer.xgplayer-inactive,
.xgplayer.xgplayer-inactive {
    cursor: default !important;
}

/* —— 控制栏整体：Figma PC 单行 flex（播放 | 时间 | 进度 | 时长 | 选集/音量/倍速/全屏） —— */
.hg-tp-player .xgplayer-controls,
.hg-tp-player .xgplayer.xgplayer-nostart .xgplayer-controls,
.hg-tp-player .xgplayer.not-allow-autoplay .xgplayer-controls,
.hg-tp-player .xgplayer.xgplayer-inactive .xgplayer-controls,
.hg-tp-player .xgplayer.xgplayer-inactive .controls-autohide {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.hg-tp-player .xgplayer-controls {
    height: 5.5rem !important;
    padding: 0 1.875rem 1.25rem !important;
    box-sizing: border-box;
    background-image: none !important;
    background: transparent !important;
    z-index: 20 !important;
}

.hg-tp-player .xg-inner-controls {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 3.75rem !important;
    align-items: center;
    box-sizing: border-box;
}

.hg-tp-player .flex-controls .xg-inner-controls {
    bottom: 0 !important;
}

.hg-tp-player .xg-left-grid,
.hg-tp-player .xg-right-grid {
    align-items: center;
    flex-wrap: nowrap !important;
    height: 3.75rem !important;
}

/* 右侧按稿面 LTR：选集 → 音量 → 倍速 → 全屏 */
.hg-tp-player .xg-right-grid {
    flex-direction: row !important;
}

.hg-tp-player .xg-right-grid > .xgplayer-theater-episode { order: 1; }
.hg-tp-player .xg-right-grid > .xgplayer-volume { order: 2; }
.hg-tp-player .xg-right-grid > .xgplayer-playbackrate { order: 3; }
.hg-tp-player .xg-right-grid > .xgplayer-fullscreen { order: 4; }

/* 禁用样式全屏，仅保留原生全屏 */
.hg-tp-player .xgplayer-cssfullscreen {
    display: none !important;
}

.hg-tp-player .flex-controls .xg-center-grid {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    gap: 0.75rem;
    height: 3.75rem !important;
    padding: 0 0.75rem !important;
    top: 0 !important;
}

/* —— 中心大按钮（PC 略小于稿面 100px，避免视觉过重） —— */
.hg-tp-player .xgplayer-start {
    width: 4.5rem !important; /* 72px */
    height: 4.5rem !important;
    margin: 0 !important;
}

.hg-tp-player .xgplayer-start xg-start-inner,
.hg-tp-player .xgplayer-start .xg-start-inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 0.77px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

/* 内联 SVG 图标：统一用 em / rem 控尺寸 */
.hg-tp-player .hg-tp-ico {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    overflow: visible;
}

.hg-tp-player .xgplayer-start .xg-icon-play,
.hg-tp-player .xgplayer-start .xg-icon-pause,
.hg-tp-player .xgplayer-start img,
.hg-tp-player .xgplayer-start svg,
.hg-tp-player .xgplayer-start .hg-tp-ico {
    width: 2.75rem !important; /* 44px */
    height: 2.75rem !important;
    margin: 0 auto;
}

/* 中心钮：按 data-state 互斥显隐（勿对两图标统一 display:block） */
.hg-tp-player .xgplayer-start .xg-icon-play {
    display: block;
}
.hg-tp-player .xgplayer-start .xg-icon-pause,
.hg-tp-player .xgplayer-start[data-state="pause"] .xg-icon-play {
    display: none;
}
.hg-tp-player .xgplayer-start[data-state="pause"] .xg-icon-pause {
    display: block;
}

/* —— 控制栏播放按钮：40px 毛玻璃圆（对齐右侧图标行高） —— */
.hg-tp-player .xgplayer-play {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.5rem !important;
    height: 2.5rem !important;
    margin: 0 0.75rem 0 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 0.77px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

.hg-tp-player .xgplayer-play .xgplayer-icon {
    top: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hg-tp-player .xgplayer-play .xg-icon-play,
.hg-tp-player .xgplayer-play .xg-icon-pause,
.hg-tp-player .xgplayer-play img,
.hg-tp-player .xgplayer-play svg,
.hg-tp-player .xgplayer-play .hg-tp-ico {
    width: 1.25rem !important; /* 20px */
    height: 1.25rem !important;
}

/* 控制栏播放钮：播放中显 pause，暂停显 play */
.hg-tp-player .xgplayer-play .xg-icon-play {
    display: none;
}
.hg-tp-player .xgplayer-play .xg-icon-pause,
.hg-tp-player .xgplayer-play[data-state="pause"] .xg-icon-play {
    display: block;
}
.hg-tp-player .xgplayer-play[data-state="pause"] .xg-icon-pause {
    display: none;
}

/* —— 右侧图标统一 24px（PC） —— */
.hg-tp-player .xg-right-grid > xg-icon,
.hg-tp-player .xg-right-grid > .xgplayer-theater-episode {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 2.5rem !important;
    margin: 0 0 0 0.5rem !important;
    color: #fff !important;
    fill: #fff !important;
}

.hg-tp-player .xg-right-grid > xg-icon .xgplayer-icon,
.hg-tp-player .xg-right-grid > xg-icon img,
.hg-tp-player .xg-right-grid > xg-icon svg,
.hg-tp-player .xg-right-grid .hg-tp-ico {
    width: 1.5rem !important; /* 24px */
    height: 1.5rem !important;
    top: auto !important;
    transform: none !important;
}

/* —— 时间 —— */
.hg-tp-player .xgplayer-time {
    min-width: 0 !important;
    font-size: 1.2rem !important; /* 19.2px */
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #fff !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.hg-tp-player .xgplayer-time span,
.hg-tp-player .xgplayer-time .time-duration {
    color: #fff !important;
    opacity: 1 !important;
    height: auto !important;
    line-height: inherit !important;
    font-size: inherit !important;
}

/* —— 进度条：粉色已播 + 18px 实心圆点（始终显示） —— */
.hg-tp-player .xgplayer-progress {
    height: 1.125rem !important;
    min-width: 4rem !important;
    flex: 1 1 auto !important;
}

.hg-tp-player .xgplayer-progress-outer,
.hg-tp-player.xgplayer-pc .xgplayer-progress-outer,
.hg-tp-player.xgplayer-pc .xgplayer-progress.active .xgplayer-progress-outer {
    height: 0.3125rem !important; /* 5px */
    margin-bottom: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
}

.hg-tp-player .xgplayer-progress-inner {
    background: rgba(255, 255, 255, 0.28) !important;
    border-radius: 999px !important;
    margin-right: 0 !important;
}

.hg-tp-player .xgplayer-progress-played {
    background: #fe2e62 !important;
    border-radius: 999px !important;
}

.hg-tp-player .xgplayer-progress-cache {
    background: rgba(254, 46, 98, 0.28) !important;
}

.hg-tp-player .xgplayer-progress-btn,
.hg-tp-player.xgplayer-pc .xgplayer-progress-btn,
.hg-tp-player.xgplayer-pc .xgplayer-progress.active .xgplayer-progress-btn {
    width: 1.125rem !important; /* 18px */
    height: 1.125rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fe2e62 !important;
    box-shadow: none !important;
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
}

.hg-tp-player .xgplayer-progress-btn:before,
.hg-tp-player .xgplayer-progress-btn.active:before {
    display: none !important;
}

/* —— 倍速：稿面「1X」 —— */
.hg-tp-player .xgplayer-playbackrate {
    width: 2.5rem !important;
    margin-left: 0.5rem !important;
}

.hg-tp-player .xgplayer-playbackrate .xg-options-icon,
.hg-tp-player .xgplayer-playbackrate .btn-text {
    top: auto !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hg-tp-player .xgplayer-playbackrate .btn-text span,
.hg-tp-player .xgplayer-playbackrate .xg-options-icon span {
    min-width: 0;
    height: auto;
    line-height: 1.2;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    color: #fff !important;
    font-size: 0.875rem; /* 14px，对齐控制栏次级文案 */
    font-weight: 500;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}

.hg-tp-player .xg-options-list li.selected,
.hg-tp-player .xg-options-list li:hover {
    color: #fe2e62 !important;
}

.hg-tp-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    background: #111;
}

/* —— Back —— */
.hg-tp-back {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

.hg-tp-back:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
}

.hg-tp-back__icon {
    display: block;
    width: 0.875rem;
    height: 0.875rem;
    object-fit: contain;
}

.hg-tp-back__icon--h5 {
    display: none;
}

/* —— Side actions —— */
.hg-tp-actions {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    /* 给底部控制栏留出点击区域，避免盖住选集/进度右侧 */
    margin-bottom: 5.5rem;
}

.hg-tp-actions > * {
    pointer-events: auto;
}

.hg-tp-actions__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0.77px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.hg-tp-actions__nav img {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
}

.hg-tp-actions__nav--up img {
    transform: rotate(-90deg) scaleY(-1);
}

.hg-tp-actions__nav--down img {
    transform: rotate(90deg);
}

.hg-tp-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 6.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a6a6ab;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.hg-tp-action:hover,
.hg-tp-action:focus {
    color: #fff;
    text-decoration: none;
}

.hg-tp-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem; /* Figma 48 */
    height: 3rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* 点赞 / 收藏 / 分享：圆 48 + 图标 24（Figma 2591:5482） */
.hg-tp-action__img {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.hg-tp-action__img--h5 {
    display: none;
}

/* 点赞/收藏：默认白标，激活后切红心 / 黄星 */
.hg-tp-action__img--on {
    display: none !important;
}

.hg-tp-action.is-active .hg-tp-action__img--off {
    display: none !important;
}

.hg-tp-action.is-active .hg-tp-action__img--pc.hg-tp-action__img--on {
    display: block !important;
}

/* 评论：稿面为 48 整图（含圆底），铺满槽位，避免二次缩放显得偏小 */
.hg-tp-action--comment .hg-tp-action__icon {
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.hg-tp-action--comment .hg-tp-action__img--pc {
    width: 3rem;
    height: 3rem;
}

.hg-tp-action--comment.is-active .hg-tp-action__icon {
    background: transparent;
}

.hg-tp-action__count {
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
}

/* —— Meta overlay（底边抬高，避免挡住控制栏播放/进度） —— */
.hg-tp-meta {
    position: absolute;
    left: 1.875rem;
    bottom: 6.25rem;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 29.5rem;
    pointer-events: none;
}

.hg-tp-meta > * {
    pointer-events: auto;
}

.hg-tp-meta__title {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5rem;
    letter-spacing: -0.02em;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.hg-tp-meta__title:hover {
    color: #fff;
    text-decoration: none;
}

.hg-tp-meta__chevron {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
    flex-shrink: 0;
}

.hg-tp-meta__chevron--h5 {
    display: none;
}

.hg-tp-meta__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hg-tp-meta__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.8125rem;
    line-height: 1.5;
    white-space: nowrap;
}

.hg-tp-meta__summary {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    max-width: 22rem;
    cursor: pointer;
}

.hg-tp-meta__summary-text {
    margin: 0;
    flex: 1;
    min-width: 0;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1rem;
}

.hg-tp-meta__summary-text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.hg-tp-meta__expand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fe2e62;
    font-size: 0.875rem;
    line-height: 1rem;
    cursor: pointer;
    white-space: nowrap;
}

.hg-tp-meta__expand-h5 {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
}

/* —— xgplayer episode plugin —— */
.hg-xg-ep {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hg-xg-ep {
    margin: 0 !important;
}

.hg-xg-ep-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.2rem; /* 19.2px */
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.005em;
    cursor: pointer;
    white-space: nowrap;
}

.hg-xg-ep-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: #fff;
}

.hg-xg-ep-btn__icon .hg-tp-ico {
    width: 100% !important;
    height: 100% !important;
}

.hg-xg-ep-btn__text {
    margin-left: 0;
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
}

/* —— 外部选集抽屉：PC 右侧 / H5 底部（Figma 2606:6836 / 2712:8659） —— */
.hg-tp-ep-mask {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none; /* 关闭态不挡点击；避免「抽屉关了蒙层还在」 */
    transition: opacity 0.22s ease;
}

.hg-tp-ep-mask.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* 关闭态强制不可见（防 H5 残留 is-open / [hidden] 被其它规则盖掉） */
.hg-tp-ep-mask:not(.is-open),
.hg-tp-ep-mask[hidden] {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden;
}

.hg-tp-ep-mask[hidden] {
    display: none !important;
}

.hg-tp-ep-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* 20px */
    width: min(37.1875rem, 100vw); /* 595px */
    height: 100%;
    max-height: 100dvh;
    padding: 1rem 1rem 1.5rem; /* 16 / 24 */
    box-sizing: border-box;
    background: #121214;
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    overflow: hidden;
}

.hg-tp-ep-drawer.is-open {
    transform: translateX(0);
}

.hg-tp-ep-drawer__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 2.3125rem; /* PC Figma NavBar 37 */
    box-sizing: border-box;
}

.hg-tp-ep-tabs {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem; /* 14px */
}

.hg-tp-ep-tab {
    position: relative;
    padding: 0.5rem 0 0.375rem;
    border: 0;
    background: transparent;
    color: #8e8e93;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.hg-tp-ep-tab.is-active {
    color: #fff;
    font-weight: 700;
}

.hg-tp-ep-tab.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1rem;
    height: 2px;
    border-radius: 1px;
    background: #fe2e62;
    transform: translateX(-50%);
}

.hg-tp-ep-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.hg-tp-ep-close img {
    display: block;
    width: 0.625rem;
    height: 0.625rem;
}

.hg-tp-ep-drawer__rule {
    flex-shrink: 0;
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
}

.hg-tp-ep-pane {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    flex-direction: column;
    gap: 1.25rem;
}

.hg-tp-ep-pane.is-active {
    display: flex;
}

.hg-tp-ep-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-shrink: 0;
}

.hg-tp-ep-section-head__title {
    margin: 0;
    color: #fff;
    font-size: 0.9375rem; /* 15px */
    font-weight: 700;
    line-height: 1.2;
}

.hg-tp-ep-section-head__count {
    margin: 0;
    color: #8e8e93;
    font-size: 0.6875rem; /* 11px */
    font-weight: 400;
}

.hg-tp-ep-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5625rem; /* 9px */
    flex-shrink: 0;
}

.hg-tp-ep-range {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6.5625rem; /* 105px */
    height: 2.25rem; /* 36px */
    padding: 0.25rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.3125rem; /* 5px */
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    font-size: 0.8125rem; /* 13px */
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    box-sizing: border-box;
}

.hg-tp-ep-range.is-active {
    background: rgba(254, 46, 98, 0.1);
    border-color: rgba(254, 46, 98, 0.3);
    color: #fe2e62;
}

.hg-tp-ep-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem 0.5625rem; /* 10px / 9px */
    align-content: flex-start;
    width: 100%;
}

.hg-tp-ep-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6.5625rem; /* 105px */
    height: 2.25rem; /* 36px */
    padding: 0.25rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.3125rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hg-tp-ep-item.is-active {
    background: #fe2e62;
    border-color: rgba(254, 46, 98, 0.3);
    color: #fff;
}

.hg-tp-ep-item.is-locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.hg-tp-ep-empty {
    margin: 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
    text-align: center;
}

/* 简介 Tab — Figma PC 2606:6729 */
.hg-tp-ep-intro__hero {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem; /* 10px */
    width: 100%;
}

.hg-tp-ep-intro__cover {
    flex-shrink: 0;
    width: 9.75rem; /* 156px */
    height: 13rem; /* 208px */
    border-radius: 0.625rem;
    overflow: hidden;
    background: #1a1a1a;
}

.hg-tp-ep-intro__cover-img,
.hg-tp-ep-intro__cover-ph {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hg-tp-ep-intro__hero-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.625rem;
    min-width: 0;
}

.hg-tp-ep-intro__title {
    margin: 0;
    color: #fff;
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    line-height: 1.3;
}

.hg-tp-ep-intro__meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem; /* 14px */
    line-height: 1.4;
}

.hg-tp-ep-intro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hg-tp-ep-intro__tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(254, 46, 98, 0.1);
    color: #fe2e62;
    font-size: 0.8125rem; /* 13px */
    line-height: 1.5;
}

.hg-tp-ep-intro__plot {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.hg-tp-ep-intro__plot-label {
    margin: 0;
    color: #eee;
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    line-height: 1.4;
}

.hg-tp-ep-intro__plot-body {
    position: relative;
}

.hg-tp-ep-intro__summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem; /* 15px */
    line-height: 1.6;
}

.hg-tp-ep-intro__summary.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.hg-tp-ep-intro__expand {
    margin-top: 0.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fe2e62;
    font-size: 0.9375rem;
    line-height: 1.4;
    cursor: pointer;
}

.hg-tp-ep-related {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.hg-tp-ep-related__title {
    margin: 0;
    color: #fff;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    line-height: 1.875rem;
}

.hg-tp-ep-related__title--h5 {
    display: none;
}

.hg-tp-ep-related__grid {
    display: grid !important;
    /* 播放页最多只取两个推荐，所有端都固定为两列，避免落回旧的五列小卡片宽度。 */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem; /* 12px */
    width: 100%;
}

.hg-tp-ep-related__grid .hg-theater-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    background: #171616;
    border-radius: 0.3125rem;
}

.hg-tp-ep-related__grid .hg-theater-card__cover {
    aspect-ratio: 180 / 240;
}

.hg-tp-toast {
    position: fixed;
    left: 50%;
    bottom: 20%;
    z-index: 9999;
    transform: translateX(-50%) translateY(8px);
    padding: 0.625rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.hg-tp-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* —— H5 —— */
@media (max-width: 767.98px) {
    body.hg-theater-play-page .archive-nav-breadcrumb-wrap {
        display: none;
    }

    .hg-theater-play {
        padding: 0;
        min-height: 0;
    }

    /* 播放区占满视口（扣除 H5 顶栏 ~3.5625rem） */
    body.hg-theater-play-page #body > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    body.hg-theater-play-page #body > .container > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .hg-tp-stage {
        margin: 0;
        width: 100%;
        /* 旧版 OPPO/Android Chromium 不识别 dvh/svh，先提供 vh 回退。 */
        height: calc(100vh - 3.5625rem);
        min-height: calc(100vh - 3.5625rem);
        height: calc(100dvh - 3.5625rem);
        min-height: calc(100svh - 3.5625rem);
        box-sizing: border-box;
    }

    .hg-tp-player-wrap {
        aspect-ratio: auto;
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        background:
            linear-gradient(180deg, rgba(13, 13, 13, 0.2) 0%, #0d0d0d 100%),
            #0d0d0d;
    }

    .hg-tp-player {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        transform: none;
    }

    .hg-tp-player .xgplayer,
    .hg-tp-player .xgplayer video {
        width: 100% !important;
        height: 100% !important;
    }

    .hg-tp-player .xgplayer video {
        object-fit: contain;
    }

    .hg-tp-slide {
        background: #0d0d0d;
    }

    /* 容器穿透，仅子元素可点 —— 避免整块 meta/actions 盖住底部全屏/选集 */
    .hg-tp-back,
    .hg-tp-meta,
    .hg-tp-actions {
        z-index: 8;
        pointer-events: none;
    }

    .hg-tp-back,
    .hg-tp-meta > *,
    .hg-tp-actions > * {
        pointer-events: auto;
    }

    .hg-tp-player .xgplayer-start {
        width: 4.5rem !important; /* 72px */
        height: 4.5rem !important;
    }

    .hg-tp-player .xgplayer-start .xg-icon-play,
    .hg-tp-player .xgplayer-start .xg-icon-pause,
    .hg-tp-player .xgplayer-start img,
    .hg-tp-player .xgplayer-start svg,
    .hg-tp-player .xgplayer-start .hg-tp-ico {
        width: 2.75rem !important; /* 44px */
        height: 2.75rem !important;
    }

    /* H5 控制栏 — Figma 2713:9517
     * 上：进度条
     * 下：左 音量 +「倍速 1X」| 右 选集 + 全屏（无控制栏播放钮/时间） */
    .hg-tp-player .xgplayer-controls {
        height: auto !important;
        padding: 0 0.9375rem 0.75rem !important; /* 设计 30 → 15 */
        background: transparent !important;
        z-index: 20 !important;
    }

    .hg-tp-player .xg-inner-controls {
        display: flex !important;
        flex-wrap: wrap;
        height: auto !important;
        align-items: center;
        row-gap: 0.25rem; /* 进度条与下方按钮间距收紧 */
    }

    .hg-tp-player .xg-center-grid {
        order: 1;
        width: 100%;
        flex: 0 0 100% !important;
        /* 进度条容器贴合细条，勿用默认/大触控高度 */
        height: 0.5rem !important; /* 8px */
        max-height: 0.5rem !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        top: auto !important;
        line-height: 0 !important;
        overflow: visible !important;
        align-items: center !important;
    }

    /* 隐藏左栏播放/时间，按钮改由中央起播钮承担 */
    .hg-tp-player .xg-left-grid,
    .hg-tp-player .xgplayer-play,
    .hg-tp-player .xgplayer-time {
        display: none !important;
    }

    /* 右栏拉满：音量+倍速 左对齐，选集+全屏 右对齐 */
    .hg-tp-player .xg-right-grid {
        order: 2;
        width: 100% !important;
        flex: 0 0 100% !important;
        height: 1.875rem !important;
        margin-left: 0 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0.625rem; /* 音量 / 倍速 拉开 */
    }

    .hg-tp-player .xgplayer-progress {
        height: 0.5rem !important; /* 8px 容器 */
        max-height: 0.5rem !important;
        min-height: 0 !important;
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 0 !important;
        overflow: visible !important;
    }

    .hg-tp-player .xgplayer-progress-outer,
    .hg-tp-player .xgplayer-progress.active .xgplayer-progress-outer {
        height: 0.1875rem !important; /* 3px 细条 */
        margin-bottom: 0 !important;
    }

    .hg-tp-player .xgplayer-progress-btn,
    .hg-tp-player .xgplayer-progress.active .xgplayer-progress-btn {
        width: 0.625rem !important; /* 10px 圆点，可略超出容器 */
        height: 0.625rem !important;
    }

    /* 顺序：音量 → 倍速 →（弹性空白）→ 选集 → 全屏
     * xg 倍速触发钮常 absolute，父宽塌缩后左溢盖住静音 → 改为 relative 占位 */
    /* xg 静音/全屏仅作展示；真实点击由 .hg-tp-h5-hits 热区承接 */
    .hg-tp-player .xg-right-grid > .xgplayer-volume,
    .hg-tp-player .xg-right-grid > .xgplayer-fullscreen {
        pointer-events: none !important;
    }

    /* 确保 data-state 切换静音图标（覆盖可能的全局 svg { display }） */
    .hg-tp-player .xgplayer-volume[data-state='mute'] .xg-volume-mute {
        display: block !important;
    }

    .hg-tp-player .xgplayer-volume[data-state='mute'] .xg-volume,
    .hg-tp-player .xgplayer-volume[data-state='mute'] .xg-volume-small {
        display: none !important;
    }

    .hg-tp-player .xgplayer-volume[data-state='normal'] .xg-volume {
        display: block !important;
    }

    .hg-tp-player .xgplayer-volume[data-state='normal'] .xg-volume-small,
    .hg-tp-player .xgplayer-volume[data-state='normal'] .xg-volume-mute {
        display: none !important;
    }

    .hg-tp-player .xg-right-grid > .xgplayer-volume {
        order: 1 !important;
        position: relative;
        z-index: 3;
        flex: 0 0 1.5rem !important;
        margin: 0 !important;
        width: 1.5rem !important; /* 设计 48 → 24 */
        height: 1.5rem !important;
        overflow: visible !important;
    }

    .hg-tp-player .xg-right-grid > .xgplayer-playbackrate {
        order: 2 !important;
        position: relative !important;
        z-index: 1;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 4.5rem !important; /* 容纳「倍速 1X」pill，避免塌缩左溢 */
        margin: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }

    .hg-tp-player .xg-right-grid > .xgplayer-theater-episode {
        order: 3 !important;
        margin: 0 0 0 auto !important;
    }

    .hg-tp-player .xg-right-grid > .xgplayer-fullscreen {
        order: 4 !important;
        position: relative;
        z-index: 1;
        margin: 0 0 0 0.3125rem !important;
        min-width: 1.5rem !important;
        min-height: 1.5rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* H5 热区：盖在底部控制行静音（左）/ 全屏（右）之上 */
    .hg-tp-h5-hits {
        display: block !important; /* 覆盖 [hidden]，由 JS 在非 H5 保持 hidden */
        position: absolute;
        inset: 0;
        z-index: 60;
        pointer-events: none;
    }

    .hg-tp-h5-hits[hidden] {
        display: none !important;
    }

    .hg-tp-h5-hits__btn {
        position: absolute;
        bottom: 0.5rem;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        appearance: none;
        -webkit-appearance: none;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

    .hg-tp-h5-hits__mute {
        left: 0.75rem;
    }

    .hg-tp-h5-hits__fs {
        right: 0.75rem;
    }

    /* 移动端只保留静音切换，隐藏音量竖条 */
    .hg-tp-player .xgplayer-volume .xgplayer-slider,
    .hg-tp-player .xgplayer-volume xg-slider,
    .hg-tp-player .xgplayer-volume .xg-volume-bar {
        display: none !important;
    }

    .hg-tp-player .xg-right-grid > xg-icon,
    .hg-tp-player .xg-right-grid > .xgplayer-theater-episode {
        height: 1.5rem !important;
    }

    .hg-tp-player .xg-right-grid > xg-icon .xgplayer-icon,
    .hg-tp-player .xg-right-grid > xg-icon img,
    .hg-tp-player .xg-right-grid > xg-icon svg,
    .hg-tp-player .xg-right-grid .hg-tp-ico {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    .hg-tp-player .xgplayer-playbackrate .xg-options-icon,
    .hg-tp-player .xgplayer-playbackrate .btn-text {
        position: relative !important; /* 取消 absolute，参与占位，别盖静音 */
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        min-height: 1.625rem !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    /* 触发钮：单行「倍速 1X」，勿波及下拉列表 */
    .hg-tp-player .xgplayer-playbackrate .xg-options-icon > span,
    .hg-tp-player .xgplayer-playbackrate .btn-text > span {
        position: relative !important;
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: auto !important;
        min-width: 4.25rem;
        max-width: none !important;
        height: auto !important;
        min-height: 1.625rem;
        padding: 0.25rem 0.5rem;
        border-radius: 0.71875rem;
        background: rgba(0, 0, 0, 0.3) !important;
        color: #fff !important;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.005em;
        line-height: 1.2;
        white-space: nowrap !important;
        text-transform: none !important;
    }

    .hg-tp-player .xgplayer-playbackrate .xg-options-icon > span::before,
    .hg-tp-player .xgplayer-playbackrate .btn-text > span::before {
        content: '倍速\00a0';
        text-transform: none;
        white-space: nowrap;
    }

    .hg-tp-player .xgplayer-playbackrate .xg-options-list span::before,
    .hg-tp-player .xgplayer-playbackrate .xg-options-list li::before {
        content: none !important;
    }

    .hg-tp-player .xgplayer-playbackrate .xg-options-list span,
    .hg-tp-player .xgplayer-playbackrate .xg-options-list li {
        white-space: nowrap;
        background: transparent !important;
        min-width: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /*
     * H5 倍速弹层被右侧 .hg-tp-actions（z-index:8）压住：
     * 弹层在 player（z-index:2）内，无法越过 sibling 的 actions。
     * 打开时抬高播放器层，并暂时压低/隐藏右侧操作栏。
     */
    .hg-tp-player-wrap:has(.xg-options-list.active) .hg-tp-swiper .hg-tp-player,
    .hg-tp-player-wrap:has(.xg-options-list.active) > .hg-tp-player {
        z-index: 70;
    }

    .hg-tp-player-wrap:has(.xg-options-list.active) .hg-tp-actions,
    .hg-tp-player-wrap:has(.xg-options-list.active) .hg-tp-actions > * {
        z-index: 1 !important;
        opacity: 0;
        pointer-events: none !important;
    }

    .hg-tp-player .xg-options-list.active {
        z-index: 80 !important;
        pointer-events: auto !important;
    }

    /* 移动端右侧滑出倍速面板：保证盖住操作栏区域且可点 */
    .hg-tp-player .xg-options-list.xg-side-list.active {
        z-index: 80 !important;
        background: rgba(0, 0, 0, 0.92) !important;
    }

    .hg-xg-ep-btn {
        height: 1.5rem;
        font-size: 0.75rem; /* 24 → 12 */
        gap: 0.125rem; /* 设计 4 → 2 */
    }

    .hg-xg-ep-btn__icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .hg-tp-back {
        top: 0.8125rem;
        left: 0.75rem;
        width: 1.875rem;
        height: 1.875rem;
        padding: 0;
        justify-content: center;
        background: transparent;
        border: 0;
    }

    .hg-tp-back__text,
    .hg-tp-back__icon--pc {
        display: none;
    }

    .hg-tp-back__icon--h5 {
        display: block;
        width: 1.875rem;
        height: 1.875rem;
    }

    /* Figma 2713:9475：Actions y=726 h=534，底边距视频底 260（@2x → 8.125rem）
     * 须清掉 PC 的 margin-bottom，否则会叠在 bottom 上显得过高 */
    .hg-tp-actions {
        right: 0.625rem; /* 稿面右边距 10 */
        top: auto;
        bottom: 8.125rem;
        margin-bottom: 0;
        transform: none;
        gap: 1.25rem; /* 稿面 gap 40 → 20 */
        width: 4.375rem;
        justify-content: flex-end;
    }

    .hg-tp-actions__nav {
        display: none;
    }

    .hg-tp-action {
        width: 6.25rem;
        gap: 0.5rem;
        color: #fff;
        font-size: 0.8125rem;
    }

    .hg-tp-action__icon {
        width: 2.25rem; /* 设计 72 → 36 */
        height: 2.25rem;
        background: rgba(0, 0, 0, 0.3);
    }

    .hg-tp-action__img--pc {
        display: none !important;
    }

    /* H5：点赞 40→20 / 收藏·分享 44→22；评论整图铺满 36 */
    .hg-tp-action__img--h5 {
        display: block;
        width: 1.375rem;
        height: 1.375rem;
    }

    .hg-tp-action__img--h5.hg-tp-action__img--on {
        display: none !important;
    }

    .hg-tp-action.is-active .hg-tp-action__img--h5.hg-tp-action__img--off {
        display: none !important;
    }

    .hg-tp-action.is-active .hg-tp-action__img--h5.hg-tp-action__img--on {
        display: block !important;
    }

    .hg-tp-action.is-active .hg-tp-action__img--pc.hg-tp-action__img--on {
        display: none !important;
    }

    .hg-tp-action[data-theater-like] .hg-tp-action__img--h5 {
        width: 1.25rem; /* 40 → 20 */
        height: 1.25rem;
    }

    .hg-tp-action--comment .hg-tp-action__icon {
        background: transparent;
    }

    .hg-tp-action--comment .hg-tp-action__img--h5 {
        width: 2.25rem;
        height: 2.25rem;
    }

    .hg-tp-action__count--pc {
        display: none;
    }

    .hg-tp-meta {
        left: 0.9375rem;
        right: 5rem;
        bottom: 5rem; /* 进度+控制行之上（Figma 2713:9517） */
        max-width: none;
        gap: 0.625rem;
    }

    .hg-tp-meta__title {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .hg-tp-meta__chevron--pc {
        display: none;
    }

    .hg-tp-meta__chevron--h5 {
        display: block;
        width: 1.0625rem;
        height: 1.0625rem;
    }

    .hg-tp-meta__tag {
        padding: 0.3125rem 0.4375rem;
        font-size: 0.75rem;
    }

    .hg-tp-meta__summary {
        max-width: none;
        align-items: center;
    }

    .hg-tp-meta__summary-text {
        color: #eee;
        font-size: 0.8125rem;
        font-weight: 500;
        line-height: 1.35;
    }

    .hg-tp-meta__expand-pc {
        display: none;
    }

    .hg-tp-meta__expand-h5 {
        display: block;
    }

    /* H5：底部弹层（Figma 2712:8739 简介 / 2712:9126 选集） */
    .hg-tp-ep-drawer {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        max-height: min(67.1875rem, 85dvh);
        padding: 0.75rem 0.78125rem 1.5rem; /* 24/25 → 半稿 */
        gap: 1.25rem; /* 40 → 20 */
        border-radius: 1.5rem 1.5rem 0 0;
        box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
        transform: translateY(100%);
    }

    .hg-tp-ep-drawer.is-open {
        transform: translateY(0);
    }

    /* H5 选集头：Figma 2712:9364 tab-bar-row 96@750 → 48 */
    .hg-tp-ep-drawer__nav {
        min-height: 3rem;
        padding: 0.25rem 0;
    }

    .hg-tp-ep-tabs {
        gap: 1.25rem; /* 40 → 20 */
        align-items: center;
        min-height: 3rem;
    }

    .hg-tp-ep-tab {
        padding: 0.5rem 0;
        font-size: 1rem; /* 32 → 16 */
        font-weight: 600;
    }

    .hg-tp-ep-tab.is-active {
        font-size: 1.125rem; /* 36 → 18 */
    }

    .hg-tp-ep-tab.is-active::after {
        width: 1.125rem; /* 36 → 18 */
        height: 0.1875rem; /* 6 → 3 */
        border-radius: 0.09375rem;
        bottom: 0.125rem;
    }

    .hg-tp-ep-close {
        width: 2rem; /* 64 → 32 */
        height: 2rem;
        border-radius: 999px;
    }

    .hg-tp-ep-close img {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* H5 简介头图 */
    .hg-tp-ep-intro__cover {
        width: 6.25rem; /* 200 → 100 */
        height: 8.34375rem; /* 267 → 133.5 */
    }

    .hg-tp-ep-intro__hero {
        gap: 0.625rem; /* 20 → 10 */
    }

    .hg-tp-ep-intro__title {
        font-size: 1rem; /* 32 → 16 */
    }

    .hg-tp-ep-intro__meta {
        font-size: 0.75rem; /* 24 → 12 */
    }

    .hg-tp-ep-intro__tags span {
        height: 1.25rem; /* 40 → 20 */
        padding: 0 0.375rem;
        border: 1px solid rgba(254, 46, 98, 0.3);
        border-radius: 0.3125rem; /* 10 → 5，非胶囊 */
        font-size: 0.6875rem; /* 22 → 11 */
        font-weight: 500;
    }

    .hg-tp-ep-intro__plot-label {
        font-size: 1rem; /* 32 → 16 */
        color: #fff;
    }

    .hg-tp-ep-intro__summary,
    .hg-tp-ep-intro__expand {
        font-size: 0.75rem; /* 24 → 12 */
    }

    .hg-tp-ep-intro__summary {
        color: #8e8e93;
    }

    .hg-tp-ep-intro__summary.is-clamped {
        -webkit-line-clamp: 4;
    }

    .hg-tp-ep-related__title {
        font-size: 1rem;
        width: 100%;
    }

    .hg-tp-ep-related__title--pc {
        display: none;
    }

    .hg-tp-ep-related__title--h5 {
        display: inline;
    }

    .hg-tp-ep-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.625rem; /* 20 → 10 */
    }

    /* H5：两列等宽竖版卡片，充分利用弹层内容宽度。 */
    .hg-tp-ep-related__grid .hg-theater-card {
        width: 100% !important;
        border-radius: 0.3125rem; /* 10 → 5 */
    }

    .hg-tp-ep-related__grid .hg-theater-card__cover {
        aspect-ratio: 200 / 270;
    }

    /* H5 选集：区间文字 Tab + 6 列数字方格（2712:9126） */
    .hg-tp-ep-section-head {
        justify-content: flex-start;
        gap: 0.5rem; /* 16 → 8 */
    }

    .hg-tp-ep-section-head__title {
        font-size: 1rem; /* 32 → 16 */
        font-weight: 600;
    }

    .hg-tp-ep-section-head__count {
        font-size: 0.75rem; /* 24 → 12 */
    }

    .hg-tp-ep-ranges {
        gap: 0.9375rem; /* 30 → 15 */
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hg-tp-ep-range {
        width: auto;
        height: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.65);
        font-size: 1rem; /* 32 → 16 */
        font-weight: 600;
        white-space: nowrap;
    }

    .hg-tp-ep-range.is-active {
        background: transparent;
        border: 0;
        color: #fe2e62;
    }

    .hg-tp-ep-grid {
        gap: 0.625rem; /* 20 → 10 */
    }

    .hg-tp-ep-item {
        width: calc((100% - 3.125rem) / 6); /* 6 列 + 5 gap */
        min-width: 0;
        aspect-ratio: 1;
        height: auto;
        padding: 0;
        border: 1.5px solid transparent;
        border-radius: 0.5rem; /* 16 → 8 */
        background: #2c2c2e;
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1;
    }

    .hg-tp-ep-item.is-active {
        background: #2c2c2e;
        border-color: #fe2e62;
        color: #fe2e62;
    }

}

/* 播放页：移动端隐藏页脚，PC 保留 */
body.hg-theater-play-page #body {
    padding-bottom: 0;
}

/* #backtop z-index:899 固定右下，会盖住全屏热区（即便 opacity:0 仍可点） */
body.hg-theater-play-page #backtop {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* H5 CSS 伪全屏：盖住站点壳，控制条仍在，可再点全屏退出 */
body.hg-tp-h5-fs {
    overflow: hidden !important;
}

body.hg-tp-h5-fs #masthead,
body.hg-tp-h5-fs .archive-nav-breadcrumb-wrap,
body.hg-tp-h5-fs #footer,
body.hg-tp-h5-fs #foot-menu {
    display: none !important;
}

/* H5 全屏：隐藏右侧互动面板 + 标题/标签/简介（返回保留） */
body.hg-tp-h5-fs .hg-tp-actions,
body.hg-tp-h5-fs .hg-tp-meta {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* 全屏态抽屉需压过伪全屏 wrap（z-index:10050）；挂入全屏节点后同样生效 */
body.hg-tp-h5-fs .hg-tp-ep-mask,
.hg-tp-player-wrap:fullscreen .hg-tp-ep-mask,
.hg-tp-player-wrap:-webkit-full-screen .hg-tp-ep-mask,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-ep-mask,
.hg-tp-player-wrap--h5-fs .hg-tp-ep-mask {
    z-index: 10100 !important;
}

body.hg-tp-h5-fs .hg-tp-ep-drawer,
body.hg-tp-h5-fs .hg-tp-cmt-drawer,
.hg-tp-player-wrap:fullscreen .hg-tp-ep-drawer,
.hg-tp-player-wrap:fullscreen .hg-tp-cmt-drawer,
.hg-tp-player-wrap:-webkit-full-screen .hg-tp-ep-drawer,
.hg-tp-player-wrap:-webkit-full-screen .hg-tp-cmt-drawer,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-ep-drawer,
.hg-tp-player-wrap.xgplayer-fullscreen-parent .hg-tp-cmt-drawer,
.hg-tp-player-wrap--h5-fs .hg-tp-ep-drawer,
.hg-tp-player-wrap--h5-fs .hg-tp-cmt-drawer {
    z-index: 10110 !important;
}

/* 抽屉挂进 wrap 时避免 overflow:hidden 裁切侧栏/底栏 */
body.hg-tp-panel-open .hg-tp-player-wrap:fullscreen,
body.hg-tp-panel-open .hg-tp-player-wrap:-webkit-full-screen,
body.hg-tp-panel-open .hg-tp-player-wrap.xgplayer-fullscreen-parent,
body.hg-tp-h5-fs.hg-tp-panel-open .hg-tp-player-wrap {
    overflow: visible !important;
}

body.hg-tp-h5-fs .hg-tp-player-wrap,
body.hg-tp-h5-fs .hg-tp-player-wrap.xgplayer-fullscreen-parent,
body.hg-tp-h5-fs .hg-tp-player-wrap--h5-fs {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    border-radius: 0 !important;
    background: #000 !important;
}

body.hg-tp-h5-fs .hg-tp-player,
body.hg-tp-h5-fs .hg-tp-player.xgplayer-fullscreen-parent,
body.hg-tp-h5-fs .hg-tp-player--h5-fs {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 6 !important;
}

body.hg-tp-h5-fs .hg-tp-h5-hits {
    z-index: 10060 !important;
}

@media (max-width: 767.98px) {
    body.hg-theater-play-page #foot-menu,
    body.hg-theater-play-page #footer {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hg-tp-back {
        z-index: 12;
    }

    .hg-tp-meta,
    .hg-tp-actions {
        z-index: 8;
    }

    /* 控制条抬到渐变与信息层之上 */
    .hg-tp-player .xgplayer-controls {
        z-index: 20 !important;
    }
}

/* —— 评论抽屉：复用选集遮罩壳，PC 右侧 450 / H5 底部（Figma 2606:6998 / 2712:8562） —— */
body.hg-tp-panel-open {
    overflow: hidden;
}

.hg-tp-cmt-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    width: 28.125rem; /* 450px */
    height: 100%;
    max-height: 100dvh;
    box-sizing: border-box;
    background: #181818;
    color: #eee;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    overflow: hidden;
}

.hg-tp-cmt-drawer.is-open {
    transform: translateX(0);
}

.hg-tp-cmt-drawer__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 0.75rem;
    min-height: 3.9375rem; /* PC Figma Header 63 */
    padding: 1rem 1.125rem; /* 16 / 18 */
    background: #1e1e1e;
    border-bottom: 1px solid #303030;
    box-sizing: border-box;
}

.hg-tp-cmt-collapse {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hg-tp-cmt-collapse img {
    display: block;
    width: 1.875rem;
    height: 1.875rem;
    transform: rotate(90deg);
}

.hg-tp-cmt-drawer__title {
    margin: 0;
    flex: 1 1 auto;
    color: #eee;
    font-size: 1rem; /* 16 */
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.hg-tp-cmt-drawer__title-count {
    font-size: 0.8125rem; /* 13 */
    font-weight: 400;
}

.hg-tp-cmt-close {
    flex-shrink: 0;
}

.hg-tp-cmt-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    padding: 1.25rem 1rem 0.75rem;
    overflow: auto;
    box-sizing: border-box;
}

.hg-tp-cmt-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.hg-tp-cmt-thread {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.hg-tp-cmt-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    width: 100%;
}

.hg-tp-cmt-item__avatar {
    flex-shrink: 0;
    width: 1.875rem; /* 30 */
    height: 1.875rem;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.hg-tp-cmt-item__main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.hg-tp-cmt-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #959595;
    font-size: 0.8125rem;
    line-height: 1.2;
}

.hg-tp-cmt-item__author {
    color: #959595;
    font-weight: 400;
}

.hg-tp-cmt-item__author.is-official {
    color: #fe2e62;
    font-weight: 500;
}

.hg-tp-cmt-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.125rem; /* 18 */
    height: 1.125rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #ffb020 0%, #fe2e62 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
}

.hg-tp-cmt-item__date {
    color: #959595;
}

.hg-tp-cmt-item__text {
    margin: 0;
    color: #eee;
    font-size: 0.9375rem; /* 15 */
    font-weight: 400;
    line-height: 1.45;
    word-break: break-word;
}

.hg-tp-cmt-item__mention {
    color: #fe2e62;
}

.hg-tp-cmt-item__reply {
    /* 父级 column flex 默认 stretch，需收窄为内容宽胶囊（Figma 2806:7496） */
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 1.5rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #959595;
    font-size: 0.625rem; /* 10 */
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
}

.hg-tp-cmt-item__reply:hover,
.hg-tp-cmt-item__reply:focus {
    color: #fe2e62;
    border-color: rgba(254, 46, 98, 0.35);
}

.hg-tp-cmt-replies {
    /* 与父评论文本列同宽：左缩进头像+间距，右对齐父评论右缘（Figma 2806:7499） */
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-left: calc(1.875rem + 0.625rem);
    width: calc(100% - 1.875rem - 0.625rem);
    max-width: calc(100% - 1.875rem - 0.625rem);
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.hg-tp-cmt-replies .hg-tp-cmt-item {
    width: 100%;
}

.hg-tp-cmt-replies .hg-tp-cmt-item__avatar {
    width: 1.5rem;
    height: 1.5rem;
}

.hg-tp-cmt-replies .hg-tp-cmt-item__text {
    font-size: 0.9375rem;
}

.hg-tp-cmt-expand {
    display: block;
    align-self: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fe2e62;
    font-size: 0.9375rem;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.hg-tp-cmt-inline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding: 0.5rem 0.625rem 0.625rem;
    border: 1px solid #222;
    border-radius: 1rem;
    background: #0d0d0d;
    box-sizing: border-box;
}

/* display:flex 会盖掉 UA 的 [hidden]，未展开时必须强制隐藏 */
.hg-tp-cmt-inline[hidden] {
    display: none !important;
}

.hg-tp-cmt-inline__input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    color: #eee;
    font-size: 0.8125rem;
    line-height: 1.4;
    resize: none;
    box-sizing: border-box;
}

.hg-tp-cmt-inline__input:focus {
    outline: none;
    border-color: rgba(254, 46, 98, 0.45);
}

.hg-tp-cmt-inline__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.hg-tp-cmt-inline__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #959595;
    font-size: 0.625rem;
    cursor: pointer;
}

.hg-tp-cmt-inline__btn--send {
    border-color: transparent;
    background: #fe2e62;
    color: #fff;
    font-weight: 600;
}

.hg-tp-cmt-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.3125rem;
    margin: 0.25rem 0 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fe2e62;
    font-size: 0.9375rem;
    cursor: pointer;
}

/* display:flex 会覆盖通用 [hidden]，没有下一页时必须强制隐藏。 */
.hg-tp-cmt-more[hidden] {
    display: none !important;
}

.hg-tp-cmt-empty,
.hg-tp-cmt-status {
    margin: 1.5rem 0;
    color: #8e8e93;
    font-size: 0.875rem;
    text-align: center;
}

.hg-tp-cmt-composer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.75rem 0.875rem;
    background: #202124;
    box-sizing: border-box;
}

.hg-tp-cmt-composer__author-wrap {
    display: block;
}

.hg-tp-cmt-composer__author {
    width: 100%;
    height: 2.25rem;
    padding: 0 0.875rem;
    border: 1px solid #303030;
    border-radius: 0.625rem;
    background: #181818;
    color: #eee;
    font-size: 0.8125rem;
    box-sizing: border-box;
}

.hg-tp-cmt-composer__author:focus,
.hg-tp-cmt-composer__input:focus {
    outline: none;
    border-color: rgba(254, 46, 98, 0.45);
}

.hg-tp-cmt-composer__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hg-tp-cmt-composer__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 2.5rem;
    padding: 0 0.875rem;
    border: 1px solid #303030;
    border-radius: 1.375rem; /* 22 */
    background: #181818;
    color: #eee;
    font-size: 0.875rem;
    box-sizing: border-box;
}

.hg-tp-cmt-composer__input::placeholder {
    color: #808080;
}

.hg-tp-cmt-composer__send {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fe2e62;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.hg-tp-cmt-composer__send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hg-tp-cmt-composer__reply-tip {
    margin: 0;
    color: #fe2e62;
    font-size: 0.75rem;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .hg-tp-cmt-drawer {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        max-height: min(67.1875rem, 85dvh);
        border-radius: 1.5rem 1.5rem 0 0;
        background: #121214;
        box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
        transform: translateY(100%);
    }

    .hg-tp-cmt-drawer.is-open {
        transform: translateY(0);
    }

    .hg-tp-cmt-drawer__nav {
        position: relative;
        justify-content: center;
        min-height: 3.5rem; /* H5 标题行+关闭约 64@750，略放高便于点击 */
        padding: 0.75rem 0.78125rem;
        background: transparent;
        border-bottom: 0;
    }

    .hg-tp-cmt-collapse {
        display: inline-flex;
        position: absolute;
        left: 0.78125rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hg-tp-cmt-drawer__title {
        flex: 0 1 auto;
        max-width: 60%;
        color: #eee;
        font-size: 1rem; /* 32→16 */
        font-weight: 600;
        text-align: center;
    }

    .hg-tp-cmt-drawer__title-main {
        font-size: 1rem;
    }

    .hg-tp-cmt-drawer__title-count {
        font-size: 0.875rem; /* 28→14 */
    }

    .hg-tp-cmt-close {
        position: absolute;
        right: 0.78125rem;
        top: 50%;
        transform: translateY(-50%);
        width: 2rem;
        height: 2rem;
        border-radius: 999px;
    }

    .hg-tp-cmt-close img {
        width: 0.9375rem;
        height: 0.9375rem;
    }

    .hg-tp-cmt-body {
        padding: 0.625rem 0.78125rem 0.5rem;
        gap: 0.625rem;
    }

    .hg-tp-cmt-list {
        gap: 0.9375rem; /* 30→15 */
    }

    .hg-tp-cmt-item {
        gap: 0.625rem;
    }

    .hg-tp-cmt-item__avatar {
        width: 2rem; /* 64→32 */
        height: 2rem;
    }

    .hg-tp-cmt-item__main {
        gap: 0.5rem;
    }

    .hg-tp-cmt-item__meta {
        gap: 0.625rem;
        font-size: 0.75rem; /* 24→12 */
    }

    .hg-tp-cmt-item__text {
        font-size: 0.8125rem; /* 26→13 */
        font-weight: 600;
        line-height: 1.5;
        color: #fff;
    }

    .hg-tp-cmt-item__reply {
        height: 1.5rem; /* 48→24 */
        font-size: 0.6875rem; /* 22→11 */
    }

    .hg-tp-cmt-badge {
        width: 1rem;
        height: 1rem;
        font-size: 0.625rem;
        border-radius: 0.1875rem;
    }

    /* H5：回复区仍缩进对齐父评论文本列，保留灰底盒 */
    .hg-tp-cmt-replies {
        margin-left: calc(2rem + 0.625rem);
        width: calc(100% - 2rem - 0.625rem);
        max-width: calc(100% - 2rem - 0.625rem);
        padding: 0.5rem 0.625rem;
        background: rgba(255, 255, 255, 0.04);
        gap: 0.5rem;
    }

    .hg-tp-cmt-replies .hg-tp-cmt-item__avatar {
        width: 1.5rem; /* 47→24 */
        height: 1.5rem;
    }

    .hg-tp-cmt-expand {
        font-size: 0.6875rem; /* 22→11 */
        margin-left: 1.95rem;
    }

    .hg-tp-cmt-more {
        display: none;
    }

    .hg-tp-cmt-composer {
        padding: 0.75rem 1rem;
        background: #171616;
        gap: 0.5rem;
    }

    .hg-tp-cmt-composer__row {
        gap: 0.75rem;
    }

    .hg-tp-cmt-composer__input {
        height: 2.25rem; /* 72→36 */
        border-radius: 0.625rem;
        background: #2c2c2e;
        border-color: rgba(255, 255, 255, 0.1);
        font-size: 0.75rem;
    }

    .hg-tp-cmt-composer__input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .hg-tp-cmt-composer__send {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 4.5625rem; /* 146→73 */
        height: 2.125rem; /* 68→34 */
        border-radius: 0.625rem;
        background: linear-gradient(90deg, #fe2e62 0%, #ff5781 100%);
        box-shadow: 0 0 0.55rem rgba(254, 46, 98, 0.48);
        color: #fff;
        font-size: 0.8125rem;
        font-weight: 600;
    }

    /* H5：回复走底部输入，不展示 PC 内联框 */
    .hg-tp-cmt-inline {
        display: none !important;
    }
}
