:root {
  --bg: #060503;
  --bg-raised: #0c0a07;
  --surface: rgba(20, 17, 11, .8);
  --surface-solid: #14110b;
  --surface-soft: rgba(255, 255, 255, .025);
  --gold: #f0bd4f;
  --gold-bright: #ffe39b;
  --gold-deep: #ad6e10;
  --gold-glow: rgba(240, 189, 79, .18);
  --text: #fffaf0;
  --text-soft: #c9c0ae;
  --text-dim: #8c8374;
  --border: rgba(240, 189, 79, .16);
  --border-strong: rgba(240, 189, 79, .42);
  --green: #5bd68a;
  --amber: #ffbf5c;
  --red: #ff746f;
  --blue: #65a6ff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1420px;
  --header: 78px;
  --announce: 42px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(188, 115, 13, .1), transparent 28%),
    radial-gradient(circle at 90% 75%, rgba(240, 189, 79, .055), transparent 30%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.drawer-open, body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
table { border-collapse: collapse; }
::selection { background: var(--gold); color: #171006; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 2000; top: 10px; left: 10px; padding: 12px 18px; border-radius: 10px; background: var(--gold-bright); color: #120c04; transform: translateY(-150%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(255, 225, 145, .9); outline-offset: 3px; }

.matrix-background { position: fixed; z-index: -4; inset: 0; width: 100%; height: 100%; opacity: .28; pointer-events: none; }
.ambient { position: fixed; z-index: -3; width: 38vw; aspect-ratio: 1; border-radius: 50%; filter: blur(120px); opacity: .075; pointer-events: none; }
.ambient-a { top: 10%; left: -20%; background: var(--gold); }
.ambient-b { right: -22%; bottom: -8%; background: #c27a12; }

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 3vw, 48px);
  border-bottom: 1px solid var(--border);
  background: rgba(6, 5, 3, .8);
  backdrop-filter: blur(22px) saturate(125%);
}
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; min-height: 48px; font-family: "Avenir Next", Inter, sans-serif; font-size: 15px; letter-spacing: -.02em; }
.brand picture, .brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { display: flex; flex-wrap: wrap; width: 88px; }
.brand strong { color: var(--gold); }
.brand small { width: 100%; margin-top: 1px; color: var(--text-dim); font: 700 7px/1.2 ui-monospace, monospace; letter-spacing: .17em; }
.desktop-nav { flex: 1; display: flex; justify-content: center; gap: clamp(3px, .55vw, 10px); }
.desktop-nav a { min-height: 44px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid transparent; border-radius: 999px; color: var(--text-soft); font-size: 12px; font-weight: 650; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.desktop-nav a svg { width: 16px; height: 16px; color: var(--text-dim); }
.desktop-nav a:hover, .desktop-nav a.active { border-color: var(--border); background: rgba(240, 189, 79, .055); color: var(--gold-bright); }
.desktop-nav a.active svg { color: var(--gold); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.network-pill { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(91, 214, 138, .2); border-radius: 999px; background: rgba(91, 214, 138, .045); color: #bceacb; font-size: 11px; font-weight: 700; white-space: nowrap; }
.network-pill i, .status-light { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(91, 214, 138, .65); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; background: transparent; font-weight: 750; line-height: 1; cursor: pointer; transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease; }
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 52%, var(--gold-deep)); color: #170f04; box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 12px 35px rgba(199, 132, 25, .15); }
.button-gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 16px 42px rgba(199, 132, 25, .25); }
[data-wallet-open].is-loading { cursor: wait; opacity: .78; }
[data-wallet-open].is-loading [data-wallet-label] { animation: wallet-loading-pulse 700ms ease-in-out infinite alternate; }
@keyframes wallet-loading-pulse { to { opacity: .52; } }
.button-outline { border-color: var(--border-strong); background: rgba(255,255,255,.018); color: var(--text); }
.button-outline:hover { border-color: var(--gold); background: rgba(240,189,79,.07); color: var(--gold-bright); }
.button-danger { border-color: rgba(255,116,111,.45); background: rgba(255,116,111,.07); color: #ffaaa6; }
.button-danger:hover { border-color: var(--red); background: rgba(255,116,111,.13); color: #ffd1cf; }
.button-danger[hidden] { display: none !important; }
.button-block { width: 100%; }
.icon-button { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.025); cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease); }
.icon-button:hover { border-color: var(--border-strong); background: rgba(240,189,79,.07); transform: translateY(-1px); }
.icon-button svg { width: 20px; height: 20px; }
.mobile-menu-button { display: none; }

.launch-announcement {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--announce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 7px clamp(14px, 3vw, 48px);
  border-bottom: 1px solid rgba(240,189,79,.2);
  background: linear-gradient(90deg, rgba(8,7,5,.96), rgba(31,24,10,.96), rgba(8,7,5,.96));
  box-shadow: 0 12px 32px rgba(0,0,0,.22), inset 0 -1px 0 rgba(255,255,255,.025);
  backdrop-filter: blur(18px) saturate(130%);
}
.launch-announcement div { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text-soft); font-size: 11px; }
.launch-announcement span { color: var(--gold); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.launch-announcement strong { color: var(--text); white-space: nowrap; }
.launch-announcement small { color: var(--text-dim); white-space: nowrap; }
.launch-announcement b {
  min-width: 174px;
  padding: 6px 11px;
  border: 1px solid rgba(240,189,79,.3);
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  color: var(--gold-bright);
  text-align: center;
  font: 850 12px/1 ui-monospace, monospace;
  letter-spacing: .04em;
  box-shadow: inset 0 0 18px rgba(240,189,79,.055);
}

.topbar { top: var(--announce); }
.app-main { width: min(calc(100% - 40px), var(--max)); min-height: calc(100dvh - var(--header) - var(--announce)); margin: calc(var(--header) + var(--announce)) auto 0; padding: clamp(42px, 5vw, 76px) 0 90px; }
.app-main:focus, .app-main:focus-visible { outline: none; }
.app-view { display: none; animation: view-enter 380ms var(--ease) both; }
.app-view.active { display: block; }
@keyframes view-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.view-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.view-heading > div:first-child { max-width: 820px; }
.view-heading.centered { justify-content: center; text-align: center; }
.view-heading.centered .eyebrow { justify-content: center; }
.view-heading.split > div:first-child { max-width: 770px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 1px; background: currentColor; box-shadow: 8px 0 16px currentColor; }
h1, h2, h3 { font-family: "Avenir Next", "Segoe UI", Inter, sans-serif; line-height: 1.08; }
h1 { margin-bottom: 15px; font-size: clamp(2.35rem, 5vw, 5.4rem); letter-spacing: -.06em; }
h1 em { color: var(--gold); font-style: normal; text-shadow: 0 0 34px rgba(240,189,79,.12); }
h2 { margin-bottom: 12px; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; }
.view-heading p:last-child { max-width: 700px; margin-bottom: 0; color: var(--text-soft); font-size: clamp(.96rem, 1.3vw, 1.08rem); }
.heading-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: end; }

