/*
 * QminD V7 — raw-scene web film language.
 * Original CSS implementation: transparent liquid navigation, character reveal,
 * and scene-stage choreography. No third-party component source is used.
 */

:root {
  --v7-ink: #ffffff;
  --v7-muted: rgba(255, 255, 255, 0.76);
  --v7-glass: rgba(0, 0, 0, 0.14);
  --v7-gold: #f5b92e;
  --v7-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* V7 visual contract: flat Inter typography over raw imagery. */
.deck-v7 .headline,
.deck-v7 .story-copy h1,
.deck-v7 .story-copy h2 {
  color: #fff;
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(32px, 3.8vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.46);
}

.deck-v7 .story-copy .act,
.deck-v7 .story-copy .story-lede {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.54);
}

body.deck-v7 {
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #000;
}

.deck-v7 .qmind-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.deck-v7 .story-prelude,
.deck-v7 .prelude__premise,
.deck-v7 .prelude__question,
.deck-v7 .prelude__question em,
.deck-v7 .prelude__actions button {
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-style: normal;
}

.deck-v7 .prelude__premise {
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.deck-v7 .prelude__question {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
}

.deck-v7 .scene:not(.scene--coda) .scene-art::before,
.deck-v7 .scene:not(.scene--coda) .scene-art::after {
  opacity: 0 !important;
  background: none !important;
}

.deck-v7 .scene:not(.scene--coda) .scene-video {
  filter: none !important;
  mix-blend-mode: normal;
  animation: none !important;
}

.deck-v7 .scene:not(.scene--coda) .scene-art {
  background: #000;
}

.deck-v7 .scene:not(.scene--coda) .scene-art > img {
  display: none !important;
}

.deck-v7 .scene:not(.scene--coda) .scene-art > img.scene-poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: none;
  filter: none;
}

.deck-v7 .scene-video {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 140ms linear, transform 420ms var(--v7-ease);
}

.deck-v7 .scene.has-video-ready .scene-video {
  opacity: 1;
}

/* When narration outlasts a finite background shot, continue one slow camera
   move over the held final frame. The video itself never loops. */
.deck-v7 .scene-video.is-video-held {
  animation: v7-video-hold var(--v7-hold-motion-ms, 4s) linear both !important;
  transform-origin: 50% 50%;
}

@keyframes v7-video-hold {
  from { transform: translate3d(0, 0, 0) scale(1.016); }
  to { transform: translate3d(0.35%, -0.25%, 0) scale(1.045); }
}

body.deck-v7.film-mode .scene.is-film-active .scene-art > img,
body.deck-v7.film-mode .scene.is-film-active .scene-video {
  transform: scale(1.016);
  transition: transform 420ms var(--v7-ease);
  will-change: transform;
}

/* Film mode has one active scene. Freeze hidden legacy states so they cannot
   keep compositing after a scene transition on mobile WebKit. */
body.deck-v7.film-mode .scene:not(.is-film-active):not(.is-film-leaving) .narration-caption p,
body.deck-v7.film-mode .scene:not(.is-film-active):not(.is-film-leaving) [data-v7-beat] {
  animation: none !important;
  transition: none !important;
}

body.deck-v7.film-mode .scene.is-film-active .scene-art {
  contain: layout paint style;
}

.deck-v7 .scene--11 .scene-video {
  display: block !important;
}

/* Transparent navigation: it is a control surface, never a visual panel. */
.deck-v7 .topbar {
  top: clamp(14px, 2.2vw, 28px);
  right: clamp(18px, 4vw, 64px);
  left: clamp(18px, 4vw, 64px);
  width: auto;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  background-blend-mode: normal;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--v7-ink);
  transition: opacity 280ms ease, background 180ms ease;
}

body.film-mode.deck-v7 .topbar {
  visibility: visible !important;
  opacity: 0.92 !important;
  pointer-events: auto;
}

.deck-v7 .topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.38;
}

.deck-v7 .brand {
  position: relative;
  z-index: 1;
  gap: 0;
  color: #fff;
  transition: opacity 320ms var(--v7-ease), visibility 320ms linear;
}

/* The architecture owns the single visible brand in its reveal phase. */
body.deck-v7.scene-logo-exclusive .topbar .brand {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.deck-v7 .brand__identity {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  overflow: visible;
  isolation: auto;
  padding: 5px 7px 5px 1px;
  gap: 0;
  color: #fff;
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.075em;
}

/* One transparent approved lockup is reused everywhere. The real ripple PNG
   sits behind its QminD connector, so the visual system has one origin. */
.deck-v7 .qmind-logo-crop {
  position: relative;
  display: block;
  aspect-ratio: 1420 / 420;
  overflow: visible;
  pointer-events: none;
}

.deck-v7 .qmind-logo-art {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.68));
  transform-origin: 29% 83%;
}

