/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@keyframes flashing {
  0% {
    color: #000;
    opacity: 0.3;
  }
  100% {
    color: #000;
    opacity: 1;
  }
}
@-webkit-keyframes flashing {
  0% {
    color: #000;
    opacity: 0.3;
  }
  100% {
    color: #000;
    opacity: 1;
  }
}
@-o-keyframes flashing {
  0% {
    color: #000;
    opacity: 0.3;
  }
  100% {
    color: #000;
    opacity: 1;
  }
}

a {
  color: #7cb4ff;
  text-decoration: none;
}

:root {
  --bg-deep: #050816;
  --bg-mid: #0d1835;
  --bg-soft: rgba(10, 20, 44, 0.72);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-dark: rgba(7, 13, 30, 0.82);
  --text-primary: #f5f7ff;
  --text-muted: rgba(235, 241, 255, 0.72);
  --ink: #10203f;
  --ink-soft: #42567f;
  --border-soft: rgba(255, 255, 255, 0.12);
  --blue-accent: #6ea8ff;
  --blue-strong: #2d78ff;
  --gold-accent: #ffd36a;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.35);
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(110, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255, 211, 106, 0.14), transparent 24%),
    linear-gradient(160deg, #030712 0%, #0a1531 38%, #1d4375 100%);
  color: var(--text-primary);
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(4, 10, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .navbar {
  min-height: 78px;
  gap: 1rem;
}

.site-header-shell {
  width: 100%;
  max-width: none;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(110, 168, 255, 0.2), rgba(255, 211, 106, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-panel {
  border-radius: 24px;
}

.nav-link {
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.nav-link:hover {
  opacity: 1;
}

.nav-item-with-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.9rem;
  min-height: 1.65rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7b69, #ff3f63);
  box-shadow: 0 10px 24px rgba(255, 84, 110, 0.28);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .site-header {
    background: rgba(4, 10, 24, 0.94);
  }

  .site-header .navbar {
    min-height: 72px;
    width: 100%;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    justify-content: space-between;
  }

  .site-header .navbar-brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    margin-right: 0;
    max-width: calc(100% - 56px);
  }

  .site-header .navbar-toggler {
    flex: 0 0 auto;
  }

  .nav-panel {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    background: rgba(5, 11, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .nav-panel .navbar-nav {
    align-items: stretch !important;
    gap: 0.35rem;
  }

  .nav-panel .nav-link {
    display: flex;
    align-items: center;
    padding: 0.82rem 0.2rem;
  }

  .nav-item:not(:last-child) {
    padding-right: 0;
  }

  .nav-item-with-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-copy {
    min-width: 0;
  }

  .site-wallet-button {
    width: 100%;
    min-width: 0;
  }
}

.nav-item:not(:last-child) {
  padding-right: 1em;  
}

.wrapper {
  min-height: 100vh;
  padding-top: 2.5rem;
}

.content {
  padding-bottom: 140px;
}

.footer-text {
  opacity: 0.78;
  margin-left: 1rem;
}

.footer-text:hover {
  opacity: 1;
}

.footer {
  width: 100%;
  color: white;
  font-size: 0.92em;
  line-height: 1.7em;
  padding: 2rem 0 2.5rem;
}

.footer-shell {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 2rem;
  border-radius: 28px;
  background: rgba(4, 10, 24, 0.7);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.footer-brand,
.footer-links {
  max-width: 520px;
}

.footer-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold-accent);
}

.footer-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-summary {
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  justify-items: center;
}

.footer-link-group {
  padding-top: 0.2rem;
}

.footer-group-title {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: center;
}

.footer-email {
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .footer-grid {
    flex-direction: column;
    padding: 1.4rem;
  }

  .footer-text {
    margin-left: 0;
    margin-right: 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

.logo {
  width: 175px;
  position: relative;
  left: -10px;
  top: -5px;
}

.copy {
  cursor: copy;
  position: relative;
}

.copy:after, .copy:before {
  -webkit-transition: all .2s ease 0s;
  -o-transition: all .2s ease 0s;
  transition: all .2s ease 0s;
}

.copy:before {
  border-color: transparent transparent #000 transparent;
  border-style: solid;
  border-width: .5em;
  content: "";
  left: 50%;
  margin-left: -0.5em;
  margin-top: -0.5em;
  opacity: 0;
  position: absolute;
  visibility: hidden;
  top: 100%;
  font-size: .85rem;
}

.copy:after {
  align-items: center;
  background-color: #000;
  border-radius: 2em;
  border: .4em solid transparent;
  box-shadow: 4px 4px 8px rgb(0 0 0 / 30%);
  color: #fff;
  content: "Copied";
  display: flex;
  font-size: .85rem;
  font-weight: 600;
  font-style: normal;
  justify-content: center;
  left: 50%;
  margin: 0.5em auto;
  opacity: 0;
  padding: 0 .8em .1em;
  pointer-events: none;
  position: absolute;
  top: 100%;
  visibility: hidden;
  white-space: nowrap;
  z-index: 999999;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.copied:after, .copied:before {
    opacity: 1;
    visibility: visible;
}

.currency-indicator-image {
  vertical-align: middle;
  margin-top: -8px;
  margin-right: 5px;
  max-width: 32px;
}

#currency-indicator {
  padding-bottom: .15em;
  overflow: hidden;
  vertical-align: top;
  position: relative;
  white-space: nowrap;
}

@media (max-width: 449px) {
  #currency-indicator {
    display: block;
    width: fit-content;
    margin: auto;
    padding-top: 5px;
  }
}

#currency-indicator::after {
  /* loading bar */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #4A90E2;
  z-index: 2;
  -webkit-transition: width 0.3s -0.1s;
  -moz-transition: width 0.3s -0.1s;
  transition: width 0.3s -0.1s;
}

#currency-indicator.is-loading::after {
  width: 100%;
  -webkit-transition: width 3s;
  -moz-transition: width 3s;
  transition: width 3s;
}

#exchange-container, #order-container, #statistics-container, #faq-container {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  padding: 32px 16px;
  border: 1px solid rgba(15, 32, 63, 0.08);
}

@media (min-width: 530px) {
  #exchange-container, #order-container, #statistics-container, #faq-container {
    border-radius: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px;
  }
}

#previous-transactions {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  margin-top: 16px;
  border: 1px solid rgba(15, 32, 63, 0.08);
}

