YT簡化自訂控制項

YT簡化-控制項+按鈕+進度條自定義修改

以使用者樣式安裝?
作者推薦腳本

您可能也會喜歡 Tabview Youtube

安裝腳本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==UserStyle==
@name  YT簡化自訂控制項
@description  YT簡化-控制項+按鈕+進度條自定義修改
@namespace   https://greasyfork.org/zh-TW/users/4839
@author       leadra
@preprocessor stylus
@version     2.1.1
@license      MIT
@var checkbox   ctrl_thin                               "控制項簡化"                 1
@var checkbox   hide_btn                               "隱藏自動播放"                  1
@var checkbox   hide_btn1                               "隱藏子母+迷你播放器"      1
@var checkbox   hide_btn2                               "隱藏劇院+全螢幕"            1
@var checkbox   hide_btn3                          "隱藏按鈕下載+超級感謝"           1
@var checkbox   hide_btn4                          "隱藏按鈕不喜歡"           1
@var checkbox   hide_section                   "隱藏頻道音樂遊戲資訊"                 0
@var checkbox   hide_right                          "隱藏右+下欄位"                    0
@var checkbox   hide_info                              "隱藏影片右下資訊卡"           1
@var checkbox   hide_endcard                         "隱藏結束卡-移入才顯示"        1
@var checkbox   hide_ctrl                              "隱藏控制列-移入才顯示"           1
@var checkbox   hide_ico                                "隱藏標題右按鈕文字"         1
@var checkbox   hide_combg                                "隱藏留言大頭貼"         1
@var checkbox   hide_less                                "隱藏評論[顯示較少內容]"         1
@var checkbox   btn_text                                "縮短會員+訂閱按鈕文字"              1
@var color		sub_background     				"未訂閱背景色"          					rgba(255, 0, 0, .5)
@var checkbox   title_h                                   "縮短標題列間距"                1
@var number     title_top                               ">標題上間距"                         [0, -50, 50, 5, "px"]
@var number     title_line                               ">標題行距"                         [1, 0, 2, 0.1, "em"]
@var number     title_wi                               ">標題破行%"                         [100, 0, 150, 5, "%"]
@var number     title_si                               ">標題大小"                         [20, 10, 30, 1, "px"]
@var number     times_si                               ">觀看次數文字大小"                         [18, 10, 30, 1, "px"]
@var checkbox   hide_ad                               "影片推薦-廣告隱藏"                1
@var checkbox   ad_resume                         "影片推薦-看過影片變暗"                0
@var checkbox   noround_livechat            "圓角去除-聊天室+影片"                       0
@var checkbox   noround_btn                     "圓角去除-按鈕"                       0
@var checkbox   progress_bar                     "進度條自定義"                           1
@var number     progress_bar_size           "進度條圖片大小"                         [40, 0, 200, 10, "px"]
@var text       progress_url                      "進度條URL"             ""https://raw.githubusercontent.com/leadra/pic/main/kurara.gif""
@var checkbox   scroll_hide                         "卷軸隱藏"                          1
@var checkbox   chat_teaser                 "聊天室預告面板隱藏"                       1
@var checkbox   tab_h                      "*腳本Tabview>按鈕縮小"      1
@var checkbox   tab_t                      ">按鈕上移"      1
@var checkbox   scroll_thin                         ">Tab卷軸thin"                       1
@var checkbox   times_watched                 ">觀看次數位置上移"                       1
@var number     times_bt                 ">觀看次數位置上移"           [30, 0, 70, 5, "px"]
@var number     times_le                 ">觀看次數位置右移"           [40, 0, 70, 5, "%"]
@var checkbox   times_info                      ">觀看次數(腳本)"      0
@var checkbox   comment_width                 ">評論邊界縮小"                                  1
@var number     comment_size                   ">評論資訊文字大小"                         [18, 10, 30, 1, "px"]
@var checkbox   chat_ma                 ">totara聊天室框架邊界"                                  0
@var checkbox   fix_for_ytlc                 "*擴充YouTubeLiveClock"           0
@var number     ytliveclock_he                 ">控制列下移修正"           [50, 0, 90, 5, "px"]
@var number     ytliveclock_ma                 ">控制列下移間距修正"           [0, 0, 50, 5, "px"]
@var checkbox   below_controls                 "*腳本Youtube Player Controls below Video修正"           0
@var number     below_ma                 ">控制列下移間距"           [30, 0, 50, 5, "px"]
==/UserStyle== */
//youtube Simplify - control items + buttons + progress bar customize
/*
搭配腳本用功能:
----------Tabview(腳本)---------
https://greasyfork.org/zh-TW/scripts/501249
>>>觀看次數位置上移(搭配Tabview服用,以免標題列變窄)
----------擴充YouTubeLiveClock
----------腳本Youtube Player Controls below Video
*/