.panel { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(24,20,13,.82), rgba(8,7,5,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 24px 70px rgba(0,0,0,.16); }
.panel::after { position: absolute; z-index: 0; right: -20%; bottom: -45%; width: 62%; aspect-ratio: 1; border: 1px solid rgba(240,189,79,.06); border-radius: 50%; box-shadow: 0 0 0 40px rgba(240,189,79,.018), 0 0 0 90px rgba(240,189,79,.012); content: ""; pointer-events: none; }
.panel > * { position: relative; z-index: 1; }
.panel-kicker { margin-bottom: 7px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.panel-copy { color: var(--text-soft); font-size: 14px; }
.panel-heading, .panel-title-row { display: flex; align-items: center; gap: 14px; }
.panel-title-row { justify-content: space-between; }
.panel-title-row h2, .panel-heading h2 { margin: 0; }
.panel-heading p { margin-bottom: 5px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.panel-icon, .metric-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 14px; background: rgba(240,189,79,.055); color: var(--gold); }
.panel-icon svg, .metric-icon svg { width: 23px; height: 23px; }
.panel-icon.large { width: 66px; height: 66px; border-radius: 19px; }
.secure-badge, .status-tag, .rank-badge, .record-count { min-height: 30px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(91,214,138,.2); border-radius: 999px; background: rgba(91,214,138,.045); color: #a8e4bd; font-size: 9px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.secure-badge svg { width: 14px; height: 14px; }
.status-tag { border-color: var(--border); background: rgba(240,189,79,.045); color: var(--gold-bright); }

.status-banner { min-height: 64px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(255,255,255,.018); }
.status-banner > div { flex: 1; }
.status-banner strong, .status-banner small { display: block; }
.status-banner strong { font-size: 13px; }
.status-banner small { color: var(--text-dim); font-size: 11px; }

.dashboard-top-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 16px; }
.referral-panel, .documents-panel { min-height: 270px; padding: 24px; }
.referral-panel .panel-copy { margin: 22px 0 14px; }
.copy-field, .readonly-field { min-height: 48px; display: flex; align-items: center; gap: 10px; padding-left: 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: #080705; }
.copy-field > span, .readonly-field > span { min-width: 0; flex: 1; overflow: hidden; color: var(--text-soft); font: 500 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.copy-field button, .readonly-field button { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--gold); cursor: pointer; }
.copy-field button:disabled, .readonly-field button:disabled { color: var(--text-dim); cursor: not-allowed; }
.copy-field button svg, .readonly-field button svg { width: 17px; height: 17px; }
.copy-field.locked { border-color: rgba(255,255,255,.08); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mini-stats div { padding: 11px 13px; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; background: rgba(255,255,255,.018); }
.mini-stats span, .mini-stats strong { display: block; }
.mini-stats span { color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.mini-stats strong { margin-top: 4px; color: var(--gold-bright); font-size: 14px; }
.document-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.document-item { min-height: 124px; display: flex; flex-direction: column; gap: 9px; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.02); transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease); }
.document-item:hover { border-color: var(--border-strong); background: rgba(240,189,79,.04); transform: translateY(-2px); }
.document-item svg { width: 20px; height: 20px; color: var(--gold); }
.document-item strong { font-size: 12px; }
.document-item small { margin-top: auto; color: var(--text-dim); font-size: 9px; }
.document-item span { display: flex; align-items: center; justify-content: space-between; color: var(--gold); font-size: 10px; font-weight: 750; }
.document-item.disabled { opacity: .55; pointer-events: none; }

.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 16px; }
.metric-card { min-height: 184px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(150deg, rgba(27,23,15,.8), rgba(8,7,5,.88)); transition: transform 180ms var(--ease), border-color 180ms ease; }
.metric-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.metric-card .metric-icon { width: 40px; height: 40px; margin-bottom: 28px; border-radius: 12px; }
.metric-card .metric-icon svg { width: 19px; height: 19px; }
.metric-card p { margin-bottom: 7px; color: var(--text-soft); font-size: 11px; }
.metric-card > strong { overflow: hidden; color: var(--text); font: 650 clamp(1.18rem, 1.8vw, 1.7rem)/1.1 "Avenir Next", sans-serif; letter-spacing: -.04em; text-overflow: ellipsis; }
.metric-card small { margin-top: 8px; color: var(--text-dim); font-size: 9px; }
.metric-card small i { width: 5px; height: 5px; display: inline-block; margin-right: 4px; border-radius: 50%; background: var(--green); }
.token-amount, [data-balance], [data-user-stat="team_business"] { max-width: 100%; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

.dashboard-chart-grid { display: grid; grid-template-columns: 1.6fr .7fr; gap: 16px; margin-top: 16px; }
.dashboard-chart-grid.readiness-hidden { grid-template-columns: 1fr; }
.dashboard-chart-grid.readiness-hidden .chart-panel { grid-column: 1 / -1; }
.chart-panel, .readiness-panel { min-height: 350px; padding: 24px; }
.chart-value { text-align: right; }
.chart-value strong, .chart-value small { display: block; }
.chart-value strong { color: var(--gold-bright); font: 650 1.45rem/1 ui-monospace, monospace; }
.chart-value small { margin-top: 6px; color: var(--text-dim); font-size: 9px; }
.line-chart { width: 100%; height: 210px; margin-top: 16px; overflow: visible; }
.chart-grid-line { stroke: rgba(255,255,255,.04); stroke-width: 1; }
.chart-area { fill: url(#chartFill); stroke: none; }
.chart-line { fill: none; stroke: var(--gold); stroke-width: 3; filter: drop-shadow(0 0 7px rgba(240,189,79,.34)); }
.line-chart circle { fill: var(--gold-bright); stroke: #211608; stroke-width: 3; }
.chart-legend { display: flex; justify-content: space-between; gap: 20px; color: var(--text-dim); font-size: 10px; }
.chart-legend span { display: flex; align-items: center; gap: 7px; }
.chart-legend i { width: 18px; height: 2px; background: var(--gold); }
.readiness-list { margin: 26px 0; }
.readiness-list div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.055); color: var(--text-soft); font-size: 12px; }
.readiness-list strong { color: var(--green); font-size: 10px; text-transform: uppercase; }
.readiness-list strong.pending { color: var(--amber); }
.info-note, .form-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--text-dim); font-size: 10px; }
.info-note svg, .form-note svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--gold); }

