/* Local media iteration only. The same creative has three distinct placements. */
#svc-preview[data-svc-media-player] .svc-media-stage{height:230px;padding-bottom:16px}
#svc-preview .svc-media-formats button{min-height:36px;padding:7px 11px;border:1px solid #28566b;border-radius:8px;color:#8fb3c2;background:transparent;font:inherit;font-size:11px;cursor:pointer;transition:background .3s,border-color .3s,color .3s}
#svc-preview .svc-media-formats button.is-active{border-color:#60c3d1;color:#e0f9fb;background:#104158}
#svc-preview .svc-media-formats button:focus-visible,#svc-preview .svc-media-play:focus-visible{outline:2px solid #9cecf1;outline-offset:3px}
#svc-preview .svc-media-browser{max-width:390px;transition:width .6s,border-radius .6s,border-color .6s,box-shadow .6s}
#svc-preview .svc-media-context{display:none;gap:6px;padding:11px 14px;align-items:center}
#svc-preview .svc-media-context i{height:5px;width:42%;border-radius:4px;background:#376174;opacity:.6}
#svc-preview .svc-media-context i:nth-child(2){width:24%;opacity:.35}
#svc-preview .svc-media-context i:nth-child(3){width:16%;margin-left:auto;opacity:.25}
#svc-preview .svc-media-context-bottom{padding:10px 14px 13px}
#svc-preview .svc-media-context-bottom i{height:18px;width:30%;border-radius:4px;opacity:.2}
#svc-preview .svc-media-art{overflow:hidden;transition:background .6s;isolation:isolate}
#svc-preview .svc-media-art>.svc-object,#svc-preview .svc-media-copy{transition:transform .5s,opacity .5s}
#svc-preview .svc-media-format-mark{position:absolute;z-index:3;top:7px;right:10px;color:#a5ced7;font-size:8px;letter-spacing:.04em}
#svc-preview .svc-media-video-copy{display:none}
#svc-preview .svc-media-light{position:absolute;z-index:-1;inset:-80%;background:radial-gradient(ellipse at center,#47d6e829,transparent 42%);opacity:0;pointer-events:none}
#svc-preview .svc-media-play{z-index:5;padding:0;cursor:pointer;visibility:hidden;color:#b5f8fb;box-shadow:0 8px 25px #00101d66}
#svc-preview .svc-media-play::after{content:"";position:absolute;inset:-7px;border:2px solid #a0f3f6;border-radius:50%;opacity:var(--svc-video-click,0);transform:scale(calc(1 + var(--svc-video-click,0)*.4));pointer-events:none}
#svc-preview .svc-media-play svg{fill:currentColor;stroke:none}
#svc-preview .svc-media-play .svc-media-replay-icon{display:none;fill:none;stroke:currentColor;stroke-width:1.8}
#svc-preview .svc-media-click{position:absolute;z-index:6;left:calc(50% + 8px);top:calc(50% + 8px);opacity:var(--svc-video-cursor,0);transform:translate(calc(20px*(1 - var(--svc-video-click,0))),calc(16px*(1 - var(--svc-video-click,0))));pointer-events:none}
#svc-preview .svc-media-click svg{width:25px;height:25px;fill:#edfaff;stroke:#082c41;stroke-width:1.2;filter:drop-shadow(0 2px 4px #00121a88)}
#svc-preview .svc-video-track{position:absolute;z-index:6;bottom:0;left:0;right:0;height:3px}
#svc-preview .svc-video-track i{width:100%;transform:scaleX(var(--svc-video-playhead,0));transform-origin:left;transition:none}
#svc-preview .svc-media-video-controls{position:absolute;z-index:4;left:48px;right:12px;bottom:8px;display:none;align-items:center;justify-content:space-between}
#svc-preview .svc-media-video-controls span{font-size:10px;color:#c3e7ed;font-variant-numeric:tabular-nums}
#svc-preview .svc-media-video-controls svg{width:16px;height:16px;flex:0 0 16px;stroke:#a7d4de}
#svc-preview .svc-tv-remote{position:absolute;right:0;bottom:2px;width:14px;height:46px;border:1px solid #416779;border-radius:5px;background:#0b2436;transform:rotate(14deg);opacity:0;transition:opacity .4s}
#svc-preview .svc-tv-remote::before{content:"";position:absolute;width:5px;height:5px;left:4px;top:6px;border:1px solid #7cdfe7;border-radius:50%;box-shadow:0 13px 0 -1px #618e9e}
#svc-preview .svc-tv-stand,#svc-preview .svc-tv-remote{visibility:hidden}
/* Banner: clearly inside a content page, not another full-screen player. */
#svc-preview[data-svc-format="0"] .svc-media-context{display:flex}
#svc-preview[data-svc-format="0"] .svc-media-art{min-height:104px;padding:13px 18px;gap:18px;margin:0 12px;border:1px solid #39798b;border-radius:5px}
#svc-preview[data-svc-format="0"] .svc-media-art>.svc-object{flex:0 0 52px;width:52px;height:72px}
#svc-preview[data-svc-format="0"] .svc-object i{inset:12px 2px}
#svc-preview[data-svc-format="0"] .svc-object b{left:16px;top:25px;width:20px;height:20px}
#svc-preview[data-svc-format="0"] .svc-object em{left:19px;top:5px;width:14px;height:9px}
#svc-preview[data-svc-format="0"] .svc-media-copy strong{font-size:15px;line-height:1.3;margin:6px 0}
#svc-preview[data-svc-format="0"] .svc-media-copy small{font-size:8px}
/* Video: a visible press, then product motion and a three-frame message. */
#svc-preview[data-svc-format="1"] .svc-media-browser{width:96%;border-radius:12px}
#svc-preview[data-svc-format="1"] .svc-browser-top{display:none}
#svc-preview[data-svc-format="1"] .svc-media-art{aspect-ratio:16/9;min-height:0;padding:30px 23px;gap:21px}
#svc-preview[data-svc-format="1"] .svc-media-art>.svc-object{transform:translateX(calc(var(--svc-video-playhead,0)*10px)) rotate(calc(-12deg + var(--svc-video-playhead,0)*22deg)) scale(calc(.94 + var(--svc-video-playhead,0)*.12));transition:none}
#svc-preview[data-svc-format="1"] .svc-media-copy{opacity:1;min-width:140px}
#svc-preview[data-svc-format="1"][data-svc-video="poster"] .svc-media-copy{opacity:.35}
#svc-preview[data-svc-format="1"][data-svc-video="poster"] .svc-media-video-copy{visibility:hidden}
#svc-preview[data-svc-format="1"] .svc-media-static-copy,#svc-preview[data-svc-format="1"] .svc-media-cta{display:none}
#svc-preview[data-svc-format="1"] .svc-media-video-copy{display:block;font-size:23px}
#svc-preview[data-svc-format="1"] .svc-media-play{visibility:visible;width:48px;height:48px;opacity:1;transform:translate(-50%,-50%) scale(calc(1 - var(--svc-video-click,0)*.13))}
#svc-preview[data-svc-format="1"][data-svc-video="playing"] .svc-media-play{left:23px;top:auto;bottom:0;width:42px;height:38px;border:0;box-shadow:none;background:transparent;transform:translateX(-50%)}
#svc-preview[data-svc-video="playing"] .svc-media-play::after{display:none}
#svc-preview[data-svc-video="playing"] .svc-media-play-icon{display:none}
#svc-preview[data-svc-video="playing"] .svc-media-play .svc-media-replay-icon{display:block;width:17px;height:17px}
#svc-preview[data-svc-format="1"] .svc-media-video-controls{display:flex}
#svc-preview[data-svc-format="1"] .svc-media-light{opacity:1;transform:none;transition:none}
/* CTV: full-bleed creative, a substantial bezel, feet and a remote. */
#svc-preview[data-svc-format="2"] .svc-media-browser{width:97%;border:6px solid #1e4358;border-radius:10px;box-shadow:0 12px 24px #00121d66}
#svc-preview[data-svc-format="2"] .svc-media-art{min-height:0;aspect-ratio:16/9;padding:25px 21px;gap:19px}
#svc-preview[data-svc-format="2"] .svc-media-art>.svc-object{transform:rotate(-5deg) scale(1.06)}
#svc-preview[data-svc-format="2"] .svc-media-copy strong{font-size:19px;line-height:1.35}
#svc-preview[data-svc-format="2"] .svc-media-cta{display:none}
#svc-preview[data-svc-format="2"] .svc-tv-stand{bottom:0;left:37%;width:26%;height:16px;border:0;border-bottom:4px solid #42778b;border-radius:0 0 4px 4px;opacity:1}
#svc-preview[data-svc-format="2"] .svc-tv-stand::before{content:"";position:absolute;bottom:3px;left:42%;width:16%;height:12px;background:#2c566a}
#svc-preview[data-svc-format="2"] .svc-tv-remote{opacity:1}
#svc-preview[data-svc-format="2"] .svc-tv-stand,#svc-preview[data-svc-format="2"] .svc-tv-remote{visibility:visible}
@media(max-width:760px){
 #svc-preview[data-svc-media-player] .svc-media-stage{height:205px}
 #svc-preview .svc-media-formats button{font-size:11px;padding:7px 9px}
 #svc-preview[data-svc-format="0"] .svc-media-art{margin:0 9px;padding:13px 11px;gap:12px}
 #svc-preview[data-svc-format="0"] .svc-media-copy strong{font-size:14px}
 #svc-preview[data-svc-format="1"] .svc-media-art,#svc-preview[data-svc-format="2"] .svc-media-art{padding:25px 13px;gap:15px;min-height:159px;aspect-ratio:16/9}
 #svc-preview[data-svc-format="1"] .svc-media-copy{min-width:112px}
 #svc-preview[data-svc-format="1"] .svc-media-video-copy{font-size:20px}
 #svc-preview[data-svc-format="2"] .svc-media-copy strong{font-size:16px}
}
/* Clear product creative, caption above, manual format controls below. */
#svc-preview .svc-media-scene{gap:13px}
#svc-preview .svc-media-caption{min-height:45px}
#svc-preview .svc-media-caption b{color:#e1f5f8;font-size:14px;font-weight:650}
#svc-preview .svc-media-caption span{margin-top:4px;color:#8eb4c3;font-size:12px}
#svc-preview .svc-media-formats{width:100%;gap:7px}
#svc-preview .svc-media-formats button{flex:1;white-space:nowrap}
#svc-preview .svc-media-context span{color:#a9c8d2;font-size:10px;font-weight:600;white-space:nowrap}
#svc-preview .svc-media-context>i{flex:1;width:auto;margin-left:auto;opacity:.25}
#svc-preview .svc-media-context{padding-block:6px}
#svc-preview .svc-media-context-bottom{justify-content:space-between;padding-block:6px}
#svc-preview .svc-media-context-bottom span{color:#668c9e;font-size:9px;font-weight:500}
#svc-preview .svc-media-context-bottom span[data-hc-font]{font-size:max(var(--hc-base-font),calc(var(--hc-floor-font) + 1px))!important}
#svc-preview .svc-media-product{position:relative;flex:0 0 43%;width:43%;height:160px;align-self:center;transition:transform .55s ease}
#svc-preview .svc-media-product img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 10px #00152166)}
#svc-preview .svc-media-copy{flex:1;min-width:0}
#svc-preview .svc-media-copy small{display:block;font-size:8px;letter-spacing:.08em;color:#89c5d4;white-space:nowrap}
#svc-preview .svc-media-feature{display:block;margin:7px 0;color:#a7cad4;font-size:11px!important;line-height:1.4}
#svc-preview .svc-media-cta{display:inline-flex;margin-top:5px;padding:7px 10px;border:1px solid #589eaf;border-radius:5px;background:#c4eef1;color:#0b3449;font-size:9px;font-weight:700;gap:5px}
#svc-preview .svc-media-cta svg{stroke:#0b3449}
#svc-preview[data-svc-format="0"] .svc-media-art{padding:12px 13px;gap:9px;min-height:132px}
#svc-preview[data-svc-format="0"] .svc-media-product{flex-basis:32%;width:32%;height:113px;transform:rotate(-12deg)}
#svc-preview[data-svc-format="0"] .svc-media-copy strong{font-size:16px;line-height:1.2;margin:7px 0}
#svc-preview[data-svc-format="0"] .svc-media-feature{display:none}
#svc-preview[data-svc-format="1"] .svc-media-art{width:100%;max-width:100%;padding:22px 18px 30px;gap:11px}
#svc-preview[data-svc-format="1"] .svc-media-copy{min-width:0}
#svc-preview[data-svc-format="1"] .svc-media-video-copy{font-size:23px;line-height:1.15;margin:10px 0;max-width:170px}
#svc-preview[data-svc-format="1"] .svc-media-feature{max-width:160px}
#svc-preview[data-svc-format="1"] .svc-media-product{transform:rotate(calc(-9deg + var(--svc-video-playhead,0)*12deg))}
#svc-preview[data-svc-format="1"][data-svc-video-scene="1"] .svc-media-product{transform:translateX(-12px) scale(1.42) rotate(-7deg)}
#svc-preview[data-svc-format="1"][data-svc-video-scene="2"] .svc-media-product{transform:scale(.92) rotate(4deg)}
#svc-preview[data-svc-format="1"][data-svc-video="poster"] .svc-media-copy{opacity:.8}
#svc-preview[data-svc-format="1"][data-svc-video="poster"] .svc-media-video-copy{visibility:visible}
#svc-preview[data-svc-format="1"][data-svc-video="poster"] .svc-media-play{left:24%;top:50%}
#svc-preview[data-svc-format="1"][data-svc-video="poster"] .svc-media-click{left:calc(24% + 8px)}
#svc-preview[data-svc-format="2"] .svc-media-art{width:100%;max-width:100%;padding:22px 16px;gap:10px}
#svc-preview[data-svc-format="2"] .svc-media-product{height:155px;transform:rotate(-9deg)}
#svc-preview[data-svc-format="2"] .svc-media-copy strong{font-size:23px;line-height:1.18;margin:10px 0}
#svc-preview[data-svc-format="2"] .svc-media-copy small{font-size:8px}
@media(max-width:760px){
 #svc-preview .svc-media-scene{gap:11px}
 #svc-preview[data-svc-media-player] .svc-media-stage{height:218px;padding-bottom:16px}
 #svc-preview .svc-media-caption{min-height:47px}
 #svc-preview .svc-media-caption span{font-size:12px;max-width:290px;margin:4px auto 0}
 #svc-preview[data-svc-format="0"] .svc-media-art{padding:11px 9px;gap:9px}
 #svc-preview[data-svc-format="0"] .svc-media-product{height:110px;flex-basis:31%;width:31%}
 #svc-preview[data-svc-format="0"] .svc-media-copy strong{font-size:15px}
 #svc-preview .svc-media-copy small{font-size:7px;letter-spacing:.04em}
 #svc-preview[data-svc-format="1"] .svc-media-art,#svc-preview[data-svc-format="2"] .svc-media-art{padding:22px 12px 29px;min-height:180px;gap:9px}
 #svc-preview .svc-media-product,#svc-preview[data-svc-format="2"] .svc-media-product{height:135px;flex-basis:40%;width:40%}
 #svc-preview[data-svc-format="1"] .svc-media-video-copy,#svc-preview[data-svc-format="2"] .svc-media-copy strong{font-size:20px}
 #svc-preview[data-svc-format="1"] .svc-media-copy{min-width:0}
 #svc-preview .svc-media-formats button{font-size:11px;padding-inline:5px}
}
@media(max-width:360px){
 #svc-preview[data-svc-format="0"] .svc-media-copy strong{font-size:13px}
 #svc-preview .svc-media-copy small{font-size:6px}
 #svc-preview[data-svc-format="1"] .svc-media-video-copy,#svc-preview[data-svc-format="2"] .svc-media-copy strong{font-size:17px}
 #svc-preview .svc-media-cta{font-size:8px;padding-inline:6px}
}
@media(prefers-reduced-motion:reduce){#svc-preview .svc-media-product{transition:none}}
@media(max-width:360px){
 #svc-preview .svc-media-scene{padding-inline:10px}
 #svc-preview .svc-media-formats{gap:4px}
 #svc-preview .svc-media-formats button{font-size:10px;padding-inline:7px}
 #svc-preview[data-svc-format="1"] .svc-media-copy{min-width:95px}
 #svc-preview[data-svc-format="1"] .svc-media-video-copy{font-size:18px}
 #svc-preview[data-svc-format="2"] .svc-media-copy strong{font-size:14px}
}
/* Banner is a working demonstration, with a neutral idle button and short press. */
#svc-preview .svc-media-cta{position:relative;cursor:pointer;font-family:inherit;font-size:10px!important;line-height:1.3;color:#bcebf1;background:#0b344a;border-color:#65bac9;transform:translateY(calc(var(--svc-banner-press,0)*1.5px)) scale(calc(1 - var(--svc-banner-press,0)*.035));transition:background .18s,color .18s,border-color .18s;box-shadow:0 0 calc(var(--svc-banner-press,0)*16px) #8deaf966}
#svc-preview .svc-media-cta>span{font-size:inherit!important}
#svc-preview .svc-media-cta>svg{stroke:currentColor}
#svc-preview .svc-media-cta:hover{background:#16485c;border-color:#a7edf1;color:#efffff}
#svc-preview .svc-media-cta:focus-visible,#svc-preview .svc-tv-remote:focus-visible{outline:2px solid #b7f6fa;outline-offset:3px}
#svc-preview[data-svc-banner="pressed"] .svc-media-cta{background:#a3edf2;border-color:#d5fcff;color:#082c3f}
#svc-preview .svc-banner-cursor{position:absolute;right:-14px;bottom:-13px;opacity:var(--svc-banner-cursor,0);transform:translate(calc(16px*(1 - var(--svc-banner-press,0))),calc(12px*(1 - var(--svc-banner-press,0))));pointer-events:none}
#svc-preview .svc-banner-cursor>svg{display:block;width:23px;height:23px;fill:#e9ffff;stroke:#082c41;stroke-width:1.2}
#svc-preview .svc-banner-feedback{display:none;color:#bfeef4;font-size:11px!important;font-weight:600;line-height:1.4;text-align:center;width:100%}
#svc-preview[data-svc-format="0"][data-svc-banner="opened"] .svc-media-context-bottom>span{display:none}
#svc-preview[data-svc-format="0"][data-svc-banner="opened"] .svc-banner-feedback{display:block}
/* TV starts dark, wakes once, then shows the ad. The remote replays that entry. */
#svc-preview .svc-tv-screen-shutter,#svc-preview .svc-tv-indicator{display:none;pointer-events:none}
#svc-preview[data-svc-format="2"] .svc-tv-screen-shutter{position:absolute;display:block;z-index:8;inset:0;background:#020b12;opacity:calc(1 - var(--svc-tv-power,0))}
#svc-preview[data-svc-format="2"] .svc-tv-screen-shutter:before{content:"";position:absolute;top:50%;left:12%;width:76%;height:2px;background:#a3edf3;box-shadow:0 0 12px #82deec;opacity:var(--svc-tv-flash,0);transform:scaleX(calc(.1 + var(--svc-tv-flash,0)*.9))}
#svc-preview[data-svc-format="2"] .svc-tv-indicator{position:absolute;display:block;left:50%;bottom:10px;width:3px;height:3px;border-radius:50%;background:#527080;z-index:9}
#svc-preview[data-svc-format="2"][data-svc-tv="on"] .svc-tv-indicator{background:#78deb9;box-shadow:0 0 4px #78deb955}
#svc-preview .svc-tv-remote{right:-12px;bottom:-2px;width:44px;height:56px;padding:0;border:0;border-radius:7px;background:transparent;cursor:pointer;box-shadow:none}
#svc-preview .svc-tv-remote:after{content:"";position:absolute;left:15px;top:4px;width:14px;height:46px;border:1px solid #416779;border-radius:5px;background:#0b2436;pointer-events:none}
#svc-preview .svc-tv-remote:before{left:19px;top:10px;z-index:1;box-shadow:0 13px 0 -1px #618e9e,0 0 calc(var(--svc-tv-flash,0)*9px) #a3edf3;pointer-events:none}
/* Only the three rotating video headings: -4px at each existing breakpoint. */
#svc-preview[data-svc-format="1"] .svc-media-copy>.svc-media-video-copy{font-size:19px!important}
@media(max-width:760px){#svc-preview[data-svc-format="1"] .svc-media-copy>.svc-media-video-copy{font-size:16px!important}}
@media(max-width:360px){#svc-preview[data-svc-format="1"] .svc-media-copy>.svc-media-video-copy{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){
 #svc-preview .svc-media-cta{transition:none;transform:none;box-shadow:none}
 #svc-preview .svc-banner-cursor,#svc-preview .svc-tv-screen-shutter{display:none!important}
}

/* Align the TV indicator to the neck and the remote controls to its centre. */
#svc-preview[data-svc-format="2"] .svc-tv-indicator{left:50%;margin-left:-1.5px;bottom:11.5px}
#svc-preview[data-svc-format="2"][data-svc-tv="on"] .svc-tv-indicator{background:#72e5eb;box-shadow:0 0 4px #72e5eb55}
#svc-preview .svc-tv-remote:before,#svc-preview .svc-tv-remote:after{left:50%;transform:translateX(-50%)}

/* Approved media caption and demo-button sizes; titles/status plaques unchanged. */
#svc-preview[data-svc-media-player] .svc-media-feature{font-size:12px!important}
#svc-preview[data-svc-media-player] .svc-media-cta{font-size:12px!important}
@media(max-width:760px){#svc-preview[data-svc-media-player] .svc-media-cta{font-size:11px!important}}

/* Optical alignment of the arrow with the label, all devices. */
#svc-preview .svc-media-cta>svg{display:block;flex:0 0 15px;align-self:center;transform:translateY(1px)}

/* Approved: a stable frame width across formats on portrait phones only. */
@media(max-width:760px) and (orientation:portrait){
 #svc-preview[data-svc-media-player][data-svc-format] .svc-media-browser{width:100%;max-width:100%;transition:border-radius .6s,border-color .6s,box-shadow .6s}
}