/*引用感謝[CSS]
YT隱藏控制項(滑鼠移入才會顯示https://greasyfork.org/zh-TW/scripts/446045
YT隱藏進度條(滑鼠移入才會顯示https://greasyfork.org/zh-TW/scripts/437994
YT播放器簡化https://greasyfork.org/zh-TW/scripts/445999
YT網頁版面調整https://github.com/sapondanaisriwan/AdashimaaTube
YT進度條突出顯示https://greasyfork.org/zh-TW/scripts/402635
YT主題:皮卡丘介面https://userstyles.org/styles/194352/poketube
YT電影廣告消除https://greasyfork.org/zh-TW/scripts/468212
YT所有頁面:看過影片變暗https://greasyfork.org/zh-TW/scripts/419722
YT隱藏「下載、剪輯和感謝(包括推廣)」按鈕https://greasyfork.org/zh-TW/scripts/447614
YT隱藏結束卡https://greasyfork.org/zh-TW/scripts/408725
YT會員訂閱按鈕https://github.com/sapondanaisriwan/AdashimaaTube/blob/master/userstyles/features/red-subscribe-button.user.css
YT控制列下移https://greasyfork.org/zh-TW/scripts/469704
*/
@-moz-document url-prefix("https://www.youtube.com/watch"), url-prefix("https://www.youtube.com/shorts/"), url-prefix("https://www.youtube.com/live/") {
/*顯示隱藏即時通訊鈕-高度調整//@var checkbox   hide_chat_head               "即時通訊鈕緊縮"                                                0
if hide_chat_head{
#show-hide-button > .ytd-live-chat-frame.style-scope{padding:0px!important;margin: -0px 0px -0px 0px!important;}
     //文字部分.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--text{padding:0px!important;margin: -0px 0px -0px 0px!important;line-height:1em;height:1em;opacity:0.5;}
    //tabview聊天室新開視窗按鈕位置修正ytd-watch-flexy[flexy][is-two-columns_] #chat.tyt-chat-frame-ready:not([collapse]) tyt-iframe-popup-btn.tyt-btn-enabled {padding: 0px !important;margin: 0px 30px -0px 0px!important;width:2em;height:2em;bottom:auto;}}*/

//訂閱提醒框隱藏反黑
yt-notification-action-renderer[darker-dark-theme] tp-yt-paper-toast.yt-notification-action-renderer{background-color: rgb(39, 39, 39);display:none !important;}

//去除圓角-聊天室+影片
if noround_livechat {
    ytd-live-chat-frame#chat.ytd-watch-flexy{
        border-radius: 0px;
        }
    ytd-watch-flexy[rounded-player-large]:not([fullscreen]):not([theater]) #ytd-player.ytd-watch-flexy {
        border-radius: 0px !important;
}}
//去除圓角-按鈕
if noround_btn {
    html .yt-spec-button-shape-next--size-m,
    html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start,
    html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-button.yt-spec-button-shape-next--segmented-end{
        border-radius:0;
        }}
     
