/* ============================================================
   AGE动漫 手机端「抖音式」沉浸式界面
   桌面端：下面第一行隐藏所有移动端节点，样式零影响
   手机端（<=900px）：全屏竖滑信息流 + 右侧互动栏 + 底部 Tab 栏
   ============================================================ */
.dy-app, .dy-tabbar, .dy-sheet, .dy-toast { display: none; }

@media (max-width: 900px) {
  [hidden] { display: none !important; }
  html { background: #000; }
  body {
    background: var(--bg);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  /* ---------- 全站：顶栏 / 栅格 / 页脚 APP 化 ---------- */
  .header-inner { height: 52px; padding: 0 12px; gap: 8px; background: rgba(8, 10, 13, .96); }
  .logo-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 15px; }
  .logo-text { font-size: 15px; }
  .logo-text small { display: none; }
  .nav, .icon-btn, .btn-client { display: none !important; }
  .header-right { flex: 1; min-width: 0; margin-left: 6px; }
  .search-box { flex: 1; min-width: 0; }
  .search-box input { flex: 1; width: auto; min-width: 0; padding: 7px 10px; font-size: 13px; }
  .search-box button { padding: 6px 10px; }
  .container { width: 100%; padding: 0 12px; }
  .grid, .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
  .card-title { font-size: 13px; }
  .section { margin-top: 26px; }
  .section-head h2 { font-size: 18px; }
  .footer { display: none; }
  .page-title { font-size: 20px; margin: 16px 0 12px; }
  .filter-chips { gap: 8px; margin-bottom: 16px; }
  .chip { padding: 6px 12px; font-size: 12px; }
  .pager { flex-wrap: wrap; gap: 6px; }
  .detail-hero { min-height: 0; padding: 16px 0; }
  .play-wrap, .rk-cols { grid-template-columns: 1fr; }
  .rk-hero { padding: 24px 12px 18px; }
  .rk-hero h1 { font-size: 24px; }
  .rk-tabs { gap: 20px; }
  .search-panel { margin: 22px auto 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { width: 88vw; padding: 20px; }

  /* ---------- 首页：隐藏桌面内容，启用沉浸式信息流 ---------- */
  body.is-home { padding-bottom: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #000; }
  body.is-home > .header,
  body.is-home > .hero,
  body.is-home > .section,
  body.is-home > .footer { display: none !important; }

  .dy-app { display: block; position: fixed; inset: 0; z-index: 1; background: #000; color: #fff; }
  .dy-app svg { fill: currentColor; display: block; }

  /* 顶部条：菜单 / 推荐·热播 / 搜索 */
  .dy-topbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 20;
    height: calc(50px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 10px 0;
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(180deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
    pointer-events: none;
  }
  .dy-topbar > * { pointer-events: auto; }
  .dy-icon-btn {
    width: 38px; height: 38px; border: 0; background: transparent; color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
  }
  .dy-icon-btn svg { width: 23px; height: 23px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
  .dy-tabs { display: flex; align-items: center; gap: 16px; }
  .dy-tab {
    position: relative; border: 0; background: transparent; color: rgba(255, 255, 255, .58);
    font-size: 17px; font-weight: 600; padding: 6px 0; cursor: pointer;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
  }
  .dy-tab.on { color: #fff; font-weight: 700; }
  .dy-tab.on:after {
    content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
    width: 20px; height: 3px; border-radius: 2px; background: #fff;
  }

  /* 竖向整屏吸附信息流 */
  .dy-feed {
    position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
    scroll-snap-type: y mandatory; overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .dy-feed::-webkit-scrollbar { display: none; }
  .dy-item {
    position: relative; width: 100%; height: 100vh; height: 100dvh;
    scroll-snap-align: start; scroll-snap-stop: always;
    overflow: hidden; background: #050505;
  }
  .dy-blur, .dy-poster {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  }
  .dy-blur { filter: blur(28px) brightness(.45); transform: scale(1.25); }
  .dy-poster { z-index: 1; }
  .dy-shade {
    position: absolute; inset: 0; z-index: 4;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .3) 62%, rgba(0, 0, 0, .92) 100%);
  }
  /* 真实视频层：横屏内容完整显示，不裁切放大；上下由模糊封面填充 */
  .dy-video {
    position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
    object-fit: contain; object-position: center; background: transparent; pointer-events: none;
  }
  .dy-item.dy-playing .dy-poster { opacity: 0; }
  .dy-item.dy-playing .dy-center-play { display: none; }
  .dy-item .dy-poster { transition: opacity .35s; }
  .dy-sound {
    display: inline-flex; align-items: center; gap: 5px; margin: 0 0 10px;
    padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 20px;
    background: rgba(0, 0, 0, .42); color: #fff; font-size: 12px; cursor: pointer;
    backdrop-filter: blur(6px); text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  }
  .dy-label {
    position: absolute; z-index: 5; top: calc(62px + env(safe-area-inset-top, 0px)); left: 14px;
    font-size: 11px; padding: 4px 10px; border-radius: 20px;
    background: rgba(0, 0, 0, .42); color: rgba(255, 255, 255, .9); backdrop-filter: blur(6px);
  }
  .dy-center-play {
    position: absolute; z-index: 5; top: 42%; left: 50%; transform: translate(-50%, -50%);
    width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; background: rgba(0, 0, 0, .32); border: 1.5px solid rgba(255, 255, 255, .75);
    backdrop-filter: blur(4px); transition: opacity .2s, transform .2s;
  }
  .dy-item.on .dy-center-play { animation: dyBreath 2.6s ease-in-out infinite; }
  @keyframes dyBreath { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.08); } }
  .dy-pause-mark {
    position: absolute; z-index: 6; top: 44%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; border-radius: 50%; display: none; align-items: center; justify-content: center;
    font-size: 30px; color: rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .35); pointer-events: none;
  }
  .dy-item.dy-paused .dy-pause-mark { display: flex; }
  .dy-item.dy-paused .dy-center-play { opacity: 0; }

  /* 手机端播放广告：贴片（播放前）/ 片尾（播放完），覆盖整个沉浸页 */
  .dy-promo {
    position: absolute; inset: 0; z-index: 90; color: #fff;
    background: linear-gradient(135deg, #ff9a9e, #a18cd1);
    display: flex; align-items: center; justify-content: center;
  }
  .dy-promo-link {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    color: #fff; text-align: center; padding: 0 30px; text-decoration: none;
  }
  .dy-promo-title { font-size: 26px; font-weight: 800; text-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
  .dy-promo-sub { font-size: 14px; opacity: .92; }
  .dy-promo-badge {
    position: absolute; top: 14px; right: 14px; pointer-events: none;
    background: rgba(0, 0, 0, .62); border-radius: 20px; padding: 5px 12px; font-size: 13px;
  }
  .dy-promo-close {
    position: absolute; top: 14px; left: 14px; z-index: 2; cursor: pointer;
    background: rgba(0, 0, 0, .62); color: #fff; border: none; border-radius: 20px;
    padding: 5px 12px; font-size: 14px;
  }
  .dy-promo-next {
    position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%); z-index: 2;
    background: rgba(0, 0, 0, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 24px; padding: 9px 22px; font-size: 14px; cursor: pointer;
  }
  .dy-promo [hidden] { display: none; }

  /* 左下作品信息 */
  .dy-info {
    position: absolute; z-index: 6; left: 14px; right: 80px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    text-shadow: 0 1px 5px rgba(0, 0, 0, .75);
  }
  .dy-account { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 10px; color: rgba(255, 255, 255, .92); }
  .dy-account b { font-weight: 700; }
  .dy-rec { font-size: 11px; color: rgba(255, 255, 255, .65); margin-left: 4px; }
  .dy-title {
    display: block; font-size: 21px; font-weight: 800; line-height: 1.35; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px;
  }
  .dy-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .85); margin-bottom: 8px; }
  .dy-meta .dy-score { color: #ffd76a; font-weight: 700; }
  .dy-desc {
    font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .88); margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .dy-hash { font-size: 12px; color: #fff; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dy-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; max-width: 300px; border-radius: 22px; color: #fff;
    background: linear-gradient(90deg, #fe2c55, #ff5c39); font-size: 15px; font-weight: 700;
    box-shadow: 0 6px 20px rgba(254, 44, 85, .35);
  }
  .dy-cta span { font-size: 11px; font-weight: 400; opacity: .85; }

  /* 右侧互动栏 */
  .dy-actions {
    position: absolute; z-index: 7; right: 8px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; align-items: center; gap: 15px;
  }
  .dy-ava { position: relative; display: block; margin-bottom: 4px; }
  .dy-ava img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
  .dy-ava .dy-plus {
    position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
    width: 20px; height: 20px; border: 0; padding: 0; border-radius: 50%; background: #fe2c55; color: #fff;
    font-size: 15px; line-height: 19px; text-align: center; font-weight: 700; cursor: pointer;
  }
  .dy-ava.on .dy-plus { background: #fff; color: #fe2c55; }
  .dy-act {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: transparent; border: 0; color: #fff; font-size: 11px; cursor: pointer; padding: 0;
  }
  .dy-act .dy-ico svg { width: 33px; height: 33px; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); transition: transform .18s; }
  .dy-act em { font-style: normal; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
  .dy-act.on .dy-ico svg { fill: #fe2c55; }
  .dy-act.pop .dy-ico svg { animation: dyPop .38s ease; }
  @keyframes dyPop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
  .dy-disc { display: block; margin-top: 2px; }
  .dy-disc img {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    border: 6px solid rgba(20, 20, 22, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
  }
  .dy-item.on .dy-disc img { animation: dySpin 6s linear infinite; }
  @keyframes dySpin { to { transform: rotate(360deg); } }
  .dy-big-heart {
    position: absolute; z-index: 9; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
    font-size: 90px; color: #fe2c55; pointer-events: none; animation: dyHeart .75s ease forwards;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
  }
  @keyframes dyHeart { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-12deg); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(-12deg); } 100% { opacity: 0; transform: translate(-50%, -70%) scale(1) rotate(-12deg); } }

  /* 底部进度条 / 上滑提示 */
  .dy-progress {
    position: absolute; z-index: 8; left: 0; right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)); height: 3px; background: rgba(255, 255, 255, .28);
  }
  .dy-time {
    position: absolute; z-index: 9; right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    font-size: 11px; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
    pointer-events: none; font-variant-numeric: tabular-nums;
  }
  /* 进度由 JS 按视频真实时长更新，不再用 10 秒循环假动画 */
  .dy-progress i { display: block; height: 100%; width: 0; background: #fff; transition: width .2s linear; }
  .dy-item.on .dy-progress i { animation: none; }
  .dy-swipe-hint {
    position: absolute; z-index: 9; left: 0; right: 0;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)); text-align: center;
    font-size: 12px; color: rgba(255, 255, 255, .75); pointer-events: none;
  }
  .dy-swipe-hint span { display: block; font-size: 18px; line-height: 1; animation: dyUp 1.5s ease-in-out infinite; }
  @keyframes dyUp { 0%, 100% { transform: translateY(4px); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

  /* 分类抽屉 */
  .dy-drawer { position: absolute; inset: 0; z-index: 40; }
  .dy-drawer-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
  .dy-drawer-panel {
    position: absolute; top: 0; left: 0; bottom: 0; width: 78%; max-width: 320px;
    background: #15171c; padding: calc(24px + env(safe-area-inset-top, 0px)) 18px 24px; overflow-y: auto;
    box-shadow: 8px 0 30px rgba(0, 0, 0, .5);
  }
  .dy-drawer-panel h3 { font-size: 18px; margin-bottom: 16px; }
  .dy-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dy-cats a { background: rgba(255, 255, 255, .07); border-radius: 9px; padding: 11px 8px; text-align: center; font-size: 13px; color: #ddd; }
  .dy-drawer-links { margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; }
  .dy-drawer-links a { display: block; padding: 11px 4px; color: #ccc; font-size: 14px; }

  /* ---------- 全站底部 Tab 栏 ---------- */
  .dy-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: stretch; justify-content: space-around;
    background: rgba(0, 0, 0, .94); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .dy-tb {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: rgba(255, 255, 255, .5); font-size: 10px; background: transparent; border: 0; cursor: pointer;
  }
  .dy-tb.on { color: #fff; font-weight: 600; }
  .dy-tb.on .dy-tb-ico { filter: drop-shadow(0 0 5px rgba(255, 255, 255, .35)); }
  .dy-tb-ico svg { width: 23px; height: 23px; }
  .dy-tb em { font-style: normal; }
  .dy-plus-btn { position: relative; }
  .dy-plus-box {
    display: block; width: 46px; height: 30px; border-radius: 8px; background: #fff; color: #16171a;
    font-size: 25px; font-weight: 700; line-height: 28px; text-align: center;
    box-shadow: -4px 0 0 #25f4ee, 4px 0 0 #fe2c55;
  }

  /* 中间快捷面板 / 轻提示 */
  .dy-sheet { display: block; position: fixed; inset: 0; z-index: 80; }
  .dy-sheet-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
  .dy-sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    background: #1b1e24; border-radius: 18px 18px 0 0;
  }
  .dy-sheet-panel h3 { font-size: 15px; text-align: center; margin-bottom: 18px; color: #fff; }
  .dy-sheet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .dy-sheet-grid a {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 14px 4px;
    color: #ddd; font-size: 12px;
  }
  .dy-sheet-grid i { font-style: normal; font-size: 22px; }
  .dy-toast {
    display: block; position: fixed; z-index: 100; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%); max-width: 80vw; padding: 10px 18px; border-radius: 20px;
    background: rgba(0, 0, 0, .84); color: #fff; font-size: 13px; white-space: nowrap;
  }

  /* ============================================================
     全站统一：抖音式顶栏 / 按钮 / 卡片
     ============================================================ */
  body { touch-action: manipulation; }
  .header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(8, 10, 13, .94); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .header-inner { height: 54px; }
  .logo-mark { background: linear-gradient(135deg, #00cc4c, #00e0a0); color: #08110c; font-weight: 900; }
  .logo-text { font-weight: 800; letter-spacing: .5px; }
  .search-box {
    background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px; overflow: hidden;
  }
  .search-box input { background: transparent; border: 0; color: #fff; }
  .search-box input::placeholder { color: rgba(255, 255, 255, .45); }
  .search-box button { background: transparent; }
  .btn-green, .cmt-send, .detail-btns .btn-green {
    background: linear-gradient(90deg, #fe2c55, #ff5c39) !important;
    border: 0; box-shadow: 0 6px 18px rgba(254, 44, 85, .28);
  }
  .card-cover { border-radius: 12px; }
  .card-score { border-radius: 12px 0 10px 0; }
  .card-remarks { border-radius: 0 0 10px 10px; }
  .card-title { font-size: 13px; line-height: 1.4; }
  .page-title { font-weight: 800; }
  .chip.on, .filter-chips .chip.on {
    background: linear-gradient(90deg, #fe2c55, #ff5c39); border-color: transparent; color: #fff;
  }
  .pager a.on { background: #fe2c55; border-color: #fe2c55; color: #fff; }
  .uc-tabs a.on { color: #fff; border-bottom: 2px solid #fe2c55; }

  /* 公告弹窗：抖音式底部抽屉 */
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal {
    width: 100%; max-width: 100%; border-radius: 18px 18px 0 0;
    padding: 22px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  /* ============================================================
     首页信息流：封面缓慢推镜（视频感）+ 信息淡入
     ============================================================ */
  .dy-item.on .dy-poster { animation: dyKen 14s ease-in-out infinite alternate; }
  @keyframes dyKen { from { transform: scale(1); } to { transform: scale(1.09); } }
  .dy-item.on .dy-info, .dy-item.on .dy-actions { animation: dyFade .35s ease both; }
  @keyframes dyFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .dy-center-play { opacity: .72; }
  .dy-cta { border-radius: 24px; }

  /* ============================================================
     详情页：抖音式沉浸海报 + 横滑选集
     ============================================================ */
  .detail-hero { min-height: 64vh; display: block; margin-top: 0; }
  .detail-hero .hero-bg { background-size: cover; background-position: center 22%; }
  .detail-hero .hero-mask {
    background: linear-gradient(0deg, #0b0d11 1%, rgba(11, 13, 17, .88) 26%, rgba(11, 13, 17, .08) 70%, rgba(0, 0, 0, .32) 100%);
  }
  .detail-hero .hero-info {
    position: absolute; top: auto; bottom: 0; left: 0; right: 0; height: auto;
    width: 100%; max-width: 100%; margin: 0; padding: 0 16px 18px;
    justify-content: flex-end; align-items: stretch;
  }
  .detail-info { max-width: 100%; width: 100%; padding: 0; }
  .detail-title { font-size: 26px; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
  .detail-sub { flex-wrap: wrap; font-size: 12px; gap: 8px; }
  .detail-tags span, .detail-badges span { font-size: 11px; }
  .detail-desc { max-height: 3.2em; overflow: hidden; font-size: 12px; line-height: 1.6; }
  .detail-desc-toggle { display: none; }
  .score-box { background: rgba(0, 0, 0, .38); border-radius: 12px; padding: 8px 10px; }
  .detail-btns { gap: 10px; margin-top: 14px; }
  .detail-btns .btn-green {
    flex: 1; height: 44px; border-radius: 22px; font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .detail-btns .btn-ghost {
    height: 44px; padding: 0 16px; border-radius: 22px;
    background: rgba(255, 255, 255, .13); border: 0; color: #fff;
  }
  .ep-grid {
    display: flex; overflow-x: auto; gap: 8px; padding: 2px 0 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ep-grid::-webkit-scrollbar { display: none; }
  .ep-item {
    min-width: 68px; height: 38px; flex: 0 0 auto; border-radius: 10px;
    background: rgba(255, 255, 255, .08); font-size: 13px;
  }

  /* ============================================================
     播放页：贴顶全宽播放器 + 抖音式内容区
     ============================================================ */
  .play-wrap { margin: 0 -12px; gap: 0; grid-template-columns: minmax(0, 1fr); }
  .play-left, .player-box, .play-side { min-width: 0; max-width: 100%; }
  .player-box { border-radius: 0; aspect-ratio: 16/9; width: 100%; }
  .player-box video { max-width: 100%; }
  .play-news { font-size: 11px; padding: 4px 8px; }
  .play-news-list i { font-size: 10px; }
  .play-ctrl { padding: 6px 10px 8px; }
  .ctrl-row { gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ctrl-row::-webkit-scrollbar { display: none; }
  .ctrl-row > * { flex: 0 0 auto; }
  .ctrl-time { font-size: 11px; white-space: nowrap; }
  .ctrl-fn { font-size: 12px; white-space: nowrap; }
  .play-ads { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px 0; }
  .play-ad { min-height: 0; padding: 8px 10px; border-radius: 10px; }
  .play-ad b { font-size: 12px; }
  .play-ad span { font-size: 10px; line-height: 1.4; }
  .play-side { margin: 0 12px; padding: 14px 0 0; background: transparent; border-radius: 0; }
  .play-tabs { justify-content: center; gap: 28px; border-bottom-color: rgba(255, 255, 255, .1); }
  .play-tabs a { font-size: 16px; }
  .play-tabs a.selected { color: #fff; font-weight: 700; border-bottom-color: #fe2c55; }
  .play-side-title { font-size: 20px; font-weight: 800; }
  .play-side-title a { color: #fff; }
  .play-side-meta { flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, .6); }
  .play-side-desc, .play-res-head { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px; }
  .play-side-desc p { font-size: 12px; line-height: 1.7; max-height: 3.4em; overflow: hidden; }
  .play-ep-list {
    display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .play-ep-list::-webkit-scrollbar { display: none; }
  .play-ep-list a { min-width: 72px; flex: 0 0 auto; border-radius: 10px; }
  .play-ep-list.single { display: flex; flex-wrap: wrap; overflow: visible; }
  .play-fun { display: none; }
  .cmt-item { border-bottom-color: rgba(255, 255, 255, .07); padding: 12px 2px; }
  .cmt-avatar { border-radius: 50%; }
  .cmt-body { font-size: 13px; line-height: 1.6; }
  .cmt-form { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px; }
  .play-related { margin-top: 18px; }
  .play-related-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
  .play-related-row .card { min-width: 0; }

  /* ============================================================
     整部合集沉浸连播页（/watch/:wid/:eid）
     ============================================================ */
  body.is-watch { padding-bottom: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #000; }
  body.is-watch > .header,
  body.is-watch > .footer,
  body.is-watch .dy-tabbar,
  body.is-watch .dy-sheet { display: none !important; }
  .dy-watch .dy-topbar .dy-tab {
    font-size: 15px; color: #fff; max-width: 60vw;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .dy-watch .dy-topbar .dy-tab.on:after { display: none; }
  .dy-watch .dy-video { object-fit: contain; }
  .dy-watch .dy-item.on .dy-progress i { animation: none; }
  .dy-watch .dy-info { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
  .dy-watch .dy-actions { bottom: calc(126px + env(safe-area-inset-bottom, 0px)); }
  .dy-watch .dy-progress { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .dy-watch .dy-time { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .dy-watch .dy-swipe-hint { display: none; }
  .watch-bar {
    position: absolute; z-index: 12; left: 0; right: 0;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex; gap: 8px; padding: 0 12px; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .watch-bar::-webkit-scrollbar { display: none; }
  .watch-bar button {
    flex: 0 0 auto; min-width: 64px; height: 36px; padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 18px;
    background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; cursor: pointer;
    backdrop-filter: blur(6px);
  }
  .watch-bar button.on {
    background: linear-gradient(90deg, #fe2c55, #ff5c39);
    border-color: transparent; font-weight: 700;
  }
  .watch-hint {
    position: absolute; z-index: 12; left: 0; right: 0;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    text-align: center; font-size: 11px; color: rgba(255, 255, 255, .7); pointer-events: none;
  }
}
