/* GRAM-X theme authority 2026-06-18. Loaded last on purpose. */
:root,
body[data-theme="light"],
body:not([data-theme="dim"]) {
  color-scheme: light;
  --bg: #eef7fb;
  --bg-2: #e1f0f7;
  --surface: #f8fcff;
  --surface-rgb: 248, 252, 255;
  --surface-2: #edf7fb;
  --surface-3: #dff0f6;
  --line: rgba(36, 91, 116, 0.16);
  --line-strong: rgba(36, 91, 116, 0.28);
  --text: #10202b;
  --muted: #547081;
  --muted-2: #7f99a8;
  --green: #10b981;
  --cyan: #0ea5e9;
  --pink: #f97316;
  --brand-grad: linear-gradient(135deg, #10b981, #0ea5e9);
  --shadow: 0 14px 38px rgba(13, 56, 77, 0.08);
  --topbar-bg: rgba(248, 252, 255, 0.9);
}

html,
body,
body[data-theme="light"] {
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.14), transparent 320px),
    radial-gradient(circle at 92% 6%, rgba(16, 185, 129, 0.13), transparent 360px),
    linear-gradient(180deg, #f6fcff 0%, #eef7fb 46%, #e6f1f6 100%) !important;
}

body[data-theme="dim"] {
  color-scheme: dark;
  --bg: #061015 !important;
  --bg-2: #0a171d !important;
  --surface: #0f1e26 !important;
  --surface-rgb: 15, 30, 38 !important;
  --surface-2: #132832 !important;
  --surface-3: #18323d !important;
  --line: rgba(116, 173, 193, 0.18) !important;
  --line-strong: rgba(116, 173, 193, 0.32) !important;
  --text: #f1fbff !important;
  --muted: #9eb9c6 !important;
  --muted-2: #7595a5 !important;
  --green: #2ee59d !important;
  --cyan: #38bdf8 !important;
  --pink: #fb923c !important;
  --brand-grad: linear-gradient(135deg, #2ee59d, #38bdf8) !important;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38) !important;
  --topbar-bg: rgba(6, 16, 21, 0.92) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.11), transparent 340px),
    radial-gradient(circle at 92% 8%, rgba(46, 229, 157, 0.1), transparent 360px),
    linear-gradient(180deg, #071219 0%, #061015 46%, #050d11 100%) !important;
}

.topbar,
.bottom-dock,
body[data-theme="light"] .topbar,
body[data-theme="light"] .bottom-dock {
  background: var(--topbar-bg) !important;
  border-color: var(--line) !important;
  box-shadow: 0 10px 28px rgba(13, 56, 77, 0.08) !important;
}

.panel,
.sidebar,
.toolbar,
.range-card,
.seller-card,
.rail-card,
.site-footer,
.product-card,
.dip-product-card,
.product-main-card,
.product-buy-card,
.dx-product-main,
.dx-product-section,
.dx-similar-card,
.description-box,
.seller-page-card,
.auth-card,
.profile-card,
.dipx-profile-card,
.dipx-profile-panels,
.dx-chat-layout,
.mobile-filter-panel {
  background: color-mix(in srgb, var(--surface) 94%, var(--cyan) 6%) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.product-art,
.dx-product-visual,
.dip-product-art {
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--green) 18%, transparent), transparent 92px),
    linear-gradient(180deg, var(--surface-2), var(--surface)) !important;
  border-color: var(--line) !important;
}

input,
select,
textarea,
.command-search,
.mobile-search-bar,
.mobile-filter-toggle,
.icon-button,
.profile-pill,
.guest-login-btn,
.secondary-button,
.google-auth-button,
.chip,
.segmented,
.service-choice,
.mobile-service-tile,
.popular-chip,
.market-category,
.category-cards button,
.mf-chip,
.mf-price-row input,
.payment-methods button,
.payment-methods.compact button,
.dx-quantity-stepper,
.dx-top-specs > div,
.dx-price-block,
.dx-stock-line,
.deal-product-chip,
.deal-seller-chip {
  background: var(--surface-2) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

.service-choice.active,
.mobile-service-tile.active,
.chip.active,
.quick-tabs .chip.active,
.segmented.active,
.market-category.active,
.mf-chip.active,
.nav-link.active,
.dock-item.active,
.payment-methods button.active,
.payment-methods.compact button.active {
  background: color-mix(in srgb, var(--green) 18%, var(--surface)) !important;
  border-color: color-mix(in srgb, var(--green) 52%, var(--line)) !important;
  color: var(--text) !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--green) 14%, transparent) !important;
}

