:root {
  color-scheme: dark;
  --bg: #0d1012;
  --bg-2: #121619;
  --panel: #181d20;
  --panel-2: #1f2428;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f4ed;
  --muted: #a7adb2;
  --soft: #d6d2c7;
  --gold: #f1c75b;
  --red: #e8474f;
  --cyan: #50c8f2;
  --jade: #48d597;
  --violet: #8d7cf7;
  --ink: #080a0b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(232, 71, 79, 0.13), transparent 28%),
    linear-gradient(315deg, rgba(72, 213, 151, 0.12), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px),
    var(--bg);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 220px),
    radial-gradient(circle at 50% -20%, rgba(241, 199, 91, 0.18), transparent 34%),
    var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), var(--shadow);
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(13, 16, 18, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.icon-button,
.nav-item,
.pill-button,
.action-button,
.ghost-button,
.tab-chip,
.filter-chip,
.sheet-close {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), #ffe7a6 45%, #c88a25);
  color: var(--ink);
  clip-path: polygon(10% 0, 18% 7%, 26% 0, 34% 7%, 42% 0, 50% 7%, 58% 0, 66% 7%, 74% 0, 82% 7%, 90% 0, 100% 10%, 93% 18%, 100% 26%, 93% 34%, 100% 42%, 93% 50%, 100% 58%, 93% 66%, 100% 74%, 93% 82%, 100% 90%, 90% 100%, 82% 93%, 74% 100%, 66% 93%, 58% 100%, 50% 93%, 42% 100%, 34% 93%, 26% 100%, 18% 93%, 10% 100%, 0 90%, 7% 82%, 0 74%, 7% 66%, 0 58%, 7% 50%, 0 42%, 7% 34%, 0 26%, 7% 18%, 0 10%);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-mark svg path:first-child,
.stamp-sigil path:first-child {
  fill: currentColor;
  stroke: none;
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.screen {
  min-height: calc(100dvh - 80px);
  padding: 16px 14px calc(94px + env(safe-area-inset-bottom));
}

.view {
  display: grid;
  gap: 14px;
  animation: rise 180ms ease-out;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-wallet {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(241, 199, 91, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(241, 199, 91, 0.18), rgba(232, 71, 79, 0.12) 42%, rgba(80, 200, 242, 0.08)),
    #171a1d;
}

.hero-wallet::after {
  content: "";
  position: absolute;
  inset: auto -24px -52px auto;
  width: 170px;
  height: 170px;
  background:
    linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.16) 45% 55%, transparent 55%),
    linear-gradient(135deg, rgba(241, 199, 91, 0.42), rgba(232, 71, 79, 0.18));
  clip-path: polygon(11% 0, 19% 7%, 27% 0, 35% 7%, 43% 0, 51% 7%, 59% 0, 67% 7%, 75% 0, 83% 7%, 91% 0, 100% 11%, 93% 19%, 100% 27%, 93% 35%, 100% 43%, 93% 51%, 100% 59%, 93% 67%, 100% 75%, 93% 83%, 100% 91%, 89% 100%, 81% 93%, 73% 100%, 65% 93%, 57% 100%, 49% 93%, 41% 100%, 33% 93%, 25% 100%, 17% 93%, 9% 100%, 0 89%, 7% 81%, 0 73%, 7% 65%, 0 57%, 7% 49%, 0 41%, 7% 33%, 0 25%, 7% 17%, 0 9%);
  opacity: 0.58;
  transform: rotate(-12deg);
}

.hero-top,
.section-head,
.market-row,
.rank-row,
.drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge,
.rarity,
.status-chip,
.delta,
.supply-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge {
  border-color: rgba(241, 199, 91, 0.34);
  background: rgba(241, 199, 91, 0.12);
  color: #ffe3a3;
}

.status-chip {
  background: rgba(72, 213, 151, 0.1);
  color: #a6f3cf;
  border-color: rgba(72, 213, 151, 0.28);
}

.balance {
  margin: 18px 0 4px;
  position: relative;
  z-index: 1;
}

.balance span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.balance strong {
  display: block;
  font-size: 43px;
  line-height: 0.95;
  letter-spacing: 0;
}

.balance small {
  color: var(--gold);
  font-size: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.metric {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.metric span,
.muted,
.kicker {
  color: var(--muted);
}

.metric span {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.action-button {
  min-height: 74px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  line-height: 1.1;
}

.action-button svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.section {
  display: grid;
  gap: 10px;
}

.section-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.15;
}

.section-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ticker {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--soft);
  font-size: 12px;
  white-space: nowrap;
}

.delta.up {
  background: rgba(72, 213, 151, 0.12);
  color: #a6f3cf;
}

.delta.hot {
  background: rgba(232, 71, 79, 0.14);
  color: #ffc1c5;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.stamp-row,
.market-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 42%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.stamp-row::-webkit-scrollbar,
.market-scroll::-webkit-scrollbar,
.filter-row::-webkit-scrollbar {
  display: none;
}

.stamp-card,
.listing-card,
.drop-card,
.leaderboard,
.quest-card,
.profile-card,
.stat-card,
.red-packet,
.empty-state,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stamp-card,
.listing-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  text-align: left;
}

.stamp-card {
  border-style: solid;
}

.stamp-card.is-locked {
  opacity: 0.5;
}

.stamp-art {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #1b2024;
  clip-path: polygon(8% 0, 14% 5%, 20% 0, 26% 5%, 32% 0, 38% 5%, 44% 0, 50% 5%, 56% 0, 62% 5%, 68% 0, 74% 5%, 80% 0, 86% 5%, 92% 0, 100% 8%, 95% 14%, 100% 20%, 95% 26%, 100% 32%, 95% 38%, 100% 44%, 95% 50%, 100% 56%, 95% 62%, 100% 68%, 95% 74%, 100% 80%, 95% 86%, 100% 92%, 92% 100%, 86% 95%, 80% 100%, 74% 95%, 68% 100%, 62% 95%, 56% 100%, 50% 95%, 44% 100%, 38% 95%, 32% 100%, 26% 95%, 20% 100%, 14% 95%, 8% 100%, 0 92%, 5% 86%, 0 80%, 5% 74%, 0 68%, 5% 62%, 0 56%, 5% 50%, 0 44%, 5% 38%, 0 32%, 5% 26%, 0 20%, 5% 14%, 0 8%);
}

.stamp-art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 4px;
}

.stamp-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, 0.24) 34%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  opacity: 0.52;
}

