:root {
  /* OpenSea-inspired theme (blue marketplace) */
  --bg: #04111d;
  --panel: #0d1b2a;
  --panel-2: #12253a;
  --line: #1c3a56;
  --orange: #2081e2; /* primary accent — OpenSea blue */
  --orange-2: #1868b7;
  --orange-border: #2081e2;
  --os-blue: #2081e2;
  --os-blue-hover: #1868b7;
  --os-blue-soft: #5b9df0;
  --text: #e5eef7;
  --muted: #8b9bb4;
  --muted-2: #5c6f8a;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ===== Header (shared) — matches lorenzoswap.io MainLayout ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 5rem;
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.topbar.scrolled {
  background: rgba(4, 17, 29, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(32, 129, 226, 0.35);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  height: 100%;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 3.5rem;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  display: block;
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.logo-img.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(32, 129, 226, 0.45), 0 0 18px rgba(32, 129, 226, 0.35);
  background: #2081e2;
}

/* Full OTCLorenzoSwap wordmark (icon + text in one image) */
.logo-img.logo-wordmark {
  width: auto;
  height: 40px;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .logo-text {
    font-size: 13px;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.logo-otc {
  color: #2081e2;
  font-weight: 700;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #5b9df0, #2081e2, #1868b7, #5b9df0);
  box-shadow: 0 0 0 3px rgba(32, 129, 226, 0.18);
  position: relative;
  flex-shrink: 0;
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #0a0a0c;
}

.logo em {
  font-style: normal;
  color: var(--orange);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  color: #e5e5e5;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active {
  color: var(--os-blue-soft);
}

.btn-connect {
  height: 40px;
  padding: 0 1.15rem;
  border-radius: 12px;
  border: none;
  background: var(--os-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(32, 129, 226, 0.28);
}

.btn-connect:hover {
  background: var(--os-blue-hover);
  filter: none;
}

/* Connected header — RainbowKit style (chain + account) */
.header-wallet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.rk-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 12px;
  border: none;
  background: #1a1b1f;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease;
}

.rk-pill:hover {
  background: #23252b;
}

.rk-chain {
  padding: 0 0.55rem 0 0.65rem;
  min-width: 52px;
  justify-content: center;
}

.rk-chain-ico {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

.rk-chain-ico img {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
}

.chain-mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}

.rk-account {
  padding: 0 0.7rem 0 0.85rem;
  font-variant-numeric: tabular-nums;
}

.rk-addr {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rk-chevron {
  opacity: 0.75;
  flex-shrink: 0;
}

/* Account menu popover (under address pill) */
.account-menu {
  position: fixed;
  z-index: 110;
  min-width: 210px;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1b1f;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.account-menu[hidden] {
  display: none !important;
}

.account-menu-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem 0.65rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-bal-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9ca3af;
}

.account-bal-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #f4f4f5;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.account-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.account-menu-danger {
  color: #f87171;
}

/* Switch Networks modal */
.chain-modal {
  width: min(360px, 100%);
  border-radius: 14px;
  border: 1px solid var(--orange);
  background: #0b0c10;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  color: #fff;
}

.chain-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.5rem 1.15rem;
}

.chain-modal-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.chain-list {
  padding: 0.5rem 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.chain-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.chain-row.active {
  background: var(--orange);
  color: #fff;
}

.chain-row-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.chain-ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chain-ico-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
}

.chain-ico-fallback {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}

.chain-connected {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.chain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
}

/* legacy connected outline (unused when header rebuilt) */
.btn-connect.connected {
  background: #1a1b1f;
  border: none;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
}

/* Offset fixed header on pages */
body {
  padding-top: 5rem;
}

/* ===== HOME (lorenzoswap.io match) ===== */
.home {
  position: relative;
  overflow: hidden;
}

/* ===== HOME HERO ===== */
.hero,
.ls-hero {
  position: relative;
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 0 8rem;
}

/* Custom marketplace hero background (OpenSea-style blue art) */
.custom-hero {
  background: #04111d;
}

.custom-hero .hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/img/hero-bg-custom.png") center / cover no-repeat;
  pointer-events: none;
}

.custom-hero .hero-bg-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 17, 29, 0.25) 0%, rgba(4, 17, 29, 0.88) 100%),
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(32, 129, 226, 0.22), transparent 65%);
}

