:root {
  --bg: #070908;
  --bg-soft: #0d1210;
  --card: rgba(18, 24, 21, 0.88);
  --text: #f6f8f5;
  --muted: #9ba79f;
  --primary: #20e0a5;
  --secondary: #f4c95d;
  --border: rgba(255, 255, 255, 0.12);
}

body.light {
  --bg: #f5f7f4;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #111713;
  --muted: #66736a;
  --primary: #047857;
  --secondary: #b45309;
  --border: rgba(17, 23, 19, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(32, 224, 165, .18), transparent 30%),
              radial-gradient(circle at top right, rgba(244, 201, 93, .14), transparent 30%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 8, .78);
  border-bottom: 1px solid var(--border);
}

body.light .site-header {
  background: rgba(255, 255, 255, .8);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.site-logo-img {
  display: block;
  width: 184px;
  max-width: 42vw;
  height: auto;
}

select option,
select optgroup {
  background: #070908;
  color: #ffffff;
}

select option:checked {
  background: #101712;
  color: #20e0a5;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.login {
  color: var(--muted);
  font-weight: 600;
}

.menu-btn,
.theme-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
}

.icon-button {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-toggle.icon-button,
.menu-btn.icon-button {
  width: 42px;
  height: 42px;
}

.icon-button svg,
.dash-nav-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.translate-shell {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}

.nav-actions .translate-shell,
.control-actions .translate-shell {
  order: -1;
}

.dashboard-body .translate-shell {
  border-color: var(--dash-border);
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.06);
}

.control-body .translate-shell {
  border-color: var(--control-border);
  color: var(--control-text);
  background: rgba(255, 255, 255, 0.06);
}

.auth-theme .translate-shell {
  min-height: 42px;
}

.translate-shell-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
  pointer-events: none;
}

.translate-shell-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.translate-shell::after {
  content: "";
  display: none;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  pointer-events: none;
}

.translate-shell .goog-te-gadget {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  color: currentColor;
  font-family: inherit;
  font-size: 0;
  line-height: 1;
}

.translate-shell .goog-te-combo {
  position: relative;
  z-index: 4;
  width: 138px;
  min-height: 26px;
  margin: 0 !important;
  padding: 2px 22px 2px 0;
  border: 0;
  outline: none;
  color: #ffffff;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

body.light .translate-shell .goog-te-combo {
  color: var(--text);
}

.dashboard-body .translate-shell .goog-te-combo,
.control-body .translate-shell .goog-te-combo {
  color: #ffffff;
}

body.dashboard-body.light .translate-shell .goog-te-combo,
body.control-body.light .translate-shell .goog-te-combo {
  color: var(--dash-text);
}

.translate-shell .goog-te-combo option {
  color: #111713;
  background: #ffffff;
}

.translate-shell .goog-te-combo option:first-child {
  color: #66736a;
}

.translate-shell .goog-logo-link,
.translate-shell .goog-te-gadget > span {
  display: none !important;
}

.translate-shell .goog-te-gadget-icon,
.translate-shell img {
  display: none;
}

.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07100b;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(32, 224, 165, .18);
}

