/* =====================================================================
   $EFOO OFFICIAL P2P NFT & SKILL MARKETPLACE STYLESHEET
   Sunday League Degen FC on MultiversX
   ===================================================================== */

:root {
  --bg-deep: #05080c;
  --bg-card: rgba(12, 20, 29, 0.88);
  --bg-card-hover: rgba(18, 30, 44, 0.95);
  --border-card: rgba(255, 255, 255, 0.1);
  --neon: #a8ff00;
  --gold: #ffb800;
  --cyan: #38bdf8;
  --purple: #c084fc;
  --red: #f87171;
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --font-bebas: 'Bebas Neue', sans-serif;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 255, 0, 0.45) #05080c;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #05080c;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a8ff00 0%, #059669 100%);
  border-radius: 8px;
  border: 2px solid #05080c;
  box-shadow: 0 0 10px rgba(168, 255, 0, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d9f99d 0%, #a8ff00 100%);
  box-shadow: 0 0 16px rgba(168, 255, 0, 0.7);
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse at 50% -10%, rgba(168, 255, 0, 0.12), transparent 60%),
    radial-gradient(ellipse at 85% 30%, rgba(255, 184, 0, 0.08), transparent 50%),
    linear-gradient(180deg, #05080c 0%, #081017 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-inter);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.m-container {
  width: 94%;
  max-width: 1440px;
  margin: 0 auto;
}

/* =====================================================================
   KROGAN-STYLE CLEAN NAVBAR
   ===================================================================== */
.market-nav.krogan-nav,
.market-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 12, 18, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.m-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.m-nav-left-cluster {
  display: flex;
  align-items: center;
  gap: 36px;
}

.m-brand,
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.m-brand-logo,
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.4);
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.m-brand-title,
.brand-title {
  font-family: var(--font-bebas, 'Bebas Neue', sans-serif);
  font-size: 1.75rem;
  letter-spacing: 1px;
  line-height: 1;
  color: #ffffff;
  display: block;
}

.m-brand-sub,
.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sub, #94a3b8);
  display: block;
}

.m-nav-menu-krogan {
  display: flex;
  align-items: center;
  gap: 24px;
}

.m-nav-item-krogan {
  color: #94a3b8;
  text-decoration: none;
  font-family: var(--font-inter);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 4px;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.m-nav-item-krogan:hover {
  color: #ffffff;
}

.m-nav-item-krogan.active {
  color: #ffffff;
  font-weight: 800;
}

/* Universal Web3 Cyber Gaming Connect Button (Cross-Chain / Solana & MultiversX) */
.web3-btn-connect,
.krogan-btn-connect {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.web3-btn-connect:hover,
.krogan-btn-connect:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
  border-color: rgba(139, 92, 246, 0.85);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55);
}

/* Krogan-style Teal/Cyan Connected Wallet Capsule Pill */
.krogan-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(26, 164, 184, 0.22), rgba(17, 129, 146, 0.15));
  border: 1px solid rgba(26, 164, 184, 0.5);
  border-radius: 10px;
  padding: 6px 14px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.kwp-icon,
.kbc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.egld-icon-svg {
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(35, 247, 221, 0.45);
}

.kwp-addr {
  color: #e2e8f0;
}

.kwp-divider {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
}

.kwp-bal {
  color: #38bdf8;
  font-weight: 800;
}

.kwp-disc {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.15s ease;
}

.kwp-disc:hover {
  color: #f87171;
}

.kwp-admin {
  color: #ffb800;
  border: 1px solid rgba(255, 184, 0, 0.5);
  background: rgba(255, 184, 0, 0.15);
  padding: 3px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  min-width: 44px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.kwp-admin:hover {
  background: rgba(255, 184, 0, 0.25);
  border-color: #ffb800;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.4);
}

.m-nav-center {
  display: flex;
  align-items: center;
  gap: 14px;
}

.m-nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.m-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.m-nav-pill-game {
  background: linear-gradient(135deg, #a8ff00, #4ade80);
  color: #040c06;
  text-decoration: none;
  font-family: var(--font-bebas);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(168, 255, 0, 0.35);
  transition: all 0.18s ease;
}

.m-nav-pill-game:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(168, 255, 0, 0.5);
}

.m-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2px;
}

.m-lang-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.m-lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.m-btn-primary {
  background: linear-gradient(135deg, var(--neon), #4ade80);
  color: #040c06;
  border: none;
  border-radius: 10px;
  font-family: var(--font-bebas);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(168, 255, 0, 0.3);
  transition: all 0.16s ease;
}

.m-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.m-btn-primary.full {
  width: 100%;
  padding: 12px;
  font-size: 1.35rem;
}

.m-wallet-connected-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 255, 0, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.m-wallet-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon);
}

.m-wallet-bal-text {
  color: var(--neon);
  font-weight: 800;
}

.m-wallet-vip-pill {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.25), rgba(234, 179, 8, 0.1));
  border: 1px solid rgba(255, 184, 0, 0.6);
  color: #ffb800;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.5);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  min-width: 38px;
  flex-shrink: 0;
}

.m-vip-icon, .m-admin-icon {
  font-size: 0.85rem;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
  text-align: center;
}

.m-vip-text, .m-admin-text {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1;
}

.mnc-seller-vip-crown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 184, 0, 0.18);
  border: 1px solid rgba(255, 184, 0, 0.5);
  color: #ffb800;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  margin-left: 4px;
}

.m-btn-disc {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0 2px;
}
.m-btn-disc:hover {
  color: #f87171;
}

/* =====================================================================
   HERO & TELEMETRY STRIP
   ===================================================================== */
.m-hero {
  padding: 16px 0 20px;
}

.m-hero-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 28px;
}

.m-hero-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.m-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--neon);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
}

.m-kicker-gold {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffb800;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.2);
}

.m-kicker-fire {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff5555;
  background: rgba(255, 85, 85, 0.12);
  border: 1px solid rgba(255, 85, 85, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
}

.m-hero-logo-stage {
  position: relative;
  max-width: 600px;
  margin: 6px auto 18px;
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 75%;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(0, 255, 136, 0.2) 0%, rgba(255, 184, 0, 0.08) 45%, transparent 75%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.96); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

.m-hero-logo-main,
.m-hero-banner-blend {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 90% 82% at 50% 50%, #000000 60%, transparent 98%);
  mask-image: radial-gradient(ellipse 90% 82% at 50% 50%, #000000 60%, transparent 98%);
  filter: drop-shadow(0 16px 45px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(0, 255, 136, 0.25));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
}

.m-hero-logo-main:hover,
.m-hero-banner-blend:hover {
  transform: translateY(-2px) scale(1.015);
  filter: drop-shadow(0 20px 55px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 40px rgba(0, 255, 136, 0.45));
}

.m-title {
  font-family: var(--font-bebas);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 0.96;
  color: #ffffff;
  margin-bottom: 12px;
}

.m-subtitle {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.m-subtitle strong {
  color: #ffffff;
}

/* 4-Box Telemetry Strip */
.m-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.m-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.m-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.m-stat-box.gold::before { background: var(--gold); }
.m-stat-box.gold {
  animation: marketVaultPulse 3.6s infinite ease-in-out;
}
.m-stat-box.gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 215, 0, 0.05) 20%,
    rgba(255, 255, 255, 0.25) 40%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 215, 0, 0.7) 58%,
    transparent 75%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: marketSparkGlide 3.6s infinite cubic-bezier(0.4, 0.0, 0.2, 1);
}
@keyframes marketSparkGlide {
  0% { left: -150%; opacity: 0; }
  6% { opacity: 1; }
  38% { left: 170%; opacity: 1; }
  44%, 100% { left: 170%; opacity: 0; }
}
@keyframes marketVaultPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 184, 0, 0.2); }
  50% { box-shadow: 0 0 28px rgba(255, 215, 0, 0.55), 0 0 40px rgba(255, 184, 0, 0.25); }
}
.m-stat-box.red::before { background: var(--red); }
.m-stat-box.cyan::before { background: var(--cyan); }
.m-stat-box.neon::before { background: var(--neon); }

