:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #10141b;
  --panel-2: #151b24;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f9fc;
  --muted: #8f99a8;
  --blue: #23a7e8;
  --blue-2: #087eb9;
  --green: #28c981;
  --red: #ff5d67;
  --amber: #f5b942;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.muted-text { color: var(--muted); font-size: 13px; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.small-text { font-size: 12px; }

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text);
  background: var(--panel-2);
  font-weight: 750;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 28px rgba(15, 144, 205, .22); }
.btn.ghost { border-color: var(--line); background: rgba(255,255,255,.035); }
.btn.danger { background: rgba(255, 93, 103, .12); color: #ff8d94; border-color: rgba(255, 93, 103, .25); }
.btn.warning { background: rgba(245, 185, 66, .12); color: #ffd176; border-color: rgba(245, 185, 66, .25); }
.btn.compact { min-height: 36px; padding: 0 13px; font-size: 12px; border-radius: 10px; }
.btn.wide { width: 100%; }

.alert {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 15px;
  margin: 0 0 17px;
  background: rgba(255,255,255,.04);
  font-size: 14px;
}
.alert.success { color: #72e7af; background: rgba(40,201,129,.09); border-color: rgba(40,201,129,.2); }
.alert.danger { color: #ff949a; background: rgba(255,93,103,.08); border-color: rgba(255,93,103,.2); }
.alert.warning { color: #ffd176; background: rgba(245,185,66,.08); border-color: rgba(245,185,66,.2); }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.badge.success { color: #6de5aa; background: rgba(40,201,129,.12); }
.badge.warning { color: #ffd176; background: rgba(245,185,66,.12); }
.badge.danger { color: #ff8d94; background: rgba(255,93,103,.12); }
.badge.muted { color: #b4bdca; background: rgba(255,255,255,.07); }
.badge.large { min-height: 31px; padding: 5px 13px; }

/* Authentication */
.auth-body {
  display: grid;
  place-items: center;
  padding: 30px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 116, 178, .18), transparent 38%),
    linear-gradient(145deg, #020306, #0a0e14 62%, #030406);
}
.auth-shell { width: min(430px, 100%); }
.auth-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(12, 16, 22, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.auth-logo { width: 205px; height: auto; margin: -8px auto 20px; mix-blend-mode: screen; }
.auth-panel h1 { margin: 0 0 9px; font-size: 31px; letter-spacing: -.04em; }
.auth-panel .muted-text { margin: 0 0 22px; line-height: 1.6; }
.stack-form { display: grid; gap: 15px; }
.stack-form label, .inline-form label, .location-form label, .secure-link-box label {
  display: grid;
  gap: 7px;
  color: #b8c0cb;
  font-size: 12px;
  font-weight: 750;
}
input {
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus { border-color: rgba(35,167,232,.6); box-shadow: 0 0 0 3px rgba(35,167,232,.1); }
input::placeholder { color: #5f6875; }
.quiet-link { display: block; margin-top: 19px; text-align: center; color: var(--muted); font-size: 12px; }

/* Admin */
.admin-body { background: #080a0e; }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #090c11;
  padding: 24px 17px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar-brand { display: block; padding: 0 8px 20px; border-bottom: 1px solid var(--line); }
.sidebar-brand img { width: 155px; mix-blend-mode: screen; margin-left: -9px; }
.sidebar-brand span { display: block; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .22em; margin-top: -14px; }
.side-nav { display: grid; gap: 6px; margin-top: 23px; }
.side-nav a { padding: 12px 13px; border-radius: 11px; color: #a5aebb; font-size: 13px; font-weight: 700; }
.side-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.side-nav a.active { color: #fff; background: linear-gradient(135deg, rgba(35,167,232,.19), rgba(8,126,185,.08)); border: 1px solid rgba(35,167,232,.18); }
.sidebar-foot { margin-top: auto; padding: 17px 8px 2px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 12px; }
.sidebar-foot span { color: #d6dce4; font-weight: 700; }
.sidebar-foot a { color: var(--muted); }
.admin-main { min-width: 0; padding: 31px clamp(20px, 4vw, 54px) 55px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.topbar h1 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.mobile-menu { display: none; background: none; color: #fff; border: 0; font-size: 25px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.stat-card { min-height: 126px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); padding: 21px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat-card strong { font-size: 36px; letter-spacing: -.05em; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16,20,27,.76); box-shadow: 0 14px 45px rgba(0,0,0,.12); padding: 21px; margin-bottom: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.panel-head.wrap { flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.panel-head > a { color: var(--blue); font-size: 12px; font-weight: 750; }
.list-rows { display: grid; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row > div { min-width: 0; display: grid; gap: 5px; }
.list-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.list-row span:not(.badge) { color: var(--muted); font-size: 11px; }
.list-row.static { cursor: default; }
.empty-state { min-height: 130px; display: grid; place-items: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line); border-radius: 14px; }
.form-panel { scroll-margin-top: 22px; }
.inline-form { display: flex; align-items: end; gap: 12px; }
.inline-form .grow { flex: 1; }
.search-form { display: flex; gap: 8px; }
.search-form input { width: 240px; height: 37px; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.data-table th { padding: 11px 12px; color: #717b89; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td strong { display: block; font-size: 12px; }
.data-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }

.member-layout { display: grid; grid-template-columns: minmax(430px, 570px) minmax(0, 1fr); gap: 25px; align-items: start; }
.card-preview-wrap { position: sticky; top: 24px; display: grid; justify-items: center; gap: 15px; }
.vip-card {
  position: relative;
  width: min(100%, 570px);
  aspect-ratio: 1016 / 638;
  overflow: hidden;
  border-radius: 23px;
  background: #000;
  box-shadow: 0 28px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  container-type: inline-size;
}
.vip-card > img { width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.card-serial, .card-name, .card-valid { position: absolute; color: #fff; font-family: "Courier New", Courier, monospace; text-shadow: 0 2px 5px #000; }
.card-serial {
  top: 59.5%;
  left: 7.2%;
  right: 5.8%;
  font-size: 4.15cqw;
  line-height: 1;
  letter-spacing: .235em;
  white-space: nowrap;
  text-align: left;
}
.card-name {
  top: 72.8%;
  left: 7.2%;
  right: 25%;
  padding: 0;
  font-size: 3.55cqw;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.card-name.long { font-size: 3.05cqw; }
.card-name.xlong { font-size: 2.55cqw; }
.card-valid {
  top: 78.8%;
  right: 4.3%;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 1.25cqw;
  text-align: right;
}
.card-valid > span:first-child { font-size: 1.8cqw; line-height: 1.04; text-align: right; }
.card-valid .valid-value { display: grid; justify-items: end; gap: .2cqw; }
.card-valid small { font-size: 1.25cqw; line-height: 1; letter-spacing: .04em; }
.card-valid strong { font-size: 3.35cqw; line-height: .95; font-weight: 400; letter-spacing: .035em; }
.member-details { padding: 25px; }
.serial-chip { font: 700 13px/1 "SFMono-Regular", Consolas, monospace; border: 1px solid var(--line); padding: 9px 11px; border-radius: 10px; color: #b9c2cf; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 20px; }
.detail-grid > div { padding: 15px; background: #10141b; }
.detail-grid dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.detail-grid dd { margin: 6px 0 0; font-weight: 750; font-size: 13px; }
.secure-link-box { border: 1px solid var(--line); border-radius: 14px; padding: 15px; background: rgba(255,255,255,.018); margin-bottom: 17px; }
.copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; margin-top: 8px; }
.copy-row input { height: 43px; font: 11px/1.2 "SFMono-Regular", Consolas, monospace; }
.secure-link-box small { display: block; color: var(--muted); font-size: 10px; margin-top: 9px; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.action-grid .delete-action { grid-column: 1 / -1; }
.wallet-note { margin-top: 17px; border-radius: 13px; padding: 14px; background: rgba(35,167,232,.07); border: 1px solid rgba(35,167,232,.14); display: grid; gap: 5px; }
.wallet-note strong { font-size: 12px; }
.wallet-note span { color: #93a7b9; font-size: 11px; line-height: 1.5; }

.location-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 10px; align-items: end; }
.location-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.location-card { border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: rgba(255,255,255,.018); }
.location-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.location-card h3 { margin: 0 0 6px; font-size: 14px; }
.location-card-head .mono { color: var(--muted); font-size: 10px; }
.location-actions { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.password-reset { display: flex; gap: 7px; min-width: 0; }
.password-reset input { height: 37px; min-width: 0; }

/* Customer pass */
.pass-body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% -5%, rgba(0, 109, 171, .2), transparent 31%),
    #020306;
  overscroll-behavior: none;
}
.pass-shell { min-height: 100dvh; display: grid; place-items: center; padding: max(22px, env(safe-area-inset-top)) 17px max(25px, env(safe-area-inset-bottom)); }
.customer-card-stage { width: min(680px, 100%); display: grid; justify-items: center; }
.customer-card { width: min(94vw, 640px); border-radius: clamp(16px, 4vw, 24px); }
.pass-status-line { margin-top: 17px; }
.use-pass-button {
  width: min(94vw, 520px);
  height: 57px;
  margin-top: 15px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #18a9ed, #006da7);
  box-shadow: 0 15px 35px rgba(0, 128, 191, .28);
  font-weight: 900;
  letter-spacing: .1em;
  cursor: pointer;
}
.pass-help { width: min(94vw, 520px); color: #77818d; font-size: 10px; line-height: 1.5; text-align: center; }
.pass-unavailable { width: min(94vw, 520px); margin-top: 16px; padding: 14px; border-radius: 13px; text-align: center; color: #ff969c; background: rgba(255,93,103,.09); font-size: 12px; }
.invalid-pass { min-height: 100dvh; display: grid; place-content: center; text-align: center; padding: 30px; }
.invalid-pass h1 { margin: 0 0 8px; }
.invalid-pass p { color: var(--muted); }
.qr-stage { width: min(390px, 100%); display: grid; justify-items: center; }
.qr-head { text-align: center; margin-bottom: 18px; }
.qr-head h1 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.qr-frame { width: 294px; height: 294px; border-radius: 23px; background: #fff; padding: 17px; display: grid; place-items: center; position: relative; box-shadow: 0 25px 70px rgba(0,0,0,.5); }
#qr-code { width: 260px; height: 260px; display: grid; place-items: center; }
#qr-code img, #qr-code canvas { width: 260px !important; height: 260px !important; }
.qr-loading { position: absolute; inset: 17px; display: grid; place-items: center; color: #1f2630; background: #fff; font-size: 12px; text-align: center; }
.qr-stage.completed .qr-loading { font-size: 58px; color: var(--green); }
.timer-grid { width: 294px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.timer-grid > div { padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); text-align: center; }
.timer-grid span { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.timer-grid strong { display: block; margin-top: 5px; font: 700 20px/1 "SFMono-Regular", Consolas, monospace; }
.qr-message { color: #929ca9; min-height: 18px; font-size: 11px; text-align: center; margin: 13px 0; }
.qr-stage > .btn { width: 294px; }

/* Cashier scanner */
.scanner-body { min-height: 100dvh; background: #000; overflow: hidden; }
.scanner-shell { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: #000; }
.scanner-header { min-height: 89px; padding: max(18px, env(safe-area-inset-top)) 19px 14px; background: #05070a; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: end; justify-content: space-between; gap: 13px; z-index: 5; }
.scanner-header span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.scanner-header h1 { margin: 5px 0 0; font-size: 19px; line-height: 1.1; }
.scanner-header a { color: #7d8794; font-size: 11px; padding: 10px 0; }
.scanner-camera { position: relative; min-height: 0; overflow: hidden; background: #000; }
#reader { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 !important; background: #000; }
#reader video { width: 100% !important; height: 100% !important; object-fit: cover !important; }
#reader__scan_region { height: 100% !important; min-height: 100% !important; }
#reader__dashboard, #reader__header_message { display: none !important; }
.scan-guide { position: absolute; width: min(72vw, 330px); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 24px; box-shadow: 0 0 0 9999px rgba(0,0,0,.42); pointer-events: none; }
.scan-guide::before, .scan-guide::after, .scan-guide span::before, .scan-guide span::after { content: ""; position: absolute; width: 39px; height: 39px; border-color: #fff; border-style: solid; }
.scan-guide::before { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 19px 0 0 0; }
.scan-guide::after { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 19px 0 0; }
.scan-guide span::before { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 19px; }
.scan-guide span::after { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 19px 0; }
.scan-guide span { position: absolute; left: 9%; right: 9%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(35,167,232,.95), transparent); box-shadow: 0 0 13px var(--blue); animation: scanline 2s ease-in-out infinite; }
@keyframes scanline { 0%,100% { transform: translateY(-110px); opacity: .4; } 50% { transform: translateY(110px); opacity: 1; } }
.camera-state { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; text-align: center; background: #020306; color: #a5afbb; font-size: 12px; z-index: 3; padding: 25px; }
.camera-state strong { color: #fff; font-size: 16px; }
.camera-state span { color: #7e8996; }
.scanner-footer { min-height: 68px; padding: 15px 18px max(15px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 8px; color: #9099a5; background: #05070a; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(40,201,129,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(40,201,129,0); } 100% { box-shadow: 0 0 0 0 rgba(40,201,129,0); } }
.scan-result { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; text-align: center; padding: 30px; }
.scan-result.approved { background: #0aaf6d; }
.scan-result.rejected { background: #da3945; }
.result-icon { width: 94px; height: 94px; border: 4px solid rgba(255,255,255,.95); border-radius: 50%; display: grid; place-items: center; font-size: 61px; line-height: 1; font-weight: 300; }
.scan-result h2 { margin: 22px 0 7px; font-size: 39px; letter-spacing: .06em; }
.scan-result p { margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.scan-result span { margin-top: 8px; font: 700 13px/1 "SFMono-Regular", Consolas, monospace; opacity: .82; }

@media (max-width: 1220px) {
  .member-layout { grid-template-columns: 1fr; }
  .card-preview-wrap { position: static; }
  .vip-card { width: min(100%, 650px); }
}

@media (max-width: 1040px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .location-form { grid-template-columns: 1fr 1fr; }
  .location-form .btn { min-height: 47px; }
}

@media (max-width: 760px) {
  .admin-layout { display: block; }
  .sidebar { position: fixed; left: 0; top: 0; width: 236px; transform: translateX(-102%); transition: transform .2s ease; box-shadow: 20px 0 60px rgba(0,0,0,.45); }
  .menu-open .sidebar { transform: translateX(0); }
  .admin-main { padding: 22px 15px 40px; }
  .mobile-menu { display: block; padding: 0; }
  .topbar { justify-content: flex-start; }
  .topbar > .btn { margin-left: auto; }
  .topbar h1 { font-size: 24px; }
  .two-column, .member-layout, .location-cards { grid-template-columns: 1fr; }
  .card-preview-wrap { position: static; }
  .vip-card { width: min(94vw, 650px); }
  .inline-form { align-items: stretch; flex-direction: column; }
  .search-form { width: 100%; }
  .search-form input { width: 100%; }
  .location-form { grid-template-columns: 1fr; }
  .copy-row { grid-template-columns: 1fr 1fr; }
  .copy-row input { grid-column: 1 / -1; }
  .action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .auth-panel { padding: 28px 21px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 103px; padding: 15px; }
  .stat-card strong { font-size: 29px; }
  .panel { padding: 16px; border-radius: 17px; }
  .location-actions { align-items: stretch; flex-direction: column; }
  .password-reset { width: 100%; }
  .location-actions > form:last-child .btn { width: 100%; }
}


.wallet-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.wallet-form label:nth-child(5), .wallet-form label:nth-child(6), .wallet-form label:nth-child(7) { grid-column: span 1; }
.wallet-form button { align-self: end; min-height: 47px; }
.wallet-help { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); padding: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.wallet-help p { margin: 0 0 8px; }
.wallet-help p:last-child { margin-bottom: 0; }
.wallet-note.ready { background: rgba(29,185,84,.08); border-color: rgba(29,185,84,.18); }
.wallet-note .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 820px) { .wallet-form { grid-template-columns: 1fr; } }
.apple-wallet-button { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 46px; margin: 5px auto 12px; padding: 0 18px; border-radius: 12px; background: #fff; color: #050505; font-weight: 850; letter-spacing: -.02em; box-shadow: 0 12px 28px rgba(0,0,0,.32); }
.apple-wallet-button:hover { color: #050505; transform: translateY(-1px); }

.scan-link-body { min-height: 100svh; background: #020407; }
.scan-link-result { min-height: 100svh; display: grid; place-items: center; padding: 28px; text-align: center; }
.scan-link-result.approved { background: radial-gradient(circle at top, rgba(29,185,84,.35), transparent 42%), #04130c; }
.scan-link-result.rejected { background: radial-gradient(circle at top, rgba(218,57,69,.35), transparent 42%), #170407; }
.scan-link-card { width: min(100%, 430px); border: 1px solid rgba(255,255,255,.12); background: rgba(5,8,14,.86); border-radius: 26px; padding: 34px 24px; box-shadow: 0 25px 80px rgba(0,0,0,.55); }
.scan-link-card h1 { margin: 20px 0 10px; font-size: 38px; letter-spacing: .08em; }
.scan-member-name { margin: 0 0 20px; font-size: 22px; font-weight: 900; text-transform: uppercase; }
.scan-reason { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.scan-meta { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; overflow: hidden; margin: 22px 0; text-align: left; }
.scan-meta span, .scan-meta strong { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.scan-meta span { color: var(--blue); text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.scan-meta strong { color: #fff; font-size: 13px; }
.scan-meta span:nth-last-child(2), .scan-meta strong:last-child { border-bottom: 0; }
.scan-link-card .result-icon { margin: 0 auto; }
