/* ============================================================ Cotiz — thème */
:root {
  --mint: #c9f4e0;
  --mint-2: #a6ecd0;
  --ink: #06141c;
  --ink-2: #33505e;
  --white: #fff;
  --muted: rgba(255, 255, 255, .74);
  --muted-2: rgba(255, 255, 255, .55);
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .10);
  --card: linear-gradient(160deg, rgba(20, 66, 100, .88) 0%, rgba(24, 92, 122, .62) 100%);
  --ok: #7ef0b5;
  --warn: #ffd27a;
  --bad: #ff9a9a;
  --radius: 22px;
  --shadow: 0 14px 34px rgba(4, 24, 44, .32), inset 0 1px 0 rgba(255, 255, 255, .08);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--white);
  background: #1f6f8b;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 55% at 0% 0%, rgba(99, 198, 168, .95) 0%, transparent 60%),
    radial-gradient(80% 60% at 100% 35%, rgba(47, 150, 207, .9) 0%, transparent 65%),
    radial-gradient(90% 50% at 50% 105%, rgba(160, 232, 205, .55) 0%, transparent 60%),
    linear-gradient(172deg, #3aa59b 0%, #2785b9 48%, #1d5a83 100%);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.noscript { padding: 40px 20px; text-align: center; }

.app {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 18px) 18px calc(var(--safe-bottom) + 112px);
  outline: none;
  animation: fade .25s ease;
}
.app.no-nav { padding-bottom: calc(var(--safe-bottom) + 28px); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================ En-têtes */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .2px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.icon-btn:active { transform: scale(.96); }
.chip-btn {
  height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--mint); color: var(--ink); font-weight: 800; font-size: 13px;
}
.chip-btn svg.i { width: 17px; height: 17px; }

.hello { font-size: clamp(40px, 12vw, 54px); font-weight: 900; color: var(--mint); letter-spacing: -1px; line-height: 1; margin: 22px 0 6px; }
.hello-sub { font-size: clamp(22px, 6.6vw, 28px); font-weight: 400; color: var(--mint); margin: 0 0 22px; opacity: .95; }
.page-title { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.page-title h1 { font-size: 26px; font-weight: 900; margin: 0; line-height: 1.15; color: var(--mint); }
.page-title p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 2px 12px; }
.section-head h2 { font-size: 19px; font-weight: 800; margin: 0; }
.section-head a, .section-head button { font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 700; }

/* ============================================================ Cartes */
.stack { display: grid; gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.card.tap { cursor: pointer; transition: transform .15s ease; }
.card.tap:active { transform: scale(.985); }

.hero { display: flex; align-items: center; gap: 14px; padding: 16px; text-decoration: none; }
.date-badge {
  width: 52px; height: 58px; border-radius: 16px; background: var(--white); color: var(--ink);
  display: grid; place-content: center; text-align: center; line-height: 1.05; flex: none;
}
.date-badge b { font-size: 18px; font-weight: 900; }
.date-badge span { font-size: 12px; font-weight: 700; text-transform: capitalize; }
.hero-text { flex: 1; min-width: 0; }
.hero-text h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.hero-text p { margin: 0; color: var(--muted); font-size: 13px; }

.task-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.task h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.task .date { margin: 6px 0 14px; color: var(--muted); font-size: 13px; }
.task-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--ink);
  font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 13px; white-space: nowrap;
}
.small-muted { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f2fff9, var(--mint)); min-width: 4%; }
.kebab { width: 34px; height: 34px; margin: -6px -8px 0 0; border-radius: 10px; display: grid; place-items: center; color: var(--white); }
.kebab:active { background: var(--glass); }
.tag-off { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .16); color: var(--muted); margin-left: 6px; vertical-align: middle; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 16px; }
.stat.wide { grid-column: 1 / -1; }
.stat small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.stat b { font-size: 24px; font-weight: 900; letter-spacing: -.3px; }
.stat.wide b { font-size: 32px; color: var(--mint); }

.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty svg.i { width: 40px; height: 40px; opacity: .7; margin-bottom: 8px; }
.empty h3 { color: var(--white); margin: 4px 0 6px; font-size: 17px; }
.empty p { margin: 0; font-size: 14px; }

