.cmg-demo-profile {
  padding-bottom: 0;
}

.cmg-demo-profile .cmg-bg__grid {
  opacity: 0.14;
}

.cmg-demo-profile .cmg-bg__scanline {
  opacity: 0.18;
}

.cmg-demo-profile .cmg-bg__arena {
  opacity: 0.44;
}

.cmg-demo-profile .cmg-bg__particles {
  opacity: 1;
}

.cmg-demo-profile .cmg-panel,
.cmg-demo-profile .cmg-card,
.cmg-demo-profile .cmg-clip-activity {
  opacity: 1;
  transform: none;
  animation: none;
}

.cmg-demo-profile .cmg-command__nav {
  min-height: 62px;
}

.cmg-demo-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cmg-demo-back-link {
  color: rgba(226, 232, 240, 0.76);
  font-size: 12px;
  font-weight: 800;
  transition: color 160ms ease;
}

.cmg-demo-back-link:hover,
.cmg-demo-back-link:focus-visible {
  color: #ffe8a6;
  outline: none;
}

.cmg-demo-hero {
  width: min(940px, calc(100% - 32px));
  margin-top: 2px;
  padding: 2px 18px 0;
}

.cmg-demo-hero h1 {
  font-size: clamp(28px, 3vw, 36px);
}

.cmg-demo-hero .cmg-profile-tagline {
  max-width: 680px;
  margin-top: 6px;
}