@media (min-width: 530px) {
  #previous-transactions {
    border-radius: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 32px;
  }
}

svg > g > g:last-child { pointer-events: none }

#order-container form {
  position: relative;
}

ul.previous-list, ul.dashboard-list {
  padding: 0;
  margin: 0;
}

ul.previous-list>li, ul.dashboard-list>li>div:first-child {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: table;
  font-size: .9em;
  height: 3.3em;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

ul.dashboard-list>li>div {
  -webkit-appearance: none;
}

ul.previous-list>li>div, ul.dashboard-list>li>div>div {
  display: table-cell;
  vertical-align: middle;
}

ul.dashboard-list>li {
  list-style: none;
}

.previous-list .from-currency, .dashboard-list .from-currency {
  text-align: right;
}

.previous-list .to-currency, .dashboard-list .to-currency  {
  text-align: left;
}

@media (max-width: 399px) {
  .previous-list .from-currency>span, .previous-list .to-currency>span, .dashboard-list .from-currency>span, .dashboard-list .to-currency>span {
    display: none;
  }
  .previous-list .from-currency, .previous-list .to-currency, .dashboard-list .from-currency, .dashboard-list .to-currency {
    width: 2em;
  }
}

.previous-list .dir-arrow, .dashboard-list .dir-arrow {
  width: 3em;
}

.previous-list .dir-arrow>i, .dashboard-list .dir-arrow>i {
  font-size: 16px;
}

.previous-list .previous-time, .dashboard-list .previous-time {
  text-align: left;
}

.previous-list .amount, .dashboard-list .amount {
  text-align: right;
  font-weight: bold;
}

.dashboard-list th {
  padding-right: 2em;
}

.dashboard-list tr {
  text-align: left;
}

legend {
  line-height: 1.1;
}

.form-control,
.form-select {
  min-height: 3.35rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border-color: rgba(20, 32, 66, 0.16);
  font-size: 1rem;
  line-height: 1.45;
}

textarea.form-control {
  min-height: 7.5rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.dropdown-searchbox .form-control {
  min-height: 3.1rem;
}

.form-control:focus {
  box-shadow: none;
  border-color: rgba(45, 120, 255, 0.42);
}

.form-control.is-invalid:focus {
  box-shadow: none;
}

/*.form-floating>.form-control {
  height: initial;
  padding: .375rem .75rem;
}

.form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
  padding: .375rem .75rem;
}

.form-floating>label {
  padding: .375rem .75rem;
}

.form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
  padding: 0 0.75rem;
  opacity: 1;
  height: auto;
  background-color: white;
  background-clip: content-box;
  transform: scale(.85) translateY(-0.8rem) translateX(0.15rem);
}
*/
.subtitle {
  font-size: 0.6em;
}

#currency-selection.is-invalid svg, #currency-selection.is-valid svg {
  margin-right: 30px!important;
}

.currency-toggle button:not(.active-toggle):hover:not([disabled]) {
  text-decoration: underline;
}

button:not(.loading) .fa-spin {
  display: none;
}

.fa-spin {
  animation: fa-spin 2s infinite linear;
}
@-webkit-keyframes fa-spin { 
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform:rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.active-toggle {
  font-weight: bold;
}

.funcbuttons {
  bottom: 2px;
  position: absolute;
  right: 8px;
}

.funcbuttons>div {
  background-color: transparent;
  border: 0;
  color: #555;
  cursor: pointer;
  font-size: 26px;
}

.funcbuttons>div:hover {
  color: #000;
}

.scan-qr-outer {
  background-color: #000;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  opacity: 1;
  z-index: 1000;
  -webkit-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.scan-qr-outer:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.scan-qr-outer>canvas {
  display: inline-block;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
  width: 100%;
}

.scan-qr-outer.maxvertical>canvas {
  height: 100%;
  width: auto;
}

.scan-qr-loading {
  color: #fff;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 100%;
}

.popup-close {
  color: #c5c5c5;
  cursor: pointer;
  font-size: 30px;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.popup-close:hover {
  color: #cc2d2d;
}

#order-timer {
  position: absolute;
  right: 0;
  padding: 8px;
  border-radius: 5px;
  font-weight: bold;
}

#timeline-steps {
  display: flex;
  list-style-type: none;
}

#timeline-steps li:before,
#timeline-steps li.active ~ li:before {
  border-bottom-color: #000;
  opacity: 0.25;
}

#timeline-steps li:not(:last-child):before {
  border-bottom-color: #000;
  border-bottom-style: solid;
  border-bottom-width: 3px;
  content: "";
  display: block;
  height: 0;
  left: 62%;
  left: calc(50% + 2em);
  opacity: .25;
  position: absolute;
  top: 0.8em;
  width: 76%;
  width: calc(100% - 4em);
}