.msb-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.msb-icon {
  font-size: 1.1rem;
}

.msb-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

.msb-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
}

.m-stat-box.gold .msb-val { color: var(--gold); text-shadow: 0 0 14px rgba(255, 184, 0, 0.4); }
.m-stat-box.red .msb-val { color: var(--red); text-shadow: 0 0 14px rgba(248, 113, 113, 0.4); }
.m-stat-box.cyan .msb-val { color: var(--cyan); text-shadow: 0 0 14px rgba(56, 189, 248, 0.4); }
.m-stat-box.neon .msb-val { color: var(--neon); text-shadow: 0 0 14px rgba(168, 255, 0, 0.4); }

.msb-sub {
  font-size: 0.68rem;
  color: #64748b;
}

/* =====================================================================
   MAIN TABS & FILTERS
   ===================================================================== */
.m-main-section {
  padding: 10px 0 60px;
}

.m-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 22px;
  overflow-x: auto;
}

.m-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-sub);
  font-family: var(--font-bebas);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.m-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.m-tab-btn.active {
  background: linear-gradient(135deg, rgba(168, 255, 0, 0.16), rgba(168, 255, 0, 0.04));
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 18px rgba(168, 255, 0, 0.2);
}

.m-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 24px;
}

.m-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-filter-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
}

.m-filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.m-filter-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.m-filter-pill.active {
  background: var(--neon);
  color: #040c06;
  border-color: var(--neon);
  font-weight: 800;
}