.cmg-demo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.cmg-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(141, 232, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #eff8ff;
  cursor: pointer;
  font-family: var(--cmg-font-head);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cmg-demo-btn:hover,
.cmg-demo-btn:focus-visible {
  border-color: rgba(141, 232, 255, 0.58);
  background: rgba(54, 169, 255, 0.13);
  box-shadow: 0 0 24px rgba(54, 169, 255, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.cmg-demo-btn--primary,
.cmg-demo-btn--checkout {
  border-color: rgba(244, 200, 106, 0.54);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 244, 194, 0.32), transparent 42%),
    linear-gradient(135deg, rgba(244, 200, 106, 0.98), rgba(194, 132, 35, 0.92));
  color: #160f05;
}

.cmg-demo-hero__actions .cmg-demo-btn--primary {
  width: min(460px, 100%);
}

.cmg-demo-btn--primary:hover,
.cmg-demo-btn--primary:focus-visible {
  border-color: rgba(255, 232, 166, 0.72);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 244, 194, 0.40), transparent 44%),
    linear-gradient(135deg, rgba(255, 218, 127, 0.98), rgba(194, 132, 35, 0.94));
  box-shadow:
    0 16px 38px rgba(194, 132, 35, 0.24),
    0 0 30px rgba(244, 200, 106, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cmg-demo-btn--outline {
  border-color: rgba(244, 200, 106, 0.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 244, 194, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.035);
  color: #ffe8a6;
}

.cmg-demo-btn--outline:hover,
.cmg-demo-btn--outline:focus-visible {
  border-color: rgba(244, 200, 106, 0.62);
  background: rgba(244, 200, 106, 0.10);
  box-shadow:
    0 0 24px rgba(244, 200, 106, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.cmg-demo-btn--checkout {
  border-color: rgba(141, 232, 255, 0.48);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.98), rgba(14, 85, 190, 0.96));
  color: #fff;
}

.cmg-demo-shell {
  margin-top: 4px;
  padding-bottom: 28px;
}

.cmg-demo-shell:focus,
.cmg-demo-shell [tabindex="-1"]:focus {
  outline: none;
}

.cmg-demo-profile .cmg-demo-strip {
  display: flex;
  margin: 8px auto 10px !important;
}

.cmg-demo-profile #demoClipColumn {
  display: grid;
  gap: 13px;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item {
  position: relative;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:not(:first-child) {
  animation: none;
  opacity: 0.5;
  transform: none;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child {
  overflow: hidden;
  padding-right: 136px;
  opacity: 1;
  transform: none;
  border-color: rgba(255, 218, 127, 0.74);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 200, 106, 0.20), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,0.10), transparent 24% 82%, rgba(244, 200, 106, 0.10)),
    rgba(255, 255, 255, 0.065);
  box-shadow:
    0 0 0 1px rgba(244, 200, 106, 0.20),
    0 14px 32px rgba(0, 0, 0, 0.22),
    0 0 26px rgba(244, 200, 106, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: cmgDemoVaultPulse 4.8s ease-in-out infinite;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child::before {
  z-index: 0;
  width: 42%;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 242, 194, 0.16),
    transparent
  );
  transform: translateX(-180%) skewX(-18deg);
  animation: cmgDemoVaultShimmer 6.4s ease-in-out infinite;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child::after {
  content: "\25B6  Watch Demo";
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 1;
  width: auto;
  min-width: 104px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 236, 179, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 247, 214, 0.40), transparent 44%),
    linear-gradient(135deg, #f4c86a, #c28423);
  color: #160f05;
  font-family: var(--cmg-font-head);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  box-shadow:
    0 8px 20px rgba(194, 132, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateY(-50%) scale(1);
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child span::after {
  content: "Tap to watch";
  display: block;
  margin-top: 6px;
  color: rgba(255, 235, 174, 0.94);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:hover,
.cmg-demo-profile #demoHighlightStream .cmg-stream__item:focus-visible {
  border-color: rgba(244, 200, 106, 0.54);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(244, 200, 106, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  outline: none;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:not(:first-child):hover,
.cmg-demo-profile #demoHighlightStream .cmg-stream__item:not(:first-child):focus-visible {
  opacity: 0.68;
}

.cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child:hover::after,
.cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child:focus-visible::after {
  border-color: rgba(255, 247, 214, 0.90);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.48), transparent 44%),
    linear-gradient(135deg, #ffda7f, #c28423);
  box-shadow:
    0 10px 24px rgba(194, 132, 35, 0.32),
    0 0 20px rgba(244, 200, 106, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

@keyframes cmgDemoVaultPulse {
  0%,
  72%,
  100% {
    border-color: rgba(255, 218, 127, 0.74);
    box-shadow:
      0 0 0 1px rgba(244, 200, 106, 0.20),
      0 14px 32px rgba(0, 0, 0, 0.22),
      0 0 26px rgba(244, 200, 106, 0.17),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  82% {
    border-color: rgba(255, 232, 166, 0.92);
    box-shadow:
      0 0 0 1px rgba(255, 232, 166, 0.30),
      0 16px 34px rgba(0, 0, 0, 0.24),
      0 0 34px rgba(244, 200, 106, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

@keyframes cmgDemoVaultShimmer {
  0%,
  74%,
  100% {
    opacity: 0;
    transform: translateX(-180%) skewX(-18deg);
  }
  78% {
    opacity: 0.7;
  }
  90% {
    opacity: 0;
    transform: translateX(360%) skewX(-18deg);
  }
}

.cmg-demo-card {
  width: min(100%, 376px);
  min-height: 532px;
  margin: 0 auto;
}

.cmg-demo-card .cmg-player-render__image {
  display: block;
}

.cmg-demo-card .cmg-card__identity {
  bottom: 104px;
  padding-right: 10px;
}

.cmg-demo-card .cmg-card__identity h1 {
  font-size: clamp(30px, 3.5vw, 38px);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.cmg-demo-card .cmg-card__identity p {
  margin-top: 7px;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.105em;
}

.cmg-demo-summary {
  display: grid;
  gap: 10px;
}

@media (min-width: 761px) {
  #profileSnapshotSection .cmg-demo-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #profileSnapshotSection .cmg-demo-summary div {
    display: grid;
    align-content: center;
    justify-items: start;
    min-height: 82px;
  }
}

.cmg-demo-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(186, 224, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.cmg-demo-summary span {
  color: rgba(218, 228, 242, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.cmg-demo-summary strong {
  color: #fff;
  font-size: 16px;
}

.cmg-demo-profile .cmg-available-clips-box__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cmg-demo-profile .cmg-available-clips-box__head span {
  color: #fff0b8;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.cmg-demo-profile .cmg-request-clip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(93, 242, 164, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(93, 242, 164, 0.84), rgba(34, 197, 94, 0.70));
  color: #06150e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.cmg-demo-profile .cmg-panel,
.cmg-demo-profile .cmg-buy-box,
.cmg-demo-profile .cmg-clip-activity,
.cmg-demo-profile .cmg-card {
  scroll-margin-top: 94px;
}

.cmg-demo-profile .cmg-panel--profile-value .cmg-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(244, 200, 106, 0.34);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 244, 194, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(244, 200, 106, 0.92), rgba(194, 132, 35, 0.84));
  color: #160f05;
  font-weight: 900;
}

.cmg-demo-profile .cmg-quick-access-preview {
  margin-top: 12px;
}

.cmg-demo-profile .cmg-quick-access-profile-pill {
  width: 100%;
  min-height: 68px;
  justify-content: center;
  cursor: default;
}

.cmg-demo-profile .cmg-clip-activity__latest-icon {
  font-size: 16px;
}

.cmg-demo-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(93, 242, 164, 0.24);
  border-radius: 12px;
  background: rgba(5, 18, 32, 0.96);
  color: #eff8ff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.cmg-demo-toast.is-visible {
  display: block;
}

.cmg-demo-final-cta {
  width: min(860px, calc(100% - 32px));
  margin: 4px auto 76px;
  padding: 28px 24px;
  border: 1px solid rgba(244, 200, 106, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 200, 106, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.045);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.cmg-demo-final-cta h2 {
  margin: 6px auto 0;
  color: #fff;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.05;
}

.cmg-demo-final-cta p:not(.cmg-kicker) {
  max-width: 560px;
  margin: 10px auto 0;
  color: rgba(218, 228, 242, 0.76);
  font-size: 14px;
  line-height: 1.48;
}

.cmg-demo-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}

.cmg-demo-final-cta__actions .cmg-demo-btn {
  min-width: min(190px, 100%);
}

.cmg-demo-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 58;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(141, 232, 255, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 15% 0%, rgba(244, 200, 106, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.98), rgba(14, 85, 190, 0.96));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow:
    0 12px 30px rgba(14, 85, 190, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cmg-demo-sticky-cta::after {
  content: "→";
  margin-left: 7px;
  color: #ffe8a6;
}

.cmg-demo-sticky-cta:hover,
.cmg-demo-sticky-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 18px 42px rgba(14, 85, 190, 0.30),
    0 0 24px rgba(141, 232, 255, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.24);
  outline: none;
}

.cmg-demo-watch-modal[hidden] {
  display: none;
}

.cmg-demo-watch-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cmg-demo-watch-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 200, 106, 0.13), transparent 28%),
    rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.cmg-demo-watch-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 14px;
  width: min(1080px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  padding: 14px;
  border: 1px solid rgba(244, 200, 106, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 200, 106, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(8, 20, 37, 0.97), rgba(3, 9, 22, 0.98));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.66),
    0 0 54px rgba(244, 200, 106, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: auto;
}

.cmg-demo-watch-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 9, 22, 0.72);
  color: #fff4c2;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cmg-demo-watch-modal__main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cmg-demo-watch-modal__meta {
  padding-right: 48px;
}

.cmg-demo-watch-modal__meta h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.cmg-demo-watch-modal__meta span,
.cmg-demo-watch-modal__side-card span {
  color: rgba(218, 228, 242, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.cmg-demo-watch-modal__video {
  position: relative;
  display: grid;
  min-height: clamp(270px, 46vw, 540px);
  width: 100%;
  padding: 0;
  border: 1px solid rgba(244, 200, 106, 0.28);
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 9, 22, 0.05), rgba(3, 9, 22, 0.88)),
    url("/assets/home/profile-showcase/watch-player.jpg") center / cover no-repeat,
    #030916;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -42px 74px rgba(0, 0, 0, 0.52);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cmg-demo-watch-modal__video:hover,
.cmg-demo-watch-modal__video:focus-visible {
  border-color: rgba(244, 200, 106, 0.52);
  box-shadow:
    0 0 0 2px rgba(244, 200, 106, 0.12),
    0 0 38px rgba(244, 200, 106, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -42px 74px rgba(0, 0, 0, 0.52);
  outline: none;
}

.cmg-demo-watch-modal__video.is-playing .cmg-demo-watch-modal__play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

.cmg-demo-watch-modal__video.is-playing .cmg-demo-watch-modal__play-label {
  opacity: 0.76;
}

.cmg-demo-watch-modal__video.is-playing .cmg-demo-watch-modal__preview {
  opacity: 0;
  pointer-events: none;
}

.cmg-demo-watch-modal__video video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  background: #000;
}

.cmg-demo-watch-modal__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(68px, 8vw, 96px);
  height: clamp(68px, 8vw, 96px);
  border: 1px solid rgba(244, 200, 106, 0.48);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.26), transparent 38%),
    rgba(3, 9, 22, 0.72);
  box-shadow:
    0 0 36px rgba(244, 200, 106, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.cmg-demo-watch-modal__play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #ffe8a6;
  filter: drop-shadow(0 0 10px rgba(244, 200, 106, 0.45));
}

.cmg-demo-watch-modal__play-label {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  padding: 8px 12px;
  border: 1px solid rgba(244, 200, 106, 0.30);
  border-radius: 999px;
  background: rgba(3, 9, 22, 0.72);
  color: #ffe8a6;
  font-size: 12px;
  font-weight: 900;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.cmg-demo-watch-modal__sound-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(3, 9, 22, 0.66);
  color: rgba(248, 250, 252, 0.84);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.cmg-demo-watch-modal__preview {
  position: absolute;
  inset: 0;
  display: grid;
  z-index: 2;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(244, 200, 106, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(3, 9, 22, 0.10), rgba(3, 9, 22, 0.84));
  transition: opacity 180ms ease;
}

.cmg-demo-watch-modal__preview[hidden] {
  display: none;
}

.cmg-demo-watch-modal__preview strong {
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.cmg-demo-watch-modal__preview span {
  color: rgba(248, 250, 252, 0.86);
  font-size: 15px;
  font-weight: 900;
}

.cmg-demo-watch-modal__preview small {
  color: #ffe8a6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cmg-demo-watch-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cmg-demo-watch-modal__side {
  display: grid;
  align-content: start;
  gap: 12px;
}

.cmg-demo-watch-modal__side-card {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(186, 224, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.cmg-demo-watch-modal__side-card strong {
  color: #fff;
}

.cmg-demo-watch-list {
  display: grid;
  gap: 7px;
}

.cmg-demo-watch-list button {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid rgba(186, 224, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(238, 248, 255, 0.84);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.cmg-demo-watch-list button.is-selected {
  border-color: rgba(244, 200, 106, 0.42);
  background: rgba(244, 200, 106, 0.09);
  color: #ffe8a6;
  box-shadow: 0 0 18px rgba(244, 200, 106, 0.10);
}

.cmg-demo-tour {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: min(328px, calc(100% - 32px));
  padding: 13px;
  border: 1px solid rgba(244, 200, 106, 0.54);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 244, 194, 0.32), transparent 42%),
    linear-gradient(135deg, rgba(244, 200, 106, 0.98), rgba(194, 132, 35, 0.92));
  color: #160f05;
  filter: brightness(0.72);
  box-shadow:
    0 24px 74px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(244, 200, 106, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cmg-demo-tour[hidden] {
  display: none;
}

.cmg-demo-tour .cmg-kicker {
  color: #5c3b08;
}

.cmg-demo-tour h2 {
  margin: 4px 34px 0 0;
  color: #160f05;
  font-size: 17px;
}

.cmg-demo-tour p:not(.cmg-kicker) {
  margin: 7px 0 0;
  color: #3d2709;
  font-size: 12.5px;
  line-height: 1.34;
}

.cmg-demo-tour__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #5d3909;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.cmg-demo-tour__actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
}

.cmg-demo-tour__actions button {
  flex: 1;
  min-height: 34px;
  border: 1px solid rgba(55, 34, 7, 0.30);
  border-radius: 999px;
  background: rgba(255, 248, 218, 0.30);
  color: #3d2709;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.cmg-demo-tour__actions button:last-child {
  border-color: #211505;
  background: #211505;
  color: #ffe8a6;
}

.cmg-demo-profile.is-demo-tour-active .cmg-demo-tour-target {
  position: relative;
  z-index: 78;
  border-color: rgba(244, 200, 106, 0.78) !important;
  box-shadow:
    0 0 0 2px rgba(244, 200, 106, 0.34),
    0 0 46px rgba(244, 200, 106, 0.44),
    0 24px 62px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.14) !important;
}

.cmg-demo-profile.is-demo-tour-active .cmg-demo-tour-target.cmg-card {
  box-shadow:
    0 0 0 2px rgba(244, 200, 106, 0.24),
    0 0 48px rgba(244, 200, 106, 0.38),
    0 36px 92px rgba(0,0,0,0.60),
    inset 0 1px 0 rgba(255,255,255,0.34) !important;
}

.cmg-demo-profile.is-demo-tour-active::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.28);
}

@media (min-width: 981px) {
  .cmg-demo-shell {
    display: grid !important;
    grid-template-columns: minmax(270px, 0.86fr) minmax(360px, 1.12fr) minmax(270px, 0.86fr) !important;
    grid-template-rows: auto !important;
    gap: 16px !important;
    width: min(1380px, calc(100% - 32px)) !important;
    max-width: min(1380px, calc(100% - 32px)) !important;
    align-items: start !important;
  }

  .cmg-demo-shell .cmg-profile-column--clips {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 1 !important;
  }

  .cmg-demo-shell .cmg-demo-hero-card {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: 2 !important;
    width: 100% !important;
  }

  .cmg-demo-shell .cmg-profile-column--progress {
    grid-column: 3 !important;
    grid-row: 1 !important;
    order: 3 !important;
  }

  .cmg-demo-card {
    width: min(100%, 392px);
    min-height: min(462px, calc(100vh - 180px));
  }

  .cmg-demo-profile .cmg-panel,
  .cmg-demo-profile .cmg-buy-box,
  .cmg-demo-profile .cmg-clip-activity {
    border-radius: 12px;
  }

}

@media (max-width: 760px) {
  .cmg-demo-profile .cmg-command__nav {
    min-height: 56px;
    padding: 10px 16px;
  }

  .cmg-demo-profile .cmg-command__status {
    display: none;
  }

  .cmg-demo-nav-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }

  .cmg-demo-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    max-width: 86px;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(226, 232, 240, 0.76);
    font-size: 0;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .cmg-demo-back-link::before {
    content: "← Back";
    font-size: 10.5px;
    letter-spacing: -0.01em;
  }

  .cmg-demo-profile .cmg-command__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(141, 232, 255, 0.18);
    border-radius: 999px;
    background: rgba(141, 232, 255, 0.055);
    color: #8de8ff;
    font-size: 9.5px;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .cmg-demo-hero__actions {
    display: flex;
    width: min(100%, 360px);
    gap: 6px;
    margin-left: auto;
    margin-right: auto;
  }

  .cmg-demo-hero {
    margin-top: 0;
    padding: 0 14px;
  }

  .cmg-demo-hero h1 {
    font-size: clamp(25px, 7vw, 28px);
    letter-spacing: -0.035em;
  }

  .cmg-demo-hero .cmg-profile-tagline {
    margin-top: 3px;
    line-height: 1.34;
  }

  .cmg-demo-hero__actions .cmg-demo-btn--primary {
    width: 100%;
  }

  .cmg-demo-btn {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .cmg-demo-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: calc(100% - 20px);
    gap: 11px;
    margin-top: 0;
  }

  .cmg-demo-shell .cmg-hero,
  .cmg-demo-shell .cmg-profile-column {
    display: contents;
  }

  #cardSection {
    order: 1 !important;
  }

  .cmg-demo-card {
    min-height: 430px;
  }

  #availableClipsSection {
    order: 2 !important;
  }

  #clipVaultSection {
    order: 3 !important;
  }

  #activityHistorySection {
    order: 4 !important;
  }

  #profileSnapshotSection {
    order: 5 !important;
  }

  #quickAccessSection {
    order: 6 !important;
  }

  #readyToOrderSection {
    display: block !important;
    order: 7 !important;
  }

  .cmg-demo-profile .cmg-panel {
    padding: 13px;
  }

  .cmg-demo-profile .cmg-buy-box,
  .cmg-demo-profile .cmg-clip-activity {
    padding: 13px;
  }

  .cmg-demo-profile .cmg-panel__header {
    gap: 8px;
  }

  .cmg-demo-profile .cmg-panel__header h2,
  .cmg-demo-profile .cmg-clip-activity h2 {
    font-size: 18px;
  }

  .cmg-demo-profile .cmg-help,
  .cmg-demo-profile .cmg-share-copy,
  .cmg-demo-profile .cmg-buy-box p {
    line-height: 1.38;
  }

  .cmg-demo-summary div {
    padding: 12px;
  }

  .cmg-demo-profile .cmg-quick-access-profile-pill {
    min-height: 62px;
  }

  .cmg-demo-final-cta {
    width: calc(100% - 20px);
    margin-bottom: 78px;
    padding: 22px 16px;
    border-radius: 15px;
  }

  .cmg-demo-final-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cmg-demo-final-cta__actions .cmg-demo-btn {
    min-width: 0;
  }

  .cmg-demo-sticky-cta {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    min-height: 44px;
  }

  .cmg-demo-tour {
    left: 12px;
    right: 12px;
    bottom: 10px;
    width: auto;
    max-height: 34vh;
    padding: 12px;
    overflow: auto;
  }

  .cmg-demo-watch-modal {
    align-items: start;
    padding: 10px;
  }

  .cmg-demo-watch-modal__panel {
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: calc(100vh - 20px);
    padding: 10px;
    border-radius: 16px;
  }

  .cmg-demo-watch-modal__video {
    min-height: min(56vw, 260px);
  }

  .cmg-demo-watch-modal__play {
    width: 64px;
    height: 64px;
  }

  .cmg-demo-watch-modal__play span {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 18px;
  }

  .cmg-demo-watch-modal__play-label {
    bottom: 12px;
    font-size: 11px;
  }

  .cmg-demo-watch-modal__sound-badge {
    top: 10px;
    right: 10px;
    font-size: 10px;
  }

  .cmg-demo-watch-modal__meta h2 {
    font-size: 24px;
  }

  .cmg-demo-watch-modal__actions .cmg-demo-btn {
    width: auto;
    flex: 1 1 120px;
  }

  .cmg-demo-watch-modal__side {
    gap: 10px;
  }
}

@media (max-width: 389px) {
  .cmg-demo-hero {
    width: calc(100% - 20px);
  }

  .cmg-demo-hero {
    margin-top: 2px;
    padding-top: 4px;
  }

  .cmg-demo-card {
    min-height: 405px;
  }

  .cmg-demo-profile .cmg-command__nav {
    min-height: 58px;
  }

  .cmg-stream__item {
    padding-right: 58px;
  }

  .cmg-stream__item::after {
    right: 9px;
    width: 44px;
  }

  .cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child {
    padding-right: 116px;
  }

  .cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child::after {
    width: auto;
    min-width: 94px;
    padding: 0 9px;
    font-size: 9.5px;
  }

  .cmg-demo-profile #demoHighlightStream .cmg-stream__item:first-child span::after {
    font-size: 11px;
  }
}
