/* KonaView Videos player (videos-lean-1117, P1). Look lifted from the v38/v40 reference; names scoped with kvp-.
   App standard: 16px+ text, 44px targets, visible focus, nothing runs sideways at 390, no other company's look.
   Tokens: reuses the portal's --r when present, falls back to the v38 value. */
.kvp{container-type:inline-size;position:relative;display:flex;flex-direction:column;width:100%;max-width:100%;overflow:hidden;border-radius:var(--r,12px);background:#141417;color:#fff;box-shadow:var(--sh,0 1px 2px rgba(0,0,0,.04),0 2px 8px rgba(0,0,0,.04));font-family:inherit;font-size:16px;line-height:24px;-webkit-tap-highlight-color:transparent}
.kvp [hidden],.kvp .kvp-x{display:none!important}
.kvp-live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.kvp:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.kvp-stage{position:relative;aspect-ratio:16/9;background:#000;cursor:pointer;overflow:hidden}
.kvp-video,.kvp-cover{position:absolute;inset:0;width:100%;height:100%;display:block}
.kvp-video{object-fit:contain;background:#000}
.kvp-cover{object-fit:cover;pointer-events:none}
.kvp-big{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#141417;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.25);transition:transform .15s}
.kvp-big .kvp-i{width:32px;height:32px;margin-left:4px}
@media (hover:hover){.kvp-big:hover{transform:translate(-50%,-50%) scale(1.06)}}
.kvp-big:focus-visible{outline:3px solid #1B3BA8;outline-offset:3px;box-shadow:0 0 0 6px #fff}
.kvp-msg{position:absolute;left:16px;right:16px;bottom:16px;margin:0;padding:10px 16px;border-radius:8px;background:rgba(0,0,0,.74);color:#fff;font-size:16px;line-height:24px;text-align:center}
.kvp-ctrls{padding:0 12px 8px;color:#fff;transition:opacity .2s,visibility .2s}
/* Touch: after 3 s of playing the bar fades out but keeps its box (no jump); hidden means out of the tab order and the screen reader tree too. */
.kvp-idle .kvp-ctrls{opacity:0;visibility:hidden;pointer-events:none}
.kvp-seekwrap{position:relative;height:44px}
.kvp-track{position:absolute;left:0;right:0;top:50%;height:6px;margin-top:-3px;border-radius:999px;background:rgba(255,255,255,.38);overflow:hidden;pointer-events:none}
.kvp-buf{display:block;height:100%;width:0;background:rgba(255,255,255,.5)}
.kvp-row{position:relative;display:flex;align-items:center;gap:4px;min-height:44px}
.kvp-btn{width:44px;height:44px;padding:0;border:0;border-radius:999px;background:none;color:#fff;display:grid;place-items:center;flex:none;cursor:pointer;transition:background-color .15s}
@media (hover:hover){.kvp-btn:hover{background:rgba(255,255,255,.14)}}
.kvp-btn:focus-visible{outline:3px solid #fff;outline-offset:2px;background:rgba(255,255,255,.14)}
.kvp-i{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kvp-i.f{fill:currentColor;stroke:none}
.kvp-time{margin-left:8px;font-size:16px;line-height:24px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff}
.kvp-sp{flex:1}
.kvp-mid{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;user-select:none}
.kvp-mark{display:block;width:88px;height:23px;max-width:none}
.kvp-seek,.kvp-vol{-webkit-appearance:none;appearance:none;display:block;width:100%;margin:0;padding:0;background:transparent;cursor:pointer;--p:0%}
.kvp-seek{position:absolute;left:0;top:0;height:44px;--fill:#fff;--rest:transparent}
.kvp-vol{width:96px;height:44px;flex:none;--fill:#fff;--rest:rgba(255,255,255,.38)}
.kvp-seek::-webkit-slider-runnable-track,.kvp-vol::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:linear-gradient(90deg,var(--fill) var(--p),var(--rest) var(--p))}
.kvp-seek::-moz-range-track,.kvp-vol::-moz-range-track{height:6px;border-radius:999px;background:linear-gradient(90deg,var(--fill) var(--p),var(--rest) var(--p))}
.kvp-seek::-webkit-slider-thumb,.kvp-vol::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-6px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.kvp-seek::-moz-range-thumb,.kvp-vol::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.kvp-seek:disabled{cursor:default;opacity:.5}
.kvp-seek:focus-visible,.kvp-vol:focus-visible{outline:3px solid #fff;outline-offset:-3px;border-radius:8px}
.kvp-seek:focus-visible::-webkit-slider-thumb,.kvp-vol:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #1B3BA8,0 0 0 5px #fff}
.kvp-seek:focus-visible::-moz-range-thumb,.kvp-vol:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #1B3BA8,0 0 0 5px #fff}
.kvp-fs{border-radius:0;height:100%}
.kvp-fs .kvp-stage{flex:1;aspect-ratio:auto}
.kvp:fullscreen{border-radius:0;height:100vh;height:100dvh}
.kvp:fullscreen .kvp-stage{flex:1;aspect-ratio:auto}
.kvp:-webkit-full-screen{border-radius:0;width:100%;height:100%}
.kvp:-webkit-full-screen .kvp-stage{flex:1;aspect-ratio:auto}
/* Wide bars only: if the player is too narrow for the logo to clear the controls (left group up to 196px, right group 192px, 12px clear, 44px half logo), it hides before it can overlap. */
@media (min-width:700px){@container (max-width:709px){.kvp-mid{display:none}}}
/* Phone, exactly as the v40 reference: volume off, logo on its own line at the right above the row (v40 logo mark: right 8, top -29, 85x22; row margin-top 34, gap 0; time margin-left 4). Buttons stay 44px. */
@media (max-width:699px){.kvp-vol{display:none}.kvp-big{width:68px;height:68px}.kvp-ctrls{padding:0 8px 8px}.kvp-row{gap:0;margin-top:34px}.kvp-time{margin-left:4px}.kvp-mid{left:auto;right:8px;top:-29px;transform:none}.kvp-mark{width:85px;height:22px}}
/* CEO ruling (P5): v40 is the reference and shows Stop and Mute on every phone, so nothing is dropped. Hit areas stay 44px and icons stay 24px; only the spacing
   (pitch) between controls tightens, down to a 30px floor at 320, by giving each button a negative side margin so its 44px area overlaps the padding and its neighbors' empty corners.
   The player script's layout() sets --kvp-n (buttons in the row) and --kvp-tw (time text + margin) so the pitch is exact for any time length. */
@media (max-width:699px){.kvp-row{--pitch:clamp(30px,calc((100cqw - 16px - var(--kvp-tw,91px)) / var(--kvp-n,6)),44px)}.kvp-btn{margin-inline:calc((var(--pitch) - 44px) / 2)}.kvp-btn:focus-visible{outline:3px solid #fff;outline-offset:-7px}}
@supports not (width:1cqw){@media (max-width:699px){.kvp-btn{margin-inline:-4px}}}
/* Full screen on a phone (landscape notch, home bar): keep controls and messages out of the unsafe areas. After the phone block so it wins. */
.kvp-fs .kvp-ctrls,.kvp:fullscreen .kvp-ctrls,.kvp:-webkit-full-screen .kvp-ctrls{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(8px,env(safe-area-inset-bottom))}
.kvp-fs .kvp-msg,.kvp:fullscreen .kvp-msg{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
.kvp-fs{height:100vh;height:100dvh}
/* QA1 F-01 (embed only, .kvp-s-embed): the picture fills the whole frame and the bar sits OVER its bottom on a dark gradient (Apple HIG inline video);
   it hides after 3 s of playing (touch or mouse) and comes back on a tap, a mouse move or keyboard focus (the player script). Narrow frames: the logo moves to the
   top-right of the picture instead of its own line, so the bar stays seek + one row (96 px). Watch and portal players are unchanged. */
.kvp-s-embed .kvp-stage,.kvp-fs .kvp-stage{position:absolute;inset:0;aspect-ratio:auto}
.kvp-s-embed .kvp-ctrls,.kvp-fs .kvp-ctrls{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.78) 0,rgba(0,0,0,.6) 96px,rgba(0,0,0,0) 150px)}
.kvp-s-embed .kvp-seekwrap,.kvp-s-embed .kvp-row,.kvp-fs .kvp-seekwrap,.kvp-fs .kvp-row{pointer-events:auto}
.kvp-s-embed.kvp-idle .kvp-seekwrap,.kvp-s-embed.kvp-idle .kvp-row,.kvp-fs.kvp-idle .kvp-seekwrap,.kvp-fs.kvp-idle .kvp-row{pointer-events:none}
@media (max-width:699px){.kvp-s-embed .kvp-row{margin-top:0;position:static}.kvp-s-embed .kvp-mid{top:8px;right:8px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}}
/* Full screen, every surface (portal, share, embed): same overlay as the embed, so no black band under the picture. The stage fills the screen (100dvh, 100vh fallback), the video stays object-fit:contain.
   Idle hiding stays opacity+visibility+pointer-events on an absolutely placed bar, so it takes no layout space. Phone logo: see rule 27 below. */
.kvp-fs .kvp-ctrls{padding-top:48px}
/* Rule 27: the logo sits ON the bar, never over the picture on its own: phone portrait keeps the inline layout (own line at the right above the row, fades with the bar); phone landscape (wide but short) gets the same line. */
@media (max-width:699px){.kvp-s-embed.kvp-fs .kvp-row{margin-top:34px;position:relative}.kvp-s-embed.kvp-fs .kvp-mid{top:-29px;right:8px;filter:none}}
@media (min-width:700px) and (max-height:500px){.kvp-fs .kvp-row{margin-top:34px}.kvp-fs .kvp-mid{left:auto;right:8px;top:-29px;transform:none}.kvp-fs .kvp-mark{width:85px;height:22px}}
@media (prefers-reduced-motion:reduce){.kvp-big,.kvp-btn,.kvp-ctrls{transition:none}.kvp-big:hover{transform:translate(-50%,-50%)}}