//控制項簡化:保留音量提示
if ctrl_thin{
.ytp-bezel,//中間LOGO
.ytp-doubletap-ui-legacy,//左右側前進、後退
.ytp-doubletap-ui,//去除縮略圖上的播放提示
.ytp-gradient-top,//上邊漸進黑
//.ytp-gradient-bottom,//下邊漸進黑
.ytp-chrome-top,//全螢幕上方標題
.ytp-pause-overlay,//暫停
//.annotation//註解
//.ytp-pip-button.ytp-button,//子母畫面(舊版)
//.ytp-size-button.ytp-button,//劇院模式
//.ytp-miniplayer-button.ytp-button,//迷你
//.ytp-autonav-toggle-button,//自動播放(背景元素無法去除)
//.c4-player-container.c4-flexible-player-container,
ytd-thumbnail-overlay-loading-preview-renderer{
display:none !important;
}

}
/*隱藏控制列-移入顯示+控制列黑底*/
if hide_ctrl{
.ytp-gradient-bottom,.ytp-chrome-bottom {opacity:0;}
.ytp-chrome-bottom:hover  {opacity:1;background:rgba(0, 0, 0, .4);}
        }

/*隱藏按鈕>自動播放;子母畫面(新版)+迷你;劇院+全螢幕*/
if hide_btn{[data-tooltip-target-id="ytp-autonav-toggle-button"],{display:none !important;}}
if hide_btn1{#movie_player div.ytp-chrome-controls button.ytp-pip-button.ytp-button,#movie_player:not(.ytp-fullscreen) div.ytp-chrome-controls button.ytp-pip-button.ytp-button,.ytp-miniplayer-button{display:none !important;}}
if hide_btn2{.ytp-size-button,.ytp-fullscreen-button{display:none !important;}}//.ytp-multicam-button,.ytp-remote-button,.ytp-settings-button

/*隱藏按鈕>下載+超級感謝*/
if hide_btn3{ytd-download-button-renderer ,#flexible-item-buttons [aria-label="Thanks"],#flexible-item-buttons [aria-label="超級感謝"] {display: none !important;}}
//yt-button-view-model:has([aria-label="超級感謝"]) {display: none !important;}

/*隱藏按鈕>不喜歡*/
if hide_btn4 {dislike-button-view-model {
            display: none !important;
        }
        .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start {
            border-radius: 18px !important;
        }
        .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start::after {
            display: none !important;
        }
	}
	
/*建議影片-電影購買+廣告隱藏*/
if hide_ad{
    //建議影片-電影購買[https://greasyfork.org/zh-TW/scripts/468212]
    ytd-watch-next-secondary-results-renderer.ytd-watch-flexy ytd-compact-movie-renderer.style-scope.ytd-item-section-renderer ,#offer-module.ytd-watch-next-secondary-results-renderer{display: none;}
    //建議影片-廣告
    td-promoted-sparkles-web-renderer,ytd-ad-slot-renderer{display: none;}
                    }
/*建議影片-看過影片變暗[原作者腳本全站通用https://greasyfork.org/zh-TW/scripts/419722]*/
if ad_resume{
//#progress.ytd-thumbnail-overlay-resume-playback-renderer {bottom: 0px; position: absolute;z-index:1;background: rgba(0, 0, 0, .5);min-height: 95px;}
ytd-thumbnail-overlay-resume-playback-renderer::after {
    background: rgba(0, 0, 0, .5);
    content: "看過";    //text-align:center;
    font-size:20px;
    display: block;
    bottom: 0;
    height: 95px;
    width: 100%;
    position: absolute;
    z-index: 10;
    }}
	
//隱藏資訊卡
if hide_info {#columns #player .ytp-iv-player-content, ytd-watch-flexy .ytp-iv-player-content{display: none;}}

if hide_less {.less-button, tp-yt-paper-button#less{
		display :none;
	}
}

//縮短標題列間距
if title_h{
    //Enhancer for YouTube™修正
	html[tyt-deferred][sxmq8="1"] ytd-watch-flexy:not([hidden]) ytd-watch-metadata.style-scope.ytd-watch-flexy{margin: 0px 0px -0px 0px!important;padding:0 !important;}
		//Tabview
    body ytd-watch-flexy[cinematics-enabled] #below.ytd-watch-flexy{margin: 0px 0px 0px 0px!important;}
		//無Tabview
	ytd-watch-metadata.ytd-watch-flexy,[rounded-info-panel] #clarify-box.ytd-watch-flexy{margin: 0px 0px 0px 0px!important;}
    //標題上間距+標題破行%
    #below h1.ytd-watch-metadata ,yt-formatted-string[data-title-details]{line-height:title_line;margin: title_top 0px -0px 0px!important;width:title_wi;font-size:title_si !important;}
    //頻道名稱上下方空白
    .style-scope.ytd-watch-metadata{padding:0px 0px!important;margin: -0px 0px -0px 0px!important;}
    #top-row.ytd-watch-metadata{margin: -0px 0px -0px 0px!important;}
    //會員專屬標題
    .badge-style-type-members-only.ytd-badge-supported-renderer {margin:-0px 0px -60px 140px; position:relative; z-index: 1; background: rgba(0, 0, 0, .5);}
    //頻道名稱
    .style-scope.ytd-video-owner-renderer{
    padding:0px 0px;
    margin: 0px 0px 0px -0px!important;
    //max-width: 350px!important;
    line-height:1em!important;
        }
    //.ytd-channel-name{padding:0px 0px 0px 0px;margin: 0px 0px 0px -0px;}
    //#upload-info.ytd-video-owner-renderer{padding:0;margin: -0px 0px -0px -0px!important;}
    //頻道訂閱數
    #owner-sub-count.ytd-video-owner-renderer{
        font-size: 16px;
        line-height:1em!important;
    }
    //觀看次數文字
    #info-container.ytd-watch-info-text{
    margin: 0px 0px 0px 10px!important;
    padding:0px!important;
    font-size:times_si!important;
    }
    //標題列右側按鈕
//#actions-inner.ytd-watch-metadata{max-width: 100%;}
	//按鈕靠右對齊
     /*ytd-watch-metadata #actions.item.style-scope.ytd-watch-metadata{
            justify-content: end !important;
            display:flex;
        }*/
    .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-leading-trailing .yt-spec-button-shape-next__secondary-icon{margin:0px;}
    .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--tonal {padding:0px 5px;}
    //.yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-leading-trailing .yt-spec-button-shape-next__icon{margin: 0px;}
	//.yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-leading .yt-spec-button-shape-next__icon {margin: 0px;}
    .yt-spec-button-shape-next__icon{margin: 0px!important;}
                }

