.module--preview {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  gap: 0;
  scroll-margin-top: 80px;
}
.module--preview .module__head { align-items: center; justify-content: flex-start; gap: 8px; min-height: 56px; padding: 12px 18px; }
.modules .module { align-self: start; }
.module__mobile {
  flex: none; min-height: 32px; padding: 0 10px; font-size: 13px; white-space: nowrap;
}
.module__player { position: relative; aspect-ratio: 40 / 21; }
.module__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #10131d; }
.module__preview-toggle {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: transparent; cursor: pointer;
}
.module__preview-toggle img { display: block; width: 100%; height: 100%; object-fit: contain; }
.module__preview-toggle:focus-visible { outline: 2px solid #9fceff; outline-offset: -3px; }
.module--watching { outline: 2px solid #9d87ef; outline-offset: 2px; }
.demo-float {
  position: fixed; z-index: 91; overflow: hidden; border-radius: 14px; background: #101724;
  box-shadow: 0 0 0 1px #707e9e, 0 16px 50px #020715a8;
}
.demo-float:fullscreen { inset: 0; border-radius: 0; }
.demo-float:not(.demo-float--ready) { opacity: 0; pointer-events: none; }
.demo-float button {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px;
  border: 1px solid #64748a; border-radius: 50%; background: #101724ed;
  color: white; font: 24px/1 system-ui; cursor: pointer;
}
.module__info {
  display: grid; place-items: center; flex: none; margin-inline-start: auto;
  width: 32px; height: 32px; padding: 0; cursor: pointer;
  border: 1px solid #495775; border-radius: 7px; background: #1a2639; color: #dce6f5; font: bold 16px/1 system-ui,sans-serif;
}
.module__info:hover, .module__info:focus-visible { background: #334664; color: white; }
.module__tip {
  position: fixed; z-index: 90; pointer-events: none; box-sizing: border-box;
  width: min(280px,calc(100vw - 16px)); padding: 12px 15px;
  background: #26364a; color: #eef4ff; border: 1px solid #526681; border-radius: 8px;
  box-shadow: 0 8px 25px #080d1b50; font-size: .94rem; line-height: 1.45;
}
.module__tip[hidden] { display: none; }
.module__tip strong { display: block; font-size: 1.04rem; }
.module__tip p { margin: 5px 0 0; color: #dee7f5; }
