/* Match the quiet, compact hierarchy of the YouTube watch page. */
.watch-page{--watch-gap:24px}.watch-page .topbar{height:64px;padding:0 28px;gap:24px}.watch-shell{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:var(--watch-gap);max-width:1740px;margin:64px auto 0;padding:24px 32px 48px}.watch-main{min-width:0}.player-wrap{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000}.watch-frame{display:block;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0}.watch-main h1{font-size:21px;line-height:1.4;font-weight:700;letter-spacing:-.25px;margin:13px 0 12px;overflow-wrap:anywhere}.watch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.watch-author{display:flex;align-items:center;gap:12px;flex-shrink:0}.watch-author img{border-radius:50%;object-fit:cover;width:40px;height:40px}.watch-author strong{display:block;font-size:16px;line-height:1.4}.watch-author small{display:block;font-size:12px;color:var(--muted);line-height:1.6}.watch-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.watch-actions .pill{height:36px;padding:0 14px;gap:7px;font-size:14px;font-weight:500}.watch-actions svg{width:24px;height:24px;stroke-width:1.6}.like-button[aria-pressed=true] svg{fill:currentColor}.language-switch{display:flex;align-items:center;border-radius:22px;background:var(--surface);padding:3px;gap:2px}.language-switch button{height:30px;padding:0 11px;border-radius:18px;font-size:13px;font-weight:500;white-space:nowrap}.language-switch button[aria-pressed=true]{background:var(--text);color:var(--bg)}.description-box{background:var(--surface);border-radius:12px;padding:12px;margin:16px 0 0;font-size:14px;line-height:1.65}.description-summary{font-weight:500;margin:0}.description-box summary{display:inline-block;font-weight:600;cursor:pointer;padding-top:5px;list-style:none}.description-box summary::-webkit-details-marker{display:none}.description-content{overflow-wrap:anywhere}.description-content p{margin:12px 0}.description-content a{color:#3ea6ff}.description-content #original-description{white-space:pre-line;color:#ccc}.watch-feedback{color:#ccc;margin:12px 0 0}.watch-related h2{font-size:15px;margin:0 0 14px;font-weight:600}.related-card{display:flex;gap:9px;margin-bottom:14px}.related-image{position:relative;flex:0 0 168px;aspect-ratio:16/9;align-self:flex-start;overflow:hidden;border-radius:8px;background:var(--surface)}.related-image img{width:100%;height:100%;object-fit:cover}.related-image .duration{font-size:11px;right:4px;bottom:4px;padding:0 4px}.related-copy{min-width:0}.related-copy h3{font-size:14px;font-weight:600;line-height:1.45;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.related-copy p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}.related-card:hover h3{color:#fff}.all-videos{display:block;border:1px solid var(--line);border-radius:20px;text-align:center;padding:7px;color:#3ea6ff;font-weight:500}.all-videos:hover{background:#263850}.watch-page dialog{width:min(520px,calc(100vw - 32px));max-width:none;border:1px solid #444;border-radius:16px;padding:24px;background:#212121;color:var(--text);box-shadow:0 12px 64px #0008}.watch-page dialog::backdrop{background:#0009}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-heading h2{font-size:20px;margin:0;letter-spacing:0}.icon-button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:transparent}.watch-page #share-title{font-size:14px;color:#ccc;margin:12px 0 20px}.share-link-row{display:flex;align-items:center;background:#0f0f0f;border:1px solid #444;border-radius:10px;padding:7px;gap:8px}.share-link-row input{background:none;border:0;color:var(--text);width:0;min-width:0;flex:1;font-size:14px;padding:0 5px}.copy-button{background:#3ea6ff;color:#0f0f0f;height:36px;padding:0 18px}.copy-button:hover{background:#65b8ff}.share-time{display:flex;align-items:center;gap:6px;margin-top:20px;cursor:pointer}.share-time input{width:18px;height:18px;margin:0 6px 0 0;accent-color:#3ea6ff}.native-share{margin-top:20px}.share-feedback{color:#aaa;font-size:12px;margin:14px 0 0;min-height:18px}.watch-page .toast{z-index:50}.watch-page noscript a{color:#3ea6ff}
@media(min-width:1600px){.watch-shell{grid-template-columns:minmax(0,1fr) 400px}.related-image{flex-basis:180px}}
@media(max-width:1140px){.watch-shell{grid-template-columns:minmax(0,1fr) 310px;padding:18px 24px 36px;gap:20px}.related-image{flex-basis:140px}.watch-actions{gap:6px}}
@media(max-width:1000px){.watch-shell{grid-template-columns:minmax(0,1fr);max-width:1000px}.watch-related{padding-top:10px}.related-image{flex-basis:200px}.watch-related #related{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.related-card{flex-direction:column}.related-image{flex-basis:auto;width:100%}.watch-related .all-videos{margin-top:12px}.watch-page .search{max-width:400px}}
@media(max-width:640px){.watch-page .topbar{height:56px;padding:0 16px;gap:12px}.watch-page .topbar .brand strong{font-size:20px}.watch-page .topbar .brand-mark{width:30px;height:22px}.watch-page .search{display:none}.watch-page .library-link{font-size:12px;padding:0 12px;height:32px}.watch-shell{margin:56px 0 0;padding:0 0 28px;gap:20px}.player-wrap{border-radius:0}.watch-main h1{font-size:18px;margin:12px 14px 14px}.watch-toolbar{padding:0 14px;gap:15px}.watch-author strong{font-size:15px}.watch-actions{width:100%;gap:8px;flex-wrap:nowrap}.watch-actions .pill{padding:0 12px;flex-shrink:0}.language-switch{margin-left:auto;flex-shrink:0}.language-switch button{font-size:12px;padding:0 9px}.description-box{margin:14px 12px 0;padding:12px;font-size:13px}.watch-feedback{padding:0 14px}.watch-related{padding:0 14px}.watch-related #related{display:block}.related-card{flex-direction:row;margin-bottom:16px;gap:12px}.related-image{flex-basis:44%;width:auto}.related-copy h3{font-size:14px}.watch-page dialog{padding:20px}.watch-page .brand-lang{font-size:10px}}
@media(max-width:370px){.watch-actions{gap:6px}.watch-actions .pill{padding:0 9px;gap:5px;font-size:13px}.language-switch button{padding:0 6px}}

/* Finger-sized hit areas while preserving the compact desktop toolbar. */
@media(max-width:640px){.watch-actions .pill{height:44px}.language-switch{padding:2px}.language-switch button{height:40px}.watch-page .icon-button{min-width:44px;min-height:44px}.copy-button{height:44px}.watch-page .library-link{height:40px}}

.watch-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.watch-frame{position:absolute;inset:0}.watch-frame[hidden]{display:none}

.watch-frame.is-loading{opacity:0}