.m-select {
  background: rgba(10, 18, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.m-select:focus {
  border-color: var(--neon);
}

/* =====================================================================
   NFT CARDS GRID & CARDS
   ===================================================================== */
.m-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (min-width: 1680px) {
  .m-cards-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  .m-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.m-nft-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 2px solid #71717a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  position: relative;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.m-nft-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75);
}

/* Rarity Tier Glowing Borders & Variables */
.m-nft-card.tier-ultras-pass {
  --tier-color: #ffb800;
  --tier-glow: rgba(255, 184, 0, 0.45);
  border-color: #ffb800;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 0, 0.35);
  background: radial-gradient(circle at 50% 0%, rgba(255, 184, 0, 0.08), rgba(6, 13, 8, 0.95) 70%);
}
.m-nft-card.tier-qatar {
  --tier-color: #e63946;
  --tier-glow: rgba(230, 57, 70, 0.45);
  border-color: #8a1538;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(138, 21, 56, 0.3);
  background: radial-gradient(circle at 50% 0%, rgba(138, 21, 56, 0.16), rgba(9, 3, 6, 0.96) 75%);
}
.m-nft-card.tier-mythic {
  --tier-color: #ffd700;
  --tier-glow: rgba(255, 215, 0, 0.45);
  border-color: #ffd700;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.25);
}
.m-nft-card.tier-legendary {
  --tier-color: #c084fc;
  --tier-glow: rgba(192, 132, 252, 0.45);
  border-color: #c084fc;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(192, 132, 252, 0.25);
}
.m-nft-card.tier-epic {
  --tier-color: #818cf8;
  --tier-glow: rgba(129, 140, 248, 0.45);
  border-color: #818cf8;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 22px rgba(129, 140, 248, 0.22);
}
.m-nft-card.tier-rare {
  --tier-color: #38bdf8;
  --tier-glow: rgba(56, 189, 248, 0.45);
  border-color: #38bdf8;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
}
.m-nft-card.tier-common,
.m-nft-card.tier-rookie {
  --tier-color: #94a3b8;
  --tier-glow: rgba(148, 163, 184, 0.35);
  border-color: #71717a;
}

/* =====================================================================
   NATIVE NFOOT MARKETPLACE LISTING CARDS (FUTURISTIC MECHA PHOTO FRAME)
   - Heavy cybernetic slab / photo frame chassis
   - Thick futuristic border (maintains tier rank colors)
   - High-tech inner neon bevel chamfer & glowing energy conduits
   ===================================================================== */
.m-nft-card.is-nfoot-native {
  border-width: 5.5px !important;
  border-style: solid !important;
  border-color: var(--tier-color, #23f7dd) !important;
  border-radius: 20px !important;
  position: relative;
  background: linear-gradient(180deg, #0e1520 0%, #070b10 100%) !important;
  box-shadow: 
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    inset 0 0 24px var(--tier-glow, rgba(35, 247, 221, 0.35)),
    0 18px 45px rgba(0, 0, 0, 0.92),
    0 0 35px var(--tier-glow, rgba(35, 247, 221, 0.5)) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.m-nft-card.is-nfoot-native:hover {
  transform: translateY(-8px);
  border-color: #ffffff !important;
  box-shadow: 
    inset 0 0 0 2.5px rgba(255, 255, 255, 0.45),
    inset 0 0 32px var(--tier-glow, rgba(35, 247, 221, 0.55)),
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 50px var(--tier-glow, rgba(35, 247, 221, 0.8)) !important;
}

/* Circuit Frame Overlay inside Card */
.mnc-circuit-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  border-radius: 14px;
  overflow: hidden;
}

.circuit-corner {
  position: absolute;
  width: 52px;
  height: 52px;
}

.circuit-corner.tl { top: -1px; left: -1px; }
.circuit-corner.tr { top: -1px; right: -1px; }
.circuit-corner.bl { bottom: -1px; left: -1px; }
.circuit-corner.br { bottom: -1px; right: -1px; }

.circuit-corner .cc-outer {
  fill: none;
  stroke: var(--tier-color, #23f7dd);
  stroke-width: 5;
  stroke-linecap: square;
  filter: drop-shadow(0 0 8px var(--tier-color, #23f7dd));
}

.circuit-corner .cc-inner {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-dasharray: 4 4;
  stroke-linecap: round;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px #ffffff);
}

.circuit-corner .cc-node {
  fill: #ffffff;
  stroke: var(--tier-color, #23f7dd);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px var(--tier-color, #23f7dd));
}

.circuit-bus-l, .circuit-bus-r {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 60px;
  background: var(--tier-color, #23f7dd);
  box-shadow: 0 0 16px var(--tier-color, #23f7dd), 0 0 6px #ffffff;
  border-radius: 3px;
}
.circuit-bus-l { left: -1px; }
.circuit-bus-r { right: -1px; }

.circuit-top-bar, .circuit-bot-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: var(--tier-color, #23f7dd);
  box-shadow: 0 0 14px var(--tier-color, #23f7dd);
  border-radius: 2px;
}
.circuit-top-bar { top: -1px; }
.circuit-bot-bar { bottom: -1px; }

.circuit-frame-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--tier-color, #23f7dd);
  background: rgba(5, 12, 18, 0.88);
  border: 1px solid var(--tier-color, #23f7dd);
  padding: 1px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  opacity: 0.9;
}
.circuit-frame-badge .cfb-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* NFooT Marketplace Badge in top-right of media */
.mnc-nfoot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(6, 13, 20, 0.94);
  border: 1.5px solid #23f7dd;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(35, 247, 221, 0.4), 0 0 10px rgba(0, 255, 136, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mnc-nfoot-badge:hover {
  transform: scale(1.06);
  border-color: var(--neon);
  box-shadow: 0 6px 20px rgba(35, 247, 221, 0.65), 0 0 16px rgba(0, 255, 136, 0.5);
}

.mnc-nfoot-logo-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(35, 247, 221, 0.6);
}

.mnc-nfoot-text {
  background: linear-gradient(135deg, #ffffff, #23f7dd 60%, #a8ff00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.mnc-title-tags {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mnc-role-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.mnc-media-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #030609;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.mnc-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.m-nft-card:hover .mnc-media-img {
  transform: scale(1.04);
}

.mnc-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mnc-col-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}

.mnc-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.m-nft-card.is-nfoot-native .mnc-body {
  padding-bottom: 28px;
}

.mnc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.mnc-title {
  font-family: var(--font-bebas);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mnc-title-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mnc-vip-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffb800, #ff8c00);
  color: #050d08;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
  white-space: nowrap;
}

.mnc-trait-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

/* Superpower Pills */
.mnc-powers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 26px;
  overflow: hidden;
}

.mnc-power-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
}

/* Price & Action Block */
.mnc-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mnc-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.mnc-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.mnc-price-lbl {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mnc-seller-lbl {
  font-size: 0.68rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
  text-align: right;
}

.mnc-seller-vip-crown {
  color: #ffb800;
  font-weight: 800;
}

.mnc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 1px 0 3px 0;
}

.mnc-price-val {
  font-family: var(--font-mono);
  font-size: 1.22rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.m-price-curr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
}

.m-price-curr-logo {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}

.m-price-curr-logo.round {
  border-radius: 50%;
}

.m-price-curr-ticker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: 0.03em;
}

.mnc-action-wrap {
  width: 100%;
}

/* Card Action Buttons */
.mnc-btn-buy {
  width: 100%;
  background: linear-gradient(135deg, var(--neon), #4ade80);
  color: #040c06;
  border: none;
  border-radius: 8px;
  font-family: var(--font-bebas);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.mnc-btn-buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.mnc-owner-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.mnc-btn-edit {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.14s ease;
  width: 100%;
  box-sizing: border-box;
}
.mnc-btn-edit:hover {
  background: var(--gold);
  color: #040c06;
}

.mnc-btn-delist {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.14s ease;
  width: 100%;
  box-sizing: border-box;
}
.mnc-btn-delist:hover {
  background: var(--red);
  color: #ffffff;
}


/* =====================================================================
   QATAR 2022 WORLD CUP TRADING CARD STYLES
   - Full 2:3 portrait aspect ratio (matches original 2000x3000px artwork)
   - Unobscured layout: 46px top clearance so badges NEVER cover the top flag
   - Contain fit: 100% of the artwork (top flag to bottom trophy) is visible
   - Un-truncated title & custom on-chain tournament trait badges
   ===================================================================== */
.m-nft-card.card-qatar {
  border-color: rgba(138, 21, 56, 0.45);
  background: linear-gradient(180deg, #18050d 0%, #0d060a 60%, #080205 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(138, 21, 56, 0.2);
}

.m-nft-card.card-qatar:hover {
  border-color: #e63946;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), 0 0 28px rgba(230, 57, 70, 0.35);
}

/* Dedicated top header clearance so badges NEVER overlap artwork */
.m-nft-card.card-qatar .mnc-media-wrap {
  aspect-ratio: 2 / 3 !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 46px 10px 10px 10px !important;
  background: radial-gradient(circle at 50% 25%, #2a0b17 0%, #080205 100%);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.m-nft-card.card-qatar .mnc-media-img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
  object-fit: contain !important;
  border-radius: 8px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.m-nft-card.card-qatar:hover .mnc-media-img {
  transform: scale(1.025);
  filter: drop-shadow(0 10px 22px rgba(230, 57, 70, 0.35));
}

/* Badges positioned cleanly in the top clearance zone */
.m-nft-card.card-qatar .mnc-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(10, 2, 5, 0.9);
  border: 1px solid #e63946;
  color: #ff6b6b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.m-nft-card.card-qatar .mnc-xoxno-badge,
.m-nft-card.card-qatar .mnc-nfoot-badge,
.m-nft-card.card-qatar .mnc-col-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(10, 2, 5, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Qatar title row: never truncate 'Premium Cards #309' */
.m-nft-card.card-qatar .mnc-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.m-nft-card.card-qatar .mnc-title {
  white-space: normal;
  font-size: 1.35rem;
  line-height: 1.15;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  color: #ffffff;
}

.m-nft-card.card-qatar .mnc-title-tags {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Qatar Collectible Traits Row (replaces game skills) */
.qatar-traits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
  align-items: center;
}

.qatar-trait-pill {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.35);
  color: #ffb4b4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Detail Modal portrait fit for Qatar */
.m-detail-media.is-qatar img {
  aspect-ratio: 2 / 3 !important;
  object-fit: contain !important;
  background: radial-gradient(circle at 50% 25%, #2a0b17 0%, #080205 100%);
  padding: 10px;
  border-color: rgba(230, 57, 70, 0.45);
}

.qatar-collectible-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(230, 57, 70, 0.12);
  border: 1px dashed rgba(230, 57, 70, 0.45);
  border-radius: 8px;
  color: #ffb4b4;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================================================================
   TAB 2: MY LOCKER ROOM
   ===================================================================== */
.m-locker-head {
  margin-bottom: 24px;
}

.m-locker-head h2 {
  font-family: var(--font-bebas);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
}

.m-locker-sub {
  color: var(--text-sub);
  font-size: 0.88rem;
  margin-top: 4px;
}

.m-not-connected-box {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 48px 20px;
  text-align: center;
  max-width: 520px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mnc-icon {
  font-size: 3rem;
}

.m-not-connected-box h3 {
  font-family: var(--font-bebas);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.m-not-connected-box p {
  color: var(--text-sub);
  font-size: 0.88rem;
}

/* =====================================================================
   TAB 3: SKILLS STORE GRID
   ===================================================================== */
.m-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.m-skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.18s ease;
}

.m-skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 255, 0, 0.4);
}

.msk-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msk-badge-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.2s;
}

.m-skill-card:hover .msk-badge-thumb {
  transform: scale(1.08);
  border-color: var(--neon);
}

.msk-icon {
  font-size: 1.8rem;
}

.msk-name {
  font-family: var(--font-bebas);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
}

.msk-desc {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.35;
}

.msk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.msk-btn-single {
  background: rgba(168, 255, 0, 0.12);
  border: 1px solid var(--neon);
  color: var(--neon);
  border-radius: 8px;
  padding: 8px 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.msk-btn-single:hover {
  background: var(--neon);
  color: #040c06;
}

.msk-btn-pack {
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  padding: 8px 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.msk-btn-pack:hover {
  background: var(--gold);
  color: #040c06;
}

/* =====================================================================
   MODALS
   ===================================================================== */
.m-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.18s ease;
}

.m-modal-card {
  background: linear-gradient(165deg, rgba(14, 24, 34, 0.98), rgba(6, 12, 18, 0.99));
  border: 2px solid var(--border-card);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
}

.m-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.14s ease;
}
.m-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.m-modal-head {
  margin-bottom: 16px;
}

.m-modal-head h3 {
  font-family: var(--font-bebas);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

/* Details Modal Layout */
.details-card {
  width: 95%;
  max-width: 780px;
  border-color: var(--neon);
}

.m-detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

@media (max-width: 680px) {
  .m-detail-layout {
    grid-template-columns: 1fr;
  }
}

.m-detail-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
}

.m-detail-rank-pill {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.m-detail-col-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon);
}

.m-detail-name {
  font-family: var(--font-bebas);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1;
}

.m-detail-trait {
  color: var(--text-sub);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.m-detail-section {
  margin-bottom: 14px;
}

.mds-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.m-powers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-power-badge {
  background: rgba(168, 255, 0, 0.12);
  border: 1px solid rgba(168, 255, 0, 0.35);
  color: var(--neon);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.m-traits-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.m-trait-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}

.mtc-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #94a3b8;
}

.mtc-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.m-detail-buy-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}

.mdb-price-box {
  display: flex;
  flex-direction: column;
}

.mdb-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-sub);
}

.mdb-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--gold);
}

.m-detail-links {
  display: flex;
  gap: 12px;
}

.m-ext-link {
  color: var(--cyan);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-decoration: none;
}
.m-ext-link:hover {
  text-decoration: underline;
}

/* Forms: List & Edit Modal */
.form-card {
  width: 95%;
  max-width: 440px;
}

.m-form-preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
}

.m-form-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.m-rank-mini {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

.m-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.m-form-field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
}

.m-input-with-currency {
  display: flex;
  gap: 6px;
}

.m-input-with-currency input {
  flex: 1;
  background: rgba(10, 18, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 1rem;
  outline: none;
}
.m-input-with-currency input:focus {
  border-color: var(--neon);
}

.m-currency-select {
  background: #111a24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 8px;
}
.m-currency-select option {
  background: #0f1722;
  color: #ffffff;
}

.m-currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111a24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 8px;
}

/* Custom Token Selector for Listing Modal */
.list-currency-dropdown {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.list-currency-trigger {
  height: 44px;
  background: #111a24;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.list-currency-trigger:hover {
  background: #182534;
  border-color: #23f7dd;
  box-shadow: 0 0 12px rgba(35, 247, 221, 0.3);
}

#list-currency-menu-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 260px;
  background: #0d151c;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.92), 0 0 25px rgba(0, 0, 0, 0.65);
  z-index: 1050;
  animation: dropdownFadeIn 0.16s ease;
}

#list-currency-menu-list .token-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
}

#list-currency-menu-list .token-dropdown-item:hover {
  background: rgba(26, 164, 184, 0.25);
}

#list-currency-menu-list .token-dropdown-item.active {
  background: rgba(35, 247, 221, 0.16);
  border: 1px solid rgba(35, 247, 221, 0.45);
}

#list-currency-menu-list .token-dropdown-item .td-symbol {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

#list-currency-menu-list .token-dropdown-item .td-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

#list-currency-menu-list .token-dropdown-item .td-check {
  margin-left: auto;
  color: #23f7dd;
  font-weight: 800;
  display: none;
}

