/* Generated from src/styles/; see manifest.json for cascade order. */
/* Painted landscape assets share one composition across morning, noon and night.
   Scenery and the app deck are separate so lighting never tints the app UI. */
.journey-visual {
  background: #a5c8f5;
  padding: 68px 26px 24px;
  isolation: isolate;
}
.journey-shell[data-scene] .journey-visual {
  background: #a5c8f5;
}
.pasture-sky {
  z-index: 0;
  isolation: isolate;
  contain: paint;
}
.pasture-scene,
.pasture-picture,
.pasture-picture > img,
.pasture-clouds,
.pasture-dawn,
.pasture-evening,
.pasture-night {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.pasture-scene {
  isolation: isolate;
}
.pasture-picture > img {
  object-fit: cover;
  object-position: center bottom;
}
.pasture-dawn {
  background: linear-gradient(155deg, #ffe0bd 0%, #f4e8dc 25%, #ffffff 55%);
  mix-blend-mode: multiply;
  opacity: 0.42;
}
.pasture-evening {
  background: linear-gradient(180deg, #b69ac9 0%, #f2bc9a 65%, #d2a99d 100%);
  mix-blend-mode: soft-light;
  opacity: 0;
}
.pasture-night {
  background: linear-gradient(180deg, #243867 0%, #8399bd 42%, #f5f7fb 70%, #ffffff 100%);
  mix-blend-mode: multiply;
  opacity: 0;
}
.pasture-clouds {
  overflow: hidden;
}
.pasture-cloud {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  opacity: 0.85;
  animation: pasture-cloud-drift 22s ease-in-out infinite alternate;
  animation-play-state: paused;
  will-change: transform;
}
.pasture-cloud-a {
  left: -6%;
  top: 19%;
  width: 28%;
  animation-delay: -8s;
}
.pasture-cloud-b {
  right: -4%;
  top: 34%;
  width: 25%;
  animation-delay: -19s;
}
.pasture-cloud-c {
  left: 58%;
  top: 9%;
  width: 16%;
  opacity: 0.6;
  animation-delay: -13s;
}
@keyframes pasture-cloud-drift {
  from {
    transform: translate3d(-8px, 1px, 0);
  }
  to {
    transform: translate3d(13px, -4px, 0);
  }
}
.journey-orbit {
  width: 64px;
  height: 64px;
  left: 12%;
  top: 19%;
  z-index: 2;
}
.journey-orbit > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.journey-orbit > .journey-moon {
  padding: 3px;
  box-sizing: border-box;
}
.pasture-stars {
  z-index: 1;
}
.pasture-stars > i {
  width: 3px;
  height: 3px;
  opacity: 0.75;
  animation: pasture-twinkle 5.7s ease-in-out var(--twinkle-delay, 0s) infinite;
  animation-play-state: paused;
}
.pasture-stars > i:nth-child(3n) {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 6px #fff6d54d;
}
.pasture-stars > i:nth-child(8) {
  left: 15%;
  top: 38%;
}
.pasture-stars > i:nth-child(9) {
  left: 81%;
  top: 28%;
}
.pasture-stars > i:nth-child(10) {
  left: 34%;
  top: 14%;
}
.pasture-stars > i:nth-child(11) {
  left: 67%;
  top: 6%;
}
.pasture-stars > i:nth-child(12) {
  left: 92%;
  top: 54%;
}
@keyframes pasture-twinkle {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}
.pasture-foreground {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.pasture-plant {
  position: absolute;
  display: block;
  bottom: -2.5%;
  width: 11%;
  height: auto;
  aspect-ratio: 280/373;
  transform-origin: 50% 98%;
  animation: pasture-wind var(--wind-time, 6s) cubic-bezier(0.45, 0, 0.55, 1) var(--wind-delay, 0s)
    infinite alternate;
  animation-play-state: paused;
  will-change: transform;
}
.pasture-plant > img {
  display: block;
  width: 100%;
  height: auto;
}
.pasture-plant-0 {
  left: -2%;
  width: 13%;
}
.pasture-plant-1 {
  left: 18%;
  width: 8%;
  bottom: -3%;
}
.pasture-plant-2 {
  left: 37%;
  width: 8%;
  bottom: -4%;
}
.pasture-plant-3 {
  right: 35%;
  width: 7%;
  bottom: -4%;
}
.pasture-plant-4 {
  right: 17%;
  width: 8%;
  bottom: -3%;
}
.pasture-plant-5 {
  right: -3%;
  width: 14%;
}
@keyframes pasture-wind {
  0% {
    transform: rotate(-3deg) skewX(-2deg) translate3d(-1px, 0, 0);
  }
  50% {
    transform: rotate(0.5deg) skewX(1deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotate(4deg) skewX(3deg) translate3d(1px, 0, 0);
  }
}
.pasture-is-live .pasture-cloud,
.pasture-is-live .pasture-plant,
.pasture-is-live .pasture-stars > i {
  animation-play-state: running;
}
/* The landscape sheep are painted into the scene; no overlaid mascot sticker. */
.is-scroll-story .journey-visual > .journey-card {
  max-width: calc(100% - 88px);
  max-height: 650px;
  box-shadow:
    0 8px 25px #243b5417,
    0 1px 3px #243b5410;
}
@media (min-width: 761px) {
  .journey-visual {
    border-radius: 28px;
  }
  .pasture-foreground {
    border-radius: 28px;
  }
}
@media (max-width: 760px) {
  .is-scroll-story .journey-shell {
    gap: 12px;
  }
  .journey-visual {
    border-radius: 22px;
  }
  .journey-orbit {
    width: 43px;
    height: 43px;
    left: 12%;
    top: 10%;
  }
  .is-scroll-story .journey-visual > .journey-card {
    max-width: calc(100% - 50px);
    border-radius: 14px;
  }
  .pasture-cloud-a {
    top: 18%;
    left: -9%;
    width: 34%;
  }
  .pasture-cloud-b {
    top: 38%;
    right: -8%;
    width: 28%;
  }
  .pasture-cloud-c {
    top: 9%;
    left: 57%;
    width: 17%;
  }
  .pasture-plant {
    width: 11%;
  }
  .pasture-plant-0 {
    left: -3%;
    width: 15%;
    bottom: -1.5%;
  }
  .pasture-plant-1 {
    left: 22%;
    width: 9%;
    bottom: -2%;
  }
  .pasture-plant-2 {
    left: 39%;
    width: 9%;
    bottom: -2.5%;
  }
  .pasture-plant-3 {
    right: 31%;
    width: 7%;
    bottom: -3%;
  }
  .pasture-plant-4 {
    right: 18%;
    width: 9%;
    bottom: -2%;
  }
  .pasture-plant-5 {
    right: -3%;
    width: 16%;
    bottom: -1.5%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pasture-cloud,
  .pasture-plant,
  .pasture-stars > i {
    animation: none;
    will-change: auto;
  }
  .journey-shell[data-scene="1"] .pasture-dawn {
    opacity: 0;
  }
  .journey-shell[data-scene="2"] .pasture-dawn {
    opacity: 0;
  }
  .journey-shell[data-scene="2"] .pasture-night {
    opacity: 0.96;
  }
  .journey-shell[data-scene="2"] .pasture-foreground {
    filter: brightness(1) saturate(0.98);
  }
  .journey-shell[data-scene="1"] .journey-orbit {
    left: 50%;
    top: 6%;
  }
  .journey-shell[data-scene="2"] .journey-orbit {
    left: 88%;
    top: 19%;
  }
}
.pasture-moonlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(ellipse at 88% 16%, #c3d8ff33 0%, #c3d8ff12 40%, transparent 75%);
}
/* Reduced motion and short viewports use the same artwork with still chapter lighting. */
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="1"] .pasture-dawn,
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .pasture-dawn {
  opacity: 0;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="1"] .journey-orbit {
  left: 50%;
  top: 6%;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .pasture-night {
  opacity: 0.96;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .pasture-moonlight {
  opacity: 0;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .journey-orbit {
  left: 88%;
  top: 19%;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .journey-sun {
  opacity: 0;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .journey-moon,
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .journey-stars {
  opacity: 1;
}
.journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .pasture-foreground {
  filter: brightness(1) saturate(0.98);
}
.journey-scroll:not(.is-scroll-story) .journey-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-rows: 650px;
  align-items: stretch;
  padding: 24px 0;
}
.journey-scroll:not(.is-scroll-story) .journey-ui {
  height: 100%;
  width: auto;
  max-width: calc(100% - 88px);
  aspect-ratio: 393/650;
}
@media (max-width: 760px) {
  .journey-scroll:not(.is-scroll-story) .journey-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 520px;
    gap: 20px;
  }
  .journey-scroll:not(.is-scroll-story) .journey-ui {
    max-width: calc(100% - 50px);
  }
  .journey-scroll:not(.is-scroll-story) .journey-step-copy {
    margin-top: 0;
  }
  .journey-scroll:not(.is-scroll-story) .journey-shell[data-scene="2"] .journey-orbit {
    top: 10%;
  }
}

/* Keep the review switch mounted so its selection pill can slide continuously. */
.journey-card .journey-formats {
  position: relative;
  isolation: isolate;
}
.journey-card .journey-formats::before {
  content: "";
  position: absolute;
  left: calc(4 * var(--u));
  top: calc(4 * var(--u));
  bottom: calc(4 * var(--u));
  width: calc(50% - 6 * var(--u));
  background: #fff;
  border-radius: calc(10 * var(--u));
  box-shadow: 0 2px 6px #20264908;
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}
.journey-card .journey-formats[data-active-format="flash"]::before {
  transform: translateX(calc(100% + 4 * var(--u)));
}
.journey-card .journey-formats button {
  position: relative;
  z-index: 1;
}
.journey-card .journey-formats button[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .journey-card .journey-formats::before {
    transition: none;
  }
}
.journey-scroll {
  overflow-anchor: none;
}
.is-scroll-story .journey-shell,
.journey-visual {
  overflow: clip;
}

/* Continuous cloud travel; loop endpoints are completely outside the scene. */
.pasture-cloud {
  left: -35%;
  right: auto;
  animation-name: pasture-cloud-flow;
  animation-timing-function: linear;
  animation-direction: normal;
}
.pasture-cloud-a {
  animation-duration: 44s;
  animation-delay: -10s;
}
.pasture-cloud-b {
  animation-duration: 58s;
  animation-delay: -37s;
}
.pasture-cloud-c {
  animation-duration: 68s;
  animation-delay: -22s;
}
@keyframes pasture-cloud-flow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--cloud-travel, 950px), -5px, 0);
  }
}
.pasture-flock {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pasture-walker {
  position: absolute;
  width: 17%;
  bottom: 13%;
  left: 3%;
  --walk-distance: 32px;
  --walk-time: 27s;
  --out-facing: -1;
  --back-facing: 1;
  animation: pasture-stroll var(--walk-time) linear infinite;
  animation-play-state: paused;
}
.pasture-walker-1 {
  left: auto;
  right: 3%;
  bottom: 9%;
  --walk-distance: -29px;
  --walk-time: 31s;
  --out-facing: 1;
  --back-facing: -1;
  animation-delay: -9s;
}
.pasture-walker-2 {
  left: 5%;
  width: 8%;
  bottom: 36%;
  --walk-distance: 20px;
  --walk-time: 35s;
  animation-delay: -17s;
}
.pasture-facing {
  display: block;
  width: 100%;
  transform-origin: 50% 50%;
  animation: pasture-face var(--walk-time) steps(1, end) infinite;
  animation-play-state: paused;
  animation-delay: inherit;
}
.pasture-facing img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes pasture-stroll {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(var(--walk-distance));
  }
}
@keyframes pasture-face {
  0% {
    transform: scaleX(var(--out-facing));
  }
  50% {
    transform: scaleX(var(--back-facing));
  }
}
.pasture-is-live .pasture-walker,
.pasture-is-live .pasture-facing {
  animation-play-state: running;
}
@media (max-width: 760px) {
  .pasture-cloud {
    left: -35%;
    right: auto;
  }
  .pasture-walker {
    width: 21%;
    bottom: 6%;
    left: 3%;
    --walk-distance: 14px;
  }
  .pasture-walker-1 {
    left: auto;
    right: 3%;
    bottom: 4%;
    width: 20%;
    --walk-distance: -13px;
  }
  .pasture-walker-2 {
    width: 9%;
    left: 5%;
    bottom: 29%;
    --walk-distance: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pasture-walker,
  .pasture-facing {
    animation: none;
  }
  .pasture-facing {
    transform: scaleX(var(--out-facing));
  }
}

/* Let the chapter copy sit at the visual centre of the app scene. */
.journey-nav {
  display: none;
}
.journey-story,
.is-scroll-story .journey-story {
  justify-content: center;
  padding: 0;
}
.journey-step-copy {
  margin: 0;
  padding-top: 0;
}
.journey-caption {
  min-height: 0;
}
@media (max-width: 760px) {
  .journey-story,
  .is-scroll-story .journey-story {
    display: flex;
    justify-content: center;
  }
  .is-scroll-story .journey-shell {
    grid-template-rows: 140px minmax(0, 1fr);
  }
  .journey-step-number {
    top: 4px;
  }
  .journey-caption,
  .is-scroll-story .journey-caption {
    min-height: 0;
  }
}

.journey-shell,
.is-scroll-story .journey-shell {
  border-top: 0;
}
.journey-step-number {
  font-weight: 650;
}
@media (max-width: 760px) {
  .journey-step-copy {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 22px;
    padding: 0;
    align-items: center;
  }
  .journey-step-number {
    position: static;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin: 0;
    font-weight: 650;
  }
  .journey-step-title {
    grid-column: 2;
    grid-row: 1;
  }
  .journey-caption,
  .is-scroll-story .journey-caption {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Persistent text layers scrub together with the app cards, in both directions. */
.journey-copy-stack {
  display: grid;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.journey-copy-stack > .journey-step-copy {
  grid-area: 1 / 1;
  min-width: 0;
}
.is-scroll-story .journey-copy-stack > .journey-step-copy {
  visibility: visible;
}
.journey-scroll:not(.is-scroll-story) .journey-step-copy[aria-hidden="true"] {
  visibility: hidden;
}

/* Listen Labs reference: bottom-to-top soft wipe, then next chapter rises in. */
.is-scroll-story .journey-copy-stack {
  overflow: clip;
}
.is-scroll-story .journey-copy-stack > .journey-step-copy {
  --copy-cut: 125%;
  mask-image: linear-gradient(
    to bottom,
    #000 calc(var(--copy-cut) - 25%),
    transparent var(--copy-cut)
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(var(--copy-cut) - 25%),
    transparent var(--copy-cut)
  );
}
.is-scroll-story .journey-copy-stack {
  padding-bottom: 24px;
  margin-bottom: -24px;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 24px), transparent 100%);
}

/* Only articulated parts animate inside the SVGs; the illustration stays still. */
.flow-art > img,
.flow-after .flow-art > img {
  animation: none;
  transform: none;
  will-change: auto;
}
.native-recommend .native-expression-row {
  position: relative;
}
.native-recommend .native-expression-row > .recommend-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  border-radius: inherit;
  cursor: pointer;
}
.native-recommend .native-expression-row > [data-speak] {
  position: relative;
  z-index: 2;
}
.native-recommend .recommend-open:hover {
  background: #2557ff06;
}
.native-recommend .recommend-open:focus-visible {
  outline: 2px solid #2557ff;
  outline-offset: -2px;
}

.native-recommend:has(> .expression-detail) {
  padding: 0;
  --u: calc(100cqw / 393);
}

/* The exact original art is the accessible fallback beneath its connected mesh. */
.flow-motion-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.has-mesh-motion .flow-art > img {
  opacity: 0;
}

.native-recommend,
#photo-native,
:is(#journey-screen, .journey-preview-screen) {
  position: relative;
}

/* Match the app edge: no white outline or empty strip below the keyboard. */
.journey-ui,
.is-scroll-story .journey-ui {
  border: 0;
}
.journey-card [data-scene="keyboard"] {
  display: flex;
  flex-direction: column;
  background: #e4e5e9;
}
.journey-card [data-scene="keyboard"] > .demo-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.journey-card [data-scene="keyboard"] .chat-history {
  flex: 1;
  min-height: 0;
}
.journey-card [data-scene="keyboard"] .message-compose,
.journey-card [data-scene="keyboard"] > .native-keyboard {
  flex-shrink: 0;
}

.message-compose > div.is-typing::after {
  content: "";
  display: inline-block;
  vertical-align: -0.12em;
  width: 1px;
  height: 1.1em;
  background: #008bff;
  margin-left: 1px;
}

/* Shared keyboard parts: one candidate style, one mode button, one key style. */
.candidate-row > button.keyboard-candidate {
  appearance: none;
  border: 0;
  border-radius: calc(5 * var(--u));
  background: transparent;
  color: #141414;
  font:
    400 calc(16 * var(--u))/1.25 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  padding: calc(4 * var(--u)) calc(8 * var(--u));
  cursor: pointer;
}
.candidate-row > button.keyboard-candidate:hover,
.candidate-row > button.keyboard-candidate:active {
  background: #d1d3d8;
}
.candidate-separator {
  flex: none;
  width: calc(0.5 * var(--u));
  height: calc(18 * var(--u));
  background: #a8aaae;
}
.keyboard-modes > button {
  flex: 1;
  appearance: none;
  border: 0;
  background: #fff;
  color: #141414;
  border-radius: calc(8 * var(--u));
  font:
    400 calc(14 * var(--u))/calc(20 * var(--u)) -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  min-height: calc(32 * var(--u));
  padding: calc(6 * var(--u)) 0;
  cursor: pointer;
}
.keyboard-modes > button[aria-pressed="true"] {
  background: #0095ff;
  color: #fff;
  font-weight: 700;
}
.keyboard-modes > button:active {
  background: #d1d3d8;
}
.keyboard-modes {
  padding: calc(3 * var(--u)) calc(1 * var(--u)) calc(6 * var(--u));
}
.keyboard-icon {
  display: block;
  width: calc(23 * var(--u));
  height: calc(23 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kana-keys > .keyboard-key.is-small {
  font-size: calc(13 * var(--u));
}
.kana-keys > .keyboard-key .keyboard-icon {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}
.qwerty-keys {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  padding: calc(4 * var(--u)) calc(1 * var(--u));
  height: calc(201 * var(--u));
  box-sizing: content-box;
}
.qwerty-row {
  display: flex;
  justify-content: center;
  gap: calc(6 * var(--u));
  height: calc(42 * var(--u));
  flex-shrink: 0;
}
.qwerty-row > .keyboard-key {
  display: grid;
  place-items: center;
  min-width: 0;
  width: calc(32.5 * var(--u));
  height: 100%;
  border-radius: calc(8 * var(--u));
  background: #fff;
  color: #141414;
  font:
    400 calc(22 * var(--u))/1 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
.qwerty-row.row-2 {
  justify-content: space-between;
}
.qwerty-row.row-2 > .keyboard-key:first-child,
.qwerty-row.row-2 > .keyboard-key:last-child {
  width: calc(44 * var(--u));
}
.qwerty-controls > .keyboard-key {
  width: calc(45 * var(--u));
  font-size: calc(14 * var(--u));
}
.qwerty-controls > .space-key {
  flex: 1;
}
.qwerty-controls > .keyboard-key:last-child {
  width: calc(80 * var(--u));
}

.keyboard-layout,
.native-quiz {
  position: relative;
  overflow-x: clip;
}
.keyboard-layout {
  flex-shrink: 0;
}
.keyboard-modes > button {
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.feedback-mark {
  display: block;
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flash-face {
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  perspective: 700px;
}
.flash-face:active {
  cursor: grabbing;
}
.flash-rotor {
  position: relative;
  width: 100%;
  min-height: calc(256 * var(--u));
  transform-style: preserve-3d;
}
.flash-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(16 * var(--u));
  border: 1px solid #e5e8f2;
  border-radius: calc(24 * var(--u));
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flash-panel[data-face="back"] {
  transform: rotateY(180deg);
}
.flash-panel > .demo-audio,
.flash-panel > .flash-audio-space {
  align-self: flex-end;
  height: calc(44 * var(--u));
  flex-shrink: 0;
}
.flash-panel > button[data-action="flip"] {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(24 * var(--u));
  min-height: calc(164 * var(--u));
  padding: 0 calc(16 * var(--u)) calc(24 * var(--u));
  border: 0;
  background: transparent;
  color: #202649;
  width: 100%;
  cursor: inherit;
}
.flash-panel > button[data-action="flip"] > svg {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  fill: none;
  stroke: #2557ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Answer feedback covers the existing question; it never reserves blank space. */
.journey-card [data-scene="quiz"] > .native-feedback {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  width: 100%;
  opacity: 1;
}
/* Mobile app scenes fill the landscape like desktop, with a lower visual center. */
@media (max-width: 760px) {
  .journey-visual {
    padding: 52px 12px 16px;
  }
  .is-scroll-story .journey-visual > .journey-card,
  .journey-scroll:not(.is-scroll-story) .journey-ui {
    max-width: calc(100% - 16px);
    max-height: none;
  }
}
