/* The player around an animation of the demonstration. Everything is under .wk-film; a site sets the custom
   properties below to bring it to its colours. */
.wk-film { --wk-ink: #0e2a44; --wk-paper: #eef2f4; --wk-accent: #93c940; --wk-muted: #5b6b80; --wk-line: #dde4ea; --wk-radius: 14px;
  position: relative; display: block; width: 100%; background: var(--wk-ink); border-radius: var(--wk-radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(14,42,68,.04), 0 18px 50px rgba(14,42,68,.14); font: 500 14px/1.3 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #fff; }
.wk-film *, .wk-film *::before, .wk-film *::after { box-sizing: border-box; }
.wk-film__screen { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #071a2c; }
.wk-film__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.wk-film__wait { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 0 4.5% 5%; color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: .04em; }
.wk-film.is-ready .wk-film__wait { display: none; }

.wk-film__big { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--wk-accent); color: var(--wk-ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(0,0,0,.35); transition: transform .18s ease, opacity .2s ease; }
.wk-film__big svg { width: 40px; height: 40px; fill: currentColor; margin-left: 4px; }
.wk-film__big:hover { transform: scale(1.06); }
.wk-film__big:focus-visible, .wk-film__btn:focus-visible, .wk-film__track:focus-visible { outline: 2px solid var(--wk-accent); outline-offset: 2px; }
.wk-film.is-started .wk-film__big { opacity: 0; pointer-events: none; }

.wk-film__bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px; background: var(--wk-ink); }
.wk-film__bar[hidden] { display: flex; visibility: hidden; }
.wk-film__btn { flex: none; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wk-film__btn:hover { background: rgba(255,255,255,.12); }
.wk-film__btn svg { width: 22px; height: 22px; fill: currentColor; }
.wk-film__time { flex: none; min-width: 84px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.82); font-size: 13px; }
.wk-film__track { position: relative; flex: 1 1 auto; height: 24px; cursor: pointer; touch-action: none; }
.wk-film__track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); }
.wk-film__track i { position: absolute; left: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--wk-accent); }
.wk-film__track i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.wk-film__ticks b { position: absolute; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: rgba(255,255,255,.6); border-radius: 1px; }
.wk-film__chapter { flex: 0 1 34%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.82); font-size: 13px; text-align: right; }

.wk-film:fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; background: #071a2c; }
.wk-film:fullscreen .wk-film__screen { width: min(100vw, calc((100vh - 52px) * 16 / 9)); margin: 0 auto; }

@media (max-width: 640px) {
  .wk-film__chapter { display: none; }
  .wk-film__big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .wk-film__big svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wk-film__big { transition: none; } }
