/* ── Change 3: Holdings card grid ── */
.holding-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.holding-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-glass);
  backdrop-filter: blur(14px);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.holding-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 4px 20px rgba(52,232,255,0.08);
}
.holding-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.holding-card-change {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.holding-card-code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.holding-card-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.holding-card-meta {
  font-size: 10px;
  color: var(--text-faint);
  line-height: 1.4;
}

.quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.quote-symbol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.quote-price {
  font-size: 30px;
}

.quote-meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.quote-stats {
  display: grid;
  min-width: 116px;
  gap: 5px;
}

.quote-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 10px;
}

.quote-stat strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.trade-chart {
  position: relative;
  height: 226px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(4, 8, 18, 0.6);
}

.trade-chart svg {
  width: 100%;
  height: 100%;
}

/* Chart glow overlay */
.trade-chart::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(4, 8, 18, 0.5) 0%, transparent 100%);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.chart-axis {
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  pointer-events: none;
}

.order-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(52, 232, 255, 0.05),
    0 16px 48px rgba(0, 0, 0, 0.44);
}

.order-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.order-panel-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.side-switch {
  display: grid;
  width: 152px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.side-button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.side-button[data-side="buy"].is-active {
  background: rgba(74, 222, 128, 0.14);
  color: var(--positive);
  box-shadow: inset 0 1px 0 rgba(74,222,128,0.12), 0 0 12px rgba(74,222,128,0.14);
}

.side-button[data-side="sell"].is-active {
  background: rgba(248, 113, 113, 0.14);
  color: var(--danger);
  box-shadow: inset 0 1px 0 rgba(248,113,113,0.12), 0 0 12px rgba(248,113,113,0.14);
}

.field-group + .field-group {
  margin-top: 14px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.field-label {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.field-balance {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.field-wrap {
  position: relative;
}

.field-wrap.is-disabled {
  opacity: 0.68;
}

.field-wrap.is-disabled .field-input {
  cursor: not-allowed;
}

.field-input,
.field-select {
  padding: 10px 78px 10px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.field-select {
  padding-right: 14px;
  appearance: none;
}

.field-suffix {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  transform: translateY(-50%);
  pointer-events: none;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.range-input {
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, var(--positive) 0 var(--range-progress, 25%), var(--panel-pressed) var(--range-progress, 25%) 100%);
}

.range-input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 4px solid var(--panel);
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.range-value {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
}

.order-summary {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
  font-size: 11px;
}

.summary-row strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.primary-button {
  width: 100%;
  border: 1px solid var(--brand-dim);
  background: linear-gradient(160deg, rgba(52, 232, 255, 0.22) 0%, rgba(14, 165, 197, 0.14) 100%);
  color: var(--brand);
  box-shadow:
    inset 0 1px 0 rgba(52, 232, 255, 0.16),
    0 4px 20px rgba(52, 232, 255, 0.12);
  text-shadow: 0 0 12px rgba(52, 232, 255, 0.4);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: rgba(10, 18, 32, 0.72);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.danger-button {
  width: 100%;
  border: 1px solid transparent;
  background: var(--danger);
  color: oklch(13% 0.02 25);
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.risk-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.65;
}

.risk-note .icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--warning);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.book-column h3 {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.book-row {
  position: relative;
  display: grid;
  min-height: 24px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.book-row span:last-child {
  text-align: right;
}

.book-fill {
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 0;
  z-index: 0;
  width: var(--depth, 40%);
  background: var(--positive-soft);
}

.book-column.sell .book-fill {
  left: 0;
  background: var(--danger-soft);
}

.book-row > span:not(.book-fill) {
  position: relative;
  z-index: 1;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--line);
}

.metric-cell {
  min-width: 0;
  padding: 12px 10px;
  background: var(--panel);
}

.metric-cell span {
  display: block;
  overflow: hidden;
  color: var(--text-faint);
  font-size: 10px;
  text-overflow: clip;
  white-space: nowrap;
}

.metric-cell strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  text-overflow: clip;
  white-space: nowrap;
}

.network-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.network-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.network-name h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  padding: 4px 9px;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--positive-soft);
  color: var(--positive);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.qr-placeholder {
  display: grid;
  width: 164px;
  height: 164px;
  margin: 22px auto;
  padding: 13px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--text);
  color: var(--canvas);
}

.qr-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 3px;
}

.qr-grid i {
  background: currentColor;
}

.qr-grid i:nth-child(3n),
.qr-grid i:nth-child(5n + 1),
.qr-grid i:nth-child(7n + 2) {
  opacity: 0;
}

.address-box {
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.address-value {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}

.address-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.copy-button {
  min-width: 96px;
}

.notice {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.65;
}

.notice .icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--warning);
}

.asset-hero {
  padding-top: 26px;
}

.asset-total {
  font-size: 34px;
}

.allocation-bar {
  display: flex;
  height: 8px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--panel-raised);
}

.allocation-bar span:nth-child(1) {
  width: 52%;
  background: var(--positive);
}

.allocation-bar span:nth-child(2) {
  width: 31%;
  background: var(--warning);
}

.allocation-bar span:nth-child(3) {
  width: 17%;
  background: var(--danger);
}

.allocation-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.legend-item {
  min-width: 0;
  color: var(--text-soft);
  font-size: 10px;
}

.legend-item strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 550;
  text-overflow: clip;
  white-space: nowrap;
}

.holding-row {
  display: grid;
  min-height: 72px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.coin-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-raised);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.holding-value {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.holding-value span {
  display: block;
  color: var(--text-faint);
  font-size: 10px;
}

.activity-row {
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.activity-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel);
}

.activity-icon .icon {
  width: 17px;
  height: 17px;
}

.activity-copy strong,
.setting-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}