.palette-gold {
  background:
    linear-gradient(145deg, #2b1c12, #f2c75d 48%, #fff0b8 50%, #683a1c);
}

.palette-red {
  background:
    linear-gradient(145deg, #300f18, #e8474f 44%, #ffc4b6 52%, #591a24);
}

.palette-cyan {
  background:
    linear-gradient(145deg, #0b2532, #50c8f2 45%, #d2f6ff 52%, #102731);
}

.palette-jade {
  background:
    linear-gradient(145deg, #0e2a20, #48d597 44%, #d7ffe9 52%, #113d31);
}

.palette-violet {
  background:
    linear-gradient(145deg, #1c1538, #8d7cf7 44%, #e3ddff 52%, #251846);
}

.palette-ink {
  background:
    linear-gradient(145deg, #111, #333 40%, #ece8dc 50%, #121212 61%);
}

.stamp-sigil {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  color: rgba(0, 0, 0, 0.72);
}

.stamp-code {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 17px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: rgba(0, 0, 0, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stamp-meta {
  min-width: 0;
}

.stamp-title,
.listing-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.18;
}

.stamp-subtitle,
.listing-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.rarity {
  width: fit-content;
  margin-top: 8px;
  font-size: 10px;
}

.rarity.mythic {
  border-color: rgba(241, 199, 91, 0.42);
  color: #ffe3a3;
}

.rarity.legendary {
  border-color: rgba(232, 71, 79, 0.36);
  color: #ffc1c5;
}

.rarity.epic {
  border-color: rgba(141, 124, 247, 0.38);
  color: #d8d0ff;
}

.rarity.rare {
  border-color: rgba(80, 200, 242, 0.36);
  color: #c4efff;
}

.rarity.common {
  border-color: rgba(214, 210, 199, 0.24);
  color: #e3dfd5;
}

.red-packet {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(232, 71, 79, 0.88), rgba(112, 20, 34, 0.96)),
    var(--panel);
  border-color: rgba(255, 216, 120, 0.24);
}

.red-packet::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 225, 164, 0.55);
  transform: rotate(45deg);
}

.packet-amount {
  display: flex;
  align-items: end;
  gap: 8px;
}

.packet-amount strong {
  font-size: 34px;
  line-height: 0.9;
}

.packet-amount span {
  color: #ffe3a3;
  font-size: 13px;
}

.pill-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1;
}

.pill-button {
  background: var(--text);
  color: var(--ink);
  font-weight: 800;
}

.pill-button.gold {
  background: linear-gradient(135deg, #ffe7a6, var(--gold));
  color: #221507;
}

.pill-button.red {
  background: linear-gradient(135deg, #ff8d87, var(--red));
  color: #2c0509;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

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

.stat-card,
.quest-card,
.profile-card {
  padding: 12px;
}

.stat-card span,
.quest-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.stat-card strong,
.quest-card strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  line-height: 1.05;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-chip,
.tab-chip {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  font-size: 12px;
}

.filter-chip.is-active,
.tab-chip.is-active {
  border-color: rgba(241, 199, 91, 0.42);
  background: rgba(241, 199, 91, 0.13);
  color: #ffe3a3;
}

.listing-card {
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
}

.listing-card .stamp-art {
  min-height: 74px;
}

.listing-card .stamp-art::before {
  inset: 6px;
}

.listing-card .stamp-sigil {
  width: 34px;
  height: 34px;
}

.listing-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.listing-price strong {
  font-size: 17px;
}

.market-list {
  display: grid;
  gap: 10px;
}

.drop-list {
  display: grid;
  gap: 10px;
}

.drop-card {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--panel);
}

.drop-cover {
  min-height: 118px;
  padding: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, rgba(80, 200, 242, 0.3), rgba(232, 71, 79, 0.24));
}

.drop-card:nth-child(2) .drop-cover {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, rgba(72, 213, 151, 0.27), rgba(241, 199, 91, 0.24));
}

.drop-card:nth-child(3) .drop-cover {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, rgba(141, 124, 247, 0.31), rgba(80, 200, 242, 0.2));
}

.drop-body {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress span {
  display: block;
  height: 100%;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.leaderboard {
  overflow: hidden;
}

.rank-row {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rank-place {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.rank-name {
  min-width: 0;
}

.rank-name strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.rank-name span {
  color: var(--muted);
  font-size: 12px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  color: #160806;
  font-weight: 900;
}

.profile-card strong {
  display: block;
  font-size: 16px;
}

.profile-card span {
  color: var(--muted);
  font-size: 12px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: rgba(13, 16, 18, 0.94);
  backdrop-filter: blur(18px);
}

.nav-item {
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 6px 2px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.nav-item svg {
  width: 21px;
  height: 21px;
}

.nav-item.is-active {
  background: rgba(241, 199, 91, 0.12);
  color: #ffe3a3;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 18px 10px calc(18px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.58);
}

.sheet.is-open {
  display: flex;
}

.sheet-panel {
  width: min(100%, 460px);
  max-height: min(82dvh, 720px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #111518;
  box-shadow: var(--shadow);
}

.sheet-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 21, 24, 0.94);
  backdrop-filter: blur(12px);
}

.sheet-title {
  margin: 0;
  font-size: 17px;
}

.sheet-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.sheet-body {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.detail-panel {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-stats div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.detail-stats strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 80;
  width: min(440px, calc(100% - 28px));
  padding: 12px 14px;
  transform: translate(-50%, 20px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(17, 21, 24, 0.96);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.empty-state {
  padding: 18px;
  text-align: center;
  color: var(--muted);
}

.fineprint {
  color: #8f969c;
  font-size: 11px;
  line-height: 1.45;
}

@media (min-width: 760px) {
  body {
    padding: 22px 0;
  }

  .app-shell {
    min-height: calc(100dvh - 44px);
    border-radius: 12px;
  }

  .bottom-nav {
    bottom: 22px;
    border-radius: 0 0 12px 12px;
  }
}

@media (max-width: 360px) {
  .balance strong {
    font-size: 37px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .detail-stats {
    grid-template-columns: 1fr;
  }
}

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