body:has(#play_page){--tpl-accent:#ffd314!important;--tpl-accent-rgb:255,211,20!important;--tpl-bg-base:#0b0b0b!important;--tpl-bg-muted:#1b1b19!important;--tpl-text:#f6f6f2!important;--tpl-text-strong:#f6f6f2!important;--tpl-text-subtle:#aaa!important;--tpl-border:#35352d!important;background:#090909!important;color:#f6f6f2!important;padding-bottom:105px!important}
body:has(#play_page) #play_page{width:min(100%,360px)!important;max-width:360px!important;margin:0 auto!important;background:#0b0b0b!important;min-height:calc(100vh - 95px)}
body:has(#play_page) #play_page .container,body:has(#play_page) #play_page .play_box,body:has(#play_page) #play_page .left_row,body:has(#play_page) #play_page .right_row,body:has(#play_page) #play_page .container-wrap{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important}
body:has(#play_page) #play_page .play_boxbg,body:has(#play_page) #play_page .pannel,body:has(#play_page) #play_page .play-info,body:has(#play_page) #play_page .play-info-main{background:#1b1b19!important;color:#f6f6f2!important;border-color:#34342c!important;box-shadow:none!important}
body:has(#play_page) #play_page .pannel{margin:10px!important;padding:10px!important;border-radius:9px!important}
body:has(#play_page) #play_page .pannel_head,body:has(#play_page) #play_page .play-info-title{border-color:#34342c!important}
body:has(#play_page) #play_page h1,body:has(#play_page) #play_page h2,body:has(#play_page) #play_page h3,body:has(#play_page) #play_page .title{color:#f7f7f4!important}
body:has(#play_page) #play_page p,body:has(#play_page) #play_page .play-info-meta{color:#b3b3ab!important}
body:has(#play_page) #play_page a{color:#eaeae3}
body:has(#play_page) #play_page .content_playlist li a,body:has(#play_page) #play_page .tab-play a{background:#282824!important;color:#efefe9!important;border-color:#3c3c32!important;border-radius:6px!important}
body:has(#play_page) #play_page .content_playlist li.active a,body:has(#play_page) #play_page .tab-play.active a{background:#ffd314!important;color:#151515!important;border-color:#ffd314!important}
body:has(#play_page) #play_page .play-info-action{color:#f7f7f2!important}
body:has(#play_page) #play_page .play-info-action.is_fav,body:has(#play_page) #play_page .site-play-fav-star{color:#ffd314!important}
body:has(#play_page) #play_page .site-play-fav-star{font-size:22px;font-style:normal;line-height:1}
body:has(#play_page) #play_page .player_video,body:has(#play_page) #play_page .embed-responsive{background:#000!important;max-width:100%!important;overflow:hidden!important}
body:has(#play_page) #play_page .mac_comment textarea,body:has(#play_page) #play_page .mac_comment input{background:#252520!important;color:#fff!important;border:1px solid #454537!important}
body:has(#play_page) #play_page{border-left:1px solid #202018!important;border-right:1px solid #202018!important}
body:has(#play_page) #play_page .player_video{border-radius:0!important;min-height:190px}
body:has(#play_page) #play_page .play-info-title,body:has(#play_page) #play_page .pannel_head{font-size:16px!important;font-weight:800!important;line-height:1.4!important}
body:has(#play_page) #play_page .play-info-main{padding:11px 12px!important}
body:has(#play_page) #play_page .play-info-action{font-weight:700!important}
body:has(#play_page) #play_page .play-info-action:hover,body:has(#play_page) #play_page .play-info-action:focus{color:#ffd314!important}
body:has(#play_page) #play_page .content_playlist li a{display:flex;align-items:center;justify-content:center;min-height:40px;font-weight:700}
body:has(#play_page) #play_page .pannel{border:1px solid #303028!important}
/* Reference-style mobile player layout. Keep the original player and permission gate. */
body:has(#play_page) #topnav{display:none!important}
body:has(#play_page){padding-top:0!important}
body:has(#play_page) #play_page{border:0!important;background:#090909!important}
body:has(#play_page) #play_page .play_boxbg{background:#090909!important}
body:has(#play_page) #play_page .navcenter-page{display:none!important}
body:has(#play_page) #play_page .play_but,body:has(#play_page) #play_page .play_pan,body:has(#play_page) #play_page .play_box_right{display:none!important}
.site-play-backbar{height:43px;display:flex;align-items:center;padding:0 14px;background:#090909}
.site-play-backbar a{display:grid;place-items:center;width:29px;height:29px;color:#fff!important;font-size:31px;line-height:1;text-decoration:none}
body:has(#play_page) #play_page .player_video{min-height:200px!important;border-radius:0!important}
.site-play-meta{padding:14px 15px 8px;background:#090909;color:#f7f7f4}
.site-play-meta h1{font-size:15px!important;line-height:1.45!important;font-weight:800!important;margin:0 0 10px!important;color:#fff!important}
.site-play-stats{display:flex;align-items:center;gap:17px;flex-wrap:wrap;color:#8991a7;font-size:11px;line-height:1.5}
.site-play-stats .site-play-score{color:#fa7939;font-weight:700}
.site-play-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:12px;border-bottom:1px solid #202020;padding-bottom:13px}
.site-play-actions>a,.site-play-actions>div{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;color:#dedede!important;font-size:23px;text-decoration:none;cursor:pointer}
.site-play-actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.site-play-actions em{font-style:normal;font-size:11px;font-weight:700;color:#d9d9d9}
.site-play-actions .is_fav,.site-play-actions .is_click{color:#ffd314!important}
body:has(#play_page) #play_page .container-wrap{display:flex!important;flex-direction:column;background:#090909!important}
body:has(#play_page) #play_page .container-wrap > :not(#pinglun):not(.pannel--vod-related):not(.site-play-content-tabs):not(#bofy){display:none!important}
body:has(#play_page) #play_page #pinglun{order:3}
body:has(#play_page) #play_page .pannel--vod-related{order:2}
body:has(#play_page) #play_page #bofy{order:4}
body:has(#play_page) #play_page #pinglun,body:has(#play_page) #play_page .pannel--vod-related{margin:0!important;padding:13px 15px!important;border:0!important;border-radius:0!important;background:#090909!important}
body:has(#play_page) #play_page #pinglun .pannel_head,body:has(#play_page) #play_page .pannel--vod-related .pannel_head{padding:0 0 10px!important;border-bottom:1px solid #252525!important}
body:has(#play_page) #play_page #pinglun .title,body:has(#play_page) #play_page .pannel--vod-related .title{font-size:15px!important;color:#f7f7f4!important}
body:has(#play_page) #play_page .mac_comment{color:#ddd!important;background:#090909!important}
body:has(#play_page) #play_page #bofy{margin:12px 15px!important}

/* Readable favorite toast without changing the login form. */
body:has(#play_page) .mac_pop_msg{background:#f5f5f5!important;color:#1b1b1b!important}
body:has(#play_page) .mac_pop_msg .pop-msg,body:has(#play_page) .mac_pop_msg .pop-msg *{color:#1b1b1b!important;font-weight:700!important}

body:has(#play_page) .mac_pop_login{background:#242420!important;color:#f5f5f5!important}
body:has(#play_page) .mac_pop_login .auth-field-label,body:has(#play_page) .mac_pop_login .quick-account-login-hint{color:#ddd!important}
body:has(#play_page) .mac_pop_login input.reg-control{color:#171717!important;background:#f5f5f5!important}
body:has(#play_page) .mac_pop_login input.login_form_submit,body:has(#play_page) .mac_pop_login .quick-account-btn{color:#111!important}

body:has(#play_page) .mac_pop_login input.login_form_submit,body:has(#play_page) .mac_pop_login .quick-account-btn{-webkit-text-fill-color:#111!important;color:#111!important}
body:has(#play_page) #play_page .site-play-stats span{display:inline-flex;align-items:center;gap:5px}
body:has(#play_page) #play_page .site-play-stats .sx-icon{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body:has(#play_page) #play_page .site-play-fav-star{width:21px;height:21px;fill:none;stroke:#e7e7e2;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(#play_page) #play_page .play_collec.is_fav .site-play-fav-star{fill:#ffd314;stroke:#ffd314}
body:has(#play_page) .extra-fab{display:none!important}

body:has(#play_page) #play_page .site-play-content-tabs{order:1;display:flex!important;align-items:center;gap:24px;padding:0 15px;border-bottom:1px solid #2b2b29;background:#090909}
body:has(#play_page) #play_page .site-play-content-tabs button{position:relative;min-height:48px;padding:0 1px;border:0;background:none;color:#999;font-size:15px;font-weight:700;cursor:pointer}
body:has(#play_page) #play_page .site-play-content-tabs button.is-active{color:#fff}
body:has(#play_page) #play_page .site-play-content-tabs button.is-active::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;border-radius:2px;background:#ffd314}
body:has(#play_page) #play_page .site-play-content-tabs button:focus-visible{outline:2px solid #ffd314;outline-offset:2px}

/* Player stage and content share the mobile viewport width. */
body:has(#play_page) #play_page{width:min(100%,var(--sx-page-width,360px))!important;max-width:var(--sx-page-width,360px)!important}
body:has(#play_page) #play_page .play_boxbg,
body:has(#play_page) #play_page .play_boxbg > .container,
body:has(#play_page) #play_page .play_box.play_video{padding:0!important}
body:has(#play_page) #play_page .player_video{position:sticky!important;top:0;z-index:30;aspect-ratio:16/9;height:auto!important;min-height:0!important;width:100%!important;padding-bottom:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#050505!important;isolation:isolate}
body:has(#play_page) #play_page .player_video iframe,
body:has(#play_page) #play_page .player_video video{background:#050505!important}
body:has(#play_page) #play_page .player_video.site-play-player-pinned{position:fixed!important;top:0!important;left:50%;width:min(100vw,var(--sx-page-width,360px))!important;transform:translateX(-50%);z-index:50}
body:has(#play_page) #play_page .site-play-player-spacer{height:0;background:#050505}
body:has(#play_page) #play_page .site-play-content-tabs,
body:has(#play_page) #play_page #sitePlayRecommendPanel,
body:has(#play_page) #play_page #pinglun{scroll-margin-top:230px}
body:has(#play_page) #play_page .site-play-backbar{position:absolute;top:8px;left:9px;z-index:1000;height:auto;padding:0;background:transparent;pointer-events:none}
body:has(#play_page) #play_page .site-play-backbar a{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;background:#161616b8;color:#fff!important;pointer-events:auto;backdrop-filter:blur(6px)}
body:has(#play_page) #play_page .site-play-backbar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body:has(#play_page) #play_page .site-play-meta{padding-left:11px;padding-right:11px}
body:has(#play_page) #play_page .site-play-content-tabs{padding-left:11px;padding-right:11px}
body:has(#play_page) #play_page #pinglun,
body:has(#play_page) #play_page .pannel--vod-related{padding:11px!important}
body:has(#play_page) #play_page .pannel--vod-related{padding:0!important}
body:has(#play_page) #play_page .pannel--vod-related{overflow:visible!important}
body:has(#play_page) #play_page #js-play-like-groups{display:flex;flex-direction:column;gap:14px;width:100%;min-width:0}
body:has(#play_page) #play_page .site-play-recommend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;margin:0;padding:0;list-style:none}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-card{min-width:0;background:#1b1b19;border-radius:7px;overflow:hidden;text-decoration:none}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-card:first-child{grid-column:span 2}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-thumb{display:block;height:98px;position:relative;background:#252520}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-card:first-child .sx-video-thumb{height:198px}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-thumb img{display:block;width:100%;height:100%;object-fit:cover}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-tag{position:absolute;top:5px;right:5px;padding:2px 5px;border-radius:3px;background:#ffd314;color:#111;font-size:10px;font-weight:700}
body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-text{display:block;padding:7px}
body:has(#play_page) #play_page .site-play-recommend-grid h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 5px;color:#f7f7f4!important;font-size:12px;line-height:1.35;font-weight:700}
body:has(#play_page) #play_page .site-play-recommend-grid p{display:flex;justify-content:space-between;gap:4px;margin:0;color:#aaa!important;font-size:10px}
body:has(#play_page) #play_page .site-play-recommend-grid b{color:#fb7b3a;font-weight:400}
@media(max-width:600px){body:has(#play_page) #play_page{width:100%!important;max-width:100%!important}}
@media(max-width:360px){body:has(#play_page) #play_page .site-play-recommend-grid .sx-video-card:first-child .sx-video-thumb{height:50vw}}
body:has(#play_page) #play_page #pinglun[hidden],body:has(#play_page) #play_page #sitePlayRecommendPanel[hidden]{display:none!important}
body:has(#play_page) #play_page #pinglun .pannel_head,body:has(#play_page) #play_page .pannel--vod-related .pannel_head{display:none!important}

/* Shared dark comment layout for the standard video player. */
body:has(#play_page) #play_page #pinglun{box-sizing:border-box;width:100%;min-width:0;min-height:calc(100dvh - 310px);padding:0!important;background:#090909!important}
body:has(#play_page) #play_page #pinglun .mac_comment{display:flex;flex-direction:column;box-sizing:border-box;min-height:calc(100dvh - 310px);width:100%;max-width:100%;margin:0!important;padding:0!important;overflow:visible;background:#090909!important}
body:has(#play_page) #play_page #pinglun .part_rows_fa{order:2;position:sticky;bottom:54px;z-index:20;box-sizing:border-box;width:100%;margin-top:auto;padding:9px 11px max(9px,env(safe-area-inset-bottom,0px))!important;border-top:1px solid #2d2d29;background:#141412!important}
body:has(#play_page) #play_page #pinglun .comment_form,body:has(#play_page) #play_page #pinglun .input_wrap{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body:has(#play_page) #play_page #pinglun .input_wrap{display:flex!important;align-items:center;gap:8px}
body:has(#play_page) #play_page #pinglun .comment_content{display:block!important;flex:1 1 0!important;box-sizing:border-box;width:0!important;min-width:0!important;max-width:none!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:9px 13px!important;overflow:hidden;resize:none!important;border:1px solid #3d3b33!important;border-radius:20px!important;background:#242420!important;color:#f5f5f2!important;font-size:13px!important;line-height:20px!important}
body:has(#play_page) #play_page #pinglun .comment_content:focus{border-color:#b89a1a!important;outline:none;box-shadow:0 0 0 2px #ffd31424}
body:has(#play_page) #play_page #pinglun .smt{display:flex!important;align-items:center;flex:0 0 53px!important;width:53px!important;min-width:53px!important;margin:0!important;padding:0!important;float:none!important;opacity:1!important;visibility:visible!important;background:none!important}
body:has(#play_page) #play_page #pinglun .comm_tips{display:none!important}
body:has(#play_page) #play_page #pinglun .comment_submit{display:block!important;box-sizing:border-box;width:53px!important;max-width:53px!important;height:36px!important;margin:0!important;padding:0!important;float:none!important;border:0!important;border-radius:19px!important;background:#ffd314!important;color:#171713!important;font-size:12px!important;font-weight:800!important;cursor:pointer}
body:has(#play_page) #play_page #pinglun .comment_submit:focus-visible{outline:2px solid #fff;outline-offset:2px}
body:has(#play_page) #play_page #pinglun .part_rows{order:1;box-sizing:border-box;width:100%;margin:0!important;padding:3px 11px 14px!important;background:transparent!important}
body:has(#play_page) #play_page #pinglun .comm_each{box-sizing:border-box;margin:0!important;padding:13px 0!important;border-bottom:1px solid #292923;background:transparent!important}
body:has(#play_page) #play_page #pinglun .cmt-row{display:flex;gap:9px}
body:has(#play_page) #play_page #pinglun .cmt-avatar-wrap{flex:none;width:29px;height:29px}
body:has(#play_page) #play_page #pinglun .cmt-avatar-wrap img{width:29px;height:29px;object-fit:cover;border-radius:50%}
body:has(#play_page) #play_page #pinglun .cmt-body{flex:1;min-width:0}
body:has(#play_page) #play_page #pinglun .cmt-name{color:#e4e4df;font-size:12px}
body:has(#play_page) #play_page #pinglun .cmt-text{margin:6px 0;color:#f1f1ed;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
body:has(#play_page) #play_page #pinglun .cmt-time,body:has(#play_page) #play_page #pinglun .cmt-actions{color:#999;font-size:11px}
body:has(#play_page) #play_page #pinglun .cmt-actions{display:flex;gap:10px}
body:has(#play_page) #play_page #pinglun .no-message{order:1;flex:1;display:grid;place-content:center;min-height:180px!important;margin:0!important;padding:0 11px!important;background:transparent!important;box-shadow:none!important;color:#aaa!important;text-align:center}
body:has(#play_page) #play_page #pinglun .no-message .message-img{display:none!important}
body:has(#play_page) #play_page #pinglun .no-message p{color:#aaa!important;font-size:12px}
body:has(#play_page) #play_page #pinglun .page,body:has(#play_page) #play_page #pinglun .page_tips{order:1;margin-left:11px!important;margin-right:11px!important}
body:has(#play_page) #play_page #pinglun .comment_reply_form{position:relative;display:block;width:100%;margin-top:8px!important;padding:0!important;border:0!important;background:transparent!important}
body:has(#play_page) #play_page #pinglun .comment_reply_form .input_wrap{display:flex!important}

/* Keep the composer visible as the comment list scrolls. */
body:has(#play_page) #play_page #pinglun .part_rows_fa{position:fixed!important;left:50%;bottom:var(--sx-route-bottom,56px);transform:translateX(-50%);width:min(100vw,var(--sx-page-width,360px))!important;max-width:100vw}
body:has(#play_page) #play_page #pinglun .mac_comment{padding-bottom:66px!important}
