.sol-media.sol-player {
  display: block;
  overflow: hidden;
  width: auto;
  max-width: 100%;
  background: #0c1c2b;
  color: #f6fbff;
  border: 1px solid #b9d5e1;
  border-radius: 14px;
  font: inherit;
  text-align: start;
}
.sol-player *, .sol-player *::before, .sol-player *::after { box-sizing: border-box; }
.sol-player [hidden] { display: none !important; }
.sol-player:focus-visible { outline: 3px solid #008fa8; outline-offset: 4px; }
.sol-player :is(button, input, select, a):focus-visible { outline: 3px solid #a3ecf6; outline-offset: 3px; }
.sol-player button, .sol-player input, .sol-player select { font: inherit; }
.sp-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; width: 100%; height: min(68vh, 700px); height: min(68svh, 700px); min-height: 230px; min-width: 0; background: #081522; }
.sol-player .sp-video { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; margin: 0; border-radius: 0; object-fit: contain; }
.sol-player svg { display: block; width: 22px; height: 22px; flex: none; pointer-events: none; }
.sp-overlay {
  position: absolute;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  background: #102b45de;
  color: #fff;
  box-shadow: 0 6px 26px #0006;
  cursor: pointer;
}
.sp-overlay svg { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.sp-loading { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 8px; background: #071725dc; color: #e6faff; font-size: 12px; pointer-events: none; }
.sp-error { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; padding: 24px; background: #071725f2; text-align: center; }
.sp-error p { flex-basis: 100%; margin: 0 0 5px; color: #edfaff; font-size: 14px; line-height: 2; }
.sp-error button, .sp-error a { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 8px 13px; border: 1px solid #64a8bd; border-radius: 8px; background: #153b51; color: #fff; text-decoration: none; font-size: 12px; cursor: pointer; }
.sp-controls { width: 100%; min-width: 0; padding: 6px 10px 7px; background: linear-gradient(#142c40, #102438); border-top: 1px solid #a4d8e51f; }
.sp-timeline { position: relative; display: grid; align-items: center; min-height: 30px; padding-inline: 3px; }
.sp-buffer { position: absolute; inset-inline: 3px; height: 4px; overflow: hidden; border-radius: 8px; background: #476070; }
.sp-buffer i { display: block; width: 0; height: 100%; background: #89a4b5; }
.sol-player input[type="range"] { --sp-fill: 0%; appearance: none; -webkit-appearance: none; display: block; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer; touch-action: pan-y; direction: ltr; }
.sp-seek { z-index: 1; width: 100%; height: 30px; }
.sol-player input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #3ac7df 0 var(--sp-fill), transparent var(--sp-fill) 100%); }
.sol-player input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: #496474; }
.sol-player input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: #3ac7df; }
.sol-player input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5.5px; border: 2px solid #fff; border-radius: 50%; background: #21aeca; box-shadow: 0 0 0 2px #143648; }
.sol-player input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #21aeca; box-shadow: 0 0 0 2px #143648; }
.sol-player input[type="range"]:disabled { cursor: default; opacity: .5; }
.sp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.sp-playback, .sp-volume-group, .sp-options { display: flex; align-items: center; gap: 2px; min-width: 0; }
.sp-button { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 9px; color: #f3fbff; background: transparent; cursor: pointer; }
.sp-button:hover, .sp-button:focus-visible { background: #294d64; }
.sp-button:disabled { color: #92a8b8; opacity: .5; cursor: default; }
.sp-button[data-action="play"] { background: #167e98; color: #fff; }
.sp-button[data-action="play"] svg { fill: currentColor; stroke: none; width: 19px; height: 19px; }
.sp-time { padding-inline: 2px; white-space: nowrap; color: #e9f5fb; font-size: 12px; font-variant-numeric: tabular-nums; }
.sp-volume-group { margin-inline-start: auto; }
.sol-player .sp-volume { width: 76px; height: 44px; background: linear-gradient(#496474, #496474) center / 100% 4px no-repeat; }
.sp-volume-note { max-width: 126px; color: #bed6e3; font-size: 10px; line-height: 1.7; direction: rtl; }
.sp-options { margin-inline-start: auto; }
.sp-speed { width: 68px; min-height: 44px; padding: 6px 8px; border: 1px solid #58758a; border-radius: 8px; background: #19364d; color: #f6fbff; direction: ltr; cursor: pointer; font-size: 13px; }
.sp-status { min-height: 0; margin: 0; padding: 0 5px; color: #bfdae8; font-size: 11px; line-height: 1.9; }
.sp-status:not(:empty) { padding-block: 2px; }
.sp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sol-player:fullscreen { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; background: #081522; }
.sol-player:fullscreen .sp-stage { flex: 1; height: auto; min-height: 0; }
.sol-player:fullscreen .sp-controls { flex: none; max-height: 40vh; overflow: auto; }
@media (max-width: 540px) {
  .sp-controls { padding-inline: 7px; }
  .sp-toolbar { gap: 2px 4px; }
  .sp-time { margin-inline-start: auto; }
  .sp-volume-group { margin-inline-start: 0; }
  .sp-options { margin-inline-start: auto; }
  .sol-player .sp-volume { width: 90px; }
  .sp-speed { width: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .sol-player * { scroll-behavior: auto; }
}