#list-currency-menu-list .token-dropdown-item.active .td-check {
  display: inline-block;
}

.m-fee-summary {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.mfs-row {
  display: flex;
  justify-content: space-between;
}
.mfs-row .neon {
  color: var(--neon);
}

/* Wallet Card */
.wallet-card {
  width: 95%;
  max-width: 440px;
}

.m-wallet-providers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-prov-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
}
.m-prov-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon);
}

.mp-icon {
  font-size: 1.6rem;
}

.mp-info {
  display: flex;
  flex-direction: column;
}

.mp-info strong {
  font-size: 0.95rem;
}

.mp-info small {
  font-size: 0.72rem;
  color: var(--text-sub);
}

.m-qr-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #040c06;
}

.m-manual-erd-box {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-manual-erd-box label {
  font-size: 0.72rem;
  color: var(--text-sub);
}

.m-input-row {
  display: flex;
  gap: 6px;
}

.m-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  outline: none;
}

/* Toast Notification */
.m-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: rgba(14, 24, 34, 0.96);
  border: 1px solid var(--neon);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(168, 255, 0, 0.25);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  animation: slideUp 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: min(92vw, 480px);
}

.m-toast-body {
  flex: 1;
  word-break: break-word;
  line-height: 1.4;
}

.m-toast-explorer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(35, 247, 221, 0.12);
  border: 1px solid rgba(35, 247, 221, 0.45);
  color: #23f7dd;
  padding: 6px 11px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.m-toast-explorer-link:hover {
  background: #23f7dd;
  color: #041014;
  box-shadow: 0 0 14px rgba(35, 247, 221, 0.7);
  transform: translateY(-1px);
}