.custom-hero .hero-inner,
.custom-hero .ls-hero-inner {
  z-index: 2;
}

.ls-hero {
  padding-top: 7rem;
  padding-bottom: 10rem;
}

.hero-gradients {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-gradients .hg {
  position: absolute;
  width: min(640px, 70vw);
  height: auto;
  opacity: 0.55;
  filter: blur(0.5px);
}

.hero-gradients .hg-a {
  left: -8%;
  top: 10%;
}

.hero-gradients .hg-b {
  right: -10%;
  bottom: 0;
}

.hero-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  user-select: none;
}

.hero-art-a {
  display: none;
  width: 18rem;
  top: 10rem;
  right: 0;
}

.hero-art-main {
  width: min(400px, 55vw);
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.95;
}

.hero-art-b {
  display: none;
  width: 14rem;
  left: 2%;
  bottom: 12%;
}

.hero-art-c {
  display: none;
  width: 10rem;
  right: 8%;
  bottom: 18%;
}

@media (min-width: 1024px) {
  .hero-art-a {
    display: block;
    width: 18rem;
  }
  .hero-art-b {
    display: block;
  }
  .hero-art-c {
    display: block;
  }
  .hero-art-main {
    width: 400px;
  }
}

@media (min-width: 1280px) {
  .hero-art-a {
    width: 24rem;
  }
}

.hero-inner,
.ls-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-rule {
  width: 20rem;
  max-width: 80%;
  height: 0;
  margin: 1.5rem auto 0;
  border: 0;
  border-top: 1px solid var(--orange);
}

.hero p {
  margin: 1.75rem auto 0;
  max-width: 640px;
  color: #e5e5e5;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  height: auto;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.4vw, 1.5rem);
  cursor: pointer;
  transition: 0.15s background, 0.15s color, 0.15s box-shadow;
  position: relative;
  z-index: 3;
}

@media (min-width: 1024px) {
  .btn-outline-orange {
    padding: 1.15rem 2.75rem;
  }
}

.btn-outline-orange:hover {
  background: var(--os-blue);
  color: #fff;
  box-shadow: 0 0 28px rgba(32, 129, 226, 0.45);
}

/* ===== Feature cards (prnt.sc bottom) ===== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0;
    gap: 2.5rem;
  }
}

.feature-card {
  border: 1px solid rgba(32, 129, 226, 0.45);
  border-radius: 0.85rem;
  padding: 2rem;
  background: rgba(13, 27, 42, 0.55);
  display: flex;
  flex-direction: column;
  flex: 1;
  backdrop-filter: blur(6px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: var(--os-blue);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(32, 129, 226, 0.3);
}

.feature-icon svg path {
  fill: #fff;
}

.feature-card h3 {
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.feature-card p {
  margin: 1rem 0 0;
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ===== How it works ===== */
.how {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 6rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .how {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 8rem;
    gap: 3rem;
  }
}

.how-copy {
  flex: 1;
  min-width: 0;
}

.how h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}

.how-lead {
  margin: 1rem 0 0;
  color: #d4d4d8;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36rem;
}

.how-rule {
  width: 100%;
  max-width: 28rem;
  height: 1px;
  margin: 2rem 0;
  background: var(--orange);
}