.btn-small {
  padding: 10px 18px;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

body.light .btn:not(.btn-outline),
body.light .explore-filter .active-tab,
body.light .active-page {
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(rgba(7,9,8,0.72), rgba(7,9,8,0.86)),
    url('https://images.unsplash.com/photo-1639762681057-408e52192e55?q=80&w=1600&auto=format&fit=crop');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--secondary);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.hero-copy p {
  color: var(--muted);
  max-width: 620px;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-art {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* added */

/* Keep hero/header section readable on image background */
.hero,
.hero h1,
.hero p,
.hero .badge,
.hero .btn-outline {
  color: #ffffff;
}

.hero .badge {
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
}

/* added */

.art-card {
  width: min(100%, 420px);
  min-height: 500px;
  border-radius: 36px;
  padding: 28px;
  background:
    linear-gradient(150deg, rgba(32, 224, 165, .86), rgba(244, 201, 93, .68)),
    linear-gradient(45deg, #101712, #070908);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.art-glow {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  filter: blur(12px);
}

.art-card p,
.art-card h3 {
  position: relative;
}

.art-card h3 {
  font-size: 34px;
}

.art-card.has-exclusive {
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #070908;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.art-card.has-exclusive::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.08) 0%, rgba(7, 9, 8, 0.25) 34%, rgba(7, 9, 8, 0.88) 100%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 32%);
  pointer-events: none;
}

.art-card.has-exclusive .art-glow {
  z-index: 1;
  inset: auto 26px 28px;
  height: 140px;
  border-radius: 999px;
  background: rgba(32, 224, 165, 0.2);
  filter: blur(28px);
}

.hero-exclusive-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-exclusive-content {
  position: relative;
  display: grid;
  gap: 10px;
  color: #ffffff;
  z-index: 2;
}

.hero-exclusive-content p {
  width: fit-content;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 9, 8, 0.34);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-exclusive-content h3 {
  max-width: 10ch;
  margin: 0;
  color: #ffffff;
  line-height: 0.98;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.5);
}

.hero-exclusive-price {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 8px;
  color: #07100b;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.hero-exclusive-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-exclusive-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.hero-exclusive-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(7, 9, 8, 0.38);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.section {
  padding: 80px 0;
}

.intro-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.intro-card,
.feature-card,
.nft-card,
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
}

.intro-card h2 {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.intro-card p,
.feature-card p,
.faq p,
.site-footer p {
  color: var(--muted);
  margin-bottom: 18px;
}

.accent {
  background: linear-gradient(135deg, rgba(32, 224, 165, .16), rgba(244, 201, 93, .12));
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

.section-title span {
  color: var(--secondary);
  font-weight: 700;
}

.section-title h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 10px 0;
}

.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 18px;
}

.nft-card {
  border-radius: 20px;
  padding: 20px;
}

.nft-img {
  height: 205px;
  border-radius: 18px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
}

.img-1 { background: linear-gradient(135deg, #20e0a5, #f4c95d); }
.img-2 { background: linear-gradient(135deg, #047857, #d9a441); }
.img-3 { background: linear-gradient(135deg, #35d7c7, #f4c95d); }
.img-4 { background: linear-gradient(135deg, #b45309, #20e0a5); }
.img-5 { background: linear-gradient(135deg, #163c2e, #f4c95d); }
.img-6 { background: linear-gradient(135deg, #20e0a5, #375245); }

.nft-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.nft-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  margin: 4px 0 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nft-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.nft-meta b {
  color: var(--text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.center {
  text-align: center;
  margin-top: 34px;
}

.features {
  background: rgba(255,255,255,.03);
}

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

.icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.faq-list {
  max-width: 850px;
  margin: auto;
  display: grid;
  gap: 14px;
}

summary {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin-top: 14px;
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 70px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .9fr 1.2fr;
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.front-messages {
  display: grid;
  gap: 10px;
  padding-top: 20px;
}

.front-alert {
  padding: 13px 15px;
  border: 1px solid rgba(32, 224, 165, 0.28);
  border-radius: 8px;
  background: rgba(32, 224, 165, 0.12);
  color: var(--text);
}

.front-alert.error {
  border-color: rgba(255, 77, 109, 0.28);
  background: rgba(255, 77, 109, 0.12);
}

.front-alert.info {
  border-color: rgba(244, 201, 93, 0.32);
  background: rgba(244, 201, 93, 0.12);
}

.eth-usd-value {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 2px 7px;
  border: 1px solid rgba(32, 224, 165, 0.24);
  border-radius: 999px;
  background: rgba(32, 224, 165, 0.1);
  color: var(--primary);
  font-size: 0.78em;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: middle;
}

.hero-exclusive-price .eth-usd-value {
  color: #047857;
}

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.newsletter button {
  border: none;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--primary);
  color: white;
  font-weight: 700;
}

.copyright {
  text-align: center;
  color: var(--muted);
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
    order: 3;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    order: 1;
  }

  .nav-actions {
    order: 2;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-bottom: 0;
    margin-left: auto;
  }

  .nav-actions .login,
  .nav-actions > .btn {
    display: none;
  }

  .nav-links {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 18px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-actions.active {
    width: 100%;
    flex-wrap: wrap;
    order: 5;
    justify-content: flex-start;
    padding-bottom: 18px;
  }

  .nav-actions.active .login,
  .nav-actions.active > .btn {
    display: inline-flex;
  }

  .nav-actions .translate-shell {
    order: -1;
  }

  .nav-actions .translate-shell .goog-te-combo {
    width: 42px;
  }

  .nav-actions .translate-shell,
  .dashboard-mobilebar .translate-shell {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    gap: 3px;
    padding: 0;
  }

  .nav-actions .translate-shell::after,
  .dashboard-mobilebar .translate-shell::after {
    display: block;
  }

  .nav-actions .translate-shell-icon,
  .dashboard-mobilebar .translate-shell-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .nav-actions .translate-shell-icon svg,
  .dashboard-mobilebar .translate-shell-icon svg {
    width: 17px;
    height: 17px;
  }

  .nav-actions .translate-widget,
  .nav-actions .translate-widget > div,
  .nav-actions .translate-shell .goog-te-gadget,
  .dashboard-mobilebar .translate-widget,
  .dashboard-mobilebar .translate-widget > div,
  .dashboard-mobilebar .translate-shell .goog-te-gadget {
    position: absolute;
    inset: 0;
  }

  .nav-actions .translate-shell .goog-te-combo,
  .dashboard-mobilebar .translate-shell .goog-te-combo {
    position: absolute;
    inset: 0;
    width: 42px;
    height: 42px;
    min-height: 42px;
    opacity: 0;
    cursor: pointer;
    z-index: 8;
    pointer-events: auto;
  }

  .hero-grid,
  .intro-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 50px;
  }

  .art-card {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .nft-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: -1.5px;
  }

  .section {
    padding: 55px 0;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter button {
    padding: 13px;
  }
}


.explore-hero {
  padding: 90px 0;
  background:
    linear-gradient(rgba(7,9,8,0.74), rgba(7,9,8,0.9)),
    url("https://images.unsplash.com/photo-1639762681057-408e52192e55?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.explore-hero h1 {
  font-size: 58px;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--secondary);
}

.explore-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
}

.placeholder-img {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-img span {
  font-size: 42px;
  font-weight: 900;
  color: #07100b;
  opacity: 0.8;
}

.pagination {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
}

.active-page {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07100b;
}

/*  */
.explore-hero,
.explore-hero h1,
.explore-hero .breadcrumb,
.explore-hero .breadcrumb span {
  color: #ffffff;
}

/* sign up - login */

.auth-page {
  min-height: 100vh;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(7,9,8,0.74), rgba(7,9,8,0.9)),
    url("https://images.unsplash.com/photo-1639762681057-408e52192e55?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.auth-card {
  width: min(450px, 92%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 35px;
  backdrop-filter: blur(18px);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #ffffff;
}

.auth-logo-img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
}

.auth-card h2 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 8px;
}

.auth-card p {
  color: #dce5df;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  outline: none;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(32, 224, 165, 0.7);
  outline-offset: 2px;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.65);
}

.form-errors {
  background: rgba(255, 74, 74, 0.15);
  border: 1px solid rgba(255, 74, 74, 0.4);
  color: #ffd6d6;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 14px;
}

.auth-bottom {
  text-align: center;
  margin-top: 20px;
  color: #dce5df;
}

.auth-bottom a {
  color: var(--primary);
  font-weight: 700;
}

.recaptcha-field {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 2px;
}

.profile-page {
  min-height: 80vh;
  padding: 90px 0;
}

.profile-card {
  max-width: 650px;
  margin: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 40px;
  text-align: center;
}

.profile-avatar {
  width: 95px;
  height: 95px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
}

.profile-avatar-img {
  object-fit: cover;
  display: block;
}

.profile-card h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.profile-card p {
  color: var(--muted);
  margin-bottom: 30px;
}

.profile-info {
  display: grid;
  gap: 15px;
  text-align: left;
}

.profile-info div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.profile-info span {
  color: var(--muted);
}

.profile-info strong {
  color: var(--text);
}

/* sign up - login light mode */
/* AUTH LIGHT MODE */

body.light .auth-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17,23,19,0.12);
}

body.light .auth-logo,
body.light .auth-card h2,
body.light .auth-card .form-group label {
  color: #111713;
}

body.light .auth-card p,
body.light .auth-bottom {
  color: #66736a;
}

body.light .form-group input {
  background: rgba(17,23,19,0.05);
  border: 1px solid rgba(17,23,19,0.12);
  color: #111713;
}

body.light .password-toggle {
  color: #66736a;
}

body.light .password-toggle:hover,
body.light .password-toggle:focus-visible {
  color: #111713;
  background: rgba(17, 23, 19, 0.08);
}

body.light .form-group input::placeholder {
  color: #6b7280;
}

body.light .form-errors {
  background: rgba(255, 74, 74, 0.08);
  color: #c62828;
}


.auth-theme {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px;
  background:
    radial-gradient(circle at 20% 18%, rgba(32, 224, 165, 0.18), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(244, 201, 93, 0.16), transparent 28%),
    linear-gradient(rgba(7, 9, 8, 0.72), rgba(7, 9, 8, 0.92)),
    var(--bg);
}

.not-found-card {
  width: min(100%, 620px);
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 24, 21, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
  backdrop-filter: blur(18px);
}

body.light .not-found-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(17, 23, 19, 0.12);
}

.not-found-logo {
  display: inline-flex;
  margin-bottom: 28px;
}

.not-found-logo img {
  width: 210px;
  max-width: 72vw;
  height: auto;
}

.not-found-kicker {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.not-found-card h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 8vw, 70px);
  line-height: 1;
}

.not-found-copy {
  max-width: 440px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* home nft car */

.nft-upload-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
  display: block;
}

.nft-card .nft-upload-img {
  height: 205px;
  border-radius: 18px;
  margin-bottom: 14px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.empty-state p {
  color: var(--muted);
}

/* explore */
.explore-filter a {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  transition: 0.3s ease;
}

.explore-filter .active-tab {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07100b;
  border-color: transparent;
}

.collection-link {
  color: var(--primary);
  font-weight: 900;
}

.collection-link:hover {
  text-decoration: underline;
}

.nft-meta .collection-link,
.asset-meta .collection-link {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-meta-list .collection-link,
.asset-detail-table .collection-link {
  color: var(--primary);
}

.collection-hero .collection-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.collection-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.collection-kicker {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.collection-description {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

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

.collection-counts span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body.light .collection-counts span {
  background: rgba(17, 23, 19, 0.03);
}

.collection-counts small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.collection-counts strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.collection-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.collection-toggle span {
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
  font-size: 12px;
  line-height: 1.5;
}

.collection-page-count {
  margin: -14px 0 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* about */

.about-section {
  background: var(--bg);
}

.about-intro {
  max-width: 850px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-intro span {
  color: var(--secondary);
  font-weight: 800;
}

.about-intro h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.about-intro p {
  color: var(--muted);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
}

.about-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.about-card p {
  color: var(--muted);
}

.about-process {
  margin-top: 70px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 35px;
}

.about-process h2 {
  margin-bottom: 25px;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-list div {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.process-list strong {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07100b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-list p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .process-list div {
    flex-direction: column;
  }
}

/* explore */
.explore-search {
  display: flex;
  gap: 12px;
  margin: 25px auto 35px;
  max-width: 700px;
}

.explore-search input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.explore-search button {
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07100b;
}

@media (max-width: 700px) {
  .explore-search {
    flex-direction: column;
  }

  .collection-summary {
    align-items: stretch;
    flex-direction: column;
  }

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







/* dashboard */
.dashboard-page {
  min-height: 100vh;
  padding: 70px 0;
}

.dashboard-page h1 {
  font-size: 48px;
  margin-bottom: 5px;
}

.dashboard-page h2 {
  margin: 45px 0 20px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.dash-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

.dash-card h3 {
  margin-bottom: 10px;
}

.dash-card h2 {
  margin: 0;
  font-size: 34px;
}

.action-card {
  transition: 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
}

.dash-alert {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(32, 224, 165, 0.14);
  border: 1px solid rgba(32, 224, 165, 0.3);
  color: var(--text);
}

@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

/* dash deposit */
.deposit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 35px;
}

.qr-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin: 18px 0;
  background: #ffffff;
  padding: 10px;
}

.copy-box {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.copy-box input {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
}

.copy-box button {
  padding: 0 18px;
  border-radius: 14px;
  border: none;
  background: var(--primary);
  color: #07100b;
  font-weight: 700;
  cursor: pointer;
}

.small-note {
  color: var(--muted);
  margin-top: 14px;
}

.deposit-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.deposit-row:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .deposit-grid {
    grid-template-columns: 1fr;
  }

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

.dashboard-search {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.dashboard-search input {
  flex: 1;
  padding: 14px;
}

.card-actions {
  display: grid;
  gap: 10px;
}

.page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}

/* premium dashboard shell */
body.dashboard-body {
  --bg: #070908;
  --bg-soft: #0d1210;
  --card: rgba(18, 24, 21, 0.92);
  --text: #f6f8f5;
  --muted: #9ba79f;
  --primary: #20e0a5;
  --secondary: #f4c95d;
  --border: rgba(255, 255, 255, 0.1);
  --dash-bg: #070908;
  --dash-bg-soft: #0d1210;
  --dash-panel: rgba(18, 24, 21, 0.92);
  --dash-panel-strong: #151d19;
  --dash-text: #f6f8f5;
  --dash-muted: #9ba79f;
  --dash-border: rgba(255, 255, 255, 0.1);
  --dash-accent: #20e0a5;
  --dash-accent-2: #f4c95d;
  --dash-accent-3: #7dd3fc;
  --dash-danger: #ff6b6b;
  --dash-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.1), transparent 34%),
    linear-gradient(225deg, rgba(244, 201, 93, 0.08), transparent 38%),
    var(--dash-bg);
  color: var(--dash-text);
}

body.dashboard-body.light {
  --bg: #f5f7f4;
  --bg-soft: #eef3ef;
  --card: rgba(255, 255, 255, 0.94);
  --text: #111713;
  --muted: #66736a;
  --primary: #047857;
  --secondary: #b45309;
  --border: rgba(17, 23, 19, 0.12);
  --dash-bg: #f5f7f4;
  --dash-bg-soft: #eef3ef;
  --dash-panel: rgba(255, 255, 255, 0.94);
  --dash-panel-strong: #ffffff;
  --dash-text: #111713;
  --dash-muted: #66736a;
  --dash-border: rgba(17, 23, 19, 0.12);
  --dash-accent: #047857;
  --dash-accent-2: #b45309;
  --dash-accent-3: #0369a1;
  --dash-danger: #c2410c;
  --dash-shadow: 0 20px 60px rgba(18, 38, 27, 0.12);
}

.dashboard-body h1,
.dashboard-body h2,
.dashboard-body h3,
.dashboard-body p {
  letter-spacing: 0;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: rgba(9, 13, 11, 0.88);
  border-right: 1px solid var(--dash-border);
  backdrop-filter: blur(18px);
  z-index: 80;
}

body.dashboard-body.light .dashboard-sidebar {
  background: rgba(255, 255, 255, 0.88);
}

.dash-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.dash-brand-link,
.dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dash-logo-img {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
}

.dash-brand-mark,
.dash-user-avatar,
.dash-nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
  color: #07100b;
  font-weight: 900;
}

.dash-brand strong,
.dash-user strong {
  display: block;
  color: var(--dash-text);
  font-size: 15px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-brand small,
.dash-user small {
  display: block;
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.3;
}

.dash-avatar-img {
  object-fit: cover;
}

.dash-close {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel);
  color: var(--dash-text);
  cursor: pointer;
}

.dashboard-nav {
  display: grid;
  gap: 7px;
  overflow-y: auto;
  padding-right: 2px;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  color: var(--dash-muted);
  border: 1px solid transparent;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dash-nav-link span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-nav-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--dash-muted);
  border: 1px solid var(--dash-border);
}

.dash-nav-icon svg {
  width: 17px;
  height: 17px;
}

body.dashboard-body.light .dash-nav-icon {
  background: rgba(4, 120, 87, 0.08);
}

.dash-nav-link:hover,
.dash-nav-link.is-active {
  color: var(--dash-text);
  background: linear-gradient(135deg, rgba(32, 224, 165, 0.16), rgba(244, 201, 93, 0.1));
  border-color: rgba(32, 224, 165, 0.26);
}

.dash-nav-link.is-active .dash-nav-icon {
  color: #07100b;
  background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
  border-color: transparent;
}

.dash-sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--dash-border);
}

.dash-footer-actions {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.dash-footer-actions .translate-shell {
  grid-column: 1 / -1;
}

.dash-theme-toggle,
.dash-logout,
.dash-menu-button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--dash-border);
  background: var(--dash-panel);
  color: var(--dash-text);
  font-weight: 800;
  cursor: pointer;
}

.dash-theme-toggle.icon-button,
.dash-menu-button.icon-button {
  display: inline-flex;
  min-width: 42px;
}

.dashboard-mobilebar .dash-theme-toggle.icon-button,
.dash-menu-button.icon-button {
  width: 42px;
  flex: 0 0 42px;
}

.dash-footer-actions .dash-theme-toggle.icon-button {
  width: 100%;
}

.dash-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-mobilebar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: 68px;
  padding: 12px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(9, 13, 11, 0.9);
  border-bottom: 1px solid var(--dash-border);
  backdrop-filter: blur(18px);
}

.dashboard-mobilebar .translate-shell {
  margin-left: auto;
}

.dashboard-mobilebar .translate-shell .goog-te-combo {
  width: 128px;
}

body.dashboard-body.light .dashboard-mobilebar {
  background: rgba(255, 255, 255, 0.92);
}

.dashboard-mobilebar .dash-menu-button {
  display: none;
}

.dash-mobile-brand {
  font-weight: 900;
  color: var(--dash-text);
}

.dashboard-overlay {
  display: none;
}

.dashboard-content {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 34px 36px 54px;
}

.dashboard-messages {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-view {
  display: grid;
  gap: 24px;
}

.overview-view {
  gap: 18px;
}

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

.dashboard-page-head h1,
.dashboard-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.page-kicker {
  margin-bottom: 8px;
  color: var(--dash-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-page-head p,
.dashboard-hero p,
.dashboard-panel p,
.metric-card p,
.action-tile p,
.asset-card p,
.history-row small,
.empty-state p {
  color: var(--dash-muted);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--dash-border);
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.18), rgba(244, 201, 93, 0.1)),
    var(--dash-panel);
  box-shadow: var(--dash-shadow);
}

.dashboard-hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.dashboard-body .btn {
  min-height: 42px;
  border-radius: 8px;
  padding: 11px 16px;
  line-height: 1.1;
  box-shadow: none;
}

.dashboard-body .btn-outline {
  border-color: var(--dash-border);
  color: var(--dash-text);
  background: transparent;
}

.dashboard-balance-panel {
  padding: 18px;
  border-radius: 8px;
  background: rgba(7, 16, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.dashboard-body.light .dashboard-balance-panel {
  background: rgba(4, 120, 87, 0.07);
}

.balance-label {
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.balance-value {
  display: block;
  margin: 10px 0;
  color: var(--dash-text);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dashboard-command-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  align-items: stretch;
  gap: 18px;
}

.overview-balance-grid {
  display: contents;
}

.total-asset-panel {
  position: relative;
  width: min(430px, 100%);
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.18), rgba(125, 211, 252, 0.12)),
    var(--dash-panel);
  box-shadow: var(--dash-shadow);
}

.overview-balance-card {
  width: 100%;
  min-width: 0;
}

.profit-balance-panel {
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.18), rgba(32, 224, 165, 0.1)),
    var(--dash-panel);
}

.total-asset-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-70%);
  opacity: 0.44;
}

.balance-heading,
.asset-panel-meta,
.chart-panel-head,
.chart-stat-row,
.mix-legend span,
.activity-bar-row {
  position: relative;
  z-index: 1;
}

.balance-heading,
.asset-panel-meta,
.chart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.balance-visibility-toggle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--dash-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--dash-text);
  cursor: pointer;
}

body.dashboard-body.light .balance-visibility-toggle {
  background: rgba(17, 23, 19, 0.05);
}

.balance-visibility-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.asset-panel-meta {
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-command-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.metric-grid,
.action-grid,
.form-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card,
.action-tile,
.dashboard-panel,
.asset-card {
  border-radius: 8px;
  border: 1px solid var(--dash-border);
  background: var(--dash-panel);
  box-shadow: var(--dash-shadow);
}

.metric-card,
.action-tile,
.dashboard-panel {
  padding: 20px;
}

.metric-card h3,
.action-tile h3,
.dashboard-panel h2,
.dashboard-panel h3 {
  margin: 0 0 8px;
}

.metric-value {
  display: block;
  color: var(--dash-text);
  font-size: 20px;
  line-height: 2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.overview-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.58fr) minmax(280px, 0.78fr);
  gap: 14px;
  align-items: stretch;
}

.chart-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 282px;
}

.chart-panel-head {
  align-items: flex-start;
}

.chart-panel-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.portfolio-line-chart {
  min-height: 178px;
  padding: 14px;
  border-radius: 8px;
  color: var(--dash-accent);
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.12), rgba(125, 211, 252, 0.08)),
    rgba(255, 255, 255, 0.04);
}

body.dashboard-body.light .portfolio-line-chart {
  background:
    linear-gradient(135deg, rgba(4, 120, 87, 0.1), rgba(3, 105, 161, 0.08)),
    rgba(17, 23, 19, 0.03);
}

.portfolio-line-chart svg {
  display: block;
  width: 100%;
  height: 178px;
  overflow: visible;
}

.chart-grid-line {
  fill: none;
  stroke: currentColor;
  stroke-opacity: 0.14;
  stroke-width: 1;
}

.chart-area {
  fill: url("#portfolioLineFill");
}

.chart-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
}

.portfolio-line-chart circle {
  fill: var(--dash-panel-strong);
  stroke: var(--dash-accent-2);
  stroke-width: 4;
}

.chart-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: auto;
}

.chart-stat-row span {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 500;
}

.chart-stat-row b {
  color: var(--dash-text);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.asset-mix-body {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: auto 0;
}

.asset-mix-chart {
  --minted-share: 0%;
  position: relative;
  width: min(170px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--dash-accent) 0 var(--minted-share),
      rgba(244, 201, 93, 0.92) var(--minted-share) 100%
    );
  box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.24);
}