.calculator-shell { max-width: 1260px; margin: 0 auto; padding: clamp(22px, 4vw, 42px); }
.plan-picker legend, .amount-field > label, .release-options legend { margin-bottom: 12px; color: var(--text-soft); font-size: 12px; font-weight: 700; }
.plan-picker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.plan-option { min-height: 102px; padding: 15px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.018); color: var(--text-soft); text-align: left; cursor: pointer; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms var(--ease); }
.plan-option:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.plan-option.active { border-color: var(--gold); background: linear-gradient(135deg, rgba(255,227,155,.96), rgba(240,189,79,.9)); color: #181005; box-shadow: 0 12px 30px rgba(190,120,15,.16); }
.plan-option span, .plan-option strong, .plan-option small { display: block; }
.plan-option span { font-size: 9px; font-weight: 800; text-transform: uppercase; }
.plan-option strong { margin: 6px 0 4px; font-size: 15px; }
.plan-option small { font-size: 10px; }
.amount-field { margin-top: 30px; }
.amount-field > div, .modal-input > div { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 13px; background: #080705; }
.amount-field input, .modal-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 18px; }
.amount-field > div > span, .modal-input > div > span { color: var(--gold); font-size: 12px; font-weight: 800; }
.amount-field > small { display: block; margin-top: 8px; color: var(--text-dim); font-size: 10px; }
.flexible-duration-control { margin-top: 22px; }
.flexible-duration-control[hidden] { display: none; }
.flexible-duration-control legend { margin-bottom: 12px; color: var(--text-soft); font-size: 12px; font-weight: 700; }
.duration-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.duration-options button {
  min-height: 44px;
  border: 1px solid rgba(240,189,79,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.018);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}
.duration-options button:hover { border-color: var(--border-strong); color: var(--gold-bright); transform: translateY(-1px); }
.duration-options button.active { border-color: var(--gold); background: linear-gradient(135deg, rgba(255,227,155,.96), rgba(240,189,79,.88)); color: #181005; box-shadow: 0 10px 26px rgba(190,120,15,.12); }
.calculator-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.calculator-summary article { padding: 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.018); }
.calculator-summary span, .calculator-summary strong { display: block; }
.calculator-summary span { color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.calculator-summary strong { margin-top: 7px; color: var(--gold-bright); font-size: 13px; }
.breakdown-panel { margin-top: 28px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: rgba(7,6,4,.82); }
.breakdown-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.breakdown-head p { margin-bottom: 5px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.breakdown-head h2 { margin: 0; }
.breakdown-head > strong { color: var(--gold); font: 700 clamp(1.5rem, 3vw, 2.5rem)/1 ui-monospace, monospace; }
.formula-rows div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.045); color: var(--text-soft); font-size: 12px; }
.formula-rows div:last-child { border: 0; color: var(--text); }
.formula-rows strong { font-family: ui-monospace, monospace; }

.release-clock { min-width: 220px; padding: 15px 18px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.02); text-align: right; }
.release-clock span, .release-clock strong { display: block; }
.release-clock span { color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.release-clock strong { margin-top: 6px; color: var(--gold-bright); font: 650 1.15rem/1 ui-monospace, monospace; }
.segmented-tabs { width: min(600px, 100%); display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; padding: 4px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.02); }
.segmented-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--text-dim); font-size: 12px; font-weight: 700; cursor: pointer; }
.segmented-tabs button.active { background: rgba(240,189,79,.1); color: var(--gold-bright); box-shadow: inset 0 0 0 1px var(--border-strong); }
.segmented-tabs button span { display: inline-grid; min-width: 20px; height: 20px; margin-left: 5px; place-items: center; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 9px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.stake-grid, .bond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stake-card, .bond-card { position: relative; min-height: 260px; display: flex; flex-direction: column; overflow: hidden; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(150deg, rgba(28,24,16,.85), rgba(7,6,4,.92)); transition: transform 180ms var(--ease), border-color 180ms ease; }
.stake-card:hover, .bond-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.stake-card::before, .bond-card::before { position: absolute; top: -30%; right: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240,189,79,.12), transparent 68%); content: ""; }
.stake-card-head { display: flex; align-items: center; gap: 12px; }
.stake-card-head img { width: 46px; height: 46px; border-radius: 50%; }
.stake-card-head span, .stake-card-head strong { display: block; }
.stake-card-head span { color: var(--text-dim); font-size: 9px; letter-spacing: .12em; }
.stake-card-head strong { margin-top: 3px; font-size: 14px; }
.stake-card-body { display: flex; justify-content: space-between; gap: 12px; margin: 38px 0 24px; }
.stake-card-body div { min-width: 110px; padding: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 11px; background: rgba(255,255,255,.018); }
.stake-card-body span, .stake-card-body strong { display: block; }
.stake-card-body span { color: var(--text-dim); font-size: 8px; text-transform: uppercase; }
.stake-card-body strong { margin-top: 5px; font-size: 14px; }
.stake-card-body div:last-child { border-color: rgba(240,189,79,.26); background: rgba(240,189,79,.055); }
.stake-card-body div:last-child strong { color: var(--gold); }
.stake-card .button, .bond-card .button { margin-top: auto; align-self: flex-end; }
.stake-card.is-disabled {
  opacity: .82;
}
.stake-card.is-disabled .button {
  pointer-events: none;
  cursor: not-allowed;
  opacity: .6;
}
.stake-coming-soon-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: -4px 0 13px auto;
  padding: 6px 10px;
  border: 1px solid rgba(240,189,79,.28);
  border-radius: 999px;
  background: rgba(240,189,79,.07);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stake-filter-select { display: grid; gap: 8px; width: min(100%, 320px); margin: -4px 0 18px; color: var(--text-soft); }
