/* NEXFLOW. The streaming side keeps a cinematic look; everything about paying is calm,
   plain and Apple-like, tinted with Flowgate purple. */

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('/fonts/big-shoulders-display.woff2') format('woff2');
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --black: #000;
  --surface: #17171a;
  --group: #1c1c1e;
  --raised: #2c2c2e;
  --paper: #f5f5f7;
  --mute: #a1a1a6;
  --label2: #8e8e93;
  --faint: #636366;
  --line: rgb(255 255 255 / 0.12);
  --separator: rgb(84 84 88 / 0.6);
  --red: #f43a4b;
  --violet: #8856f5;
  --violet-hover: #7643ea;
  --violet-ink: #cdbbff;
  --violet-wash: rgb(136 86 245 / 0.16);
  --ok: #30d158;
  --warn: #ffd60a;
  --bad: #ff453a;
  --gutter: clamp(16px, 4vw, 64px);
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --tech-width: 440px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font: 400 17px/1.47 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  transition: padding-right 0.35s ease;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet-ink); outline-offset: 3px; border-radius: 6px; }
svg { display: block; }
code, pre, kbd { font-family: var(--mono); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Wordmark: tall condensed caps, the one streaming-service signal kept on purpose. */
.wordmark {
  font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1;
  letter-spacing: 0.02em; color: var(--red); text-transform: uppercase;
}
.wordmark-small { font-size: 22px; }

/* Buttons: one tint (Flowgate purple) for every action that moves money or access. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-accent, .btn-violet { background: var(--violet); color: #fff; }
.btn-accent:hover:not(:disabled), .btn-violet:hover { background: var(--violet-hover); }
.btn-play { background: #fff; color: #000; }
.btn-play:hover { background: rgb(255 255 255 / 0.8); }
.btn-glass { background: rgb(120 120 128 / 0.42); color: #fff; }
.btn-glass:hover { background: rgb(120 120 128 / 0.3); }
.btn-quiet { background: rgb(120 120 128 / 0.24); color: var(--paper); }
.btn-quiet:hover { background: rgb(120 120 128 / 0.34); }
.btn-small { min-height: 34px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-large { min-height: 52px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.billboard-actions .btn, .pay-done-actions .btn, .title-body .btn { min-height: 52px; font-size: 18px; padding: 0 26px; }
.billboard-actions .btn-play, .pay-done-actions .btn-play, .title-body .btn-play { padding-left: 20px; }
.text-link { color: var(--violet-ink); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.fine { font-size: 13px; color: var(--label2); line-height: 1.45; }

/* Top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: 68px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 36px;
  background: linear-gradient(rgb(0 0 0 / 0.7), transparent);
  transition: background-color 0.3s ease, right 0.35s ease;
}
.topbar.solid { background-color: rgb(0 0 0 / 0.86); backdrop-filter: saturate(180%) blur(20px); }
.topnav { display: flex; gap: 22px; font-size: 15px; }
.topnav a { color: #d1d1d6; }
.topnav a:hover { color: #fff; }
.topnav a.active { color: #fff; font-weight: 600; }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.topbar-end .btn { min-height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #a07cff, #6538d9); font-weight: 600; font-size: 14px;
}
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 999px; background: rgb(120 120 128 / 0.24); font-size: 14px; color: #e5e5ea;
}
.status-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status-chip[data-tone="ok"] i { background: var(--ok); }
.status-chip[data-tone="warn"] i { background: var(--warn); }
.status-chip[data-tone="bad"] i { background: var(--bad); }

/* Billboard */
.billboard { position: relative; height: min(88vh, 920px); min-height: 560px; overflow: hidden; isolation: isolate; }
.billboard-art {
  position: absolute; inset: 0; z-index: -2;
  background: url('/assets/hero-violet.jpg') 70% 40% / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
.billboard::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(6 3 16 / 0.88) 0%, rgb(6 3 16 / 0.55) 34%, transparent 62%),
    linear-gradient(0deg, var(--black) 0%, transparent 32%);
}
.billboard-copy { position: absolute; left: var(--gutter); bottom: 18%; max-width: 600px; }
.billboard-kicker { font-size: 15px; color: #e5e0f7; margin-bottom: 10px; }
.billboard-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.005em;
  font-size: clamp(64px, 9vw, 150px); line-height: 0.84; margin-bottom: 18px;
  animation: projector 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) 0.15s both;
}
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: #d1cde0; margin-bottom: 14px; }
.meta span + span { padding-left: 16px; border-left: 1px solid rgb(255 255 255 / 0.25); }
.billboard-text { font-size: 19px; line-height: 1.45; color: #efecf7; max-width: 34ch; margin-bottom: 26px; }
.billboard-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.billboard-price { margin-top: 18px; font-size: 15px; color: #d6d1e6; }
.billboard-price b { color: #fff; font-weight: 600; }

.notice {
  position: absolute; top: 84px; left: var(--gutter); right: var(--gutter); z-index: 3;
  padding: 12px 16px; border-radius: 14px; display: flex; align-items: center; gap: 16px;
  background: rgb(44 36 6 / 0.8); border: 1px solid rgb(255 214 10 / 0.4); backdrop-filter: blur(16px);
}
.notice[data-tone="bad"] { background: rgb(52 12 14 / 0.8); border-color: rgb(255 69 58 / 0.45); }
.notice p { flex: 1; font-size: 15px; }
.notice .btn { background: rgb(255 255 255 / 0.16); }
.notice .btn:hover { background: rgb(255 255 255 / 0.26); }

/* Rows */
.row { position: relative; margin: 0 0 44px; }
.billboard + .row { margin-top: -86px; z-index: 2; }
.row-title { font-size: 21px; font-weight: 600; padding: 0 var(--gutter); margin-bottom: 12px; }
.row-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(148px, 14.5vw, 236px);
  gap: 10px; overflow-x: auto; padding: 6px var(--gutter) 18px;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }
.poster {
  position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden;
  scroll-snap-align: start; background: var(--surface); text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.poster:hover, .poster:focus-visible { transform: scale(1.045); box-shadow: 0 18px 40px rgb(0 0 0 / 0.6); z-index: 1; }
.poster-art { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.82), transparent 52%); }
.poster-title {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(24px, 2.2vw, 34px); line-height: 0.9;
}
.poster-lock {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgb(0 0 0 / 0.55); opacity: 0; transition: opacity 0.2s ease;
}
.poster-lock svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; }
body:not(.is-entitled) .poster:hover .poster-lock, body:not(.is-entitled) .poster:focus-visible .poster-lock { opacity: 1; }
.grade-cold { filter: saturate(0.35) contrast(1.2) brightness(0.92); }
.grade-warm { filter: sepia(0.35) saturate(1.35) contrast(1.05); }
.grade-dusk { filter: hue-rotate(-28deg) saturate(1.25) brightness(0.86); }
.grade-mono { filter: grayscale(1) contrast(1.3) brightness(0.92); }