.asset-mix-chart::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: var(--dash-panel-strong);
  border: 1px solid var(--dash-border);
}

.asset-mix-chart span {
  position: relative;
  z-index: 1;
  color: var(--dash-text);
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.mix-legend {
  width: 100%;
  display: grid;
  gap: 10px;
}

.mix-legend span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.mix-legend b {
  color: var(--dash-text);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot-primary {
  background: var(--dash-accent);
}

.legend-dot-secondary {
  background: var(--dash-accent-2);
}

.activity-bars {
  display: grid;
  gap: 15px;
  margin-top: auto;
}

.activity-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.activity-bar-row strong {
  color: var(--dash-text);
}

.activity-bar-row i {
  position: relative;
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

body.dashboard-body.light .activity-bar-row i {
  background: rgba(17, 23, 19, 0.07);
}

.activity-bar-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar-value, 0%);
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dash-accent), var(--dash-accent-3), var(--dash-accent-2));
}

.recent-nfts-panel {
  display: grid;
  gap: 18px;
}

.action-tile {
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 224, 165, 0.38);
}

.action-tile span,
.status-pill {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--dash-accent);
  background: rgba(32, 224, 165, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.form-panel-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: start;
}

.dashboard-form {
  display: grid;
  gap: 16px;
}

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

