:root {
  color-scheme: dark;
  --bg: #1a1028;
  --bg-2: #241535;
  --surface: #2d1f42;
  --panel: rgba(36, 22, 56, 0.92);
  --panel-solid: #2a1a40;
  --panel-2: rgba(232, 200, 245, 0.06);
  --ink: #f8f4ff;
  --ink-2: #e8d4f8;
  --muted: #c4a8dc;
  --faint: #9a7fb8;
  --line: rgba(232, 200, 245, 0.22);
  --line-2: rgba(232, 200, 245, 0.1);
  --accent: #6eeb5a;
  --accent-2: #ff5cad;
  --accent-ink: #1a1028;
  --cyan: #b8f0a8;
  --pink: #e8c8f5;
  --purple: #7c3fa8;
  --up: #6eeb5a;
  --down: #ff5cad;
  --r-common: #9a7fb8;
  --r-rare: #b8f0a8;
  --r-epic: #ff5cad;
  --r-legend: #f5d76e;
  --r-mythic: #ff7eb3;
  --glow: rgba(110, 235, 90, 0.35);
  --pixel-border: #1a1028;
  --blur: 40px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --maxw: 1240px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --pixel: "Press Start 2P", "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pixel-shadow: 3px 3px 0 var(--pixel-border);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
html { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; }

body {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  image-rendering: pixelated;
}

a, button { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
img, canvas { display: block; max-width: 100%; }

.app {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(232, 200, 245, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 200, 245, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.85;
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.glow.g1 { width: 520px; height: 520px; background: #6eeb5a; opacity: 0.12; top: -160px; right: 6%; }
.glow.g2 { width: 400px; height: 400px; background: #ff5cad; opacity: 0.1; bottom: 8%; left: -40px; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 20px;
  border-bottom: 3px solid var(--pixel-border);
  background: rgba(26, 16, 40, 0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.topbar-right { justify-content: flex-end; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 3px solid var(--pixel-border);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pink);
  box-shadow: var(--pixel-shadow);
  image-rendering: pixelated;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.brand-copy strong {
  display: block;
  font: 700 11px/1.4 var(--pixel);
  letter-spacing: 0.02em;
  color: var(--accent);
  text-shadow: 2px 2px 0 var(--pixel-border);
}

.brand-copy span {
  display: block;
  margin-top: 3px;
  font: 500 8px var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav a,
.nav button {
  position: relative;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: 0.15s;
}

.nav a:hover,
.nav a.active,
.nav button:hover {
  color: var(--ink);
  background: var(--panel-2);
}

.nav a.active,
.nav button.active {
  color: var(--accent-ink);
  background: var(--accent);
  border: 2px solid var(--pixel-border);
  box-shadow: 2px 2px 0 var(--pixel-border);
}

.nav a.active { box-shadow: 2px 2px 0 var(--pixel-border); }

.search-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 180px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--faint);
  font-size: 12.5px;
}

.search-btn span:first-of-type { flex: 1; text-align: left; }

.kbd {
  font: 500 10px var(--mono);
  color: var(--faint);
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 1px 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font: 600 12px var(--mono);
  color: var(--ink-2);
}

.chip .spark { color: var(--accent); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 2px solid var(--pixel-border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: var(--pixel-shadow);
  transition: 0.12s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--pixel-border);
}

.btn-primary.connected {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.btn-ghost {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--panel-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 12px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.mobile-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 56px 0 auto 0;
  z-index: 65;
  padding: 12px;
  background: rgba(26, 16, 40, 0.97);
  border-bottom: 3px solid var(--pixel-border);
  backdrop-filter: blur(24px);
}

.mobile-menu.open { display: grid; gap: 6px; }

.mobile-menu a,
.mobile-menu button {
  padding: 12px 14px;
  border-radius: 10px;
  text-align: left;
  color: var(--muted);
  text-decoration: none;
}

.mobile-menu a:hover { background: var(--panel-2); color: var(--ink); }

.mobile-menu .btn-primary {
  justify-content: center;
  color: var(--accent-ink);
}

.ticker {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 34px;
  border-bottom: 2px solid var(--pixel-border);
  background: var(--panel-solid);
  backdrop-filter: blur(var(--blur));
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 100%;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  background: var(--panel-2);
  font: 700 10px var(--mono);
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-move {
  display: inline-flex;
  white-space: nowrap;
  animation: tick 90s linear infinite;
}

.ticker-track:hover .ticker-move { animation-play-state: paused; }

@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-right: 1px solid var(--line-2);
  font: 500 11px var(--mono);
  color: var(--muted);
}

.ticker-item b { color: var(--ink); font-weight: 600; }

.main {
  position: relative;
  z-index: 10;
  flex: 1;
  width: min(100% - 36px, var(--maxw));
  margin: 0 auto;
  padding: 18px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-title {
  margin: 0;
  font: 600 30px/1 var(--display);
  letter-spacing: -0.01em;
}

.page-sub {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 300px;
  background: var(--panel-solid);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.featured-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: radial-gradient(60% 70% at 50% 40%, var(--panel-2), transparent);
}

.featured-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-wmk {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font: 800 130px/1 var(--display);
  color: #fff;
  opacity: 0.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
}

.featured-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(8, 6, 17, 0.62);
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.featured-name {
  margin: 12px 0 0;
  font: 600 30px/1.04 var(--display);
  letter-spacing: -0.01em;
}

.featured-row {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  margin-top: 22px;
}

.price-block .label,
.stat-mini .label {
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.price-block .value {
  margin-top: 6px;
  font: 600 30px/1 var(--mono);
  letter-spacing: -0.01em;
}

.stat-mini .value {
  margin-top: 6px;
  font: 500 13px var(--mono);
  color: var(--ink);
}

.featured-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.toolbar-label {
  font: 700 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 4px;
}

.filter-chip,
.sort-chip,
.view-chip {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font: 600 10.5px var(--mono);
  letter-spacing: 0.04em;
  transition: 0.15s;
}

.filter-chip:hover,
.sort-chip:hover,
.view-chip:hover { color: var(--ink); }

.filter-chip.active,
.sort-chip.active,
.view-chip.active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.cat-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.cat-scroll::-webkit-scrollbar { display: none; }

.cat-chip {
  flex: none;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font: 600 10.5px var(--mono);
  letter-spacing: 0.04em;
  transition: 0.15s;
}

.cat-chip:hover { color: var(--ink); }

.cat-chip.active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
  padding-bottom: 24px;
}

.market-card {
  background: var(--panel-solid);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: 0.12s;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

.market-card:hover {
  border-color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--pixel-border);
}

.market-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: radial-gradient(60% 70% at 50% 40%, var(--panel-2), transparent);
}

.market-media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-cat {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 8px;
  border-radius: 30px;
  border: 1px solid var(--line-2);
  background: rgba(8, 6, 17, 0.6);
  font: 700 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-rarity {
  position: absolute;
  top: 9px;
  right: 9px;
}

.market-body { padding: 14px 14px 12px; }

.market-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.market-ticker {
  font: 700 11px var(--mono);
  color: var(--accent);
}

.market-time {
  font: 500 10px var(--mono);
  color: var(--faint);
}

.market-name {
  margin: 8px 0 0;
  font: 600 16px/1.2 var(--display);
}

.market-meta {
  margin-top: 4px;
  font: 500 11px var(--mono);
  color: var(--muted);
}

.market-lore {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--faint);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}

.market-price .label {
  font: 600 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.market-price .value {
  margin-top: 4px;
  font: 600 15px var(--mono);
}

.market-price .delta {
  margin-top: 2px;
  font: 600 11px var(--mono);
}

.market-buy {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--pixel-border);
  font: 700 11px var(--mono);
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--pixel-border);
}

.rar {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font: 700 10px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.rar.common { background: var(--r-common); }
.rar.uncommon { background: #6b8f71; }
.rar.rare { background: var(--r-rare); }
.rar.epic { background: var(--r-epic); }
.rar.legendary { background: var(--r-legend); color: #1a1040; }
.rar.mythic { background: var(--r-mythic); }

.studio-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
}

.studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.studio-head h2 {
  margin: 0;
  font: 600 22px var(--display);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font: 800 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.68);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(157, 123, 255, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.link-btn {
  font: 600 11px var(--mono);
  color: var(--accent);
}

.preview-card {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.preview-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}

.preview-media canvas { width: 100%; height: 100%; }

.preview-loader {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(8, 6, 17, 0.88);
  z-index: 2;
}

.preview-loader.show { display: flex; }

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.preview-style {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(8, 6, 17, 0.72);
  border: 1px solid var(--line-2);
  font: 700 9px var(--mono);
  letter-spacing: 0.08em;
}

.preview-body { margin-top: 14px; }

.preview-name {
  margin: 0;
  font: 600 22px var(--display);
}

.preview-symbol {
  margin-top: 4px;
  font: 600 11px var(--mono);
  color: var(--accent);
}

.preview-lore {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(8, 6, 17, 0.45);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

.preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.preview-stat {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(8, 6, 17, 0.35);
  text-align: center;
}

.preview-stat .label {
  display: block;
  font: 700 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.preview-stat .value {
  display: block;
  margin-top: 4px;
  font: 700 13px var(--mono);
  color: var(--accent-2);
}

.studio-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 3, 14, 0.75);
  backdrop-filter: blur(14px);
}

.modal-backdrop.open { display: flex; }

.modal {
  width: min(100%, 560px);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel-solid);
  border: 3px solid var(--pixel-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 6px 6px 0 var(--pixel-border);
}

.modal-wide { width: min(100%, 760px); }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.modal-head h3 {
  margin: 0;
  font: 600 18px var(--display);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.console {
  margin-top: 14px;
  padding: 14px;
  min-height: 180px;
  max-height: 220px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(7, 6, 10, 0.72);
  font: 500 11px/1.6 var(--mono);
  color: var(--muted);
}

.console .ok { color: var(--up); font-weight: 600; }
.console .done { color: var(--accent-2); font-weight: 700; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); }

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.toast-stack {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 220;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.8);
  font-size: 12px;
  pointer-events: auto;
  animation: toast-in 0.3s ease;
}

.toast.success { border-color: rgba(35, 227, 167, 0.35); color: var(--up); }
.toast.info { border-color: rgba(157, 123, 255, 0.35); color: var(--accent); }
.toast.warning { border-color: rgba(255, 90, 134, 0.35); color: var(--down); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.footer {
  position: relative;
  z-index: 10;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
  text-align: center;
}

.footer a { color: var(--muted); text-decoration: none; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .mobile-toggle { display: none; }
}

@media (max-width: 899px) {
  .search-btn { display: none; }
  .chip { display: none; }
  .topbar-right > .btn-primary#wallet-connect-btn { display: none; }
}

@media (max-width: 760px) {
  .featured,
  .studio-grid,
  .field-row,
  .studio-actions,
  .modal-actions { grid-template-columns: 1fr; }
  .featured-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main { width: min(100% - 20px, var(--maxw)); }
}