.how-steps {
  margin: 0;
  padding: 0;
  list-style: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.how-eth {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.how-eth img {
  width: min(200px, 50vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(32, 129, 226, 0.35));
}

/* ===== Good hands ===== */
.good-hands {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 7rem 1rem 5rem;
  position: relative;
  z-index: 2;
}

.good-hands h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}

.good-hands p {
  margin: 1.5rem 0 0;
  max-width: 52rem;
  color: #d4d4d8;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

/* ===== LOAD PAGE ===== */
.load-page {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0 5rem;
}

.load-page .glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 35% at 0% 50%, rgba(32, 129, 226, 0.22), transparent 55%),
    radial-gradient(ellipse 35% 30% at 100% 40%, rgba(32, 129, 226, 0.16), transparent 55%);
}

.load-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.load-center h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.load-center h1 .o {
  color: var(--orange);
}

.load-center p {
  margin: 0 auto 2.25rem;
  max-width: 540px;
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.65;
}

.load-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.load-form .input {
  width: min(380px, 100%);
  height: 46px;
  border-radius: 8px;
  border: 1px solid #2f2f38;
  background: #121218;
  padding: 0 1rem;
  outline: none;
  color: var(--text);
}

.load-form .input:focus {
  border-color: rgba(32, 129, 226, 0.55);
}

.btn-orange {
  height: 46px;
  padding: 0 1.35rem;
  border-radius: 12px;
  border: none;
  background: var(--os-blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(32, 129, 226, 0.28);
}

.btn-orange:hover {
  background: var(--os-blue-hover);
  filter: none;
}

.btn-orange:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ===== TRADE PAGE (create UI) ===== */
.page-main {
  padding: 1.25rem 0 4rem;
}

.trade-shell {
  border: 1.5px solid var(--orange-border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(12, 12, 16, 0.95);
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  min-height: 420px;
}

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

.trade-left,
.trade-right {
  padding: 1.15rem 1.2rem;
}

.trade-left {
  border-right: 1px solid rgba(32, 129, 226, 0.25);
}

.field {
  margin-bottom: 0.7rem;
}

.input-dark {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #2a2a32;
  background: #14141a;
  padding: 0 0.85rem 0 2.4rem;
  outline: none;
  color: var(--text);
  position: relative;
}

.input-dark.plain {
  padding-left: 0.85rem;
}

.input-dark:focus {
  border-color: rgba(32, 129, 226, 0.5);
}

.input-wrap {
  position: relative;
}

.input-wrap .ico {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}

.section-label {
  margin: 1rem 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.wallet-hint {
  display: block;
  margin-top: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #2a2a32;
  background: #14141a;
  color: var(--muted);
  font-size: 0.85rem;
}

.wallet-hint.err {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.collections-box {
  margin-top: 0.35rem;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.col-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #121218;
  color: #fff;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, border-color 0.12s;
}

.col-row:hover {
  background: #18181f;
}

.col-row.active {
  border-color: rgba(32, 129, 226, 0.65);
  background: rgba(32, 129, 226, 0.08);
}

.col-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1f2937;
  display: grid;
  place-items: center;
}

.col-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.col-ph {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
}

.col-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.col-name {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-count {
  font-size: 0.75rem;
  color: var(--muted);
}

.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  min-height: 240px;
  align-content: start;
}

.nft-card {
  border: 1px solid #2a2a32;
  border-radius: 10px;
  background: #121218;
  padding: 0.45rem;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: var(--font);
  transition: border-color 0.12s, box-shadow 0.12s;
}

.nft-card:hover {
  border-color: rgba(32, 129, 226, 0.45);
}

.nft-card.selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(32, 129, 226, 0.35);
}

.nft-card-img {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #1f2937;
  margin-bottom: 0.4rem;
}

.nft-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nft-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.nft-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nft-card-id {
  font-size: 0.7rem;
  color: var(--muted);
}

.preview-list {
  min-height: 48px;
}

.preview-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.45rem 0.3rem 0.3rem;
  border-radius: 8px;
  border: 1px solid rgba(32, 129, 226, 0.45);
  background: #121218;
  font-size: 0.8rem;
  font-weight: 600;
}

.preview-chip img,
.preview-chip .ph {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  background: #1f2937;
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  color: var(--muted);
}

.preview-x {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.15rem;
}

.preview-x:hover {
  color: #f87171;
}

/* Wallet gate — block create UI until connected */
.wallet-gate {
  position: relative;
  z-index: 5;
  margin-bottom: 1rem;
}

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

.wallet-gate-card {
  border: 1px solid var(--orange);
  border-radius: 12px;
  background: rgba(14, 16, 22, 0.95);
  padding: 1.5rem 1.25rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 0.5rem;
}

.wallet-gate-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.wallet-gate-card p {
  margin: 0 0 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.5;
}

#createUi.is-locked .trade-shell,
#createUi.is-locked .preview-shell,
#createUi.is-locked .create-actions,
#createUi.is-locked .create-steps {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

/* Create trade wizard */
.create-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.create-step {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #2a2a32;
  background: #121218;
}

.create-step.active {
  color: #fff;
  border-color: var(--orange);
  background: rgba(32, 129, 226, 0.12);
}

.create-step.done {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.35);
}

