/* /put-pacienta-apnoe/ — interactive patient story */
.mp-story {
  --mp-story-ink: #2a3732;
  --mp-story-muted: #434955;
  --mp-story-line: #e8ecf0;
  --mp-story-green: #00bf80;
  --mp-story-green-dark: #009e6a;
  --mp-story-blue: #0055a6;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 40px;
  color: var(--mp-story-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

.mp-story__head {
  margin-bottom: 22px;
  text-align: center;
}

.mp-story__eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mp-story-green-dark);
}

.mp-story__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mp-story-ink);
}

.mp-story__lead {
  margin: 0;
  font-size: 16px;
  color: var(--mp-story-muted);
}

.mp-story__stage {
  position: relative;
  border: 1px solid var(--mp-story-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(42, 55, 50, 0.06);
  /* desktop sticky mint nav ~48px */
  scroll-margin-top: 56px;
}

.mp-story__progress {
  height: 4px;
  background: #eef2f5;
}

.mp-story__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mp-story-green), var(--mp-story-blue));
  transition: width 0.35s ease;
}

.mp-story__frame {
  min-height: 360px;
  padding: 22px 22px 8px;
  text-align: center;
}

.mp-story__visual {
  position: relative;
  height: 220px;
  margin: 0 0 18px;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mp-story__visual--art {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  background: #eef2f5;
}

.mp-story__art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: mp-story-art-in 0.55s ease both;
}

.mp-story__art--fade .mp-story__art-img {
  animation: mp-story-art-in 0.55s ease both, mp-story-ken 12s ease-in-out infinite alternate;
}

.mp-story__art--car .mp-story__art-img {
  animation: mp-story-art-in 0.45s ease both, mp-story-nod 2.8s ease-in-out infinite;
}

.mp-story__art--car::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 18%;
  width: 70px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 220, 100, 0.85);
  box-shadow: 0 0 28px 10px rgba(255, 200, 80, 0.45);
  animation: mp-story-blink 1.3s ease-in-out infinite;
  pointer-events: none;
}

.mp-story__art--breath::before {
  content: none;
}

.mp-story__breath {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.mp-story__breath-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(26, 35, 50, 0.45);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mp-story__breath-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35d49a, #00bf80);
  transform-origin: left center;
  transform: scaleX(0.12);
  transition: transform 0.95s ease-in-out, background 0.35s ease, opacity 0.35s ease;
  opacity: 0.95;
}

.mp-story__breath-bar.is-full {
  transform: scaleX(1);
  background: linear-gradient(90deg, #35d49a, #00bf80);
}

.mp-story__breath-bar.is-empty {
  transform: scaleX(0.12);
  opacity: 0.55;
}

.mp-story__breath-bar.is-pause {
  transform: scaleX(0.06);
  background: linear-gradient(90deg, #ff7a7a, #e24545);
  opacity: 0.9;
  transition: transform 0.35s ease, background 0.35s ease;
}

.mp-story__breath-label {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 35, 50, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.mp-story__breath-label.is-pause {
  background: rgba(180, 40, 40, 0.88);
}

.mp-story__breath-hint {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 191, 128, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  max-width: 92%;
  white-space: normal;
  animation: mp-story-chip-pulse 1.4s ease-in-out infinite;
  pointer-events: none;
}

.mp-story__breath-bar.is-help {
  transform: scaleX(0.55);
  background: linear-gradient(90deg, #7ee0b8, #00bf80);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mp-story__visual--art[data-mp-breath-art].is-pause-tap {
  cursor: pointer;
  touch-action: manipulation;
}

.mp-story__visual--art[data-mp-breath-art].is-pause-tap .mp-story__art-img {
  filter: saturate(0.85) brightness(0.92);
}

.mp-story__visual--art[data-mp-breath-art].is-breath-help .mp-story__art-img {
  animation: mp-story-breath-tap 0.35s ease;
}

@keyframes mp-story-breath-tap {
  0% { transform: scale(1); filter: brightness(0.92); }
  40% { transform: scale(1.03); filter: brightness(1.08); }
  100% { transform: scale(1); filter: brightness(0.92); }
}

.mp-story__art--pulse .mp-story__art-img {
  animation: mp-story-art-in 0.45s ease both, mp-story-soft-pulse 3s ease-in-out infinite;
}

.mp-story__art--sunrise .mp-story__art-img {
  animation: mp-story-art-in 0.6s ease both, mp-story-ken 14s ease-in-out infinite alternate;
}

.mp-story__art--sunrise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 210, 120, 0.18), transparent 45%);
  pointer-events: none;
  animation: mp-story-glow 3.5s ease-in-out infinite alternate;
}

.mp-story__visual--search-panel {
  height: auto;
  min-height: 0;
  margin: 0 0 18px;
  background: transparent;
  overflow: visible;
}

.mp-story__search {
  margin: 0 0 18px;
}

.mp-story__browser {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d7dee6;
  box-shadow: 0 10px 24px rgba(42, 55, 50, 0.08);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 16px;
  box-sizing: border-box;
  text-align: left;
}

.mp-story__browser-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #8a94a0;
  text-align: center;
}