.dashboard-form .form-group,
.dashboard-form p {
  margin: 0;
}

.dashboard-form label,
.dashboard-panel label {
  display: block;
  margin-bottom: 7px;
  color: var(--dash-text);
  font-weight: 800;
}

.dashboard-body input:not([type="checkbox"]):not([type="radio"]),
.dashboard-body select,
.dashboard-body textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--dash-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dash-text);
  padding: 11px 12px;
  outline: none;
}

body.dashboard-body.light input:not([type="checkbox"]):not([type="radio"]),
body.dashboard-body.light select,
body.dashboard-body.light textarea {
  background: rgba(17, 23, 19, 0.04);
}

.dashboard-body textarea {
  min-height: 118px;
  resize: vertical;
}

.dashboard-body input[type="file"] {
  padding: 9px;
}

.field-with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.field-action-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--dash-border);
  background: var(--dash-panel-strong);
  color: var(--dash-text);
  font-weight: 800;
  cursor: pointer;
}

.dash-alert {
  margin: 0;
  padding: 13px 15px;
  border-radius: 8px;
  color: var(--dash-text);
  background: rgba(32, 224, 165, 0.12);
  border: 1px solid rgba(32, 224, 165, 0.24);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease, margin 0.24s ease, padding 0.24s ease;
}

.dash-alert.success {
  background: rgba(32, 224, 165, 0.12);
  border-color: rgba(32, 224, 165, 0.28);
}

.dash-alert.error {
  background: rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.28);
}

.dash-alert.is-dismissing {
  opacity: 0;
  transform: translateY(-6px);
}

.copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
}

.copy-box button,
.dashboard-search button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: var(--dash-accent);
  color: #07100b;
  font-weight: 900;
  cursor: pointer;
}

.qr-img {
  width: 178px;
  height: 178px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  padding: 10px;
}

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

.history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--dash-border);
}

.history-row:last-child {
  border-bottom: none;
}

.history-row strong,
.history-row span {
  overflow-wrap: anywhere;
}

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

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.asset-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.asset-image,
.nft-upload-img.asset-image {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  height: auto;
  min-height: 190px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  display: block;
}

.protected-uploaded-media {
  -webkit-touch-callout: none;
  user-select: none;
}

.asset-card-body {
  padding: 16px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.asset-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.asset-meta {
  display: grid;
  gap: 8px;
}

.asset-meta span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--dash-muted);
  font-size: 13px;
}

.asset-meta b {
  color: var(--dash-text);
  text-align: right;
  overflow-wrap: anywhere;
}

.my-bids-panel {
  display: grid;
  gap: 16px;
}

.bid-summary-grid,
.my-bids-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bid-summary-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel);
}

.bid-summary-card span,
.bid-summary-card small {
  color: var(--dash-muted);
}

.bid-summary-card strong {
  color: var(--dash-text);
  font-size: 34px;
  line-height: 1;
}

.bid-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bid-section-head h2 {
  margin: 0;
  color: var(--dash-text);
  font-size: 22px;
  line-height: 1.2;
}

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

.bid-history-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas:
    "thumb main"
    "thumb meta"
    "thumb actions";
  align-items: start;
  gap: 12px 16px;
  padding: 16px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel-strong);
}

.bid-asset-thumb {
  grid-area: thumb;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.bid-history-main {
  grid-area: main;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.bid-history-main h3,
.bid-history-main p,
.bid-history-meta strong,
.bid-history-meta span {
  overflow-wrap: anywhere;
}

.bid-history-main h3 {
  margin: 0;
  color: var(--dash-text);
  font-size: 19px;
  line-height: 1.2;
}

.bid-history-main p,
.bid-history-meta span {
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
}

.bid-history-meta {
  grid-area: meta;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
  text-align: left;
}

.bid-history-meta strong {
  color: var(--dash-accent-2);
  font-size: 18px;
}

.bid-history-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.asset-bid-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-bid-form {
  margin: 0;
}

.inline-bid-form .btn {
  width: auto;
}

.btn-danger {
  border-color: rgba(255, 77, 109, 0.45);
  color: #ffe8ed;
  background: rgba(255, 77, 109, 0.92);
}

.btn-danger:hover {
  border-color: rgba(255, 77, 109, 0.7);
  background: #ff4d6d;
}

.card-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.empty-state {
  grid-column: 1 / -1;
  border-radius: 8px;
  background: var(--dash-panel);
  border: 1px solid var(--dash-border);
}

.pagination a,
.pagination span {
  border-radius: 8px;
  border-color: var(--dash-border);
}

.active-page {
  background: var(--dash-accent);
  color: #07100b;
}

.profile-dashboard-card {
  max-width: 760px;
}

.profile-dashboard-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.profile-dashboard-head .profile-avatar {
  margin: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  font-size: 28px;
}

.profile-dashboard-head .profile-avatar-img {
  border: 1px solid var(--dash-border);
}

.profile-info {
  display: grid;
  gap: 10px;
  margin: 4px 0 16px;
}

.profile-info div {
  border-radius: 8px;
  border-color: var(--dash-border);
}

.collection-modal {
  position: fixed;
  width: min(430px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  padding: 20px;
  background: var(--dash-panel-strong);
  color: var(--dash-text);
  box-shadow: var(--dash-shadow);
  margin: auto;
  inset: 0;
  overflow: auto;
}

.collection-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* premium dashboard transaction and creator pages */
.premium-wallet-view,
.premium-mint-view {
  gap: 18px;
}

.premium-page-head {
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.15), rgba(93, 220, 255, 0.08)),
    var(--dash-panel);
  box-shadow: var(--dash-shadow);
}

.premium-page-head > div:first-child {
  align-self: center;
}

.premium-balance-card {
  width: min(340px, 100%);
  display: grid;
  gap: 8px;
  padding: 17px;
  border: 1px solid rgba(32, 224, 165, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.12), rgba(244, 201, 93, 0.08)),
    rgba(255, 255, 255, 0.04);
}

body.dashboard-body.light .premium-balance-card {
  background:
    linear-gradient(135deg, rgba(4, 120, 87, 0.1), rgba(180, 83, 9, 0.07)),
    rgba(17, 23, 19, 0.02);
}