.m-toast-link-icon {
  flex-shrink: 0;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* =====================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   ===================================================================== */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input, select, textarea {
    font-size: 16px !important;
  }

  .m-container {
    width: 95%;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  /* Sticky Navigation */
  .market-nav.krogan-nav,
  .market-nav {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
  }
  .m-nav-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas:
      "brand . wallet"
      "links links links" !important;
    row-gap: 6px !important;
    column-gap: 8px !important;
    align-items: center !important;
  }
  .m-nav-left-cluster {
    display: contents !important;
  }
  .brand,
  .m-brand {
    grid-area: brand !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .brand-logo,
  .m-brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .brand-sub,
  .m-brand-sub {
    display: none;
  }
  .m-nav-actions {
    grid-area: wallet !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    gap: 6px !important;
  }
  .m-nav-menu-krogan {
    grid-area: links !important;
    gap: 10px !important;
    overflow-x: auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 4px !important;
  }
  .m-nav-menu-krogan::-webkit-scrollbar {
    display: none;
  }
  .m-nav-item-krogan {
    font-size: 0.78rem;
    padding: 6px 10px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    flex-shrink: 0;
  }

  /* Krogan Wallet Pill & Connect Button */
  .krogan-wallet-pill {
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 5px;
    border-radius: 8px;
  }
  .kwp-addr {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .kwp-divider {
    display: none;
  }
  .kwp-disc {
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 4px;
  }
  .krogan-btn-connect {
    padding: 8px 12px;
    font-size: 0.76rem;
    min-height: 40px;
  }

  /* Hero & Stats Strip */
  .m-hero-section {
    padding: 16px 0 12px;
  }
  .m-title {
    font-size: clamp(1.9rem, 6.5vw, 2.6rem);
    line-height: 1.05;
  }
  .m-subtitle {
    font-size: 0.84rem;
    line-height: 1.35;
  }
  .m-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .m-stat-box {
    padding: 10px 12px;
  }
  .msb-val {
    font-size: 1.25rem;
  }

  /* Navigation Tabs */
  .m-tabs-row {
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .m-tabs-row::-webkit-scrollbar {
    display: none;
  }
  .m-tab-btn {
    font-size: 1.15rem;
    padding: 7px 13px;
    min-height: 42px;
    flex-shrink: 0;
  }

  /* Filters Bar */
  .m-filters-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
  }
  .m-search-box {
    width: 100%;
  }
  .m-filter-group {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }
  .m-filter-pill {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .m-select {
    width: 100%;
    height: 42px;
    font-size: 16px;
    border-radius: 10px;
  }

  /* NFT Cards Grid */
  .m-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .m-nft-card {
    border-radius: 14px;
    min-width: 0;
  }
  .m-nft-card.is-nfoot-native {
    border-width: 3.5px !important;
    border-radius: 14px !important;
  }
  .m-nft-card.is-nfoot-native .mnc-body {
    padding-bottom: 8px !important;
  }
  .circuit-corner {
    width: 30px;
    height: 30px;
  }
  .circuit-bus-l, .circuit-bus-r {
    height: 32px;
  }
  .circuit-top-bar, .circuit-bot-bar {
    width: 45px;
  }
  .circuit-frame-badge {
    display: none !important;
  }
  .mnc-rank-badge {
    font-size: 0.60rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
    max-width: 48%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mnc-nfoot-badge,
  .mnc-xoxno-badge,
  .mnc-col-tag {
    font-size: 0.60rem;
    padding: 2px 6px;
    top: 6px;
    right: 6px;
    max-width: 48%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 3px;
  }
  .mnc-nfoot-logo-img,
  .mnc-xoxno-logo-img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .mnc-nfoot-text,
  .mnc-xoxno-text {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mnc-thumb-wrap,
  .mnc-media-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
  }
  .mnc-media-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
  }
  /* Qatar mobile */
  .m-nft-card.card-qatar .mnc-media-wrap {
    aspect-ratio: 2 / 3 !important;
    padding: 44px 8px 8px 8px !important;
  }
  .m-nft-card.card-qatar .mnc-media-img {
    aspect-ratio: unset !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .m-nft-card.card-qatar .mnc-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .m-nft-card.card-qatar .mnc-title {
    white-space: normal !important;
    font-size: 1.15rem !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  .mnc-body {
    padding: 10px;
    gap: 6px;
    min-width: 0;
  }
  .mnc-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-width: 0;
    width: 100%;
  }
  .mnc-title {
    font-size: 1.15rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
  }
  .mnc-title-tags {
    flex-shrink: 0;
  }
  .mnc-role-tag,
  .mnc-vip-tag {
    font-size: 0.60rem;
    padding: 2px 5px;
    white-space: nowrap;
  }
  .mnc-trait-desc {
    font-size: 0.70rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
  }
  .mnc-powers-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    overflow: hidden;
    max-height: 22px;
  }
  .mnc-power-pill {
    font-size: 0.58rem;
    padding: 1px 4px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
  }
  .mnc-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
  }
  .mnc-price-box {
    width: 100%;
    gap: 2px;
  }
  .mnc-price-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .mnc-price-lbl {
    font-size: 0.58rem;
  }
  .mnc-seller-lbl {
    font-size: 0.60rem;
    max-width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mnc-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    margin: 1px 0 2px 0;
  }
  .mnc-price-val {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-price-curr-pill {
    padding: 1px 5px;
    gap: 3px;
  }
  .m-price-curr-logo {
    width: 14px;
    height: 14px;
  }
  .m-price-curr-ticker {
    font-size: 0.65rem;
  }
  .mnc-btn-buy,
  .mnc-btn {
    min-height: 38px;
    font-size: 1rem;
    padding: 6px 10px;
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }
  .mnc-owner-btns {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .mnc-btn-edit,
  .mnc-btn-delist {
    font-size: 0.68rem;
    padding: 5px 6px;
    text-align: center;
    justify-content: center;
    min-height: 34px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Pools, Minters, and Activity Grids */
  .pools-grid,
  .mm-cards-grid,
  .m-activity-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pool-card-main,
  .mm-card {
    padding: 16px 14px;
    border-radius: 16px;
    min-width: 0;
  }

  /* Swap Card */
  .market-swap-card {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .ms-input-amt {
    font-size: 1.35rem;
  }
  .ms-swap-action-btn {
    min-height: 48px;
    font-size: 1.2rem;
  }
  .token-dropdown-trigger {
    padding: 7px 10px;
    font-size: 0.88rem;
    gap: 6px;
  }
  .token-logo-img {
    width: 20px;
    height: 20px;
  }
  .token-dropdown-list {
    width: min(280px, calc(100vw - 48px));
  }

  /* Modals */
  .m-modal-card {
    width: min(96%, 480px);
    max-height: 92dvh;
    padding: 18px 14px;
    border-radius: 20px;
    box-sizing: border-box;
  }
  .m-modal-head {
    padding-right: 40px;
  }
  .m-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.9rem;
  }
  .m-detail-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Ultras Pass */
  .ultras-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ultras-card-box {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .ultras-hologram-stage {
    width: 160px;
    height: 160px;
  }
  .ultras-hologram-shield {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .m-stats-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .m-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    max-width: 100%;
    margin: 0;
    width: 100%;
  }
  .mnc-body {
    padding: 8px;
    gap: 5px;
  }
  .mnc-rank-badge {
    font-size: 0.56rem;
    padding: 2px 5px;
  }
  .mnc-nfoot-badge,
  .mnc-xoxno-badge,
  .mnc-col-tag {
    font-size: 0.56rem;
    padding: 2px 5px;
  }
  .mnc-title {
    font-size: 1.05rem;
  }
  .mnc-role-tag,
  .mnc-vip-tag {
    font-size: 0.56rem;
    padding: 1px 4px;
  }
  .mnc-trait-desc {
    font-size: 0.66rem;
  }
  .mnc-power-pill {
    font-size: 0.53rem;
    padding: 1px 3px;
  }
  .mnc-footer {
    gap: 4px;
    padding-top: 5px;
  }
  .mnc-price-lbl {
    font-size: 0.54rem;
  }
  .mnc-seller-lbl {
    font-size: 0.56rem;
  }
  .mnc-price-val {
    font-size: 0.95rem;
  }
  .m-price-curr-logo {
    width: 12px;
    height: 12px;
  }
  .m-price-curr-ticker {
    font-size: 0.60rem;
  }
  .mnc-btn-buy,
  .mnc-btn {
    min-height: 35px;
    font-size: 0.95rem;
    padding: 5px 8px;
  }
  .mnc-owner-btns {
    gap: 3px;
  }
  .mnc-btn-edit,
  .mnc-btn-delist {
    font-size: 0.64rem;
    padding: 4px 4px;
    min-height: 32px;
  }
  .m-pagination-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }
  .m-page-size-selector,
  .m-page-nav-controls {
    width: 100%;
    justify-content: space-between;
  }
  .m-page-size-btn,
  .m-page-nav-btn {
    min-height: 40px;
    padding: 6px 12px;
  }
}

/* =====================================================================
   MARKETPLACE PAGINATION & PAGE SIZE TOOLBAR
   ===================================================================== */
.m-pagination-bar {
  margin-top: 36px;
  padding: 16px 22px;
  background: rgba(10, 18, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.m-page-size-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-page-size-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.m-page-size-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(4, 8, 12, 0.6);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.m-page-size-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.m-page-size-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.m-page-size-btn.active {
  background: linear-gradient(135deg, rgba(35, 247, 221, 0.22), rgba(168, 255, 0, 0.22));
  border-color: #23f7dd;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(35, 247, 221, 0.35);
}

.m-page-nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-page-nav-btn {
  background: #111a24;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.m-page-nav-btn:hover:not(:disabled) {
  background: #1a2736;
  border-color: #23f7dd;
  box-shadow: 0 0 14px rgba(35, 247, 221, 0.35);
  transform: translateY(-1px);
}

.m-page-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
}

.m-page-info {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  padding: 0 6px;
}

@media (max-width: 640px) {
  .m-pagination-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 14px 16px;
  }
  .m-page-size-selector, .m-page-nav-controls {
    justify-content: space-between;
    width: 100%;
  }
}

/* =====================================================================
   XOXNO BADGE & EMPTY STATE
   ===================================================================== */
.mnc-xoxno-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 15, 26, 0.92);
  border: 1.5px solid #a855f7;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.45), 0 0 10px rgba(168, 255, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mnc-xoxno-badge:hover {
  transform: scale(1.06);
  border-color: var(--neon);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.7), 0 0 14px rgba(168, 255, 0, 0.5);
}

.mnc-xoxno-logo-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.mnc-xoxno-text {
  background: linear-gradient(135deg, #ffffff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.m-empty-state {
  animation: fadeIn 0.3s ease;
}

.m-empty-state:hover {
  border-color: rgba(168, 255, 0, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* =====================================================================
   ADDITIONAL TABS STYLING & ULTRAS VIP HIGHLIGHT
   ===================================================================== */
.m-tab-btn.gold-highlight {
  border-color: rgba(255, 184, 0, 0.4);
  color: #ffb800;
  background: rgba(255, 184, 0, 0.06);
}
.m-tab-btn.gold-highlight:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: #ffb800;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.25);
}
.m-tab-btn.gold-highlight.active {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.22), rgba(255, 184, 0, 0.06));
  border-color: #ffb800;
  color: #ffb800;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.35);
}

/* =====================================================================
   EFOO ULTRAS PASS (OFFICIAL VIP 0% FEE SUITE)
   ===================================================================== */
.ultras-wrapper {
  animation: fadeIn 0.35s ease;
}
.ultras-hero-head {
  text-align: center;
  margin-bottom: 30px;
}
.ultras-hero-title {
  font-family: var(--font-bebas);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 6px 0;
  line-height: 1.05;
}
.ultras-hero-sub {
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ultras-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 35px;
}
@media (max-width: 900px) {
  .ultras-grid {
    grid-template-columns: 1fr;
  }
}

.ultras-card-box {
  background: radial-gradient(circle at 50% 15%, rgba(20, 50, 26, 0.85), rgba(7, 14, 10, 0.98));
  border: 2px solid rgba(168, 255, 0, 0.4);
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 255, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ultras-card-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.08), transparent 70%);
  pointer-events: none;
}