#order-timeline ol.expired li > div,
#timeline-steps li.active ~ li:not(.active) > div {
  color: #000;
  opacity: 0.4;
}

#timeline-steps li.active > div {
  opacity: 1;
  -webkit-animation: flashing .7s ease-out infinite alternate;
  -o-animation: flashing .7s ease-out infinite alternate;
  animation: flashing .7s ease-out infinite alternate;
  will-change: opacity,color;
}

#timeline-steps li > div {
  color: #000;
  opacity: 1;
}

#timeline-steps li {
  position: relative;
  width: 25%;
  text-align: center;
  font-size: 0.7em;
  font-weight: bold;
}

@media (min-width: 530px) {
  #timeline-steps li {
    font-size: 0.8em;
  }
}

.timeline-step {
  display: block;
  width: 100%;
  height: 30px;
  font-size: 24px;
}

.order-details, .memo, .expired {
  font-size: 0.9em;
}

.order-qrcode img {
  width: 100%;
}

.accordion-item {
  border: none;
  box-shadow: 0 16px 40px rgba(8, 20, 44, 0.16);
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion ol {
  padding-left: 1em;
  margin-bottom: 0;
}

.accordion-button {
  font-weight: bold;
  border-radius: 10px;
}

:root {
  --home-section-gap: 3.2rem;
  --home-section-padding: 2.35rem;
}

.hero-shell,
.trending-shell,
.feature-band,
.ecosystem-showcase,
.download-strip {
  margin-bottom: var(--home-section-gap);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: var(--home-section-padding);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(255, 211, 106, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(8, 17, 38, 0.92), rgba(20, 44, 84, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.hero-chip,
.section-kicker,
.hero-visual-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-title,
.feature-band-heading h2,
.portfolio-heading h2,
.portfolio-section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.hero-kicker {
  margin: 0;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-title {
  margin: 0.85rem 0 1rem;
  max-width: 13.5ch;
  font-size: clamp(2.5rem, 4.2vw, 5rem);
  line-height: 0.92;
}

.hero-lead {
  max-width: 66ch;
  font-size: 1.06rem;
  color: rgba(235, 241, 255, 0.78);
  line-height: 1.75;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.45rem;
  justify-content: center;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
}

.hero-button-primary {
  color: #061124;
  background: linear-gradient(135deg, #fff2cb, #ffffff 42%, #dbe7ff);
}

.hero-button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-button-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-inline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.hero-inline-points span,
.feature-card,
.ecosystem-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.hero-inline-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: none;
}

.feature-band,
.ecosystem-showcase,
.trending-shell {
  padding: var(--home-section-padding);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(8, 17, 38, 0.82), rgba(15, 30, 61, 0.78));
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.feature-band-heading {
  margin-bottom: 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-band-heading .section-kicker {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--gold-accent);
}

.feature-band-heading h2 {
  margin: 0.75rem 0 0;
  max-width: 18ch;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.feature-card-grid,
.ecosystem-grid {
  display: grid;
  gap: 1.25rem;
}

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

.feature-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.9), rgba(19, 36, 71, 0.78));
  border-color: rgba(255, 255, 255, 0.08);
  min-height: 100%;
  text-align: center;
}

.feature-card h3,
.ecosystem-card h3 {
  margin-bottom: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.feature-card p,
.ecosystem-card p {
  margin: 0;
  color: var(--text-muted);
}

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

.ecosystem-card {
  display: block;
  padding: 1.15rem 1.2rem;
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.84), rgba(17, 33, 66, 0.72));
  border-color: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  text-align: center;
}

.ecosystem-card:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: rgba(110, 168, 255, 0.28);
  background: linear-gradient(180deg, rgba(14, 29, 58, 0.92), rgba(22, 41, 82, 0.84));
}

.feature-card h3,
.ecosystem-card h3,
.feature-band-heading h2,
.trending-card h3 {
  color: var(--text-primary);
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.market-pulse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 1.25rem;
}

.market-pulse-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.9), rgba(19, 36, 71, 0.78));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.market-pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.market-pulse-link {
  color: #cfe0ff;
  font-size: 0.88rem;
  font-weight: 600;
}

.market-pulse-list {
  display: grid;
  gap: 0.8rem;
}

.market-pulse-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.market-pulse-row:hover {
  color: var(--text-primary);
}

.market-pulse-main,
.market-pulse-side {
  display: grid;
  gap: 0.18rem;
}

