/* Watch pages use the same charcoal, silver and blue surfaces as the library. */
.watch-page{background:var(--te-bg,#252525);color:var(--te-text,#f2f2f2)}
.watch-shell{max-width:1760px;margin:0 auto;padding:24px 28px 72px;min-width:0}
.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.watch-layout--single{grid-template-columns:minmax(0,1fr);max-width:1120px;margin-inline:auto}
.watch-article,.watch-rail{min-width:0}
.watch-layout--single .watch-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.player-frame{background:#101010;width:100%;aspect-ratio:16/9;min-width:0;overflow:hidden;border-radius:12px}
.player-frame iframe{display:block;border:0;width:100%;height:100%;min-height:0}
.player-frame .video-cover{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;width:100%;height:100%;margin:0;border:0;padding:0;background:#101010;color:#f2f2f2;cursor:pointer;overflow:hidden}
.player-frame .video-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;opacity:.82}
.player-frame .video-cover>span:not(.video-duration),.player-frame .video-cover>small{position:relative;background:#111c;backdrop-filter:blur(6px);border-radius:999px;padding:10px 18px;z-index:1}
.player-frame .video-cover>span:not(.video-duration){font-size:16px;font-weight:700}
.player-frame .video-cover>small{font-size:12px;color:#dedede}
.player-frame .video-cover:focus-visible{outline:3px solid var(--te-accent,#459bff);outline-offset:-4px}
.player-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 2px;font-size:12px;line-height:1.5;color:var(--te-muted,#b9b9b9)}
.player-footer>a{color:var(--te-accent,#459bff);white-space:nowrap}
.video-heading{padding:14px 0 4px}
.video-heading h1{font-size:clamp(22px,2vw,30px);line-height:1.3;letter-spacing:-.02em;margin:0 0 12px;overflow-wrap:anywhere;color:var(--te-text,#f2f2f2)}
.watch-kicker{font-size:12px;font-weight:650;line-height:1.5;color:var(--te-accent,#459bff);margin:0 0 8px;display:block}
.watch-section{padding:24px 0;border-bottom:1px solid var(--te-border,#707070);scroll-margin-top:100px}
.watch-section h2{font-size:21px;line-height:1.3;letter-spacing:-.02em;margin:0 0 18px;color:var(--te-text,#f2f2f2)}
.watch-section h3{font-size:16px;line-height:1.45;margin:0 0 10px}
.watch-section p{font-size:15px;line-height:1.65;color:var(--te-muted,#b9b9b9);margin:8px 0 0}
.watch-section a{color:var(--te-accent,#459bff)}
.watch-section p.small-note,.watch-section p.affiliate-note{font-size:12px;line-height:1.6;margin-top:12px}
.watch-rail{display:grid;gap:24px}
.context-panel,.learning-panel{padding:20px;border:1px solid var(--te-border,#707070);border-radius:12px;background:var(--te-soft,#303030);color:var(--te-text,#f2f2f2)}
.context-panel h2,.related-videos h2,.learning-panel h2{font-size:18px;line-height:1.35;letter-spacing:0;margin:0 0 16px;color:var(--te-text,#f2f2f2)}
.vehicle-facts{margin:0}
.vehicle-facts>div{padding:10px 0;display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;border-bottom:1px solid var(--te-border,#707070);font-size:13px;line-height:1.5}
.vehicle-facts>div:last-child{border-bottom:0}
.vehicle-facts dt{color:var(--te-muted,#b9b9b9);text-transform:capitalize}
.vehicle-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.learning-panel a{display:block;border-top:1px solid var(--te-border,#707070);padding:12px 0 0;margin-top:12px;font-size:14px;line-height:1.5;color:var(--te-accent,#459bff)}
.related-video{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--te-border,#707070);color:var(--te-text,#f2f2f2)}
.related-video img{display:block;width:112px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#171717}
.related-video strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.related-video:hover strong{color:var(--te-accent,#459bff)}
.related-videos>a:last-child{display:inline-block;margin-top:14px;font-size:13px;color:var(--te-accent,#459bff)}
.video-page-trail{font-size:12px;color:var(--te-muted,#b9b9b9)}
.video-page-trail a{color:var(--te-accent,#459bff)}
.watch-page .resource-feedback{margin-top:24px;font-size:13px}
.watch-page .resource-feedback h2{font-size:16px}
@media(max-width:1180px){.watch-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.watch-layout--single{grid-template-columns:minmax(0,1fr)}.watch-shell{padding-inline:20px}.related-video{grid-template-columns:96px minmax(0,1fr)}.related-video img{width:96px}}
@media(max-width:980px){.watch-layout{grid-template-columns:minmax(0,1fr)}.watch-rail{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:start}.related-videos{grid-column:1/-1}}
@media(max-width:767px){
 .watch-shell{padding:16px 0 48px}
 .watch-shell>.video-page-trail,.watch-shell>.video-preview-banner{margin-inline:16px}
 .player-frame{border-radius:0}
 .player-footer,.video-heading,.watch-article>.video-description,.watch-section,.watch-article>.video-sections,.watch-page .resource-feedback,.watch-rail{margin-left:16px;margin-right:16px}
 .video-heading h1{font-size:22px}
 .player-footer{padding-block:8px;gap:10px;flex-wrap:wrap}
 .watch-section h2{font-size:20px}
 .watch-rail{grid-template-columns:1fr}
 .related-video{grid-template-columns:124px minmax(0,1fr)}
 .related-video img{width:124px}
 .related-video strong{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.watch-page{scroll-behavior:auto}.player-frame .video-cover{transition:none}}
@media(forced-colors:active){.player-frame .video-cover:focus-visible{outline-color:Highlight}.context-panel,.learning-panel{border-color:CanvasText}}


/* Keep related-video badges inside their 16:9 thumbnail at every rail width. */
.related-video .video-thumbnail{border-radius:8px}
.related-video .video-thumbnail>img{width:100%;height:100%;border-radius:inherit}

/* Watch adds job context and shopping links below the shared clear card core. */
.watch-page .watch-section .video-tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:stretch;gap:14px}
.watch-page .video-tool-card{min-width:0}
.watch-page .video-tool-photo{display:grid;place-items:center;width:100%;height:100%;aspect-ratio:1;overflow:hidden;min-width:0}
.watch-page .watch-section .video-tool-photo img{display:block;width:100%;height:100%;object-fit:var(--gear-photo-fit,contain);transform:translate(var(--gear-photo-x,0%),var(--gear-photo-y,0%)) scale(var(--gear-photo-scale,1));margin:0}
.watch-page .video-tool-photo-empty{padding:20px;text-align:center;font-size:13px;line-height:1.5;color:var(--te-muted,#b9b9b9)}
.watch-page .video-tool-photo img+.video-tool-photo-empty{display:none}
.watch-page .watch-section .video-tool-photo img[data-unavailable="true"]{display:none}
.watch-page .video-tool-photo img[data-unavailable="true"]+.video-tool-photo-empty{display:block}
.watch-page .video-tool-context{min-width:0}
.watch-page .video-tool-context .watch-kicker{margin:0;color:var(--te-muted,#b9b9b9);font-size:12px;font-weight:650}
.watch-page .video-tool-context>p:not(.watch-kicker){font-size:13px;line-height:1.5}
.watch-page .video-tool-identifiers{margin:8px 0 0;font-size:13px;line-height:1.5}
.watch-page .video-tool-identifiers>div{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;margin-top:4px}
.watch-page .video-tool-identifiers dt{color:var(--te-muted,#b9b9b9)}
.watch-page .video-tool-identifiers dd{margin:0;overflow-wrap:anywhere;color:var(--te-text,#f2f2f2)}
.watch-page .video-tool-identifiers dd{font-family:var(--te-font-mono,monospace);font-variant-numeric:tabular-nums}
html body.watch-page .video-tool-card .te-product-card-footer{display:flex;flex-direction:column;flex:1;gap:12px}
.watch-page .video-tool-actions{display:grid;gap:8px;margin-top:auto}
.watch-page .video-tool-actions:empty{display:none}
.watch-page .watch-section .video-tool-shop{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;margin:0;line-height:1.5;font-size:14px;text-decoration:none;border-radius:8px;overflow-wrap:anywhere}
.watch-page .video-tool-timestamp{display:inline-flex;align-items:center;min-height:44px;gap:8px;font-size:13px;line-height:1.5;text-decoration:none}
.watch-page .watch-section .video-products-browse{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:16px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.watch-page .watch-section .video-tool-card a:focus-visible,.watch-page .video-products-browse:focus-visible{outline:3px solid var(--te-accent,#459bff);outline-offset:3px}
@media(hover:hover){.watch-page .video-tool-card h3 a:hover{text-decoration:underline}}
@media(forced-colors:active){.watch-page .video-tool-card a:focus-visible,.watch-page .video-products-browse:focus-visible{outline-color:Highlight}}

/* Connected products form one useful tray; retailer-specific codes stay beside
   their own shopping button. Source artwork and saved framing are unchanged. */
html body.watch-page .video-products:has(.video-tool-card){margin-block:20px;padding:20px;border:1px solid rgba(255,255,255,.07);border-top-color:rgba(255,255,255,.16);border-radius:12px;background:var(--te-garage-card,#12161f)}
.video-loadout-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.watch-page .video-loadout-heading h2{margin:4px 0 0;font-size:19px}
.watch-page .video-loadout-label{margin:0;font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--te-blue,#69aaff)}
.video-loadout-count{flex:none;color:var(--te-muted,#b6bac1);font:12px var(--te-font-mono,monospace);white-space:nowrap}
.video-tool-offer{display:grid;gap:8px;min-width:0}
html body.watch-page .video-tool-actions .video-tool-shop{background:var(--te-primary,#2563eb);color:#fff;border:1px solid #3b82f6;font-weight:650}
html body.watch-page .video-tool-actions .video-tool-shop:hover{background:#1d4ed8}
html body.watch-page .video-tool-coupon{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #3e7452;border-radius:8px;background:#14271d;color:#c2efcf}
.watch-page .video-tool-coupon p{flex:1 1 120px;font-size:12px;line-height:1.5;color:inherit;margin:0}
.video-tool-coupon strong,.video-tool-coupon p span{font-family:var(--te-font-mono,monospace);font-variant-numeric:tabular-nums}
.video-tool-coupon button{flex:none;min-height:36px;padding:6px 10px;border:1px solid #6fbd89;border-radius:6px;background:#1a3827;color:#d6f5df;font-size:12px;font-weight:650;cursor:pointer}
.video-tool-coupon button:hover{background:#244c35}
.video-tool-coupon button:disabled{cursor:wait;opacity:.7}
.video-tool-coupon [role=status]{flex-basis:100%;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.video-tool-coupon [role=status]:empty{display:none}
.video-tool-photo-empty::before{content:'';display:block;width:40px;height:40px;margin:0 auto 10px;opacity:.55;background:var(--te-muted,#a7adb6);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M14 6a5 5 0 0 0-6-4l3 3-3 3-3-3a5 5 0 0 0 6 6L20 20a2.1 2.1 0 0 0 3-3l-9-9a5 5 0 0 0 0-2Z' transform='translate(-1 0)'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
@media(max-width:767px){html body.watch-page .video-products:has(.video-tool-card){padding:14px}.video-loadout-heading{align-items:flex-start;gap:10px}.video-loadout-count{padding-top:2px}.watch-page .video-loadout-heading h2{font-size:17px}.video-tool-coupon button{min-height:44px}}
.video-tool-photo-link{display:block;min-width:0;text-decoration:none}
@media(forced-colors:active){html body.watch-page .video-products:has(.video-tool-card),html body.watch-page .video-products .video-tool-card,html body.watch-page .video-tool-coupon{background:Canvas;color:CanvasText;border-color:CanvasText}html body.watch-page .video-tool-actions .video-tool-shop,.video-tool-coupon button{background:ButtonFace;color:ButtonText;border-color:ButtonText}.video-tool-photo-empty::before{background:CanvasText;opacity:1}}