/* How paying works: a real three-step sequence, so the numbers carry meaning. */
.how {
  margin: 12px var(--gutter) 56px; padding: clamp(28px, 4vw, 52px);
  border-radius: 24px; background: linear-gradient(150deg, #241a4f 0%, #120c26 55%, #0b0b0e 100%);
  display: grid; gap: 28px; justify-items: start;
}
.how h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.025em; }
.how-steps { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: how; }
.how-steps li { counter-increment: how; padding: 22px; border-radius: 18px; background: rgb(255 255 255 / 0.06); display: grid; gap: 6px; align-content: start; }
.how-steps li::before {
  content: counter(how); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--violet); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 8px;
}
.how-steps h3 { font-size: 19px; font-weight: 600; }
.how-steps p { color: #c7c2d9; font-size: 15px; }

/* Pages */
.page { padding: 116px var(--gutter) 72px; max-width: 1180px; margin: 0 auto; }
.page-title { font-size: clamp(34px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.page-lede { color: var(--label2); font-size: 18px; margin-bottom: 32px; }
.loading { color: var(--label2); }
.error-box { padding: 20px; border-radius: 14px; background: var(--group); display: flex; gap: 16px; align-items: center; }

/* Plans */
.plans-page { max-width: 1360px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.plan-grid[data-count="2"], .plan-grid[data-count="3"] { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1080px; }
.plan-grid[data-count="1"] { grid-template-columns: minmax(260px, 420px); }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px;
  background: var(--group); box-shadow: inset 0 0 0 2px transparent; cursor: pointer; transition: box-shadow 0.15s ease;
}
.plan:hover { box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.18); }
.plan:has(input:checked) { box-shadow: inset 0 0 0 2px var(--violet); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:focus-visible) { outline: 2px solid var(--violet-ink); outline-offset: 3px; }
.plan-check {
  position: absolute; top: 22px; right: 22px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.28); display: grid; place-items: center;
}
.plan-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; opacity: 0; }
.plan:has(input:checked) .plan-check { background: var(--violet); border-color: var(--violet); }
.plan:has(input:checked) .plan-check svg { opacity: 1; }
.plan-name { font-size: 22px; font-weight: 700; }
.plan-price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.plan-price small { font-size: 17px; font-weight: 400; color: var(--label2); margin-left: 2px; letter-spacing: 0; }
.plan ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #d1d1d6; }
.plan li { display: flex; gap: 10px; }
.plan li::before {
  content: '✓'; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--violet-wash); color: var(--violet-ink);
}
.plan-flex { margin: 8px 0 24px; }
.plan-flex h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-flex .fine { font-size: 15px; margin-bottom: 14px; max-width: 70ch; }
.plan-equiv { font-size: 14px; color: var(--violet-ink); margin-top: -4px; }
.plan-badge { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: 3px; background: var(--violet-wash); color: var(--violet-ink); }
.plan-common { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d1d1d6; font-size: 15px; }
.plan-common li { display: flex; gap: 8px; align-items: center; }
.plan-common li::before { content: '✓'; color: var(--violet-ink); font-weight: 700; font-size: 13px; }
.plan-continue { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 520px; }