.stake-filter-select > span { font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.stake-filter-select > div { position: relative; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(135deg, rgba(255,227,143,.08), rgba(255,255,255,.018)); box-shadow: inset 0 0 18px rgba(240,189,79,.035); }
.stake-filter-select select { width: 100%; min-height: 46px; appearance: none; border: 0; outline: 0; background: transparent; color: var(--text); padding: 0 44px 0 15px; font: 850 12px/1 var(--font, inherit); letter-spacing: .04em; cursor: pointer; }
.stake-filter-select select:focus-visible { box-shadow: 0 0 0 3px rgba(240,189,79,.18); border-radius: 15px; }
.stake-filter-select svg { position: absolute; right: 14px; width: 15px; height: 15px; color: var(--gold); pointer-events: none; transform: rotate(90deg); }
.pager button { min-height: 40px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--text-soft); padding: 10px 14px; font: 800 11px/1 var(--font, inherit); letter-spacing: .04em; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.pager button:hover:not(:disabled) { border-color: rgba(240,189,79,.55); color: var(--gold-bright); transform: translateY(-1px); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.pager span { min-width: 110px; text-align: center; color: var(--text-soft); font: 800 11px/1.2 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.pager button:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.data-table-panel { padding: 24px; }
.table-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.table-head h2 { margin: 0; }
.responsive-table { overflow-x: auto; border: 1px solid rgba(255,255,255,.055); border-radius: 13px; }
table { width: 100%; min-width: 760px; }
th, td { padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.055); text-align: left; font-size: 11px; }
th { color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--text-soft); }
tbody tr:last-child td { border-bottom: 0; }
.history-card-list { display: grid; gap: 14px; overflow: hidden; border: 0; }
.history-card {
  overflow: hidden;
  max-width: 100%;
  padding: 16px;
  border: 1px solid rgba(240,189,79,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25,21,14,.82), rgba(7,6,5,.88));
}
.history-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 13px; padding-bottom: 12px; border-bottom: 1px solid rgba(240,189,79,.1); }
.history-card-head span, .history-card-grid span { display: block; color: var(--text-dim); font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.history-card-head strong { display: block; margin-top: 4px; color: var(--text); font-size: 14px; }
.history-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.history-card-grid > div { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 13px; background: rgba(0,0,0,.18); }
.history-card-grid strong { display: block; margin-top: 6px; color: var(--text-soft); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.history-card-wide { grid-column: 1 / -1; }
.history-amount-stack { display: grid; gap: 5px; }
.history-amount-stack span { color: var(--text-soft); font-size: 12px; font-weight: 650; letter-spacing: normal; text-transform: none; }
.history-amount-stack b { color: var(--text); font-weight: 800; }
.tx-link { color: var(--gold-bright); text-decoration: none; }
.tx-link:hover { text-decoration: underline; }
.empty-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-dim); text-align: center; }
.empty-state svg { width: 32px; height: 32px; margin-bottom: 4px; color: var(--gold); }
.empty-state strong { color: var(--text-soft); font-size: 13px; }
.empty-state span { font-size: 10px; }
.empty-state.large { min-height: 300px; }
.launch-lock { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 18px; padding: 22px; }
.launch-lock h2 { margin-bottom: 6px; }
.launch-lock p:last-child { margin: 0; color: var(--text-soft); font-size: 12px; }

