/* Free tier and membership: locks on member-only things, the membership sheet and page, the
   checkout sheet, the sign-in dialog's Google button, the policies, and the profile's membership
   card. Same tokens as app.css: near-black surfaces, hairlines, champagne gold for the way in. */

/* ---------- the lock, wherever something comes with a membership ---------- */
svg.lock { width: 14px; height: 14px; flex: none; color: var(--gold); stroke-width: 1.9; }
.metric-row.locked .metric { color: var(--ink-3); }
.metric-row.locked .metric:hover { color: var(--ink-2); }
.metric-row.locked .metric svg.lock { margin-right: 2px; opacity: 0.85; }
.sc-row.locked .sc-label { color: var(--ink-3); }
.sc-row.locked:hover .sc-label { color: var(--ink-2); }
.sc-lock { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--gold); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; }
.sc-lock svg.lock { width: 13px; height: 13px; }
.chip-btn.locked { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.chip-btn.locked:hover { color: var(--ink-2); }
.chip-btn.locked svg.lock { width: 12px; height: 12px; }
.legend-time.locked svg.lock { fill: none; stroke: currentColor; }
.gr-pop-item.locked { color: var(--ink-3); }
.gr-pop-item.locked svg.lock { width: 13px; height: 13px; stroke: var(--gold); stroke-width: 1.9; }
.gr-pop-join { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; padding: 10px; border-radius: 10px; text-decoration: none;
  background: var(--gold-wash); border: 1px solid rgba(214, 179, 106, 0.3); color: var(--ink-2); font-size: 12.5px; }
.gr-pop-join span { flex: 1; }
.gr-pop-join b { color: var(--gold-2); font-weight: 620; }
.gr-msg svg.lock { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; }
.gr-msg .la-link { margin-left: 6px; font-size: 12.5px; }

/* the sidebar's way in */
.side-join { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(180deg, rgba(214, 179, 106, 0.13), rgba(214, 179, 106, 0.06)); border: 1px solid rgba(214, 179, 106, 0.32);
  color: var(--ink-2); font-size: 12px; line-height: 1.45; transition: border-color 0.15s, background 0.15s; }
button.side-join { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.side-join:hover { border-color: rgba(214, 179, 106, 0.55); }
.side-join svg.lock { margin-top: 1px; }
.side-join span { display: flex; flex-direction: column; gap: 2px; }
.side-join b { color: var(--ink); font-weight: 620; font-size: 12.5px; }

/* the top bar's Join */
.gnav-join { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 640; color: #16130c; background: linear-gradient(180deg, #e2c27f, #c9a35a);
  box-shadow: 0 0 0 1px rgba(214, 179, 106, 0.35), 0 6px 18px rgba(214, 179, 106, 0.18); transition: filter 0.15s; }
.gnav-join:hover { filter: brightness(1.07); }
/* A phone's top bar holds the four sections and the account button and no more: there, the
   membership is offered where it applies (the locks, the map's sidebar card, the home page). */
@media (max-width: 480px) { .gnav-join { display: none; } }

/* ---------- the membership sheet ---------- */
dialog.pw-sheet { width: min(460px, calc(100% - 32px)); }
.pw-card h2 { margin-top: 8px; }
.pw-list { list-style: none; margin: 2px 0 4px; padding: 0; display: grid; gap: 12px; }
.pw-list li { display: flex; gap: 11px; align-items: flex-start; }
.pw-list li > svg { width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; stroke: var(--gold-2); stroke-width: 2.4;
  background: var(--gold-wash); box-sizing: content-box; }
.pw-list span { display: flex; flex-direction: column; gap: 2px; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.pw-list b { color: var(--ink); font-size: 13.5px; font-weight: 620; }
.pw-foot { align-items: center; text-align: center; }

/* ---------- the checkout sheet: the plan, PayPal's button, Stripe's embedded checkout ---------- */
dialog.co-sheet { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.co-card { gap: 16px; }
.co-card h2 { margin-top: 8px; }
.co-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.co-tier { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 13px; border-radius: 14px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color 0.15s, background 0.15s; }
.co-tier:hover { border-color: rgba(255, 255, 255, 0.2); }
.co-tier.on { border-color: rgba(214, 179, 106, 0.6); background: radial-gradient(120% 100% at 100% 0%, rgba(214, 179, 106, 0.13), transparent 60%), var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(214, 179, 106, 0.25); }
.co-tier input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.co-tier:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.co-tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.co-tier-top b { font-size: 12px; font-weight: 680; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.co-tier.on .co-tier-top b { color: var(--gold); }
.co-tier-top span { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.co-tier-top strong { color: var(--ink); font-size: 19px; font-weight: 720; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.co-tier-what { display: flex; gap: 7px; align-items: flex-start; color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.co-tier-what svg { width: 14px; height: 14px; flex: none; margin-top: 2px; stroke: var(--gold-2); stroke-width: 2.4; }
.co-renew { margin: -4px 0 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.co-paypal { min-height: 46px; }
.co-paypal .co-err, .co-stripe .co-err { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--ink-2); font-size: 13px; line-height: 1.5; }
/* Stripe draws its form in its own frame, on a background that matches this card (billing.py BRANDING) */
.co-stripe { margin: 0 -10px; min-height: 380px; border-radius: 14px; overflow: hidden; }
.co-stripe-mount { min-height: 380px; }
.co-stripe-mount:has(iframe) .co-skel { display: none; }
.co-skel { display: grid; gap: 12px; padding: 10px; }
.co-skel i { display: block; height: 44px; border-radius: 10px; background: linear-gradient(90deg, #17181c 25%, #1f2125 50%, #17181c 75%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.co-skel .co-skel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: none; animation: none; }
.co-skel .co-skel-row b { border-radius: 10px; background: linear-gradient(90deg, #17181c 25%, #1f2125 50%, #17181c 75%); background-size: 200% 100%;
  animation: shimmer 1.2s infinite; }
.co-skel .co-skel-btn { height: 48px; background: linear-gradient(90deg, rgba(214, 179, 106, 0.16) 25%, rgba(214, 179, 106, 0.26) 50%, rgba(214, 179, 106, 0.16) 75%);
  background-size: 200% 100%; }
.co-skel-pp { padding: 0; }
.co-skel-pp i { height: 46px; }
@media (prefers-reduced-motion: reduce) { .co-skel i, .co-skel .co-skel-row b { animation: none; } }
.co-warn { color: var(--ink-2); }
.co-fine { margin: 0; color: var(--ink-3); font-size: 11.5px; line-height: 1.55; text-align: center; }
.co-fine a { color: var(--ink-2); }
@media (max-width: 480px) {
  dialog.co-sheet { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .co-card { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .co-tiers { grid-template-columns: 1fr; }
  .co-stripe { margin: 0 -6px; }
}

/* ---------- a one-line notice at the top ---------- */
.toast { position: fixed; z-index: 200; top: calc(var(--gnav-h) + 14px); left: 50%; max-width: min(560px, calc(100% - 32px));
  padding: 11px 18px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink);
  background: rgba(22, 23, 27, 0.96); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translate(-50%, -8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); pointer-events: none; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }
.toast-ok { border-color: rgba(110, 224, 138, 0.35); }
.toast-warn { border-color: rgba(250, 178, 25, 0.4); }
.toast-bad { border-color: rgba(255, 138, 122, 0.45); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- the sign-in dialog ---------- */
.acct-google { justify-content: center; gap: 10px; height: 44px; font-weight: 600; color: var(--ink); text-decoration: none;
  background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); }
.acct-google:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); }
.g-logo { width: 18px; height: 18px; stroke: none; }
.acct-or { display: flex; align-items: center; gap: 12px; margin: -2px 0; color: var(--ink-3); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.acct-row { display: flex; justify-content: flex-end; margin-top: -6px; font-size: 12.5px; }
.acct-row .linkish { text-decoration: none; }
.acct-row .linkish:hover { text-decoration: underline; }
.acct-terms { margin: -4px 0 0; color: var(--ink-3); font-size: 11.5px; line-height: 1.5; text-align: center; }
.acct-terms a { color: var(--ink-2); }
.acct-human:empty { display: none; }
.acct-human { min-height: 65px; }
.acct-sent { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface-2);
  border: 1px solid var(--line); }
.acct-sent p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.acct-sent b { color: var(--ink); overflow-wrap: anywhere; }
.acct-mail { width: 28px; height: 28px; padding: 6px; border-radius: 10px; color: var(--gold-2); background: var(--gold-wash); box-sizing: content-box; }
.acct-ok { color: var(--good-ink); }

/* ---------- the Membership page ---------- */
.mb-page { padding: 48px 0 40px; }
.mb-notice, .pf-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 22px;
  padding: 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line-2); }
.mb-notice-ok, .pf-notice-ok { border-color: rgba(110, 224, 138, 0.35); background: rgba(12, 163, 12, 0.07); }
.mb-notice-warn, .pf-notice-warn { border-color: rgba(250, 178, 25, 0.35); background: rgba(250, 178, 25, 0.07); }
.mb-notice-bad, .pf-notice-bad { border-color: rgba(255, 138, 122, 0.4); background: rgba(208, 59, 59, 0.08); }
.pf-notice { margin: 16px 0 0; }
.pf-notice b { color: var(--ink); }
.pf-notice .btn-sm { margin-left: 0; height: 30px; padding: 0 12px; }
.mb-hero { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.mb-h1 { margin: 12px 0 16px; font-size: clamp(32px, 5vw, 52px); font-weight: 760; letter-spacing: -0.035em; line-height: 1.06; }
.mb-h1 span { color: var(--ink-2); }
.mb-lede { margin: 0 auto; max-width: 620px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.mb-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 0 auto; }
.mb-plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; gap: 16px; }
.mb-plans-3 .mb-plan { padding: 26px 24px 22px; }
.mb-under { max-width: 1120px; margin: 18px auto 0; text-align: center; }
.mb-under:empty { display: none; }
.mb-under .acct-msg { margin-top: 8px; }
.mb-plan { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 24px; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line-2); }
.mb-plan-member { position: relative; border-color: rgba(214, 179, 106, 0.45);
  background: radial-gradient(120% 90% at 100% 0%, rgba(214, 179, 106, 0.14), transparent 60%), var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.mb-plan-name { font-size: 12px; font-weight: 680; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.mb-plan-member .mb-plan-name { color: var(--gold); }
.mb-price { display: flex; align-items: baseline; gap: 8px; }
.mb-price b { font-size: 44px; font-weight: 760; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.mb-price span { color: var(--ink-3); font-size: 14px; }
.mb-plan-sub { margin: -6px 0 2px; color: var(--ink-3); font-size: 13.5px; }
.mb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mb-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.mb-list li > svg { width: 16px; height: 16px; margin-top: 2px; stroke: var(--gold-2); stroke-width: 2.4; }
.mb-list span { display: flex; flex-direction: column; gap: 2px; }
.mb-list span b { color: var(--ink); font-weight: 620; }
.mb-plan-member .mb-list span { color: var(--ink-3); font-size: 12.5px; }
.mb-plan-member .mb-list span b { font-size: 13.5px; }
.mb-cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 6px; }
.mb-btn { justify-content: center; height: 48px; font-size: 14.5px; font-weight: 660; border-radius: 13px; text-decoration: none; }
.mb-btn:disabled { opacity: 0.55; cursor: default; }
.mb-fine { margin: 0; color: var(--ink-3); font-size: 12px; line-height: 1.5; text-align: center; }
.mb-fine b { color: var(--ink-2); }
.mb-cta .acct-msg { text-align: center; }
.mb-section { max-width: 920px; margin: 72px auto 0; }
.mb-h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.mb-muted { margin: 0 0 18px; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.mb-table { margin-top: 18px; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--surface); }
.mb-tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.mb-tr:first-child { border-top: 0; }
.mb-tr > span:first-child { color: var(--ink); font-weight: 560; }
.mb-tr > span:last-child { color: var(--ink); }
.mb-th { padding: 12px 20px; background: rgba(255, 255, 255, 0.02); font-size: 11px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.mb-th > span { color: var(--ink-3) !important; }
.mb-th > span:last-child { color: var(--gold) !important; }
.mb-table-4 .mb-tr { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.mb-table-4 .mb-tr > span:nth-child(3) { color: var(--ink); }
.mb-table-4 .mb-th > span:nth-child(3) { color: var(--gold) !important; }
.mb-yes svg { width: 18px; height: 18px; stroke: var(--gold-2); stroke-width: 2.4; }
.mb-no { color: var(--ink-3); }
.mb-free { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-2); font-size: 12.5px; }
.mb-faq { display: grid; gap: 10px; margin-top: 18px; }
.mb-faq details { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.mb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer;
  font-weight: 600; font-size: 14px; list-style: none; }
.mb-faq summary::-webkit-details-marker { display: none; }
.mb-faq summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-top: -4px; border-right: 1.8px solid var(--ink-3);
  border-bottom: 1.8px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.mb-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.mb-faq p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.mb-foot, .hp-support { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.mb-foot a, .hp-support a { color: var(--ink-2); text-decoration: none; font-size: 12.5px; }
.mb-foot a:hover, .hp-support a:hover { color: var(--gold-2); }
.mb-foot { max-width: 920px; margin: 72px auto 0; }
@media (max-width: 1000px) {
  .mb-plans-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }
  .mb-plans-3 .mb-plan:first-child { grid-column: 1 / -1; order: 1; }
}
@media (max-width: 760px) {
  .mb-page { padding-top: 28px; }
  .mb-plans, .mb-plans-3 { grid-template-columns: 1fr; }
  .mb-plans-3 .mb-plan:first-child { grid-column: auto; }
  .mb-plan-member { order: -1; }
  .mb-plan { padding: 22px 20px 20px; }
  .mb-tr, .mb-table-4 .mb-tr { grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px 16px; }
  .mb-table-4 .mb-tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-table-4 .mb-tr > span { min-width: 0; overflow-wrap: anywhere; }
  .mb-tr > span:first-child { grid-column: 1 / -1; }
  .mb-th > span:first-child { display: none; }
  .mb-section { margin-top: 52px; }
}

/* ---------- Terms, Privacy, Refunds ---------- */
.lg-page { padding: 40px 0 24px; }
.lg-nav { display: flex; flex-wrap: wrap; gap: 6px; max-width: 760px; margin: 0 auto 30px; }
.lg-nav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 13px; }
.lg-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.lg-nav a[aria-current="page"] { color: var(--gold-2); border-color: rgba(214, 179, 106, 0.5); background: var(--gold-wash); }
.lg-doc { max-width: 760px; margin: 0 auto; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.lg-doc h1 { margin: 10px 0 10px; color: var(--ink); font-size: clamp(30px, 4.4vw, 42px); font-weight: 740; letter-spacing: -0.03em; line-height: 1.1; }
.lg-lede { margin: 0; font-size: 17px; color: var(--ink-2); }
.lg-date { margin: 8px 0 36px; color: var(--ink-3); font-size: 13px; }
.lg-doc h2 { margin: 36px 0 10px; color: var(--ink); font-size: 18px; font-weight: 680; letter-spacing: -0.01em; }
.lg-doc p { margin: 0 0 14px; }
.lg-doc ul { margin: 0 0 14px; padding-left: 20px; }
.lg-doc li { margin: 6px 0; }
.lg-doc b { color: var(--ink); font-weight: 620; }
.lg-doc a { color: var(--gold-2); }
.lg-page .page-foot { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- the profile's membership card and the admin's members ---------- */
.pf-quiet { color: var(--ink-2); background: rgba(255, 255, 255, 0.06); }
.pf-muted { color: var(--ink-3); }
.pf-google { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 650;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.pf-member-actions { align-items: center; justify-content: space-between; margin-top: auto; }
.pf-member-actions .btn-sm { margin-left: 0; height: 30px; padding: 0 12px; }
.pf-member-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.pf-switch-box { background: var(--gold-wash); border-color: rgba(214, 179, 106, 0.3); }
.pf-warn-text { color: var(--warning); }
.pf-confirm-box { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(208, 59, 59, 0.06);
  border: 1px solid rgba(208, 59, 59, 0.25); }
.pf-member-cell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.pf-stat b { font-size: 26px; font-weight: 720; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.pf-stat span { color: var(--ink-2); font-size: 12.5px; }
.pf-stat em { font-style: normal; color: var(--ink-3); font-size: 11.5px; }
.pf-comps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#pf-members .pf-li-actions { align-items: center; gap: 10px; }
#pf-members .pf-li-actions em { font-style: normal; color: var(--ink-3); font-size: 12px; }
@media (max-width: 1000px) { .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- the home page's membership band ---------- */
.hp-band-member { background: radial-gradient(80% 120% at 85% 50%, rgba(214, 179, 106, 0.09), transparent 60%), var(--bg); }
.hp-member { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hp-member-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-member-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-member-cards .hp-btn { grid-column: 1 / -1; justify-content: center; text-decoration: none; }
.hp-member-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.hp-member-card b { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.hp-member-card span { font-size: 30px; font-weight: 740; letter-spacing: -0.03em; }
.hp-member-card small { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.hp-member-card em { font-style: normal; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.hp-member-gold { border-color: rgba(214, 179, 106, 0.45); background: radial-gradient(120% 100% at 100% 0%, rgba(214, 179, 106, 0.14), transparent 60%), var(--surface); }
.hp-member-gold b { color: var(--gold); }
@media (max-width: 900px) {
  .hp-member { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 1180px) and (min-width: 901px) { .hp-member-cards-3 { grid-template-columns: 1fr 1fr; } .hp-member-cards-3 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .hp-member-cards-3 { grid-template-columns: 1fr 1fr; } .hp-member-cards-3 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .hp-member-cards, .hp-member-cards-3 { grid-template-columns: 1fr; } .hp-member-cards-3 > :first-child { grid-column: auto; } }
