/* Scoped watch and shorts presentation. */
html{--ptv-watch-bg:#fff;--ptv-watch-fg:#0f0f0f;--ptv-watch-soft:#f2f2f2;--ptv-watch-muted:#606060}
html.ptv-dark-mode{--ptv-watch-bg:#0f0f0f;--ptv-watch-fg:#f1f1f1;--ptv-watch-soft:#272727;--ptv-watch-muted:#aaa}
html body .ptv-player-page{background:var(--ptv-watch-bg)!important;color:var(--ptv-watch-fg)!important;padding:0!important;border-radius:0!important}
html body .ptv-player-page .ptv-player-title,html body .ptv-player-page .ptv-player-channel,html body .ptv-player-page .ptv-player-related h3,html body .ptv-player-page .ptv-related-item{color:var(--ptv-watch-fg)!important}
html body .ptv-player-page .ptv-player-channelbar{justify-content:flex-start;gap:16px}
html body .ptv-player-page .ptv-player-subscribe{background:var(--ptv-watch-fg);color:var(--ptv-watch-bg)}
html body .ptv-player-page .ptv-player-actions{display:flex;margin-top:12px;gap:8px;align-items:center}
html body .ptv-player-page .ptv-player-actions button{background:var(--ptv-watch-soft);color:var(--ptv-watch-fg);border:0;padding:10px 17px}
html body .ptv-player-page .ptv-player-actions .is-active{color:#008b58}
html body .ptv-player-page .ptv-player-description{background:var(--ptv-watch-soft);color:var(--ptv-watch-fg)}
html body .ptv-player-page .ptv-player-related{background:transparent!important;padding:0!important;border:0;box-shadow:none}
html body .ptv-player-page .ptv-related-item{grid-template-columns:minmax(125px,46%) minmax(0,1fr);gap:9px}
html body .ptv-player-page .ptv-related-item img,html body .ptv-player-page .ptv-related-placeholder{width:100%;height:auto;aspect-ratio:16/9}
html body .ptv-player-page .ptv-autoplay-option,html body .ptv-player-page small,html body .ptv-player-page .ptv-player-actions>span{color:var(--ptv-watch-muted)!important}
html body .ptv-player-page .ptv-video-comments{background:var(--ptv-watch-bg)!important;color:var(--ptv-watch-fg)!important;padding:18px 0!important}
html body .ptv-player-page .ptv-video-comments textarea,html body .ptv-player-page .ptv-video-comments input:not([type=submit]){background:var(--ptv-watch-bg)!important;color:var(--ptv-watch-fg)!important}
html body .ptv-player-page .ptv-yt-comment-text,html body .ptv-player-page .ptv-yt-comments-head h2,html body .ptv-player-page .ptv-yt-comment-heading strong{color:var(--ptv-watch-fg)!important}
html body .ptv-shorts-199{display:grid!important;grid-template-columns:200px minmax(0,1fr) 70px;background:var(--ptv-watch-bg)!important;color:var(--ptv-watch-fg)!important;padding:12px 24px!important;margin:0!important;max-width:none!important;min-height:0!important;box-sizing:border-box}
.ptv-shorts-199 .ptv-shorts-sidebar{display:flex;flex-direction:column;gap:8px;padding:8px}
.ptv-shorts-199 .ptv-shorts-sidebar a{color:var(--ptv-watch-fg);text-decoration:none;padding:12px;border-radius:10px;display:flex;gap:16px}
.ptv-shorts-199 .ptv-shorts-sidebar .is-current{background:var(--ptv-watch-soft);font-weight:700}
html body .ptv-shorts-199 .ptv-shorts-feed{height:calc(100dvh - 130px);min-height:350px;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;scrollbar-width:none;background:transparent!important;padding:0!important;width:100%!important;max-width:none!important;display:block!important}
html body .ptv-shorts-199 .ptv-short-card{position:relative!important;display:block!important;width:min(430px,calc(100% - 80px))!important;height:calc(100% - 16px)!important;min-height:330px!important;margin:0 auto 16px!important;scroll-snap-align:start;scroll-snap-stop:always;border:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important;aspect-ratio:auto!important}
.ptv-shorts-199 .ptv-short-screen{position:relative;height:100%;background:#000;border-radius:14px;overflow:hidden}
html body .ptv-shorts-199 .ptv-short-screen video,html body .ptv-shorts-199 .ptv-short-screen iframe{width:100%!important;height:100%!important;object-fit:contain!important;border:0;display:block}
html body .ptv-shorts-199 .ptv-short-actions{position:absolute!important;left:calc(100% + 12px)!important;right:auto!important;top:auto!important;bottom:12px!important;display:flex!important;flex-direction:column;gap:16px;transform:none!important;width:52px}
html body .ptv-shorts-199 .ptv-short-actions button{display:flex!important;align-items:center;flex-direction:column;background:transparent!important;border:0!important;padding:0!important;color:var(--ptv-watch-fg)!important;cursor:pointer;width:50px;height:auto!important;line-height:1.2}
.ptv-shorts-199 .ptv-short-actions button>span{display:grid;place-items:center;width:48px;height:48px;background:var(--ptv-watch-soft);border-radius:50%;font-size:27px}
.ptv-shorts-199 .ptv-short-actions small{font-size:12px;margin-top:6px}
.ptv-shorts-199 .ptv-short-actions .is-active>span{background:#005b3f;color:#fff}
.ptv-shorts-199 .ptv-short-actions img{border-radius:8px}
html body .ptv-shorts-199 .ptv-short-overlay{position:absolute;bottom:54px;left:0;right:0;padding:24px 16px 10px;background:linear-gradient(transparent,#000a);color:#fff!important;pointer-events:none}
.ptv-shorts-199 .ptv-short-overlay a,.ptv-shorts-199 .ptv-short-overlay button{pointer-events:auto;color:#fff}
.ptv-shorts-199 .ptv-short-overlay h2{font-size:16px;line-height:1.4;margin:12px 0 0;color:white}
.ptv-short-author,.ptv-short-author a{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:13px}
.ptv-short-author img{border-radius:50%}.ptv-short-author button{border:0;background:#fff!important;color:#111!important;padding:8px 12px;border-radius:24px;cursor:pointer}
.ptv-short-navigation{display:flex;flex-direction:column;justify-content:center;gap:16px}.ptv-short-navigation button{width:52px;height:52px;border:0;border-radius:50%;background:var(--ptv-watch-soft);color:var(--ptv-watch-fg);font-size:26px;cursor:pointer}
.ptv-shorts-199 .ptv-short-comments{position:absolute;inset:0;z-index:20;overflow:auto;background:var(--ptv-watch-bg);color:var(--ptv-watch-fg);border-radius:14px;padding:20px;box-sizing:border-box;scroll-snap-align:none}
.ptv-shorts-199 [hidden]{display:none!important}.ptv-short-comments [data-short-close]{float:right;border:0;background:var(--ptv-watch-soft);color:var(--ptv-watch-fg);border-radius:50%;font-size:25px;cursor:pointer}.ptv-short-comment{display:flex;gap:9px;margin:18px 0}.ptv-short-comment img{border-radius:50%;width:30px;height:30px}.ptv-short-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;font-size:14px}.ptv-short-comments textarea,.ptv-short-comments input:not([type=submit]){box-sizing:border-box;width:100%;background:var(--ptv-watch-bg);color:var(--ptv-watch-fg);border:1px solid #888;border-radius:8px;padding:10px}.ptv-short-comments a{color:#008b58}.ptv-short-comments input[type=submit]{padding:10px 16px;background:#005b3f;color:#fff;border:0;border-radius:20px}
@media(max-width:800px){html body .ptv-shorts-199{grid-template-columns:minmax(0,1fr);padding:6px 8px!important}.ptv-shorts-199 .ptv-shorts-sidebar,.ptv-shorts-199 .ptv-short-navigation{display:none}html body .ptv-shorts-199 .ptv-shorts-feed{height:calc(100dvh - 150px)}html body .ptv-shorts-199 .ptv-short-card{width:min(430px,calc(100% - 62px))!important;margin-left:auto!important;margin-right:62px!important}.ptv-shorts-199 .ptv-short-actions{gap:13px!important}html body .ptv-player-page .ptv-related-item{grid-template-columns:155px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.ptv-shorts-199 *{scroll-behavior:auto!important}}

.ptv-watch-meta-row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}html body .ptv-player-page .ptv-watch-meta-row .ptv-player-actions{margin-top:0}.ptv-watch-meta-row .ptv-player-actions>span{flex-basis:100%;text-align:right;font-size:11px!important}.ptv-watch-meta-row .ptv-player-channelbar{flex-shrink:0}@media(max-width:700px){.ptv-watch-meta-row{padding:0 12px}.ptv-watch-meta-row .ptv-player-actions>span{text-align:left}.ptv-watch-meta-row .ptv-player-channelbar,.ptv-watch-meta-row .ptv-player-actions{margin-left:0!important;margin-right:0!important}}
/* 2.0.1 watch layout */
.ptv-watch-navigation{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid #8883}.ptv-watch-navigation a{padding:8px 12px;border-radius:9px;background:var(--ptv-watch-soft);color:var(--ptv-watch-fg);font-size:12px;font-weight:650;text-decoration:none}
html body .ptv-player-page .ptv-player-title{font-size:20px;line-height:1.5;margin:14px 0 10px}.ptv-watch-meta-row{gap:12px}.ptv-watch-meta-row .ptv-player-actions{gap:6px!important}.ptv-watch-meta-row .ptv-player-actions button{min-height:40px;padding:9px 13px!important}.ptv-player-subscribe{min-height:40px}.ptv-watch-more{position:relative}.ptv-watch-more summary{cursor:pointer;border-radius:50%;background:var(--ptv-watch-soft);padding:10px;list-style:none}.ptv-watch-more[open]{z-index:9}.ptv-watch-more a,.ptv-watch-more[open]>button{display:block;white-space:nowrap;background:var(--ptv-watch-soft);color:var(--ptv-watch-fg);padding:12px;border-radius:8px}.ptv-watch-more[open]>a{position:absolute;right:0;top:44px}.ptv-watch-more[open]>button{position:absolute;right:0;top:88px}.ptv-description-stats{display:block;margin-bottom:5px}.ptv-player-description{white-space:normal!important}.ptv-description-text{white-space:pre-wrap}.ptv-description-collapsed .ptv-description-text{max-height:3.2em;overflow:hidden}.ptv-description-toggle{background:transparent;border:0;font-weight:700;cursor:pointer;color:inherit;padding:8px 0 0}.ptv-watch-comments summary{display:none!important}.ptv-yt-comments-head p{display:none}.ptv-yt-comment-form-wrap{display:flex;gap:14px;align-items:flex-start}.ptv-yt-comment-form-wrap>.avatar{border-radius:50%}.ptv-yt-comment-form-wrap #respond{flex:1;min-width:0}.ptv-yt-comment-form textarea{border:0!important;border-bottom:1px solid #8886!important;border-radius:0!important;resize:vertical;min-height:40px!important;width:100%}.ptv-shorts-empty{text-align:center;padding:50px 16px}.ptv-shorts-empty a{display:inline-block;background:#005b3f;color:#fff;padding:12px 20px;border-radius:24px}
@media(max-width:700px){.ptv-watch-meta-row .ptv-player-actions{flex-wrap:wrap}.ptv-watch-navigation{margin-top:20px}.ptv-player-related{padding:0 12px!important}.ptv-watch-more[open]>a,.ptv-watch-more[open]>button{right:0}}
html body .ptv-player-page .ptv-description-toggle{color:var(--ptv-watch-fg)!important}.ptv-player-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.ptv-description-expanded .ptv-description-text{max-height:none!important}
