  :root {
    color-scheme: light;
    --bg: #f7f8fa; --surface: #ffffff; --surface-2: #f0f2f6;
    --ink: #0b1220; --ink-2: #334155; --muted: #5d6879; --line: #e2e6ed;
    --blue: #2563eb; --blue-strong: #1d4ed8; --blue-soft: #eaf0fe; --on-blue: #fff;
    --red: #dc2626;
    --radius: 14px; --radius-sm: 10px; --pill: 999px;
    --shadow: 0 1px 2px rgba(15,23,42,.05), 0 12px 32px -12px rgba(15,23,42,.14);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  p { text-wrap: pretty; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
         -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; }
  button, input, a { touch-action: manipulation; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); }
  .skip:focus { left: 12px; }

  /* ---------- Buttons ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: var(--pill);
         font: 600 15px/1 Inter, sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
         transition: background-color .2s, border-color .2s, color .2s; }
  .btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 8px 20px -10px rgba(37,99,235,.7); }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .btn, .gp, .gp-sm, .field button { transition: background-color .2s, border-color .2s, color .2s, transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s; }
    .btn:hover, .gp:hover, .gp-sm:hover, .field button:hover { transform: translateY(-2px); }
    .btn:active, .gp:active, .field button:active { transform: translateY(0); }
  }
  .btn-primary:hover { background: var(--blue-strong); }
  .btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
  .btn-line:hover { border-color: var(--ink-2); }

  .gp { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 18px; border-radius: 12px; background: #000; color: #fff;
        text-decoration: none; border: 1px solid #3c4043; transition: background-color .2s; }
  .gp:hover { background: #1a1a1a; }
  .gp svg { width: 26px; height: 28px; }
  .gp small { display: block; font-size: 10.5px; letter-spacing: .06em; line-height: 1; opacity: .9; }
  .gp b { display: block; font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

  /* ---------- Hero ---------- */
  .hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: #0f0c0a; }
  header.hero { z-index: 40; }
  .hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; height: 100%; z-index: -2; object-fit: cover; object-position: 55% 72%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 46%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 46%); }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(15,12,10,.7) 0%, rgba(15,12,10,0) 18%, rgba(15,12,10,0) 82%, rgba(15,12,10,.6) 100%); }

  .nav .wrap { height: 76px; display: flex; align-items: center; gap: 36px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
  .brand svg { width: 30px; height: 30px; }
  .nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
  .nav li.m-only { display: none; }
  .nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.82); transition: color .2s; }
  .nav ul a:hover { color: #fff; }
  .nav .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .nav .signin { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); padding: 0 10px; }
  .nav .signin:hover { color: #fff; }
  .nav .btn-light { background: #fff; color: #0b1220; height: 42px; }
  .nav .btn-light:hover { background: #e8ecf3; }
  .round { width: 42px; height: 42px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff;
           display: grid; place-items: center; font-size: 18px; cursor: pointer; transition: background-color .2s; }
  .round:hover { background: rgba(255,255,255,.1); }
  .menu-btn { display: none; }

  .hero-body { padding: 104px 0 128px; max-width: 600px; }
  .hero h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
  .hero .lede { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.80); max-width: 520px; }

  .search { margin-top: 36px; }
  .field { display: flex; align-items: center; gap: 6px; height: 64px; padding: 7px 7px 7px 22px; border-radius: var(--pill); background: #fff;
           box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
  .field > i { font-size: 21px; color: #64748b; flex: none; }
  .field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 17px Inter, sans-serif; color: #0b1220; padding: 0 8px; }
  .field input::placeholder { color: #7a8597; font-weight: 400; }
  .field .kind { flex: none; font-size: 12.5px; font-weight: 600; color: var(--blue); background: #eaf0fe; height: 28px; padding: 0 11px; border-radius: var(--pill);
                 display: none; align-items: center; gap: 5px; }
  .field .kind.on { display: inline-flex; }
  .field button { flex: none; height: 50px; padding: 0 24px; border-radius: var(--pill); border: 0; background: var(--blue); color: #fff; font: 600 16px Inter, sans-serif; cursor: pointer; transition: background-color .2s; }
  .field button:hover { background: #1d4ed8; }
  .search .note { margin: 14px 0 0 8px; font-size: 14px; color: rgba(255,255,255,.66); }
  .hero-alt { margin-top: 30px; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
              border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; transition: border-color .2s; }
  .hero-alt:hover { border-color: #fff; }

  /* ---------- Proof band: stats + sources ---------- */
  .proof { background: var(--surface); border-bottom: 1px solid var(--line); }
  .stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
  .stats > div { padding: 40px 28px 36px; border-left: 1px solid var(--line); }
  .stats > div:first-child { border-left: 0; padding-left: 0; }
  .stats dt { font-size: 14px; color: var(--muted); margin-top: 6px; }
  .stats dd { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
  .sources { display: flex; align-items: center; gap: 14px 36px; flex-wrap: wrap; padding: 20px 0 24px; border-top: 1px solid var(--line); }
  .sources .label { font-size: 14px; color: var(--muted); margin: 0; }
  .sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
  .sources li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
  .sources li i { font-size: 20px; color: var(--blue); }

  /* ---------- Access: visitor / member / app ---------- */
  .access { padding: 112px 0 0; }
  .matrix-wrap { margin-top: 44px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
  .matrix { width: 100%; border-collapse: collapse; font-size: 15.5px; }
  .matrix col.hl { background: var(--blue-soft); }
  .matrix th, .matrix td { padding: 15px 24px; text-align: left; border-top: 1px solid var(--line); }
  .matrix thead th { border-top: 0; padding-top: 26px; padding-bottom: 22px; vertical-align: top; }
  .matrix thead th:first-child { vertical-align: bottom; font-size: 13.5px; font-weight: 500; color: var(--muted); }
  .matrix .col { display: flex; flex-direction: column; gap: 4px; }
  .matrix .col b { font-size: 18px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
  .matrix .col b i { font-size: 20px; color: var(--blue); }
  .matrix .col span { font-size: 13.5px; font-weight: 400; color: var(--muted); }
  .matrix tbody th { font-weight: 500; color: var(--ink-2); }
  .matrix td { width: 19%; text-align: center; }
  .matrix thead th:not(:first-child) { text-align: center; }
  .matrix .col { align-items: center; }
  .matrix td i { font-size: 19px; }
  .matrix .yes { color: var(--blue); }
  .matrix .no { color: var(--line); }
  .matrix tfoot td { padding: 20px 16px 24px; }
  .matrix tfoot .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
  .matrix tfoot .gp-sm { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--pill); background: #000; color: #fff;
                         text-decoration: none; font-weight: 600; font-size: 14.5px; border: 1px solid #3c4043; }
  .matrix tfoot .gp-sm:hover { background: #1a1a1a; }
  .matrix tfoot .gp-sm svg { width: 16px; height: 18px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .access-cta { display: none; }
  .gp-icon { flex: none; width: 50px; height: 50px; border-radius: var(--pill); background: #000; border: 1px solid #3c4043; display: grid; place-items: center; }
  .gp-icon svg { width: 20px; height: 22px; }

  /* ---------- App reel ---------- */
  .kicker { font-size: 14px; font-weight: 600; color: var(--blue); margin: 0 0 12px; }
  h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
  .app { padding: 64px 0 56px; }
  .app { background: #f8fafc; }
  .sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
  .sec-head p { margin: 0; font-size: 17.5px; color: var(--muted); max-width: 440px; }
  .reel-frame iframe { display: block; width: 100%; height: 560px; border: 0; background: transparent; transition: height .35s ease; color-scheme: light; }

  /* ---------- Report band ---------- */
  .report { padding: 72px 0 112px; }
  .report .card { border-radius: 22px; background: var(--ink); color: var(--bg); padding: 56px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
  .report h2 { font-size: clamp(28px, 3.4vw, 38px); }
  .report p { margin: 14px 0 0; font-size: 17px; opacity: .72; max-width: 520px; }
  .report .btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .report .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
  .report .btn-ghost:hover { border-color: #fff; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 14.5px; color: var(--muted); }
  footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
  footer .brand { color: var(--ink); font-size: 18px; }
  footer .brand svg { width: 26px; height: 26px; }
  footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
  footer a { text-decoration: none; transition: color .2s; }
  footer nav a:hover, footer .social a:hover { color: var(--ink); }
  footer .bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
  footer .social { display: flex; gap: 16px; font-size: 20px; }

  /* ---------- Motion ---------- */
  /* Plays for everyone. Reduced-motion users get fades only (see the reduce block below). */
  @media all {
    @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
    @keyframes line { from { transform: translateY(105%); } to { transform: none; } }
    @keyframes settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
    @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
    @keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.15); } 100% { opacity: 1; transform: none; } }

    /* Hero plays once on load */
    .hero-photo { animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
    .nav { animation: fade .8s .1s both; }
    .hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
    .hero h1 .ln > span { display: block; animation: line .9s cubic-bezier(.2,.8,.2,1) both; }
    .hero h1 .ln:nth-child(2) > span { animation-delay: .1s; }
    .hero .lede { animation: rise .8s .35s cubic-bezier(.2,.7,.2,1) both; }
    .hero .search { animation: rise .8s .5s cubic-bezier(.2,.7,.2,1) both; }
    .hero-alt { animation: rise .8s .65s cubic-bezier(.2,.7,.2,1) both; }
    .field { transition: box-shadow .25s; }
    .field:focus-within { box-shadow: 0 0 0 4px rgba(37,99,235,.35), 0 20px 50px -20px rgba(0,0,0,.6); }
    .field .kind.on { animation: pop .35s cubic-bezier(.2,.8,.2,1) both; }

    /* Scroll reveals, staggered with --i */
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
    .reveal.in { opacity: 1; transform: none; }
    .matrix tbody tr { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 45ms + 150ms); }
    .matrix-wrap.in tbody tr { opacity: 1; transform: none; }
    .matrix .yes { display: inline-block; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i, 0) * 45ms + 350ms); }
    .matrix-wrap.in .yes { transform: none; }
    .matrix tbody tr:hover { background: rgba(37,99,235,.04); }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 960px) {
    .nav ul, .nav .signin, .nav .btn-light { display: none; }
    .menu-btn { display: grid; }
    .nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
    .hero-photo { position: relative; width: 100%; height: clamp(340px, 62vw, 520px); object-position: 72% 50%;
      -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
    .hero-body { padding: 0 0 72px; margin-top: -36px; position: relative; }
    .nav li.m-only { display: none; }
    .nav.open li.m-only { display: block; border-top: 1px solid #e2e6ed; }
    .nav.open li.m-only + li.m-only { border-top: 0; }
    .nav.open li.m-only a.strong { color: #2563eb; font-weight: 600; }
    .nav.open ul { display: flex; position: fixed; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; left: 16px; right: 16px; flex-direction: column; gap: 0; background: #fff; border-radius: var(--radius);
                   padding: 8px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); z-index: 10; }
    .nav.open ul a { display: block; color: #0b1220; padding: 12px 14px; border-radius: var(--radius-sm); }
    .nav.open ul a:hover { background: #f0f2f6; }
    .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .stats > div { padding: 28px 20px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
    .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stats > div:nth-child(-n+2) { border-top: 0; }
    .report .card { grid-template-columns: 1fr; padding: 40px 32px; }
  }
  @media (max-width: 400px) {
    .field > i { display: none; }
    .field input { padding-left: 0; }
  }
  @media (max-width: 560px) {
    .nav .wrap { gap: 12px; }
        .matrix { font-size: 14px; }
    .matrix th, .matrix td { padding: 13px 8px; }
    .matrix tbody th { padding-left: 16px; }
    .matrix thead th:first-child { padding-left: 16px; }
    .matrix td { width: 17%; }
    .matrix .col b { font-size: 14px; flex-direction: column; gap: 4px; }
    .matrix .col span, .matrix tfoot { display: none; }
    .access { padding-top: 80px; }
    .access-cta { display: flex; gap: 10px; margin-top: 16px; }
    .access-cta .btn { flex: 1; height: 50px; }
    .sources { gap: 14px; padding: 22px 0 26px; }
    .sources ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; width: 100%; }
    .sources li { font-size: 13.5px; align-items: flex-start; line-height: 1.35; }
    .sources li i { font-size: 18px; margin-top: -1px; }
    .stats > div { padding: 24px 16px; }
    .stats dt { font-size: 13px; }
    .report .card { padding: 32px 24px; gap: 28px; }
    .report .btns { flex-direction: column; align-items: stretch; gap: 16px; }
    .report .btn-ghost { border: 0; height: auto; padding: 0; justify-content: center; text-decoration: underline; text-underline-offset: 4px; font-weight: 500; opacity: .85; box-shadow: none; }
    .app { padding: 40px 0 24px; }
    .sec-head { gap: 12px; }
    .sec-head p { font-size: 16.5px; }
    .access .head p { font-size: 16.5px; }
    footer .top { flex-direction: column; align-items: flex-start; }
    footer nav ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 28px; }
    .hero .lede { font-size: 17px; }
    .field { height: 58px; padding-left: 16px; }
    .field input { font-size: 16px; }
    .field .kind { display: none !important; }
    .field button { height: 44px; padding: 0 18px; font-size: 15px; }
    .report { padding: 48px 0 80px; }
  }

  /* ---------- Shared: nav current page, page header ---------- */
  .nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #fff; padding-bottom: 6px; }
  .page-hero { background:
      radial-gradient(900px 420px at 88% -10%, rgba(255,170,90,.20), transparent 60%),
      radial-gradient(700px 360px at 8% 120%, rgba(37,99,235,.18), transparent 60%), #0f0c0a; }
  .page-hero::before { display: none; }
  .page-head { padding: 72px 0 88px; max-width: 760px; }
  .page-head .kicker { color: #93b4ff; }
  .page-head h1 { margin: 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
  .page-head .lede { margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 620px; }
  .page-head .meta { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7);
                     border: 1px solid rgba(255,255,255,.18); border-radius: var(--pill); padding: 7px 14px; }
  @media all {
    .page-head > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
    .page-head > *:nth-child(2) { animation-delay: .08s; }
    .page-head > *:nth-child(3) { animation-delay: .18s; }
    .page-head > *:nth-child(4) { animation-delay: .28s; }
  }
  @media (max-width: 960px) {
    .page-head { padding: 120px 0 64px; }
    .nav.open ul a[aria-current="page"] { color: #2563eb; box-shadow: none; padding-bottom: 12px; background: #eaf0fe; }
  }
  @media (max-width: 560px) {
    .page-head { padding: 108px 0 52px; }
    .page-head .lede { font-size: 17px; }
  }
  .band { padding: 0 0 112px; }
  .band .card { border-radius: 22px; background: var(--ink); color: var(--bg); padding: 56px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
  .band h2 { font-size: clamp(28px, 3.4vw, 38px); }
  .band p { margin: 14px 0 0; font-size: 17px; opacity: .72; max-width: 520px; }
  .band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .band .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
  @media (max-width: 960px) { .band .card { grid-template-columns: 1fr; padding: 40px 32px; } }
  @media (max-width: 560px) {
    .band { padding-bottom: 80px; }
    .band .card { padding: 32px 24px; gap: 28px; }
    .band .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .band .btn { padding: 0 12px; }
  }

  /* Reduced motion: keep the fades, drop movement and endless loops. */
  @media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.in, .matrix tbody tr { transform: none !important; }
    .hero-photo, .hero h1 .ln > span, .hero .lede, .hero .search, .hero-alt, .page-head > * { animation-name: fade !important; }
    .matrix .yes { transform: none !important; }
  }


  /* ---------- Search: scan a QR (static/js/qr-search.js) ---------- */
  .field .qr-scan { position: relative; flex: none; width: 46px; height: 46px; margin-right: 2px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #f0f2f6; color: #334155; font-size: 22px; cursor: pointer; box-shadow: none; transition: background-color .2s, color .2s; }
  .field .qr-scan[hidden] { display: none; }
  .field .qr-scan:not([hidden]) { animation: qrpop .25s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes qrpop { from { opacity: 0; transform: scale(.6); } }
  .field .qr-scan:hover { background: #e3e7ee; color: #1d4ed8; transform: none; }
  .field .qr-scan:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
  .field .qr-scan.busy i { animation: qrspin 1s linear infinite; }
  @keyframes qrspin { to { transform: rotate(360deg); } }
  .search, .u-search, .adm-search { position: relative; z-index: 10; }
  .qr-msg { position: absolute; left: 50%; top: calc(100% + 10px); z-index: 25; transform: translateX(-50%); width: max-content; max-width: min(420px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 12px; background: #fff; color: #0b1220; font: 500 14px/1.45 Inter, sans-serif; box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); border: 1px solid #e2e6ed; display: flex; align-items: flex-start; gap: 8px; text-align: left; animation: qrin .2s ease both; }
  .qr-msg i { flex: none; margin-top: 2px; color: #b91c1c; font-size: 16px; }
  .qr-msg[hidden] { display: none; }
  @keyframes qrin { from { opacity: 0; transform: translate(-50%, -4px); } }
  @media (max-width: 560px) { .field .qr-scan { width: 40px; height: 40px; padding: 0; font-size: 20px; } }
  @media (max-width: 400px) { .field .qr-scan { width: 36px; height: 36px; padding: 0; font-size: 19px; margin-right: 0; } }
  @media (prefers-reduced-motion: reduce) { .field .qr-scan.busy i { animation: none; } .field .qr-scan:not([hidden]) { animation-name: fade; } .qr-msg { animation-name: fade; } }
  /* The signed-in member's picture in the public nav (templates set the button's size and colours). */
  .nav .me-act { display: inline-flex; align-items: center; gap: 10px; }
  .nav .me-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,.2); flex: none; }
  .nav .me-av { overflow: hidden; } .nav .me-av > img { width: 100%; height: 100%; object-fit: cover; display: block; }