//縮短會員+訂閱按鈕文字
if btn_text{
    //標題列加入會員按鈕#owner
    ytd-button-renderer .yt-spec-button-shape-next__button-text-content{
    //max-width:3em;
    font-weight:bold;
    font-size: 1.6em;
    margin: -0px -0px -0px -0px!important;
    padding: 0px!important;
    }
	/*會員訂閱按鈕*/
    #notification-preference-button > ytd-subscription-notification-toggle-button-renderer-next > yt-button-shape > button {
        //小鈴鐺已訂閱&.yt-spec-button-shape-next.yt-spec-button-shape-next--tonal {background-color:sub_background !important;}
        /*下拉箭頭*/
        > div {&.yt-spec-button-shape-next__secondary-icon {display: none !important;}}
    }
	//已加會員按鈕
    yt-button-shape:not(:hover) {
        .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled {
			color: var(--yt-spec-static-brand-white) !important;
    		background-color: rgba(255, 255, 255, .3) !important;//var(--yt-spec-badge-chip-background)
			border-style:double;
    		padding: 0px 10px !important;
        }
    }
	//未訂閱(含Shorts)
    yt-button-shape.ytd-subscribe-button-renderer:not([hidden]) {
        .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled ,
        .yt-spec-button-shape-next--overlay.yt-spec-button-shape-next--filled {
			color: var(--yt-spec-static-brand-white) !important;
    		background-color: sub_background !important;//var(--yt-spec-badge-chip-background)
    		padding: 0px 10px !important;
        }
    }
    //標題列訂閱按鈕
    #subscribe-button-shape .yt-spec-button-shape-next__button-text-content{
        max-width:1em;
    font-weight:bold;
    font-size: 1.5em;
    margin: -0px -0px -0px -0px!important;
    padding: 0px!important;
        }
    ytd-subscribe-button-renderer .yt-spec-button-shape-next__button-text-content{max-width:0em;}
    ytd-video-owner-renderer .yt-spec-button-shape-next__button-text-content{max-width:1em;}
	//span.yt-core-attributed-string.yt-core-attributed-string--white-space-no-wrap {display: none;}
}

