:root {
  color-scheme: dark;
  --bg: #090e0d;
  --card: #111a18;
  --panel: #0e1715;
  --ink: #eff8f3;
  --muted: #a5b8af;
  --accent: #baff66;
  --action: #baff66;
  --line: #273b34;
  --line-strong: #507063;
  --s-2: 8px;
  --cyan: #63e4c4;
  --danger: #ffad9f;
  --mono: "SFMono-Regular", Consolas, ui-monospace, monospace;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; font-family: "PingFang HK", "Noto Sans CJK TC", system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.6; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--bg); background: var(--accent); }
.wrap { width: min(1290px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; z-index: 12; top: 10px; left: 12px; transform: translateY(-150%); padding: 8px 12px; background: var(--action); color: var(--bg); }
.skip:focus { transform: none; }

.public-header { border-bottom: 1px solid var(--line); background: #0a100f; }
.topbar { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.topbar nav { display: flex; gap: 35px; font-size: 14px; color: var(--muted); }
.topbar nav a:hover, .text-link:hover { color: var(--accent); }
.topbar > .btn { justify-self: end; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 12px; width: fit-content; white-space: nowrap; font: 780 28px/1.08 system-ui, sans-serif; letter-spacing: -.075em; }
.seed-mark { position: relative; display: inline-block; flex: none; width: 1.1em; height: 1.1em; border: 1px solid currentColor; border-radius: 29%; color: inherit; }
.seed-mark::before, .seed-mark::after { content: ""; position: absolute; background: currentColor; }
.seed-mark::before { width: 37%; height: 52%; left: 24%; top: 28%; border-radius: 75% 15% 70% 36%; transform: rotate(-29deg); }
.seed-mark::after { width: 28%; height: 39%; left: 53%; top: 17%; border-radius: 80% 16% 70% 32%; transform: rotate(14deg); opacity: .72; }
.brand .seed-mark, .brand .accent { color: var(--accent); }
.card-brand { display: inline-flex; align-items: center; gap: .23em; }
.card-brand .seed-mark { font-size: .77em; }


.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 16px; gap: 9px; border-radius: 8px; border: 1px solid transparent; font-weight: 680; font-size: 13px; background: transparent; text-align: center; }
.primary { background: var(--action); color: #111a0d; border-color: var(--action); }
.primary:hover { background: #d0ff98; }
.secondary { background: #13201c; border-color: #365047; }
.secondary:hover { background: #1c3028; border-color: #78a18e; }
.quiet { color: var(--muted); border-color: transparent; padding-inline: 8px; }
.quiet:hover { color: var(--ink); background: #1b2824; }
.btn:disabled { opacity: .44; cursor: default; }
.btn:disabled:hover { transform: none !important; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-link { color: var(--cyan); font-size: 13px; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.segmented { display: flex; flex-wrap: wrap; gap: 5px; width: fit-content; padding: 4px; border: 1px solid #32483f; border-radius: 10px; background: #0c1512; }
.segment { color: var(--muted); padding: 4px 12px; min-height: 35px; }
.segment:hover { color: var(--ink); background: #1b2823; }
.segment[aria-pressed="true"], .segment[aria-current="page"] { color: #dcffe8; border-color: #426556; background: #1c352c; }
.eyebrow, .stage-top, .hero-spec, .network, .demo-label { font: 550 12px/1.45 var(--mono); letter-spacing: .095em; }
.eyebrow { color: #c8e3d4; display: flex; align-items: center; gap: 10px; }
.eyebrow span, .network i, .demo-label i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.demo-label { color: #c2e79e; display: inline-flex; gap: 8px; align-items: center; padding: 6px 9px; border-radius: 6px; border: 1px solid #3c593c; background: #18271c; letter-spacing: .04em; white-space: nowrap; }

.hero { min-height: calc(100svh - 79px); display: grid; align-items: center; padding-block: clamp(46px, 7vw, 116px); background: radial-gradient(ellipse at 83% 48%, #102821 0, transparent 50%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(35px, 5vw, 80px); align-items: center; }
.hero h1, .auth-art h1 { font-size: clamp(45px, 5.1vw, 82px); line-height: 1.1; font-weight: 800; letter-spacing: -.075em; margin-block: 23px 21px; }
.hero h1 em, .auth-art h1 em { font-style: normal; color: var(--accent); }
.hero-lead, .auth-art > p:not(.eyebrow) { color: #b6c9bf; max-width: 360px; line-height: 1.85; font-size: 16px; }
.hero .actions { margin-top: 26px; }
.hero .btn { padding-inline: 18px; min-height: 49px; }
.hero-spec { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 13px 23px; color: #9db2a6; letter-spacing: 0; }
.hero-spec strong { color: var(--ink); margin-right: 3px; }

.card-stage { position: relative; isolation: isolate; display: grid; align-content: space-between; gap: 36px; min-height: clamp(442px, 43vw, 650px); padding: 22px 26px; border: 1px solid #36574c; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 48% 52%,#214c3c,#0f211c 58%,#0a1512 87%); }
.stage-grid { position: absolute; inset: 0; z-index: -3; background: repeating-linear-gradient(#52957e23 0 1px, transparent 1px 37px), repeating-linear-gradient(90deg,#52957e23 0 1px, transparent 1px 37px); mask-image: radial-gradient(ellipse at center,#000 28%,#0007 74%,transparent); }
.stage-orbit, .auth-orbit { position: absolute; z-index: -2; border-radius: 50%; border: 1px solid #61ddad5c; aspect-ratio: 1.6; width: 105%; top: 14%; left: -2.5%; transform: rotate(-27deg); box-shadow: 0 0 36px #64ffc520, inset 0 0 65px #64ffc51a; }
.stage-orbit::before, .stage-orbit::after { content: ""; position: absolute; inset: 13%; border-radius: 50%; border: 1px solid #8aefba43; }
.stage-orbit::after { inset: -9%; border-color: #53bc9755; }
.beam { position: absolute; z-index: -1; inset: -24% -43%; opacity: .45; pointer-events: none; background: linear-gradient(115deg, transparent 44%, #60efba00 46%, #56f5ba2d 48.7%, #c6ffae8a 49.5%, #69f8bd29 50.1%, transparent 52%); }
.stage-top, .stage-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage-top { color: #a6c8b8; font-size: 11px; }
.hero-card { width: min(88%, 525px); justify-self: center; }
.stage-bottom { align-self: end; }

.virtual-card { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.64; border-radius: clamp(12px, 2.2vw, 24px); border: 1px solid #7fd9b488; display: grid; align-content: space-between; padding: clamp(14px, 2.7vw, 32px); overflow: hidden; color: #0c2119; box-shadow: 0 20px 60px #0209088c, inset 0 1px 1px #f6ffe888; }
.virtual-card::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(116deg, transparent 35%, #efff9b55 48%, #eeffeea3 51%, transparent 59%); transform: translateX(var(--card-scan, 110%)); }
.virtual-card.standard { background: linear-gradient(140deg, #e0ffad 2%, #66daa1 46%, #1f775b 100%); }
.virtual-card.platinum { background: linear-gradient(140deg,#f0f9ff,#9bafbe 43%,#e6f0ee 62%,#596e79); border-color: #d8e5ef99; color: #15252d; }
.virtual-card.black { background: linear-gradient(128deg,#263830,#0b1914 42%,#29392b 69%,#0c1712); border-color: #7f9b5f88; color: #e2f5ba; }
.card-finish { position: absolute; inset: -55% -57% -48% 12%; z-index: -1; pointer-events: none; transform: rotate(-27deg); border-radius: 49%; background: repeating-radial-gradient(ellipse at center, transparent 0 18px, #ecfff336 20px, #effff846 22px, #316e4b66 24px, transparent 30px 44px), conic-gradient(from -70deg at 50% 50%, transparent, #eeffc078, #2d6b5742, #09181400, #f6ffc05e, transparent); mask-image: linear-gradient(102deg,transparent 4%,#000 64%); }
.black .card-finish { opacity: .67; }
.card-head, .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.card-head > span:first-child { font: 750 clamp(21px, 3vw, 39px)/1 system-ui, sans-serif; letter-spacing: -.085em; }
.card-head b { font-weight: 800; }
.tier-code, .card-foot { font: 630 clamp(9px, 1.1vw, 14px)/1 var(--mono); letter-spacing: .12em; }
.card-foot strong { font-size: 1.36em; }
.card-chip { width: clamp(25px, 12%, 48px); aspect-ratio: 1.3; border: 1px solid #5c725c; border-radius: 5px; background: linear-gradient(90deg, transparent 42%, #536c55 44% 46%, transparent 48%), linear-gradient(0deg, transparent 33%,#536c55 35% 38%,transparent 41% 60%, #536c55 63% 66%,transparent 68%),linear-gradient(132deg,#edf6cc,#93a87c,#e6edc4); }
.card-status { position: absolute; right: 18px; top: 50%; }

.public-section { padding: clamp(65px, 9vw, 132px) 0; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 33px; }
.section-title h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.15; letter-spacing: -.055em; }
.section-title p { color: var(--muted); margin-top: 12px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 23px; }
.tier-tile h3 { font-size: 23px; }
.terms { font-size: 14px; }
.terms > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.terms dt { color: var(--muted); }
.terms dd { text-align: end; font-variant-numeric: tabular-nums; }
.platform-section { background: #0d1613; }
.platform-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 9px; margin-top: 17px; padding: 0; list-style: none; }
.platform-grid li { display: grid; gap: 8px; align-content: center; justify-items: center; min-height: 93px; background: #172520; border: 1px solid #2d443b; border-radius: 10px; font-size: 13px; text-align: center; }
.platform-grid img { padding: 4px; box-sizing: content-box; width: 32px; height: 29px; object-fit: contain; background: #e9f4ed; border-radius: 5px; }
.split { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 46px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px 0; list-style: none; cursor: pointer; font-weight: 670; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font: 22px/1 var(--mono); color: var(--cyan); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 17px; }
.onboarding { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: onboarding; }
.onboarding li { padding-top: 20px; border-top: 1px solid var(--line-strong); counter-increment: onboarding; }
.onboarding li::before { display: block; margin-bottom: 15px; content: "0" counter(onboarding); font: 650 14px/1 var(--mono); color: var(--cyan); }
.onboarding-art { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 15px; border-radius: 8px; background: #101d19 url('assets/onboarding-scenes.jpg') no-repeat; background-size: 300% auto; }
.onboarding-art--register { background-position: left 48%; }
.onboarding-card-photo { display: block; width: 100%; object-fit: cover; background: #101d19; }
.onboarding-art--manage { background-position: right 29%; }
.onboarding-phone-screen {
  position: absolute;
  top: 9%;
  left: 27.5%;
  width: 56.7%;
  height: 140%;
  object-fit: cover;
  object-position: center top;
  border-radius: 3% 3% 9% 9%;
}
.onboarding p { margin: 7px 0 15px; color: var(--muted); }
.public-footer { border-top: 1px solid var(--line); min-height: 98px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; }
.public-footer .brand { color: var(--ink); }

.auth-screen { min-height: calc(100svh - 79px); display: grid; grid-template-columns: 1fr minmax(320px, 480px); align-items: center; gap: clamp(25px, 7vw, 125px); padding-block: 65px; }
.auth-art { position: relative; isolation: isolate; }
.auth-orbit { z-index: -1; top: 25%; width: 100%; left: -4%; opacity: .68; }
.auth-card { width: min(82%, 425px); margin-top: 44px; }
.auth-panel { background: linear-gradient(145deg, #15241e, #0f1816 70%); padding: clamp(22px, 4vw, 46px); }
.auth-panel h2 { font-size: 29px; margin: 13px 0 4px; }
.auth-panel p { color: var(--muted); margin-bottom: 18px; }
.auth-panel form, .dialog-body form { display: grid; gap: 13px; }
.auth-panel form { margin-top: 17px; }
.auth-panel > .btn { width: 100%; margin-top: 11px; }
.auth-panel .text-link { display: block; margin-top: 16px; }
label { display: grid; gap: 6px; color: #cfdfd5; font-size: 13px; font-weight: 650; }
input { display: block; min-width: 0; width: 100%; background: #091411; border: 1px solid #3d594f; min-height: 44px; padding: 8px 11px; border-radius: 8px; color: var(--ink); }
input[readonly] { color: var(--muted); }
.password-field { position: relative; }
.password-field input { padding-right: 65px; }
.password-field .btn { min-height: 32px; position: absolute; right: 6px; top: 6px; }

.dashboard { min-height: 100svh; display: grid; grid-template-columns: 218px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100svh; padding: 24px 16px 18px; display: flex; flex-direction: column; gap: 42px; background: #0c1412; border-right: 1px solid var(--line); }
.sidebar .brand { margin-inline: 6px; font-size: 25px; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { display: flex; gap: 13px; align-items: center; padding: 10px 12px; min-height: 45px; border-radius: 8px; border: 1px solid transparent; color: var(--muted); font-size: 14px; font-weight: 620; }
.sidebar nav a > span { font: 18px/1 var(--mono); width: 19px; text-align: center; }
.sidebar nav a:hover { background: #16241f; color: var(--ink); }
.sidebar nav a[aria-current="page"] { background: #1b3125; border-color: #3d604b; color: #e3ffc8; }
.sidebar-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.dashboard-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px clamp(19px, 3.7vw, 55px); min-height: 72px; border-bottom: 1px solid var(--line); }
.breadcrumbs, .header-actions { display: flex; gap: 12px; align-items: center; }
.breadcrumbs { color: var(--muted); font-size: 13px; }
.breadcrumbs b { color: var(--ink); }
.breadcrumbs [data-action="nav-toggle"], .breadcrumbs .member-home { display: none; }
.notice-btn { min-height: 36px; }
.notice-btn b { background: var(--accent); color: #132110; border-radius: 4px; padding: 1px 5px; font: 650 11px/1.5 var(--mono); }
.avatar { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; border: 1px solid #527f69; color: #d5ffe2; background: #1e4132; font: 700 15px/1 var(--mono); }
.dashboard-content { max-width: 1460px; margin-inline: auto; padding: clamp(24px, 3.7vw, 55px); }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 13px; margin-bottom: 27px; }
.page-title h1 { font-size: clamp(32px, 4vw, 53px); line-height: 1.15; letter-spacing: -.055em; }
.page-title p { margin-top: 9px; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 17px; }
.panel-header h2 { font-size: 19px; line-height: 1.3; }
.wallet-balance { display: flex; flex-direction: column; position: relative; isolation: isolate; overflow: hidden; min-height: 310px; background: radial-gradient(ellipse at 89% 11%,#264d32 0, transparent 61%),#102119; }
.wallet-balance::after { content: ""; z-index: -1; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #74d79c17 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, #74d79c17 0 1px, transparent 1px 28px); mask-image: radial-gradient(ellipse at top right,#000,transparent 68%); }
.network { color: #b8d8ca; font-size: 10px; white-space: nowrap; }
.network i { width: 5px; height: 5px; }
.balance-label { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #b6cdbf; font-size: 13px; margin-top: auto; }
.balance-label .quiet { min-height: 34px; }
.balance { font: 580 clamp(29px, 4vw, 63px)/1.15 var(--mono); letter-spacing: -.08em; margin-bottom: 23px; white-space: nowrap; }
.balance small { font: 650 13px/1 var(--mono); letter-spacing: 0; color: #bae0ca; }
.wallet-balance .actions { margin-top: auto; }
.wallet-motion { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wallet-aurora {
  position: absolute;
  inset: -50% -38% -10% 2%;
  background: radial-gradient(ellipse at 65% 44%, #71ffae57, #299f8a33 34%, transparent 64%);
  opacity: .45;
}
.wallet-ripple {
  position: absolute;
  width: min(74%, 290px);
  aspect-ratio: 1;
  right: -9%;
  top: -15%;
  border: 1px solid #a9ffcc8f;
  border-radius: 50%;
  box-shadow: inset 0 0 18px #75f3c323, 0 0 14px #75f3c330;
  opacity: 0;
}
.member-card .virtual-card { max-width: 315px; margin: 0 auto; padding: 17px; border-radius: 13px; }
.member-card-sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 25%, var(--sheen-soft) 44%, var(--sheen-edge) 51%, var(--sheen-soft) 54%, transparent 67%);
  --sheen-soft: #8effbd40;
  --sheen-edge: #c1ffdbb0;
}
.platinum .member-card-sheen { --sheen-soft: #c0e8ff45; --sheen-edge: #f2faffba; }
.black .member-card-sheen { --sheen-soft: #f8b45b43; --sheen-edge: #ffe1a8b5; }
.member-card .card-head > span:first-child { font-size: 23px; }
.member-card .card-foot { font-size: 11px; }
.member-card .tier-code { font-size: 10px; }
.member-card-footer { display: flex; justify-content: space-between; align-items: end; gap: 13px; margin-top: 16px; }
.member-card-footer div { display: grid; gap: 3px; }
.member-card-footer div > span { color: var(--muted); font-size: 12px; }
.member-card-footer strong { font: 680 17px/1.2 var(--mono); white-space: nowrap; }
.status { padding: 3px 7px; border-radius: 5px; border: 1px solid #396452; background: #162b22; color: #aeedc6; font-size: 11px; white-space: nowrap; }
.status.frozen, .card-status { background: #3b2926; border-color: #775448; color: #ffc7b4; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 440px; text-align: start; font-size: 13px; }
th, td { text-align: start; border-bottom: 1px solid var(--line); padding: 11px 9px; }
thead th { color: var(--muted); font-weight: 550; font-size: 12px; }
th:first-child { padding-inline-start: 0; }
td:last-child, th:last-child { padding-inline-end: 0; text-align: end; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-size: 14px; font-weight: 650; }
tbody th small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
td.amount { font: 620 13px/1.2 var(--mono); white-space: nowrap; }
td.credit { color: #aaf1be; }
.transaction-panel .segmented { margin-bottom: 14px; }
.control-list { display: grid; }
.control { justify-content: space-between; text-align: start; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 48px; padding-inline: 0; }
.control span { color: var(--cyan); }
.control:hover { color: var(--accent); }
.network-panel p { color: var(--muted); margin-block: 13px 17px; }
.network-art { display: flex; align-items: center; max-width: 320px; gap: 12px; margin: 26px auto; padding: 13px 0; }
.network-art span, .network-art b { display: grid; place-items: center; width: 65px; height: 65px; border: 1px solid #4f9b77; border-radius: 12px; color: #c9ffd9; background: #1d4736; font: 680 22px/1 var(--mono); }
.network-art i { height: 1px; flex: 1; background: linear-gradient(90deg,#3c6f61,#8aeeb8,#3c6f61); }
.catalog-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.catalog-body .virtual-card { max-width: 410px; justify-self: center; }
.catalog-body p { color: var(--muted); margin-bottom: 12px; }
.empty { display: grid; align-content: center; justify-items: start; gap: 5px; min-height: 130px; margin-bottom: 10px; color: var(--muted); }
.empty > span { color: var(--cyan); font: 23px/1 var(--mono); }
.empty h3 { color: var(--ink); font-size: 17px; }

dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 1px solid #507367; border-radius: 17px; background: #10201a; color: var(--ink); box-shadow: 0 28px 100px #020906b5; }
dialog::backdrop { background: #030806c9; backdrop-filter: blur(5px); }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #13231d; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 21px; line-height: 1.3; }
.close { width: 37px; height: 37px; padding: 0; border-radius: 7px; background: #152821; border: 1px solid #3d594e; font-size: 24px; line-height: 1; }
.close:hover { background: #27443a; }
.dialog-body { padding: 21px 22px; }
.dialog-body > p { margin-bottom: 14px; color: var(--muted); }
.dialog-body > .btn { margin-top: 16px; }
.dialog-body form > .btn { justify-self: start; }
.dialog-card { max-width: 340px; margin: 20px auto; }
.form-error { color: var(--danger); font-size: 13px; }
.form-note { margin-top: 13px; }
.amount-field { position: relative; }
.amount-field input { padding-right: 49px; }
.amount-field > span { position: absolute; top: 12px; right: 9px; color: var(--muted); font: 12px/1.5 var(--mono); }
.notice-list { display: grid; gap: 14px; }
.notice-list article { border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.notice-list time { color: var(--cyan); font: 11px/1 var(--mono); }
.notice-list p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.toast { position: fixed; bottom: 22px; right: 22px; z-index: 8; max-width: calc(100% - 44px); border: 1px solid #5a9d79; background: #172c21; color: #d9ffe5; border-radius: 9px; padding: 11px 16px; font-weight: 650; box-shadow: 0 10px 36px #0209067a; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .dashboard { grid-template-columns: 178px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }
  .sidebar-footer { flex-wrap: wrap; }
  .panel { padding: 19px; }
  .dashboard-content { padding-inline: 25px; }
  .card-stage { padding-inline: 18px; }
}
@media (max-width: 900px) {
  .dashboard { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; position: fixed; z-index: 6; width: min(265px, calc(100% - 50px)); top: 65px; height: calc(100svh - 65px); border-right: 1px solid #527266; box-shadow: 14px 0 45px #020806ad; }
  .nav-open .sidebar { display: flex; }
  .dashboard-header { position: sticky; top: 0; z-index: 5; min-height: 65px; background: var(--bg); }
  .breadcrumbs [data-action="nav-toggle"], .breadcrumbs .member-home { display: inline-flex; }
  .breadcrumbs .breadcrumb-label { display: none; }
  .breadcrumbs .member-home { font-size: 22px; gap: 7px; }
  .sidebar { overflow-y: auto; }
  .nav-open .sidebar .brand { display: none; }
  .auth-screen { gap: 30px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 66px; grid-template-columns: 1fr auto; gap: 13px; }
  .topbar nav { display: none; }
  .hero { min-height: calc(100svh - 67px); padding: 48px 0 42px; }
  .hero-grid, .split, .auth-screen { grid-template-columns: 1fr; gap: 26px; }
  .hero h1, .auth-art h1 { font-size: clamp(41px, 8.8vw, 66px); margin-block: 15px; }
  .hero-lead { max-width: 480px; font-size: 14px; }
  .hero .actions { margin-top: 19px; }
  .hero-spec { margin-top: 16px; }
  .card-stage { min-height: 0; gap: 24px; padding: 15px; border-radius: 14px; }
  .hero-card { width: min(91%, 395px); }
  .stage-bottom { justify-content: center; }
  .tier-grid { grid-template-columns: 1fr; gap: 12px; }
  .onboarding { grid-template-columns: 1fr; gap: 19px; }
  .platform-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .auth-screen { min-height: 0; padding-block: 34px; }
  .auth-card { display: none; }
  .auth-art > p:not(.eyebrow) { font-size: 14px; }
  .auth-orbit { display: none; }
}
@media (max-width: 585px) {
  .dashboard-header, .dashboard-content { padding-inline: 15px; }
  .breadcrumbs { gap: 6px; }
  .breadcrumbs .breadcrumb-label { display: none; }
  .header-actions { gap: 7px; }
  .dashboard-grid, .catalog-body { grid-template-columns: 1fr; }
  .dashboard-grid { gap: 12px; }
  .page-title { align-items: flex-start; flex-direction: column; }
  .page-title p { font-size: 14px; }
  .wallet-balance { min-height: 244px; }
  .balance { font-size: clamp(29px, 10vw, 46px); }
  .public-footer { padding-block: 17px; flex-wrap: wrap; }
  .public-section { padding-block: 58px; }
  .platform-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .wallet-motion, .member-card-sheen { display: none; }
}

/* Orbital environment and card finishes */
#orbital-background { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
body { isolation: isolate; }
.public-header, .dashboard-header { background: #0a100ee6; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 82% 35%, #0c372c99, transparent 63%); }
.hero-artwork { position: absolute; inset: 0 -4% 0 24%; z-index: -2; opacity: .8; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 42%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #090e0d 0%, #090e0d80 37%, transparent 72%), linear-gradient(0deg,#090e0d 1%,transparent 35%); }
.hero h1 { font-size: clamp(39px,5.2vw,79px); text-wrap: balance; }
.hero h1 em { color: #ccffb1; }
.hero-lead { color: #d3dfd9; }
.card-stage { background: radial-gradient(ellipse at 50% 40%,#1c655447,#0b18186b 71%),#07141044; border-radius: 4px; border-color: #73a89f79; }
.card-stage::after { content: ""; position: absolute; inset: 8px; pointer-events: none; z-index: -1; background: linear-gradient(#8ecaba,#8ecaba) left top/20px 1px,linear-gradient(#8ecaba,#8ecaba) left top/1px 20px,linear-gradient(#8ecaba,#8ecaba) right bottom/20px 1px,linear-gradient(#8ecaba,#8ecaba) right bottom/1px 20px; background-repeat: no-repeat; }
.stage-orbit { border-style: dashed; box-shadow: 0 0 30px #72fbd926; }
.stage-orbit::after { border-style: dotted; }
.virtual-card { border-radius: clamp(9px,1.15vw,16px); }
.virtual-card.standard { background: linear-gradient(141deg,#c0f5d0 0%,#5bbda1 38%,#176253 67%,#052f2d); color: #062019; }
.virtual-card.platinum { background: linear-gradient(127deg,#e7f2f5 0%,#acb8c9 31%,#526b80 51%,#dce6ec 75%,#718ca3); color: #091b29; }
.virtual-card.black { background: linear-gradient(123deg,#252326 0%,#0b0d10 42%,#292520 64%,#17100e); border-color: #c598666e; color: #ffe4ae; }
.card-finish { inset: -36% -17% -30% 21%; border-radius: 0; transform: skewY(-29deg); background: repeating-linear-gradient(0deg,transparent 0 11px,#eafff523 12px,#edf4ff45 13px,transparent 14px 22px), repeating-linear-gradient(90deg,transparent 0 28px,#c0fbde2e 29px,#e6fff72e 30px,transparent 31px 58px); mask-image: linear-gradient(100deg, transparent 6%, #000 52%, #000 96%); }
.card-finish::after { content: ""; position: absolute; inset: 10% 16%; border: 1px solid #c6ffee60; border-left: none; border-bottom: none; transform: skewX(-28deg); box-shadow: 13px -10px 0 -9px #f4fff3c7, 27px -20px 0 -18px #d2ffeb82, 51px -34px 0 -32px #d2ffeb82; }
.black .card-finish { background: repeating-linear-gradient(0deg,transparent 0 14px,#fdbb725c 15px,transparent 16px 22px), repeating-linear-gradient(90deg,transparent 0 39px,#e2b3774d 40px,transparent 41px 69px); }
.black .card-finish::after { border-color: #d7b17f96; }
.tier-code { padding: 5px 7px; border: 1px solid currentColor; border-radius: 3px; letter-spacing: .12em; }
.dashboard-main { background: radial-gradient(ellipse at 82% 5%, #12372d88,transparent 56%); }
.sidebar { background: #0c1412ed; }
.dashboard-content .panel { background-color: #0e1916e8; }
.ambient-toggle { min-height: 35px; padding: 5px 7px; font-size: 12px; white-space: nowrap; }
.use-section, .capabilities-section { background: #0c1714b3; }
.use-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line-strong); }
.use-grid article { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 1.7vw, 24px); padding: 24px 20px 25px 0; border-bottom: 1px solid var(--line); }
.use-grid article:nth-child(2n) { padding-inline: 25px 0; border-left: 1px solid var(--line); }
.use-art { aspect-ratio: 3 / 2; border-radius: 5px; border: 1px solid var(--line-strong); background: #12211c url('assets/payment-scenes.jpg') no-repeat; background-size: 200% 200%; background-origin: border-box; }
.use-art--ads { background-position: right top; }
.use-art--subscriptions { background-position: left bottom; }
.use-art--games { background-position: right bottom; }
.use-grid h3 { font-size: 23px; letter-spacing: -.035em; }
.use-grid p, .feature-list dd { margin-top: 5px; color: var(--muted); }
.use-grid small { display: block; margin-top: 10px; color: var(--cyan); font-size: 12px; }
.privacy-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(22px,5vw,75px); }
.privacy-art { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.35; border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 62% 51%, #30715b, #0e241e 38%, #080f0d 75%); background-position: center; background-size: cover; }
.feature-list > div { padding-block: 12px; border-top: 1px solid var(--line); }
.feature-list dt { font-size: 16px; font-weight: 690; }
.feature-list dd { line-height: 1.6; }
.help-disclosure { margin-top: 16px; }
@media (max-width: 760px) {
  .hero-artwork { inset: 20% -15% 0 0; opacity: .56; mask-image: linear-gradient(180deg,transparent,#000 50%); }
  .hero h1 { font-size: clamp(38px,9.1vw,57px); text-wrap: initial; }
  .stage-bottom { justify-content: space-between; gap: 6px; }
  .stage-bottom .segment { padding-inline: 7px; }
  .privacy-layout { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid article { padding-inline: 0; }
  .use-grid article:nth-child(2n) { padding-inline: 0; border-left: 0; }
}
@media (max-width: 350px) {
  .breadcrumbs b { display: none; }
  .stage-bottom { flex-wrap: wrap; }
}
.standard .card-foot strong { color: #dbffed; }
.standard .tier-code { color: #062019; background: #bbf4d7b3; border-color: #1b6f57; }

/* The three product finishes catch the same light in sequence. */
.card-motion-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(9px,1.15vw,16px); margin-bottom: 21px; }
.tier-tile .card-motion-frame .virtual-card { max-width: none; margin: 0; }
.card-light { position: absolute; z-index: 1; inset: 0; opacity: 0; background: linear-gradient(113deg, transparent 25%, #bfffe417 39%, #ddffe977 48%, #f3ffdeba 51%, #adffdf5c 55%, transparent 68%); mix-blend-mode: screen; pointer-events: none; }
.card-halo { position: absolute; z-index: 2; inset: 1px; border-radius: inherit; opacity: .22; box-shadow: inset 0 0 17px #c7fff3, inset 0 0 2px 1px #f7fff8; pointer-events: none; }
/* Keep the moving stars above the station image and below the controls. */
#orbital-background.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  mask-image: linear-gradient(90deg, #0005, #000 54%);
}
.hero-grid { position: relative; z-index: 1; }
.hero-artwork { transform-origin: 72% 54%; }
.hero-card { position: relative; isolation: isolate; --card-energy: #b5ffe0; }
.hero-card[data-tier="platinum"] { --card-energy: #c1e5ff; }
.hero-card[data-tier="black"] { --card-energy: #ffce8f; }
.card-transition-ring, .card-transition-line { position: absolute; opacity: 0; pointer-events: none; }
.card-transition-ring {
  inset: -10% -3%;
  z-index: -1;
  border: 1px solid var(--card-energy);
  border-radius: 49%;
  box-shadow: 0 0 22px var(--card-energy), inset 0 0 9px var(--card-energy);
}
.card-transition-line {
  inset: -8% 0;
  background: linear-gradient(110deg, transparent 43%, var(--card-energy) 50%, transparent 56%);
  mix-blend-mode: screen;
}
@media (max-width: 760px) {
  .hero { padding-block: clamp(20px, 4.4svh, 38px) 25px; }
  .hero-grid { gap: 18px; }
  .hero h1 { margin-block: 0 11px; }
  .hero .actions { margin-top: 14px; gap: 8px; }
  .hero .btn { min-height: 44px; padding-inline: 12px; }
  .hero-spec { margin-top: 12px; }
  .hero-artwork {
    inset: 0 -17% 0 -7%;
    background-position: 75% center;
    opacity: .88;
    mask-image: linear-gradient(180deg, #0008 0%, #000 39%);
  }
  .hero::after { background: linear-gradient(180deg, #090e0de8 0%, #090e0da6 35%, transparent 67%, #090e0d 100%); }
  #orbital-background.hero-stars { mask-image: linear-gradient(180deg, #0005, #000 42%); }
  .card-stage { gap: 15px; padding: 13px; }
  .hero-card { width: min(83%, 370px); }
  .stage-bottom .segment { min-height: 44px; }
}
@media (max-width: 350px) {
  .hero .wrap { width: calc(100% - 28px); }
  .hero { padding-block: 16px 17px; }
  .hero-grid { gap: 13px; }
  .hero h1 { font-size: 33px; }
  .hero-lead { font-size: 13px; line-height: 1.65; }
  .hero .actions { margin-top: 11px; }
  .hero-spec { margin-top: 8px; }
  .card-stage { gap: 10px; padding: 10px; }
  .hero-card { width: 76%; }
  .stage-bottom { flex-wrap: nowrap; }
  .stage-bottom .segmented { gap: 2px; padding: 2px; }
  .stage-bottom .segment { font-size: 12px; padding-inline: 5px; }
}

.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a:hover { color: var(--accent); }
.invite-page { display: grid; gap: 18px; }
.invite-hero {
  min-height: 184px;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, #0e201b 14%, #0e201bf2 48%, #0e201b29), url('assets/orbital-relay.jpg') right 48% / cover;
}
.invite-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.13; margin: 0 0 10px; }
.invite-hero p { color: #c0d6cb; max-width: 37ch; margin: 0 0 16px; }
.invite-claim-status { margin-left: 10px; color: var(--muted); font-size: 13px; }
.invite-metrics { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin: 0; }
.invite-metrics > div { padding: 15px 12px; }
.invite-metrics dt { font-size: 12px; color: var(--muted); }
.invite-metrics dd { margin: 8px 0 0; }
.invite-metrics strong { font: 700 clamp(17px,2vw,24px)/1 var(--mono); color: var(--accent); }
.invite-metrics small { color: var(--muted); font-size: 10px; }
.invite-tools { display: grid; grid-template-columns: minmax(160px,1fr) minmax(0,3fr); gap: 15px; }
.invite-level, .dashboard-content .invite-level { text-align: center; background: radial-gradient(ellipse at center, #224c36, #0c2019 78%); }
.invite-level h2, .invite-records h2 { font-size: 17px; margin: 0 0 12px; }
.invite-level-ring { border-radius: 50%; width: 104px; aspect-ratio: 1; display: grid; place-content: center; margin: 15px auto; border: 5px solid #43705c; box-shadow: inset 0 0 25px #9dffad13; }
.invite-level-ring strong { color: var(--accent); font-size: 25px; }
.invite-level-ring span, .invite-level p { color: var(--muted); font-size: 12px; }
.invite-field { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 7px; align-items: center; margin-top: 13px; }
.invite-field label { grid-column: 1/-1; }
.invite-field .btn { white-space: nowrap; }
.invite-records .segmented { width: fit-content; margin-bottom: 14px; }
.invite-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.invite-filters label { flex: 0 1 175px; }
.invite-filters .actions { margin-left: auto; }
.invite-filters select { min-height: 44px; background: #0b1713; border: 1px solid #3d594f; border-radius: 8px; color: var(--ink); padding: 8px 11px; font: inherit; }
.invite-records th { white-space: nowrap; }
.invite-empty { margin: 0; padding: 30px 12px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 1080px) { .invite-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .invite-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .invite-tools { grid-template-columns: 1fr; }
  .invite-field { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .invite-field label, .invite-field input { grid-column: 1/-1; }
  .invite-filters label { flex: 1 1 122px; min-width: 0; }
}
@media (max-width: 420px) {
  .dashboard-menu-label { display: none; }
  .breadcrumbs [data-action="nav-toggle"] { width: 44px; min-height: 44px; font-size: 17px; }
  .header-actions .notice-btn, .header-actions .avatar { min-height: 44px; }
  .header-actions .avatar { width: 44px; }
}

.scene-art { position: absolute; inset: 0; opacity: 0; background-size: cover; background-position: 65% center; }
.hero[data-scene="orbit"] .scene-orbit,
.hero[data-scene="relay"] .scene-relay,
.hero[data-scene="vault"] .scene-vault { opacity: 1; }
.scene-orbit { background-image: url('assets/orbital-relay.jpg'); }
.scene-relay {
  background-color: #08192a;
  background-image: radial-gradient(ellipse at 75% 42%, #61c0ff55, transparent 52%),
    repeating-linear-gradient(151deg, transparent 0 70px, #6199c170 71px, transparent 74px 108px),
    repeating-linear-gradient(28deg, transparent 0 29px, #1e3e59 30px 31px, transparent 32px 60px);
}
.scene-relay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(151deg, transparent 0 91px, #aff2ff93 94px, transparent 98px 177px);
  mask-image: linear-gradient(110deg, transparent 20%, #000, transparent 81%);
  animation: relay-signal 6s ease-in-out infinite alternate;
}
@keyframes relay-signal { from { transform: translate3d(-4%, 6%, 0); opacity: .32; } to { transform: translate3d(6%, -4%, 0); opacity: .95; } }
.scene-vault {
  background-image: linear-gradient(90deg, #09160c9e, transparent 68%), url('assets/chip-vault.jpg');
  background-position: 74% center;
}
.hero[data-scene="relay"] h1 em { color: #addefa; }
.hero[data-scene="vault"] h1 em { color: #ebdc9d; }
.hero[data-scene="relay"] .card-stage { background-color: #071626a3; border-color: #84c4ff80; }
.hero[data-scene="vault"] .card-stage { background-color: #211b0daa; border-color: #e4c48172; }
.scene-controls { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; }
.hero .scene-tab { min-height: 44px; padding-inline: 10px; border-bottom: 2px solid transparent; border-radius: 0; color: #c2d4cb; font-size: 13px; }
.hero .scene-tab[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--ink); }
.stage-bottom { justify-content: center; }
.card-preview-details {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2px, .7vw, 9px) 7px;
  padding: clamp(5px, .8vw, 10px);
  border-radius: 4px;
  color: #f4fff9;
  background: #041911cc;
  font-size: clamp(9px, 1vw, 13px);
  line-height: 1.15;
}
.card-preview-details .preview-number { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 9px; }
.card-preview-details dd { margin-top: 2px; font: 700 1.12em/1 var(--mono); white-space: nowrap; }
.hero-card .virtual-card { padding: clamp(8px, 1.9vw, 27px); gap: 4px; }
.hero-card .card-chip { width: clamp(20px, 9%, 42px); }

.profile-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .65fr); align-items: center; gap: 15px 24px; margin-bottom: 14px; }
.profile-avatar, .avatar { overflow: hidden; }
.profile-avatar { display: grid; place-items: center; width: 78px; aspect-ratio: 1; border-radius: 50%; background: #1b3a2e; border: 1px solid var(--line-strong); font-size: 36px; }
.profile-avatar img, .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-picker, .profile-avatar-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.profile-avatar-options .btn { min-width: 44px; min-height: 44px; padding: 0; font-size: 18px; }
.profile-avatar-options .btn[aria-pressed="true"] { border-color: var(--accent); background: #234330; }
.profile-avatar-picker small { flex-basis: 100%; color: var(--muted); }
.profile-upload { position: relative; cursor: pointer; min-height: 44px; }
.profile-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.profile-upload:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.profile-identity-info { min-width: 0; border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.profile-identity-info div { display: grid; gap: 3px; }
.profile-identity-info div + div { margin-top: 7px; }
.profile-identity-info dt, .profile-row dt, .profile-metrics dt { color: var(--muted); font-size: 13px; }
.profile-identity-info dd, .profile-row dd span { overflow-wrap: anywhere; }
.profile-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 15px; }
.profile-metrics .panel { padding: 13px; }
.profile-metrics dd { margin-top: 5px; color: var(--accent); font: 660 24px/1 var(--mono); }
.profile-metrics small { color: var(--muted); font: 12px system-ui, sans-serif; }
.profile-row { padding-block: 9px; border-top: 1px solid var(--line); }
.profile-row dd { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.profile-row .btn { flex-shrink: 0; min-height: 44px; }
.profile-row select { min-height: 44px; width: 100%; padding: 8px 11px; border: 1px solid #3d594f; border-radius: 8px; background: #091411; color: var(--ink); font: inherit; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.deposit-details { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 9px; background: #0b1713; }
.deposit-details img { display: block; width: clamp(78px, 23vw, 112px); height: auto; background: white; border-radius: 4px; image-rendering: pixelated; }
.deposit-details label { display: block; margin-block: 4px; }
.deposit-details input { font: 13px var(--mono); }
.deposit-network { color: var(--cyan); font: 650 12px/1.4 var(--mono); }
.deposit-details .btn { margin-top: 8px; min-height: 44px; }
@media (max-width: 400px) {
  .use-grid article { grid-template-columns: 1fr; }
  .deposit-details { padding: 10px; gap: 10px; }
}
@media (max-width: 1040px) {
  .profile-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .scene-art { background-position: 75% center; }
  .scene-controls { margin-top: 8px; }
  .hero-card { width: min(96%, 370px); }
  .profile-panels { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .profile-identity { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .profile-avatar { width: 53px; font-size: 25px; }
  .profile-identity-info { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 24px; border-inline-start: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
  .profile-identity-info div + div { margin-top: 0; }
}