.create-step-line {
  width: 40px;
  height: 1px;
  background: #2a2a32;
}

.receiver-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.receiver-row .input-dark {
  flex: 1;
  min-width: 0;
}

.btn-load-cp {
  flex-shrink: 0;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-load-cp:hover {
  background: rgba(32, 129, 226, 0.12);
}

.preview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .preview-split {
    grid-template-columns: 1fr;
  }
  .receiver-row {
    flex-direction: column;
  }
}

.preview-split h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.create-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-bottom: 1rem;
}

.btn-next-step,
.btn-initiate {
  min-width: 140px;
  height: 46px;
  padding: 0 1.5rem;
  border-radius: 8px;
  border: none;
  background: var(--orange);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-next-step:hover,
.btn-initiate:hover {
  filter: brightness(1.06);
}

.btn-next-step:disabled,
.btn-initiate:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
}

.btn-ghost-step {
  min-width: 100px;
  height: 46px;
  padding: 0 1.1rem;
  border-radius: 8px;
  border: 1px solid #3f3f46;
  background: transparent;
  color: #d4d4d8;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.btn-ghost-step:hover {
  border-color: #71717a;
  color: #fff;
}

#createStatus {
  width: 100%;
  text-align: center;
  margin: 0.25rem 0 0;
}

/* ===== Approve modal (before wallet) — lorenzoswap "List items for sale" ===== */
body.approve-open {
  overflow: hidden;
}

.approve-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.approve-overlay[hidden] {
  display: none !important;
}

.approve-modal {
  width: min(420px, 100%);
  border-radius: 14px;
  border: 1px solid var(--orange);
  background: #0e1016;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  padding: 1.25rem 1.35rem 1.4rem;
  color: #fff;
}

.approve-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.approve-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.approve-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #9ca3af;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.approve-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.approve-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.approve-step-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.approve-step-dim .approve-step-label {
  color: #6b7280;
}

.approve-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #4b5563;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #6b7280;
  flex-shrink: 0;
}

.approve-check.done {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  font-weight: 700;
}

.approve-copy {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #9ca3af;
}

.approve-step-dim .approve-copy {
  color: #4b5563;
}

.btn-approve-items {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #3f3f46;
  background: #16161c;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-approve-items:hover:not(:disabled) {
  border-color: var(--orange);
  background: rgba(32, 129, 226, 0.1);
}

.btn-approve-items:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.approve-divider {
  height: 1px;
  background: #1f1f28;
  margin: 1.25rem 0;
}

.approve-status {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: #9ca3af;
  min-height: 1.2em;
}

.approve-status.ok {
  color: #86efac;
}

.approve-status.err {
  color: #f87171;
}

.approve-steps-list {
  margin-bottom: 1rem;
}

/* Token panel (ETH / WETH / USDC / USDT) */
.token-panel {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #1f1f28;
}

.token-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.token-select {
  height: 42px;
  min-width: 88px;
  border-radius: 8px;
  border: 1px solid #2a2a32;
  background: #14141a;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 0.5rem;
  cursor: pointer;
}