.swap-layout { max-width: 1060px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); gap: 16px; margin: 0 auto; }
.swap-card, .swap-side { padding: clamp(20px, 3vw, 30px); }
.swap-head { display: flex; align-items: center; justify-content: space-between; }
.swap-head h2 { margin: 0; }
.token-input { display: block; margin-top: 24px; padding: 16px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(135deg, rgba(240,189,79,.055), rgba(0,0,0,.32)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); transition: margin-bottom .2s ease; }
.token-input.token-picker-open { margin-bottom: 138px; }
.token-input > span { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--text-soft); font-size: 11px; }
.token-input > span small { color: var(--text-dim); }
.token-input > div { display: flex; align-items: center; gap: 12px; }
.token-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 1.6rem/1 ui-monospace, monospace; text-align: right; }
.swap-token-select { position: relative; min-height: 46px; min-width: 150px; font-size: 12px; font-weight: 750; }
.swap-token-select.is-open { z-index: 90; }
.swap-token-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.token-select-trigger { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; outline: 0; background: rgba(255,255,255,.025); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.token-select-trigger:hover, .token-select-trigger[aria-expanded="true"] { border-color: rgba(240,189,79,.64); background: rgba(240,189,79,.06); box-shadow: 0 0 0 2px rgba(240,189,79,.12), 0 12px 26px rgba(0,0,0,.18); }
.token-select-trigger:focus-visible { border-color: rgba(255,220,128,.88); box-shadow: 0 0 0 3px rgba(240,189,79,.14), 0 12px 26px rgba(0,0,0,.2); }
.token-select-trigger svg { width: 14px; height: 14px; transform: rotate(90deg); color: var(--gold); pointer-events: none; flex-shrink: 0; }
.token-option { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 850; }
.token-icon-wrap { position: relative; width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), rgba(240,189,79,.08)); box-shadow: 0 0 0 1px rgba(240,189,79,.26), 0 8px 18px rgba(0,0,0,.22); overflow: hidden; }
.token-icon { width: 28px; height: 28px; display: block; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.token-icon-fallback { position: absolute; inset: 0; display: none; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #171006; font-size: 9px; font-weight: 950; letter-spacing: .02em; }
.token-icon-wrap.icon-failed .token-icon { display: none; }
.token-icon-wrap.icon-failed .token-icon-fallback { display: grid; }
.token-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 120; width: min(220px, calc(100vw - 48px)); padding: 8px; border: 1px solid rgba(240,189,79,.24); border-radius: 18px; background: linear-gradient(145deg, rgba(36,31,24,.995), rgba(12,10,8,.995)); box-shadow: 0 18px 46px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.token-menu[hidden] { display: none; }
.token-option--dropdown { width: 100%; min-height: 38px; padding: 7px 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-align: left; transition: background .18s ease, color .18s ease; }
.token-option--dropdown:hover, .token-option--dropdown[aria-selected="true"] { background: rgba(240,189,79,.12); color: var(--gold-bright); }
.token-option--dropdown .token-icon-wrap, .token-option--dropdown .token-icon { width: 24px; height: 24px; }
.swap-token-amount { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; vertical-align: middle; }
.swap-token-amount .token-icon-wrap, .swap-token-amount .token-icon { width: 22px; height: 22px; }
.swap-token-amount .token-icon-fallback { font-size: 8px; }
.swap-direction { width: 44px; height: 44px; display: grid; place-items: center; margin: -8px auto -20px; position: relative; z-index: 2; border: 5px solid #0d0b07; border-radius: 50%; background: var(--gold); color: #171006; cursor: pointer; }
.swap-direction svg { width: 18px; height: 18px; transform: rotate(90deg); }
.slippage-options { margin-top: 18px; padding: 0; border: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.slippage-options legend { width: 100%; color: var(--text-soft); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.slippage-options label { cursor: pointer; }
.slippage-options input { position: absolute; opacity: 0; pointer-events: none; }
.slippage-options span { min-height: 34px; display: grid; place-items: center; padding: 0 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-soft); background: rgba(255,255,255,.02); font-size: 10px; font-weight: 850; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.slippage-options input:checked + span { border-color: rgba(240,189,79,.75); background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #130e05; }
.swap-details { margin: 22px 0; }
.swap-details div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; color: var(--text-dim); font-size: 10px; }
.swap-details strong { color: var(--text-soft); text-align: right; }
.swap-card .form-note { margin-top: 14px; }
.third-party-platforms { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.third-party-platforms > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.third-party-platforms .button { min-height: 42px; padding: 10px 12px; font-size: 10px; text-decoration: none; }
.third-party-platforms small { display: block; margin-left: 4px; color: var(--text-dim); font-size: 8px; }
.button[aria-busy="true"] { cursor: wait; opacity: .78; }
.swap-side ol { margin: 28px 0 0; padding: 0; list-style: none; }
.swap-side li { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.swap-side li > span { color: var(--gold); font: 700 10px/1.4 ui-monospace, monospace; }
.swap-side li strong, .swap-side li small { display: block; }
.swap-side li strong { font-size: 12px; }
.swap-side li small { margin-top: 3px; color: var(--text-dim); font-size: 10px; }

.alliance-level-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.level-card { min-height: 132px; display: flex; align-items: center; gap: 20px; padding: 22px; }
.level-card h2 { margin: 0 0 4px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.level-card small { color: var(--text-dim); }
.level-chip { position: relative; width: 94px; height: 94px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(240,189,79,.42); border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(255,226,139,.2), rgba(160,91,20,.08) 48%, rgba(0,0,0,.38) 76%); color: var(--gold-bright); box-shadow: inset 0 0 18px rgba(240,189,79,.16), 0 0 34px rgba(240,189,79,.13); isolation: isolate; }
.level-chip::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 12deg, rgba(255,215,128,.05), rgba(240,189,79,.42), rgba(255,255,255,.11), rgba(240,189,79,.08), rgba(255,215,128,.05)); opacity: .75; filter: blur(.2px); z-index: -1; }
.level-chip::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(255,231,159,.14); pointer-events: none; }
.level-chip img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; border-radius: 50%; filter: saturate(1.08) contrast(1.05) drop-shadow(0 8px 16px rgba(0,0,0,.4)) drop-shadow(0 0 16px rgba(240,189,79,.14)); transform: scale(1.12); transition: transform .22s ease, filter .22s ease, opacity .22s ease; }
.level-card:hover .level-chip img { transform: scale(1.18); filter: saturate(1.12) contrast(1.06) drop-shadow(0 12px 22px rgba(0,0,0,.46)) drop-shadow(0 0 22px rgba(240,189,79,.2)); }
.level-chip b { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.level-chip.muted { border-color: rgba(255,255,255,.16); background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.11), rgba(240,189,79,.045) 48%, rgba(0,0,0,.36) 76%); color: var(--text-soft); box-shadow: inset 0 0 18px rgba(255,255,255,.06), 0 0 24px rgba(240,189,79,.06); }
.level-chip.muted img { opacity: .82; filter: saturate(.82) brightness(.9) drop-shadow(0 8px 16px rgba(0,0,0,.36)); }
.alliance-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.alliance-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin: 16px 0; }
.rank-panel, .address-panel { padding: 24px; }
.rank-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rank-head h2 { margin: 0; }
.rank-badge { border-color: var(--border); background: rgba(240,189,79,.05); color: var(--gold); }
.progress-item { margin-top: 23px; }
.progress-item > div:first-child { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 8px; color: var(--text-soft); font-size: 11px; }
.progress-item strong { color: var(--gold-bright); font-size: 10px; }
.progress-track { height: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.05); border-radius: 999px; background: rgba(255,255,255,.04); }
.progress-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); }
.rank-panel .info-note { margin-top: 24px; }
.address-panel > label { display: block; margin-top: 22px; color: var(--text-soft); font-size: 11px; }
.address-panel .readonly-field { margin-top: 8px; }
.team-reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.team-reward-card { padding: 24px; }
.reward-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.reward-card-head h2 { margin: 0; }
.team-reward-copy { min-height: 44px; margin: 14px 0 0; color: var(--text-soft); font-size: 12px; line-height: 1.6; }
.team-reward-values { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0; }
.team-reward-values strong { font-size: clamp(1rem, 1.5vw, 1.25rem); overflow-wrap: anywhere; }
.locked-requirements { display: grid; gap: 6px; margin: 15px 0; padding: 13px 14px; border: 1px solid rgba(240,189,79,.15); border-radius: 14px; background: rgba(240,189,79,.045); color: var(--text-soft); font-size: 11px; line-height: 1.45; }
.locked-requirements strong { color: var(--gold-bright); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.team-reward-card.is-live .locked-requirements { display: none; }
.team-reward-card.is-live .status-tag { border-color: rgba(91,214,138,.28); background: rgba(91,214,138,.08); color: var(--green); }
.level-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.level-mini-grid div, .level-checklist span { border: 1px solid rgba(255,255,255,.06); border-radius: 12px; background: rgba(255,255,255,.02); padding: 12px; }
.level-mini-grid span, .level-mini-grid strong { display: block; }
.level-mini-grid span { color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.level-mini-grid strong { margin-top: 6px; color: var(--gold-bright); font-size: 15px; }
.level-checklist { display: grid; gap: 8px; margin: 16px 0; }
.level-checklist span { position: relative; display: flex; justify-content: space-between; gap: 12px; color: var(--text-soft); font-size: 11px; }
.level-checklist span::after { content: "Pending"; color: var(--text-dim); font-size: 10px; }
.level-checklist span.is-complete { border-color: rgba(91,214,138,.22); color: var(--green); }
.level-checklist span.is-complete::after { content: "âœ“"; color: var(--green); font-weight: 900; }
.level-table-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border: 1px solid rgba(240,189,79,.22); border-radius: 999px; background: rgba(240,189,79,.055); color: var(--gold-bright); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.account-top-grid { display: grid; grid-template-columns: .9fr 1.25fr .85fr; gap: 16px; }
.wallet-profile, .reward-panel, .balance-panel { min-height: 310px; padding: 24px; }
.wallet-profile { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 14px; }
.wallet-orbit { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; box-shadow: 0 0 0 7px rgba(240,189,79,.035); }
.wallet-orbit img { width: 60px; height: 60px; border-radius: 50%; }
.wallet-profile h2 { margin-bottom: 5px; font-size: 1.25rem; }
.wallet-profile p:last-child { color: var(--text-dim); font-size: 10px; }
.account-address, .wallet-profile-actions { grid-column: 1 / -1; }
.wallet-profile-actions { display: grid; gap: 10px; }
.reward-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.reward-values div { padding: 14px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; background: rgba(255,255,255,.02); }
.reward-values span, .reward-values strong { display: block; }
.reward-values span { color: var(--text-dim); font-size: 10px; }
.reward-values strong { margin-top: 7px; font: 650 1.45rem/1.15 ui-monospace, monospace; }
.reward-values small { color: var(--gold); font-size: 9px; }
.balance-panel { display: flex; flex-direction: column; }
.hero-balance { display: block; margin: 32px 0; color: var(--gold-bright); font: 650 clamp(1.7rem, 3vw, 2.5rem)/1 ui-monospace, monospace; }
.hero-balance small { color: var(--gold); font-size: 11px; }
.balance-panel .button { margin-top: auto; }
.balance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.balance-grid article { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.018); }
.balance-grid span, .balance-grid strong { display: block; }
.balance-grid span { color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.balance-grid strong { margin-top: 8px; color: var(--text-soft); font: 600 13px/1.2 ui-monospace, monospace; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }

.coming-soon { max-width: 840px; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; padding: 50px; text-align: center; }
.coming-soon .panel-icon { margin-bottom: 26px; }
.coming-soon .eyebrow { justify-content: center; }
.coming-soon p:not(.eyebrow) { max-width: 600px; color: var(--text-soft); }
.coming-soon .status-tag { margin-top: 18px; }

.app-footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 26px; padding: 26px clamp(20px, 4vw, 60px); border-top: 1px solid var(--border); background: rgba(6,5,3,.72); color: var(--text-dim); font-size: 10px; }
.app-footer div:first-child span, .app-footer div:first-child small { display: block; }
.app-footer div:first-child span { color: var(--gold); font-weight: 800; }
.app-footer > div:nth-child(2) { display: flex; align-items: center; justify-self: end; gap: 8px; }
.app-footer p { max-width: 520px; margin: 0; justify-self: end; text-align: right; }

.mobile-drawer { position: fixed; z-index: 1000; top: 0; bottom: 0; left: 0; width: min(88vw, 390px); overflow-y: auto; padding: max(18px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); border-right: 1px solid var(--border-strong); background: radial-gradient(circle at 100% 0, rgba(240,189,79,.09), transparent 30%), rgba(6,6,4,.985); box-shadow: 30px 0 80px rgba(0,0,0,.65); transform: translateX(-105%); transition: transform 320ms var(--ease); }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer:not(.open) { pointer-events: none; }
.drawer-scrim { position: fixed; z-index: 999; inset: 0; visibility: hidden; background: rgba(0,0,0,.7); opacity: 0; backdrop-filter: blur(3px); transition: opacity 220ms ease, visibility 220ms ease; }
.drawer-scrim.open { visibility: visible; opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.drawer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.drawer-brand strong { color: var(--gold); }
.drawer-connect { width: 100%; margin: 22px 0 10px; }
.drawer-disconnect { width: 100%; margin: 0 0 8px; justify-content: center; }
.drawer-disconnect[hidden] { display: none !important; }
.drawer-network { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 24px; color: var(--text-dim); font-size: 10px; }
.drawer-network span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(91,214,138,.7); }
.drawer-nav { display: grid; gap: 7px; }
.drawer-nav > a, .drawer-group > button { min-height: 52px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 12px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--text-soft); font-size: 14px; font-weight: 650; cursor: pointer; }
.drawer-nav > a > span, .drawer-group > button > span { display: flex; align-items: center; gap: 12px; }
.drawer-nav svg, .drawer-group svg { width: 20px; height: 20px; }
.drawer-nav .chevron { width: 16px; height: 16px; color: var(--gold); transition: transform 200ms var(--ease); }
.drawer-nav > a.active { border-color: var(--border-strong); background: rgba(240,189,79,.08); color: var(--gold-bright); }
.drawer-group.open > button { border-color: var(--border); background: rgba(255,255,255,.018); color: var(--gold-bright); }
.drawer-group.open > button .chevron { transform: rotate(90deg); }
.drawer-group > div { display: none; padding: 6px 0 8px 43px; }
.drawer-group.open > div { display: grid; gap: 3px; }
.drawer-group > div a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-left: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }
.drawer-group > div a.active, .drawer-group > div a:hover { color: var(--gold); }
.drawer-group small { color: var(--text-dim); font-size: 8px; text-transform: uppercase; }
.drawer-foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.drawer-foot span, .drawer-foot small { display: block; }
.drawer-foot span { color: var(--gold); font-weight: 800; }
.drawer-foot small { margin-top: 3px; color: var(--text-dim); font-size: 9px; letter-spacing: .1em; }