.ultras-hologram-stage {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ultras-hologram-shield {
  width: 190px;
  height: 190px;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.25), rgba(168, 255, 0, 0.1) 60%, rgba(5, 10, 7, 0.9));
  border: 2px solid rgba(255, 184, 0, 0.8);
  box-shadow: 0 0 35px rgba(255, 184, 0, 0.5), inset 0 0 25px rgba(168, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulseGoldGlow 3s infinite alternate ease-in-out;
}
@keyframes pulseGoldGlow {
  0% { transform: scale(0.98); box-shadow: 0 0 25px rgba(255, 184, 0, 0.4); }
  100% { transform: scale(1.02); box-shadow: 0 0 45px rgba(255, 184, 0, 0.7), 0 0 25px rgba(168, 255, 0, 0.4); }
}
.ultras-shield-emblem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.ultras-supply-pill {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 184, 0, 0.5);
  color: #ffb800;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ultras-card-title {
  font-family: var(--font-bebas);
  font-size: 1.9rem;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}
.ultras-card-tagline {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.ultras-stepper-box {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 18px;
}
.usb-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-sub);
  margin-bottom: 8px;
}
.usb-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.usb-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}
.usb-btn:hover {
  background: var(--neon);
  color: #050a07;
  border-color: var(--neon);
}
.usb-input {
  width: 60px;
  text-align: center;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-bebas);
  font-size: 1.8rem;
  font-weight: 800;
  outline: none;
}
.usb-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--neon);
}

.ultras-price-total {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 16px;
}
.ultras-price-total strong {
  color: #ffb800;
  font-size: 1.35rem;
}

.ultras-buy-btn {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-bebas);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #a8ff00, #ffb800);
  border: none;
  border-radius: 14px;
  color: #050a07;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 25px rgba(168, 255, 0, 0.4);
}
.ultras-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 184, 0, 0.6);
}

.ultras-owned-badge {
  background: rgba(168, 255, 0, 0.12);
  border: 1px solid var(--neon);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  width: 100%;
  margin-top: 12px;
}

/* Right Column Benefits Card */
.ultras-benefits-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ubb-title {
  font-family: var(--font-bebas);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ubb-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ubb-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #e2e8f0;
  line-height: 1.4;
}
.ubb-icon {
  color: var(--neon);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.ubb-item strong {
  color: #ffffff;
}

.ultras-savings-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 16px;
  padding: 16px 20px;
}
.usc-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffb800;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.usc-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.usc-col {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 10px;
}
.usc-col span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-sub);
  margin-bottom: 2px;
}
.usc-col strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--neon);
}

/* =====================================================================
   LIQUIDITY POOLS TAB (EGLD & USDC MULTIVERSX POOLS)
   ===================================================================== */