.token-amount-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.token-amount {
  width: 100%;
  padding-right: 3rem !important;
}

.token-suffix {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7280;
  pointer-events: none;
}

.token-max-row {
  display: flex;
  justify-content: flex-end;
  margin: 0.35rem 0 0.55rem;
}

.token-max-btn {
  border: none;
  background: transparent;
  color: var(--orange);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.token-max-btn:hover {
  text-decoration: underline;
}

.btn-add-token {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: var(--orange);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.btn-add-token:hover {
  filter: brightness(1.06);
}

.preview-chip .ph.tok {
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--orange);
}

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

.right-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.right-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.preview-shell {
  margin-top: 1rem;
  border: 1.5px solid var(--orange-border);
  border-radius: 10px;
  background: rgba(12, 12, 16, 0.95);
  padding: 1.15rem 1.25rem;
  min-height: 120px;
}

.preview-shell h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.preview-empty {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.9rem;
  padding: 1.5rem 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 8rem;
  padding: 1.5rem 0 2rem;
  color: #e5e5e5;
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.x-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--orange);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s ease;
}

.x-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(32, 129, 226, 0.3);
}

/* Toast */
.toast {
  position: fixed;
  right: 1rem;
  top: 4.5rem;
  z-index: 120;
  max-width: 320px;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #16161c;
  border: 1px solid #2a2a32;
  color: #e5e5e5;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Connect Wallet modal — RainbowKit DesktopOptions (lorenzoswap.io) ===== */
body.wc-open {
  overflow: hidden;
}

.btn-connect.connected {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.wc-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.wc-overlay[hidden] {
  display: none !important;
}

/* RK: width 720px, two 360px columns */
.wc-modal {
  position: relative;
  width: 720px;
  max-width: 100%;
  border-radius: 13px;
  border: 1px solid var(--orange);
  background: #0b0c10;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  color: #fff;
  font-family: var(--font);
}

.wc-grid {
  display: grid;
  grid-template-columns: 360px 360px;
  min-height: 472px;
}

.wc-left {
  width: 360px;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #0b0c10;
}

.wc-left-head {
  padding: 20px 18px 8px;
}

.wc-left h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}

.wc-scroll {
  padding: 4px 10px 18px 14px;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #2a2a32 transparent;
}

.wc-right {
  position: relative;
  width: 360px;
  max-width: 100%;
  padding: 28px 28px 24px;
  border-left: 1px solid var(--orange);
  display: flex;
  flex-direction: column;
  background: #0b0c10;
}

.wc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}

.wc-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.wc-right h3 {
  margin: 8px 0 28px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  letter-spacing: -0.01em;
}

.wc-section {
  margin-bottom: 14px;
}

.wc-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 6px 8px;
  line-height: 1.2;
}

.wc-label-muted {
  color: #9b9ba1;
  font-weight: 600;
  font-size: 13px;
}

.wc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* RK wallet row: icon 28 + name */
.wc-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease;
}

.wc-wallet:hover {
  background: rgba(255, 255, 255, 0.055);
}

.wc-logo-wrap {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

/* Official RK icons already include their own background rect */
.wc-logo-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 10px;
}

.wc-logo-fallback {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.wc-wallet-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}

.wc-wallet-name {
  line-height: 1.2;
  font-size: 16px;
  font-weight: 700;
}

.wc-recent {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.2;
}

.wc-info-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}

.wc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}

.wc-info-art {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  background: transparent;
}

.wc-info-copy {
  min-width: 0;
  padding-top: 2px;
}

.wc-info-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.wc-info-row p,
.wc-info-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #a0a0a8;
  font-weight: 400;
}

.wc-right-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
}

.wc-btn-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font);
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(32, 129, 226, 0.28);
}

.wc-btn-get:hover {
  filter: brightness(1.06);
}

.wc-link-more {
  color: var(--orange) !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  font-family: var(--font);
}