//隱藏標題列右側按鈕文字
   if hide_ico {
	yt-button-view-model .yt-spec-button-shape-next__button-text-content,
	ytd-download-button-renderer .yt-spec-button-shape-next__button-text-content ,
    yt-touch-feedback-shape .yt-spec-button-shape-next__button-text-content,
{display: none !important;}
}

//隱藏留言大頭貼
if hide_combg{
#author-thumbnail.ytd-commentbox, ytd-commentbox[is-reply][is-backstage-comment] #author-thumbnail.ytd-commentbox{display: none !important;}
}
//隱藏頻道音樂遊戲資訊🎵🎮
    if hide_section{ytd-video-description-infocards-section-renderer , ytd-horizontal-card-list-renderer.style-scope.ytd-structured-description-content-renderer , #contents.ytd-rich-metadata-row-renderer  {display: none ;}}
    
//隱藏右+下欄位
    if hide_right{ytd-watch-flexy[cinematics-enabled] #secondary.ytd-watch-flexy {display: none ;}//{position: fixed ;    z-index: 1;left:0;opacity:0.7}
ytd-watch-metadata.watch-active-metadata.style-scope.ytd-watch-flexy{display: none ;}
}

//隱藏結束連結卡
if hide_endcard {
   div[class*="video-player"]:not(:hover) div[class^="ytp-ce"],
   div[class*="ytp-autohide"] div[class^="ytp-ce"] {
      display: none !important;
   }}

/*炒飯進度條*/
if progress_bar{
    .ytp-scrubber-button,.ytp-play-progress {
        background: #ffe100a6;
        transform: rotate(0deg);
        filter: drop-shadow(0 0 1px gold) drop-shadow(0 0 2px gold) drop-shadow(0 0 3px gold);
    }
    /*控制項高亮*/
    .ytp-volume-panel:hover,
    .ytp-chrome-controls a:hover svg,
    .ytp-chrome-controls button:hover svg {
        filter: drop-shadow(0 0 1px black) drop-shadow(0 0 2px gold)  drop-shadow(0 0 5px gold) !important;
    }
    //進度條調整
.ytp-scrubber-pull-indicator {
    background-color: #fff0;
    height: progress_bar_size;
    width: progress_bar_size;
    background-image: url(progress_url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: progress_bar_size;
    bottom: 0px;
    left: progress_bar_size *-(6.5/10) ;
    transform: rotate(0deg);
	transform: scale(1.1);
	border-radius: 0px
    }}

/* 
@var checkbox   chat_height                          "聊天室延伸(tabview衝突)"                 0
@var number     chat_width                          "聊天室欄寬"                         [400, 300, 800, 10, "px"]
// 聊天室延伸(tabview腳本衝突)   チャット欄を画面一番下まで伸ばす
if chat_height { ytd-live-chat-frame#chat {height: calc(100vh *0.92) !important; //height: calc(100vh - 100px)}
    // chat欄位無邊界+影片上方空白消除+chat聊天室欄寬
    #columns {margin: -0px 0px  0px  0px  !important;   max-width: 100% !important;
        & > #primary,& > #secondary{padding-top: 0!important;}
        & > #secondary {width: chat_width;}}}
*/
//卷軸隱藏
if scroll_hide{
html {
    scrollbar-color: none !important;
    scrollbar-width: none !important;
	}
    ::-webkit-scrollbar {
        display:none!important;
	}
}
	
//Tabview(腳本)按鈕極小化
if tab_h {
    ytd-watch-flexy #right-tabs .tab-btn[tyt-tab-content]{
    padding:0;
    font-size:18px;
    line-height:1em;
    }
}
//Tabview(腳本)按鈕上移	(Tabview Youtube Design Customization功能合併)https://greasyfork.org/zh-TW/scripts/467638
if tab_t {
        ytd-watch-flexy[tyt-chat^="+"] #secondary-inner.style-scope.ytd-watch-flexy {
            display:flex;
            flex-direction: column;
        }
        ytd-watch-flexy[tyt-chat^="+"] #chat-container, ytd-watch-flexy[tyt-chat^="+"] ytd-live-chat-frame#chat {
            order: 99;
        }
        ytd-watch-flexy[is-two-columns_][tyt-chat][tyt-chat^="+"] #secondary-inner.style-scope.ytd-watch-flexy #right-tabs {
            --tyt-right-tabs-margin-top: 0;
            --tyt-right-tabs-margin-bottom: var(--tyt-right-tabs-margin-size);
        }
}