.deck-v7 .qmind-logo-ripple {
  position: absolute;
  z-index: 1;
  top: 83%;
  left: 29%;
  width: 220%;
  max-width: none;
  height: auto;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.12);
  transform-origin: center;
}

.deck-v7 .qmind-logo-crop--header {
  width: 116px;
}

.deck-v7 .qmind-logo-crop--scene {
  width: clamp(180px, 15vw, 230px);
}

.deck-v7 .qmind-logo-crop--world {
  width: clamp(116px, 12vw, 188px);
}

.deck-v7 .qmind-logo-crop--coda {
  width: clamp(400px, 64vw, 840px);
}

.deck-v7 .scene--05 .qmind-logo-art--scene,
.deck-v7 .scene--11 .qmind-logo-art--world {
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9))
    drop-shadow(0 5px 14px rgba(0, 0, 0, 0.34));
}

.deck-v7 .brand__identity::after {
  position: absolute;
  z-index: 2;
  top: -75%;
  bottom: -75%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 22%, rgba(255, 255, 255, 0.72) 50%, rgba(245, 185, 46, 0.42) 66%, transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg) translate3d(-180%, 0, 0);
}

.deck-v7 .brand__identity.is-rippling::after {
  animation: v7-logo-refraction 780ms var(--v7-ease) both;
}

.deck-v7 .brand__identity.is-rippling .qmind-logo-art--header {
  animation: v7-logo-image-wave 820ms var(--v7-ease) both;
}

.deck-v7 .brand__identity.is-rippling .qmind-logo-ripple--header {
  animation: v7-logo-header-ripple 900ms ease-out both;
}

@keyframes v7-logo-refraction {
  0% { opacity: 0; transform: skewX(-18deg) translate3d(-180%, 0, 0); }
  14% { opacity: 0.9; }
  72% { opacity: 0.55; }
  100% { opacity: 0; transform: skewX(-18deg) translate3d(610%, 0, 0); }
}

@keyframes v7-logo-image-wave {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.68)); transform: scale(1); }
  28% { filter: drop-shadow(0 0 5px rgba(245, 185, 46, 0.58)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.58)); transform: scale(1.018); }
  62% { filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.28)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.62)); transform: scale(1.006); }
}

@keyframes v7-logo-header-ripple {
  0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.08); }
  18% { opacity: 0.62; }
  100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.72); }
}

/* A scene change travels through the mark: Q wakes, the gold link carries it, Mind receives it. */
.deck-v7 .brand__mark::after {
  content: none;
}

.deck-v7 .brand__mark,
.deck-v7 .brand__word {
  transform-origin: 50% 62%;
  will-change: color, text-shadow, transform;
}

.deck-v7 .brand__identity.is-rippling .brand__mark {
  animation: v7-logo-q-awaken 760ms var(--v7-ease) both;
}

.deck-v7 .brand__identity.is-rippling .brand__link::before {
  animation: v7-logo-link-carry 760ms var(--v7-ease) both;
  transform-origin: left center;
}

.deck-v7 .brand__identity.is-rippling .brand__link::after {
  animation: v7-logo-link-pulse 760ms var(--v7-ease) both;
}

.deck-v7 .brand__identity.is-rippling .brand__word {
  animation: v7-logo-mind-receive 760ms var(--v7-ease) both;
}