.mp-story__browser-tip {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--mp-story-muted);
  text-align: center;
}

.mp-story__browser-chip {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0 0 10px;
  border: 1px dashed rgba(0, 191, 128, 0.55);
  background: #f3fbf7;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-story-green-dark);
  cursor: pointer;
  text-align: center;
}

.mp-story__browser-chip:hover,
.mp-story__browser-chip:focus-visible {
  border-style: solid;
  border-color: var(--mp-story-green);
  outline: none;
}

.mp-story__browser-chip.is-pulse {
  animation: mp-story-chip-pulse 1.4s ease-in-out infinite;
}

@keyframes mp-story-chip-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 191, 128, 0.4);
    transform: scale(1);
    border-color: rgba(0, 191, 128, 0.55);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 191, 128, 0);
    transform: scale(1.02);
    border-color: var(--mp-story-green);
    background: #e8f9f1;
  }
}

.mp-story__browser-go {
  appearance: none;
  margin: 10px auto 0;
  align-self: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 28px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--mp-story-green);
  cursor: pointer;
  min-width: 160px;
}

.mp-story__browser-go:hover {
  background: var(--mp-story-green-dark);
}

.mp-story__browser-go.is-pulse {
  animation: mp-story-go-pulse 1.4s ease-in-out infinite;
}

.mp-story__browser.is-done .mp-story__result {
  margin-top: 0;
}

@keyframes mp-story-go-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 191, 128, 0.45); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(0, 191, 128, 0); transform: scale(1.03); }
}

.mp-story__result-text {
  margin: 8px 0 0;
  font-size: 14px;
}

.mp-story__cpap-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7fafb;
  border: 1px solid var(--mp-story-line);
}

.mp-story__cpap-panel--3d {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: none;
  gap: 10px;
}

.mp-story__cpap3d {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7fafb;
  touch-action: none;
  cursor: grab;
  border: 1px solid var(--mp-story-line);
}

.mp-story__cpap3d--table {
  height: 300px;
  background-color: #ebe4d8;
  background-image: var(--mp-cpap-bg);
  background-size: cover;
  background-position: 42% 68%;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(42, 55, 50, 0.06);
}

.mp-story__cpap3d--table::after {
  /* Soft oval over the flat CPAP in the art so the 3D unit sits cleanly on wood */
  content: '';
  position: absolute;
  left: 28%;
  top: 38%;
  width: 44%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(196, 160, 110, 0.88) 0%,
    rgba(196, 160, 110, 0.55) 42%,
    rgba(196, 160, 110, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

.mp-story__cpap3d:active {
  cursor: grabbing;
}

.mp-story__cpap3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  background: transparent;
}

.mp-story__cpap-hint {
  font-size: 13px;
  color: #8a94a0;
}

@media (min-width: 720px) {
  .mp-story__cpap3d {
    height: 280px;
  }

  .mp-story__cpap3d--table {
    height: 340px;
  }
}

.mp-story__device-screen--float {
  left: auto;
  right: 4%;
  top: auto;
  bottom: 8%;
  width: min(52%, 220px);
  height: auto;
  padding: 10px 12px;
  gap: 6px;
  animation: mp-story-pop 0.55s ease both 0.15s;
}

.mp-story__device-screen--float .mp-story__device-row {
  font-size: 12px;
}

.mp-story__fidget {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 4;
  max-width: min(92%, 420px);
  padding: 12px 18px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(26, 35, 50, 0.92);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(0, 191, 128, 0.22);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  animation: mp-story-fidget-in 0.4s ease both, mp-story-fidget-glow 1.6s ease-in-out infinite;
}

@keyframes mp-story-fidget-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes mp-story-fidget-glow {
  0%,
  100% {
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.35),
      0 0 0 4px rgba(0, 191, 128, 0.18);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.4),
      0 0 0 8px rgba(0, 191, 128, 0.32);
  }
}