.premium-balance-card span,
.premium-balance-card small,
.premium-metric-list span,
.crypto-step-list span,
.address-copy-card label,
.premium-history-row small {
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.premium-balance-card strong {
  color: var(--dash-text);
  font-size: 28px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.premium-flow-grid,
.premium-studio-grid,
.premium-edit-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.premium-flow-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
}

.premium-flow-grid > .premium-panel:last-child:nth-child(3) {
  grid-column: 1 / -1;
}

.deposit-method-switch {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

body.dashboard-body.light .deposit-method-switch {
  background: rgba(17, 23, 19, 0.04);
}

.deposit-method-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--dash-muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.deposit-method-tab.is-active {
  color: #07100b;
  background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
}

.deposit-method-panels,
.deposit-method-panel {
  display: grid;
  gap: 16px;
}

.deposit-method-panel[hidden] {
  display: none;
}

.manual-deposit-grid > .premium-panel:last-child:nth-child(2) {
  grid-column: auto;
}

.withdrawal-flow-grid,
.premium-studio-grid,
.premium-edit-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.premium-edit-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.mint-uploaded-grid {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.premium-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel);
  box-shadow: var(--dash-shadow);
}

.premium-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--dash-accent), var(--dash-accent-3), var(--dash-accent-2));
  opacity: 0.8;
}

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

.premium-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.premium-panel-head h2,
.nft-preview-panel h2,
.payout-summary-panel h2,
.edit-nft-body h2 {
  margin: 0;
  color: var(--dash-text);
  font-size: 16px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.premium-form {
  gap: 18px;
}

.dapp-deposit-form {
  align-self: stretch;
}

.direct-deposit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.direct-deposit-form {
  max-width: 430px;
  width: 100%;
}

.direct-deposit-guide {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

body.dashboard-body.light .direct-deposit-guide {
  background: rgba(17, 23, 19, 0.03);
}

.direct-deposit-guide h3 {
  margin: 0;
  color: var(--dash-text);
  font-size: 18px;
  line-height: 1.2;
}

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

.direct-guide-list span {
  display: flex;
  gap: 10px;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.direct-guide-list strong {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #07100b;
  background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
}

.dapp-deposit-status {
  min-height: 44px;
  padding: 12px 13px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  color: var(--dash-muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
}

.dapp-deposit-status:empty {
  display: none;
}

.dapp-deposit-status[data-state="success"] {
  border-color: rgba(32, 224, 165, 0.34);
  color: var(--dash-accent);
  background: rgba(32, 224, 165, 0.1);
}

.dapp-deposit-status.has-connection-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dapp-deposit-status[data-state="error"] {
  border-color: rgba(255, 107, 107, 0.34);
  color: var(--dash-danger);
  background: rgba(255, 107, 107, 0.1);
}

.dapp-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(7, 9, 8, 0.72);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  isolation: isolate;
}

.dapp-payment-modal.is-open {
  display: grid;
}

.dapp-payment-card {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

body.dapp-payment-open {
  overflow: hidden;
}

w3m-modal,
w3m-connect-modal,
appkit-modal,
reown-appkit-modal {
  position: fixed !important;
  z-index: 2147483647 !important;
}

.dapp-payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--dash-text);
  cursor: pointer;
}

.dapp-payment-close:disabled {
  cursor: wait;
  opacity: 0.58;
}

.dapp-payment-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dapp-modal-eyebrow {
  margin: 0;
  color: var(--dash-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dapp-payment-card h2 {
  margin: 0;
  padding-right: 42px;
  color: var(--dash-text);
  font-size: 24px;
  line-height: 1.12;
}

.dapp-connected-wallet {
  margin: 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid rgba(32, 224, 165, 0.28);
  border-radius: 8px;
  color: var(--dash-accent);
  background: rgba(32, 224, 165, 0.09);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.connection-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--dash-accent);
  box-shadow: 0 0 0 4px rgba(32, 224, 165, 0.14);
}

.connected-wallet-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.connected-wallet-address {
  color: #ffffff;
}

body.dashboard-body.light .connected-wallet-address {
  color: var(--dash-text);
}

.eth-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  border-radius: 50%;
  color: #627eea;
  background: rgba(98, 126, 234, 0.14);
}

.eth-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.dapp-payment-target {
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dapp-payment-error {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 107, 107, 0.34);
  border-radius: 8px;
  color: var(--dash-danger);
  background: rgba(255, 107, 107, 0.1);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dapp-payment-confirm-form {
  gap: 14px;
}

.premium-form-panel {
  min-width: 0;
}

.premium-form .errorlist {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 77, 109, 0.28);
  border-radius: 8px;
  color: #ff8fa3;
  background: rgba(255, 77, 109, 0.09);
  list-style: none;
  font-size: 13px;
}

.premium-file-field {
  padding: 16px;
  border: 1px dashed rgba(32, 224, 165, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.08), rgba(93, 220, 255, 0.06)),
    rgba(255, 255, 255, 0.03);
}

.wallet-qr-stage {
  display: grid;
  place-items: center;
  padding: 6px 0 2px;
}

.wallet-qr-card {
  width: min(270px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.wallet-qr-card .qr-img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  object-fit: contain;
}

.wallet-qr-empty {
  color: #07100b;
  text-align: center;
}

.wallet-qr-empty strong {
  font-size: 42px;
  line-height: 1;
}

.address-copy-card {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

body.dashboard-body.light .address-copy-card,
body.dashboard-body.light .premium-file-field {
  background: rgba(17, 23, 19, 0.03);
}

.premium-copy-box {
  margin: 0;
}

.crypto-step-list,
.premium-metric-list {
  display: grid;
  gap: 10px;
}

.crypto-step-list span,
.premium-metric-list span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

body.dashboard-body.light .crypto-step-list span,
body.dashboard-body.light .premium-metric-list span {
  background: rgba(17, 23, 19, 0.03);
}

.crypto-step-list strong {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07100b;
  background: var(--dash-accent);
  font-size: 12px;
}

.premium-metric-list span {
  grid-template-columns: minmax(0, 1fr) auto;
}

.premium-metric-list strong {
  color: var(--dash-text);
  text-align: right;
  overflow-wrap: anywhere;
}

.payout-summary-panel,
.nft-preview-panel {
  align-content: start;
}

.payout-orbit,
.nft-preview-art {
  width: min(220px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid rgba(32, 224, 165, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.24), rgba(93, 220, 255, 0.14)),
    rgba(255, 255, 255, 0.04);
}

.payout-orbit span,
.nft-preview-art span {
  color: var(--dash-text);
  font-size: 38px;
  font-weight: 900;
}

.art-preview-art {
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.2), rgba(93, 220, 255, 0.14)),
    rgba(255, 255, 255, 0.04);
}

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

.premium-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

body.dashboard-body.light .premium-history-row {
  background: rgba(17, 23, 19, 0.03);
}

.premium-history-row > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.premium-history-row strong,
.premium-history-row span {
  color: var(--dash-text);
  overflow-wrap: anywhere;
}

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

.withdrawal-fee-status {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.withdrawal-fee-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.withdrawal-fee-pill.is-paid {
  color: var(--dash-accent);
  background: rgba(32, 224, 165, 0.12);
}

.withdrawal-fee-pill.is-unpaid {
  color: var(--dash-danger);
  background: rgba(255, 107, 107, 0.12);
}

.withdrawal-fee-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(7, 9, 8, 0.72);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  isolation: isolate;
}

.withdrawal-fee-modal.is-open {
  display: grid;
}

.withdrawal-fee-card {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.withdrawal-fee-card h2 {
  margin: 0;
  padding-right: 42px;
  color: var(--dash-text);
  font-size: 24px;
  line-height: 1.12;
}

.withdrawal-fee-summary {
  margin: 0;
  color: var(--dash-muted);
}

.withdrawal-fee-summary strong {
  color: var(--dash-text);
}

.withdrawal-fee-status-line,
.withdrawal-fee-error,
#withdrawalFeeWalletStatus {
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

#withdrawalFeeWalletStatus.has-connection-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.withdrawal-fee-status-line[data-state="success"] {
  color: var(--dash-accent);
}

.withdrawal-fee-error {
  padding: 11px 12px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.1);
  color: var(--dash-danger);
}

.withdrawal-fee-switch {
  width: 100%;
}

.withdrawal-fee-panel {
  display: grid;
  gap: 14px;
}

.withdrawal-fee-panel[hidden] {
  display: none;
}

.withdrawal-fee-manual-form {
  gap: 14px;
}

.edit-nft-preview {
  padding: 0;
  overflow: hidden;
}

.edit-nft-preview::before {
  z-index: 2;
}

.edit-nft-image {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  display: block;
  object-fit: cover;
}

.edit-nft-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.edit-nft-body p {
  color: var(--dash-muted);
}

