/* ============================================================
 * Drama / video detail page styles
 * Source: huangguo/xiangqing.html inline <style> (play + episode chrome)
 * Linked after zui/common/hg-shell; do not reinvent — keep in sync with prototype.
 * ============================================================ */

[data-ssr-player-root]>[data-ssr-player-mount]{visibility:hidden;pointer-events:none}
  [data-ssr-player-root].is-ssr-enhanced>[data-ssr-player-mount]{visibility:visible;pointer-events:auto}
  [data-ssr-native][hidden]{display:none!important}

#cyberPlayer,
    #cyberPlayer.xgplayer{
      position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
      max-width:none!important;max-height:none!important;overflow:hidden!important
    }
    #cyberPlayer video,
    #cyberPlayer xg-video-container.xg-video-container{
      position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
      max-width:none!important;max-height:none!important;overflow:hidden!important
    }
    #cyberPlayer video{
      object-fit:contain!important;-o-object-fit:contain!important;
      object-position:center center
    }
    .hg-web-play__viewport>.hg-web-play__video{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;background:#000}
     
    #cyberPlayer .xgplayer-poster{
      display:none!important;opacity:0!important;visibility:hidden!important
    }
     
    #cyberPlayer.xgplayer-inactive .xgplayer-controls{
      opacity:0!important;visibility:hidden!important;pointer-events:none!important
    }
     
    #cyberPlayer .xg-mini-progress,
    #cyberPlayer xg-mini-progress{display:none!important}
     
    #cyberPlayer .xgplayer-epnav{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;cursor:pointer;flex:none}
     
    #cyberPlayer .xgplayer-epnav .xgplayer-icon{position:static;top:auto;transform:none;width:18px;height:18px;display:flex;align-items:center;justify-content:center}
    #cyberPlayer .xgplayer-epnav img{width:18px;height:18px}
    #cyberPlayer .xgplayer-epnav[aria-disabled="true"]{opacity:.35;cursor:default;pointer-events:none}
    #cyberPlayer .xgplayer-epnav img.is-flip{transform:scaleX(-1)}
     
    #cyberPlayer .xgplayer-progress-played{background:#ffd21c}
    #cyberPlayer .xgplayer-progress-btn{background:transparent;border:0;box-shadow:none;transform:translate(-50%,-50%) scale(1)}
    #cyberPlayer .xgplayer-progress-btn:before{background:#fff}
    #cyberPlayer .xg-options-list{width:96px;padding:4px 0;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#1c1c1e;opacity:1;color:#fff}
    #cyberPlayer .xg-options-list li{height:40px;line-height:40px;padding:0;margin:0;color:#fff;font-size:15px}
    #cyberPlayer .xg-options-list li:nth-child(1),#cyberPlayer .xg-options-list li:last-child{margin:0}
    #cyberPlayer .xg-options-list li:hover,#cyberPlayer .xg-options-list li.selected{color:#ffd21c}
    #cyberPlayer .xg-options-list li.selected{background:rgba(255,210,28,.12)}
     
    #cyberPlayer .xg-right-grid>*{order:9}
    #cyberPlayer .xg-right-grid .xgplayer-fullscreen{order:0}
    #cyberPlayer .xg-right-grid .xgplayer-playbackrate{order:1}
    #cyberPlayer .xg-right-grid .xgplayer-volume{order:2}
    #cyberPlayer .xg-right-grid .xgplayer-fs-epbtn{order:3}
     
    #cyberPlayer .xg-fs-time,
    #cyberPlayer .xgplayer-fs-epbtn{display:none}

     
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-controls{height:96px;overflow:visible!important}
    #cyberPlayer.xgplayer-is-fullscreen .xg-inner-controls{left:38px;right:37px;bottom:31.5px;height:56px;align-items:center}
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid,
    #cyberPlayer.xgplayer-is-fullscreen .xg-right-grid{flex:none;flex-wrap:nowrap;align-items:center;height:56px}
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid>*,
    #cyberPlayer.xgplayer-is-fullscreen .xg-right-grid>*{margin:0}
    #cyberPlayer.xgplayer-is-fullscreen .xg-center-grid{
      position:relative;top:auto;left:auto;right:auto;flex:1 1 auto;min-width:0;height:56px;
      display:flex;align-items:center;gap:20px;padding:0 0 0 21px;box-sizing:border-box
    }
    #cyberPlayer.xgplayer-is-fullscreen .xg-center-grid .xgplayer-progress{flex:1 1 auto;min-width:0}
     
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid .xgplayer-time{display:none!important}
    #cyberPlayer.xgplayer-is-fullscreen .xg-fs-time{display:block;flex:none;min-width:52px;font-size:20px;line-height:56px;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
     
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid>*{order:9}
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid [data-xg-ep-prev]{order:1}
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid .xgplayer-play{order:2;margin:0 13px}
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid [data-xg-ep-next]{order:3}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-epnav{width:40px;height:56px}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-epnav img{display:none}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-epnav .xgplayer-icon{width:20px;height:24px;background:url(/assets/static/web/images/play/ctrl-fs-skip.svg?v=20261021001) center/20px 24px no-repeat}
    #cyberPlayer.xgplayer-is-fullscreen [data-xg-ep-next] .xgplayer-icon{transform:scaleX(-1)}
     
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid .xgplayer-play{
      display:flex;align-items:center;justify-content:center;width:60px;height:56px;z-index:0
    }
    #cyberPlayer.xgplayer-is-fullscreen .xg-left-grid .xgplayer-play::before{
      content:'';position:absolute;left:0;top:-2px;width:60px;height:60px;
      border-radius:50%;background:rgba(255,255,255,.2);pointer-events:none;z-index:-1
    }
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-play .xgplayer-icon{
      position:static;top:auto;transform:none;display:flex;align-items:center;justify-content:center;width:60px;height:56px
    }
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-play .xgplayer-icon svg{width:38px;height:54px;flex:none}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-progress-outer,
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-progress.active .xgplayer-progress-outer{height:5px;margin-bottom:0}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-progress-btn:before{width:16px;height:16px;background:#ffd21c}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-fullscreen{width:40px;height:56px;margin-left:17px}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-fullscreen .xg-exit-fullscreen{display:none}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-fullscreen .xgplayer-icon{width:24px;height:24px;margin:0 auto;background:url(/assets/static/web/images/play/ctrl-fs-frame.svg?v=20261021001) center/24px 24px no-repeat}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-playbackrate{width:auto;height:56px;margin-left:16.5px}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-playbackrate .xgplayer-icon{width:auto;padding:0}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-playbackrate .icon-text{display:block;min-width:0;height:56px;padding:0;background:none;font-size:20px;line-height:56px;font-weight:500;text-transform:uppercase}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-playbackrate .btn-text{top:auto;transform:none;height:56px}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume{width:40px;height:56px;margin-left:10.5px}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume .xgplayer-icon svg{width:36px;height:52px;margin:0 auto}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-fs-epbtn{display:inline-flex;align-items:center;gap:10px;height:56px;margin-left:33px;color:#fff;font-size:19px;line-height:56px;white-space:nowrap}
    #cyberPlayer.xgplayer-is-fullscreen.is-episode-selector-open .xgplayer-fs-epbtn{color:#ffd21c}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-fs-epbtn svg{width:40px;height:40px;margin:0 -9px}
    
    #cyberPlayer .xgplayer-fs-epbtn svg{display:block;flex:none;width:22px;height:22px;color:inherit}
    #cyberPlayer .xgplayer-fs-epbtn svg path{fill:currentColor}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-playbackrate .xg-options-list{
      left:auto;right:0;transform:none;bottom:calc(100% + 2.5px);width:104px;box-sizing:border-box;
      padding:10px 0;border:1px solid #2d2d2d;border-radius:8px;background:#161616;overflow:visible;opacity:1
    }
    #cyberPlayer.xgplayer-is-fullscreen .xg-options-list li{height:48px;line-height:48px;font-size:20px;text-transform:uppercase}
    #cyberPlayer.xgplayer-is-fullscreen .xg-options-list li.selected{background:rgba(255,210,28,.1);color:#ffd21c}
     
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume .xgplayer-slider{
      left:50%;bottom:calc(100% + 2.5px);width:54px;height:202px;margin-left:-27px;box-sizing:border-box;
      border:1px solid #2d2d2d;border-radius:8px;background:#161616
    }
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume .xgplayer-slider:after{left:0;width:100%}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume .xgplayer-bar{left:50%;bottom:17px;width:6px;height:166px;margin-left:-3px;border-radius:3px;background:#454545}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume .xgplayer-drag{width:6px;max-height:100%;border-radius:3px;background:#ffd21c}
    #cyberPlayer.xgplayer-is-fullscreen .xgplayer-volume .xgplayer-drag:after{width:12px;height:12px;left:-3px;top:-6px;box-shadow:none}

     
    #cyberPlayer .xg-fs-eps{display:none}
    #cyberPlayer.xgplayer-is-fullscreen.is-episode-selector-open .xg-fs-eps{
      display:block;position:absolute;z-index:3;left:38px;right:37px;bottom:100%;
      margin:0 0 22.5px;padding:8px 14px 12px;box-sizing:border-box;
      border-radius:13px;background:rgba(0,0,0,.55)
    }
    #cyberPlayer.xgplayer-inactive .xg-fs-eps{
      opacity:0!important;visibility:hidden!important;pointer-events:none!important
    }
    #cyberPlayer .xg-fs-eps__head{display:flex;align-items:center;gap:11px;min-height:26px;margin:0 0 10px;padding-left:7px}
    #cyberPlayer .xg-fs-eps__label{margin:0;font-size:14px;font-weight:600;line-height:normal;color:#fff}
    #cyberPlayer .xg-fs-eps__ranges{display:flex;gap:10px}
    #cyberPlayer button.xg-fs-eps__range{height:26px;padding:0 12px;border:0;border-radius:5px;background:rgba(255,255,255,.16);color:#fff;font-size:15px;line-height:26px;cursor:pointer}
    #cyberPlayer button.xg-fs-eps__range.is-active{background:#ffd21c;color:#000}
    #cyberPlayer .xg-fs-eps__row{position:relative;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
    #cyberPlayer .xg-fs-eps__row::-webkit-scrollbar{display:none}
    #cyberPlayer .xg-fs-eps__row[hidden]{display:none}
    #cyberPlayer .xg-fs-eps__item{
      flex:none;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:11px;
      background:#1d1d1e;color:#8a8a93;font-size:14px;font-weight:700;line-height:40px;
      font-family:Inter,sans-serif;text-align:center;cursor:pointer
    }
    #cyberPlayer button.xg-fs-eps__item{background:#1d1d1e}
    #cyberPlayer button.xg-fs-eps__item.is-active{background:#ffd21c;color:#000}
     
    #cyberPlayer .xg-right-grid .xgplayer-fullscreen .xg-tips{left:auto;right:0;transform:none}
    #cyberPlayer .xg-left-grid .xgplayer-play .xg-tips{left:0;transform:none}
     
    #cyberPlayer.has-auto-next.xgplayer-is-ended .xgplayer-start,
    #cyberPlayer.has-auto-next.xgplayer-is-ended .xgplayer-replay,
    #cyberPlayer.is-auto-nexting .xgplayer-start,
    #cyberPlayer.is-auto-nexting .xgplayer-replay{
      display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important
    }
     
    button.hg-web-play__action{background-color:#161616}
     
    .hg-web-play__ep.is-locked{opacity:.35;cursor:not-allowed;pointer-events:none}
     
    .hg-web-play__action.is-favorited{color:var(--color-primary)}
     
    .hg-web-play__collect-icon{color:#fff;fill:none;stroke:currentColor}
    .hg-web-play__action.is-favorited .hg-web-play__collect-icon{color:var(--color-primary);fill:currentColor}
     
     
    .hg-web-play__like-icon{color:#fff;stroke:currentColor;fill:none}
    .hg-web-play__action.is-liked{color:var(--color-red);border-color:var(--color-red)}
    .hg-web-play__action.is-liked .hg-web-play__like-icon{color:var(--color-red);fill:currentColor;stroke:currentColor}
     
    #vdCommentSubmit{background-color:var(--color-primary)}
     
     
    .hg-web-play__comment-meta .hg-web-play__comment-pin{
      flex:none;padding:1px 6px;border-radius:999px;
      border:1px solid rgba(255,210,28,.5);background-color:rgba(255,210,28,.12);
      color:var(--color-primary);font-size:11px;line-height:1.4;font-weight:600
    }
    .hg-web-play__comment-like{color:#8a8a93}
     
    .hg-web-play__comment-like svg{display:block;width:14px;height:14px;flex:none;
      color:#8a8a93;fill:none;stroke:currentColor;stroke-width:1.5}
     
    .hg-web-play__comment-like span{line-height:1;display:inline-flex;align-items:center}
    .hg-web-play__comment-like.is-liked{color:var(--color-red);border-color:transparent;background:none}
    .hg-web-play__comment-like.is-liked svg{color:var(--color-red);fill:currentColor;stroke:currentColor}
     
    .hg-web-play__comment-actions{display:flex;align-items:center;gap:8px;margin-top:8px}
    button.hg-web-play__comment-reply{height:24px;padding:0 12px;border:0;border-radius:6px;background:rgba(255,255,255,.08);color:#c7c7cc;font-size:13px;line-height:24px;cursor:pointer}
     
    .hg-web-play__replybox{
      display:flex;flex-direction:column;align-items:stretch;gap:12px;
      width:100%;max-width:100%;min-width:0;
      margin-top:12px;padding:12px;box-sizing:border-box;
      border:1px solid #2c2c2e;border-radius:12px;background:#1c1c1e
    }
    .hg-web-play__replybox[hidden]{display:none}
    .hg-web-play__replybox textarea{
      display:block;width:100%;height:84px;min-width:0;margin:0;padding:10px 12px;box-sizing:border-box;
      border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#171616;
      color:#fff;font-size:14px;line-height:20px;resize:none;outline:none
    }
    .hg-web-play__replybox textarea::placeholder{color:#636366}
    .hg-web-play__replybox-actions{display:flex;justify-content:flex-end;gap:12px}
    .hg-web-play__replybox button.hg-web-play__replybox-cancel,
    .hg-web-play__replybox button.hg-web-play__replybox-send{
      height:36px;padding:0 16px;border:0;border-radius:8px;
      font-size:14px;font-weight:600;line-height:36px;cursor:pointer
    }
    .hg-web-play__replybox button.hg-web-play__replybox-cancel{background:rgba(255,255,255,.1);color:#fff}
    .hg-web-play__replybox button.hg-web-play__replybox-send{background:#ffd21c;color:#000}
     
    .hg-web-play__comment-list{overflow-y:auto;overscroll-behavior:contain}
     
    .hg-web-play__replies{margin-top:8px;background:none}
    .hg-web-play__reply-list{display:flex;flex-direction:column;gap:12px;margin:4px 0 8px;background:none}
    .hg-web-play__reply-list[hidden]{display:none}
    .hg-web-play__reply-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}
    .hg-web-play__reply-head strong{font-size:14px;font-weight:600;color:#fff}
    .hg-web-play__reply-head span{font-size:12px;color:#636366}
    .hg-web-play__comment-body .hg-web-play__reply p{margin:0;font-size:14px;line-height:22px;color:#9a9a9e;word-break:break-word}
    .hg-web-play__reply p em{font-style:normal;color:#ffd21c;margin-right:6px}
     
    button.hg-web-play__reply-toggle{display:inline-flex;align-items:center;gap:4px;margin-top:4px;padding:0;border:0;background:none;color:#8a8a93;font-size:13px;line-height:20px;cursor:pointer}
    button.hg-web-play__reply-toggle::before{content:'';width:34px;height:1px;margin-right:4px;background:currentColor;opacity:.7}
    
    button.hg-web-play__reply-toggle svg{display:block;flex:none;color:inherit;transition:transform .15s}
    button.hg-web-play__reply-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
    button.hg-web-play__reply-toggle:disabled{cursor:progress;opacity:.7}
     
    .hg-web-play__comment-meta .hg-web-play__comment-audit,
    .hg-web-play__reply-head .hg-web-play__comment-audit{
      flex:none;padding:1px 6px;border-radius:999px;border:1px solid rgba(255,255,255,.18);
      background-color:rgba(255,255,255,.06);color:#c7c7cc;font-size:11px;line-height:1.4;font-weight:600
    }
     
     
     
    .hg-web-play__titlebar{display:flex;align-items:baseline;gap:6px;min-width:0;padding:11px 19px;background:#161616;border:1px solid #22222a;border-radius:10px}
    .hg-web-play__title{margin:0;min-width:0;flex:1;font-size:16px;line-height:22px;font-weight:400;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .hg-web-play__title-ep{flex:none;font-size:16px;line-height:22px;font-weight:400;color:#fff;white-space:nowrap}
    /* 播放器下方操作栏：喜欢/收藏（图标+数量，选中换图） */
    .hg-web-play__actions .hg-drama-like.is-busy,
    .hg-web-play__actions .hg-drama-fav.is-busy{opacity:.55;pointer-events:none}
    .hg-web-play__actions .hg-drama-act__icon{display:block;width:16px;height:16px;flex:none;pointer-events:none}
    .hg-web-play__actions .hg-drama-act__num{pointer-events:none;min-width:1.2em;text-align:left;line-height:1}
    .hg-web-play__actions .hg-drama-like.is-liked{color:var(--color-red);border-color:var(--color-red)}
    .hg-web-play__actions .hg-drama-fav.is-on{color:var(--color-primary);border-color:var(--color-primary)}
     
    .hg-web-play__viewport{border-radius:12px!important;overflow:hidden}
    .hg-web-play__actions{display:flex;gap:19px;margin:12px 0 0}
    .hg-web-play__actions .hg-web-play__action{display:flex;align-items:center;flex:1 1 0;height:48px;min-width:0;gap:8px;border:1px solid #22222a;border-radius:8px;justify-content:center;color:#fff;text-decoration:none}
    .hg-web-play__actions .hg-web-play__action img{flex:none;display:block}
    .hg-web-play__action--more{flex:0 0 60px!important}
    .hg-web-play__more{position:relative;flex:0 0 60px}
     
    .hg-web-play__more .hg-web-play__action--more{width:100%;box-sizing:border-box;padding:0}
    .hg-web-play__actions .hg-web-play__action--more img{width:26px;height:26px}
     
    .hg-web-play__more-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;padding:10px 16px;border-radius:5px;background:#232323;border:1px solid rgba(255,255,255,.1)}
    .hg-web-play__more-menu[hidden]{display:none}
    .hg-web-play__more-menu button{display:flex;align-items:center;gap:4px;height:20px;padding:0;border:0;background:transparent;color:#fff;font-size:14px;font-weight:500;line-height:20px;white-space:nowrap;cursor:pointer;font-family:inherit}
    .hg-web-play__more-menu button img{display:block;flex:none}
     
    .hg-fb{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
    .hg-fb[hidden]{display:none}
    .hg-fb__mask{position:absolute;inset:0;background:rgba(0,0,0,.72)}
     
    .hg-fb__panel{position:relative;display:flex;flex-direction:column;width:582px;max-width:100%;max-height:calc(100dvh - 48px);overflow:hidden;box-sizing:border-box;padding:21px 25px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:#111;box-shadow:0 40px 120px rgba(0,0,0,.85),0 0 0 1px rgba(255,77,184,.08),inset 0 1px 0 rgba(255,255,255,.05)}
    .hg-fb__body{display:flex;flex-direction:column;gap:30px;min-height:0;overflow:hidden}
    .hg-fb__body > :last-child{display:flex;flex-direction:column;min-height:0;flex:1 1 auto}
    .hg-fb__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
    .hg-fb__title{margin:0;font-size:30px;font-weight:600;line-height:45px;letter-spacing:-.2px;color:#fff}
    .hg-fb__sub{margin:0;font-size:14px;line-height:22px;color:rgba(255,255,255,.65)}
    button.hg-fb__x{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.08);border-radius:32px;background:rgba(255,255,255,.06);cursor:pointer}
    .hg-fb__filmbox{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:10px;background:rgba(255,255,255,.06)}
    .hg-fb__filmbox>span{font-size:14px;line-height:20px;color:rgba(255,255,255,.65)}
    .hg-fb__film{margin:0;font-size:18px;font-weight:500;line-height:25px;color:#fff}
    .hg-fb__label{display:flex;align-items:center;flex:none;gap:10px;margin:0 0 10px}
    .hg-fb__label b{font-size:22px;font-weight:600;line-height:45px;color:#fff}
    .hg-fb__label em{font-style:normal;font-size:14px;font-weight:400;line-height:22px;color:rgba(255,255,255,.65)}
    .hg-fb__types{display:grid;grid-template-columns:1fr 1fr;gap:20px}
    button.hg-fb__type{display:flex;align-items:center;gap:6px;height:60px;padding:0 14px;border:1px solid rgba(255,254,250,.1);border-radius:6px;background:#1a1a1b;color:#fff;font-size:15px;font-weight:500;font-family:inherit;text-align:left;cursor:pointer}
    button.hg-fb__type.is-on{border-color:#ffd21c;background:rgba(255,210,28,.06)}
    .hg-fb__radio{display:block;flex:none}
    button.hg-fb__type .hg-fb__radio--on{display:none}
    button.hg-fb__type.is-on .hg-fb__radio--off{display:none}
    button.hg-fb__type.is-on .hg-fb__radio--on{display:block}
    .hg-fb__note{position:relative;display:flex;flex:1 1 145px;min-height:72px}
    .hg-fb__note textarea{display:block;width:100%;height:auto;min-height:0;flex:1 1 auto;box-sizing:border-box;resize:none;margin:0;padding:20px 36px 28px 20px;border:1.26px solid rgba(255,255,255,.08);border-radius:8px;background:#171616;color:#fff;font-size:14px;line-height:22px;font-family:inherit}
    .hg-fb__note textarea::placeholder{color:#737373}
    .hg-fb__grip{position:absolute;right:6px;bottom:6px;pointer-events:none}
    .hg-fb__count{flex:none;margin:10px 0 0;text-align:right;font-size:16px;line-height:22px;color:rgba(255,255,255,.65)}
     
    .hg-fb__meta{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:12px}
    .hg-fb__error{flex:1;min-width:0;margin:10px 0 0;font-size:14px;line-height:22px;color:#ff6b6b}
    .hg-fb__error:empty{visibility:hidden}
    button.hg-fb__btn--submit:disabled{opacity:.4;cursor:not-allowed}
    .hg-fb__actions{display:flex;flex:none;gap:20px}
    button.hg-fb__btn{flex:1;height:70px;border-radius:10px;font-size:24px;font-weight:600;line-height:32px;font-family:inherit;cursor:pointer}
    button.hg-fb__btn--cancel{border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.1);color:rgba(255,255,255,.8)}
    button.hg-fb__btn--submit{border:0;background:linear-gradient(90deg,#ffd21c,#f5a623);color:#000}
    .hg-fb-toast{position:fixed;left:50%;top:50%;z-index:100001;display:flex;align-items:center;justify-content:center;gap:6px;height:52px;padding:0 30px;border:2px solid rgba(255,255,255,.1);border-radius:12px;background:#111;color:#fff;font-size:14px;line-height:normal;white-space:nowrap;transform:translate(-50%,-50%)}
    .hg-fb-toast[hidden]{display:none}
    @media (max-width:640px),(max-height:860px){
      .hg-fb{padding:12px}
      .hg-fb__panel{max-height:calc(100dvh - 24px);padding:16px 18px}
      .hg-fb__body{gap:16px}
      .hg-fb__title{font-size:24px;line-height:32px}
      .hg-fb__label b{font-size:18px;line-height:26px}
      .hg-fb__filmbox{padding:12px 14px}
      .hg-fb__types{gap:10px}
      button.hg-fb__type{height:44px;font-size:13px}
      .hg-fb__note{flex-basis:96px;min-height:64px}
      button.hg-fb__btn{height:48px;font-size:18px}
    }
     
     
    .hg-web-play__introcard{display:flex;align-items:stretch;justify-content:space-between;gap:28px;margin-top:20px;padding:18px 32px;border-radius:24px;background:#161616;border:1px solid rgba(255,255,255,.1);box-shadow:0 16px 16px rgba(0,0,0,.5)}
    .hg-web-play__intro-main{display:flex;align-items:center;gap:28px;flex:1;min-width:0}
    .hg-web-play__intro-main .hg-web-play__facts{align-self:flex-start;padding-top:25px}
    .hg-web-play__poster{width:170px;height:226px;border-radius:16px;overflow:hidden;flex:none;background:#111}
    .hg-web-play__poster img{width:100%;height:100%;object-fit:cover;display:block}
    .hg-web-play__facts{flex:1;min-width:0;display:flex;flex-direction:column;gap:30px}
    .hg-web-play__factgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:30px;row-gap:40px}
    .hg-web-play__factcol{display:contents}
    .hg-web-play__factcol:nth-child(1) .hg-web-play__fact:nth-child(1){grid-column:1;grid-row:1}
    .hg-web-play__factcol:nth-child(1) .hg-web-play__fact:nth-child(2){grid-column:1;grid-row:2}
    .hg-web-play__factcol:nth-child(2) .hg-web-play__fact:nth-child(1){grid-column:2;grid-row:1}
    .hg-web-play__factcol:nth-child(2) .hg-web-play__fact:nth-child(2){grid-column:2;grid-row:2}
    .hg-web-play__factcol--tail .hg-web-play__fact:nth-child(1){grid-column:3;grid-row:1}
    .hg-web-play__factcol--tail .hg-web-play__fact:nth-child(2){grid-column:3;grid-row:2}
     
    .hg-web-play__facts-foot{display:flex;flex-direction:column;gap:10px;min-width:0}
     
    .hg-web-detail__topics{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
    .hg-web-detail__topics-label{flex:none;font-size:12px;line-height:1;color:rgba(255,255,255,.45)}
    .hg-web-detail__topic{display:inline-flex;align-items:center;height:27px;padding:0 12px;box-sizing:border-box;
      border:1px solid rgba(255,210,28,.35);border-radius:999px;
      color:var(--color-primary);font-size:12px;line-height:1;text-decoration:none}
    .hg-web-detail__topic:hover{border-color:var(--color-primary);background:rgba(255,210,28,.08)}
    .hg-web-detail__ai-notice{margin:0;font-size:12px;line-height:18px;color:rgba(255,255,255,.45)}
    .hg-web-play__fact{display:flex;align-items:center;gap:16px;min-width:0}
    .hg-web-play__fact img{display:block;flex:none}
     
    .hg-web-play__fact div{position:relative;top:1px;min-width:0}
     
    .hg-web-play__fact b{display:block;font-size:16px;font-weight:400;line-height:22px;color:rgba(255,255,255,.4)}
    .hg-web-play__fact span{display:flex;align-items:center;gap:10px;margin-top:6px;font-size:16px;line-height:22px;color:#fff}
     
    button.hg-web-play__follow{box-sizing:border-box;width:70px;height:28px;padding:0;border:1px solid transparent;border-radius:100px;background:#ffd21c;color:#000;font-size:12px;font-weight:600;line-height:1;cursor:pointer;flex:none}
    button.hg-web-play__follow.is-followed{background:rgba(255,210,28,.05);border-color:rgba(255,210,28,.1);color:#ffd21c}
    .hg-web-play__introcard .hg-web-play__tags{display:flex;flex-wrap:wrap;gap:8px}
     
    .hg-web-play__introcard .hg-tag{display:inline-flex;align-items:center;padding:5px 12px;border:1px solid #2d2831;border-radius:8px;background:#1c191e;color:#a29fa6;font-size:12px;font-weight:500;line-height:normal;text-decoration:none}
    .hg-web-play__intro-split{display:block;flex:none;align-self:center}
     
    .hg-web-play__scorebox{box-sizing:border-box;width:350px;height:253px;flex:none;align-self:center;padding:32px 24px;border:1.26px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(180deg,#171611 0%,#211e13 100%);display:flex;flex-direction:column;justify-content:space-between;gap:33px}
    .hg-web-play__scoreblock{display:flex;flex-direction:column;gap:17px}
    .hg-web-play__scorehead{display:flex;align-items:center;justify-content:space-between}
    .hg-web-play__scorehead b{font-size:20px;font-weight:400;line-height:22px;color:#737373}
    .hg-web-play__scorenum{display:flex;align-items:baseline;gap:6px;font-size:60px;line-height:46px;font-weight:600;color:#ffd21c}
    .hg-web-play__scorenum small{font-size:20px;font-weight:400;line-height:22px;color:#ffd21c}
    .hg-web-play__stars{display:flex;align-items:center;justify-content:space-between;gap:12px}
    .hg-web-play__stars em{font-style:normal;color:rgba(255,255,255,.4);font-size:18px;line-height:41px;white-space:nowrap}
    .hg-web-play__starlist{display:flex;gap:10px}
    .hg-web-play__star{width:26px;height:27px;padding:0;border:0;background:transparent;cursor:pointer;line-height:0}
    .hg-web-play__star img{display:block}
    .hg-web-play__star .is-on{display:none}
    .hg-web-play__star.is-on .is-off{display:none}
    .hg-web-play__star.is-on .is-on{display:block}
    button.hg-web-play__ratesubmit{height:50px;border:0;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:18px;font-weight:600;line-height:50px;cursor:pointer}
    button.hg-web-play__ratesubmit:disabled{opacity:.55;cursor:default}
     
    button.hg-web-play__ratesubmit.is-ready{background:linear-gradient(90deg,#ffd21c 0%,#f5a623 100%);color:#000}
    .hg-web-play__scorebox.is-submitted button.hg-web-play__ratesubmit:disabled{opacity:1;cursor:default}
    .hg-web-play__star:disabled{cursor:default}
    .hg-web-play__star:focus-visible{outline:2px solid rgba(255,210,28,.8);outline-offset:2px;border-radius:4px}
    .hg-web-play__fact a{color:#fff;text-decoration:none}
     
     
    .hg-web-play__introcard~.hg-ssp-slot[data-ssp-slot-key="icon_video_detail_inline_main_001"]{margin-top:24px}
    .hg-web-play__synopsis{position:relative;margin-top:24px;padding:24px 32px 22px;border-radius:16px;background:#161616;border:1px solid rgba(255,255,255,.06)}
    .hg-web-play__synopsis h2{margin:0 0 12px;font-size:32px;line-height:43px;font-weight:600;color:#fff}
     
    .hg-web-play__synopsis-body{display:flex}
    .hg-web-play__synopsis-text{flex:1 1 auto;min-width:0;font-size:14px;line-height:20px;color:#a29fa6}
    .hg-web-play__synopsis-text::before{content:'';float:right;width:0;height:calc(100% - 20px)}
    .hg-web-play__synopsis-text.is-clamped{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
     
    .hg-web-play__synopsis-text.is-clamped::before{height:20px}
    .hg-web-play__synopsis-text p{display:inline;margin:0;font-size:14px;line-height:20px;color:#a29fa6}
    button.hg-web-play__synopsis-toggle{float:right;clear:both;display:inline-flex;align-items:center;gap:4px;height:20px;margin-left:8px;padding:0;border:0;background:transparent;color:#ffd21c;font-size:12px;line-height:20px;font-family:inherit;cursor:pointer}
    button.hg-web-play__synopsis-toggle svg{display:block;flex:none;color:inherit;transition:transform .15s}
    button.hg-web-play__synopsis-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
     
    .hg-web-play__synopsis-toggle[hidden]{display:none!important}
    .vd-address{margin-top:28px}
     
    .vd-address h2{margin:0 0 22px;font-size:26px;line-height:39px;font-weight:600;color:#fff}
    .vd-address-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
    .vd-address-card{display:flex;flex-direction:column;gap:14px;min-width:0;padding:19px 20px;border-radius:16px;background:#161616;border:1px solid transparent}
    .vd-address-card.is-current{border-color:#dec48c}
    .vd-address-card__head{display:flex;align-items:center;gap:20px}
    .vd-address-card__head b{font-size:18px;font-weight:600;color:#dec48c}
    .vd-address-badge{display:inline-flex;align-items:center;gap:6px;height:27px;padding:0 12px 0 10px;border-radius:999px;font-size:12px;font-weight:600}
    .vd-address-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}
    .vd-address-badge--now{background:#233427;color:#56da98}
    .vd-address-badge--keep{background:#242d3a;color:#8cb9e3}
    .vd-address-badge--spare{background:#26282a;color:#b4b5b9}
     
    .vd-address-card__url{margin:3px 0 -1px;color:#fff;font-size:16px;font-weight:600;line-height:20px;text-decoration:none;word-break:break-all}
    .vd-address-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
    .vd-address-card__foot p{margin:0;color:#646464;font-size:14px}
    .vd-address-card__ops{display:flex;align-items:center;gap:11px;flex:none}
    button.vd-address-copy{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:1px solid rgba(217,217,217,.3);border-radius:14px;background:transparent;color:#b6b6b6;font-size:14px;line-height:20px;cursor:pointer}
    button.vd-address-copy img{display:block;width:13px;height:13px;flex:none}
    .vd-address-card__ops a{display:flex;flex:none;width:28px;height:28px}
    .vd-address-card__ops a img{display:block;width:28px;height:28px}
    .vd-address-empty{margin:0;color:#9a9aa2;font-size:14px}
    .hg-web-play__pl-item.is-rec .hg-web-play__pl-status{color:#3ce5b6}
    .hg-web-play__pl-item:not(.is-active) .hg-web-play__pl-play{opacity:1;background:rgba(255,255,255,.08)}
    .hg-web-play__pl-item:not(.is-active) .hg-web-play__pl-play img{filter:none}
    .hg-web-play__pl-body strong{font-size:15px}
    .hg-web-play__pl-status,.hg-web-play__pl-body p{font-size:12px}
     
    @media (max-width:1199px){
      .vd-address h2{font-size:20px;line-height:28px}
      .vd-address-grid{grid-template-columns:1fr}
    }
     
     
    .hg-web-play__action[aria-disabled="true"]{pointer-events:none}
    .hg-web-play__action[aria-disabled="true"] > *{opacity:.5}
     
    .hg-web-play__loading{position:absolute;left:0;top:0;width:100%;height:100%;z-index:30;display:none;pointer-events:none}
    .hg-web-play__loading.is-on{display:block}
     
    .hg-web-play__loading .xgplayer-enter-spinner{
      position:absolute;left:50%;top:50%;width:70px;height:70px;transform:translate(-50%,-50%)
    }
    .hg-web-play__loading .xgplayer-enter-spinner div{
      position:absolute;left:45%;top:45%;width:6%;height:13%;border-radius:30px;
      background-color:rgba(255,255,255,.7);opacity:0;animation:fade 1s linear infinite
    }
    .hg-web-play__loading .xgplayer-enter-bar1{transform:rotate(0deg) translateY(-140%);animation-delay:0s}
    .hg-web-play__loading .xgplayer-enter-bar2{transform:rotate(30deg) translateY(-140%);animation-delay:-.9163s}
    .hg-web-play__loading .xgplayer-enter-bar3{transform:rotate(60deg) translateY(-140%);animation-delay:-.833s}
    .hg-web-play__loading .xgplayer-enter-bar4{transform:rotate(90deg) translateY(-140%);animation-delay:-.7497s}
    .hg-web-play__loading .xgplayer-enter-bar5{transform:rotate(120deg) translateY(-140%);animation-delay:-.6664s}
    .hg-web-play__loading .xgplayer-enter-bar6{transform:rotate(150deg) translateY(-140%);animation-delay:-.5831s}
    .hg-web-play__loading .xgplayer-enter-bar7{transform:rotate(180deg) translateY(-140%);animation-delay:-.4998s}
    .hg-web-play__loading .xgplayer-enter-bar8{transform:rotate(210deg) translateY(-140%);animation-delay:-.4165s}
    .hg-web-play__loading .xgplayer-enter-bar9{transform:rotate(240deg) translateY(-140%);animation-delay:-.3332s}
    .hg-web-play__loading .xgplayer-enter-bar10{transform:rotate(270deg) translateY(-140%);animation-delay:-.2499s}
    .hg-web-play__loading .xgplayer-enter-bar11{transform:rotate(300deg) translateY(-140%);animation-delay:-.1666s}
    .hg-web-play__loading .xgplayer-enter-bar12{transform:rotate(330deg) translateY(-140%);animation-delay:-.0833s}
     
     
     
    .hg-web-play__main{position:relative;align-items:start}
    .hg-web-play__side{position:absolute;top:0;right:0;bottom:0;width:380px;
      display:flex;flex-direction:column;min-height:0;overflow:hidden}
    @media (max-width:1199px){
       
      .hg-web-play__main{position:static}
      .hg-web-play__side{position:static;width:auto}
       
      .hg-web-play__playlist--scroll{flex:none;max-height:500px;overflow-y:auto}
    }
    .hg-web-play__playlist--scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
      scrollbar-width:thin;scrollbar-color:#3a3a3f transparent}
     
    .hg-web-play__playlist--scroll .hg-web-play__pl-item{flex-shrink:0}
    .hg-web-play__playlist--scroll::-webkit-scrollbar{width:6px}
    .hg-web-play__playlist--scroll::-webkit-scrollbar-thumb{background:#3a3a3f;border-radius:999px}
    .hg-web-play__playlist--scroll::-webkit-scrollbar-track{background:transparent}
     
    .hg-web-play__playlist-tip{flex:none;display:flex;align-items:center;justify-content:space-between;
      gap:12px;margin:12px 0 0;font-size:12px;color:#6b7280}
    .hg-web-play__playlist-tip-more{display:inline-flex;align-items:center;gap:6px}
     
    .hg-web-play__playlist-tip-more::before{content:'';width:6px;height:6px;border-radius:999px;
      background:#3ce5b6;flex:none}
    .hg-web-play__ep-grid{align-content:start}

     
    .vd-comment{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.06)}
    .vd-comment .vd-avatar{width:36px;height:36px;border-radius:999px;flex-shrink:0;background:linear-gradient(90deg,#95e3ba,#549e82)}
    .vd-comment .vd-c-body{flex:1;min-width:0}
    .vd-comment .vd-c-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
    .vd-comment .vd-c-name{font-size:14px;font-weight:600;color:#fff}
    .vd-comment .vd-c-time{font-size:12px;color:#636366}
    .vd-comment .vd-c-text{margin:0;font-size:14px;line-height:22px;color:#9a9a9e}
     
    .hg-web-play__side-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
     
    .hg-web-play__side-head>div{min-width:0}

     
     
    .vd-anchor-nav{position:sticky;top:78px;z-index:50;display:flex;align-items:flex-end;
      margin:8px 0 22px;background:var(--color-page,#0d0d0d);
      border-bottom:1px solid rgba(255,255,255,.08);transition:top .28s ease}
    .vd-anav-tab{padding:14px 0 11.5px;margin:0 26px 0 0;background:none;border:0;
      border-bottom:2px solid transparent;cursor:pointer;color:#7a7a7a;
      font-size:15px;font-weight:400;line-height:1.2;transition:color .18s,border-color .18s}
    @media (hover:hover) and (pointer:fine){.vd-anav-tab:not(.active):hover{color:#fff}}
    .vd-anav-tab.active{color:var(--color-primary,#ffd21c);font-weight:600;border-bottom-color:var(--color-primary,#ffd21c)}
    .vd-anav-label{white-space:nowrap}
    @media (max-width:1023px){.vd-anchor-nav{top:56px}}
     
    body.nav-hidden .vd-anchor-nav{top:0}
     
    @media (max-width:760px){
      .vd-anchor-nav{overflow-x:auto;scrollbar-width:none}
      .vd-anchor-nav::-webkit-scrollbar{display:none}
      .vd-anav-tab{padding:12px 0 10px;margin-right:20px;flex-shrink:0;font-size:15px}
    }
     
     
    .vd-address{margin-top:30px}
    .vd-address .hg-section-header{margin-bottom:16px}
    .vd-address-custom{color:#c7c7cc;font-size:13px;line-height:1.9;word-break:break-word}
    .vd-address-custom a{color:var(--color-primary,#ffd21c);text-decoration:none;word-break:break-all}
    .vd-address-custom a:hover{text-decoration:underline}
    .vd-address-custom p{margin:0 0 6px}

     

     
    .hg-web-play .hg-breadcrumb{gap:5px}
    @media (min-width:1200px){
      .hg-web-play{padding-top:11px}
       
      .hg-web-play__main{gap:40px;margin-top:10px}
    }

     
    .hg-web-play__side-head h2{line-height:26px}
    .hg-web-play__side .hg-web-play__side-rule{margin:23px 0 24px;border-top-color:#22222a}
     
    .hg-web-play__side--list{padding:19px 21px 24px}
    .hg-web-play__side--list .hg-web-play__playlist-head{gap:10px}
    .hg-web-play__side--list .hg-web-play__playlist{gap:17px}
    .hg-web-play__side--list .hg-web-play__pl-item{padding:9.5px 12px}
    .hg-web-play__side--list .hg-web-play__pl-body strong{font-size:14px;line-height:20px}

     
    .hg-web-play__comments-head{margin-bottom:2px}
    .hg-web-play__comment-list .hg-web-play__comment{padding:32px 0 12px}
    button.hg-web-play__comment-reply{box-sizing:border-box;height:24px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.04);color:#959595;font-size:10px;line-height:22px}
    .hg-web-play__comment-like svg{color:#666;fill:currentColor;stroke:none}
    .hg-web-play__comments .hg-web-play__composer{margin:36px 0 0;padding:11px 12px}
    #vdCommentSubmit{height:36px;padding:0 16px;line-height:36px}

     
     
    #vd-related{margin-top:22px}
    #vd-related .hg-section-accent{display:none}
    #vd-related .hg-section-header{margin-bottom:26px}
    #vd-related .hg-section-header h2{font-size:26px;line-height:34px;font-weight:600}
    #related-grid{column-gap:20px;row-gap:28px}
    #related-grid .hg-drama-card__body{padding-top:16px}
    #related-grid .hg-drama-card__desc{margin-top:6px}
    #related-grid .hg-drama-card__tags{margin-top:10.5px}
    #related-grid .hg-drama-card__score{border-color:#ffd21c;font-weight:400}
    #related-grid .hg-drama-card__episode{border-color:#fff;font-weight:400}

     
    #cyberPlayer .xgplayer-playbackrate .icon-text{color:#fff;font-weight:600}
    #cyberPlayer .xgplayer-time .time-duration{color:#fff}

     

     
    :focus:not(:focus-visible){outline:none}
    :where(a,button,summary,[role="button"],[tabindex]):focus-visible{outline:2px solid rgba(255,210,28,.8);outline-offset:2px}
     
    a:focus-visible{outline:2px solid rgba(255,210,28,.8)!important;outline-offset:2px}

     
    .hg-web-play__actions{flex-wrap:nowrap}
    .hg-web-play__actions .hg-web-play__action{min-width:auto;white-space:nowrap}
    @media (max-width:1599px){
      .hg-web-play__actions{gap:12px}
      .hg-web-play__actions .hg-web-play__action{padding:0 10px;gap:6px}
    }
    @media (max-width:1439px){
      .hg-web-play__actions{gap:8px}
      .hg-web-play__actions .hg-web-play__action{padding:0 8px;gap:5px}
    }
     
    @media (max-width:899px){
      .hg-web-play__actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
      .hg-web-play__actions .hg-web-play__action{padding:0 8px;gap:6px}
      .hg-web-play__more{min-width:0}
    }

     
    .hg-web-play__side>*{flex:none}
    .hg-web-play__side>.hg-web-play__episode-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
      scrollbar-width:thin;scrollbar-color:#3a3a3f transparent}
    .hg-web-play__episode-scroll>.hg-web-play__ep-grid{min-height:0;overflow:visible}
    .hg-web-play__side>.hg-web-play__playlist--scroll{flex:1 1 auto;min-height:0}
    .hg-web-play__episode-scroll>.hg-ssp-slot{position:relative;margin-top:12px}
    .hg-web-play__episode-scroll::-webkit-scrollbar{width:4px}
    .hg-web-play__episode-scroll::-webkit-scrollbar-thumb{background:#3a3a3f;border-radius:999px}
     
    @media (min-width:1200px) and (max-width:1599px){
      .hg-web-play__side{padding:20px}
      .hg-web-play__side .hg-web-play__side-rule{margin:16px 0}
      .hg-web-play__side .hg-ep-ranges{margin-bottom:10px}
      .hg-web-play__episode-scroll>.hg-ssp-slot{margin-top:10px}
    }
     
    @media (max-width:1199px){
      .hg-web-play__side>.hg-web-play__episode-scroll{flex:none;overflow:visible}
      .hg-web-play__episode-scroll>.hg-web-play__ep-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
      .hg-web-play__episode-scroll>.hg-ssp-slot{margin-top:16px}
    }

     
    .hg-web-play__fact b{white-space:nowrap}
     
    .hg-web-play__fact span{flex-wrap:wrap;row-gap:4px}
    button.hg-web-play__follow{white-space:nowrap}
    @media (max-width:1599px){
      .hg-web-play__factgrid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:16px}
      .hg-web-play__factgrid .hg-web-play__factcol .hg-web-play__fact:nth-child(n){grid-column:auto;grid-row:auto}
      .hg-web-play__facts{gap:20px}
      .hg-web-play__intro-main .hg-web-play__facts{padding-top:8px}
    }
     
    @media (max-width:1199px){
      .hg-web-play__introcard{flex-direction:column;align-items:stretch;gap:20px;padding:20px 24px}
      .hg-web-play__intro-main{flex-direction:row;align-items:flex-start;gap:24px}
      .hg-web-play__poster{width:120px;height:160px;border-radius:12px}
      .hg-web-play__intro-main .hg-web-play__facts{align-self:flex-start;padding-top:4px}
      .hg-web-play__intro-split{display:none}
      .hg-web-play__scorebox{width:auto;height:auto;align-self:stretch;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px}
      .hg-web-play__scoreblock{flex:1 1 auto;min-width:0;flex-direction:row;align-items:center;justify-content:flex-start;gap:24px}
      .hg-web-play__scorehead{flex:none;gap:16px}
      .hg-web-play__scorenum{font-size:48px;line-height:40px}
       
      .hg-web-play__stars{flex:none;gap:16px;margin:0 auto}
      .hg-web-play__scoreblock+button.hg-web-play__ratesubmit{flex:none;width:200px}
    }
     
    @media (max-width:899px){
      .hg-web-play__introcard{gap:16px;padding:16px}
      .hg-web-play__intro-main{gap:16px}
      .hg-web-play__poster{width:96px;height:128px;border-radius:10px}
      .hg-web-play__intro-main .hg-web-play__facts{padding-top:0;gap:14px}
      .hg-web-play__factgrid{column-gap:16px;row-gap:12px}
      .hg-web-play__fact{gap:10px}
      .hg-web-play__fact img{height:38px}
      .hg-web-play__fact b{font-size:14px;line-height:20px}
      .hg-web-play__fact span{margin-top:3px;font-size:15px;line-height:21px}
      .hg-web-play__scorebox{flex-direction:column;align-items:stretch;gap:16px;padding:16px 20px}
      .hg-web-play__scoreblock{flex-wrap:wrap;justify-content:space-between;row-gap:12px}
      .hg-web-play__stars{margin:0}
      .hg-web-play__scorehead b{font-size:18px}
      .hg-web-play__scorenum{font-size:40px;line-height:36px}
      .hg-web-play__stars em{font-size:16px;line-height:28px}
      .hg-web-play__scoreblock+button.hg-web-play__ratesubmit{width:auto;height:44px;font-size:16px;line-height:44px}
    }

     
     
    @media (max-width:1365px){#related-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
    @media (max-width:1023px){#related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
     
    @media (max-width:1199px){.vd-address-card__foot{flex-direction:row;align-items:center}}
    .vd-address-card__head b,.vd-address-badge,button.vd-address-copy{white-space:nowrap}
     
    .hg-web-play__characters{margin-top:24px;padding:24px 32px 28px;border-radius:16px;background:#161616;border:1px solid rgba(255,255,255,.06)}
    .hg-web-play__characters .hg-web-detail__section-title{margin:0 0 16px;font-size:32px;line-height:43px;font-weight:600;color:#fff;overflow-wrap:anywhere}
    .hg-web-detail__characters{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
    .hg-character-card{min-width:0;padding:14px 16px;border-radius:10px;background:#1c1c1c;border:1px solid rgba(255,255,255,.08)}
    .hg-character-card__name{margin-right:8px;font-size:15px;line-height:22px;font-weight:600;color:#fff;overflow-wrap:anywhere}
    .hg-character-card__role{display:inline-block;vertical-align:1px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.55);font-size:12px;line-height:16px;white-space:nowrap}
    .hg-character-card__desc{margin:8px 0 0;font-size:13px;line-height:1.6;color:rgba(255,255,255,.6);overflow-wrap:anywhere}


/* --- Hyperf drama-detail runtime overlays (native <video> path) --- */
.hg-web-play[hidden],
.hg-drama-empty[hidden]{display:none!important}
.hg-drama-empty{padding:48px 24px;text-align:center;color:rgba(255,255,255,.7)}
.hg-drama-empty a{color:var(--color-primary,#ffd21c)}
.hg-drama-overlay{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;background:rgba(0,0,0,.4);font-size:14px}
.hg-drama-overlay[hidden]{display:none!important}
.hg-drama-overlay__err{background:rgba(0,0,0,.55);text-align:center;padding:16px}
.hg-drama-retry{border:0;border-radius:999px;padding:8px 18px;background:#ffd21c;color:#111;font-weight:600;cursor:pointer}
.hg-drama-spinner{width:28px;height:28px;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:hg-drama-spin .8s linear infinite}
@keyframes hg-drama-spin{to{transform:rotate(360deg)}}

/* Ensure native video fills viewport when not using xgplayer mount */
.hg-web-play__viewport{position:relative;width:100%;aspect-ratio:16/9;background:#000}
.hg-web-play__viewport>.hg-web-play__video{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;background:#000}


/* 进页播放钮：不自动播，用户点击后再拉地址/校验 */
.hg-drama-play-btn{
  position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);
  width:64px;height:64px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(0,0,0,.55);color:#fff;font-size:26px;line-height:1;
  display:flex;align-items:center;justify-content:center;padding:0 0 2px 4px;
  box-shadow:0 4px 16px rgba(0,0,0,.35);
}
.hg-drama-play-btn[hidden]{display:none!important}
.hg-drama-play-btn:hover{background:rgba(0,0,0,.7)}

/* 单场购买弹窗 */
.hg-sp-buy{position:fixed;inset:0;z-index:2147483000}
.hg-sp-buy[hidden]{display:none!important}
.hg-sp-buy__mask{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.hg-sp-buy__panel{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(92vw,400px);box-sizing:border-box;padding:28px 24px 24px;
  background:#1a1a1f;color:#fff;border-radius:16px;
  box-shadow:0 16px 48px rgba(0,0,0,.45);text-align:center;
}
.hg-sp-buy__close{
  position:absolute;right:12px;top:10px;border:0;background:transparent;
  color:rgba(255,255,255,.7);font-size:24px;line-height:1;cursor:pointer;padding:4px 8px;
}
.hg-sp-buy__title{margin:0 0 10px;font-size:18px;font-weight:600}
.hg-sp-buy__sub{margin:0 0 20px;font-size:14px;line-height:1.5;opacity:.85}
.hg-sp-buy__sub strong{color:#ff7e41;font-weight:600}
.hg-sp-buy__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hg-sp-buy__pay{
  appearance:none;border:0;border-radius:999px;padding:10px 20px;
  background:#ff7e41;color:#fff;font-size:15px;cursor:pointer;
}
/* 开通 VIP 黄按钮（其它任务已定，保持） */
.hg-sp-buy__vip{
  appearance:none;border:0;border-radius:999px;
  padding:10px 20px;background:#ffd21c;color:#111;font-size:15px;font-weight:700;
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.hg-sp-buy__vip:hover{filter:brightness(1.05)}

/*
 * 剧集单场金额角标：嵌在方块内右上角（不伸出），避免被
 * .hg-web-play__side{overflow:hidden} / episode-scroll{overflow-y:auto} 裁切
 */
.hg-web-play__side>.hg-web-play__episode-scroll{
  /* 纵向仍可滚；横向不裁角标；顶部留一点内边距 */
  overflow-x:visible;
  overflow-y:auto;
  padding-top:6px;
  padding-right:6px;
}
.hg-web-play__episode-scroll>.hg-web-play__ep-grid,
.hg-web-play__ep-grid{
  overflow:visible;
}
.hg-web-play__ep{
  position:relative;
  overflow:visible !important;
  z-index:0;
}
.hg-web-play__ep.is-active,
.hg-web-play__ep:hover{z-index:2}
.hg-web-play__ep-price{
  position:absolute;
  top:2px;
  right:2px;
  z-index:5;
  box-sizing:border-box;
  min-width:20px;
  height:20px;
  padding:0 4px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:linear-gradient(180deg,#f6e7b0 0%,#e8c96a 55%,#dcc05a 100%);
  border:1px solid #f0dd9a;
  box-shadow:inset 0 0 0 1.5px #c9a84a,0 1px 2px rgba(0,0,0,.25);
  color:#2a1c0a;
  font-size:10px;
  font-weight:700;
  line-height:1;
  font-family:Inter,system-ui,sans-serif;
  pointer-events:none;
  white-space:nowrap;
}
.hg-web-play__ep-price[hidden]{display:none!important}