.market-pulse-label {
  color: var(--gold-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-pulse-side {
  justify-items: end;
  text-align: right;
}

.market-pulse-price {
  color: rgba(245, 247, 255, 0.95);
  font-weight: 700;
}

.market-pulse-move {
  color: #78e6a1;
  font-size: 0.88rem;
  font-weight: 700;
}

.market-pulse-time {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.market-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.market-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
}

.market-category-chip:hover {
  color: #fff;
  border-color: rgba(110, 168, 255, 0.28);
}

.market-pulse-copy {
  margin: 1rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.trending-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.9), rgba(19, 36, 71, 0.78));
  color: var(--text-primary);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  text-align: center;
}

.trending-card:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: rgba(110, 168, 255, 0.28);
  background: linear-gradient(180deg, rgba(14, 29, 58, 0.92), rgba(22, 41, 82, 0.84));
}

.trending-family {
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.trending-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.trending-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trending-price {
  color: rgba(245, 247, 255, 0.92);
  font-weight: 700;
}

.trending-change {
  color: #78e6a1;
  font-size: 0.9rem;
  font-weight: 700;
}

.support-note {
  margin-top: 1.25rem;
  color: var(--text-muted);
  text-align: center;
}

.download-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0;
  justify-content: center;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex: 1 1 280px;
  min-height: 60px;
  border-radius: 20px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}