@keyframes v7-logo-q-awaken {
  0%, 100% { color: #fff; text-shadow: none; transform: translateX(0); }
  22% { color: #fff7d9; text-shadow: 0 0 6px rgba(245, 185, 46, 0.72); transform: translateX(-0.02em); }
  46% { color: #fff; text-shadow: 0 0 2px rgba(245, 185, 46, 0.22); }
}

@keyframes v7-logo-link-carry {
  0% { opacity: 0.12; transform: scaleX(0.15); }
  28% { opacity: 1; transform: scaleX(1); }
  70% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.72; transform: scaleX(1); }
}

@keyframes v7-logo-link-pulse {
  0%, 12% { opacity: 0; transform: translate(-160%, -50%) scale(0.32); }
  24% { opacity: 1; }
  68% { opacity: 1; transform: translate(170%, -50%) scale(1); }
  100% { opacity: 0.72; transform: translateY(-50%) scale(1); }
}

@keyframes v7-logo-mind-receive {
  0%, 48% { color: #fff; text-shadow: none; transform: translateX(0); }
  72% { color: #fff8dd; text-shadow: 0 0 8px rgba(245, 185, 46, 0.58); transform: translateX(0.015em); }
  100% { color: #fff; text-shadow: none; transform: translateX(0); }
}

.deck-v7 .brand__mark,
.deck-v7 .brand__word {
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.deck-v7 .brand__word {
  margin-left: -0.15em;
}

.deck-v7 .brand__link {
  position: relative;
  display: block;
  align-self: flex-end;
  flex: 0 0 0.36em;
  width: 0.36em;
  height: 2px;
  margin: 0 -0.13em 0.12em -0.1em;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.deck-v7 .brand__link::before,
.deck-v7 .scene--05 .qmind-wordmark__connector::before,
.deck-v7 .qmind-worldmark__connector::before,
.deck-v7 .coda-brand__link::before {
  position: absolute;
  inset: 0;
  height: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd86e 0%, var(--v7-gold) 36%, #f1aa16 100%);
  box-shadow: 0 0 7px rgba(245, 185, 46, 0.62);
  content: "";
}

.deck-v7 .brand__link::after,
.deck-v7 .scene--05 .qmind-wordmark__connector::after,
.deck-v7 .qmind-worldmark__connector::after,
.deck-v7 .coda-brand__link::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--v7-gold);
  box-shadow: 0 0 7px rgba(245, 185, 46, 0.76);
  content: "";
  transform: translateY(-50%);
}

.deck-v7 .brand__note,
.deck-v7 .page-count,
.deck-v7 .audio-status,
.deck-v7 .audio-progress {
  display: none;
}

.deck-v7 .topbar__tools {
  position: relative;
  z-index: 1;
  gap: 4px;
}

.deck-v7 .tool-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

.deck-v7 .tool-button--product {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.deck-v7 .tool-button:hover,
.deck-v7 .tool-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(0, 0, 0, 0.18);
  transform: none;
}

.deck-v7 .tool-button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.deck-v7 .progress {
  right: clamp(18px, 4vw, 64px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 82;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.deck-v7 .progress__dot {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 10px;
}

.deck-v7 .progress__dot:hover,
.deck-v7 .progress__dot.is-active {
  background: #fff;
  color: #000;
}

/* The authored message remains part of the film. Its three beats reveal with the
   scene timeline instead of being hidden behind the narration layer. */
body.deck-v7.film-mode .scene:not(.scene--coda) .story-copy {
  opacity: 1 !important;
  visibility: visible;
  transform: none;
  pointer-events: none;
}

body.deck-v7.film-mode .scene.is-film-active:not(.scene--coda) .story-copy > [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: none !important;
  transition: opacity 520ms var(--v7-ease), transform 620ms var(--v7-ease);
}

body.deck-v7.film-mode .scene.is-film-active:not(.scene--coda) .story-copy > [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.deck-v7.film-mode .scene--01 .story-copy {
  top: auto;
  right: clamp(48px, 6vw, 112px);
  bottom: clamp(88px, 12vh, 132px);
  left: auto;
  width: min(39vw, 650px);
  text-align: left;
}

body.deck-v7.film-mode .scene--01 .story-copy::before {
  display: none;
}

.deck-v7 .v7-beat {
  position: absolute;
  z-index: 7;
  top: clamp(112px, 17vh, 200px);
  left: clamp(28px, 6vw, 108px);
  max-width: min(50vw, 800px);
  color: #fff;
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: clamp(28px, 3.6vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  pointer-events: none;
  display: none !important;
}

.deck-v7 .scene--01 .v7-beat,
.deck-v7 .scene--02 .v7-beat,
.deck-v7 .scene--03 .v7-beat {
  right: clamp(28px, 6vw, 108px);
  left: auto;
  text-align: right;
}

.deck-v7 .scene--09 .v7-beat,
.deck-v7 .scene--10 .v7-beat {
  top: clamp(128px, 22vh, 248px);
}

.deck-v7 .scene--11 .v7-beat {
  display: none !important;
}

.deck-v7 .v7-beat__phrase {
  display: none;
  opacity: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.deck-v7 .v7-beat__phrase.is-v7-beat-active {
  display: inline-block;
  opacity: 1;
}

.deck-v7 .v7-beat__char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 500ms var(--v7-ease) calc(200ms + var(--v7-char-index, 0) * 30ms),
    transform 500ms var(--v7-ease) calc(200ms + var(--v7-char-index, 0) * 30ms);
}

.deck-v7 .v7-beat__phrase.is-v7-beat-active .v7-beat__char {
  opacity: 1;
  transform: translateX(0);
}

.deck-v7 .v7-beat__phrase.is-v7-beat-active .v7-beat__space {
  width: 0.32em;
}

/* Gold appears only at a personal act: framing a question, naming QminD, or granting permission. */
.deck-v7 .scene:not(.scene--05):not(.scene--11) .semantic-layer {
  display: block !important;
}

.deck-v7 .scene:not(.scene--05):not(.scene--11) .semantic-layer > :not([data-gold-action]) {
  display: none !important;
}

.deck-v7 .scene .semantic-layer [data-gold-action] {
  display: block !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 560ms var(--v7-ease), transform 900ms var(--v7-ease);
}

.deck-v7 .scene--01[data-motion-stage="judgement"] [data-gold-action],
.deck-v7 .scene--04[data-motion-stage="awake"] [data-gold-action],
.deck-v7 .scene--06[data-motion-stage="understood"] [data-gold-action],
.deck-v7 .scene--07[data-motion-stage="connection"] [data-gold-action],
.deck-v7 .scene--08[data-motion-stage="next-step"] [data-gold-action],
.deck-v7 .scene--09[data-motion-stage="authorized"] [data-gold-action],
.deck-v7 .scene--10[data-motion-stage="self"] [data-gold-action] {
  opacity: 1;
}

.deck-v7 .scene--05 .semantic-layer {
  display: contents !important;
}

.deck-v7 .scene--05 .semantic-layer > :not(.qmind-wordmark):not([data-gold-action]) {
  display: none !important;
}

.deck-v7 .scene--05 .qmind-wordmark {
  position: absolute !important;
  z-index: 8;
  top: clamp(76px, 9vh, 96px);
  left: clamp(208px, 14vw, 250px);
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  color: #fff !important;
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: clamp(36px, 4.6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.95;
  opacity: 0 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  transform: translateX(-18px) !important;
  transition: opacity 500ms var(--v7-ease), transform 500ms var(--v7-ease);
}

.deck-v7 .scene--05[data-motion-stage="naming"] .qmind-wordmark,
.deck-v7 .scene--05[data-motion-stage="settled"] .qmind-wordmark {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.deck-v7 .scene--05[data-motion-stage="naming"] .qmind-logo-ripple--scene,
.deck-v7 .scene--05[data-motion-stage="settled"] .qmind-logo-ripple--scene {
  animation: v7-scene-logo-ripple 2.4s ease-out 180ms both;
}

@keyframes v7-scene-logo-ripple {
  0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.08); }
  15% { opacity: 0.78; }
  72% { opacity: 0.24; }
  100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.82); }
}

.deck-v7 .scene--05 .qmind-wordmark__q,
.deck-v7 .scene--05 .qmind-wordmark__mind {
  color: #fff !important;
  font-weight: 600;
}

.deck-v7 .scene--05 .qmind-wordmark__mind {
  margin-left: -0.15em;
}

.deck-v7 .scene--05 .qmind-wordmark__connector {
  position: relative;
  display: block;
  align-self: flex-end;
  flex: 0 0 0.36em;
  width: 0.36em;
  height: 2px;
  margin: 0 -0.13em 0.12em -0.1em;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 800ms var(--v7-ease) 150ms;
}

.deck-v7 .scene--05[data-motion-stage="settled"] .qmind-wordmark__connector {
  transform: scaleX(1);
}

.deck-v7 .scene--05 .v7-beat {
  display: none !important;
}

/* One sentence owns one small reading surface; the screen itself never becomes a caption strip. */
.deck-v7 .narration-caption,
.deck-v7 .scene.scene--01 .narration-caption,
.deck-v7 .scene.scene--02 .narration-caption,
.deck-v7 .scene.scene--03 .narration-caption,
body.deck-v7.film-mode .scene--11 .narration-caption {
  top: auto !important;
  right: auto;
  bottom: max(clamp(22px, 4vh, 48px), env(safe-area-inset-bottom, 0px)) !important;
  left: 50%;
  z-index: 15;
  width: min(78vw, 1040px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
  pointer-events: none;
  transform: translateX(-50%);
  transition: none;
}

.deck-v7 .scene--11 .narration-caption,
body.deck-v7.film-mode .scene--11 .narration-caption {
  top: auto !important;
  bottom: max(clamp(22px, 4vh, 48px), env(safe-area-inset-bottom, 0px)) !important;
}

.deck-v7 .narration-caption p {
  position: relative;
  inset: auto;
  display: none !important;
  width: fit-content;
  max-width: min(90vw, 52em);
  margin: 0;
  padding: 0.18em 0.62em 0.24em;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.98);
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: clamp(13px, 1.35vw, 22px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.42;
  text-wrap: balance;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.76), 0 0 2px rgba(0, 0, 0, 0.9);
}

.deck-v7 .narration-caption p.is-active {
  display: inline-block !important;
  opacity: 1;
  animation: v7-caption-arrive 280ms var(--v7-ease) both;
}

@keyframes v7-caption-arrive {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* On phones the narration status/caption competes with the scene itself.
   Audio remains available through the topbar controls; the text overlay does not. */
@media (max-width: 820px), (orientation: landscape) and (max-height: 680px) {
  .deck-v7 .audio-status {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Page 11 uses one right-side visual stage: three real QReader states play
   once, converge into QminD, and then reveal the five-part architecture. */
.deck-v7 .scene--11 .semantic-layer {
  position: absolute;
  inset: 0;
  display: block !important;
}

.deck-v7 .scene--11 .qreader-reel {
  position: absolute;
  z-index: 6;
  top: 52%;
  left: 77%;
  height: min(64vh, 620px);
  aspect-ratio: 390 / 844;
  opacity: 0;
  transform: translate3d(-50%, -46%, 0) scale(0.96);
  transform-origin: center;
  transition: opacity 560ms var(--v7-ease), transform 900ms var(--v7-ease);
  will-change: opacity, transform;
}

.deck-v7 .scene--11 .qreader-reel__viewport {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: clamp(24px, 3vw, 42px);
  background: #efede7;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.deck-v7 .scene--11 .qreader-reel__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: translate3d(0, 4%, 0) scale(1.025);
  transition: opacity 620ms var(--v7-ease), transform 840ms var(--v7-ease);
}

.deck-v7 .scene--11[data-motion-stage="reading"] .qreader-reel,
.deck-v7 .scene--11[data-motion-stage="distilling"] .qreader-reel,
.deck-v7 .scene--11[data-motion-stage="process"] .qreader-reel {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.deck-v7 .scene--11[data-motion-stage="reading"] .qreader-reel__shot--home,
.deck-v7 .scene--11[data-motion-stage="distilling"] .qreader-reel__shot--reading,
.deck-v7 .scene--11[data-motion-stage="process"] .qreader-reel__shot--trace {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.deck-v7 .scene--11[data-motion-stage="converging"] .qreader-reel {
  opacity: 0.06;
  transform: translate3d(-50%, -50%, 0) scale(0.08);
}

.deck-v7 .scene--11 .qmind-architecture {
  position: absolute;
  z-index: 7;
  top: 52%;
  left: 77%;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  transition: opacity 700ms var(--v7-ease), transform 900ms var(--v7-ease);
  will-change: opacity, transform;
}

.deck-v7 .scene--11 .qmind-architecture__edge {
  position: absolute;
  z-index: 1;
  display: block;
  background: rgba(245, 185, 46, 0.9);
  box-shadow: 0 0 12px rgba(245, 185, 46, 0.32);
  opacity: 0;
  transition: opacity 420ms ease, transform 920ms var(--v7-ease);
}

.deck-v7 .scene--11 .qmind-architecture__edge--top,
.deck-v7 .scene--11 .qmind-architecture__edge--bottom {
  right: 5%;
  left: 5%;
  height: 1.5px;
  transform: scaleX(0);
}

.deck-v7 .scene--11 .qmind-architecture__edge--top { top: 3%; transform-origin: left center; }
.deck-v7 .scene--11 .qmind-architecture__edge--bottom { bottom: 3%; transform-origin: right center; }

.deck-v7 .scene--11 .qmind-architecture__edge--right,
.deck-v7 .scene--11 .qmind-architecture__edge--left {
  top: 3%;
  bottom: 3%;
  width: 1.5px;
  transform: scaleY(0);
}

.deck-v7 .scene--11 .qmind-architecture__edge--right { right: 5%; transform-origin: center top; }
.deck-v7 .scene--11 .qmind-architecture__edge--left { left: 5%; transform-origin: center bottom; }

.deck-v7 .scene--11[data-motion-stage="complete"] .qmind-architecture__edge {
  opacity: 1;
  transform: scale(1);
}

.deck-v7 .scene--11 .qmind-architecture__node {
  position: absolute;
  z-index: 3;
  top: var(--node-top);
  left: var(--node-left);
  width: clamp(86px, 8vw, 116px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.58);
  transition: opacity 520ms var(--v7-ease), transform 720ms var(--v7-ease);
  will-change: opacity, transform;
}

.deck-v7 .scene--11 .qmind-architecture__icon {
  width: clamp(44px, 4.8vw, 64px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 185, 46, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: 0 0 0 1px rgba(245, 185, 46, 0.05), 0 0 24px rgba(245, 185, 46, 0.1);
}

.deck-v7 .scene--11 .qmind-architecture__icon img {
  width: 48%;
  height: 48%;
  display: block;
  filter: invert(88%) sepia(78%) saturate(1694%) hue-rotate(327deg) brightness(104%) contrast(92%);
}

.deck-v7 .scene--11 .qmind-architecture__label {
  padding: 0.24em 0.56em 0.28em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.94), 0 0 10px rgba(0, 0, 0, 0.8);
}

.deck-v7 .scene--11 .qmind-architecture__node--storage { --node-top: 80%; --node-left: 22%; }
.deck-v7 .scene--11 .qmind-architecture__node--factory { --node-top: 35%; --node-left: 9%; }
.deck-v7 .scene--11 .qmind-architecture__node--agent { --node-top: 9%; --node-left: 50%; }
.deck-v7 .scene--11 .qmind-architecture__node--link { --node-top: 35%; --node-left: 91%; }
.deck-v7 .scene--11 .qmind-architecture__node--security { --node-top: 80%; --node-left: 78%; }

.deck-v7 .scene--11 .qmind-architecture__core.qmind-worldmark {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: inline-flex !important;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.18);
  transition: opacity 600ms var(--v7-ease), transform 760ms var(--v7-ease);
}

.deck-v7 .scene--11:is(
  [data-motion-stage="converging"],
  [data-motion-stage="storage"],
  [data-motion-stage="knowledge-factory"],
  [data-motion-stage="agent"],
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) .qmind-architecture {
  opacity: 1;
}

.deck-v7 .scene--11[data-motion-stage="converging"] .qmind-architecture {
  transform: translate3d(-50%, -50%, 0) scale(0.72);
}

.deck-v7 .scene--11:is(
  [data-motion-stage="storage"],
  [data-motion-stage="knowledge-factory"],
  [data-motion-stage="agent"],
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) .qmind-architecture {
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.deck-v7 .scene--11:is(
  [data-motion-stage="storage"],
  [data-motion-stage="knowledge-factory"],
  [data-motion-stage="agent"],
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) [data-architecture-node="storage"],
.deck-v7 .scene--11:is(
  [data-motion-stage="knowledge-factory"],
  [data-motion-stage="agent"],
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) [data-architecture-node="knowledge-factory"],
.deck-v7 .scene--11:is(
  [data-motion-stage="agent"],
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) [data-architecture-node="agent"],
.deck-v7 .scene--11:is(
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) [data-architecture-node="external-link"],
.deck-v7 .scene--11:is(
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) [data-architecture-node="privacy-security"] {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.deck-v7 .scene--11[data-motion-stage="converging"] .qmind-architecture__core {
  opacity: 0.78;
  transform: translate3d(-50%, -50%, 0) scale(0.34);
}

.deck-v7 .scene--11:is(
  [data-motion-stage="storage"],
  [data-motion-stage="knowledge-factory"],
  [data-motion-stage="agent"],
  [data-motion-stage="external-link"],
  [data-motion-stage="privacy-security"],
  [data-motion-stage="complete"]
) .qmind-architecture__core {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.deck-v7 .scene--11[data-motion-stage="complete"] .qmind-logo-ripple--world {
  animation: v7-world-logo-ripple 2.8s ease-out 240ms both;
}

@keyframes v7-world-logo-ripple {
  0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.08); }
  16% { opacity: 0.66; }
  100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.72); }
}

/* The last gold point becomes the QminD connector, then opens into the final brand mark. */
.deck-v7 .scene--coda .coda-brand {
  position: fixed;
  z-index: 46;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: clamp(52px, 8vw, 128px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.94;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  transform: translate3d(-50%, -50%, 0) scale(0.22);
  transform-origin: center;
  will-change: opacity, transform;
}

body.deck-v7.coda-active .scene--coda .coda-brand {
  opacity: var(--coda-brand-progress, 0);
  transform: translate3d(-50%, -50%, 0) scale(calc(0.22 + var(--coda-brand-progress, 0) * 0.78));
}

body.deck-v7.coda-active .scene--coda .coda-brand[aria-hidden="false"] .qmind-logo-art--coda {
  animation: v7-coda-logo-reveal 920ms var(--v7-ease) both;
}

body.deck-v7.coda-active .scene--coda .coda-brand[aria-hidden="false"] .qmind-logo-ripple--coda {
  animation: v7-coda-logo-ripple 3.1s ease-out 500ms 3;
}

@keyframes v7-coda-logo-reveal {
  0% { opacity: 0; filter: blur(4px) drop-shadow(0 0 18px rgba(245, 185, 46, 0.72)); transform: scale(0.94); }
  58% { opacity: 1; filter: blur(0) drop-shadow(0 0 8px rgba(245, 185, 46, 0.34)); transform: scale(1.018); }
  100% { opacity: 1; filter: none; transform: scale(1); }
}

@keyframes v7-coda-logo-ripple {
  0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.06); }
  14% { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(0.42); }
  72% { opacity: 0.28; transform: translate3d(-50%, -50%, 0) scale(0.78); }
  100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.95); }
}

body.deck-v7.coda-active.coda-finished .scene--coda .coda-brand[aria-hidden="false"] .qmind-logo-ripple--coda {
  animation: v7-coda-logo-ripple-settled 4.8s ease-out infinite;
}

@keyframes v7-coda-logo-ripple-settled {
  0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.08); }
  16% { opacity: 0.86; transform: translate3d(-50%, -50%, 0) scale(0.48); }
  70% { opacity: 0.2; transform: translate3d(-50%, -50%, 0) scale(0.76); }
  100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.92); }
}

body.deck-v7.coda-finished .scene--coda .coda-brand {
  animation: v7-coda-brand-float 4.2s ease-in-out infinite;
}

.deck-v7 .scene--coda .coda-end-actions {
  position: fixed;
  z-index: 47;
  top: calc(50% + clamp(96px, 14vh, 142px));
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(92vw, 680px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 10px, 0);
  transition:
    opacity 560ms var(--v7-ease),
    transform 680ms var(--v7-ease);
  visibility: hidden;
}

body.deck-v7.coda-active.coda-finished .scene--coda .coda-end-actions[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
  transition-delay: 420ms;
  visibility: visible;
}

.deck-v7 .scene--coda .coda-end-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.deck-v7 .scene--coda .coda-end-action--details {
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.deck-v7 .scene--coda .coda-end-action--details:hover,
.deck-v7 .scene--coda .coda-end-action--details:focus-visible {
  border-color: rgba(245, 185, 46, 0.72);
  background: rgba(245, 185, 46, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.deck-v7 .scene--coda .coda-end-action--replay {
  border-color: rgba(255, 255, 255, 0.9);
  background: #fff;
  color: #090909;
}

.deck-v7 .scene--coda .coda-end-action--replay:hover,
.deck-v7 .scene--coda .coda-end-action--replay:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.deck-v7 .scene--coda .coda-end-action:focus-visible {
  outline: 2px solid rgba(245, 185, 46, 0.9);
  outline-offset: 3px;
}

@keyframes v7-coda-brand-float {
  0%, 100% { transform: translate3d(-50%, -50%, 0) scale(1); }
  50% { transform: translate3d(-50%, calc(-50% - 5px), 0) scale(1.008); }
}

.deck-v7 .qmind-worldmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.deck-v7 .qmind-worldmark > span:first-child {
  font-weight: 650;
}

.deck-v7 .qmind-worldmark > span:last-child {
  margin-left: -0.15em;
  font-weight: 650;
}

.deck-v7 .qmind-worldmark__connector {
  display: block;
  align-self: flex-end;
  flex: 0 0 0.36em;
  width: 0.36em;
  height: 2px;
  margin: 0 -0.13em 0.12em -0.1em;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.deck-v7 .qmind-worldmark__connector::after {
  left: auto;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
}

.deck-v7 .scene--coda #codaPointer {
  z-index: 9;
  top: calc(18% + var(--pointer-progress, 0) * 54%);
  left: calc(90% - var(--pointer-progress, 0) * 24%);
  width: 28px;
  height: 28px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.96)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
  transform: scale(1);
  transform-origin: 8% 8%;
  animation: none !important;
  transition: filter 120ms ease, transform 100ms ease;
}

.deck-v7 .scene--coda #codaPointer.is-clicked {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.96)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.62));
  transform: scale(0.86);
}

body.deck-v7.coda-active .scene--11.is-coda-source {
  opacity: calc(1 - var(--coda-entry-progress, 0));
  clip-path: circle(calc((1 - var(--coda-entry-progress, 0)) * 75vmax + 2px) at 50% 50%);
  transform: translate3d(0, 0, 0) scale(calc(1 - var(--coda-entry-progress, 0) * 0.014)) !important;
}

/* The coda is its own black stage. Hidden accessibility copy can never leak
   into the visual layer, even when an earlier stylesheet is cached. */
.deck-v7 .scene--coda {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: #000;
  color: #fff;
  isolation: isolate;
}

.deck-v7 .scene--coda .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.deck-v7 .scene--coda::after {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: block !important;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 34px rgba(255, 255, 255, 0.06);
  content: "";
  opacity: var(--coda-screen-collapse-progress, 0);
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(calc(1 - var(--coda-screen-collapse-progress, 0) * 0.995));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.deck-v7 .scene--coda .coda-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 34px);
  margin-top: 0.5em;
}

.deck-v7 .scene--coda .coda-choice-row p[data-coda-line^="option-"] {
  width: auto;
  min-width: 0;
  padding: 0.72em 1em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.deck-v7:not(.film-mode) .scene--coda .coda-choice-row p[data-coda-line="option-02"] {
  cursor: pointer;
}

.deck-v7 .scene--coda .coda-choice-row p[data-coda-line="option-02"].is-hovered {
  border-color: rgba(245, 185, 46, 0.72);
  box-shadow: 0 0 0 1px rgba(245, 185, 46, 0.12), 0 0 24px rgba(245, 185, 46, 0.11);
  color: #fff;
}

.deck-v7 .scene--coda .coda-final-dot {
  position: fixed;
  z-index: 45;
  top: 50%;
  left: 50%;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--v7-gold);
  box-shadow: 0 0 8px rgba(245, 185, 46, 0.92), 0 0 30px rgba(245, 185, 46, 0.48);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}

body.deck-v7.coda-active .topbar,
body.deck-v7.coda-active .progress {
  opacity: 0 !important;
  pointer-events: none;
}

/* Mobile browsers reserve room for their own controls outside fullscreen. */
body.deck-v7.film-mode .deck {
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
}

@supports (height: 100dvh) {
  body.deck-v7.film-mode .deck {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
}

@media (orientation: landscape) and (pointer: coarse) {
  body.deck-v7.film-mode .scene:not(.scene--11) .narration-caption {
    bottom: max(20px, calc(12px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (orientation: landscape) and (max-height: 680px) {
  .deck-v7 .topbar {
    top: 8px;
    right: 12px;
    left: 12px;
    height: 38px;
    min-height: 38px;
  }

  .deck-v7 .topbar__tools .tool-button__label,
  .deck-v7 .topbar__tools .tool-button__icon + .tool-button__label {
    display: none;
  }

  .deck-v7 .tool-button {
    min-width: 30px;
    min-height: 28px;
    padding-inline: 7px;
  }

  .deck-v7 .v7-beat,
  .deck-v7 .scene--01 .v7-beat,
  .deck-v7 .scene--02 .v7-beat,
  .deck-v7 .scene--03 .v7-beat,
  .deck-v7 .scene--09 .v7-beat,
  .deck-v7 .scene--10 .v7-beat,
  .deck-v7 .scene--11 .v7-beat {
    top: 57px;
    right: 20px;
    left: 20px;
    max-width: none;
    font-size: clamp(25px, 4vw, 42px);
    text-align: center;
  }

  .deck-v7 .scene--05 .qmind-wordmark {
    top: 56px;
    left: 142px;
    font-size: clamp(31px, 4.7vw, 48px);
  }

  .deck-v7 .qmind-logo-crop--scene {
    width: clamp(150px, 22vw, 178px);
  }

  .deck-v7 .narration-caption,
  .deck-v7 .scene.scene--01 .narration-caption,
  .deck-v7 .scene.scene--02 .narration-caption,
  .deck-v7 .scene.scene--03 .narration-caption,
  body.deck-v7.film-mode .scene--11 .narration-caption {
    right: auto;
    bottom: 10px;
    left: 50%;
    width: min(88vw, 760px);
  }

  .deck-v7 .scene--11 .narration-caption,
  body.deck-v7.film-mode .scene--11 .narration-caption {
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .deck-v7 .scene--11 .v7-beat {
    display: none !important;
  }

  .deck-v7 .scene--11 .story-copy {
    top: 64px;
    width: min(39vw, 360px);
  }

  .deck-v7 .scene--11 .story-copy h1 {
    max-width: 100%;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.02;
  }

  .deck-v7 .narration-caption p {
    font-size: clamp(12px, 1.6vw, 15px);
  }

  body.deck-v7.film-mode .scene--01 .story-copy {
    right: 24px;
    bottom: 52px;
    width: min(46vw, 390px);
  }

  body.deck-v7.film-mode .scene--01 .story-copy h1 {
    font-size: clamp(24px, 5.2vw, 38px);
  }

  .deck-v7 .scene--11 .qreader-reel {
    top: 54%;
    left: 77%;
    height: min(64vh, 250px);
  }

  .deck-v7 .scene--11 .qmind-architecture {
    top: 54%;
    left: 77%;
    width: min(37vw, 286px);
  }

  .deck-v7 .scene--11 .qmind-architecture__node {
    width: clamp(58px, 9vw, 78px);
    gap: 4px;
    font-size: clamp(9px, 1.4vw, 11px);
  }

  .deck-v7 .scene--11 .qmind-architecture__icon {
    width: clamp(34px, 5.2vw, 42px);
  }

  .deck-v7 .qmind-logo-crop--world {
    width: clamp(82px, 13vw, 112px);
  }

  .deck-v7 .scene--coda .coda-choice-row {
    gap: 10px;
  }

  .deck-v7 .scene--coda .coda-choice-row p[data-coda-line^="option-"] {
    padding: 0.55em 0.68em;
  }

  .deck-v7 .scene--coda .coda-brand {
    font-size: clamp(42px, 8vw, 76px);
  }

  .deck-v7 .scene--coda .coda-end-actions {
    top: calc(50% + 88px);
    gap: 8px;
  }

  .deck-v7 .scene--coda .coda-end-action {
    height: 38px;
    min-height: 38px;
    padding-inline: 15px;
    font-size: clamp(11px, 2.4vh, 13px);
  }
}

.deck-v7 .tool-button--product .tool-button__label {
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  .deck-v7 .scene:not(.scene--coda) .scene-art > img,
  .deck-v7 .scene-video,
  .deck-v7 .v7-beat__char,
  .deck-v7 .narration-caption p,
  .deck-v7 .scene .semantic-layer [data-gold-action],
  .deck-v7 .scene--11 .qreader-reel,
  .deck-v7 .scene--11 .qreader-reel__shot,
  .deck-v7 .scene--11 .qmind-architecture,
  .deck-v7 .scene--11 .qmind-architecture__edge,
  .deck-v7 .scene--11 .qmind-architecture__node,
  .deck-v7 .scene--11 .qmind-architecture__label,
  .deck-v7 .scene--11 .qmind-architecture__core {
    transition: none !important;
    animation: none !important;
  }

  .deck-v7 .scene--coda .coda-end-actions {
    transition: opacity 100ms linear !important;
    transform: translate3d(-50%, 0, 0) !important;
  }

  .deck-v7 .scene-video.is-video-held {
    animation: none !important;
    transform: scale(1.016) !important;
  }

  .deck-v7 .v7-beat__phrase {
    display: inline-block;
    opacity: 1;
  }

  .deck-v7 .v7-beat__char,
  .deck-v7 .narration-caption p.is-active {
    opacity: 1;
  }
}