@media (max-width: 1080px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-105%);
    width: min(320px, 86vw);
    transition: transform 0.22s ease;
    box-shadow: var(--dash-shadow);
  }

  .dashboard-sidebar.is-open {
    transform: translateX(0);
  }

  .dash-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-overlay {
    position: fixed;
    inset: 0;
    z-index: 75;
    background: rgba(0, 0, 0, 0.55);
  }

  .dashboard-overlay.is-open {
    display: block;
  }

  .dashboard-mobilebar {
    display: flex;
  }

  .dashboard-mobilebar .dash-menu-button {
    display: inline-flex;
  }

  .dashboard-mobilebar .translate-shell {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    gap: 3px;
    padding: 0;
  }

  .dashboard-mobilebar .translate-shell::after {
    display: block;
  }

  .dashboard-mobilebar .translate-shell-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .dashboard-mobilebar .translate-shell-icon svg {
    width: 17px;
    height: 17px;
  }

  .dashboard-mobilebar .translate-widget,
  .dashboard-mobilebar .translate-widget > div,
  .dashboard-mobilebar .translate-shell .goog-te-gadget {
    position: absolute;
    inset: 0;
  }

  .dashboard-mobilebar .translate-shell .goog-te-combo {
    position: absolute;
    inset: 0;
    width: 42px;
    height: 42px;
    min-height: 42px;
    opacity: 0;
    cursor: pointer;
    z-index: 8;
    pointer-events: auto;
  }

  .dashboard-content {
    padding: 24px 20px 46px;
  }

  .overview-metric-grid,
  .overview-analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-pulse-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .dashboard-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-command-bar {
    grid-template-columns: 1fr;
  }

  .total-asset-panel {
    width: 100%;
  }

  .overview-balance-grid {
    width: 100%;
  }

  .dashboard-command-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .dashboard-hero,
  .form-panel-grid,
  .premium-flow-grid,
  .withdrawal-flow-grid,
  .premium-studio-grid,
  .mint-uploaded-grid,
  .premium-edit-grid,
  .direct-deposit-layout {
    grid-template-columns: 1fr;
  }

  .direct-deposit-form {
    max-width: none;
  }

  .manual-deposit-grid > .premium-panel:last-child:nth-child(2) {
    grid-column: auto;
  }

  .premium-balance-card {
    width: 100%;
  }

  .metric-grid,
  .action-grid,
  .overview-metric-grid,
  .overview-analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-form-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .dashboard-content {
    padding: 20px 14px 38px;
  }

  .dashboard-page-head h1,
  .dashboard-hero h1 {
    font-size: 27px;
  }

  .dashboard-hero,
  .dashboard-panel,
  .premium-page-head,
  .premium-panel,
  .metric-card,
  .action-tile,
  .total-asset-panel {
    padding: 16px;
  }

  .metric-grid,
  .action-grid,
  .overview-metric-grid,
  .overview-analytics-grid,
  .overview-balance-grid,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-actions,
  .dashboard-command-actions,
  .page-actions,
  .premium-panel-head,
  .modal-actions {
    flex-direction: column;
  }

  .dashboard-body .btn,
  .dashboard-search button,
  .copy-box button,
  .field-action-button,
  .inline-bid-form,
  .asset-bid-actions {
    width: 100%;
  }

  .bid-history-actions,
  .asset-bid-actions {
    justify-content: stretch;
  }

  .dashboard-search,
  .copy-box,
  .deposit-method-switch,
  .field-with-action,
  .dash-footer-actions,
  .bid-summary-grid,
  .my-bids-split,
  .premium-history-row,
  .withdrawal-history-row,
  .premium-metric-list span {
    grid-template-columns: 1fr;
  }

  .bid-history-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thumb"
      "main"
      "meta"
      "actions";
  }

  .bid-asset-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.62;
  }

  .bid-history-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-balance-card strong {
    font-size: 24px;
  }

  .wallet-qr-card {
    width: min(230px, 100%);
  }

  .premium-metric-list strong {
    text-align: left;
  }

  .asset-meta span {
    display: grid;
    gap: 2px;
  }

  .asset-meta b {
    text-align: left;
  }

  .bid-history-meta {
    text-align: left;
  }

  .bid-asset-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.7;
  }
}

/* premium asset detail pages */
body.asset-detail-body {
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(93, 220, 255, 0.12), transparent 38%),
    var(--bg);
}

body.asset-detail-body .logo,
body.asset-detail-body h1,
body.asset-detail-body h2,
body.asset-detail-body h3 {
  letter-spacing: 0;
}

body.asset-detail-body .btn {
  border-radius: 8px;
}

.asset-detail-page {
  overflow: hidden;
}

.asset-detail-messages {
  display: grid;
  gap: 10px;
  padding-top: 22px;
}

.asset-detail-hero {
  padding: 56px 0 34px;
}

.asset-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 22px;
  align-items: start;
}

.asset-media-panel,
.asset-trade-panel,
.asset-info-panel,
.asset-bids-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 18, 16, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

body.light .asset-media-panel,
body.light .asset-trade-panel,
body.light .asset-info-panel,
body.light .asset-bids-panel {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 52px rgba(17, 23, 19, 0.1);
}

.asset-media-panel {
  overflow: hidden;
}

.asset-media-frame {
  position: relative;
  aspect-ratio: 1 / 0.86;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.18), rgba(244, 201, 93, 0.1)),
    #0a0f0d;
}

.asset-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.asset-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}

.asset-proof-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

body.light .asset-proof-strip span {
  background: rgba(17, 23, 19, 0.03);
}

.asset-trade-panel,
.asset-info-panel,
.asset-bids-panel {
  padding: 24px;
}

.asset-title-block,
.asset-bid-form,
.owner-note,
.asset-info-panel,
.asset-bids-panel {
  display: grid;
  gap: 16px;
}

.asset-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.asset-title-block h1 {
  margin: 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.asset-title-block p:last-child,
.asset-info-panel p,
.owner-note span,
.bid-row span {
  color: var(--muted);
}

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

.asset-price-row span,
.asset-meta-list span,
.wallet-pill,
.owner-note,
.bid-row,
.asset-detail-table span {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

body.light .asset-price-row span,
body.light .asset-meta-list span,
body.light .wallet-pill,
body.light .owner-note,
body.light .bid-row,
body.light .asset-detail-table span {
  background: rgba(17, 23, 19, 0.03);
}

.asset-price-row span {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
}

.asset-price-row small,
.asset-meta-list small,
.wallet-pill span,
.asset-detail-table span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.asset-price-row strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

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

.asset-meta-list span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
}

.asset-meta-list strong,
.wallet-pill strong,
.asset-detail-table strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wallet-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.14), rgba(93, 220, 255, 0.1)),
    rgba(255, 255, 255, 0.045);
}

.asset-bid-form {
  padding-top: 8px;
}

.asset-purchase-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.buy-modal-card {
  position: relative;
  width: min(520px, 100%);
}

.buy-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.buy-modal-card h3,
.buy-option-card h4 {
  margin: 0;
  color: var(--text);
}

.buy-modal-subcopy,
.buy-option-card p,
.buy-payment-status,
.buy-payment-error {
  color: var(--muted);
}

.buy-option-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.buy-option-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.buy-option-card .is-collapsed {
  display: none !important;
}

body.light .buy-option-card {
  background: rgba(17, 23, 19, 0.03);
}

#buyWalletConnectionStatus.has-connection-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#buyWalletConnectionStatus .connection-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #20e0a5;
  box-shadow: 0 0 0 4px rgba(32, 224, 165, 0.14);
}

body.light #buyWalletConnectionStatus .connected-wallet-address {
  color: var(--text);
}

.buy-payment-status {
  min-height: 22px;
  font-size: 13px;
  font-weight: 800;
}

.buy-payment-status[data-state="success"] {
  color: var(--primary);
}

.buy-payment-error {
  padding: 11px 12px;
  border: 1px solid rgba(255, 77, 109, 0.28);
  border-radius: 8px;
  background: rgba(255, 77, 109, 0.1);
  color: #ff8aa1;
  font-size: 13px;
  font-weight: 800;
}

.buy-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.asset-bid-form h2,
.asset-info-panel h2,
.asset-bids-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.asset-bid-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.asset-bid-form label {
  color: var(--text);
  font-weight: 800;
}

.asset-bid-form input,
.asset-bid-form select,
.asset-bid-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

body.light .asset-bid-form input,
body.light .asset-bid-form select,
body.light .asset-bid-form textarea {
  background: rgba(17, 23, 19, 0.04);
}

.asset-bid-form .helptext {
  color: var(--muted);
  font-size: 12px;
}

