.ms-video-post {
  --msv-ink: #0a1220;
  --msv-panel: #101827;
  --msv-line: rgba(255, 255, 255, .1);
  --msv-accent: #2f6bff;
  --msv-mint: #4fe3a3;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(47, 107, 255, .08), transparent 55%),
    #f4f6fb;
  padding-bottom: 80px;
}

.ms-video-post__hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background:
    radial-gradient(circle at 86% 8%, rgba(79, 227, 163, .16), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(47, 107, 255, .35), transparent 34%),
    linear-gradient(145deg, #07111f 0%, #12306a 58%, #0d1f46 100%);
  color: #fff;
  padding: 42px 0 140px;
  overflow: hidden;
}

.ms-video-post__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(244, 246, 251, .08));
  pointer-events: none;
}

.ms-video-post__hero .ms-container { position: relative; z-index: 1; }

.ms-video-post__hero .ms-post-crumb,
.ms-video-post__hero .ms-post-crumb a,
.ms-video-post__hero .ms-post-crumb span { color: #dce8ff !important; }
.ms-video-post__hero .ms-post-crumb a { opacity: .92; }
.ms-video-post__hero .ms-post-crumb a:hover { color: #fff !important; opacity: 1; }

.ms-video-post__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.ms-video-post__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--msv-mint);
  box-shadow: 0 0 0 0 rgba(79, 227, 163, .45);
  animation: msv-pulse 2.2s ease-out infinite;
}

@keyframes msv-pulse {
  70%, 100% { box-shadow: 0 0 0 10px rgba(79, 227, 163, 0); }
}

.ms-video-post h1 {
  max-width: 860px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.35;
  margin: 20px 0 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .26);
}

.ms-video-post__lead {
  color: #e5edfb;
  max-width: 700px;
  font-size: 17px;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .24);
}

.ms-video-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #d4e0f4;
  font-size: 14px;
  margin-top: 18px;
}

/* Player shell */
.ms-video-post__player {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 980px);
  margin: -92px auto 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 28%),
    var(--msv-ink);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 28px 60px rgba(8, 20, 48, .32);
  overflow: hidden;
  animation: msv-rise .55s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes msv-rise {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.ms-video-post__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  color: #d7e3f8;
  font-size: 13px;
  background:
    linear-gradient(90deg, rgba(47, 107, 255, .16), transparent 42%),
    #0d1524;
  border-bottom: 1px solid var(--msv-line);
}

.ms-video-post__chrome-right {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ms-video-post__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--msv-mint);
  box-shadow: 0 0 0 4px rgba(79, 227, 163, .14);
}

.ms-video-post__quality {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #062016;
  background: linear-gradient(135deg, #6af0b4, #39d48f);
  padding: 4px 8px;
  border-radius: 7px;
}

.ms-video-post__stage {
  position: relative;
  background: #000;
  isolation: isolate;
}

.ms-video-post__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: cover;
  object-position: center;
  background: #000;
}

.ms-video-post__play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(17, 34, 68, .1), rgba(5, 10, 20, .42) 62%);
  transition: opacity .28s ease, visibility .28s ease;
}

.ms-video-post__stage.is-playing .ms-video-post__play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ms-video-post__play-ring {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  animation: msv-spin 10s linear infinite;
}

@keyframes msv-spin {
  to { transform: rotate(360deg); }
}

.ms-video-post__play-btn {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #07111f;
  background: linear-gradient(145deg, #ffffff, #d9e6ff);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .35),
    0 0 0 10px rgba(255, 255, 255, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ms-video-post__play-btn svg { margin-inline-start: 3px; }

.ms-video-post__play:hover .ms-video-post__play-btn {
  transform: scale(1.06);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, .4),
    0 0 0 12px rgba(47, 107, 255, .18);
}

.ms-video-post__play-label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 16, 30, .45);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}

.ms-video-post__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 14px;
  background: linear-gradient(180deg, #0f1726, #0b1320);
  border-top: 1px solid var(--msv-line);
}

.ms-video-post__share,
.ms-video-post__jump {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .15s ease, transform .15s ease;
}

.ms-video-post__share { color: #9ec0ff; }
.ms-video-post__share span { font-size: 18px; line-height: 1; }
.ms-video-post__jump { color: #a9b6cc; }
.ms-video-post__share:hover,
.ms-video-post__jump:hover {
  color: #fff;
  transform: translateY(-1px);
}

.ms-video-post__content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}

.ms-video-post__content {
  background: #fff;
  border: 1px solid #e6eaf1;
  border-radius: 17px;
  padding: clamp(22px, 4vw, 46px);
  box-shadow: 0 8px 22px rgba(20, 39, 75, .04);
}

.ms-video-post__aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.ms-video-post__author {
  background: #fff;
  border: 1px solid #e6eaf1;
  border-radius: 14px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.ms-video-post__author img {
  border-radius: 50%;
  width: 42px;
  height: 42px;
}

.ms-video-post__author strong,
.ms-video-post__author span { display: block; }

.ms-video-post__author span {
  font-size: 12px;
  color: #7a879d;
  margin-top: 4px;
}

.ms-video-post__shop-link {
  background: linear-gradient(135deg, #1a5cf0, #1347c7);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(19, 71, 199, .22);
}

.ms-video-post__related { margin-top: 64px; }

@media (max-width: 820px) {
  .ms-video-post__hero { padding: 28px 0 96px; }
  .ms-video-post__player {
    width: calc(100% - 20px);
    border-radius: 16px;
    margin: -64px auto 20px;
  }
  .ms-video-post__play-btn { width: 68px; height: 68px; }
  .ms-video-post__play-ring { width: 84px; height: 84px; }
  .ms-video-post__content-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ms-video-post__aside { position: static; }
  .ms-video-post__content { border-radius: 13px; }
  .ms-video-post__related { margin-top: 42px; }
}