.primary-button,
.guest-register-btn,
.product-buy-button,
.page-buy-button,
.dock-main,
.toolbar-controls .segmented.active {
  background: var(--brand-grad) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--green) 24%, transparent) !important;
}

body[data-theme="dim"] .primary-button,
body[data-theme="dim"] .guest-register-btn,
body[data-theme="dim"] .product-buy-button,
body[data-theme="dim"] .page-buy-button,
body[data-theme="dim"] .dock-main,
body[data-theme="dim"] .toolbar-controls .segmented.active {
  color: #061015 !important;
}

.service-choice img,
.mobile-service-tile img,
.mobile-service-tile .tile-icon,
.product-category-row img,
.popular-chip img,
.market-category img,
.category-cards span,
.mf-chip img,
.icon-nav-link span,
.bg-icon-item {
  background: color-mix(in srgb, var(--surface-2) 82%, var(--cyan) 18%) !important;
  border-color: color-mix(in srgb, var(--line) 80%, var(--cyan) 20%) !important;
  color: var(--green) !important;
  filter: none !important;
}

body[data-theme="dim"] .service-choice img,
body[data-theme="dim"] .mobile-service-tile img,
body[data-theme="dim"] .mobile-service-tile .tile-icon,
body[data-theme="dim"] .product-category-row img,
body[data-theme="dim"] .popular-chip img,
body[data-theme="dim"] .market-category img,
body[data-theme="dim"] .category-cards span,
body[data-theme="dim"] .mf-chip img,
body[data-theme="dim"] .icon-nav-link span,
body[data-theme="dim"] .bg-icon-item {
  background: #102733 !important;
  border-color: rgba(116, 173, 193, 0.24) !important;
  color: #2ee59d !important;
}