.eth-input-usd-preview {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(32, 224, 165, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.eth-input-usd-preview.is-active {
  border-color: rgba(32, 224, 165, 0.28);
  color: var(--primary);
}

.eth-input-usd-preview.is-warning {
  border-color: rgba(255, 77, 109, 0.28);
  background: rgba(255, 77, 109, 0.1);
  color: #ff8aa1;
}

.owner-note {
  padding: 16px;
}

.owner-note strong {
  color: var(--text);
}

.asset-detail-section {
  padding: 14px 0 72px;
}

.asset-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: start;
}

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

.asset-detail-table span {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 13px;
}

.asset-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.asset-panel-head > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(32, 224, 165, 0.26);
  border-radius: 8px;
  color: var(--primary);
  background: rgba(32, 224, 165, 0.1);
  font-size: 12px;
  font-weight: 900;
}

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

.bid-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.bid-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07100b;
  font-weight: 900;
}

.bid-avatar-img {
  object-fit: cover;
}

.bid-details {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.bid-row strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

body.asset-detail-body .status-pill {
  width: fit-content;
  max-width: 100%;
  align-self: center;
  padding: 7px 10px;
  border: 1px solid rgba(93, 220, 255, 0.28);
  border-radius: 8px;
  color: #5ddcff;
  background: rgba(93, 220, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.asset-empty-state {
  padding: 24px;
}

.asset-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
}

.asset-modal-card {
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

body.light .asset-modal-card {
  background: #ffffff;
}

.asset-modal-card h3 {
  margin: 0;
  font-size: 22px;
}

.asset-modal-card p {
  color: var(--muted);
}

.asset-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.asset-modal .modal-actions form {
  margin: 0;
}

@media (max-width: 980px) {
  .asset-detail-layout,
  .asset-section-grid {
    grid-template-columns: 1fr;
  }

  .asset-media-frame {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .asset-detail-hero {
    padding: 28px 0 22px;
  }

  .asset-trade-panel,
  .asset-info-panel,
  .asset-bids-panel {
    padding: 18px;
  }

  .asset-title-block h1 {
    font-size: 32px;
  }

  .asset-media-frame {
    aspect-ratio: 1 / 1;
    min-height: 280px;
  }

  .asset-proof-strip,
  .asset-price-row,
  .asset-meta-list,
  .asset-detail-table {
    grid-template-columns: 1fr;
  }

  .asset-proof-strip span {
    min-height: 44px;
  }

  .bid-row,
  .wallet-pill,
  .asset-panel-head {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .bid-row .btn,
  .asset-modal .modal-actions .btn,
  .asset-modal .modal-actions form {
    width: 100%;
  }

  .asset-modal .modal-actions {
    flex-direction: column;
  }
}

.promotion-hero,
.promotion-callout,
.asset-promotion-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(32, 224, 165, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(14, 20, 17, 0.72);
  padding: 22px;
}

.promotion-hero {
  align-items: stretch;
}

.promotion-hero h1,
.promotion-callout h2,
.asset-promotion-callout h2 {
  margin: 0 0 8px;
  color: var(--dash-text, var(--text));
}

.promotion-hero p,
.promotion-callout p,
.asset-promotion-callout p {
  margin: 0;
  color: var(--dash-muted, var(--muted));
  max-width: 760px;
}

.promotion-balance-card {
  min-width: min(260px, 100%);
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
}

.promotion-balance-card span,
.promotion-balance-card small,
.promotion-option-card span,
.promotion-request-row span {
  color: var(--dash-muted);
}

.promotion-balance-card strong {
  color: var(--dash-text);
  font-size: 28px;
}

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

.promotion-option-card,
.promotion-radio-card,
.promotion-request-row {
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: var(--dash-panel);
  padding: 18px;
}

.promotion-option-card {
  display: grid;
  gap: 10px;
}

.promotion-option-card h2,
.promotion-option-card p {
  margin: 0;
}

.promotion-option-card strong {
  color: var(--dash-accent);
  font-size: 24px;
}

.promotion-form {
  display: grid;
  gap: 18px;
}

.promotion-form-label {
  margin: 0;
  color: var(--dash-text);
  font-weight: 800;
}

.promotion-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.promotion-radio-card:has(input:checked) {
  border-color: rgba(32, 224, 165, 0.5);
  background: rgba(32, 224, 165, 0.09);
}

.promotion-radio-card input {
  margin-top: 3px;
  accent-color: var(--dash-accent);
}

.promotion-radio-card span {
  display: grid;
  gap: 4px;
}

.promotion-radio-card b,
.promotion-request-row strong {
  color: var(--dash-text);
}

.promotion-radio-card small {
  color: var(--dash-muted);
}

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

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

.promotion-request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.promotion-request-row div {
  display: grid;
  gap: 4px;
}

.asset-promotion-callout {
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(10, 16, 13, 0.78);
}

body.light .promotion-option-card,
body.light .promotion-radio-card,
body.light .promotion-request-row {
  background: rgba(255, 255, 255, 0.82);
}

.promote-page {
  gap: 18px;
}

.promote-page .promotion-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  align-items: center;
  padding: 22px;
  border-color: var(--dash-border);
  background: var(--dash-panel);
  box-shadow: none;
}

.promote-page .promotion-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(32, 224, 165, 0.55);
  pointer-events: none;
}

.promote-page .promotion-hero > * {
  position: relative;
  z-index: 1;
}

.promote-page .promotion-hero h1 {
  max-width: 680px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}

.promote-page .promotion-hero p {
  max-width: 700px;
}

.promotion-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.promotion-hero-actions span {
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 700;
}

.promote-page .promotion-balance-card {
  align-self: auto;
  min-width: min(260px, 100%);
  border-color: var(--dash-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: none;
}

.promote-page .promotion-balance-card strong {
  font-size: 26px;
}

.promote-page .promotion-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.promote-page .promotion-option-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border-color: var(--dash-border);
  background: var(--dash-panel);
  box-shadow: none;
}

.promote-page .promotion-option-card::after {
  display: none;
}

.promotion-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.promotion-option-top span {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
}

.promotion-option-top strong {
  color: var(--dash-text);
  font-size: 22px;
}

.promote-page .promotion-option-card h2 {
  font-size: 22px;
  line-height: 1.18;
  color: var(--dash-text);
}

.promotion-option-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dash-muted);
}

.promotion-option-card li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 9px 2px 0;
  border-radius: 999px;
  background: var(--dash-accent);
  opacity: 0.75;
}

.promotion-form-panel {
  border-color: var(--dash-border);
}

.promotion-form .btn {
  justify-self: start;
}

.promote-page .promotion-radio-card {
  min-height: 78px;
  padding: 16px;
  border-color: var(--dash-border);
}

.promote-page .promotion-radio-card:has(input:checked) {
  border-color: rgba(32, 224, 165, 0.36);
  background: rgba(32, 224, 165, 0.06);
}

body.light .promote-page .promotion-balance-card,
body.light .promote-page .promotion-option-card,
body.light .promote-page .promotion-radio-card {
  background: #ffffff;
}

body.light .promote-page .promotion-hero::before {
  border-top-color: rgba(4, 120, 87, 0.42);
}

@media (max-width: 760px) {
  .promote-page,
  .promote-page * {
    min-width: 0;
  }

  .promote-page .promotion-hero,
  .promotion-callout,
  .asset-promotion-callout,
  .promote-page .promotion-request-row {
    align-items: stretch;
    flex-direction: column;
  }

  .promote-page .promotion-grid,
  .promote-page .promotion-choice-grid,
  .promote-page .promotion-asset-selects {
    grid-template-columns: minmax(0, 1fr);
  }

  .promote-page {
    gap: 14px;
  }

  .promote-page .promotion-hero {
    gap: 16px;
    padding: 18px;
  }

  .promote-page .promotion-hero h1 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .promotion-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .promotion-hero-actions .btn,
  .promotion-form .btn {
    width: 100%;
  }

  .promotion-hero-actions span {
    line-height: 1.4;
  }

  .promotion-callout,
  .asset-promotion-callout,
  .promote-page .promotion-balance-card {
    width: 100%;
  }

  .promote-page .promotion-option-card {
    padding: 16px;
  }

  .promote-page .promotion-option-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .promote-page .promotion-option-top strong,
  .promote-page .promotion-option-card h2,
  .promote-page .promotion-option-card p,
  .promote-page .promotion-radio-card b,
  .promote-page .promotion-radio-card small,
  .promote-page .promotion-request-row strong,
  .promote-page .promotion-request-row span {
    overflow-wrap: anywhere;
  }

  .promotion-form-panel,
  .promote-page .dashboard-panel {
    padding: 16px;
  }

  .promotion-form {
    gap: 14px;
  }

  .promote-page .promotion-radio-card {
    min-height: auto;
  }

  .promotion-request-row .status-pill {
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  .promote-page .promotion-hero,
  .promotion-form-panel,
  .promote-page .dashboard-panel {
    padding: 14px;
  }

  .promote-page .promotion-hero h1 {
    font-size: 28px;
  }

  .promote-page .promotion-balance-card strong,
  .promotion-option-top strong {
    font-size: 22px;
  }
}

/* legal pages */
.legal-page {
  background: var(--bg);
}

.legal-container {
  max-width: 920px;
}

.legal-date {
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 16px;
}

.legal-card {
  display: grid;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.legal-card h2 {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--muted);
}

.legal-card ul,
.legal-card ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  color: var(--muted);
}

