/* =====================================================================
   MEME ETF — launch console (dashboard)
   shares the landing design language; tuned for a dense app surface
   ===================================================================== */

:root {
  color-scheme: dark;

  --bg: #0a0a0b;
  --bg-deep: #060608;
  --surface: #111114;
  --surface-2: #151518;
  --surface-3: #1c1c21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-soft: #d4d4d8;
  --muted: #8a8a93;
  --muted-2: #5a5a63;
  --accent: #b6ff27;
  --accent-bright: #c9ff5c;
  --accent-dim: rgba(182, 255, 39, 0.12);
  --accent-line: rgba(182, 255, 39, 0.4);
  --accent-glow: rgba(182, 255, 39, 0.35);
  --red: #ff5a52;

  --sans: var(--font-body), "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: var(--font-display), "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: var(--font-mono), "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 30px 90px rgba(0, 0, 0, 0.5);

  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 96px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.2;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* shared primitives */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.2s ease-out infinite;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name {
  font-size: 1rem;
}

.brand-sigil {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 18px var(--accent-glow);
}

/* =====================================================================
   login gate
   ===================================================================== */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(182, 255, 39, 0.08), transparent 70%),
    var(--bg-deep);
  opacity: 1;
  visibility: visible;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.gate[data-open="false"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(20px);
  opacity: 0.5;
  pointer-events: none;
}

.gate-card {
  position: relative;
  width: min(440px, 100%);
  padding: 38px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.gate-card .brand {
  margin-bottom: 28px;
}

.gate-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.gate-lead {
  margin: 16px 0 24px;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.gate-form {
  display: grid;
  gap: 12px;
}

.gate-form label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.gate-row .button {
  min-height: 50px;
}

.gate-error {
  min-height: 18px;
  margin: 4px 0 0;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.gate-back {
  display: inline-block;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  transition: color 160ms ease;
}

.gate-back:hover {
  color: var(--accent);
}

/* =====================================================================
   app header
   ===================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 0 max(18px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(18px);
}

.app-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.app-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 160ms ease, background 160ms ease;
}

.app-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.treasury-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.treasury-pill:hover {
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

/* =====================================================================
   app shell + hero
   ===================================================================== */
.app-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0 90px;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 32px;
}

.app-hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.app-hero-copy > p:not(.eyebrow):not(.treasury-note) {
  width: min(620px, 100%);
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.treasury-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: min(620px, 100%);
  margin: 20px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.5;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.status-grid div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.status-grid div:nth-child(2n) {
  border-right: 0;
}

.status-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.status-grid span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-grid strong {
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =====================================================================
   flow grid + panels
   ===================================================================== */
.flow-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.08fr) minmax(340px, 0.88fr);
  gap: 16px;
  align-items: start;
}

.launch-panel { grid-column: 1; grid-row: 1; }
.discover-panel { grid-column: 2; grid-row: 1 / span 2; min-height: 760px; }
.basket-panel { grid-column: 3; grid-row: 1; }
.wallets-panel { grid-column: 1; grid-row: 2; }
.execute-panel { grid-column: 3; grid-row: 2; }

.panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
}

.panel-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
}

.panel-head strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.panel-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.panel-sub {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =====================================================================
   forms
   ===================================================================== */
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

textarea {
  padding-top: 11px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

input[type="file"] {
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
}

input[type="range"] {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  accent-color: var(--accent);
}

.field-pair,
.search-row,
.ca-row,
.wallet-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.search-row,
.ca-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.wallet-form {
  grid-template-columns: minmax(96px, 0.6fr) minmax(0, 1fr) auto;
}

/* =====================================================================
   buttons (chips / mini / launch)
   ===================================================================== */
.toolbar,
.basket-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.mini-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.chip:hover,
.mini-button:hover,
.chip:focus-visible,
.mini-button:focus-visible {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-dim);
  outline: none;
}

.mini-button.quiet {
  border-color: var(--border);
  color: var(--muted);
}

.chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.signer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.signer-info strong {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
}

.launch-button {
  min-height: 52px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px var(--accent-glow);
  transition: background 160ms ease, transform 160ms ease;
}

.launch-button:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

/* =====================================================================
   coin feed
   ===================================================================== */
.coin-feed,
.selected-feed,
.wallet-list {
  display: grid;
  gap: 10px;
}

.coin-feed {
  max-height: 480px;
  overflow: auto;
  padding-right: 4px;
}

.coin-card,
.basket-row {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--surface-2);
  transition: border-color 160ms ease, background 160ms ease;
}

.coin-card.is-selected {
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

.coin-card-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.token-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.coin-card strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
}

.coin-card strong small,
.basket-row small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
}

.coin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.coin-card-footer,
.token-links,
.log-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.coin-card-footer {
  justify-content: space-between;
}

.external-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 11px;
  background: var(--bg-deep);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease;
}

.external-link:hover,
.external-link:focus-visible {
  border-color: var(--border-strong);
  color: var(--text);
}

.pump-link {
  border-color: var(--accent-line);
  color: var(--accent);
}

.pump-link:hover {
  background: var(--accent-dim);
}

.source-pill {
  justify-self: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =====================================================================
   basket
   ===================================================================== */
.basket-summary {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.basket-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.basket-summary strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.9rem;
}

.meter {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.meter i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width 240ms ease;
}

.meter i.is-over {
  background: var(--red);
}

.basket-row strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
}

.basket-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 30px;
  gap: 10px;
  align-items: center;
}

.basket-row-head small {
  display: block;
  margin-top: 3px;
}

.allocation-input {
  text-align: right;
  font-family: var(--mono);
}

.remove-button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.remove-button:hover {
  border-color: rgba(255, 90, 82, 0.55);
  color: var(--red);
}

/* =====================================================================
   tracked wallets
   ===================================================================== */
.wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--surface-2);
}

.wallet-row strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* =====================================================================
   execute / manifest / log
   ===================================================================== */
.manifest-box {
  display: grid;
  gap: 8px;
}

.manifest-box span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.manifest-box pre {
  min-height: 220px;
  max-height: 320px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--bg-deep);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.launch-log {
  min-height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
}

.log-links {
  margin-top: 10px;
}

.log-muted { color: var(--muted); }
.log-success { color: var(--accent); }
.log-error { color: var(--red); }

.empty-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-align: center;
}

.empty-state.compact {
  min-height: 108px;
}

/* =====================================================================
   responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .app-header,
  .app-hero,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .app-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .launch-panel,
  .discover-panel,
  .basket-panel,
  .wallets-panel,
  .execute-panel {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .status-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .status-grid div {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 24px, 1280px);
    padding-top: 28px;
  }

  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-grid div {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .status-grid div:nth-child(2n) {
    border-right: 0;
  }

  .field-pair,
  .search-row,
  .ca-row,
  .wallet-form {
    grid-template-columns: 1fr;
  }

  .coin-card-main {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .coin-card-main .mini-button {
    grid-column: 1 / -1;
  }

  .basket-row-head {
    grid-template-columns: minmax(0, 1fr) 58px 30px;
  }

  .coin-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .token-links {
    width: 100%;
  }

  .token-links .external-link {
    flex: 1 1 auto;
    justify-content: center;
  }

  .wallet-row {
    grid-template-columns: 1fr;
  }

  .wallet-row .external-link {
    justify-content: center;
  }

  .signer-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
