/* ============================================================
   Secure Upload - component styles
   Ported from the design prototype's inline styles (dark theme,
   filled icons, digits countdown). Values are kept verbatim from
   the mock for pixel fidelity.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--color-dark);
  color: var(--color-fg-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input { font-family: inherit; }
::selection { background: rgba(243, 63, 94, 0.35); color: #fff; }
a { color: inherit; }

/* --- Fixed backdrop: pixel grid + ambient glow blobs --- */
.pixel-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.ambient-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.ambient-glow::before, .ambient-glow::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35;
}
.ambient-glow::before {
  top: -10%; left: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(243, 63, 94, 0.35), transparent 70%);
}
.ambient-glow::after {
  bottom: -15%; right: -10%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.22), transparent 70%);
}

#root { position: relative; z-index: 1; min-height: 100vh; }

/* The mascot is an animated GIF; render it smoothly (no pixelation). */
.kwee { display: block; width: auto; }

/* --- Animations --- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.shake { animation: shake 380ms cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 400ms var(--ease-out-expo) both; }

@media (prefers-reduced-motion: reduce) {
  .shake, .fade-up { animation: none; }
}

/* --- Page layout --- */
.page {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 24px; position: relative;
}
.page-topbar {
  position: absolute; top: 32px; left: 32px; right: 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-right {
  font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, 0.35);
  display: inline-flex; align-items: center; gap: 14px;
}
.topbar-right a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.topbar-right a:hover { color: #fff; }
.linkbtn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.linkbtn:hover { color: #fff; }

.brandrow { display: flex; align-items: center; gap: 16px; padding-bottom: 4px; }
.brandrow img { height: 28px; width: auto; display: block; }
.brandrow-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 9999px;
  background: rgba(243, 63, 94, 0.12); border: 1px solid rgba(243, 63, 94, 0.25);
  font-size: 11px; font-weight: 700; color: #F33F5E;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.brandrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #F33F5E; }

.stage { width: 100%; }
.stage-admin { max-width: 560px; }
.stage-recipient { max-width: 520px; }

/* --- Card --- */
.card {
  background: rgba(28, 29, 39, 0.85);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(243, 63, 94, 0.08);
}
.card-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-family: inherit; letter-spacing: -0.005em;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 150ms var(--ease-out-expo), background-color 150ms, box-shadow 200ms;
}
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-md { padding: 13px 24px; font-size: 15px; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn-full { width: 100%; }

.btn-primary { background: #F33F5E; color: #12131A; box-shadow: 0 4px 24px rgba(243, 63, 94, 0.40); }
.btn-primary:hover:not(:disabled) { background: #E0294B; box-shadow: 0 6px 32px rgba(243, 63, 94, 0.55); transform: scale(1.02); }
.btn-secondary { background: #00C2A8; color: #12131A; box-shadow: 0 4px 24px rgba(0, 194, 168, 0.30); }
.btn-secondary:hover:not(:disabled) { background: #00A891; box-shadow: 0 6px 32px rgba(0, 194, 168, 0.45); transform: scale(1.02); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.12); }
.btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled {
  background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06); cursor: not-allowed; box-shadow: none;
}
.actions { display: flex; gap: 10px; }

/* --- Headings / shared text --- */
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #F33F5E; margin-bottom: 12px;
}
.label-up {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
}

/* --- Admin: idle stage --- */
.idle-head { margin-bottom: 28px; }
.idle-head h1 {
  font-size: 40px; font-weight: 800; color: #fff;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 12px;
}
.idle-head h1 .accent { color: #F33F5E; }
.idle-sub { font-size: 16px; color: rgba(255, 255, 255, 0.55); line-height: 1.55; max-width: 440px; }

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px; padding: 40px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: pointer; transition: all 200ms var(--ease-out-expo);
  text-align: center;
}
.dropzone.dragover { border-color: #F33F5E; background: rgba(243, 63, 94, 0.08); }
.dropzone-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(243, 63, 94, 0.12); border: 1px solid rgba(243, 63, 94, 0.25);
  display: flex; align-items: center; justify-content: center; color: #F33F5E;
  transition: transform 200ms var(--ease-out-expo);
}
.dropzone.dragover .dropzone-icon { transform: translateY(-4px); }
.dropzone-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.dropzone-sub { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

.secnote {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px; padding: 14px 16px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px; color: rgba(255, 255, 255, 0.65); line-height: 1.5;
}
.secnote svg { flex-shrink: 0; }

/* --- File row / preview --- */
.file-row {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}
.file-info { flex: 1; min-width: 0; }
.file-name {
  font-size: 15px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-sub {
  font-size: 13px; color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono); margin-top: 2px;
}
.file-remove {
  background: transparent; border: none; color: rgba(255, 255, 255, 0.5);
  padding: 8px; border-radius: 8px; cursor: pointer; display: flex;
}
.file-remove:hover { color: #fff; }

/* --- Expiry segmented control --- */
.expiry-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.expiry-btn {
  padding: 14px 16px; border-radius: 9px; background: transparent;
  color: rgba(255, 255, 255, 0.75); border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: all 150ms; font-family: inherit;
}
.expiry-btn .lab { font-size: 15px; font-weight: 700; }
.expiry-btn .hint { font-size: 11px; font-weight: 600; opacity: 0.7; font-family: var(--font-mono); }
.expiry-btn.active { background: #F33F5E; color: #12131A; box-shadow: 0 4px 16px rgba(243, 63, 94, 0.35); }

/* --- Upload progress --- */
.up-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.up-name {
  font-size: 18px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.progress-track { height: 8px; background: rgba(255, 255, 255, 0.06); border-radius: 9999px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #F33F5E 0%, #FF6B85 100%);
  border-radius: 9999px; transition: width 200ms linear;
  box-shadow: 0 0 16px rgba(243, 63, 94, 0.6);
}
.up-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.up-pct { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.up-note {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 16px;
  border-radius: 12px; background: rgba(0, 194, 168, 0.06); border: 1px solid rgba(0, 194, 168, 0.18);
  font-size: 13px; color: rgba(255, 255, 255, 0.75);
}

/* --- Success card --- */
.succ-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.succ-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(46, 204, 113, 0.18); border: 1px solid rgba(46, 204, 113, 0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.succ-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #2ECC71; margin-bottom: 2px; }
.succ-head h2 { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.015em; }
.succ-file {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; margin-bottom: 24px;
}
.succ-expires {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(243, 63, 94, 0.14); color: #F78FA0; padding: 4px 10px; border-radius: 9999px;
  white-space: nowrap;
}
.succ-grid { display: grid; grid-template-columns: 1fr 152px; gap: 16px; margin-bottom: 24px; }
.succ-fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.qr-box {
  padding: 10px; background: #fff; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; height: fit-content;
}
.qr-box img { display: block; width: 132px; height: 132px; }
.qr-cap { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5A5B6A; margin-top: 8px; }
.warn {
  padding: 12px 14px; border-radius: 12px;
  background: rgba(245, 166, 35, 0.08); border: 1px solid rgba(245, 166, 35, 0.22);
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; color: #FACA7E;
}
.warn svg { flex-shrink: 0; }
.warn span { font-size: 12.5px; line-height: 1.5; }
.warn strong { color: #fff; }

/* --- CopyField --- */
.copyfield { display: flex; flex-direction: column; gap: 6px; }
.copyfield-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.copyfield-box {
  display: flex; align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); overflow: hidden;
}
.copyfield-value {
  flex: 1; min-width: 0; padding: 12px 14px;
  font-family: var(--font-mono); font-size: 14px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.02em; display: flex; align-items: center;
  background: transparent; border: none;
}
.copyfield-btn {
  background: transparent; border: none; border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; padding: 0 16px; cursor: pointer; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.copyfield-eye {
  background: transparent; border: none; border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6); padding: 0 12px; cursor: pointer; display: flex; align-items: center;
}

/* --- Countdown (digits, full-width) --- */
.countdown {
  display: flex; width: 100%; align-items: center; justify-content: space-around; gap: 0;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; flex: 1; }
.cd-num {
  font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: #fff;
  line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.cd-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.cd-sep { font-size: 22px; color: rgba(255, 255, 255, 0.25); font-family: var(--font-mono); transform: translateY(-6px); }

/* --- Recipient: gate --- */
.kwee-disc {
  width: 88px; height: 88px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(243, 63, 94, 0.22), transparent 70%);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.kwee-disc img { height: 66px; }
.gate h1 { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.gate h1 .accent { color: #F33F5E; }
.gate-sub { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.55; max-width: 380px; margin: 0 auto 20px; }

/* Expiry countdown on the gate page: captioned wrapper above the shared digits. */
.gate-countdown { margin-bottom: 18px; }
.gate-countdown-label {
  font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.5);
  text-align: center; margin-bottom: 8px;
}

.qr-card {
  display: flex; align-items: center; gap: 16px; padding: 14px; margin-bottom: 18px; text-align: left;
  border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px dashed rgba(255, 255, 255, 0.14);
}
.qr-card-img { padding: 6px; background: #fff; border-radius: 10px; flex-shrink: 0; line-height: 0; }
.qr-card-img img { display: block; width: 84px; height: 84px; }
.qr-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #F33F5E; margin-bottom: 4px; }
.qr-card-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: -0.005em; }
.qr-card-desc { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); line-height: 1.45; }

.divider { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.divider-line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.08); }
.divider-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35); }

.pw-box {
  display: flex; align-items: stretch;
  border: 1.5px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
  border-radius: 12px; overflow: hidden; transition: all 200ms;
}
.pw-box.error { border-color: #F33F5E; background: rgba(243, 63, 94, 0.06); box-shadow: 0 0 0 4px rgba(243, 63, 94, 0.10); }
.pw-lock { display: flex; align-items: center; justify-content: center; padding-left: 14px; color: rgba(255, 255, 255, 0.5); }
.pw-box.error .pw-lock { color: #F33F5E; }
.pw-input {
  flex: 1; min-width: 0; padding: 16px 14px; background: transparent; border: none; outline: none;
  font-family: var(--font-mono); font-size: 16px; color: #fff; letter-spacing: 0.08em;
  text-align: center; font-weight: 600;
}
.pw-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.pw-toggle { background: transparent; border: none; padding: 0 14px; color: rgba(255, 255, 255, 0.5); cursor: pointer; display: flex; align-items: center; }
.pw-error { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #F78FA0; font-size: 13px; font-weight: 600; }
.pw-help { margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.4); text-align: center; }
.pw-submit { margin-top: 22px; }

/* --- Recipient: terms --- */
.terms-unlocked { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.terms-unlocked .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(46, 204, 113, 0.18); border: 1px solid rgba(46, 204, 113, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.terms-unlocked .lab { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #2ECC71; }
.terms h2 { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 22px; }
.filepreview {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
}
.terms-block {
  padding: 18px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}
.terms-block-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 10px; }
.terms-list { margin: 0; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.65; display: flex; flex-direction: column; gap: 8px; }
.terms-list li { display: flex; gap: 10px; }
.terms-bullet { width: 5px; height: 5px; border-radius: 50%; background: #F33F5E; flex-shrink: 0; margin-top: 8px; }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer; margin-bottom: 20px; transition: all 200ms;
}
.checkbox-label.checked { background: rgba(0, 194, 168, 0.06); border-color: rgba(0, 194, 168, 0.30); }
.checkbox-box {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; margin-top: 1px;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex; align-items: center; justify-content: center; transition: all 150ms;
}
.checkbox-box svg { display: none; }
/* Sibling-driven so the tick shows even without JS (native input is first). */
.checkbox-native:checked ~ .checkbox-box { background: #00C2A8; border-color: #00C2A8; }
.checkbox-native:checked ~ .checkbox-box svg { display: block; }
.checkbox-native { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-text { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }

/* --- Recipient: expired --- */
.expired { text-align: center; }
.kwee-disc-expired {
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 155, 170, 0.18), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; filter: grayscale(0.4); opacity: 0.85;
}
.kwee-disc-expired img { height: 90px; }
.expired-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px;
  background: rgba(243, 63, 94, 0.14); border: 1px solid rgba(243, 63, 94, 0.35);
  color: #F78FA0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.expired h2 { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.expired p { font-size: 15px; color: rgba(255, 255, 255, 0.55); line-height: 1.6; max-width: 380px; margin: 0 auto; }

/* --- Login --- */
.login h1 { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.login-sub { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.55; margin-bottom: 22px; }

/* --- Toast --- */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%);
  background: #12131A; border: 1px solid rgba(255, 255, 255, 0.12); color: #fff;
  padding: 10px 16px; border-radius: 9999px; z-index: 1000;
  font-size: 13px; font-weight: 600; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  display: none; align-items: center; gap: 8px;
}
.toast.show { display: flex; }

/* Mobile niceties */
@media (max-width: 560px) {
  .page { padding: 80px 16px 40px; }
  .page-topbar { left: 16px; right: 16px; top: 20px; }
  .card { padding: 24px; }
  .succ-grid { grid-template-columns: 1fr; }
  .qr-box { max-width: 200px; margin: 0 auto; }
  .actions { flex-direction: column; }
}