.activity-copy span,
.setting-copy span {
  display: block;
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 1.5;
}

.activity-amount {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.setting-row {
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.setting-row .icon {
  width: 17px;
  height: 17px;
  color: var(--text-faint);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0;
  background: oklch(4% 0.008 240 / 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out);
}

.sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  width: min(100%, 430px);
  max-height: 84dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--panel-raised);
  transform: translateY(28px);
  transition: transform 220ms var(--ease-out);
}

.sheet-backdrop.is-open .sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
}

.sheet h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.sheet-copy {
  margin: 8px 0 18px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.sheet-actions {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 10px;
  margin-top: 20px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 40px), 390px);
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel-raised);
  color: var(--text);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition-property: transform, opacity;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hidden {
  display: none !important;
}

.empty-state {
  padding: 44px 22px;
  text-align: center;
}

.empty-state .icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--text-faint);
}

.empty-state h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.empty-state p {
  max-width: 30ch;
  margin: 8px auto 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.market-mode-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.market-result-status {
  flex: 0 0 auto;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.markets-page .market-table-head {
  margin-top: 0;
}

.empty-state .compact-button {
  width: auto;
  min-width: 112px;
  margin: 18px auto 0;
}

.trade-chart figcaption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: var(--panel-raised);
  box-shadow: 0 4px 16px oklch(4% 0.008 240 / 0.38);
}

.field-error {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.6;
}

.field-input[aria-invalid="true"] {
  border-color: var(--danger);
}

.launcher {
  min-height: 100dvh;
  padding: 0 0 30px;
  background: var(--canvas);
}

.launcher-visual {
  position: relative;
  height: 332px;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.launcher-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to bottom, transparent, var(--canvas));
  content: "";
}

.launcher-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
  opacity: 0.94;
  outline: 1px solid oklch(100% 0 0 / 0.08);
  outline-offset: -1px;
}

.launcher-visual figcaption {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top));
  left: 20px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  background: oklch(9% 0.012 240 / 0.82);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launcher-intro {
  position: relative;
  z-index: 2;
  margin-top: -78px;
  padding: 0 20px;
}

.launcher-intro .brand-lockup {
  margin-bottom: 26px;
}

.launcher-kicker {
  margin: 0 0 7px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.launcher h1 {
  margin: 0;
  font-family: var(--font-display), "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 36px;
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.launcher-intro > p:not(.launcher-kicker) {
  margin: 13px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  text-wrap: pretty;
}

.launcher-primary-actions {
  display: flex;
  margin-top: 22px;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.launcher-primary-actions .primary-button {
  width: auto;
  min-width: 148px;
  padding-inline: 20px;
}

.launcher-primary-actions > span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.launcher-directory {
  padding: 52px 20px 0;
}

.launcher-directory-index {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.launcher-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.launcher-link {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 14px 38px 14px 0;
  justify-content: center;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.launcher-link::after {
  position: absolute;
  right: 2px;
  top: 50%;
  color: var(--brand);
  content: "↗";
  font-family: var(--font-mono);
  font-size: 13px;
  transform: translateY(-50%);
  transition: transform 180ms var(--ease-out);
}

.launcher-link strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.launcher-link span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}

.legal-links {
  display: flex;
  gap: 18px;
  margin: 26px 20px 0;
  color: var(--text-soft);
  font-size: 11px;
}

.legal-links a,
.legal-links button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.legal-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

[data-favorite-toggle][aria-pressed="true"] {
  color: var(--warning);
}

[data-favorite-toggle][aria-pressed="true"] path {
  fill: currentColor;
}

@media (hover: hover) {
  .icon-button:hover,
  .back-button:hover {
    border-color: var(--brand-dim);
    color: var(--brand);
    box-shadow: 0 0 14px var(--brand-glow-sm);
  }

  .quick-action:not(.primary):hover {
    border-color: var(--line-strong);
    background: var(--panel-raised);
    color: var(--text);
  }

  .quick-action.primary:hover {
    background: linear-gradient(160deg, rgba(52,232,255,0.26) 0%, rgba(14,165,197,0.16) 100%);
    box-shadow: inset 0 1px 0 rgba(52,232,255,0.20), 0 6px 28px rgba(52,232,255,0.22);
  }

  .secondary-button:hover {
    border-color: var(--line-strong);
    background: var(--panel-pressed);
    color: var(--text);
  }

  .filter-chip:hover,
  .time-chip:hover,
  .network-chip:hover,
  .leverage-chip:hover {
    border-color: var(--line-strong);
    background: var(--panel-raised);
    color: var(--text);
  }

  .primary-button:hover {
    box-shadow: 0 0 24px var(--brand-glow);
    filter: brightness(1.08);
  }

  .nav-item:hover {
    color: var(--text-soft);
  }

  .text-link:hover {
    color: var(--brand);
  }

  .launcher-link:hover {
    color: var(--text);
  }

  .launcher-link:hover::after {
    transform: translate(3px, -50%);
  }

  .market-visual:hover img {
    opacity: 0.92;
    transform: scale(1.025);
  }

  .product-tile:hover {
    border-color: rgba(52,232,255,0.18);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 0 0 1px rgba(52,232,255,0.08),
      0 8px 32px rgba(0,0,0,0.36);
  }

  .market-row:hover {
    background: rgba(52, 232, 255, 0.03);
  }
}

@media (max-width: 370px) {
  .app-main {
    padding-inline: 16px;
  }

  .topbar {
    padding-inline: 16px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    gap: 7px;
  }

  .quick-action {
    min-height: 68px;
  }

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

  .change-stack {
    display: none;
  }

  .quote-head {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-stat {
    flex-direction: column;
    gap: 2px;
  }

  .launcher h1 {
    font-size: 33px;
  }
}

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