.skeleton { height: 128px; border-radius: var(--radius); background: linear-gradient(100deg, rgba(255,255,255,.08) 30%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.08) 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ============================================================ Boutons */
.btn {
  width: 100%; height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #050a0e; color: var(--white); font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .12s ease, opacity .2s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; pointer-events: none; }
.btn.mint { background: var(--mint); color: var(--ink); }
.btn.ghost { background: var(--glass); border: 1px solid var(--line); box-shadow: none; }
.btn.danger { background: rgba(255, 120, 120, .16); color: #ffd1d1; border: 1px solid rgba(255, 140, 140, .3); box-shadow: none; }
.btn.sm { height: 46px; font-size: 14.5px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ Formulaires */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); padding-left: 4px; }
.field em { font-style: normal; color: var(--muted-2); font-weight: 600; }
.input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .16); outline: none;
  transition: border-color .15s, background .15s; font-size: 16px; font-weight: 600;
}
textarea.input { height: auto; min-height: 92px; padding: 14px 16px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
select.input option { color: var(--ink); }
.input::placeholder { color: var(--muted-2); font-weight: 500; }
.input:focus { border-color: var(--mint); background: rgba(255, 255, 255, .14); }
.input.invalid { border-color: var(--bad); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 12.5px; color: var(--muted); padding-left: 4px; margin: -4px 0 0; line-height: 1.45; }
.amount-wrap { position: relative; }
.amount-wrap .input { padding-right: 64px; font-size: 20px; font-weight: 800; }
.amount-wrap::after { content: 'F CFA'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); font-size: 13px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 18px; background: rgba(0, 0, 0, .22); }
.seg button { height: 48px; border-radius: 14px; font-weight: 800; font-size: 14.5px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); transition: background .15s, color .15s; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.seg svg.i { width: 19px; height: 19px; }

.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.op {
  border-radius: 18px; padding: 14px; text-align: left; background: rgba(255, 255, 255, .08); border: 2px solid transparent;
  display: flex; align-items: center; gap: 10px; transition: border-color .15s, background .15s;
}
.op[aria-pressed="true"] { border-color: var(--mint); background: rgba(201, 244, 224, .16); }
.op-logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 15px; flex: none; }
.op-logo.flooz { background: #1b5fbf; color: #fff; box-shadow: inset 0 -6px 0 #f58220; }
.op-logo.mixx { background: #ffd400; color: #1c1c1c; }
.op b { display: block; font-size: 14.5px; }
.op small { color: var(--muted); font-size: 11.5px; }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); font-weight: 700; }
.switch input { appearance: none; width: 50px; height: 30px; border-radius: 99px; background: rgba(255, 255, 255, .25); position: relative; transition: background .2s; flex: none; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(20px); }

