:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --indigo: #4f46e5;
  --indigo-hover: #4338ca;
  --indigo-soft: #eef2ff;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --sky: #0284c7;
  --sky-soft: #f0f9ff;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: 12px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .nav-mobile {
    display: none !important;
  }
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s;
}

.nav-btn svg,
.btn svg,
.pill-emerald svg,
.pill-indigo svg {
  width: 16px;
  height: 16px;
}

.nav-btn:hover {
  color: var(--text);
}

.nav-btn.active {
  background: #fff;
  color: var(--indigo);
  box-shadow: var(--shadow-sm);
}

.nav-mobile {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mob-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.mob-btn.active {
  background: var(--indigo);
  color: #fff;
}

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

.balance-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 12px;
  text-align: right;
}

.balance-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.balance-value {
  font-size: 13px;
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
}

.btn-primary:hover {
  background: var(--indigo-hover);
}

.btn-dark {
  background: #0f172a;
  color: #fff;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-emerald {
  background: var(--emerald);
  color: #fff;
}

.btn-emerald:hover {
  background: #047857;
}

.btn-rose-soft {
  background: var(--rose-soft);
  border-color: #fecdd3;
  color: var(--rose);
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--surface-alt);
}

.btn-icon {
  padding: 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-icon:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.btn-icon-plain {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.w-full {
  width: 100%;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}

/* Main & Sections */
.main-content {
  flex: 1;
  padding-top: 24px;
  padding-bottom: 32px;
}

.tab-section {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.tab-section.active {
  display: flex;
}

/* Cards & Hero */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.sm-p-8 { padding: 28px; }
.h-fit { height: fit-content; }
.overflow-hidden { overflow: hidden; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 22px;
  font-weight: 800;
  margin-top: 8px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 680px;
}

.pill-emerald,
.pill-indigo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.pill-emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.pill-indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
  margin-bottom: 8px;
}

/* Filter Bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--indigo);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.chip-btn.active {
  background: var(--sky-soft);
  border-color: #7dd3fc;
  color: var(--sky);
}

.select-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
}

.select-pill select {
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 12px;
  outline: none;
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.listing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.listing-thumb {
  position: relative;
  height: 190px;
  background: #e2e8f0;
  cursor: pointer;
}

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-dark {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
}

.tag-sky {
  background: var(--sky);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
}

.tag-amber {
  background: var(--amber);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
}

.warranty-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--emerald);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.listing-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.listing-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.listing-title:hover {
  color: var(--indigo);
}

.seller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.seller-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* UC Store & ML */
.uid-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.verified-player-box {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--emerald-soft);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ml-card {
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 55%, #f0f9ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  padding: 24px;
}

.ml-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 960px) {
  .ml-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.ml-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ml-right {
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ml-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.ml-item-row {
  display: flex;
  justify-content: space-between;
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.ml-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.uc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Forms & Inputs */
.form-container {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  outline: none;
}

.input:focus {
  border-color: var(--indigo);
}

.select-sm {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
}

.sub-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plat-btn,
.prov-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.plat-btn.active,
.prov-btn.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo);
  cursor: pointer;
}

.preset-btn:hover {
  background: var(--indigo-soft);
}

.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
  text-align: center;
}

.upload-dropzone:hover {
  border-color: var(--indigo);
}

.upload-dropzone span {
  font-size: 12px;
  color: var(--text-muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.preview-item {
  position: relative;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Orders & Escrow Room */
.orders-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 960px) {
  .orders-layout {
    grid-template-columns: 340px 1fr;
  }
}

.order-item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.order-item.active {
  border-color: var(--indigo);
  background: var(--indigo-soft);
}

.order-header {
  padding: 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.step-box {
  padding: 8px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #475569;
}

.step-box.done {
  background: #d1fae5;
  color: #065f46;
}

.step-box.disputed {
  background: #ffe4e6;
  color: #9f1239;
}

.creds-box {
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 14px;
}

.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
  font-family: monospace;
  font-size: 12px;
}

.arbitrage-box {
  background: var(--rose-soft);
  border: 1px solid #fecdd3;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-box {
  height: 290px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.msg-wrap {
  display: flex;
  flex-direction: column;
}

.msg-wrap.buyer { align-items: flex-end; }
.msg-wrap.seller { align-items: flex-start; }
.msg-wrap.system { align-items: center; }

.msg-bubble {
  max-width: 440px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
}

.msg-wrap.buyer .msg-bubble {
  background: var(--indigo);
  color: #fff;
}

.msg-wrap.seller .msg-bubble {
  background: var(--surface-alt);
  color: var(--text);
}

.msg-wrap.system .msg-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  color: #334155;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.msg-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
}

.chat-form {
  padding: 12px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

/* Wallet & Profile */
.big-balance {
  font-size: 26px;
  font-weight: 800;
  margin-top: 4px;
}

.tx-list {
  display: flex;
  flex-direction: column;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

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

.avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--indigo);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.modal-lg { max-width: 660px; }
.modal-sm { max-width: 440px; }

.modal-gallery {
  position: relative;
  height: 270px;
  background: #0f172a;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close,
.gallery-nav {
  position: absolute;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close { top: 12px; right: 12px; }
.gallery-nav.left { left: 12px; top: 50%; transform: translateY(-50%); }
.gallery-nav.right { right: 12px; top: 50%; transform: translateY(-50%); }

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid;
}

.toast.success {
  background: var(--emerald-soft);
  border-color: #a7f3d0;
  color: #065f46;
}

.toast.error {
  background: var(--rose-soft);
  border-color: #fecdd3;
  color: #9f1239;
}

/* Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

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

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

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

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

.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-md { display: flex; flex-direction: column; gap: 16px; }
.flex-col { display: flex; flex-direction: column; }

.section-title { font-size: 19px; font-weight: 800; }
.section-subtitle { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.section-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.card-title { font-size: 15px; font-weight: 700; }

.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.text-lg { font-size: 17px; }
.text-xl { font-size: 20px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-mono { font-family: monospace; }
.uppercase { text-transform: uppercase; }
.block { display: block; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.pt-3 { padding-top: 12px; }
.border-top { border-top: 1px solid var(--border); }
.border-amber { border-color: #fde68a; }

.text-muted { color: var(--text-muted); }
.text-indigo { color: var(--indigo); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-sky { color: var(--sky); }

.badge-emerald,
.badge-indigo,
.badge-amber,
.badge-rose,
.badge-gray {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-emerald { background: var(--emerald-soft); color: var(--emerald); }
.badge-indigo { background: var(--indigo-soft); color: var(--indigo); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-rose { background: var(--rose-soft); color: var(--rose); }
.badge-gray { background: var(--surface-alt); color: #475569; }

.icon-box-indigo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-amber {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-btn {
  border: none;
  background: transparent;
  color: var(--indigo);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

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

.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
}
