/* Stride, the running app inside the phone: a dark sports-app UI with one orange accent, nav bars,
   bottom sheets, list rows, stat grids, chips and an area chart. It is laid out at the phone's own
   280 × 630 screen size (phone.js scales the whole phone), so it serves desktop and phones alike.
   Each narrated line adds a step class to its screen (s0, s1, …): elements with data-at="N" show
   from step N. Elements with data-cue switch on (.is-on) at an exact spoken word (app.js). */
.app {
  --accent: #fc5a1f;
  --accent-soft: rgba(252, 90, 31, .14);
  --teal: #5fd0cc;
  --app-bg: #1c1c1c;
  --app-sheet: #252525;
  --app-card: #2d2d2d;
  --app-line: #383838;
  --app-ink: #f5f5f5;
  --app-muted: #9a9a9a;
  --ease-ios: cubic-bezier(.32, .72, 0, 1);
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  color: var(--app-ink);
  background: var(--app-bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
.app *, .app *::before, .app *::after { box-sizing: border-box; }
:where(.app) :where(p, h3, ul, ol) { margin: 0; padding: 0; list-style: none; font: inherit; }
.app svg { display: block; }

.app-status { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 2px 22px 0 32px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.app-status-icons { display: flex; align-items: center; gap: 5px; }
.app-status svg { fill: currentColor; }

/* Screens push in from the right like iOS navigation; the one left behind dims. */
.app-screen { position: absolute; inset: 0; padding: 92px 16px 0; background: var(--app-bg); transform: translateX(100%); transition: transform .7s var(--ease-ios), filter .7s var(--ease-ios); }
.app-screen.is-active { transform: none; }
.app-screen.is-before { transform: translateX(-28%); filter: brightness(.4); }

[data-at] { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s var(--ease-ios); }
.s0 [data-at="0"], .s1 [data-at="1"], .s2 [data-at="2"], .s3 [data-at="3"], .s4 [data-at="4"] { opacity: 1; transform: none; }

/* Shared parts */
.app-nav { position: absolute; z-index: 3; top: 50px; left: 0; right: 0; height: 42px; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 0 14px; background: var(--app-bg); }
.app-nav-icon { width: 20px; height: 20px; }
.app-nav-icon:last-child { justify-self: end; }
.app-nav-title { font-size: 16px; font-weight: 700; text-align: center; }
.app-nav-step { justify-self: end; font-size: 12px; font-weight: 600; color: var(--app-muted); }
.app-sheet { position: relative; border-radius: 18px 18px 0 0; background: var(--app-sheet); }
.app-grabber { display: block; width: 36px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: #555; }
.app-button { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 44px; height: 50px; display: grid; place-items: center; border-radius: 25px; font-size: 16px; font-weight: 700; color: #fff; background: var(--accent); transition: background-color .4s ease, color .4s ease, opacity .6s ease, transform .6s var(--ease-ios); }

/* Image or video slot. Empty, it shows a placeholder; app.js fills it from data-src. */
.app-media { position: relative; overflow: hidden; background: linear-gradient(135deg, #353535, #262626); }
.app-media::before { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -26px 0 0 -18px; border-radius: 50%; background: rgba(255, 255, 255, .07) center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M10 9.4v5.2l4.2-2.6z' fill='%23a3a3a3'/%3E%3C/svg%3E"); }
.app-media::after { content: attr(data-label); position: absolute; left: 0; right: 0; top: 50%; margin-top: 16px; font-size: 11px; font-weight: 500; text-align: center; color: #8c8c8c; }
.app-media.has-media::before, .app-media.has-media::after { display: none; }
.app-media-file { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* A tap: the control presses in and a touch mark blooms where the finger lands. */
[data-tap]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(160, 160, 170, .45); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); opacity: 0; pointer-events: none; }
[data-tap].is-on { animation: app-press .5s ease; }
[data-tap].is-on::after { animation: app-touch .8s ease-out; }
@keyframes app-press { 35% { scale: .95; } }
/* A tapped button lights up white with black text for a moment, then settles back. */
.app-button.is-on { animation: app-press .5s ease, app-flash 1s ease; }
@keyframes app-flash { 0%, 70% { color: #000; background: #fff; } }
@keyframes app-touch { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

/* 1. Welcome: the clips fill the top half, one after another; the sheet holds a run summary. */
.app-welcome { padding: 0; }
.welcome-reel { position: absolute; left: 0; right: 0; top: 0; height: 296px; background: #111; }
.welcome-reel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0, 0, 0, .5), transparent 110px); }
.reel-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: 0; transition: opacity .7s ease; }
.reel-clip:first-child, .reel-clip.is-playing { opacity: 1; }
:has(> .reel-clip.is-playing) > .reel-clip:not(.is-playing) { opacity: 0; }
/* The drawer holds a Health-style summary in the app's own colours: rounded cards, small labels,
   big numbers with small units, and small week bars. */
.welcome-sheet { position: absolute; left: 0; right: 0; top: 268px; bottom: 0; padding: 0 12px; text-align: center; }
/* Over the video: the logo top left, a small log-in button top right. */
.welcome-top { position: absolute; z-index: 2; top: 54px; left: 16px; right: 14px; display: flex; align-items: center; justify-content: space-between; }
.welcome-logo { font-size: 21px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.welcome-login { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.welcome-login svg { width: 16px; height: 16px; margin-left: -1px; }
/* One line per clip: each new line slides up into place as its video starts (app.js). */
.welcome-swap { position: relative; height: 36px; margin-top: 6px; overflow: hidden; font-size: 14px; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; color: #cfcfcf; }
.welcome-swap span { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease-ios), opacity .6s ease; }
.welcome-swap span.is-current, .welcome-swap:not(:has(.is-current)) span:first-child { opacity: 1; transform: none; }
.welcome-swap span.is-past { transform: translateY(-100%); }
.health-grid { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.health-tile { padding: 6px 9px; border-radius: 12px; background: var(--app-card); }
.health-label { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--app-muted); }
.health-label svg { width: 12px; height: 12px; color: var(--accent); }
.health-value { margin-top: 1px; font-size: 11px; font-weight: 600; color: var(--app-muted); }
.health-value b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--app-ink); font-variant-numeric: tabular-nums; }
.health-week { margin-top: 8px; padding: 6px 9px 4px; border-radius: 12px; text-align: left; background: var(--app-card); }
.week-head { display: flex; align-items: center; justify-content: space-between; }
.week-head p { display: grid; }
.week-head .health-value { margin-top: 0; }
.week-head .health-value b { font-size: 15px; }
.week-bars { height: 32px; margin-top: 2px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; text-align: center; font-size: 9px; font-weight: 600; color: var(--app-muted); }
.week-bars i { display: grid; justify-items: center; gap: 2px; font-style: normal; }
/* Each bar grows from the floor once the card is in; days without a run keep a small stub. */
.week-bars span { width: 14px; height: max(3px, calc(var(--h) * 20px)); border-radius: 4px; background: rgba(252, 90, 31, .4); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-ios) calc(.3s + var(--i) * .07s); }
.week-bars .is-today { color: var(--accent); }
.week-bars .is-today span { background: var(--accent); }
.week-bars .is-future span { background: #3a3a3a; }
.app-welcome.s0 .week-bars span { transform: none; }

/* 2. The question: a picture, then a list sheet. */
.app-quiz { padding: 92px 0 0; }
.quiz-media { height: 130px; }
.quiz-sheet { margin-top: -10px; padding: 0 16px; height: 100%; }
.app-sheet-title { margin: 12px 0 6px; font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.quiz-options li { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; border-bottom: 1px solid var(--app-line); font-size: 15px; opacity: 0; transform: translateY(6px); transition: opacity .5s ease calc(var(--i) * .1s), transform .5s var(--ease-ios) calc(var(--i) * .1s), color .3s ease; }
.quiz-options li > svg:first-child { flex: none; width: 20px; height: 20px; }
.app-quiz.s0 .quiz-options li { opacity: 1; transform: none; }
.app-quiz:has(.quiz-pick.is-on) .quiz-options li:not(.quiz-pick) { opacity: .45; transition-delay: 0s; }
.quiz-check { width: 16px; height: 16px; margin-left: auto; opacity: 0; transition: opacity .3s ease; }
.quiz-pick.is-on { color: var(--accent); }
.quiz-pick.is-on .quiz-check { opacity: 1; }
.quiz-gap { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.gap-stat { display: grid; line-height: 1.2; }
.gap-stat small { font-size: 11px; color: var(--app-muted); }
.gap-stat b { font-size: 16px; font-weight: 800; color: var(--teal); }
.gap-goal { text-align: right; }
.gap-goal b { color: var(--accent); }
.gap-track { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #4a4a4a 0 5px, transparent 5px 9px); }
.gap-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 1px; background: var(--accent); transition: width 1.2s var(--ease-ios) .3s; }
.app-quiz .app-button { color: #7a7a7a; background: #3a3a3a; }
.app-quiz.s2 .app-button { color: #fff; background: var(--accent); }

/* 3. The answer as a chat with an AI coach. Messages appear on cue words (app.js); each one opens
   its own height, so the log grows upward from the composer and older messages scroll off the top. */
.app-chat { padding: 0; }
.chat-agent { display: flex; align-items: center; justify-content: center; gap: 8px; }
.chat-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); }
.chat-avatar svg { width: 16px; height: 16px; }
.chat-agent-name { display: grid; line-height: 1.2; text-align: left; }
.chat-agent-name b { font-size: 14px; font-weight: 700; }
.chat-agent-name small { font-size: 10px; color: var(--app-muted); }
.chat-agent-name small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #5ee08f; }
.chat-log { position: absolute; top: 94px; bottom: 74px; left: 0; right: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 14px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); }
.chat-item { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease-ios) var(--d, 0s), opacity .35s ease calc(var(--d, 0s) + .1s); }
.chat-item > div { min-height: 0; overflow: hidden; padding-top: 8px; }
.chat-item.is-on { grid-template-rows: 1fr; opacity: 1; }
/* Once open, let tap marks spill outside the message. */
.chat-item.is-on > div { animation: chat-open 0s .55s forwards; }
@keyframes chat-open { to { overflow: visible; } }
.bubble { position: relative; width: fit-content; max-width: 84%; padding: 8px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.32; }
.chat-coach .bubble { border-bottom-left-radius: 5px; background: var(--app-card); }
.chat-user .bubble { margin-left: auto; border-bottom-right-radius: 5px; color: #fff; background: var(--accent); }
/* A typed reply: three dots first, then the words. */
.typing { position: absolute; inset: 0; display: flex; align-items: center; gap: 4px; padding-left: 13px; opacity: 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--app-muted); animation: chat-dot .9s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 50% { translate: 0 -3px; opacity: .5; } }
.is-typed .bubble-text { opacity: 0; }
.is-on .is-typed .typing { animation: chat-typing .7s forwards; }
.is-on .is-typed .bubble-text { animation: chat-text .3s ease .65s forwards; }
@keyframes chat-typing { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes chat-text { to { opacity: 1; } }
/* Quick replies: the chosen one fills orange, the other fades. */
.chat-chips { margin-top: 6px; display: flex; gap: 6px; }
.chip-q { position: relative; height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--accent); border-radius: 15px; font-size: 12.5px; font-weight: 600; color: var(--accent); transition: background-color .3s ease, color .3s ease, opacity .3s ease; }
.chip-q.is-on { color: #fff; background: var(--accent); }
.chat-chips:has(.is-on) .chip-q:not(.is-on) { opacity: .35; }
/* App UI inside the chat. */
.chat-card { max-width: 92%; padding: 10px 12px; border: 1px solid var(--app-line); border-radius: 14px; background: #242424; }
/* The plan, one line per card: an icon, the line itself, and a thinner detail under it. Before each
   line is spoken it shows only the shape of its words (grey blocks); then the words come in. */
.plan-line { display: flex; align-items: flex-start; gap: 10px; max-width: 94%; }
.plan-line-icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--accent); background: var(--accent-soft); }
.plan-line-icon svg { width: 16px; height: 16px; }
.plan-line p { display: grid; gap: 3px; min-width: 0; }
.answer-text { font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--app-ink); }
.plan-line-detail { font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--app-muted); }
.plan-line [data-words] span { border-radius: 4px; color: transparent; background: #3a3a3a; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color .45s ease, background-color .45s ease; }
.plan-line .plan-line-detail span { background: #303030; transition-delay: .25s; }
.plan-line.is-on [data-words] span { color: inherit; background: transparent; }
.plan-days { margin-top: 3px; display: flex; gap: 4px; }
.plan-days i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 600; color: var(--app-muted); background: #333; }
.plan-days i.on { color: #fff; background: var(--accent); }
.plan-wave { flex: none; align-self: center; margin-left: auto; height: 18px; display: flex; align-items: center; gap: 2px; }
.plan-wave i { width: 2.5px; height: 4px; border-radius: 2px; background: var(--accent); transition: height .3s ease; }
.plan-line.is-on .plan-wave i { height: var(--h); animation: plan-wave .8s ease-in-out var(--dl) infinite alternate; }
@keyframes plan-wave { to { height: 4px; } }
.chat-booked { display: flex; align-items: center; gap: 10px; }
.booked-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.booked-icon svg { width: 18px; height: 18px; }
.chat-booked p { display: grid; line-height: 1.3; }
.chat-booked b { font-size: 14px; font-weight: 700; }
.chat-booked small { font-size: 11.5px; color: var(--app-muted); }
.booked-check { width: 20px; height: 20px; margin-left: 4px; padding: 4px; border-radius: 50%; color: #000; background: #5ee08f; }
.chat-composer { position: absolute; left: 14px; right: 14px; bottom: 26px; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 14px; border: 1px solid var(--app-line); border-radius: 20px; font-size: 13px; color: #777; background: #242424; }
.chat-send { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); }
.chat-send svg { width: 16px; height: 16px; }

/* 4. Progress: chips, totals, an orange area chart, a stat grid. */
/* The content stands on the button and builds upward: chart at the bottom (first), the effort
   stats above it, the goal card on top (last). */
.plan-stack { position: absolute; top: 96px; bottom: 102px; left: 16px; right: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.plan-chips { display: flex; gap: 6px; }
.chip { height: 26px; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; border: 1px solid #4a4a4a; border-radius: 7px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip svg { width: 10px; height: 10px; }
.chip--on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.plan-label { margin-top: 14px; font-size: 13px; font-weight: 700; }
.plan-totals { margin-top: 2px; display: flex; align-items: baseline; justify-content: space-between; font-size: 16px; font-weight: 700; }
.plan-km { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-now b { font-size: 18px; font-weight: 800; }
.plan-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--app-muted); }
.plan-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--accent); }
.plan-legend .plan-legend-now::before { background: var(--teal); }
.plan-chart { margin-top: 8px; }
.plan-chart svg { width: 100%; height: auto; overflow: visible; }
.plan-grid line { stroke: var(--app-line); stroke-width: 1; }
.plan-labels text { font-size: 9px; fill: var(--app-muted); }
.plan-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.plan-area { opacity: 0; transition: opacity .8s ease 1s; }
.plan-dots circle { fill: var(--accent); stroke: var(--app-bg); stroke-width: 1.5; opacity: 0; transition: opacity .2s ease calc(var(--i) * .2s); }
.plan-today { fill: var(--teal); stroke: var(--app-bg); stroke-width: 1.5; }
.plan-chart.is-on .plan-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); }
.plan-chart.is-on .plan-area, .plan-chart.is-on .plan-dots circle { opacity: 1; }
.plan-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.plan-stats p { display: grid; line-height: 1.25; }
.plan-stats small { font-size: 11px; color: var(--app-muted); }
.plan-stats b { font-size: 16px; font-weight: 800; }
.plan-glance { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--app-card); }
.plan-thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; }
.plan-thumb::before { width: 26px; height: 26px; margin: -13px 0 0 -13px; background-size: 16px; }
.plan-glance p { display: grid; gap: 2px; }
.plan-glance b { font-size: 14px; font-weight: 700; }
.plan-glance small { font-size: 12px; color: var(--app-muted); }

/* 5. The offer: a picture, the free week, the price, the tap. */
.app-offer { padding: 0; }
.offer-media { height: 212px; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.offer-close { position: absolute; z-index: 3; top: 54px; left: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.offer-close svg { width: 18px; height: 18px; }
.offer-body { position: relative; margin-top: -28px; padding: 0 18px; }
.offer-badge { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); }
.offer-badge.is-on { animation: offer-pop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes offer-pop { 40% { scale: 1.15; } }
.offer-title { margin-top: 10px; font-size: 22px; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.offer-features { margin-top: 12px; display: grid; gap: 8px; }
.offer-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #bdbdbd; transition: color .4s ease calc(var(--i) * .3s); }
.offer-features svg { flex: none; width: 15px; height: 15px; color: var(--app-muted); transition: color .4s ease calc(var(--i) * .3s); }
.app-offer.s1 .offer-features li { color: var(--app-ink); }
.app-offer.s1 .offer-features svg { color: var(--accent); }
.offer-timeline { margin-top: 14px; display: grid; gap: 9px; padding: 12px; border-radius: 12px; background: var(--app-card); }
.offer-timeline li { display: grid; grid-template-columns: 52px 1fr; font-size: 13px; }
.offer-timeline b { font-weight: 700; }
.offer-timeline span { color: var(--app-muted); transition: color .4s ease; }
.offer-price.is-on span { color: var(--app-ink); font-weight: 700; }
/* Is it worth the price? The price row weighs up and down. */
.app-offer.s1 .offer-price span { color: var(--accent); }
.app-offer.s1 .offer-price { animation: offer-weigh 1.2s ease-in-out infinite; }
.app-offer.s2 .offer-price { animation: none; }
@keyframes offer-weigh { 25% { translate: 0 -2px; } 75% { translate: 0 2px; } }
.app-offer .app-button { bottom: 58px; }
.offer-cancel { position: absolute; left: 0; right: 0; bottom: 32px; font-size: 12px; text-align: center; color: var(--app-muted); }
.offer-done { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; background: var(--app-bg); opacity: 0; scale: 1.04; transition: opacity .5s ease .6s, scale .5s var(--ease-ios) .6s; pointer-events: none; }
.app-offer:has(.app-button.is-on) .offer-done { opacity: 1; scale: 1; }
.offer-done-check { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; color: #000; background: #5ee08f; box-shadow: 0 0 34px rgba(94, 224, 143, .5); }
.offer-done-check svg { width: 30px; height: 30px; }
.offer-done p { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.offer-done > span:last-child { font-size: 14px; color: var(--app-muted); }

@media (prefers-reduced-motion: reduce) {
  .app *, .app *::before, .app *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .is-typed .bubble-text { opacity: 1; }
  .chat-item.is-on > div { overflow: visible; }
}