.modal { position: fixed; z-index: 1200; inset: 0; visibility: hidden; display: grid; place-items: center; padding: 20px; opacity: 0; transition: visibility 220ms ease, opacity 220ms ease; }
.modal.open { visibility: visible; opacity: 1; }
.modal-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.76); backdrop-filter: blur(7px); }
.modal-card { position: relative; width: min(100%, 560px); max-height: min(88dvh, 850px); overflow-y: auto; padding: 26px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, rgba(240,189,79,.1), transparent 32%), #0e0c08; box-shadow: 0 35px 120px rgba(0,0,0,.7); transform: translateY(16px) scale(.98); transition: transform 300ms var(--ease); }
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.modal-head h2 { margin: 0; font-size: 1.65rem; }
.modal-copy { margin: 20px 0; color: var(--text-soft); font-size: 13px; }
.wallet-options { display: grid; gap: 9px; }
.wallet-options > button { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 15px; background: rgba(255,255,255,.02); color: var(--text); text-align: left; cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.wallet-options > button:hover { border-color: var(--border-strong); background: rgba(240,189,79,.045); }
.wallet-options > button > svg { width: 18px; height: 18px; color: var(--gold); }
.wallet-options strong, .wallet-options small { display: block; }
.wallet-options strong { font-size: 13px; }
.wallet-options small { margin-top: 3px; color: var(--text-dim); font-size: 10px; }
.wallet-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-weight: 900; }
.wallet-logo.fox { background: linear-gradient(135deg, #f6851b, #e2761b); color: white; }
.wallet-logo.wc { background: #3396ff; color: white; }
.security-strip { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border: 1px solid rgba(91,214,138,.15); border-radius: 13px; background: rgba(91,214,138,.035); }
.security-strip svg { width: 22px; height: 22px; color: var(--green); }
.security-strip strong, .security-strip span { display: block; }
.security-strip strong { color: #bceacb; font-size: 11px; }
.security-strip span { color: var(--text-dim); font-size: 9px; }
.transaction-modal { width: min(100%, 520px); }
.transaction-plan { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; margin: 22px 0; padding: 15px; border: 1px solid var(--border); border-radius: 13px; background: rgba(240,189,79,.04); }
.transaction-plan span { font-weight: 750; }
.transaction-plan strong { color: var(--gold); }
.transaction-plan small { grid-column: 1 / -1; color: var(--text-dim); }
.modal-input { display: block; margin: 18px 0; color: var(--text-soft); font-size: 11px; }
.modal-input > div { margin-top: 8px; }
.transaction-preview { margin-bottom: 18px; }
.transaction-preview div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text-dim); font-size: 10px; }
.transaction-preview strong { color: var(--text-soft); text-align: right; }
.quote-warning {
  margin: -4px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(240,189,79,.22);
  border-radius: 12px;
  background: rgba(240,189,79,.06);
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.55;
}
.quote-warning.is-warning { border-color: rgba(255,114,114,.38); background: rgba(255,83,83,.08); color: #ffd0c8; }
.transaction-modal .form-note, .release-modal-card .form-note { margin-top: 14px; }
.modal-rewards { margin: 22px 0; }
.release-modal-card { width: min(100%, 720px); }
.reward-release-status {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid rgba(240,189,79,.2);
  border-radius: 13px;
  background: rgba(240,189,79,.055);
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.55;
}
.reward-release-status.is-live { border-color: rgba(91,214,138,.26); background: rgba(91,214,138,.055); color: #c8efd4; }
.release-choice-list { display: grid; gap: 12px; margin-top: 16px; }
.release-choice-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(240,189,79,.055), rgba(0,0,0,.35));
}
.release-choice-card.is-live { border-color: rgba(240,189,79,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.release-choice-card h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.release-choice-card p { margin: 0; color: var(--text-dim); font-size: 11px; line-height: 1.55; }
.reward-values.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.reward-values.compact > div { padding: 12px; }
.reward-values.compact strong { font-size: 1rem; }
.release-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.release-options legend { grid-column: 1 / -1; }
.release-options input { position: absolute; opacity: 0; pointer-events: none; }
.release-options label > span { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 9px; border: 1px solid var(--border); border-radius: 12px; color: var(--text-soft); text-align: center; cursor: pointer; }
.release-options input:checked + span { border-color: var(--gold); background: rgba(240,189,79,.1); color: var(--gold-bright); }
.release-options strong, .release-options small { display: block; }
.release-options strong { font-size: 11px; }
.release-options small { margin-top: 4px; color: var(--text-dim); font-size: 8px; }

.toast-region { position: fixed; z-index: 1500; right: 20px; bottom: 20px; display: grid; gap: 9px; width: min(calc(100% - 40px), 360px); }
.toast { display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 13px; background: rgba(15,13,9,.96); box-shadow: 0 20px 60px rgba(0,0,0,.45); animation: toast-in 240ms var(--ease) both; }
.toast::before { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold-glow); content: ""; }
.toast.success::before { background: var(--green); }
.toast.error::before { background: var(--red); }
.toast strong, .toast span { display: block; }
.toast strong { font-size: 12px; }
.toast span { margin-top: 3px; color: var(--text-dim); font-size: 10px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

.skeleton { position: relative; overflow: hidden; background: rgba(255,255,255,.035); }
.skeleton::after, .skeleton-card::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); content: ""; transform: translateX(-100%); animation: shimmer 1.5s infinite; }
.document-skeleton { min-height: 124px; border-radius: 13px; }
.skeleton-card { position: relative; overflow: hidden; }
@keyframes shimmer { to { transform: translateX(100%); } }

@media (max-width: 768px) {
  .toast-region,
  .toast-container,
  .notification-container,
  .alert-stack,
  .app-toast-container,
  .Toastify__toast-container {
    top: calc(env(safe-area-inset-top, 0px) + 16px) !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto !important;
    z-index: 999999 !important;
  }
}

@media (max-width: 1260px) {
  .desktop-nav a { padding-inline: 8px; font-size: 11px; }
  .desktop-nav a svg { display: none; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .account-top-grid { grid-template-columns: 1fr 1fr; }
  .balance-panel { grid-column: 1 / -1; min-height: 240px; }
}

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .topbar { justify-content: space-between; }
  .mobile-menu-button { display: grid; }
  .topbar-actions { margin-left: auto; }
  .dashboard-top-grid, .dashboard-chart-grid, .alliance-grid, .team-reward-grid { grid-template-columns: 1fr; }
  .stake-grid, .bond-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-picker-grid { grid-template-columns: repeat(3, 1fr); }
  .alliance-metrics { grid-template-columns: repeat(2, 1fr); }
  .swap-layout { grid-template-columns: 1fr; }
  .swap-side { display: none; }
  .third-party-platforms > div { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header: 68px; --announce: 54px; }
  .launch-announcement {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: var(--announce);
    padding: 7px 12px;
  }
  .launch-announcement div {
    display: grid;
    justify-content: stretch;
    gap: 2px;
    text-align: left;
  }
  .launch-announcement span { font-size: 8px; letter-spacing: .13em; }
  .launch-announcement strong { font-size: 11px; white-space: normal; line-height: 1.2; }
  .launch-announcement small { display: none; }
  .launch-announcement b { min-width: 138px; padding: 8px 9px; font-size: 10px; }
  .topbar { padding: 0 14px; }
  .brand picture, .brand img { width: 42px; height: 42px; }
  .brand span { width: auto; font-size: 13px; }
  .brand small { display: none; }
  .network-pill { display: none; }
  .wallet-button { min-width: 112px; min-height: 42px; padding: 9px 13px; font-size: 11px; }
  .wallet-button svg { display: none; }
  .app-main { width: min(calc(100% - 24px), var(--max)); padding-top: 34px; }
  .view-heading, .view-heading.split { align-items: stretch; flex-direction: column; gap: 20px; margin-bottom: 26px; }
  .view-heading.centered { align-items: center; }
  .heading-actions { justify-content: stretch; }
  .heading-actions .button { flex: 1; }
  h1 { font-size: clamp(2.25rem, 13vw, 4.1rem); }
  .status-banner .status-tag { display: none; }
  .token-input > div { align-items: stretch; flex-direction: column; }
  .token-input.token-picker-open { margin-bottom: 146px; }
  .token-input input { width: 100%; text-align: left; font-size: 1.35rem; }
  .swap-token-select { width: 100%; justify-content: space-between; }
  .token-menu { width: 100%; }
  .swap-token-select select { flex: 1; }
  .documents-panel, .referral-panel { min-height: auto; padding: 20px; }
  .document-list { grid-template-columns: 1fr; }
  .document-item { min-height: 90px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-card { min-height: 160px; padding: 16px; }
  .metric-card .metric-icon { margin-bottom: 20px; }
  .chart-panel, .readiness-panel { min-height: auto; padding: 20px; }
  .line-chart { height: 170px; }
  .chart-legend { flex-direction: column; gap: 6px; }
  .plan-picker-grid { display: flex; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .plan-option { min-width: 170px; scroll-snap-align: start; }
  .calculator-shell { padding: 20px; }
  .duration-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-summary { grid-template-columns: 1fr; }
  .breakdown-head { align-items: flex-start; flex-direction: column; }
  .release-clock { width: 100%; text-align: left; }
  .stake-grid, .bond-grid { grid-template-columns: 1fr; }
  .launch-lock { grid-template-columns: auto 1fr; }
  .launch-lock .status-tag { grid-column: 1 / -1; width: fit-content; }
  .alliance-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .alliance-metrics .metric-card { min-height: 150px; }
  .alliance-level-strip { grid-template-columns: 1fr; }
  .level-card {
    min-height: auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    padding: 20px;
  }
  .level-card > div { flex: 1; min-width: 0; }
  .level-chip { width: 82px; height: 82px; }
  .level-card h2 { font-size: clamp(1.35rem, 7vw, 1.85rem); }
  .mobile-drawer .drawer-connect,
  .mobile-drawer .drawer-disconnect,
  .mobile-drawer [data-wallet-disconnect] {
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    justify-content: center;
    padding: 0 22px;
  }
  .mobile-drawer .drawer-disconnect {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-drawer .drawer-disconnect[hidden] { display: none !important; }
  .team-reward-values { grid-template-columns: 1fr; }
  .account-top-grid, .history-grid { grid-template-columns: 1fr; }
  .balance-panel { grid-column: auto; }
  .balance-grid { grid-template-columns: repeat(2, 1fr); }
  .stake-filter-select { width: 100%; }
  .app-footer { grid-template-columns: 1fr; text-align: center; }
  .app-footer > div:nth-child(2) { justify-content: center; }
  .app-footer p { margin-inline: auto; text-align: center; }
  .release-options { grid-template-columns: repeat(2, 1fr); }
  .release-options label:last-child { grid-column: 1 / -1; }
  .reward-values.compact { grid-template-columns: 1fr; }
  .modal { align-items: end; padding: 0; }
  .modal-card { width: 100%; max-height: 90dvh; overflow-y: auto; border-radius: 25px 25px 0 0; padding: 22px 18px max(24px, env(safe-area-inset-bottom)); transform: translateY(100%); }
  .modal.open .modal-card { transform: translateY(0); }
  .toast-region,
  .toast-container,
  .notification-container,
  .alert-stack,
  .app-toast-container,
  .Toastify__toast-container {
    top: calc(env(safe-area-inset-top, 0px) + 16px) !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto !important;
    z-index: 999999 !important;
  }
}

@media (max-width: 430px) {
  :root { --announce: 58px; }
  .launch-announcement { gap: 8px; padding-inline: 10px; }
  .launch-announcement strong { font-size: 10px; }
  .launch-announcement b { min-width: 124px; font-size: 9px; letter-spacing: .02em; }
  .topbar-actions { gap: 6px; }
  .wallet-button { min-width: 102px; padding-inline: 10px; }
  .brand { gap: 7px; }
  .brand span { font-size: 12px; }
  .metric-card > strong { font-size: 1.1rem; }
  .mini-stats { grid-template-columns: 1fr; }
  .panel-title-row { align-items: flex-start; }
  .secure-badge { display: none; }
  .stake-card-body { gap: 8px; }
  .stake-card-body div { min-width: 0; flex: 1; }
  .pager { align-items: stretch; flex-direction: column; }
  .pager span { min-width: 0; order: -1; }
  .alliance-metrics { grid-template-columns: 1fr 1fr; }
  .level-card { align-items: center; flex-direction: row; }
  .level-chip { width: 82px; height: 82px; }
  .account-top-grid .panel { padding: 20px; }
  .reward-values { grid-template-columns: 1fr; }
}

.table-action { min-height: 44px; padding: 11px 16px; font-size: .82rem; margin: 0; }

#myStakesPanel .responsive-table { overflow: visible; border: 0; border-radius: 0; }
#myStakesPanel table { display: block; width: 100%; min-width: 0; }
#myStakesPanel tbody, #myStakesPanel tr, #myStakesPanel td { display: block; width: 100%; max-width: 100%; }
#myStakesPanel td { padding: 0; border: 0; }
#myStakesPanel thead { display: none; }

.position-card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; width: 100%; max-width: 100%; }

.position-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(240, 189, 79, .3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 227, 155, .08), transparent 30%),
    linear-gradient(145deg, rgba(30, 25, 16, .92), rgba(8, 7, 5, .9));
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 60px rgba(0,0,0,.26), 0 0 42px rgba(240,189,79,.035);
}

.position-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent, rgba(255,227,155,.05), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-70%);
}