.pools-wrapper {
  animation: fadeIn 0.35s ease;
}
.pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}
.pool-card-main {
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.pool-card-main:hover {
  border-color: rgba(168, 255, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.pool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pool-pair-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ppb-icons {
  display: flex;
  align-items: center;
}
.ppb-icons img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #18181b;
}
.ppb-icons img:nth-child(2) {
  margin-left: -10px;
}
.ppb-title {
  font-family: var(--font-bebas);
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.pool-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.pool-tag.primary {
  background: rgba(168, 255, 0, 0.15);
  color: var(--neon);
  border: 1px solid rgba(168, 255, 0, 0.3);
}
.pool-tag.stable {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pool-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.ps-item {
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ps-lbl {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-sub);
  margin-bottom: 2px;
}
.ps-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
}
.ps-val.neon {
  color: var(--neon);
}

.pool-actions-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.pool-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pool-btn.primary {
  background: var(--neon);
  color: #050a07;
  border: none;
}
.pool-btn.primary:hover {
  background: #8ce600;
}
.pool-btn.sec {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.pool-btn.sec:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* LP Interactive Calculator Card */
.pool-calc-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(168, 255, 0, 0.25);
  border-radius: 20px;
  padding: 24px;
}
.pcc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pcc-head h3 {
  font-family: var(--font-bebas);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0;
}
.pcc-calc-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  align-items: center;
}
@media (max-width: 768px) {
  .pcc-calc-row {
    grid-template-columns: 1fr;
  }
}
.pcc-input-wrap input {
  width: 100%;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  padding: 10px 14px;
  border-radius: 12px;
  outline: none;
}
.pcc-input-wrap label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.pcc-returns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pr-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.pr-box small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-sub);
  margin-bottom: 3px;
}
.pr-box strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--neon);
}

/* =====================================================================
   DEX SWAP & MINTER TABS IN MARKETPLACE
   ===================================================================== */
.market-swap-wrap,
.market-mint-wrap {
  animation: fadeIn 0.35s ease;
  max-width: 820px;
  margin: 0 auto;
}
.m-tab-header {
  text-align: center;
  margin-bottom: 24px;
}
.m-tab-header h2 {
  font-family: var(--font-bebas);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 4px 0;
}
.m-tab-header p {
  color: var(--text-sub);
  font-size: 0.92rem;
  max-width: 600px;
  margin: 0 auto;
}

.market-swap-card {
  background: radial-gradient(circle at 50% 10%, rgba(20, 35, 45, 0.8), rgba(9, 13, 20, 0.95));
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
}
.ms-token-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
}
.ms-token-box.open-box,
.ms-token-box:has(.custom-token-selector.open) {
  z-index: 1060;
}
.ms-token-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.ms-token-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ms-input-amt {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}
.ms-input-amt::-webkit-outer-spin-button,
.ms-input-amt::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ms-btn-max {
  background: rgba(168, 255, 0, 0.12);
  border: 1px solid rgba(168, 255, 0, 0.4);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.ms-btn-max:hover {
  background: var(--neon);
  color: #040c06;
  box-shadow: 0 0 14px rgba(168, 255, 0, 0.6);
  transform: scale(1.05);
}

.ms-btn-max:active {
  transform: scale(0.96);
}
/* Custom Token Selector with Official Logos */
.custom-token-selector {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.token-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #18181b;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.token-dropdown-trigger:hover {
  background: #27272a;
  border-color: rgba(168, 255, 0, 0.5);
}

.token-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.token-logo-img.round {
  border-radius: 50%;
}

.token-name-text {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.token-chevron {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.custom-token-selector.open .token-chevron {
  transform: rotate(180deg);
}

/* Floating Dropdown Menu */
.token-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 247, 221, 0.4) transparent;
  background: #0d151c;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.92), 0 0 25px rgba(0, 0, 0, 0.6);
  z-index: 1050;
  animation: dropdownFadeIn 0.18s ease;
}

.token-dropdown-list::-webkit-scrollbar {
  width: 6px;
}
.token-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(35, 247, 221, 0.4);
  border-radius: 4px;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.token-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.token-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.token-dropdown-item.active {
  background: rgba(168, 255, 0, 0.12);
  border: 1px solid rgba(168, 255, 0, 0.3);
}

.token-dropdown-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.token-dropdown-logo.round {
  border-radius: 50%;
}

.token-dropdown-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.td-symbol {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.td-sub {
  font-size: 0.72rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-check {
  font-size: 0.85rem;
  color: var(--neon);
  opacity: 0;
  font-weight: 900;
}

.token-dropdown-item.active .td-check {
  opacity: 1;
}

/* Receive pill box with real token logo */
.token-recv-pill-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  user-select: none;
}
.token-recv-pill-box .token-logo-img {
  width: 24px;
  height: 24px;
}
.ms-flip-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 10px 0;
}
.ms-flip-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--neon);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.ms-flip-btn:hover {
  transform: rotate(180deg);
  background: var(--neon);
  color: #050a07;
}

/* ==========================================================================
   MANUAL STARTER BONUS SELECTOR & QUESTION MARK TOOLTIP (ENGLISH ONLY)
   ========================================================================== */
.m-swap-bonus-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 255, 136, 0.04);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 14px 0 16px 0;
  transition: all 0.25s ease;
  position: relative;
}

.m-swap-bonus-row.disabled {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 0.65;
}

.m-swap-bonus-row.eligible {
  background: rgba(0, 255, 136, 0.06);
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.08);
}

.m-swap-bonus-row.checked {
  background: rgba(0, 255, 136, 0.12);
  border: 1.5px solid var(--neon);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.22);
}

.m-swap-bonus-row.claimed {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 0.55;
}

.m-bonus-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
  flex: 1;
}

.m-swap-bonus-row.disabled .m-bonus-checkbox-label {
  cursor: not-allowed;
  color: var(--text-sub);
}

.m-bonus-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.m-bonus-custom-check {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.5px solid rgba(0, 255, 136, 0.45);
  background: rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.m-bonus-checkbox-label input[type="checkbox"]:checked + .m-bonus-custom-check {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.m-bonus-checkbox-label input[type="checkbox"]:checked + .m-bonus-custom-check::after {
  content: "✔";
  color: #020904;
  font-size: 0.72rem;
  font-weight: 900;
}

.m-bonus-checkbox-label input[type="checkbox"]:disabled + .m-bonus-custom-check {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
}

.m-bonus-label-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.m-bonus-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.m-bonus-badge.eligible {
  background: #22c55e;
  color: #020904;
}

.m-bonus-badge.locked {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid #ffb800;
  color: #ffb800;
}

.m-bonus-badge.claimed {
  background: rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}

/* Question Mark Tooltip Trigger & Popup */
.m-bonus-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.m-bonus-info-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e5e7eb;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.m-bonus-info-wrap:hover .m-bonus-info-btn,
.m-bonus-info-wrap:focus-within .m-bonus-info-btn,
.m-bonus-info-wrap.active .m-bonus-info-btn {
  background: var(--neon);
  color: #020904;
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.m-bonus-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 310px;
  max-width: 88vw;
  background: #0b131a;
  border: 1.5px solid rgba(0, 255, 136, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.45;
  color: #d1d5db;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.22s ease;
}

.m-bonus-info-wrap:hover .m-bonus-tooltip,
.m-bonus-info-wrap:focus-within .m-bonus-tooltip,
.m-bonus-info-wrap.active .m-bonus-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.m-bonus-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 6px;
  border: 6px solid transparent;
  border-top-color: rgba(0, 255, 136, 0.35);
}

.m-bonus-tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.m-bonus-tt-title {
  color: var(--neon);
  font-weight: 800;
  font-size: 0.82rem;
}

.m-bonus-tt-desc {
  color: #9ca3af;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.m-bonus-tt-criteria {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-btt-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.71rem;
}

.m-btt-icon {
  font-weight: 800;
  flex-shrink: 0;
}

.m-btt-item.met .m-btt-icon {
  color: #22c55e;
}

.m-btt-item.unmet .m-btt-icon {
  color: #ef4444;
}

.m-btt-divider {
  font-size: 0.64rem;
  color: var(--neon);
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
  opacity: 0.8;
  margin: -2px 0;
}

.m-bonus-tt-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.m-btt-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}

.m-btt-links {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sbb-action-link {
  color: var(--neon);
  text-decoration: underline;
  font-weight: 800;
  cursor: pointer;
}

.sbb-action-link:hover {
  color: #fff;
}

.m-swap-slippage-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.m-slippage-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 2px;
  gap: 3px;
}

.m-slip-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.m-slip-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.m-slip-btn.active {
  background: var(--neon);
  color: #040c06;
  font-weight: 900;
  box-shadow: 0 0 8px rgba(168, 255, 0, 0.4);
}

.ms-swap-action-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-family: var(--font-bebas);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  background: var(--neon);
  color: #050a07;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 25px rgba(168, 255, 0, 0.35);
}
.ms-swap-action-btn:hover {
  background: #8ce600;
  transform: translateY(-2px);
}