@keyframes mp-story-art-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes mp-story-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes mp-story-nod {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(4px) rotate(-0.4deg); }
  55% { transform: translateY(0); }
}

@keyframes mp-story-breath-bar {
  0%, 15% { transform: scaleX(1); opacity: 0.85; }
  35%, 55% { transform: scaleX(0.08); opacity: 0.25; }
  75%, 100% { transform: scaleX(1); opacity: 0.85; }
}

@keyframes mp-story-soft-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes mp-story-glow {
  from { opacity: 0.35; }
  to { opacity: 0.85; }
}

@keyframes mp-story-pop {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mp-story__device-screen--float {
  transform: none;
}

@keyframes mp-story-pop-screen {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mp-story__device-screen--float {
  animation-name: mp-story-pop-screen;
}

@media (prefers-reduced-motion: reduce) {
  .mp-story__art-img,
  .mp-story__art--fade .mp-story__art-img,
  .mp-story__art--car .mp-story__art-img,
  .mp-story__art--pulse .mp-story__art-img,
  .mp-story__art--sunrise .mp-story__art-img,
  .mp-story__art--car::after,
  .mp-story__art--breath::before,
  .mp-story__art--sunrise::after,
  .mp-story__fidget,
  .mp-story__device-screen--float,
  .mp-story__progress-bar {
    animation: none !important;
  }
}

.mp-story__visual--night {
  background: linear-gradient(160deg, #1a2332 0%, #2c3e50 55%, #1b2838 100%);
}

.mp-story__visual--day {
  background: linear-gradient(160deg, #dfe9f2 0%, #f4f7fa 50%, #e8eef4 100%);
}

.mp-story__visual--search {
  background: linear-gradient(160deg, #f7fafc 0%, #eef5f1 100%);
}

.mp-story__visual--office {
  background: linear-gradient(160deg, #e8f6f0 0%, #f4f8fb 100%);
}

.mp-story__car,
.mp-story__desk,
.mp-story__bed {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mp-story__car::before {
  content: "";
  position: absolute;
  left: 18%;
  bottom: 28%;
  width: 46%;
  height: 34%;
  border-radius: 10px 14px 6px 6px;
  background: #4a90c8;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.15);
}

.mp-story__car::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 22%;
  width: 70px;
  height: 4px;
  background: rgba(255, 220, 120, 0.85);
  transform: rotate(-8deg);
  box-shadow: 0 0 24px 8px rgba(255, 200, 80, 0.35);
  animation: mp-story-blink 1.4s ease-in-out infinite;
}

.mp-story__desk::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 22%;
  height: 12px;
  border-radius: 4px;
  background: #8a94a0;
}

.mp-story__desk::after {
  content: "";
  position: absolute;
  left: 38%;
  bottom: 34%;
  width: 24%;
  height: 42%;
  border-radius: 8px 8px 2px 2px;
  background: #c5d0da;
  box-shadow: inset 0 -20px 0 #9aa8b5;
}

.mp-story__bed::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 20%;
  height: 36%;
  border-radius: 8px;
  background: #d8dee6;
}

.mp-story__bed::after {
  content: "…";
  position: absolute;
  right: 18%;
  top: 28%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 28px;
  letter-spacing: 0.2em;
  animation: mp-story-pulse 2s ease-in-out infinite;
}

.mp-story__browser-bar {
  height: 28px;
  border-radius: 6px;
  background: #f0f3f6;
  color: #676f7c;
  font-size: 13px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 10px;
}

.mp-story__browser-input {
  width: 100%;
  border: 1px solid #d0d7df;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--mp-story-ink);
}

.mp-story__browser-input:focus {
  outline: 2px solid rgba(0, 191, 128, 0.35);
  border-color: var(--mp-story-green);
}

.mp-story__result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f3fbf7;
  border: 1px solid #cfeee0;
  text-align: center;
}

.mp-story__result-brand {
  font-weight: 700;
  color: var(--mp-story-green-dark);
}

.mp-story__result-logo {
  display: block;
  width: auto;
  max-width: 200px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto;
}

.mp-story__result-url {
  display: block;
  font-size: 12px;
  color: var(--mp-story-blue);
  margin-top: 6px;
}

.mp-story__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a94a0;
  text-align: center;
}

.mp-story__scene-title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mp-story-ink);
  text-align: center;
}