.error-box { background: rgba(255, 110, 110, .16); border: 1px solid rgba(255, 140, 140, .35); color: #ffe0e0; padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; }

/* ============================================================ Reçu */
.receipt { background: var(--white); color: var(--ink); border-radius: 28px; padding: 22px 20px; box-shadow: 0 24px 50px rgba(3, 25, 45, .35); position: relative; }
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.receipt-head h2 { margin: 0; font-size: 19px; font-weight: 900; line-height: 1.25; }
.receipt-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 13px; }
.qr-box { margin: 18px auto 10px; width: min(260px, 72vw); aspect-ratio: 1; padding: 10px; border-radius: 22px; background: #fff; border: 1.5px dashed #c9dbe2; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-box.done { position: relative; }
.code { text-align: center; font-weight: 900; font-size: 24px; letter-spacing: 3px; margin: 0; }
.code-hint { text-align: center; color: var(--ink-2); font-size: 13px; margin: 6px 12px 16px; line-height: 1.45; }
.dl { margin: 0; padding-top: 14px; border-top: 1.5px dashed #d7e5ea; display: grid; gap: 10px; }
.dl div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.dl dt { color: var(--ink-2); font-weight: 600; }
.dl dd { margin: 0; font-weight: 800; text-align: right; word-break: break-word; }
.dl.dark { border-top-color: var(--line); }
.dl.dark dt { color: var(--muted); }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.en_attente { background: #fff3d6; color: #9a6400; }
.status.validee { background: #d9f8e8; color: #0b7a45; }
.status.rejetee { background: #ffe1e1; color: #b42323; }
.on-dark .status.en_attente { background: rgba(255, 210, 122, .18); color: var(--warn); }
.on-dark .status.validee { background: rgba(126, 240, 181, .16); color: var(--ok); }
.on-dark .status.rejetee { background: rgba(255, 154, 154, .16); color: var(--bad); }

.note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fff0f0; color: #8f1d1d; font-size: 13px; font-weight: 600; }

/* ============================================================ Listes */
.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(9, 40, 64, .45); border: 1px solid rgba(255, 255, 255, .07); text-align: left; width: 100%; }
.row:active { background: rgba(9, 40, 64, .6); }
.avatar { width: 42px; height: 42px; border-radius: 14px; background: rgba(201, 244, 224, .18); color: var(--mint); font-weight: 900; display: grid; place-items: center; flex: none; font-size: 15px; }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-end { text-align: right; display: grid; gap: 6px; justify-items: end; }
.row-end b { font-size: 14.5px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-weight: 700; font-size: 13px; white-space: nowrap; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: transparent; }
.search { position: relative; margin: 12px 0 14px; }
.search svg.i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 19px; height: 19px; }
.search .input { padding-left: 44px; height: 48px; font-size: 16px; }

.menu-list { display: grid; gap: 4px; }
.menu-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 12px; border-radius: 14px; font-weight: 700; font-size: 15.5px; text-align: left; text-decoration: none; }
.menu-item:active { background: var(--glass); }
.menu-item.danger { color: var(--bad); }
.menu-item .grow { flex: 1; }
.menu-item small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* ============================================================ Navigation basse */
.nav {
  position: fixed; z-index: 20; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--safe-bottom) + 14px); width: min(444px, calc(100% - 28px));
  height: 70px; border-radius: 28px; background: rgba(4, 9, 13, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}
.nav a { display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .7); text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { color: var(--mint); }
.nav a.scan { color: var(--ink); }
.nav a.scan span.ring { width: 54px; height: 54px; margin-top: -30px; border-radius: 20px; background: var(--mint); display: grid; place-items: center; box-shadow: 0 10px 22px rgba(0, 0, 0, .35), 0 0 0 5px rgba(4, 9, 13, .94); }
.nav a.scan small { color: rgba(255, 255, 255, .7); font-size: 12px; }
.nav a.scan[aria-current="page"] small { color: var(--mint); }

/* ============================================================ Feuilles (bottom sheet) */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(2, 14, 24, .55); animation: fadeIn .2s ease; }
.sheet {
  position: fixed; z-index: 41; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(480px, 100%); max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(175deg, #1d6487 0%, #164b6e 100%);
  border-radius: 28px 28px 0 0; padding: 10px 20px calc(var(--safe-bottom) + 22px);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, .3); animation: up .26s cubic-bezier(.2, .8, .2, 1);
}
.sheet::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .3); margin: 0 auto 14px; }
.sheet h2 { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.sheet .sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.sheet .qr-mini { width: 150px; margin: 4px auto 8px; padding: 8px; background: #fff; border-radius: 16px; }
.sheet .qr-mini svg { display: block; width: 100%; height: 100%; }
.sheet .actions { display: grid; gap: 10px; margin-top: 18px; }
.closing .backdrop { animation: fadeOut .2s ease forwards; }
.closing .sheet { animation: down .2s ease forwards; }
@keyframes up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes down { to { transform: translate(-50%, 100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

.result-banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; margin-bottom: 14px; font-weight: 800; }
.result-banner svg.i { width: 26px; height: 26px; }
.result-banner.ok { background: rgba(126, 240, 181, .18); color: var(--ok); }
.result-banner.warn { background: rgba(255, 210, 122, .16); color: var(--warn); }
.result-banner.bad { background: rgba(255, 154, 154, .16); color: var(--bad); }
.result-banner small { display: block; font-weight: 600; color: var(--muted); font-size: 12.5px; }

/* ============================================================ Installation iPhone */
.ios-tip { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; margin: 0 0 14px; }
.ios-tip img { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.ios-tip .grow { flex: 1; min-width: 0; }
.ios-tip b { display: block; font-size: 15px; }
.ios-tip small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ios-tip .icon-btn { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.ios-tip .icon-btn svg.i { width: 17px; height: 17px; }
.steps { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
.steps b { display: block; font-size: 15px; }
.steps small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.step-ic { width: 44px; height: 44px; border-radius: 13px; background: #fff; color: #0a84ff; display: grid; place-items: center; flex: none; }
.copy-link { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; }
.copy-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .2); font-size: 13px; }

/* ============================================================ Toast */
.toast {
  position: fixed; z-index: 60; left: 50%; top: calc(var(--safe-top) + 14px); transform: translate(-50%, -140%);
  max-width: min(440px, calc(100% - 32px)); padding: 13px 18px; border-radius: 16px;
  background: #050a0e; color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s; pointer-events: none; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.error { background: #7c1d1d; }
.toast.ok { background: #0d5c3a; }

/* ============================================================ Accueil (onboarding) */
.onb { position: relative; min-height: calc(100dvh - var(--safe-top) - 46px); display: flex; flex-direction: column; }
.onb-brand { position: relative; z-index: 1; margin-top: 10px; }
.onb-brand small { font-weight: 800; font-size: 22px; color: var(--mint); letter-spacing: 1px; }
.onb-brand h1 { margin: -6px 0 0; font-size: clamp(96px, 30vw, 136px); font-weight: 900; line-height: .9; color: var(--mint); letter-spacing: -5px; }
.onb-art { position: relative; flex: 1; min-height: 300px; margin: -18px 0 8px; }
.onb-phone {
  position: absolute; left: 50%; top: 10px; width: 210px; transform: translateX(-50%) rotate(-6deg);
  background: #fff; color: var(--ink); border-radius: 30px; padding: 18px 16px; box-shadow: 0 30px 60px rgba(3, 25, 45, .45);
}
.onb-phone .qr-box { width: 100%; margin: 6px 0 8px; border-radius: 16px; }
.onb-phone b { display: block; text-align: center; letter-spacing: 2px; font-size: 16px; }
.onb-phone small { display: block; text-align: center; color: var(--ink-2); font-size: 11px; margin-bottom: 2px; }
.float {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px;
  background: rgba(14, 52, 82, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 800; font-size: 13px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .1); animation: bob 4s ease-in-out infinite;
}
.float .dot { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; }
.float.f1 { left: 0; top: 46px; }
.float.f2 { right: 0; top: 150px; animation-delay: -1.4s; }
.float.f3 { left: 6px; bottom: 18px; animation-delay: -2.6s; background: var(--mint); color: var(--ink); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.onb-copy h2 { font-size: clamp(30px, 9vw, 38px); font-weight: 900; margin: 0 0 10px; line-height: 1.05; }
.onb-copy p { margin: 0 0 22px; color: rgba(255, 255, 255, .88); font-size: 15.5px; line-height: 1.5; }

/* ============================================================ Scanner */
.scanner { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 62dvh; border-radius: 28px; overflow: hidden; background: #02090e; box-shadow: var(--shadow); }
.scanner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanner .frame { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.scanner .frame i {
  width: 64%; aspect-ratio: 1; border-radius: 26px; box-shadow: 0 0 0 999px rgba(2, 9, 14, .45);
  background:
    linear-gradient(var(--mint), var(--mint)) top left / 34px 4px, linear-gradient(var(--mint), var(--mint)) top left / 4px 34px,
    linear-gradient(var(--mint), var(--mint)) top right / 34px 4px, linear-gradient(var(--mint), var(--mint)) top right / 4px 34px,
    linear-gradient(var(--mint), var(--mint)) bottom left / 34px 4px, linear-gradient(var(--mint), var(--mint)) bottom left / 4px 34px,
    linear-gradient(var(--mint), var(--mint)) bottom right / 34px 4px, linear-gradient(var(--mint), var(--mint)) bottom right / 4px 34px;
  background-repeat: no-repeat;
}
.scanner .laser { position: absolute; left: 22%; right: 22%; height: 2px; top: 30%; background: var(--mint); box-shadow: 0 0 14px var(--mint); animation: laser 2.2s ease-in-out infinite; }
@keyframes laser { 50% { top: 68%; } }
.scanner .msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-weight: 700; }
.scanner-hint { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 18px; }
.manual { display: flex; gap: 10px; }
.manual .input { text-transform: uppercase; letter-spacing: 2px; font-weight: 800; }
.manual .btn { width: auto; padding: 0 20px; height: 54px; flex: none; }

/* ============================================================ Desktop */
@media (min-width: 720px) {
  .app { padding-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