/* standalone control area */
.control-body {
  --control-bg: #070908;
  --control-panel: rgba(18, 24, 21, 0.92);
  --control-panel-strong: #101712;
  --control-text: #f6f8f5;
  --control-muted: #9ba79f;
  --control-border: rgba(255, 255, 255, 0.12);
  --control-accent: #20e0a5;
  --control-accent-2: #f4c95d;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(32, 224, 165, 0.12), transparent 36%),
    linear-gradient(225deg, rgba(244, 201, 93, 0.1), transparent 40%),
    var(--control-bg);
  color: var(--control-text);
}

.control-container {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.control-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--control-border);
  background: rgba(7, 9, 8, 0.86);
  backdrop-filter: blur(18px);
}

.control-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.control-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
}

.control-brand span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07100b;
  background: linear-gradient(135deg, var(--control-accent), var(--control-accent-2));
}

.control-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.control-links a,
.control-link-muted {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--control-muted);
  font-size: 14px;
  font-weight: 800;
}

.control-links a.is-active,
.control-links a:hover,
.control-link-muted:hover {
  color: var(--control-text);
  background: rgba(255, 255, 255, 0.07);
}

.control-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-main {
  display: grid;
  gap: 18px;
  padding: 30px 0 54px;
}

.control-page {
  display: grid;
  gap: 18px;
}

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

.control-page-head h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.control-page-head p,
.control-panel p,
.control-metric small {
  color: var(--control-muted);
}

.control-kicker {
  margin: 0 0 8px;
  color: var(--control-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.control-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.control-metric,
.control-panel {
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: var(--control-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.control-metric {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.control-metric span {
  color: var(--control-muted);
  font-size: 13px;
  font-weight: 900;
}

.control-metric strong {
  color: var(--control-text);
  font-size: 30px;
  line-height: 1;
}

.control-panel {
  padding: 22px;
  overflow: hidden;
}

.control-form {
  display: grid;
  gap: 16px;
}

.control-section-head + .control-form,
.control-form + .control-table-wrap,
.control-spaced-form + .control-table-wrap {
  margin-top: 16px;
}

.control-spaced-form {
  margin-top: 10px;
}

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

.control-body .form-group {
  margin: 0;
}

.control-body label,
.control-form label,
.control-panel .form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--control-text);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  opacity: 1;
  visibility: visible;
}

body.control-body.light .control-form label,
body.control-body.light .control-panel .form-group label {
  color: var(--control-text);
}

.control-body input:not([type="checkbox"]):not([type="radio"]),
.control-body select,
.control-body textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--control-text);
  padding: 12px 14px;
  outline: none;
}

.control-body textarea {
  min-height: 120px;
  resize: vertical;
}

.control-body input:disabled,
.control-body select:disabled,
.control-body textarea:disabled {
  background: rgba(255, 255, 255, 0.035);
  color: rgba(224, 236, 229, 0.42);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  opacity: 0.65;
}

.control-checkbox-line {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--control-muted);
}

.control-checkbox-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--control-accent);
}

.control-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.control-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.control-table th,
.control-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--control-border);
  color: var(--control-text);
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}

.control-table th {
  color: var(--control-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.control-table tr:last-child td {
  border-bottom: none;
}

.control-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--control-accent);
  background: rgba(32, 224, 165, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.control-status-danger {
  color: #ff8fa3;
  background: rgba(255, 77, 109, 0.12);
}

.control-status-muted {
  color: var(--control-muted);
  background: rgba(255, 255, 255, 0.08);
}

.control-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 4, 0.72);
  backdrop-filter: blur(10px);
}

.control-confirm-modal[hidden] {
  display: none;
}

.control-confirm-card {
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: var(--control-panel-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.control-confirm-card h2 {
  margin: 0 0 8px;
  color: var(--control-text);
  font-size: 24px;
}

.control-confirm-card p {
  color: var(--control-muted);
}

.control-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.control-body .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--control-text);
  box-shadow: none;
}

.control-body .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

body.control-body.light .btn-outline {
  border-color: rgba(17, 23, 19, 0.2);
  background: rgba(17, 23, 19, 0.05);
  color: var(--control-text);
}

.control-action-stack {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.control-inline-form {
  margin: 0;
}

.control-asset-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.control-asset-cell img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  object-fit: cover;
}

.control-asset-cell span,
.control-table td {
  overflow-wrap: anywhere;
}

.control-text-link {
  color: var(--control-accent);
  font-weight: 900;
}

.control-qr-thumb {
  width: 52px;
  height: 52px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.control-form-note {
  color: var(--control-muted);
  font-size: 13px;
}

.control-empty-cell {
  color: var(--control-muted);
  text-align: center;
}

.control-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.control-pagination a,
.control-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  color: var(--control-text);
}

.control-pagination .is-active {
  color: #07100b;
  background: linear-gradient(135deg, var(--control-accent), var(--control-accent-2));
  border-color: transparent;
  font-weight: 900;
}

.control-messages {
  display: grid;
  gap: 10px;
}

.control-alert {
  padding: 13px 15px;
  border: 1px solid rgba(32, 224, 165, 0.28);
  border-radius: 8px;
  color: var(--control-text);
  background: rgba(32, 224, 165, 0.12);
}

.latest-bid-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 14, 0.62);
  backdrop-filter: blur(10px);
}

.latest-bid-popup.is-hidden {
  display: none;
}

.latest-bid-popup__card {
  position: relative;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(4, 120, 87, 0.96), rgba(9, 18, 16, 0.98) 58%, rgba(180, 83, 9, 0.9));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

body.dashboard-body.light .latest-bid-popup__card {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 201, 93, 0.24), transparent 34%),
    linear-gradient(145deg, #064e3b, #0b1814 56%, #713f12);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
}

.latest-bid-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.latest-bid-popup__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.latest-bid-popup__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.latest-bid-popup__eyebrow {
  margin: 0 44px 8px 0;
  color: #9ff7d5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.latest-bid-popup__card h2 {
  margin: 0 44px 10px 0;
  font-size: 28px;
  line-height: 1.15;
  color: #ffffff;
}

.latest-bid-popup__card p {
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
}

.latest-bid-popup__amount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 3px;
  padding: 4px 8px;
  border: 1px solid rgba(244, 201, 93, 0.4);
  border-radius: 8px;
  color: #fff7d6;
  background: rgba(244, 201, 93, 0.12);
  font-weight: 900;
  white-space: nowrap;
}

.latest-bid-popup__amount .eth-usd-value {
  color: #a7f3d0;
  font-size: 0.88em;
  font-weight: 800;
}

.latest-bid-popup__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .control-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .control-links,
  .control-actions {
    width: 100%;
    margin-left: 0;
  }

  .control-actions {
    justify-content: space-between;
  }

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

@media (max-width: 760px) {
  .legal-card {
    padding: 22px;
  }

  .control-container {
    width: min(100% - 24px, 1220px);
  }

  .control-links a {
    flex: 1 1 calc(33.333% - 8px);
    text-align: center;
  }

  .control-metric-grid,
  .control-form-grid {
    grid-template-columns: 1fr;
  }

  .control-panel {
    padding: 16px;
  }

  .control-table {
    min-width: 0;
  }

  .control-table,
  .control-table thead,
  .control-table tbody,
  .control-table tr,
  .control-table th,
  .control-table td {
    display: block;
  }

  .control-table thead {
    display: none;
  }

  .control-table tr {
    padding: 14px;
    border: 1px solid var(--control-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .control-table tr + tr {
    margin-top: 12px;
  }

  .control-table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.4fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--control-border);
  }

  .control-table td::before {
    content: attr(data-label);
    color: var(--control-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .control-table td:last-child {
    border-bottom: none;
  }

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

  .control-action-row .btn,
  .control-inline-form,
  .control-inline-form .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .control-links a {
    flex-basis: calc(50% - 8px);
  }

  .control-table td {
    grid-template-columns: 1fr;
  }
}