.service-choice.active img,
.mobile-service-tile.active img,
.mobile-service-tile.active .tile-icon,
.market-category.active img,
.chip.active img,
.mf-chip.active img,
.nav-link.active .icon-nav-link span,
.icon-nav-link.active span {
  background: var(--brand-grad) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

body[data-theme="dim"] .secondary-button,
body[data-theme="dim"] .guest-login-btn,
body[data-theme="dim"] .google-auth-button,
body[data-theme="dim"] .text-button,
body[data-theme="dim"] .market-actions .secondary-button,
body[data-theme="dim"] .market-actions .hero-sell-btn {
  background: #132832 !important;
  color: #f1fbff !important;
  border-color: rgba(116, 173, 193, 0.24) !important;
}

body[data-theme="dim"] .topbar,
body[data-theme="dim"] .bottom-dock,
body[data-theme="dim"] .mobile-filter-panel {
  background: var(--topbar-bg) !important;
  border-color: rgba(116, 173, 193, 0.2) !important;
}

body[data-theme="dim"] .command-search,
body[data-theme="dim"] .mobile-search-bar,
body[data-theme="dim"] .mobile-search-bar input,
body[data-theme="dim"] .mobile-filter-toggle,
body[data-theme="dim"] .nav-link,
body[data-theme="dim"] .icon-nav-link,
body[data-theme="dim"] .icon-button,
body[data-theme="dim"] .top-action-icon,
body[data-theme="dim"] #notifyButton,
body[data-theme="dim"] #themeToggle,
body[data-theme="dim"] .profile-pill {
  background: #132832 !important;
  color: #f1fbff !important;
  border-color: rgba(116, 173, 193, 0.24) !important;
}

body[data-theme="dim"] .nav-link.active,
body[data-theme="dim"] .nav-link:hover,
body[data-theme="dim"] .icon-nav-link.active,
body[data-theme="dim"] .dock-item.active,
body[data-theme="dim"] .chip.active,
body[data-theme="dim"] .quick-tabs .chip.active,
body[data-theme="dim"] .segmented.active,
body[data-theme="dim"] .market-category.active,
body[data-theme="dim"] .mobile-service-tile.active,
body[data-theme="dim"] .service-choice.active,
body[data-theme="dim"] .mf-chip.active {
  background: rgba(46, 229, 157, 0.16) !important;
  color: #f1fbff !important;
  border-color: rgba(46, 229, 157, 0.42) !important;
}

body[data-theme="dim"] .mobile-search-bar {
  box-shadow: inset 0 0 0 1px rgba(46, 229, 157, 0.04) !important;
}

body[data-theme="light"] .command-search,
body[data-theme="light"] .mobile-search-bar,
body[data-theme="light"] .mobile-search-bar input,
body[data-theme="light"] .mobile-filter-toggle,
body:not([data-theme="dim"]) .command-search,
body:not([data-theme="dim"]) .mobile-search-bar,
body:not([data-theme="dim"]) .mobile-search-bar input,
body:not([data-theme="dim"]) .mobile-filter-toggle {
  background: #eaf6fb !important;
  border-color: rgba(36, 91, 116, 0.18) !important;
}

body[data-theme="dim"] .product-card,
body[data-theme="dim"] .dip-product-card,
body[data-theme="dim"] .product-main-card,
body[data-theme="dim"] .product-buy-card,
body[data-theme="dim"] .dx-product-main,
body[data-theme="dim"] .dx-product-section,
body[data-theme="dim"] .dx-similar-card,
body[data-theme="dim"] .description-box,
body[data-theme="dim"] .seller-page-card {
  background: #0f1e26 !important;
}

body[data-theme="dim"] .product-art,
body[data-theme="dim"] .dx-product-visual,
body[data-theme="dim"] .dip-product-art {
  background:
    radial-gradient(circle at 50% 34%, rgba(46, 229, 157, 0.16), transparent 92px),
    linear-gradient(180deg, #132832, #0b1820) !important;
}

body[data-theme="dim"] .market-header {
  background:
    radial-gradient(circle at 18% 16%, rgba(56, 189, 248, 0.18), transparent 260px),
    radial-gradient(circle at 86% 24%, rgba(46, 229, 157, 0.17), transparent 300px),
    linear-gradient(135deg, #071219 0%, #102733 54%, #061015 100%) !important;
  border-color: rgba(116, 173, 193, 0.22) !important;
}

body:not([data-theme="dim"]) .market-header,
body[data-theme="light"] .market-header {
  background:
    radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.18), transparent 260px),
    radial-gradient(circle at 86% 24%, rgba(16, 185, 129, 0.17), transparent 300px),
    linear-gradient(135deg, #f8fcff 0%, #eaf8f7 58%, #e5f1f8 100%) !important;
}

@media (max-width: 900px) {
  .topbar {
    background: var(--topbar-bg) !important;
    overflow: visible !important;
  }

  .top-actions {
    overflow: visible !important;
    flex: 0 0 auto !important;
  }

  .topbar #themeToggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 38px !important;
  }
}

@media (max-width: 520px) {
  .topbar #themeToggle {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .profile-pill b {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 8px !important;
    padding-inline: 10px !important;
  }

  .topbar .notify-wrap {
    display: none !important;
  }
}

/* Auth/header and dark typography polish. */
body[data-theme="dim"] {
  --text: #dceaf0 !important;
  --muted: #9ab3bf !important;
  --muted-2: #7896a5 !important;
}

body[data-theme="dim"] h1,
body[data-theme="dim"] h2,
body[data-theme="dim"] h3,
body[data-theme="dim"] strong,
body[data-theme="dim"] .brand strong,
body[data-theme="dim"] .market-header h1 span,
body[data-theme="dim"] .market-header .desktop-title,
body[data-theme="dim"] .market-header .mobile-title,
body[data-theme="dim"] .product-title,
body[data-theme="dim"] .price-line strong,
body[data-theme="dim"] .card-stats b,
body[data-theme="dim"] .auth-card h1,
body[data-theme="dim"] .auth-card h2,
body[data-theme="dim"] .dx-product-main h1,
body[data-theme="dim"] .dx-product-section h2 {
  color: #e1edf3 !important;
  -webkit-text-fill-color: #e1edf3 !important;
  text-shadow: none !important;
}

body[data-theme="dim"] .market-header h1,
body[data-theme="dim"] .auth-card h1 {
  color: #e5f0f5 !important;
  -webkit-text-fill-color: #e5f0f5 !important;
}