.wc-link-more:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .wc-modal {
    width: min(400px, 100%);
  }
  .wc-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .wc-left,
  .wc-right {
    width: 100%;
  }
  .wc-right {
    border-left: none;
    border-top: 1px solid var(--orange);
    min-height: 320px;
  }
  .wc-scroll {
    max-height: 280px;
  }
}

/* ===== Loaded trade: 4-layer orange boxes ===== */
.detail-wrap {
  margin-top: 0.5rem;
}

.trade-outer {
  border: 1.5px solid var(--orange-border);
  border-radius: 12px;
  background: rgba(12, 12, 16, 0.96);
  padding: 1.15rem 1.2rem 1.25rem;
}

.trade-code-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.trade-code-row .code-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.btn-share {
  height: 28px;
  padding: 0 0.7rem;
  border-radius: 6px;
  border: 1px solid #3f3f46;
  background: transparent;
  color: #d4d4d8;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-share:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.trade-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

@media (max-width: 800px) {
  .trade-mid {
    grid-template-columns: 1fr;
  }
}

.layer-box {
  border: 1.5px solid var(--orange-border);
  border-radius: 10px;
  background: #0c0c10;
  padding: 0.95rem 1rem;
  min-height: 220px;
}

.layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.layer-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.layer-title .count {
  color: var(--muted-2);
  font-weight: 500;
  font-size: 0.85rem;
}

.status-approved {
  color: #22c55e;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-progress {
  color: #eab308;
  font-size: 0.88rem;
  font-weight: 700;
}

.nft-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #2a1510;
}

.nft-line:last-child {
  border-bottom: none;
}

.nft-line img,
.nft-line .ph {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #1f2937;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  color: var(--muted);
}

.nft-line .name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e5e5;
}

.nft-line.spoof-line .name {
  color: #fbbf24;
}

.nft-line.spoof-line .ph {
  background: #422006;
  color: #fbbf24;
  font-weight: 800;
}

.layer-bottom {
  border: 1.5px solid var(--orange-border);
  border-radius: 10px;
  background: #0c0c10;
  padding: 1rem 1.1rem 1.05rem;
}

.accept-line {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e5e5e5;
}

.accept-line .addr {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
}

.meta-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.meta-row .val {
  color: #d4d4d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: right;
  word-break: break-all;
}

.meta-row .val.free {
  font-family: var(--font);
  color: #e5e5e5;
}

.approvals-expand {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid #1f1f28;
}

.approvals-expand ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.approvals-expand li.ok {
  color: #86efac;
}

.detail-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.btn-cancel-trade {
  min-width: 140px;
  height: 44px;
  padding: 0 1.4rem;
  border-radius: 8px;
  border: none;
  background: #e11d48;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-cancel-trade:hover {
  filter: brightness(1.06);
}

.btn-cancel-trade:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-confirm-trade {
  min-width: 140px;
  height: 44px;
  padding: 0 1.4rem;
  border-radius: 8px;
  border: none;
  background: var(--orange);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-confirm-trade:hover {
  filter: brightness(1.06);
}

.btn-confirm-trade:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#connectToAcceptBtn {
  min-width: 200px;
}

.status {
  min-height: 1.2em;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.status.err {
  color: #f87171;
}

.status.ok {
  color: #86efac;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.center {
  text-align: center;
}

.empty-layer {
  color: var(--muted-2);
  font-size: 0.88rem;
  padding: 1.25rem 0.5rem;
  text-align: center;
}

@media (max-width: 720px) {
  .logo {
    margin-right: 1rem;
  }
  .logo-img {
    width: 100px;
    height: 34px;
  }
  .logo-img.logo-wordmark {
    width: auto;
    height: 32px;
    max-width: min(180px, 48vw);
  }
  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }
  .nav {
    display: none;
  }
  .hero,
  .ls-hero {
    padding-top: 4rem;
    padding-bottom: 6rem;
    min-height: auto;
  }
  .hero-art-main {
    opacity: 0.45;
  }
}