.mp-story__text {
  margin: 0 auto 12px;
  max-width: 38em;
  text-align: center;
}

.mp-story__choices {
  display: grid;
  gap: 8px;
  margin: 14px auto 6px;
  max-width: 520px;
}

.mp-story__choice {
  appearance: none;
  border: 1px solid var(--mp-story-line);
  background: #f8fafb;
  border-radius: 8px;
  padding: 11px 14px;
  text-align: center;
  font: inherit;
  font-weight: 500;
  color: var(--mp-story-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mp-story__choice:hover,
.mp-story__choice:focus-visible {
  border-color: var(--mp-story-green);
  background: #f3fbf7;
  outline: none;
}

.mp-story__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--mp-story-line);
}

.mp-story__btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--mp-story-green);
  cursor: pointer;
}

.mp-story__btn:hover {
  background: var(--mp-story-green-dark);
}

.mp-story__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.mp-story__btn--ghost {
  background: transparent;
  color: var(--mp-story-blue);
  border: 1px solid #c9d5e2;
  font-weight: 600;
}

.mp-story__btn--ghost:hover {
  background: #f4f8fb;
}

.mp-story__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.mp-story__cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.mp-story__cta-max {
  background: linear-gradient(90deg, #42c8ff 0%, #4ca5ff 42%, #a855f7 100%);
}

.mp-story__cta-max:hover {
  background: linear-gradient(90deg, #35bcef 0%, #4096ee 42%, #9645e8 100%);
}

.mp-story__cta-catalog {
  background: var(--mp-story-green);
}

.mp-story__cta-catalog:hover {
  background: var(--mp-story-green-dark);
}

.mp-story__note {
  margin: 16px auto 0;
  font-size: 14px;
  color: #8a94a0;
  text-align: center;
}

.mp-story__note a {
  color: var(--mp-story-green-dark);
}

.mp-story__hint {
  margin: 10px auto 0;
  max-width: 36em;
  font-size: 14px;
  color: #8a94a0;
  text-align: center;
}

.mp-story__hint a {
  color: var(--mp-story-blue);
}

.mp-story__visual--cpap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mp-story__cpap {
  position: relative;
  width: 160px;
  height: 110px;
  transform: perspective(600px) rotateY(var(--mp-cpap-angle, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.mp-story__cpap-body {
  position: absolute;
  inset: 22px 8px 12px;
  border-radius: 16px 16px 12px 12px;
  background: linear-gradient(160deg, #f4f6f8 0%, #e4e9ee 55%, #d5dde5 100%);
  border: 2px solid #b7c2cc;
  box-shadow: 6px 8px 0 rgba(42, 55, 50, 0.08);
}

.mp-story__cpap-screen {
  position: absolute;
  left: 36px;
  top: 34px;
  width: 78px;
  height: 40px;
  border-radius: 6px;
  background: #1c2430;
  color: #8fd4ff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.mp-story__cpap-hose {
  position: absolute;
  right: 10px;
  top: 28px;
  width: 34px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(180, 220, 235, 0.55), rgba(140, 190, 210, 0.35));
  border: 2px solid #9bb8c6;
}

.mp-story__cpap-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mp-story__mini {
  appearance: none;
  border: 1px solid #c9d5e2;
  background: #fff;
  border-radius: 8px;
  width: 44px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  color: var(--mp-story-ink);
}

.mp-story__mini:hover {
  border-color: var(--mp-story-green);
  background: #f3fbf7;
}

.mp-story__faq {
  margin: 8px auto 0;
  display: grid;
  gap: 6px;
  max-width: 520px;
  text-align: center;
}

.mp-story__faq-lead {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-story-ink);
  text-align: center;
}

.mp-story__faq-lead span {
  font-weight: 400;
  color: #8a94a0;
}

.mp-story__faq-q {
  appearance: none;
  width: 100%;
  text-align: center;
  border: 1px solid var(--mp-story-line);
  background: #f8fafb;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--mp-story-ink);
  cursor: pointer;
}

.mp-story__faq-q.is-open,
.mp-story__faq-q:hover {
  border-color: var(--mp-story-green);
  background: #f3fbf7;
}

.mp-story__faq-a {
  margin: 0 0 6px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3fbf7;
  border: 1px solid #cfeee0;
  font-size: 15px;
  color: var(--mp-story-muted);
  text-align: center;
}

.mp-story__choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mp-story__choice strong {
  font-weight: 600;
  color: var(--mp-story-ink);
}

.mp-story__choice span {
  font-size: 13px;
  font-weight: 400;
  color: #8a94a0;
}

.mp-story__choice.is-selected {
  border-color: var(--mp-story-green);
  background: #eefaf4;
  box-shadow: inset 0 0 0 1px rgba(0, 191, 128, 0.25);
}

.mp-story__choice--suggest strong::after {
  content: ' · совет менеджера';
  font-weight: 500;
  font-size: 12px;
  color: var(--mp-story-green-dark);
}

.mp-story__choice.is-pulse {
  border-color: var(--mp-story-green);
  background: #f3fbf7;
  animation: mp-story-choice-pulse 1.35s ease-in-out infinite;
}

@keyframes mp-story-choice-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 191, 128, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 191, 128, 0);
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-story__choice.is-pulse {
    animation: none;
    box-shadow: 0 0 0 2px rgba(0, 191, 128, 0.35);
  }
}

.mp-story__choices--models {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .mp-story__choices--models {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mp-story__manager-note {
  margin-top: 10px;
}

.mp-story__device-screen {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 18%;
  bottom: 18%;
  border-radius: 12px;
  background: #1a2332;
  color: #e8ecf0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.mp-story__device-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.mp-story__device-row strong {
  color: #7dffc3;
  font-weight: 700;
}

.mp-story__mirror {
  position: absolute;
  inset: 16% 28% 18%;
  border-radius: 50% 50% 12px 12px;
  border: 3px solid #c5d0da;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(180, 200, 210, 0.35));
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.35);
}

.mp-story__water {
  position: absolute;
  left: 42%;
  top: 22%;
  width: 48px;
  height: 70px;
  border-radius: 8px 8px 14px 14px;
  border: 2px solid #7eb6d8;
  background: linear-gradient(180deg, rgba(126, 182, 216, 0.15) 35%, rgba(0, 191, 128, 0.35) 35%);
}

.mp-story__coming {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7f9fb;
  border: 1px dashed #d0d7df;
  font-size: 15px;
}

@keyframes mp-story-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes mp-story-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

@media (max-width: 640px) {
  .mp-story__stage {
    /* mobile sticky header + mint bar (~95px spacer) */
    scroll-margin-top: 103px;
  }

  .mp-story__title {
    font-size: 24px;
  }

  .mp-story__fidget {
    font-size: 16px;
    padding: 11px 16px;
    bottom: 10%;
  }

  .mp-story__frame {
    min-height: 320px;
    padding: 16px 14px 6px;
  }

  .mp-story__visual {
    height: 150px;
  }

  .mp-story__visual--art {
    width: calc(100% + 28px);
    max-width: none;
    margin-left: -14px;
    margin-right: -14px;
    margin-bottom: 14px;
    border-radius: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .mp-story__controls {
    padding: 10px 14px 14px;
  }
}