body[data-theme="dim"] p,
body[data-theme="dim"] small,
body[data-theme="dim"] .subline,
body[data-theme="dim"] .product-meta,
body[data-theme="dim"] .product-category-row,
body[data-theme="dim"] .quality-list span,
body[data-theme="dim"] .seller-mini span,
body[data-theme="dim"] label,
body[data-theme="dim"] .auth-card p,
body[data-theme="dim"] .auth-card small {
  color: #9ab3bf !important;
}

.topbar .auth-guest-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: max-content !important;
  overflow: visible !important;
}

@media (min-width: 901px) {
  .topbar {
    grid-template-columns: auto minmax(240px, 420px) max-content max-content !important;
  }

  .topnav {
    justify-content: flex-end !important;
    overflow: visible !important;
    min-width: max-content !important;
  }

  .topbar .brand-wrapper,
  .topbar .brand,
  .topbar .brand-copy,
  .topbar .brand-copy strong,
  .topbar .brand-copy small {
    min-width: max-content !important;
    white-space: nowrap !important;
  }

  .topbar .topnav .nav-link {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .topbar .topnav .nav-link b {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .topbar .command-search {
    width: 100% !important;
    max-width: 420px !important;
  }
}

.topbar .guest-login-btn,
.topbar .guest-register-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 13px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.topbar .guest-login-btn {
  min-width: 78px !important;
  padding: 0 16px !important;
}

.topbar .guest-register-btn {
  width: auto !important;
  min-width: 138px !important;
  max-width: none !important;
  padding: 0 18px !important;
  background: var(--brand-grad) !important;
  color: #061015 !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--green) 22%, transparent) !important;
}

body[data-theme="dim"] .topbar .guest-register-btn {
  color: #061015 !important;
}

body[data-theme="light"] .topbar .guest-register-btn,
body:not([data-theme="dim"]) .topbar .guest-register-btn {
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .topbar .auth-guest-actions {
    display: none !important;
  }
}

/* Auth state authority. */
body.is-registered .topbar .auth-guest-actions,
body.is-registered #authGuestActions {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-registered .topbar #profilePill,
body.is-registered #profilePill {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 44px !important;
  max-width: 160px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  overflow: hidden !important;
}

.topbar #profilePill .profile-pill-avatar {
  position: relative !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  overflow: visible !important;
}

.topbar #profilePill .profile-pill-avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

.topbar #profilePill b {
  min-width: 0 !important;
  max-width: 92px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.online-badge,
.seller-online,
.deal-seller-status.online {
  background: color-mix(in srgb, var(--green) 16%, var(--surface)) !important;
  border: 1px solid color-mix(in srgb, var(--green) 44%, var(--line)) !important;
  color: color-mix(in srgb, var(--green) 72%, var(--text)) !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--green) 12%, transparent) !important;
}

body[data-theme="dim"] .online-badge,
body[data-theme="dim"] .seller-online,
body[data-theme="dim"] .deal-seller-status.online {
  background: linear-gradient(135deg, rgba(46, 229, 157, 0.18), rgba(56, 189, 248, 0.12)) !important;
  border-color: rgba(46, 229, 157, 0.38) !important;
  color: #c8fff0 !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.06), 0 10px 26px rgba(46, 229, 157, 0.1) !important;
}

.online-dot.online,
.online-badge .online-dot,
.profile-pill-avatar .online-dot.online {
  background: #2ee59d !important;
  box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.16), 0 0 12px rgba(46, 229, 157, 0.72) !important;
}

body[data-theme="dim"] .dx-chat-layout,
body[data-theme="dim"] .dx-chat-sidebar,
body[data-theme="dim"] .dx-chat-head,
body[data-theme="dim"] .dx-chat-input-area,
body[data-theme="dim"] .dx-message-subtabs,
body[data-theme="dim"] .dx-message-top-tabs,
body[data-theme="dim"] .deal-chat-card,
body[data-theme="dim"] .dx-message-row {
  background: #0f1e26 !important;
  border-color: rgba(116, 173, 193, 0.22) !important;
}

body[data-theme="dim"] .dx-chat-main,
body[data-theme="dim"] .dx-chat-messages {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.045), rgba(46, 229, 157, 0.025)), #0a171d !important;
}