/* Checkout */
.stepper { list-style: none; margin: 0 0 32px; padding: 0; display: flex; gap: 8px; counter-reset: step; }
.stepper li { counter-increment: step; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--faint); }
.stepper li::before {
  content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--raised); font-size: 13px; font-weight: 600;
}
.stepper li:not(:last-child)::after { content: ''; width: 28px; height: 1px; background: var(--line); margin: 0 6px 0 8px; }
.stepper li.done { color: var(--paper); }
.stepper li.done::before { content: '✓'; background: var(--violet); color: #fff; }
.stepper li.current { color: var(--paper); font-weight: 600; }
.stepper li.current::before { background: #fff; color: #000; }
.checkout-grid { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.checkout-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.summary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 26px; border-radius: 20px; background: var(--group); }
.summary-kicker { font-size: 15px; color: var(--label2); }
.summary-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-plan span:first-child { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.summary-plan span:last-child { font-size: 19px; font-weight: 600; }
.summary .text-link { justify-self: start; font-size: 15px; }
.testnet { display: grid; gap: 12px; padding: 20px 26px 22px; border-radius: 20px; background: var(--group); }
.testnet .coin { width: 20px; height: 20px; }
.testnet-note { font-size: 14px; color: var(--label2); line-height: 1.45; }
.testnet-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pay { display: grid; gap: 12px; }
.pay-label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--violet-ink); font-weight: 600; }
.flow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 5px var(--violet-wash); }
.pay-status { min-height: 24px; font-size: 16px; color: #e5e5ea; }
.pay-status[data-tone="warn"] { color: var(--warn); }
.pay-status[data-tone="bad"] { color: var(--bad); }
.pay-frame {
  border-radius: 20px; overflow: hidden; background: #fff; min-height: 300px;
  box-shadow: 0 0 0 1px rgb(136 86 245 / 0.5), 0 0 0 6px var(--violet-wash), 0 30px 80px rgb(0 0 0 / 0.5);
}
.pay-frame iframe { display: block; border-radius: 0 !important; }
.pay-frame .pay-wait { padding: 40px; color: #475569; font-size: 16px; }
.pay-ok { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pay-ok p { margin: 0; font-size: 16px; color: #e5e5ea; }
.pay-ok .btn { min-width: 120px; flex: none; }
.pay-done {
  display: grid; justify-items: start; gap: 12px; padding: 36px; border-radius: 24px;
  background: linear-gradient(150deg, #241a4f, #120c26 60%, #0b0b0e);
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.pay-done > svg { width: 56px; height: 56px; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pay-done h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; }
.pay-done > p { color: #dcd7ea; font-size: 17px; max-width: 48ch; }
.pay-done-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.verified { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--violet-ink); }
.verified::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }

/* Grouped lists, as in iOS Settings: label on the left, value on the right. */
.group { margin: 0; padding: 0; list-style: none; background: var(--group); border-radius: 14px; overflow: hidden; }
.group > div, .group > li, .group > button {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 52px; padding: 12px 18px; width: 100%; text-align: left;
}
.group > * + *::before { content: ''; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--separator); }
.group dt { color: var(--paper); }
.group dd { margin: 0; color: var(--label2); text-align: right; overflow-wrap: anywhere; }
.group dd code { font-size: 13px; color: var(--label2); }
.group-plain { background: transparent; border-radius: 0; margin-top: 4px; }
.group-plain > div { padding: 12px 0; min-height: 0; }
.group-plain > * + *::before { left: 0; }
.group-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 36px 0 10px; }
.group-note { font-size: 13px; color: var(--label2); line-height: 1.45; margin: 8px 18px 0; }
.group-actions > button { justify-content: flex-start; font-size: 17px; color: var(--violet-ink); }
.group-actions > button:hover { background: rgb(255 255 255 / 0.04); }
.group-actions > button.danger { color: var(--bad); }

/* Subscription page */
.account { max-width: 760px; }
.account-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; color: var(--label2); font-size: 16px; margin-bottom: 28px; }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.updated i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.updated.pulse i { animation: ping 0.9s ease-out; }
.empty { padding: 32px; border-radius: 20px; background: var(--group); display: grid; justify-items: start; gap: 12px; }
.empty h2 { font-size: 22px; font-weight: 700; }
.empty p { color: var(--label2); }
.sub-card {
  display: grid; gap: 18px; justify-items: start; padding: 24px; border-radius: 22px;
  background: linear-gradient(150deg, #33236e 0%, #1a1238 50%, #1c1c1e 100%);
}
.sub-head { display: flex; align-items: center; gap: 14px; width: 100%; }
.app-icon { flex: none; width: 56px; height: 56px; border-radius: 13px; background: #000; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.app-icon svg { width: 30px; height: 30px; fill: var(--red); }
.sub-title { flex: 1; min-width: 0; }
.sub-title p:first-child { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.sub-price { color: #c9c3dd; font-size: 15px; }
.sub-sentence { font-size: 19px; line-height: 1.4; letter-spacing: -0.015em; max-width: 40ch; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgb(120 120 128 / 0.24); white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill[data-tone="ok"] { color: var(--ok); background: rgb(48 209 88 / 0.14); }
.pill[data-tone="warn"] { color: var(--warn); background: rgb(255 214 10 / 0.14); }
.pill[data-tone="bad"] { color: var(--bad); background: rgb(255 69 58 / 0.14); }
.pill[data-tone="muted"] { color: var(--label2); }
.history > li { padding: 0; }
.history-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 10px 18px; }
a.history-row:hover { background: rgb(255 255 255 / 0.04); }
.history-row > span:first-child > span, .history-right > span > span { display: block; }
.group + .group { margin-top: 20px; }
.history-sub { font-size: 13px; color: var(--label2); }
.token { display: inline-flex; align-items: center; gap: 0.35em; white-space: nowrap; vertical-align: bottom; }
.coin { width: 1.15em; height: 1.15em; border-radius: 50%; flex: none; }
.history-right { text-align: right; display: flex; align-items: center; gap: 12px; }
.history-amount { font-weight: 600; }
.history-chevron { color: var(--faint); font-size: 20px; line-height: 1; }
.history > li.arrived { animation: flash 2.2s ease; }
.history-empty { color: var(--label2); padding: 16px 18px; }
.account > .group:last-of-type code { font-size: 13px; }
.account .group-actions { margin-top: 32px; }
.group > [hidden] + *::before { display: none; }
.stack { min-width: 0; }
.stack > span, .stack > a { display: block; }
.item-title { font-weight: 600; }
.item-title.declined { color: var(--warn); }
.row-side { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; text-align: right; }
.pill-small { padding: 3px 9px; font-size: 12px; }
.mono-link { font-family: var(--mono); font-size: 14px; color: var(--violet-ink); }
.mono-link:hover, .small-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.small-link { font-size: 14px; color: var(--violet-ink); white-space: nowrap; }
.history-error { font-size: 13px; color: var(--bad); max-width: 46ch; }
.group.activity > li { display: grid; gap: 6px; justify-content: stretch; }
.activity-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.activity-text { font-size: 14px; color: var(--label2); line-height: 1.45; }
.logout { margin-top: 32px; }

/* Theater */
.theater { position: fixed; inset: 0; z-index: 40; background: #000; overflow: hidden; isolation: isolate; }
.theater-art { position: absolute; inset: -4%; z-index: -2; background-size: cover; background-position: center; opacity: 0.5; transition: opacity 0.8s ease; }
.theater.playing .theater-art { opacity: 1; animation: drift 30s ease-in-out infinite alternate; }
.theater::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(0 0 0 / 0.85), transparent 34%, transparent 80%, rgb(0 0 0 / 0.4)); pointer-events: none; }
.theater-back, .theater-checking, .player, .paywall, .reel-end, .reel-card, .reel-caption, .paybox { z-index: 2; }
/* Preview reel: two image layers take turns pushing in on a subject, black title cards between. */
.reel { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.reel::before, .reel::after { content: ''; position: absolute; left: 0; right: 0; height: 8vh; background: #000; z-index: 1; }
.reel::before { top: 0; }
.reel::after { bottom: 0; }
.reel-layer { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 0.8s ease; will-change: transform, opacity; }
.reel-layer.on { opacity: 1; }
.reel-card {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 0 8vw;
  text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.55s ease;
}
.reel-card.on { opacity: 1; }
.reel-card span { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(44px, 6.5vw, 112px); line-height: 0.92; max-width: 14ch; }
.reel-card.title span { font-size: clamp(64px, 10vw, 176px); color: #fff; max-width: none; }
.reel-card small { font-size: 19px; color: #d1d1d6; letter-spacing: 0; }
.reel-caption {
  position: absolute; left: 50%; bottom: 22vh; transform: translateX(-50%); width: min(30ch, 86vw); text-align: center;
  font-size: clamp(19px, 2vw, 28px); font-weight: 500; line-height: 1.35; text-shadow: 0 2px 16px rgb(0 0 0 / 0.85);
  pointer-events: none; opacity: 0; transition: opacity 0.6s ease;
}
.reel-caption.on { opacity: 1; }
/* The payment terminal that closes The Long Orbit preview: a device frame with a Flowgate screen. */
.terminal {
  position: absolute; right: 9vw; top: 50%; width: 300px; padding: 12px; border-radius: 36px;
  background: linear-gradient(160deg, #3a3a40, #121214 70%); box-shadow: 0 40px 100px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.12);
  opacity: 0; transform: translateY(-40%) scale(0.96); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1);
  pointer-events: none;
}
.terminal.on { opacity: 1; transform: translateY(-50%) scale(1); }
.terminal-screen {
  display: grid; justify-items: center; gap: 6px; padding: 26px 22px 24px; border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 50% 0%, #4b2fa0 0%, #1f1446 55%, #120c26 100%);
}
.terminal-brand { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--violet-ink); margin-bottom: 12px; }
.terminal-brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }
.terminal-merchant { font-size: 15px; color: #d6d0ee; }
.terminal-item { font-size: 13px; color: #a79fc9; }
.terminal-amount { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 0; }
.terminal-token { font-size: 14px; color: #c8bff0; margin-bottom: 18px; }
.terminal-status { position: relative; width: 100%; height: 64px; border-radius: 16px; background: rgb(255 255 255 / 0.07); display: grid; place-items: center; }
.ts { display: none; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.ts svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.paybox[data-stage="1"] .ts-1, .paybox[data-stage="2"] .ts-2, .paybox[data-stage="3"] .ts-3 { display: inline-flex; }
.paybox[data-stage="1"] .ts-1 svg { animation: pulse-waves 1.2s ease-in-out infinite; }
.paybox[data-stage="1"] .terminal-status { box-shadow: 0 0 0 0 rgb(136 86 245 / 0.6); animation: ping 1.4s ease-out infinite; }
.terminal-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 0.2); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.paybox[data-stage="3"] .terminal-status { background: rgb(48 209 88 / 0.16); color: var(--ok); }
.paybox[data-stage="3"] .ts-3 { animation: rise 0.4s ease-out; }
@keyframes pulse-waves { 50% { opacity: 0.45; transform: scale(0.92); } }
/* Static QR stand (Flowgate in-store payments), rising out of whatever the story opened. */
.qrpay {
  position: absolute; left: 50%; top: 50%; width: 290px; border-radius: 22px; overflow: hidden; background: #fff; color: #1c1730;
  box-shadow: 0 40px 120px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.2);
  opacity: 0; transform: translate(-50%, -38%) scale(0.92); transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1); pointer-events: none;
}
.qrpay.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.qrpay-band { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; background: var(--violet); color: #fff; font-size: 15px; font-weight: 600; }
.qrpay-band i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.qrpay-body { display: grid; justify-items: center; gap: 4px; padding: 18px 22px 22px; text-align: center; }
.qrpay .terminal-merchant { color: #4a4462; }
.qrpay .terminal-item { color: #7a7494; }
.qrpay .terminal-amount { font-size: 38px; margin: 2px 0 8px; color: #1c1730; }
.qrpay-code { position: relative; width: 170px; aspect-ratio: 1; margin-bottom: 14px; transition: opacity 0.4s ease; }
.qrpay-code img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.qrpay-scan { position: absolute; left: 4%; right: 4%; height: 3px; top: 10%; background: var(--violet); box-shadow: 0 0 14px var(--violet); border-radius: 2px; opacity: 0; }
.qrpay[data-stage="1"] .qrpay-scan { opacity: 0.9; animation: scanline 1.6s ease-in-out infinite alternate; }
.qrpay[data-stage="3"] .qrpay-code { opacity: 0.18; }
.qrpay .terminal-status { background: #f1edfb; color: #1c1730; }
.qrpay[data-stage="1"] .terminal-status { animation: none; }
.qrpay[data-stage="3"] .terminal-status { background: #e3f5ea; color: #1d8f55; }
.qrpay .terminal-spin { border-color: rgb(28 23 48 / 0.15); border-top-color: #1c1730; }
@keyframes scanline { from { top: 10%; } to { top: 88%; } }
/* Notification banner (Flowgate recurring payments): the renewal that interrupts the moment. */
.note-banner {
  position: absolute; left: 50%; top: calc(8vh + 18px); width: min(440px, calc(100% - 32px)); display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; border-radius: 22px; background: rgb(36 36 40 / 0.78); backdrop-filter: saturate(180%) blur(26px); color: #fff;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.45); opacity: 0; transform: translate(-50%, -24px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1.1); pointer-events: none;
}
.note-banner.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.note-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(140deg, #a07cff, #6538d9); }
.note-icon i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; }
.note-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.note-head { display: flex; justify-content: space-between; font-size: 13px; color: rgb(255 255 255 / 0.62); }
.note-head b { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 12.5px; }
.note-title { font-size: 15.5px; font-weight: 600; }
.note-body { font-size: 15px; color: rgb(255 255 255 / 0.88); }
/* AI agent checkout (Flowgate agent API keys): the agent explains what it just bought. */
.agentpay {
  position: absolute; right: 7vw; top: 50%; width: 340px; display: grid; gap: 12px; padding: 18px; border-radius: 22px;
  background: rgb(20 16 36 / 0.9); backdrop-filter: blur(20px); border: 1px solid rgb(136 86 245 / 0.5); color: #fff;
  box-shadow: 0 40px 100px rgb(0 0 0 / 0.65); opacity: 0; transform: translateY(-40%) scale(0.96);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1); pointer-events: none;
}
.agentpay.on { opacity: 1; transform: translateY(-50%) scale(1); }
.agent-head { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.agent-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d9ccff, #8856f5 55%, #4a2bb0); box-shadow: 0 0 18px rgb(136 86 245 / 0.8); }
.agent-via { margin-left: auto; font-size: 12px; color: var(--violet-ink); }
.agent-msg { background: rgb(255 255 255 / 0.08); border-radius: 16px 16px 16px 4px; padding: 11px 13px; font-size: 15.5px; line-height: 1.4; }
.agent-order { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 2px; font-size: 14px; color: #d6d0ee; }
.agent-order b { color: #fff; font-size: 18px; }
.agent-dots { display: inline-flex; gap: 4px; }
.agent-dots b { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: typing 1s ease-in-out infinite; }
.agent-dots b:nth-child(2) { animation-delay: 0.15s; }
.agent-dots b:nth-child(3) { animation-delay: 0.3s; }
.agentpay[data-stage="1"] .terminal-status { animation: none; }
@keyframes typing { 50% { opacity: 0.3; transform: translateY(-3px); } }
.player-title, .player .verified { transition: opacity 0.6s ease; }
.theater.quiet .player-title, .theater.quiet .player .verified { opacity: 0; }
.theater.ended .player-title, .theater.ended .player .verified { opacity: 0; }
.reel-end {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px));
  padding: 32px; border-radius: 24px; background: rgb(28 28 30 / 0.86); backdrop-filter: saturate(180%) blur(24px);
  display: grid; gap: 10px; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.reel-end h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 54px; line-height: 0.9; }
.reel-end p { color: #d1d1d6; }
.theater-back { position: absolute; top: 24px; left: var(--gutter); display: inline-flex; align-items: center; gap: 6px; font-size: 16px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgb(0 0 0 / 0.45); backdrop-filter: blur(12px); }
.theater-back svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.theater-checking { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #d1d1d6; }
.player { position: absolute; inset: auto var(--gutter) 40px; display: grid; gap: 18px; }
.player-title p { font-size: 15px; color: #d1d1d6; }
.player-title h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0; font-size: clamp(48px, 7vw, 110px); line-height: 0.86; }
.controls { display: flex; align-items: center; gap: 16px; }
.controls button svg { width: 30px; height: 30px; fill: #fff; }
.scrub { flex: 1; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.25); overflow: hidden; }
.scrub i { display: block; height: 100%; width: 0; background: var(--red); }
.controls span { font-variant-numeric: tabular-nums; font-size: 15px; min-width: 64px; text-align: right; }
.paywall {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px));
  padding: 32px; border-radius: 24px; background: rgb(28 28 30 / 0.86); backdrop-filter: saturate(180%) blur(24px);
  display: grid; gap: 10px; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.paywall-film { font-size: 14px; color: var(--label2); }
.paywall h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.paywall p { color: #d1d1d6; }
.paywall-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* Splash */
.splash { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 24px; color: var(--label2); }
.splash .wordmark { font-size: 64px; }
.loader { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--raised); border-top-color: var(--violet); animation: spin 0.8s linear infinite; }

/* Footer */
.footer { padding: 40px var(--gutter) 48px; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--label2); font-size: 14px; }
.footer-disclaimer { font-size: 12px; max-width: 72ch; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav button { color: #d1d1d6; font-size: 14px; }
.footer nav button:hover { color: #fff; }
body[data-route="watch"] .footer, body[data-route="autologin"] .footer,
body[data-route="watch"] .topbar, body[data-route="autologin"] .topbar { display: none; }

/* Dialogs */
.modal { padding: 0; border: 0; border-radius: 22px; background: var(--group); color: var(--paper); max-width: min(94vw, 760px); max-height: 92dvh; box-shadow: 0 40px 120px rgb(0 0 0 / 0.6); }
.modal::backdrop { background: rgb(0 0 0 / 0.6); backdrop-filter: blur(8px); }
.modal[open] { animation: rise 0.3s ease-out; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgb(120 120 128 / 0.32); font-size: 20px; z-index: 2; }
.auth { width: 420px; padding: 36px; }
.auth h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; }
.auth form { display: grid; gap: 14px; margin-top: 22px; }
.auth label { display: grid; gap: 6px; font-size: 14px; color: #d1d1d6; }
.auth input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--raised); color: var(--paper); }
.auth input:focus { outline: 2px solid var(--violet); outline-offset: 0; }
.password { position: relative; display: block; }
.password input { padding-right: 70px; }
.password button { position: absolute; right: 8px; top: 0; height: 100%; padding: 0 8px; font-size: 14px; color: var(--violet-ink); }
.form-error { min-height: 20px; font-size: 14px; color: var(--bad); }
.auth-switch { margin-top: 18px; font-size: 15px; color: var(--label2); }
.auth-demo { margin-top: 8px; font-size: 15px; }
.auth-foot { margin-top: 18px; }
.title-modal { width: 720px; overflow: auto; }
.title-art { height: 340px; background-size: cover; background-position: center; position: relative; }
.title-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--group), transparent 60%); }
.title-body { padding: 0 32px 32px; margin-top: -60px; position: relative; display: grid; gap: 12px; justify-items: start; }
.title-body h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0; font-size: 56px; line-height: 0.88; }
.title-body p:not(.meta) { color: #d1d1d6; max-width: 56ch; margin-bottom: 8px; }
.info { width: 560px; padding: 36px; }
.info h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.info p { color: #d1d1d6; margin-bottom: 12px; font-size: 16px; }

/* Under the hood (merchant video): technical on purpose, all Flowgate purple. */
.tech {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: var(--tech-width);
  overflow-y: auto; padding: 22px 22px 28px; background: #0c0a14; border-left: 1px solid rgb(136 86 245 / 0.4);
  font-size: 14px; display: grid; align-content: start; gap: 22px; letter-spacing: 0;
}
body.tech-open { padding-right: var(--tech-width); }
body.tech-open .topbar { right: var(--tech-width); }
body.tech-open .theater { right: var(--tech-width); }
.tech-head { display: flex; align-items: center; gap: 10px; }
.tech-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tech-env { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--violet-wash); color: var(--violet-ink); }
.tech-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; background: rgb(255 255 255 / 0.08); }
.tech-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: tech; }
.tech-step { counter-increment: tech; position: relative; padding: 10px 10px 10px 44px; border-radius: 10px; }
.tech-step::before {
  content: counter(tech); position: absolute; left: 8px; top: 10px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 600; border: 1px solid rgb(136 86 245 / 0.4); color: var(--violet-ink);
}
.tech-step.done::before { content: '✓'; background: var(--violet); border-color: var(--violet); color: #fff; }
.tech-step.current { background: var(--violet-wash); }
.tech-step.current::before { border-color: var(--violet-ink); }
.tech-step.waiting { color: var(--faint); }
.tech-step h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.tech-step p { font-size: 13px; color: #b9b5c9; }
.tech-step.waiting p { color: var(--faint); }
.tech pre {
  margin: 8px 0 0; padding: 10px 12px; border-radius: 8px; background: #17122b; color: #e7e1ff;
  font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere;
}
.tech code { font-size: 12.5px; color: var(--violet-ink); overflow-wrap: anywhere; }
.tech-log h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.tech-log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.tech-log li { display: grid; grid-template-columns: 62px 58px 1fr; gap: 8px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px solid rgb(255 255 255 / 0.05); }
.tech-log time { color: var(--faint); font-family: var(--mono); font-size: 11.5px; }
.tech-log .src { color: var(--violet-ink); }
.tech-log .src-site, .tech-log .src-server { color: #ff9aa4; }
.tech-log li.fresh { animation: flash 1.6s ease; }
.tech-raw summary { cursor: pointer; font-weight: 600; }
.tech-raw pre { max-height: 360px; overflow: auto; white-space: pre; }
.tech-hint { color: var(--faint); font-size: 12.5px; }
.tech kbd { padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 14px; background: rgb(44 44 46 / 0.92); backdrop-filter: blur(20px); color: #fff; font-weight: 500; font-size: 15px;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.5); transition: opacity 0.2s ease, transform 0.2s ease; max-width: 90vw;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast[data-tone="violet"] { background: var(--violet); }

@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1%, -0.5%); } }
@keyframes projector { from { clip-path: inset(0 100% 0 0); opacity: 0.4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes flash { 0% { background: rgb(136 86 245 / 0.35); } 100% { background: transparent; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(136 86 245 / 0.8); } 100% { box-shadow: 0 0 0 10px rgb(136 86 245 / 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
  :root { --tech-width: 380px; }
}
@media (max-width: 760px) {
  .topbar { height: 60px; gap: 16px; }
  .topnav, .status-chip span { display: none; }
  .status-chip { padding: 0 12px; }
  .wordmark { font-size: 28px; }
  .billboard { height: 78vh; min-height: 520px; }
  .billboard-art { background-position: 76% 40%; }
  .billboard-copy { right: var(--gutter); bottom: 14%; }
  .billboard-text { font-size: 16px; }
  .billboard-actions .btn { min-height: 46px; font-size: 16px; }
  .billboard + .row { margin-top: -40px; }
  .notice { top: 72px; flex-wrap: wrap; }
  .how-steps { grid-template-columns: 1fr; }
  .group > div { flex-wrap: wrap; }
  .group dd { text-align: left; }
  .auth { padding: 28px 22px; }
  .title-art { height: 220px; }
  .title-body { padding: 0 20px 24px; }
  .terminal { right: 50%; width: 260px; margin-right: -130px; }
  .qrpay { width: 250px; }
  .agentpay { right: 50%; width: 290px; margin-right: -145px; }
  .qrpay-code { width: 140px; }
  .tech { width: 100%; top: auto; height: 62dvh; border-left: 0; border-top: 1px solid rgb(136 86 245 / 0.4); }
  body.tech-open { padding-right: 0; padding-bottom: 62dvh; }
  body.tech-open .topbar, body.tech-open .theater { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