/* Minter Cards on Marketplace */
.market-mint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.mm-card {
  background: rgba(18, 24, 38, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.mm-card.gold-border {
  border-color: rgba(255, 184, 0, 0.35);
}
.mm-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.mm-thumb {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--neon);
}
.mm-thumb.gold {
  border-color: #ffb800;
}
.mm-title-col h3 {
  font-family: var(--font-bebas);
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 4px;
  letter-spacing: 0.04em;
}
.mm-coll-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--neon);
}
.mm-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 16px;
}
.mm-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.mm-meta-row strong {
  color: #ffffff;
}
.mm-price-tag {
  color: var(--neon);
  font-weight: 800;
}
.mm-price-tag.gold {
  color: #ffb800;
}

.mm-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.mm-mint-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-bebas);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  background: var(--neon);
  color: #050a07;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}
.mm-mint-btn:hover {
  background: #8ce600;
}
.mm-mint-btn.gold {
  background: #ffb800;
}
.mm-mint-btn.gold:hover {
  background: #e5a700;
}

/* Krogan / Market Badges for In-Dev & Coming Soon items */
.badge-soon, .krogan-soon-badge, .tab-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 184, 0, 0.15);
  color: #ffb800;
  border: 1px solid rgba(255, 184, 0, 0.4);
  padding: 1px 6px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.2;
}

.badge-dev, .badge-in-dev {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 1px 6px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .m-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    max-width: 100%;
    padding: 11px 14px;
    font-size: 0.8rem;
    box-sizing: border-box;
    gap: 8px;
  }
  .m-toast-explorer-link {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
}




/* ============================================================================
   VIDEO NFT STYLING & CINEMA LIGHTBOX PLAYER
   ============================================================================ */
.card-video .mnc-media-wrap {
  cursor: pointer;
  position: relative;
}

.mnc-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(1.5px);
  transition: all 0.22s ease;
  z-index: 5;
  pointer-events: none;
}

.card-video:hover .mnc-video-play-overlay,
.mnc-media-wrap:hover .mnc-video-play-overlay {
  background: rgba(0, 0, 0, 0.22);
}

.mnc-video-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.65), 0 4px 14px rgba(0, 0, 0, 0.5);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding-left: 4px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-video:hover .mnc-video-play-btn,
.mnc-media-wrap:hover .mnc-video-play-btn {
  transform: scale(1.15);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.9);
}

.mnc-video-play-lbl {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
  background: rgba(3, 9, 6, 0.88);
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Video Cinema Card & Lightbox Modal */
.video-cinema-card {
  width: 95%;
  max-width: 820px;
  background: linear-gradient(170deg, rgba(8, 20, 14, 0.98), rgba(2, 6, 4, 0.99));
  border: 2px solid #38bdf8;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(56, 189, 248, 0.3);
  border-radius: 22px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-sizing: border-box;
}

.video-cinema-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.vch-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.06em;
}

.vch-title {
  font-family: var(--font-bebas, 'Bebas Neue', sans-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.04em;
}

.vch-col {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.76rem;
  color: #94a3b8;
}

.video-cinema-player-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-cinema-player-wrap video {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.video-cinema-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vcf-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vcf-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 800;
  color: #a8ff00;
}

.vcf-dim {
  font-size: 0.72rem;
  color: #64748b;
}

#detail-nft-video {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
  border: 1px solid rgba(56, 189, 248, 0.35);
}


/* ============================================================================
   XOXNO-INSPIRED MINT CAPSULE COMPONENT
   ============================================================================ */
.xoxno-mint-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 6px 14px;
  border-radius: 9999px;
  background: #111116;
  position: relative;
  box-sizing: border-box;
  min-height: 52px;
  transition: all 0.25s ease;

  /* Premium gradient border (purple to pink to orange) */
  border: 1.5px solid transparent;
  background-image: linear-gradient(#111116, #111116), linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(236, 72, 153, 0.12);
}

.xoxno-mint-bar:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), 0 0 24px rgba(236, 72, 153, 0.24);
}

/* Inactive variant for Qatar / Sold Out */
.xoxno-mint-bar.inactive {
  background-image: linear-gradient(#0e0e12, #0e0e12), linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: none;
  opacity: 0.85;
}

.xmb-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xmb-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xmb-icon-box.inactive {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.xmb-flame-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.xmb-lock-icon {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  display: block;
}

.xmb-status-lbl {
  font-family: var(--font-inter, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.xmb-status-lbl.inactive {
  color: #94a3b8;
  font-weight: 500;
}

/* Action Mint Button */
.xmb-mint-btn {
  background: linear-gradient(90deg, #ff9f1c 0%, #ff3880 100%);
  color: #ffffff;
  font-family: var(--font-inter, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 9999px;
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 56, 128, 0.35);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.xmb-mint-btn:hover:not(:disabled) {
  transform: scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(255, 56, 128, 0.55);
}

.xmb-mint-btn:active:not(:disabled) {
  transform: scale(0.97);
}

/* Inactive Sold Out Button */
.xmb-mint-btn.inactive,
.xmb-mint-btn:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Secondary Link Button (XOXNO / VIP) */
.xmb-sec-link {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.16s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.xmb-sec-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.xmb-sec-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.mm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.mm-qatar-sec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.mm-qatar-sec-row > * {
  flex: 1;
}

@media (max-width: 480px) {
  .xoxno-mint-bar {
    padding: 5px 5px 5px 12px;
    min-height: 48px;
  }
  .xmb-status-lbl {
    font-size: 0.86rem;
  }
  .xmb-mint-btn {
    padding: 8px 18px;
    font-size: 0.86rem;
  }
}