//Tab卷軸none #tab-comments #tab-videos #tab-info
 ytd-watch-flexy #right-tabs  .tab-content-cld{
	scrollbar-width: none !important;
}
//Tab卷軸thin
if scroll_thin{
ytd-watch-flexy #right-tabs  .tab-content-cld{
	scrollbar-width: thin !important;
	}
}
//觀看次數上移
if times_watched {
    //觀看次數區ytd-watch-flexy[rounded-player-large]:not([fullscreen]):not([theater]) #ytd-player.ytd-watch-flexy
    ytd-watch-flexy:not([fullscreen]):not([theater]) #bottom-row.ytd-watch-metadata{
    font-size:13px!important;
    margin: -0px 0px 0px 0px!important;
    max-width: 35%!important;
	max-height: 30px!important;
    position: relative;//absolute//relative
    z-index:111;
    left:times_le;
    bottom:times_bt;
        }
		//隱藏文字無影片說明
		#description-placeholder.ytd-watch-metadata{display:none !important;}
}
//觀看次數
if times_info {
    #info-container{
    //font-size:13em!important;
    //margin: -0px 0px 0px 0px!important;
	//max-height: 30px!important;
	//min-width:115% !important;
    //display:flex;
	//flex-direction:row;
	position: absolute;//absolute//relative
		left:30%;
        }
	ytd-video-owner-renderer{

    	//min-width:30%!important;
		//max-width:90% !important;
		}
}
//聊天室預告面板隱藏
if chat_teaser{
#comment-teaser.ytd-watch-metadata, #teaser-carousel.ytd-watch-metadata{display:none !important;}
}

//評論邊界+文字大小
if comment_width {
    #content-text.ytd-comment-view-model{
    font-size:comment_size;
    }
    ytd-watch-flexy .tab-content-cld#tab-comments{
        padding:0px 0px !important;
        margin:0px 0px 0px 0px !important;
		overflow-x:hidden;
        //position:relative;
    }
    #body.ytd-comment-view-model{
        margin:0px 0px 0px 0px !important;
    ytd-expander>*{
        padding:0px !important;
        margin:0px 10px 0px 0px !important;
        width: 100%!important;
        }
    }
    .ytd-comment-view-model{
        padding:0px !important;
        margin:0px 0px 0px 0px !important;
    }
    .ytd-comment-view-model #author-thumbnail{
        padding:0px !important;
        margin:0px 5px 0px 0px !important;
    }
	//間距+回復間距
	#comments *:not(#button):not(paper-button):not(ytd-button-renderer):not(#header):not(button):not(#tooltip):not(paper-item),#meta *:not(#upload-info):not(paper-button){
    //font-size: comment_size!important;
    padding:0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
	}
	#comments .ytd-comments > #header { margin-bottom: 15px!important; }
	ytd-comment-replies-renderer{
    //font-size: comment_size!important;
	margin-left: 0px!important;
	background-color: rgba(100, 100, 100, .2);
	}
	//則留言邊界
	#count.ytd-comments-header-renderer{margin: 0;}
}
//資訊文字大小
#tab-info [class]:last-child,
//#description.ytd-expandable-video-description-body-renderer
//#description.ytd-video-secondary-info-renderer
#description{
        font-size:comment_size;
}
//totara聊天室框架邊界
if chat_ma {
	#playlist.ytd-watch-flexy{
		margin-bottom: 1px;
	}
	ytd-watch-flexy.style-scope:not([fullscreen]) {
		--ytd-margin-6y: none !important;
	}
	#right-tabs {
        display: flex;
        margin: 0 !important;
        //flex: 1;
        flex-direction: column;
    }
	//進度條斷行修正BUG
	#columns.style-scope.ytd-watch-flexy {
        //--ytd-margin-6x: 0.05px !important;
    }
}