.download-button-dark {
  color: #fff;
  background: rgba(4, 10, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.download-button-dark:hover {
  color: #fff;
}

.portfolio-shell,
.portfolio-section {
  margin-bottom: var(--home-section-gap);
  padding: var(--home-section-padding);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 17, 38, 0.82), rgba(15, 30, 61, 0.78));
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-shell {
  text-align: center;
}

.portfolio-heading,
.portfolio-section-heading {
  margin-bottom: 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portfolio-title {
  margin: 0.75rem 0 0;
  max-width: 24ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.portfolio-lead {
  max-width: 72ch;
  margin: 1rem auto 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.portfolio-connected-address {
  margin: 1rem auto 0;
  width: fit-content;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 255, 0.88);
  font-size: 0.92rem;
}

.portfolio-section-heading h2 {
  margin: 0.75rem 0 0;
  max-width: 24ch;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.portfolio-actions {
  margin-bottom: 1.6rem;
}

.portfolio-summary-grid,
.portfolio-holdings-grid,
.portfolio-order-grid {
  display: grid;
  gap: 1.25rem;
}

.portfolio-wallet-gate[hidden] {
  display: none !important;
}

.portfolio-empty-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.8rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.9), rgba(19, 36, 71, 0.78));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.portfolio-empty-card h2 {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.portfolio-empty-card p {
  max-width: 60ch;
  margin: 1rem auto 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.portfolio-empty-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

.portfolio-live-note {
  margin-top: 1.2rem;
  color: var(--text-muted);
  text-align: center;
}

.portfolio-holding-empty,
.portfolio-activity-empty {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  line-height: 1.65;
}

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

.portfolio-summary-card,
.portfolio-holding-card,
.portfolio-table-card,
.portfolio-activity-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.9), rgba(19, 36, 71, 0.78));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.portfolio-summary-card {
  padding: 1.35rem 1.1rem;
  text-align: left;
}

.portfolio-summary-label,
.portfolio-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.36rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-summary-value {
  display: block;
  margin-top: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  letter-spacing: -0.04em;
}

.portfolio-summary-detail {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.portfolio-holding-card,
.portfolio-table-card {
  padding: 1.4rem;
}

.portfolio-holding-top,
.portfolio-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-holding-value {
  color: rgba(245, 247, 255, 0.92);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.portfolio-holding-card h3,
.portfolio-table-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
}

.portfolio-holding-card p {
  margin: 0.75rem 0 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.portfolio-holding-list,
.portfolio-mini-table {
  display: grid;
  gap: 0.7rem;
}

.portfolio-holding-row,
.portfolio-mini-row,
.portfolio-activity-row {
  display: grid;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.portfolio-holding-row div {
  display: grid;
  gap: 0.18rem;
}

.portfolio-holding-row strong,
.portfolio-activity-event strong {
  color: rgba(245, 247, 255, 0.96);
}

.portfolio-holding-row span,
.portfolio-activity-event span {
  color: var(--text-muted);
}

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

.portfolio-mini-row {
  grid-template-columns: 1.05fr 1fr 0.8fr 0.9fr;
  font-size: 0.95rem;
}

.portfolio-mini-head {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-activity-card {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.portfolio-activity-row {
  grid-template-columns: 1.2fr 1fr auto auto;
}

.search-shell,
.inscribe-shell {
  display: grid;
  gap: var(--home-section-gap);
}

.search-hero,
.search-results-shell,
.inscribe-hero,
.inscribe-workspace {
  padding: var(--home-section-padding);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 17, 38, 0.82), rgba(15, 30, 61, 0.78));
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-hero,
.inscribe-hero {
  text-align: center;
}

.search-hero h1,
.inscribe-hero h1 {
  margin: 0.75rem auto 0;
  max-width: 16ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.search-lead,
.inscribe-lead {
  max-width: 68ch;
  margin: 1rem auto 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.search-meta-strip,
.inscribe-meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.search-meta-strip span,
.inscribe-meta-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
}

.search-hero-form {
  max-width: 760px;
  margin: 0 auto;
}

.search-hero-input .btn {
  min-width: 72px;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.search-status-card {
  max-width: 760px;
  margin: 1.1rem auto 0;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  line-height: 1.7;
}

.search-results-shell .pagination {
  margin-bottom: 1.5rem;
}

.search-empty-state {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-height: 260px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  align-content: center;
}

.search-empty-state h2 {
  margin: 0;
  max-width: 18ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.search-empty-state p {
  max-width: 56ch;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.search-empty-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.search-empty-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 255, 0.92);
  font-weight: 600;
}

.search-empty-links a:hover {
  color: #fff;
  border-color: rgba(110, 168, 255, 0.3);
}

.search-result-card {
  overflow: hidden;
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.96), rgba(19, 36, 71, 0.84));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.search-result-card .card-body,
.search-result-card .card-footer {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

.search-result-card .card-title,
.search-result-card .card-subtitle,
.search-result-card .card-text,
.search-result-card .date {
  color: var(--text-primary);
}

.search-result-card .card-subtitle,
.search-result-card .date {
  color: var(--text-muted);
}

.search-result-card .card-text {
  margin-top: 0.85rem;
  word-break: break-word;
}

.inscribe-help-link {
  margin-top: 1rem;
}

.inscribe-workspace {
  background: linear-gradient(180deg, rgba(8, 17, 38, 0.88), rgba(14, 28, 56, 0.82));
}

.inscribe-tabs {
  gap: 0.6rem;
}

.inscribe-tabs .nav-link {
  border: none;
  border-radius: 16px 16px 0 0;
  padding: 0.9rem 1.15rem;
  font-weight: 700;
}

.inscribe-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.inscribe-tab-muted {
  background: rgba(255, 255, 255, 0.16);
}

.inscribe-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.inscribe-intro-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.inscribe-intro-row > div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(16, 32, 63, 0.06);
}

.inscribe-intro-row strong {
  display: block;
  color: var(--ink);
}

.inscribe-intro-row p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.inscribe-field-label {
  color: var(--ink);
  font-weight: 600;
}

.inscribe-note {
  color: var(--ink-soft);
  line-height: 1.65;
}

.portfolio-activity-flow,
.portfolio-activity-value,
.portfolio-activity-time {
  color: rgba(245, 247, 255, 0.9);
}

.portfolio-activity-time {
  color: var(--text-muted);
}

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

  .hero-title {
    max-width: 14ch;
  }

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

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

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

  .market-pulse-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767.98px) {
  :root {
    --home-section-gap: 2.2rem;
    --home-section-padding: 1.7rem;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .container,
  .container-fluid,
  .wrapper,
  .content,
  .site-header-shell,
  .footer-shell,
  .market-overview-shell,
  .market-overview-shell-inner,
  .market-overview-table-wrap {
    width: 100%;
    max-width: 100%;
  }

  .container,
  .container-fluid,
  .wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .market-overview-shell > .market-overview-shell-inner,
  .market-overview-shell-inner > .market-overview-hero,
  .market-overview-shell-inner > .market-overview-pickers,
  .market-overview-shell-inner > .market-overview-tabs,
  .market-overview-shell > .market-overview-table-wrap {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .brand-lockup {
    gap: 0.7rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

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

  .wrapper {
    padding-top: 1.2rem;
  }

  .hero-shell,
  .feature-band,
  .ecosystem-showcase,
  .trending-shell,
  .search-hero,
  .search-results-shell,
  .inscribe-hero,
  .inscribe-workspace,
  .portfolio-shell,
  .portfolio-section {
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
  }

  .feature-card-grid,
  .ecosystem-grid,
  .trending-grid,
  .market-pulse-grid,
  .inscribe-intro-row,
  .portfolio-summary-grid,
  .portfolio-holdings-grid,
  .portfolio-order-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
    font-size: 2.35rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-inline-points {
    justify-content: center;
  }

  .search-hero h1,
  .inscribe-hero h1 {
    max-width: none;
    font-size: 2.2rem;
  }

  .hero-button,
  .download-button {
    width: 100%;
  }

  .portfolio-holding-top,
  .portfolio-table-header,
  .market-pulse-row,
  .portfolio-mini-row,
  .portfolio-activity-row {
    grid-template-columns: 1fr;
  }

  .portfolio-holding-top,
  .portfolio-table-header {
    align-items: flex-start;
  }

  .market-pulse-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .market-pulse-side {
    justify-items: start;
    text-align: left;
  }

  .market-detail-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .market-detail-toolbar .dropdown,
  .market-detail-toolbar .col-auto {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .market-detail-toolbar .dropdown > .btn {
    width: 100% !important;
    max-width: none !important;
  }

  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .market-tabs-shell {
    gap: 0.2rem;
  }

  .market-tab-button {
    min-height: 3rem;
  }

  .market-table-panel {
    overflow-x: auto;
  }

  .market-action-modal {
    width: min(94vw, 420px);
  }

  #marketListingBuyScreen.market-action-modal {
    width: min(94vw, 390px);
  }

  .market-action-modal-body,
  #marketListingBuyScreen .market-action-modal-body {
    max-width: 100%;
  }

  .carousel-control-prev,
  .carousel-control-next {
    opacity: 0.45;
  }
}

@media (max-width: 575.98px) {
  .wrapper {
    padding-top: 0.9rem;
  }

  .site-header {
    padding-left: 0;
    padding-right: 0;
  }

  .site-header-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header .navbar {
    gap: 0.5rem;
    min-height: 64px;
    padding-left: 0;
    padding-right: 0;
  }

  .brand-lockup {
    align-items: center;
    gap: 0.55rem;
    max-width: calc(100% - 52px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-mark img {
    width: 27px;
    height: 27px;
  }

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

  .navbar-toggler {
    padding: 0.35rem 0.45rem;
    margin-left: auto;
  }

  .market-overview-hero .h1 {
    font-size: 1.45rem;
    line-height: 1.12;
  }

  .market-overview-lead {
    font-size: 0.94rem;
  }

  .market-overview-tabs-shell {
    flex-direction: column;
    gap: 0.35rem;
  }

  .market-overview-tabs-shell > a {
    width: 100%;
    font-size: 0.82rem;
    gap: 0.3rem !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .market-overview-table {
    display: none;
  }

  .market-overview-mobile-list {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
  }

  .market-overview-mobile-header {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .market-overview-summary {
    padding: 0.9rem 0.8rem !important;
  }

  .market-overview-summary-item {
    align-items: center;
    text-align: center;
  }

  .hero-shell,
  .feature-band,
  .ecosystem-showcase,
  .trending-shell,
  .search-hero,
  .search-results-shell,
  .inscribe-hero,
  .inscribe-workspace,
  .portfolio-shell,
  .portfolio-section,
  .footer-grid {
    border-radius: 20px;
  }

  .footer {
    padding-top: 1.5rem;
    padding-bottom: 1.8rem;
  }

  .footer-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-grid {
    width: 100%;
    padding: 1.25rem 1rem;
    gap: 1.1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-brand,
  .footer-links,
  .footer-link-group {
    width: 100%;
    max-width: none;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-summary {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .footer-link-row {
    width: 100%;
    gap: 0.45rem 0.85rem;
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead,
  .market-overview-lead,
  .wallet-required-copy p {
    line-height: 1.6;
  }

  .market-listing-card-body {
    min-height: 0;
    padding: 0.9rem 0.9rem 0.75rem;
  }

  .market-listing-card-title {
    min-height: 0;
    font-size: 1.7rem;
  }

  .market-listing-card-address {
    text-align: center;
  }

  .market-listing-card-totals {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.25rem;
    text-align: center;
  }

  .market-listing-card-total-usd {
    text-align: center;
  }

  .site-wallet-button {
    font-size: 0.96rem;
  }
}

.accordion-item:first-of-type .accordion-button {
  border-radius: 10px;
}

.accordion-button:focus {
  z-index: 3;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: none;
}

.carousel-control-prev, .carousel-control-next {
  opacity: 0;
}

#inscriptionSelector input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

#inscriptionSelector input[type="radio"]:checked + label {
  background-color: #86b7fe;
}

#inscriptionSelector label {
  width: 100%;
  border-radius: inherit;
}

#inscriptionSelector label:hover {
  background-color: lightblue;
}

.invalid {
  background: #ff000038;
}

.disclaimer {
  clear: both;
  font-size: 0.7em;
  text-align: center;
}

.wallet-div {
  position: absolute;
  right: 0px;
}

.wallet-button {
  display: inline-flex;
  user-select: none;
  position: relative;
  align-items: center;
  vertical-align: middle;
  width: auto;
  outline: transparent solid 2px;
  transition-property: background;
  transition-duration: 250ms;
  line-height: 1.2;
  border-width: 0;
  border-radius: 0.4em;
  background: rgb(74, 144, 226);
  height: 2.5em;
  padding-left: 1em;
  padding-right: 1em;
}

.wallet-button:hover {
  background: rgb(74, 144, 255);
}

.wallet-button > i {
  font-size: larger;
}

.wallet-text {
  margin: 0;
  margin-left: 0.5em;
}

#web3-disconnect {
  background: rgba(74, 144, 226, 0.2);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.market-listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(20, 32, 66, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(8, 16, 36, 0.12);
}

.market-listing-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  padding: 1rem 1rem 0.85rem;
}

.market-listing-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 72px;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

.market-listing-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.9rem 1rem 1rem;
  background: rgba(244, 247, 252, 0.92);
}

.market-listing-card-price,
.market-listing-card-price-usd {
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.market-listing-card-address {
  text-align: right;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.market-listing-card-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
}

.market-listing-card-total-value,
.market-listing-card-total-usd {
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.market-listing-card-total-usd {
  text-align: right;
  white-space: nowrap;
}

.market-summary-strip {
  align-items: stretch;
}

.market-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.market-summary-value {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 1.04rem;
}

.dropdown-menu.market-asset-menu {
  width: min(360px, calc(100vw - 32px)) !important;
}

.market-asset-menu .dropdown-item {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.market-asset-menu .item-info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.market-asset-menu .item-info span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-asset-menu .item-info span:last-child {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.market-overview-shell {
  display: grid;
  gap: 1.4rem;
}

.market-overview-shell-inner {
  display: grid;
  gap: 1rem;
}

.market-overview-hero {
  padding: var(--home-section-padding) 0 0;
}

.market-overview-hero .h1 {
  max-width: 19ch;
}

.market-overview-lead {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.market-overview-pickers .dropdown > .btn {
  min-width: 150px;
}

.market-overview-pickers {
  justify-content: center;
}

.market-picker-button {
  min-width: 150px;
}

.market-detail-toolbar .dropdown {
  width: auto;
}

.market-overview-picker-button {
  max-width: 150px;
}

.market-overview-tabs {
  display: flex;
  justify-content: center;
}

.market-overview-tabs-shell {
  width: fit-content;
  padding: .3rem;
}

.market-overview-summary,
.market-overview-table {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.market-overview-summary {
  padding: 1rem 1.2rem !important;
  border-radius: 24px;
}

.market-overview-table {
  overflow: hidden;
  border-radius: 24px;
}

.market-overview-mobile-list {
  display: none;
}

.market-overview-mobile-header {
  padding: 0.95rem 1rem 0.8rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  border-bottom: 1px solid rgba(16, 32, 63, 0.08);
}

.market-overview-mobile-item {
  display: block;
  padding: 0.95rem 1rem;
  text-align: center;
  font-weight: 700;
  color: #2d5fe8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  border-top: 1px solid rgba(16, 32, 63, 0.08);
}

.market-overview-mobile-item:first-child {
  border-top: 0;
}

.market-overview-mobile-item:last-child {
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.market-overview-mobile-item:hover {
  color: #1f49c5;
}

@media (max-width: 575.98px) {
  .market-overview-shell-inner {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .market-overview-pickers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem !important;
  }

  .market-overview-pickers .dropdown,
  .market-overview-pickers .col-auto {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .market-overview-pickers .dropdown-menu {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .market-overview-tabs-shell {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
    padding: 0;
    background: transparent;
  }

  .market-overview-tabs-shell > a {
    width: 100%;
    min-height: 2.8rem;
  }

  .market-overview-summary {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem !important;
  }

  .market-overview-summary-item {
    display: grid !important;
    gap: 0.18rem;
    justify-items: center;
    text-align: center;
  }

  .market-overview-summary-item .fw-bold,
  .market-overview-summary-item span {
    display: block;
    margin: 0 !important;
  }

  .market-overview-table {
    display: none;
  }

  .market-overview-mobile-list {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.94));
  }

  .market-overview-mobile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .market-overview-mobile-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.2rem;
    padding: 0.95rem 1rem;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
  }
}

.market-overview-table .table {
  margin-bottom: 0;
}

.market-overview-data-table {
  min-width: 800px;
}

.market-overview-table .table th,
.market-overview-table .table td {
  text-align: center;
}

.market-overview-table .market-col-name,
.market-overview-table .market-col-name a,
.market-overview-table th[scope="row"],
.market-overview-table thead th {
  text-align: center !important;
}

.market-overview-table thead th {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-overview-table tbody td,
.market-overview-table tbody th {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(16, 32, 63, 0.08);
  vertical-align: middle;
}

.market-overview-table tbody a {
  color: #2d5fe8;
  font-weight: 700;
}

.market-col-name {
  min-width: 132px;
}

.market-detail-toolbar {
  align-items: flex-end;
}

.market-tabs-shell {
  align-items: stretch;
  gap: 0.35rem;
}

.market-tab-item {
  display: flex;
  align-items: stretch;
}

.market-tab-item > a {
  display: flex;
  align-items: stretch;
  text-decoration: none;
}

.market-tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  line-height: 1.2;
  border: 0;
  border-radius: 0.55rem 0.55rem 0 0;
  font-weight: 600;
  white-space: normal;
  text-align: center;
}

.market-tab-action {
  min-width: 0;
}

.market-detail-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.35rem 0 1.2rem;
}

.wallet-required-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 20, 43, 0.94), rgba(20, 37, 73, 0.84));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.wallet-required-banner-soft {
  max-width: 980px;
  margin: 1.25rem auto 0;
}

.wallet-required-copy {
  display: grid;
  gap: 0.45rem;
}

.wallet-required-kicker {
  margin: 0;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.wallet-required-copy h3 {
  margin: 0;
  color: rgba(245, 247, 255, 0.97);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.35;
}

.wallet-required-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.wallet-required-link {
  flex: 0 0 auto;
  min-width: 150px;
  border-radius: 999px;
  font-weight: 700;
}

.site-wallet-button {
  min-width: 156px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.site-wallet-button-connected {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.market-action-modal {
  width: min(90vw, 460px);
  border-radius: 24px;
  border: 1px solid rgba(18, 32, 65, 0.14);
  box-shadow: 0 28px 70px rgba(6, 13, 30, 0.34);
}

#marketListingBuyScreen.market-action-modal {
  width: min(88vw, 420px);
  padding: 18px 20px !important;
}

.market-action-modal-body {
  width: 100%;
  max-width: 380px;
}

#marketListingBuyScreen .market-action-modal-body {
  max-width: 350px;
}

#marketListingBuyScreen .market-action-preview-card {
  padding: 0.7rem 0.8rem 0.65rem;
}

#marketListingBuyScreen .h5 {
  margin-bottom: 0.35rem;
}

#marketListingBuyScreen .h6 {
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

#marketListingBuyScreen .market-action-preview-meta {
  margin-top: 0.55rem;
  gap: 0.15rem;
}

#marketListingBuyScreen .market-action-preview-footer {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
}

#marketListingBuyScreen .market-action-confirm {
  margin-top: 0.2rem;
}

#marketListingBuyScreen .market-action-fees {
  padding-top: 0.65rem;
}

#marketListingBuyScreen .fee-line {
  line-height: 1.15;
}

#marketListingBuyScreen .market-action-fees hr {
  margin: 0.45rem 0;
}

#marketListingBuyScreen .market-action-utility {
  margin-top: 0.15rem;
}

#marketListingBuyScreen .market-action-actions {
  margin-top: 0.6rem;
  gap: 0.5rem;
}

#marketListingBuyScreen .market-action-actions .btn {
  min-width: 156px;
}

.market-action-preview-card {
  padding: 0.85rem 0.9rem 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 30, 61, 0.1);
  background: linear-gradient(180deg, rgba(246, 248, 252, 0.98), rgba(235, 240, 247, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.market-action-preview-head,
.market-action-preview-footer,
.market-action-preview-total {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.market-action-preview-head {
  align-items: flex-start;
}

.market-action-preview-meta {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.85rem;
  text-align: center;
  color: #24344f;
  font-weight: 600;
}

.market-action-preview-footer {
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 30, 61, 0.1);
}

.market-action-preview-label {
  margin: 0;
  color: #667792;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.market-action-preview-value {
  display: block;
  margin-top: 0.35rem;
  color: #10203f;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
}

.market-action-preview-link,
.market-action-preview-address {
  color: #5d7598;
  font-weight: 600;
}

.market-action-preview-side {
  text-align: right;
}

.market-action-preview-total {
  color: #10203f;
  font-weight: 600;
}

.market-action-confirm {
  margin: 0.35rem 0 0;
}

.market-action-fees {
  padding: 1rem 0.25rem 0;
}

.market-action-utility {
  margin-top: 0.35rem;
  display: flex;
  justify-content: center;
}

.market-action-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.market-action-actions .btn {
  min-width: 170px;
}

.market-detail-card {
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 21, 45, 0.9), rgba(19, 36, 71, 0.78));
  color: var(--text-primary);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.market-detail-card-primary,
.market-tape-card {
  grid-column: 1 / -1;
}

.market-detail-card-primary h2,
.market-detail-stat-value {
  font-family: "Space Grotesk", sans-serif;
}

.market-detail-card-primary h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.market-detail-label {
  margin: 0;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.market-detail-copy {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.market-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.market-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 600;
}

.market-detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.market-detail-stat {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.market-detail-stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.market-detail-stat-value {
  display: block;
  margin-top: 0.35rem;
  color: rgba(245, 247, 255, 0.95);
  font-size: 1.25rem;
}

.market-tape-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.market-chart-card {
  overflow: hidden;
}

.market-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.market-chart-value {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.market-chart-range {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.market-chart-shell {
  margin-top: 1rem;
  padding: 0.8rem 0.2rem 0.35rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.market-chart {
  display: block;
  width: 100%;
  height: 130px;
}

.market-chart-line {
  fill: none;
  stroke: var(--gold-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.92rem;
}

.market-chart-caption {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.market-tape-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.market-tape-main,
.market-tape-side {
  display: grid;
  gap: 0.2rem;
}

.market-tape-side {
  justify-items: end;
  text-align: right;
  color: rgba(245, 247, 255, 0.9);
}

.market-tape-empty {
  justify-content: center;
  color: var(--text-muted);
}

.market-event-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-event-pill-listed {
  background: rgba(78, 214, 136, 0.16);
  color: #78e6a1;
}

.market-event-pill-sold {
  background: rgba(110, 168, 255, 0.16);
  color: #8fbcff;
}

.market-event-pill-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 255, 0.72);
}

.market-table-panel {
  padding: 1rem 0.9rem 0.75rem;
  background: var(--surface-strong);
  color: var(--ink);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 20px 50px rgba(8, 16, 36, 0.16);
  border: 1px solid rgba(20, 32, 66, 0.12);
  border-top: none;
}

.market-table-panel .table {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .market-detail-board {
    grid-template-columns: 1fr;
  }

  .market-detail-card-primary,
  .market-tape-card {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .market-overview-shell-inner {
    gap: 0.8rem;
  }

  .market-overview-hero .h1 {
    max-width: none;
    font-size: 1.95rem;
    line-height: 1.08;
  }

  .market-overview-lead {
    max-width: none;
  }

  .market-overview-pickers {
    gap: 0.75rem;
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .market-overview-pickers .dropdown,
  .market-overview-pickers .col-auto {
    width: 100%;
  }

  .market-picker-button,
  .market-overview-picker-button {
    max-width: none;
    width: 100% !important;
  }

  .market-overview-tabs {
    justify-content: stretch;
  }

  .market-overview-tabs-shell {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    margin-right: 0;
  }

  .market-overview-tabs-shell > a {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    font-size: 0.92rem;
  }

  .market-overview-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .market-overview-summary-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .market-overview-table-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .market-overview-summary,
  .market-overview-table,
  .footer-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
  }

  .market-overview-data-table {
    min-width: 620px;
  }

  .market-col-logo,
  .market-col-supply {
    display: none;
  }

  .market-overview-table thead th,
  .market-overview-table tbody td,
  .market-overview-table tbody th {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    font-size: 0.86rem;
  }

  .wallet-required-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .wallet-required-link {
    width: 100%;
  }

  .market-detail-stat-grid {
    grid-template-columns: 1fr;
  }

  .market-tape-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .market-tape-side {
    justify-items: start;
    text-align: left;
  }
}