body[data-theme="dim"] .dx-message-row.active,
body[data-theme="dim"] .dx-message-row:hover,
body[data-theme="dim"] .deal-product-chip,
body[data-theme="dim"] .deal-seller-chip,
body[data-theme="dim"] .dipx-deal-card,
body[data-theme="dim"] .dipx-deal-summary div {
  background: color-mix(in srgb, #132832 88%, var(--green) 12%) !important;
  border-color: rgba(46, 229, 157, 0.24) !important;
}

body[data-theme="dim"] .dx-bubble-other {
  background: #132832 !important;
  border-color: rgba(116, 173, 193, 0.24) !important;
}

body[data-theme="dim"] .dx-bubble-own {
  background: linear-gradient(135deg, #2ee59d, #38bdf8) !important;
  color: #061015 !important;
}

body[data-theme="dim"] .dx-bubble-own p,
body[data-theme="dim"] .dx-bubble-own time {
  color: #061015 !important;
}

.gx-telegram-box {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.telegram-auth-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--cyan) 12%, var(--surface));
  color: var(--text);
  font-weight: 900;
}

.telegram-auth-button span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
  font-weight: 1000;
}

.telegram-auth-button strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telegram-auth-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.gx-telegram-panel {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.gx-telegram-panel[hidden] {
  display: none !important;
}

.gx-telegram-panel a {
  font-weight: 900;
  color: var(--cyan);
}

.gx-telegram-panel code {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.gx-telegram-msg {
  min-height: 16px;
  color: var(--muted);
  font-size: 12px;
}

.gx-telegram-msg.ok {
  color: var(--green);
}

.gx-telegram-msg.bad {
  color: #ef4444;
}

body[data-theme="dim"] .telegram-auth-button,
body[data-theme="dim"] .gx-telegram-panel,
body[data-theme="dim"] .gx-telegram-panel code {
  background: #132832 !important;
  border-color: rgba(116, 173, 193, 0.24) !important;
  color: #f1fbff !important;
}

/* Service/category logos: keep the brand mark clean, no boxed icon inside boxed tile. */
.service-choice img,
.mobile-service-tile img,
.mobile-service-tile .tile-icon img,
.popular-chip img,
.market-category img,
.category-cards img,
.product-category-row img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
}

.mobile-service-tile .tile-icon,
.service-choice > img,
.market-category > img,
.popular-chip > img {
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mobile-service-tile .tile-icon {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 0 !important;
}

.mobile-service-tile[data-market-category="telegram"] img,
.service-choice[data-market-category="telegram"] img,
.market-category[data-market-category="telegram"] img {
  width: 28px !important;
  height: 28px !important;
  transform: translateY(0) !important;
}

body[data-theme="dim"] .service-choice img,
body[data-theme="dim"] .mobile-service-tile img,
body[data-theme="dim"] .mobile-service-tile .tile-icon,
body[data-theme="dim"] .popular-chip img,
body[data-theme="dim"] .market-category img,
body[data-theme="dim"] .category-cards img,
body[data-theme="dim"] .product-category-row img {
  background: transparent !important;
  border: 0 !important;
  color: currentColor !important;
  box-shadow: none !important;
}

body[data-theme="dim"] img[src$="steam.svg"],
body[data-theme="dim"] img[src$="tiktok.svg"],
body[data-theme="dim"] img[src$="roblox.svg"] {
  filter: invert(96%) sepia(7%) saturate(360%) hue-rotate(153deg) brightness(105%) contrast(98%) !important;
}

.seo-market-copy {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, var(--cyan) 8%);
  color: var(--text);
}

.seo-market-copy h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text);
}

.seo-market-copy p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.seo-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

body[data-theme="dim"] .seo-market-copy {
  background: #0f1e26 !important;
  border-color: rgba(116, 173, 193, 0.22) !important;
}

body[data-theme="dim"] .seo-link-row a {
  background: #132832 !important;
  border-color: rgba(116, 173, 193, 0.24) !important;
  color: #dceaf0 !important;
}

@media (max-width: 760px) {
  .seo-market-copy {
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .seo-market-copy h2 {
    font-size: 17px;
  }

  .seo-market-copy p {
    font-size: 13px;
  }
}