//擴充YouTubeLiveClock控制列間距修正https://chromewebstore.google.com/detail/youtubeliveclock/chpodcedholiggcllnmmjlnghllddgmj
    /*html:has(style#ytlc-style-for-native-control) ytd-watch-flexy[flexy][is-two-columns_][theater] #columns.ytd-watch-flexy,
    html:has(style#ytlc-style-for-native-control) #columns.ytd-watch-flexy #player::after {
    margin:  ytliveclock 0px 0px 0px!important;
    padding:0px!important;}*/
	if fix_for_ytlc {
		/*
            @supports (color: var(--compatibile-with-chrome-plugin-youtube-live-clock-20240123)) {

                // 2024/01/23 - specific fix for YouTubeLiveClock - chrome only 
                html:has(style#ytlc-style-for-native-control) #columns.ytd-watch-flexy #player::after {
                    content: "";
                    //border-style: dotted;
                    display: flex;
					margin:  ytliveclock 0px 0px 0px!important;
                }
                html:has(style#ytlc-style-for-native-control) #columns.ytd-watch-flexy #below {
                    transform: none;
                }
            }
			//修正無法顯示控制列
			html body ytd-watch-flexy:not([fullscreen])[class] #ytd-player.ytd-watch-flexy[class] {
    overflow: initial;
  }
  */
  //LIVE紅點顯示.ytp-time-display{display: contents;}
  //標題上方空白列元素
	html:has(style#ytlc-style-for-native-control) #columns.ytd-watch-flexy #clarify-box{
		//margin: 0 0 0 0 !important;
		//padding:0!important;
		display:none;
	}
	html:has(style#ytlc-style-for-native-control) #columns.ytd-watch-flexy #below {
		bottom: ytliveclock_ma!important;
		//z-index:999;
		//position: relative;//absolute//relative
		//margin: 0 0 0 0 !important;
		//padding:0!important;
        //transform: none;
        }
		:root {
    --ytlc-bottom-controls-height-offset: 0px;
    --ytlc-bottom-controls-height: ytliveclock_he;
    --ytlc-big-mode-bottom-controls-height: 56px;
			
		}
		html:has(style#ytlc-style-for-native-control)#columns #player .ytp-chrome-bottom, #full-bleed-container .ytp-chrome-bottom, ytd-watch-flexy[theater]:not([fullscreen]) .ytp-chrome-bottom{
		transform: translateY(calc(var(--yt-delhi-bottom-controls-height, var(--ytlc-bottom-controls-height)) + var(--ytlc-bottom-controls-height-offset)));
//translateY(calc(var(--yt-delhi-bottom-controls-height, var(--ytlc-bottom-controls-height)) + var(--ytlc-bottom-controls-height-offset)));
    display: block !important;
    opacity: 1 !important;
}
	}
	
//Youtube Player Controls below Video間距修正+強制顯示https://greasyfork.org/scripts/469704
if below_controls{
 .yt8447-enabled:not([fullscreen]) #below.ytd-watch-flexy, .yt8447-enabled[theater]:not([fullscreen]) #secondary.ytd-watch-flexy {
      margin-top: below_ma!important;
  }
  .playing-mode>  .ytp-chrome-bottom:not(:hover)  {opacity:1!important;visibility:visible!important;}
	//滾動去除
	#columns {overflow: hidden;}
  }
#emojis.ytd-commentbox{
	//display: block;
	width:100%;
	//margin:-0px;
	//left:0px;
}

}