.position-card > * { position: relative; z-index: 1; }

.position-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(240,189,79,.12);
}

.position-card-head > div { min-width: 0; }
.position-card-head > div > span,
.position-card-grid-inner span {
  display: block;
  color: var(--text-dim);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.position-card-head strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.position-card .status-tag {
  flex: 0 0 auto;
  border-color: rgba(240,189,79,.32);
  background: rgba(240,189,79,.07);
  color: var(--gold-bright);
}

.position-card-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.position-card-grid-inner div {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 17px;
  background: rgba(0,0,0,.2);
  padding: 14px 15px;
}

.position-card-grid-inner .position-field-accent {
  border-color: rgba(240,189,79,.2);
  background: rgba(240,189,79,.045);
}

.position-card-grid-inner strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: .94rem;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.position-card-grid-inner small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.position-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(240,189,79,.11);
}

.position-note { flex: 1 1 auto; margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.position-card-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

@media (max-width: 720px) {
  #myStakesPanel .data-table-panel { padding: 18px; }
  #myStakesPanel .table-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  #myStakesPanel .table-head .button { width: 100%; }
  .history-card-grid { grid-template-columns: 1fr; }
  .position-card { border-radius: 22px; }
  .position-card-grid-inner { grid-template-columns: 1fr; }
  .position-card-foot { align-items: stretch; flex-direction: column; }
  .position-card-actions { width: 100%; justify-content: stretch; }
  .position-card-actions .button, .position-card-actions .status-tag { width: 100%; }
}

@media (max-width: 430px) {
  .position-card { padding: 16px; border-radius: 19px; }
  .position-card-head { flex-direction: column; }
  .position-card .status-tag { width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  [data-wallet-open].is-loading [data-wallet-label] { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .matrix-background { display: none; }
}