/* marketplace.css */
/* Modern, responsive Web3 marketplace UI — light theme default */

:root {
  --dm-primary: #4f46e5;
  --dm-primary-dark: #4338ca;
  --dm-primary-light: #e0e7ff;
  --dm-bg: #f8fafc;
  --dm-surface: #ffffff;
  --dm-surface-2: #f1f5f9;
  --dm-border: #e2e8f0;
  --dm-text: #0f172a;
  --dm-muted: #64748b;
  --dm-success: #10b981;
  --dm-danger: #ef4444;
  --dm-warning: #f59e0b;
  --dm-info: #3b82f6;
  --dm-radius: 12px;
  --dm-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --dm-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --dm-transition: 0.15s ease;
  --dm-font-base: 16px;
}

/* ============================================
   ULTRA-STRONG THEME OVERRIDE - PIXEL BASED
   ============================================ */

/* Force 16px base on all marketplace containers */
.divid-marketplace-grid,
.divid-single-nft,
.divid-profile,
.divid-wallet-bar,
.divid-wallet-icon,
.divid-modal-overlay,
.divid-nft-card,
.divid-single,
.divid-profile {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box !important;
  letter-spacing: 0;
  text-transform: none;
  word-spacing: normal;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Force all children to inherit and use normal sizing */
.divid-marketplace-grid *,
.divid-single-nft *,
.divid-profile *,
.divid-wallet-bar *,
.divid-wallet-icon *,
.divid-modal-overlay *,
.divid-nft-card *,
.divid-single *,
.divid-profile * {
  box-sizing: border-box !important;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.divid-marketplace-grid h1,
.divid-marketplace-grid h2,
.divid-marketplace-grid h3,
.divid-marketplace-grid h4,
.divid-marketplace-grid h5,
.divid-marketplace-grid h6,
.divid-single-nft h1,
.divid-single-nft h2,
.divid-single-nft h3,
.divid-single-nft h4,
.divid-single-nft h5,
.divid-single-nft h6,
.divid-profile h1,
.divid-profile h2,
.divid-profile h3,
.divid-profile h4,
.divid-modal-overlay h1,
.divid-modal-overlay h2,
.divid-modal-overlay h3,
.divid-modal-overlay h4 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
}

.divid-marketplace-grid p,
.divid-single-nft p,
.divid-profile p,
.divid-modal-overlay p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

/* Force specific font sizes on common elements */
.divid-marketplace-grid span,
.divid-marketplace-grid div,
.divid-marketplace-grid a,
.divid-single-nft span,
.divid-single-nft div,
.divid-single-nft a,
.divid-profile span,
.divid-profile div,
.divid-profile a {
  font-size: inherit;
}

/* NFT Card specific overrides */
.divid-nft-card {
  font-size: 14px;
}
.divid-nft-card__collection {
  font-size: 10px;
}
.divid-nft-card__title {
  font-size: 15px;
}
.divid-nft-card__owner {
  font-size: 12px;
}
.divid-nft-card__price-label {
  font-size: 10px;
}
.divid-nft-card__price {
  font-size: 16px;
}

/* Single NFT page specific overrides */
.divid-single__info h2 {
  font-size: 32px;
}
.divid-single__desc {
  font-size: 14px;
}
.divid-single__price-value {
  font-size: 32px;
}
.divid-single__lists h3 {
  font-size: 18px;
}
.divid-offer-section h4 {
  font-size: 11px;
}
.divid-single__activity h3 {
  font-size: 18px;
}
.divid-single__details h4 {
  font-size: 12px;
}
.divid-single__detail-row {
  font-size: 13px;
}

/* Dark Theme Override */
.divid-theme-dark {
  --dm-primary: #818cf8;
  --dm-primary-dark: #6366f1;
  --dm-primary-light: rgba(129,140,248,0.15);
  --dm-bg: #0b0d17;
  --dm-surface: rgba(18,20,31,0.8);
  --dm-surface-2: rgba(30,35,64,0.7);
  --dm-border: rgba(255,255,255,0.08);
  --dm-text: #f1f5f9;
  --dm-muted: #94a3b8;
  --dm-success: #4ade80;
  --dm-danger: #f87171;
  --dm-warning: #fbbf24;
}

/* Marketplace Hero Header */
.divid-marketplace-hero {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(139,92,246,0.03));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  padding: 32px 28px;
  margin-bottom: 24px;
  text-align: center;
}
.divid-marketplace-hero h2 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--dm-text);
}
.divid-marketplace-hero p {
  margin: 0;
  color: var(--dm-muted);
  font-size: 15px;
}

/* Container resets — transparent background to blend with any WordPress theme */
.divid-marketplace-grid,
.divid-single-nft,
.divid-wallet-bar,
.divid-profile {
  color: var(--dm-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: transparent;
}

/* Connect Wallet button — professional Web3 style */
.divid-connect-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
  line-height: 1;
  white-space: nowrap;
}
.divid-connect-wallet-btn:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.55);
  transform: translateY(-1px);
}
.divid-connect-wallet-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}
.divid-connect-wallet-btn svg {
  flex-shrink: 0;
  opacity: 0.92;
}

/* Avatar online status dot */
.divid-wallet-status-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.divid-wallet-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: divid-status-pulse 2.5s infinite;
}
@keyframes divid-status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  60%  { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Wallet Icon — compact header */
.divid-wallet-icon {
  display: inline-flex;
  align-items: center;
}
.divid-wallet-icon-info {
  position: relative;
  display: flex;
  align-items: center;
}
.divid-wallet-icon__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-primary), #818cf8);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid var(--dm-surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
}
.divid-wallet-icon__avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.divid-wallet-icon__avatar--addr {
  width: auto;
  min-width: 38px;
  border-radius: 20px;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 700;
}
.divid-wallet-icon__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  min-width: 180px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.15s ease;
  z-index: 100;
}
.divid-wallet-icon__dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.divid-wallet-icon__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dm-text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.12s ease;
  white-space: nowrap;
}
.divid-wallet-icon__item:hover {
  background: var(--dm-surface-2);
}
.divid-wallet-icon__item svg {
  width: 16px;
  height: 16px;
  color: var(--dm-muted);
  flex-shrink: 0;
}
.divid-wallet-icon__dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--dm-surface);
  border-left: 1px solid var(--dm-border);
  border-top: 1px solid var(--dm-border);
  transform: rotate(45deg);
}
.divid-wallet-icon__header {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.divid-wallet-icon__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dm-text);
}
.divid-wallet-icon__address {
  font-size: 12px;
  color: var(--dm-muted);
  font-family: ui-monospace, monospace;
}
.divid-wallet-icon__divider {
  height: 1px;
  background: var(--dm-border);
  margin: 4px 0;
}
.divid-wallet-icon__item--danger {
  color: var(--dm-danger) !important;
}
.divid-wallet-icon__item--danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
.divid-wallet-icon__item--danger svg {
  color: var(--dm-danger);
}
.divid-wallet-icon__note {
  padding: 8px 14px;
  font-size: 10px;
  color: var(--dm-muted);
  line-height: 1.5;
  text-align: center;
  margin: 0;
  opacity: 0.8;
}

/* Wallet bar */
.divid-wallet-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  /* Transparent by default so the bar blends into whatever header/section it
     sits in. Give it a filled look via the Elementor "Bar Background" control
     (or a wrapping section) only when you actually want one. */
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
}
/* Account pill: avatar + monospaced address + chevron. */
.divid-wallet-info {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  box-shadow: 0 6px 16px -10px rgba(0,0,0,0.6);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.divid-wallet-dropdown:hover .divid-wallet-info,
.divid-wallet-dropdown--open .divid-wallet-info {
  border-color: var(--dm-primary);
  box-shadow: 0 8px 22px -10px rgba(99,102,241,0.5);
}
.divid-wallet-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--dm-primary), #818cf8 55%, #22d3ee);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(129,140,248,0.3);
}
.divid-wallet-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 55%);
}
/* Small network-status dot on the header avatar's top-right corner
   (cyan = connected to the correct network, red = wrong network).
   Toggled by wallet.js via .divid-has-net / .divid-net-warn. */
.divid-wallet-info .divid-wallet-avatar::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22d3ee;
  border: 2px solid var(--dm-surface);
  box-shadow: 0 0 6px rgba(34,211,238,0.6);
  z-index: 2;
  display: none;
}
.divid-wallet-info .divid-wallet-avatar.divid-has-net::before { display: block; }
.divid-wallet-info .divid-wallet-avatar.divid-net-warn::before {
  background: #f87171;
  box-shadow: 0 0 6px rgba(248,113,113,0.6);
}
.divid-wallet-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dm-text);
}
.divid-wallet-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--dm-text);
  letter-spacing: 0.2px;
}
.divid-wallet-chevron {
  width: 15px;
  height: 15px;
  color: var(--dm-muted);
  flex-shrink: 0;
}
.divid-wallet-balance {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dm-primary);
  background: var(--dm-primary-light, rgba(99,102,241,.10));
  border-radius: 20px;
  padding: 2px 9px;
  white-space: nowrap;
}
.divid-wallet-admin {
  background: var(--dm-primary-light) !important;
  color: var(--dm-primary) !important;
  border-color: #c7d2fe !important;
  font-weight: 600 !important;
}
/* Legacy full-size network pill — replaced by the small dot on the avatar
   corner (see .divid-wallet-info .divid-wallet-avatar::before). Kept in the DOM
   for JS compatibility but hidden so only the avatar dot shows. */
.divid-network-badge {
  display: none !important;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
}
.divid-network-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(129,140,248,0.12);
  flex-shrink: 0;
}
.divid-network-badge--ok {
  background: rgba(34,211,238,0.12);
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,0.32);
}
.divid-network-badge--warn {
  background: rgba(248,113,113,0.14);
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.34);
}

/* Buttons */
/* Themes commonly style raw <button>/<a> elements with descendant selectors
   (e.g. ".entry-content button", "article a") that outrank a flat class like
   .divid-btn in specificity. !important on the visual properties guarantees
   the plugin looks the same regardless of which theme is active — the same
   approach already used in admin.css for this exact reason. */
.divid-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  cursor: pointer !important;
  transition: all var(--dm-transition) !important;
  line-height: 1 !important;
  letter-spacing: 0.2px !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none;
}
.divid-btn:active { transform: translateY(1px); }
.divid-btn-primary {
  background: var(--dm-primary) !important;
  color: #fff !important;
  border: none !important;
}
.divid-btn-primary:hover {
  background: var(--dm-primary-dark) !important;
  box-shadow: var(--dm-shadow-md);
  color: #fff !important;
}
.divid-btn-secondary {
  background: var(--dm-surface-2) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}
.divid-btn-secondary:hover {
  background: var(--dm-surface-2) !important;
  border-color: var(--dm-border) !important;
  color: var(--dm-text) !important;
}
.divid-btn-ghost {
  background: transparent !important;
  color: var(--dm-muted) !important;
  border-color: var(--dm-border) !important;
}
.divid-btn-ghost:hover {
  color: var(--dm-text) !important;
  border-color: #d1d5db !important;
  background: var(--dm-surface-2) !important;
}

/* Marketplace grid */
.divid-marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* NFT Card — Premium Professional */
.divid-nft-card {
  background: var(--divid-card-bg, var(--dm-surface));
  color: var(--dm-text);
  border: 1px solid var(--divid-card-border, var(--dm-border));
  border-radius: var(--dm-radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  cursor: default;
}
.divid-nft-card__title { color: var(--dm-text); }
.divid-nft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.14), 0 4px 12px -4px rgba(0,0,0,0.06);
  border-color: var(--divid-card-border-hover, #c7d2fe);
}
.divid-nft-card__top {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.divid-nft-card__image-wrap {
  background: linear-gradient(145deg, var(--dm-surface-2), var(--dm-border));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}
.divid-nft-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.divid-nft-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.divid-nft-card:hover .divid-nft-card__image-wrap img { transform: scale(1.05); }

/* Skeleton loading for cards */
.divid-nft-card--skeleton {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  pointer-events: none;
}
.divid-nft-card--skeleton .divid-nft-card__image-wrap {
  min-height: 220px;
  background: linear-gradient(90deg, #e8edf3 25%, #d1d9e4 50%, #e8edf3 75%);
  background-size: 200% 100%;
  animation: dm-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: var(--dm-radius) var(--dm-radius) 0 0;
}
.divid-nft-card--skeleton .divid-nft-card__body *,
.divid-nft-card--skeleton .divid-nft-card__body *::before,
.divid-nft-card--skeleton .divid-nft-card__body *::after {
  background: linear-gradient(90deg, #e8edf3 25%, #d1d9e4 50%, #e8edf3 75%);
  background-size: 200% 100%;
  animation: dm-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 4px;
  color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
@keyframes dm-skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== CARD PRESETS ========== */

/* A preset is an explicit, per-widget design choice and INTENTIONALLY overrides
   the global Display theme. Every selector is card-scoped (.divid-nft-card.divid-preset--x)
   and the decisive visual props carry !important, so the chosen preset always wins
   over the theme's `.divid-theme-dark/.divid-theme-light .divid-nft-card` rules
   (which are non-important and appear later in the file). Each fixed-colour preset
   also sets its own text colours so the card stays readable in ANY theme. The
   `--divid-card-bg/--divid-card-border/--divid-card-radius` vars let the "Custom"
   preset (and Elementor Card style controls) feed values in without editing CSS. */

/* Modern (default) — follows the global Display theme. */
.divid-nft-card.divid-preset--modern {
  background: var(--divid-card-bg, linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2))) !important;
  border: 1px solid var(--divid-card-border, var(--dm-border)) !important;
  border-radius: var(--divid-card-radius, 16px) !important;
}

/* Minimal Clean — fixed light look. */
.divid-nft-card.divid-preset--minimal {
  background: var(--divid-card-bg, #ffffff) !important;
  border: 1px solid var(--divid-card-border, #e2e8f0) !important;
  border-radius: var(--divid-card-radius, 8px) !important;
  box-shadow: none !important;
}
.divid-nft-card.divid-preset--minimal:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important; }
.divid-nft-card.divid-preset--minimal .divid-nft-card__title,
.divid-nft-card.divid-preset--minimal .divid-nft-card__price { color: #0f172a !important; }
.divid-nft-card.divid-preset--minimal .divid-nft-card__supply-label,
.divid-nft-card.divid-preset--minimal .divid-nft-card__price-label,
.divid-nft-card.divid-preset--minimal .divid-nft-card__collection,
.divid-nft-card.divid-preset--minimal .divid-nft-card__owner { color: #64748b !important; }
.divid-nft-card.divid-preset--minimal .divid-nft-card__supply-val { color: #0f172a !important; }

/* Dark Mode — fixed slate look. */
.divid-nft-card.divid-preset--dark {
  background: var(--divid-card-bg, #1e293b) !important;
  border: 1px solid var(--divid-card-border, #334155) !important;
  border-radius: var(--divid-card-radius, 16px) !important;
}
.divid-nft-card.divid-preset--dark .divid-nft-card__title,
.divid-nft-card.divid-preset--dark .divid-nft-card__price,
.divid-nft-card.divid-preset--dark .divid-nft-card__supply-val { color: #f1f5f9 !important; }
.divid-nft-card.divid-preset--dark .divid-nft-card__supply-label,
.divid-nft-card.divid-preset--dark .divid-nft-card__price-label,
.divid-nft-card.divid-preset--dark .divid-nft-card__collection,
.divid-nft-card.divid-preset--dark .divid-nft-card__owner { color: #94a3b8 !important; }
.divid-nft-card.divid-preset--dark .divid-nft-card__divider { background: #334155 !important; }

/* Glass Frosted — translucent + blur; light text reads over the blurred backdrop. */
.divid-nft-card.divid-preset--glass {
  background: var(--divid-card-bg, rgba(255,255,255,0.08)) !important;
  border: 1px solid var(--divid-card-border, rgba(255,255,255,0.25)) !important;
  border-radius: var(--divid-card-radius, 20px) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
}
.divid-nft-card.divid-preset--glass .divid-nft-card__title,
.divid-nft-card.divid-preset--glass .divid-nft-card__price,
.divid-nft-card.divid-preset--glass .divid-nft-card__supply-val { color: #f8fafc !important; }
.divid-nft-card.divid-preset--glass .divid-nft-card__supply-label,
.divid-nft-card.divid-preset--glass .divid-nft-card__price-label,
.divid-nft-card.divid-preset--glass .divid-nft-card__owner { color: #cbd5e1 !important; }

/* Outline Border — transparent card, accent border, theme-adaptive text. */
.divid-nft-card.divid-preset--outline {
  background: var(--divid-card-bg, transparent) !important;
  border: 2px solid var(--divid-card-border, var(--dm-primary)) !important;
  border-radius: var(--divid-card-radius, 12px) !important;
  box-shadow: none !important;
}
.divid-nft-card.divid-preset--outline:hover { box-shadow: 0 0 0 4px rgba(79,70,229,0.15) !important; }

/* Compact Small — follows the theme; only the sizing changes. */
.divid-nft-card.divid-preset--compact { border-radius: var(--divid-card-radius, 10px) !important; }
.divid-preset--compact .divid-nft-card__body { padding: 10px; }
.divid-preset--compact .divid-nft-card__title { font-size: 13px; }
.divid-preset--compact .divid-nft-card__price { font-size: 14px; }
.divid-preset--compact .divid-nft-card__image-wrap { max-height: 160px; }
.divid-preset--compact .divid-nft-card__action-btn { height: 28px; font-size: 11px; padding: 0 8px; }

/* Large Spacious — follows the theme; only the sizing changes. */
.divid-nft-card.divid-preset--large { border-radius: var(--divid-card-radius, 24px) !important; }
.divid-preset--large .divid-nft-card__body { padding: 24px; gap: 16px; }
.divid-preset--large .divid-nft-card__image-wrap { min-height: 280px; }
.divid-preset--large .divid-nft-card__title { font-size: 18px; }
.divid-preset--large .divid-nft-card__price { font-size: 20px; }

/* Minimal Dark — fixed near-black look. */
.divid-nft-card.divid-preset--minimal-dark {
  background: var(--divid-card-bg, #0f172a) !important;
  border: 1px solid var(--divid-card-border, #1e293b) !important;
  border-radius: var(--divid-card-radius, 8px) !important;
  box-shadow: none !important;
}
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__title,
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__price,
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__supply-val { color: #f8fafc !important; }
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__collection,
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__supply-label,
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__price-label,
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__owner { color: #94a3b8 !important; }
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__divider { background: #1e293b !important; }
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__action-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}
.divid-nft-card.divid-preset--minimal-dark .divid-nft-card__action-btn:hover {
  background: #334155 !important;
  color: #f8fafc !important;
}
.divid-nft-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.divid-nft-card__badge--live {
  background: rgba(16,185,129,0.12);
  color: #065f46;
  border-color: rgba(16,185,129,0.18);
}
.divid-nft-card__badge--default {
  background: rgba(100,116,139,0.08);
  color: var(--dm-muted);
  border-color: rgba(100,116,139,0.12);
}

/* Badge Positions */
.divid-badge--top-left { top: 10px; left: 10px; right: auto; bottom: auto; }
.divid-badge--top-right { top: 10px; right: 10px; left: auto; bottom: auto; }
.divid-badge--bottom-left { bottom: 10px; left: 10px; top: auto; right: auto; }
.divid-badge--bottom-right { bottom: 10px; right: 10px; top: auto; left: auto; }

/* Badge Shapes */
.divid-badge--square { border-radius: 4px !important; }
.divid-badge--rounded { border-radius: 8px !important; }
.divid-badge--pill { border-radius: 20px !important; }

/* Image Overlay pseudo-element */
.divid-nft-card__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

/* Supply & Description */
.divid-nft-card__supply {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
}
.divid-nft-card__supply-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.divid-nft-card__supply-label {
  font-size: 11px;
  color: var(--dm-muted);
  font-weight: 500;
  white-space: nowrap;
}
.divid-nft-card__supply-val {
  font-size: 11px;
  color: var(--dm-text);
  font-weight: 700;
  text-align: right;
}
.divid-nft-card__description {
  font-size: 12px;
  color: var(--dm-muted);
  line-height: 1.5;
  margin-top: 2px;
}
/* Inline price row: PRICE: $22.00 /ea. USDT */
.divid-nft-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.divid-nft-card__price-row .divid-nft-card__price-label {
  white-space: nowrap;
  flex-shrink: 0;
}

.divid-nft-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.divid-nft-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.divid-nft-card__collection {
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.divid-nft-card__title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.divid-nft-card__title-link:hover { opacity: 0.8; }
.divid-nft-card__title {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--dm-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.divid-nft-card__divider {
  height: 1px;
  background: var(--dm-border);
}
.divid-nft-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.divid-nft-card__price-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.divid-nft-card__price-label {
  font-size: 10px;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
}
.divid-nft-card__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--dm-text);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.divid-nft-card__actions {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--dm-border);
  margin-top: 4px;
}
.divid-nft-card__action-btn {
  flex: 1 1 0;
  min-width: 0; /* allow flex items to shrink so long labels don't overlap */
  height: 44px;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--dm-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
/* Label truncates with an ellipsis instead of overflowing/overlapping the
   neighbouring button when the text is long or the card is narrow. */
.divid-nft-card__action-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.divid-nft-card__action-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  opacity: 0.8;
  flex-shrink: 0;
}
.divid-nft-card__action-btn + .divid-nft-card__action-btn {
  border-left: 1px solid var(--dm-border);
}
.divid-nft-card__action-btn:hover { background: var(--dm-surface-2); }
.divid-nft-card__action-btn:active { background: var(--dm-border); }
.divid-nft-card__action-btn--buy { color: var(--dm-primary); }
.divid-nft-card__action-btn--buy:hover { color: var(--dm-primary-dark); background: rgba(79,70,229,0.08); }
.divid-nft-card__action-btn--sell { color: #059669; }
.divid-nft-card__action-btn--sell:hover { background: rgba(5,150,105,0.08); color: #047857; }
.divid-nft-card__action-btn--offer { color: var(--dm-muted); }
.divid-nft-card__action-btn--offer:hover { color: var(--dm-text); background: rgba(100,116,139,0.06); }
/* "Your holding" chips shown on My Collection cards (owner-only info). Uses brand
   + semantic colours so it reads on every preset/theme without extra overrides. */
.divid-nft-card__holding {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}
.divid-nft-card__holding-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(79,70,229,0.12);
  color: var(--dm-primary);
  border: 1px solid rgba(79,70,229,0.25);
}
.divid-nft-card__holding-item strong { font-weight: 800; }
.divid-nft-card__holding-item--offers {
  background: rgba(5,150,105,0.12);
  color: #059669;
  border-color: rgba(5,150,105,0.25);
}
.divid-nft-card__holding-label { opacity: 0.85; }
.divid-nft-card__owner {
  font-size: 11px;
  color: var(--dm-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
}
.divid-nft-card__owner span {
  font-weight: 600;
  color: var(--dm-text);
}
.divid-nft-card__owner-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(16,185,129,0.08);
  color: #059669;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(16,185,129,0.12);
}

/* Single NFT — Ultra Premium */
.divid-single__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--dm-muted);
}
.divid-single__breadcrumb a {
  color: var(--dm-primary);
  text-decoration: none;
  font-weight: 600;
}
.divid-single__breadcrumb a:hover { text-decoration: underline; }
.divid-single__breadcrumb svg {
  width: 14px;
  height: 14px;
  color: var(--dm-muted);
}
/* Keep the details page from sprawling edge-to-edge on wide / full-width sections.
   Centered with a sensible default max-width; the Single NFT widget's
   "Content Max Width" control can override this. */
.divid-single-nft {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.divid-single__hero {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}
.divid-single__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}
.divid-single__media-frame {
  width: 100%;              /* fill the image column; capped by the "Image Max Width" control */
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 20px;
  box-shadow:
    0 24px 48px -12px rgba(15,23,42,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
}
.divid-single__media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(79,70,229,0.25), rgba(129,140,248,0.08), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.divid-single__media-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.divid-single__media {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.divid-single__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.divid-single__media-wrap:hover .divid-single__media img {
  transform: scale(1.04);
}
.divid-single__media-full {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  z-index: 2;
  transition: all 0.2s ease;
  cursor: pointer;
}
.divid-single__media-full:hover {
  color: #fff;
  background: rgba(15,23,42,0.9);
  border-color: rgba(255,255,255,0.15);
  transform: scale(1.05);
}
.divid-single__media-full svg { width: 18px; height: 18px; }
.divid-single__media-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
}
/* Photo carousel thumbnails (single-NFT page) */
.divid-single__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.divid-single__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--dm-surface-2, #0f172a);
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.divid-single__thumb:hover { opacity: 1; transform: translateY(-2px); }
.divid-single__thumb.is-active {
  opacity: 1;
  border-color: var(--dm-primary, #6366f1);
}
.divid-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.divid-single__details {
  width: 100%;              /* fill the column even if the image is aligned/capped */
  align-self: stretch;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--dm-shadow);
}
.divid-single__details h4 {
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--dm-text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.divid-single__detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--dm-border);
  font-size: 13px;
  transition: background 0.12s ease;
}
.divid-single__detail-row:last-child { border-bottom: none; }
.divid-single__detail-row > span:first-child { color: var(--dm-muted); }
.divid-single__detail-val {
  color: var(--dm-text);
  font-weight: 500;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.divid-single__detail-val:hover {
  color: var(--dm-primary);
  background: var(--dm-primary-light);
}
.divid-single__right {
  display: flex;
  flex-direction: column;
}
.divid-single__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.divid-single__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.divid-single__collection {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dm-primary);
  width: fit-content;
}
.divid-single__collection::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dm-primary);
  display: inline-block;
}
.divid-single__title-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.divid-single__creator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.divid-single__creator-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-primary), #818cf8);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--dm-surface), 0 0 0 5px rgba(79,70,229,0.2);
}
.divid-single__creator-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.divid-single__creator-label {
  font-size: 10px;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.divid-single__creator-addr {
  font-size: 13px;
  font-weight: 700;
  color: var(--dm-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.divid-single__info h2 {
  margin: 0;
  padding: 0;
  font-size: 36px;
  font-weight: 800;
  color: var(--dm-text);
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.divid-single__desc {
  color: var(--dm-muted);
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}
.divid-single__price-box {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(129,140,248,0.04));
  border: 1px solid rgba(79,70,229,0.12);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px -8px rgba(79,70,229,0.12);
  position: relative;
  overflow: hidden;
}
.divid-single__price-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.divid-single__price-label {
  font-size: 11px;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}
.divid-single__price-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--dm-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.divid-single__price-value small {
  font-size: 16px;
  font-weight: 600;
  color: var(--dm-muted);
  letter-spacing: 0;
}
/* Supply table on single NFT page */
.divid-single__supply-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 8px;
}
.divid-single__supply-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
}
.divid-single__supply-row span:first-child {
  color: var(--dm-muted);
  font-weight: 500;
}
.divid-single__supply-row span:last-child {
  color: var(--dm-text);
  font-weight: 700;
}

.divid-single__stats {
  display: flex;
  gap: 12px;
}
.divid-single__stat {
  flex: 1;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--dm-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.divid-single__stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--dm-shadow-md);
}
.divid-single__stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dm-primary-light), rgba(79,70,229,0.08));
  color: var(--dm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.divid-single__stat-icon svg { width: 20px; height: 20px; }
.divid-single__stat-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.divid-single__stat-label {
  font-size: 10px;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}
.divid-single__stat-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--dm-text);
  letter-spacing: -0.3px;
}
.divid-single__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.divid-single__actions .divid-btn {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
}
.divid-single__actions .divid-btn-primary {
  background: linear-gradient(135deg, var(--dm-primary), #6366f1);
  border: none;
  box-shadow: 0 4px 14px -4px rgba(79,70,229,0.35);
}
.divid-single__actions .divid-btn-primary:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  box-shadow: 0 6px 20px -4px rgba(79,70,229,0.5);
  transform: translateY(-1px);
}
.divid-single__actions .divid-btn-secondary {
  background: var(--dm-surface);
  border: 1.5px solid var(--dm-border);
}
.divid-single__actions .divid-btn-secondary:hover {
  background: var(--dm-surface-2);
  border-color: rgba(79,70,229,0.2);
}
.divid-single__actions .divid-btn-ghost {
  background: rgba(255,255,255,0.5);
  border: 1.5px solid var(--dm-border);
  backdrop-filter: blur(8px);
}
.divid-single__actions .divid-btn-ghost:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(79,70,229,0.2);
}
.divid-single__toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--dm-border);
}
.divid-single__toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--dm-border);
  background: var(--dm-surface);
  color: var(--dm-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dm-transition);
  text-decoration: none;
}
.divid-single__toolbar-btn:hover {
  background: var(--dm-surface-2);
  color: var(--dm-text);
  border-color: rgba(79,70,229,0.2);
  transform: translateY(-1px);
}
.divid-single__toolbar-btn svg { width: 14px; height: 14px; }
.divid-single__lists {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--dm-shadow);
}
.divid-single__lists h3 {
  margin: 0 0 28px;
  padding: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.divid-single__lists h3::before {
  content: '';
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--dm-primary), #818cf8);
}
.divid-offer-section { margin-bottom: 28px; }
.divid-offer-section h4 {
  margin: 0 0 14px;
  padding: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dm-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.divid-offer-section h4::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.divid-offer-section:nth-of-type(1) h4::before { background: #10b981; }
.divid-offer-section:nth-of-type(2) h4::before { background: #3b82f6; }
.divid-offer-section:nth-of-type(3) h4::before { background: #8b5cf6; }
.divid-muted { color: var(--dm-muted); font-size: 13px; }
.divid-offer-list { display: flex; flex-direction: column; gap: 10px; }
.divid-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--dm-surface-2);
  border: 1px solid var(--dm-border);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.divid-offer-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--dm-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.divid-offer-row:hover {
  border-color: rgba(79,70,229,0.2);
  box-shadow: 0 4px 12px -4px rgba(79,70,229,0.08);
  transform: translateX(2px);
}
.divid-offer-row:hover::before { opacity: 1; }
.divid-offer-row__actions { display: flex; gap: 8px; flex-shrink: 0; }
.divid-btn--sm { padding: 7px 14px !important; font-size: 12px !important; border-radius: 10px !important; }
.divid-btn--lg { padding: 12px 20px !important; font-size: 15px !important; }
.divid-btn--xl { padding: 14px 28px !important; font-size: 16px !important; }

/* Activity premium */
.divid-single__activity {
  margin-top: 40px;
}
.divid-single__activity h3 {
  margin: 0 0 24px;
  padding: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.divid-single__activity h3::before {
  content: '';
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--dm-primary), #818cf8);
}

/* Forms */
.divid-form-group { margin-bottom: 14px; }
.divid-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dm-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.divid-input,
.divid-select {
  width: 100% !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: 1px solid var(--dm-border) !important;
  background: var(--dm-bg) !important;
  color: var(--dm-text) !important;
  font-size: 14px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
.divid-input:focus,
.divid-select:focus { border-color: var(--dm-primary) !important; box-shadow: 0 0 0 3px rgba(79,70,229,0.1) !important; }
.divid-input[readonly] { opacity: 0.7; cursor: default; }

/* Modal */
.divid-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dm-transition), visibility var(--dm-transition);
}
.divid-modal-overlay--visible { opacity: 1; visibility: visible; }
.divid-modal {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--dm-shadow-md);
  transform: scale(0.97);
  transition: transform var(--dm-transition);
}
.divid-modal-overlay--visible .divid-modal { transform: scale(1); }
.divid-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--dm-border);
  background: var(--dm-surface-2);
  color: var(--dm-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dm-transition);
}
.divid-modal__close:hover { color: var(--dm-text); background: var(--dm-border); }
.divid-modal__title { margin: 0 0 18px; font-size: 18px; font-weight: 700; color: var(--dm-text); }
.divid-modal__text { color: var(--dm-text); line-height: 1.6; }
.divid-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.divid-modal__actions .divid-btn { flex: 1; }

/* Transaction context card — shown at the top of Sell/Buy/Accept/Cancel modals
   so the user can verify NFT name, price, currency, and quantity before
   confirming, instead of acting on a bare numeric ID. */
.divid-modal-info-card {
  background: var(--dm-surface-2);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  padding: 14px;
  margin-bottom: 16px;
}
.divid-modal-info-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.divid-modal-info-card__image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--dm-surface);
}
.divid-modal-info-card__heading { min-width: 0; }
.divid-modal-info-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dm-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.divid-modal-info-card__token { font-size: 12px; color: var(--dm-muted); }
.divid-modal-info-card__rows { display: flex; flex-direction: column; gap: 4px; }
.divid-modal-info-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 2px 0;
}
.divid-modal-info-card__row > span:first-child { color: var(--dm-muted); }
.divid-modal-info-card__row > span:last-child { font-weight: 600; color: var(--dm-text); }
.divid-modal-hint { font-weight: 400; font-size: 11px; color: var(--dm-muted); text-transform: none; }
/* Simple one-line transaction total (with platform fee) in the fund modals. */
.divid-modal-summary:not(:empty) { margin-top: 12px; }
.divid-modal-summary__line {
  font-size: 14px;
  color: var(--dm-text);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.divid-modal-summary__line b { font-weight: 800; }
.divid-modal-summary__fee { color: var(--dm-muted); font-size: 12.5px; }
.divid-modal-notice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.divid-modal-notice--warning { background: rgba(245,158,11,0.1); color: #b45309; }
.divid-modal-notice--danger { background: rgba(239,68,68,0.1); color: #b91c1c; }
.divid-theme-dark .divid-modal-notice--warning { color: #fbbf24; }
.divid-theme-dark .divid-modal-notice--danger { color: #f87171; }

/* Profile Setup Modal */
.divid-profile-setup { max-width: 460px; position: relative; }
.divid-profile-setup__skip {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--dm-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--dm-transition);
  z-index: 2;
}
.divid-profile-setup__skip:hover { color: var(--dm-text); background: var(--dm-surface-2); }
.divid-profile-setup__header {
  padding: 32px 32px 0;
  text-align: center;
}
.divid-profile-setup__header h3 {
  margin: 16px 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.divid-profile-setup__header p {
  margin: 0 0 4px;
  color: var(--dm-muted);
  font-size: 14px;
}
.divid-profile-setup__avatar-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-primary), #818cf8);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.2s ease;
}
.divid-profile-setup__body {
  padding: 20px 32px 0;
}
.divid-profile-setup__body .divid-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.divid-profile-setup__body .divid-form-group label span {
  color: var(--dm-danger);
  margin-left: 2px;
}
.divid-profile-setup__optional {
  color: var(--dm-muted);
  font-weight: 500;
  text-transform: none;
  font-size: 11px;
  letter-spacing: 0;
}
.divid-profile-setup__hint {
  font-size: 11px;
  color: var(--dm-muted);
  margin-top: 4px;
  display: block;
}
.divid-profile-setup__colors {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.divid-profile-setup__color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
}
.divid-profile-setup__color:hover { transform: scale(1.1); }
.divid-profile-setup__color--active {
  border-color: var(--dm-text);
  box-shadow: 0 0 0 2px var(--dm-surface), 0 0 0 4px var(--dm-text);
}
.divid-profile-setup__footer {
  padding: 20px 32px 32px;
}
.divid-input-group {
  display: flex;
  align-items: stretch;
}
.divid-input-group__prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--dm-surface-2);
  border: 1px solid var(--dm-border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dm-muted);
}
.divid-input-group .divid-input {
  border-radius: 0 8px 8px 0;
  flex: 1;
}

/* Loading */
.divid-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.divid-loading__card {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  padding: 36px 44px;
  text-align: center;
  max-width: 380px;
  box-shadow: var(--dm-shadow);
}
.divid-loading-message { margin: 18px 0 0; color: var(--dm-muted); font-size: 14px; }
.divid-loading-link { display: inline-block; margin-top: 12px; color: var(--dm-primary); font-size: 13px; }

/* Spinner */
.divid-spinner-inline { width: 24px; height: 24px; border: 3px solid var(--dm-border); border-top-color: var(--dm-primary); border-radius: 50%; animation: dm-spin 1s linear infinite; margin: 0 auto; }
@keyframes dm-spin { to { transform: rotate(360deg); } }

/* Transaction loading overlay (assets/js/ui/loading.js — DiviDLoading.show()/hide())
   Shown during every wallet/contract action: buy, sell, offer, deposit, withdraw,
   launch sale, wallet connect. Mirrors the .divid-modal-overlay pattern. */
.divid-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dm-transition), visibility var(--dm-transition);
}
.divid-loading-overlay--visible { opacity: 1; visibility: visible; }
.divid-loading-box {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  padding: 36px 44px;
  text-align: center;
  max-width: 380px;
  box-shadow: var(--dm-shadow-md);
  transform: scale(0.97);
  transition: transform var(--dm-transition);
}
.divid-loading-overlay--visible .divid-loading-box { transform: scale(1); }
.divid-spinner { width: 40px; height: 40px; border: 4px solid var(--dm-border); border-top-color: var(--dm-primary); border-radius: 50%; animation: dm-spin 1s linear infinite; margin: 0 auto; }

/* Toast */
.divid-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.divid-toast {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 10px;
  padding: 14px 20px;
  color: var(--dm-text);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--dm-shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  pointer-events: auto;
  transform: translateX(120%);
  animation: dm-toast-in 0.4s ease forwards;
}
.divid-toast--error { border-left: 3px solid var(--dm-danger); }
.divid-toast--success { border-left: 3px solid var(--dm-success); }
.divid-toast--warning { border-left: 3px solid var(--dm-warning); }
.divid-toast-exit { animation: dm-toast-out 0.3s ease forwards; }
@keyframes dm-toast-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes dm-toast-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }
.divid-toast__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.divid-toast--success .divid-toast__icon { color: var(--dm-success); }
.divid-toast--error .divid-toast__icon { color: var(--dm-danger); }
.divid-toast--warning .divid-toast__icon { color: var(--dm-warning); }
.divid-toast--info .divid-toast__icon { color: var(--dm-primary); }
.divid-toast__link { margin-left: auto; padding-left: 12px; font-size: 12px; font-weight: 600; color: var(--dm-primary); text-decoration: none; white-space: nowrap; }
.divid-toast__link:hover { text-decoration: underline; }

/* Profile */
.divid-profile__hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, var(--dm-surface) 0%, var(--dm-surface-2, #f8fafc) 100%);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  margin-bottom: 24px;
  box-shadow: var(--dm-shadow);
}
.divid-profile__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-primary), #818cf8);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
  border: 3px solid #fff;
}
.divid-profile__info { flex: 1; min-width: 0; }
.divid-profile__display-name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dm-text);
  line-height: 1.2;
}
.divid-profile__bio {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--dm-muted);
  line-height: 1.5;
  max-width: 520px;
}
.divid-profile__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.divid-profile__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dm-muted);
  background: var(--dm-surface-2, #f1f5f9);
  padding: 5px 12px;
  border-radius: 20px;
}
.divid-profile__addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

/* Stats Bar */
.divid-profile__stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 32px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  margin-bottom: 24px;
  box-shadow: var(--dm-shadow);
}
.divid-profile__stat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.divid-profile__stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--dm-text);
  line-height: 1.2;
}
.divid-profile__stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.divid-profile__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--dm-border);
  flex-shrink: 0;
}

/* Tabs */
.divid-profile__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--dm-border);
}
.divid-profile__tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--dm-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dm-transition);
  margin-bottom: -1px;
  border-radius: 6px 6px 0 0;
}
.divid-profile__tab:hover { color: var(--dm-text); background: rgba(99,102,241,0.04); }
.divid-profile__tab--active { color: var(--dm-primary); border-bottom-color: var(--dm-primary); background: rgba(99,102,241,0.06); }
/* Count in the tab name, "(4)", filled by app.js (client 2026-10-08) */
.divid-profile__tab-count { opacity: 0.75; font-weight: 600; }
.divid-profile__tab-count:empty { display: none; }
.divid-profile__panel { display: none; }
.divid-profile__panel--active { display: block; }
.divid-profile__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

/* Fund Cards */
.divid-profile__fund-card {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  padding: 24px;
  box-shadow: var(--dm-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.divid-profile__fund-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--dm-shadow-md);
}
.divid-profile__fund-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.divid-profile__fund-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.divid-profile__fund-icon svg { width: 22px; height: 22px; }
.divid-profile__fund-icon--deposit { background: rgba(16,185,129,0.12); color: var(--dm-success); }
.divid-profile__fund-icon--withdraw { background: rgba(239,68,68,0.12); color: var(--dm-danger); }
.divid-profile__fund-card h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.divid-profile__fund-card .divid-muted { margin: 0; font-size: 13px; }

/* Collection */
.divid-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.divid-collection-card {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  overflow: hidden;
  box-shadow: var(--dm-shadow);
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
}
.divid-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow-md);
}
.divid-collection-card__img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--dm-surface-2), var(--dm-border));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.divid-collection-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.divid-collection-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.divid-collection-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.divid-collection-card__desc {
  font-size: 12px;
  color: var(--dm-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.divid-collection-card__supply {
  font-size: 11px;
  color: var(--dm-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.divid-collection-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--dm-primary);
}
.divid-collection-card__meta {
  font-size: 12px;
  color: var(--dm-muted);
}

/* Empty state */
.divid-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}
.divid-empty-state__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--dm-muted);
  opacity: 0.25;
}
.divid-empty-state h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--dm-text); }
.divid-empty-state p { margin: 0 0 20px; font-size: 14px; color: var(--dm-muted); line-height: 1.6; max-width: 360px; }
.divid-empty-state .divid-btn { margin-top: 4px; }

/* Activity */
.divid-activity-list { display: flex; flex-direction: column; gap: 10px; }
.divid-activity-section { display: none; }
.divid-activity-section.is-visible { display: block; }
.divid-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
}
.divid-activity-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--dm-primary-light);
  color: var(--dm-primary);
}
.divid-activity-item__body { flex: 1; min-width: 0; }
.divid-activity-item__title { font-weight: 600; color: var(--dm-text); }
.divid-activity-item__meta { font-size: 12px; color: var(--dm-muted); }
.divid-activity-item__time { font-size: 11px; color: var(--dm-muted); flex-shrink: 0; }

/* Properties grid */
.divid-properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.divid-property-card {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.divid-property-card__type { font-size: 11px; color: var(--dm-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.divid-property-card__value { font-size: 14px; font-weight: 700; color: var(--dm-text); }

/* Badges */
.divid-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
}
.divid-badge--success { background: rgba(16,185,129,0.1); color: #065f46; border-color: rgba(16,185,129,0.15); }
.divid-badge--error { background: rgba(239,68,68,0.1); color: #991b1b; border-color: rgba(239,68,68,0.15); }
.divid-badge--info { background: rgba(79,70,229,0.1); color: var(--dm-primary); border-color: rgba(79,70,229,0.15); }
.divid-badge--warning { background: rgba(245,158,11,0.1); color: #92400e; border-color: rgba(245,158,11,0.15); }

/* Action bar */
.divid-action-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.divid-action-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--dm-border);
  background: var(--dm-surface);
  color: var(--dm-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dm-transition);
}
.divid-action-bar__btn:hover { background: var(--dm-surface-2); color: var(--dm-text); }

/* Toolbar / Search */
.divid-marketplace-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.divid-search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.divid-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--dm-muted);
  pointer-events: none;
  opacity: 0.6;
}
.divid-search-wrap .divid-input {
  padding-left: 42px;
  border-radius: 10px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.divid-search-wrap .divid-input:focus {
  border-color: var(--dm-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
  outline: none;
}
.divid-select--sm {
  padding: 10px 14px;
  font-size: 13px;
  max-width: 200px;
  border-radius: 10px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  color: var(--dm-text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.divid-select--sm:focus {
  border-color: var(--dm-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
  outline: none;
}

/* Wallet Auth Modal */
.divid-wallet-auth-modal {
  max-width: 420px;
  position: relative;
}
.divid-wallet-auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--dm-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dm-transition);
  z-index: 2;
}
.divid-wallet-auth-modal__close:hover {
  color: var(--dm-text);
  background: var(--dm-surface-2);
}
.divid-wallet-auth-modal__header {
  padding: 32px 32px 0;
  text-align: center;
}
.divid-wallet-auth-modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}
.divid-wallet-auth-modal__icon--login {
  background: linear-gradient(135deg, #059669, #34d399);
}
.divid-wallet-auth-modal__header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dm-text);
}
.divid-wallet-auth-modal__header p {
  margin: 0 0 12px;
  color: var(--dm-muted);
  font-size: 14px;
}
.divid-wallet-auth-modal__address {
  display: inline-block;
  padding: 6px 14px;
  background: var(--dm-surface-2);
  border-radius: 20px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--dm-muted);
}
.divid-wallet-auth-modal__body {
  padding: 24px 32px 0;
}
.divid-wallet-auth-modal__body .divid-form-group {
  margin-bottom: 16px;
}
.divid-wallet-auth-modal__body .divid-form-group:last-child {
  margin-bottom: 0;
}
.divid-wallet-auth-modal__body .divid-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.divid-wallet-auth-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.divid-required {
  color: var(--dm-danger);
  margin-left: 2px;
}
.divid-wallet-auth-modal__error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--dm-danger);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 16px;
}
.divid-wallet-auth-modal__footer {
  padding: 24px 32px 32px;
}

/* Responsive */
@media (max-width: 768px) {
  /* Always stack on mobile, overriding any desktop column width set in Elementor. */
  .divid-single__hero { grid-template-columns: 1fr !important; gap: 28px !important; }
  .divid-single__left { position: static; }
  .divid-single__media-frame { border-radius: 18px; padding: 14px; }
  .divid-single__media-wrap { border-radius: 12px; }
  .divid-single__stats { flex-direction: column; }
  .divid-single__title-row { flex-direction: column; align-items: flex-start; }
  .divid-single__info h2 { font-size: 26px; }
  .divid-single__price-value { font-size: 28px; }
  .divid-single__actions .divid-btn { min-width: 100%; }
  .divid-single__lists { padding: 24px; border-radius: 18px; }
  .divid-single__price-box { padding: 22px 24px; }
  .divid-nft-card__actions { flex-wrap: nowrap; }
  .divid-nft-card__action-btn { font-size: 11px; }
  .divid-profile__hero { flex-direction: column; text-align: center; padding: 24px; }
  .divid-profile__avatar { width: 64px; height: 64px; font-size: 26px; }
  .divid-profile__meta { justify-content: center; }
  .divid-profile__stats-bar { flex-direction: column; padding: 16px; gap: 12px; }
  .divid-profile__stat-divider { display: none; }
  .divid-profile__grid { grid-template-columns: 1fr; }
  .divid-marketplace-toolbar { flex-direction: column; align-items: stretch; }
  .divid-select--sm { max-width: 100%; }
  .divid-wallet-auth-modal { max-width: 95%; margin: 20px; }
  .divid-wallet-auth-modal__row { grid-template-columns: 1fr; }
  .divid-wallet-auth-modal__header,
  .divid-wallet-auth-modal__body,
  .divid-wallet-auth-modal__footer { padding-left: 20px; padding-right: 20px; }
  .divid-marketplace-hero { padding: 40px 20px 20px; }
  .divid-marketplace-hero__title { font-size: 26px; }
}

/* ── Block hero header (Gutenberg block only) ────────────────────────── */
.divid-marketplace-hero {
  text-align: center;
  padding: 56px 24px 28px;
}
.divid-marketplace-hero__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--dm-text, #0f172a);
  margin: 0 0 12px;
  line-height: 1.15;
}
.divid-marketplace-hero__sub {
  font-size: 16px;
  color: var(--dm-muted, #64748b);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Shortcode / legacy hero markup (h2 + p) ─────────────────────────── */
.divid-marketplace-hero h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--dm-text, #0f172a);
  margin: 0 0 12px;
  line-height: 1.15;
}
.divid-marketplace-hero p {
  font-size: 16px;
  color: var(--dm-muted, #64748b);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Homepage suppression (keeps the marketplace off the homepage) ────── */
body.home:not(.divid-mp-marketplace-page) .divid-marketplace-hero,
body.home:not(.divid-mp-marketplace-page) .divid-marketplace-wrap,
body.home:not(.divid-mp-marketplace-page) .divid-marketplace-grid,
body.home:not(.divid-mp-marketplace-page) .divid-nft-card,
body.home:not(.divid-mp-marketplace-page) .divid-single-nft,
body.home:not(.divid-mp-marketplace-page) .divid-single__activity,
body.home:not(.divid-mp-marketplace-page) .elementor-widget-divid-marketplace-grid,
body.home:not(.divid-mp-marketplace-page) .elementor-widget-divid-nft-card,
body.home:not(.divid-mp-marketplace-page) .elementor-widget-divid-single-nft {
  display: none !important;
}

/* ── Simplified wallet links (truncated address as profile link) ──────── */
.divid-wallet-info,
.divid-wallet-icon-info { text-decoration: none !important; }
.divid-wallet-info:hover .divid-wallet-address,
.divid-wallet-info:hover .divid-wallet-icon__address,
.divid-wallet-icon-info:hover .divid-wallet-icon__address { color: var(--dm-primary, #4f46e5) !important; }

/* ── Offer row with rich image + meta (used in profile and single NFT) ── */
.divid-offer-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--dm-border, rgba(226, 232, 240, 0.5)); background: var(--dm-surface, #ffffff); margin-bottom: 8px; }
.divid-offer-row__img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--dm-surface-2); }
.divid-offer-row__info { flex: 1; min-width: 0; }
.divid-offer-row__info b { display: block; margin-bottom: 2px; }
.divid-offer-row__desc { font-size: 12px; color: var(--dm-muted, #64748b); margin: 2px 0 4px; line-height: 1.35; }
.divid-offer-row__meta { font-size: 12px; color: var(--dm-muted, #64748b); }
.divid-offer-row__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Utility classes replacing inline styles for Elementor flexibility ── */
.divid-is-hidden { display: none !important; }
.divid-svg-icon-sm { width: 14px; height: 14px; opacity: 0.7; }
.divid-svg-icon-md { width: 20px; height: 20px; vertical-align: middle; margin-right: 8px; }
.divid-status-msg { display: none; margin-top: 12px; }
.divid-status-msg.is-visible { display: block; }
.divid-placeholder-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--dm-surface-2), var(--dm-border)); }
.divid-placeholder-img svg { width: 48px; height: 48px; color: #cbd5e1; }
.divid-btn-icon { width: 18px; height: 18px; }
.divid-btn-icon-lg { width: 20px; height: 20px; }
.divid-detail-icon { width: 13px; height: 13px; vertical-align: middle; margin-right: 4px; }
.divid-activity-icon { width: 16px; height: 16px; }
.divid-empty-state--compact { padding: 20px; }
.divid-status-msg--success { color: var(--dm-success); }
.divid-status-msg--danger { color: var(--dm-danger); }
.divid-cursor-pointer { cursor: pointer; }
.divid-text-center { text-align: center; }
.divid-p-24 { padding: 24px; }
.divid-wallet-auth-icon { width: 32px; height: 32px; }
.divid-btn--block { width: 100%; }
.divid-empty-state--error { padding: 40px 20px; }
.divid-empty-state--error h3 { margin: 12px 0 6px; }
.divid-empty-state--error p { margin: 0 0 16px; max-width: 340px; }
.divid-empty-state--mini { text-align: center; padding: 24px; }

/* Skeleton placeholders for loading states */
.divid-nft-card--skeleton .divid-nft-card__collection,
.divid-nft-card--skeleton .divid-nft-card__price-label { height: 10px; }
.divid-nft-card--skeleton .divid-nft-card__owner { height: 12px; }
.divid-nft-card--skeleton .divid-nft-card__title { height: 18px; }
.divid-nft-card--skeleton .divid-nft-card__price { height: 20px; }
.divid-nft-card--skeleton .divid-nft-card__divider { height: 1px; }
.divid-skeleton-s { width: 40%; }
.divid-skeleton-m { width: 60%; }
.divid-skeleton-l { width: 80%; }
.divid-skeleton-xl { width: 50%; }
.divid-skeleton-full { width: 100%; }
.divid-body-locked { overflow: hidden; }
.divid-activity-heading-icon { width: 20px; height: 20px; vertical-align: middle; margin-right: 8px; }
.divid-mt-16 { margin-top: 16px; }
.divid-editor-notice { padding: 10px 12px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; margin-bottom: 16px; font-size: 12px; color: #0369a1; }

/* Wallet dropdown */
.divid-wallet-dropdown { position: relative; display: inline-block; }
.divid-wallet-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: linear-gradient(180deg, var(--dm-surface), var(--dm-surface-2));
  color: var(--dm-text);
  border: 1px solid var(--dm-border);
  border-radius: 14px;
  box-shadow: 0 22px 48px -16px rgba(0,0,0,0.55);
  padding: 8px;
  margin-top: 10px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
/* Opens on click only (app.js toggles --open); hover no longer opens it. */
.divid-wallet-dropdown.divid-wallet-dropdown--open .divid-wallet-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Dropdown head: avatar + "Connected wallet" caption + address. */
.divid-wallet-dropdown__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--dm-border);
  margin-bottom: 6px;
}
.divid-wallet-avatar--menu { width: 40px; height: 40px; font-size: 15px; }
.divid-wallet-dropdown__head-text { display: flex; flex-direction: column; min-width: 0; }
.divid-wallet-dropdown__caption {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dm-muted);
  white-space: nowrap;
}
.divid-wallet-dropdown__addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--dm-text);
}
.divid-wallet-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dm-text);
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.divid-wallet-dropdown__item svg {
  width: 17px;
  height: 17px;
  color: var(--dm-muted);
  flex-shrink: 0;
}
.divid-wallet-dropdown__item:hover {
  background: var(--dm-primary-light, rgba(129,140,248,0.12));
}
.divid-wallet-dropdown__divider {
  height: 1px;
  background: var(--dm-border);
  margin: 6px 4px;
}
.divid-wallet-dropdown__disconnect { color: var(--dm-danger); }
.divid-wallet-dropdown__disconnect svg { color: var(--dm-danger); }

/* Empty properties grid */
.divid-properties-grid--empty {
  padding: 16px;
  text-align: center;
}

/* Incoming offer image link */
.divid-offer-row__img-link {
  display: block;
  flex-shrink: 0;
}
.divid-offer-row__img-link img {
  transition: opacity .2s ease;
}
.divid-offer-row__img-link:hover img {
  opacity: .85;
}

/* Collection card In Offers */
.divid-collection-card__meta--offers {
  color: var(--dm-primary);
  font-weight: 600;
}

/* ================================================================
   PROFESSIONAL UI UPGRADE — Premium animations, glass, skeletons
   ================================================================ */

/* Enhanced root with premium shadows */
:root {
  --dm-shadow-lg: 0 10px 40px -10px rgba(15,23,42,0.12), 0 4px 12px -4px rgba(15,23,42,0.06);
  --dm-shadow-xl: 0 20px 60px -15px rgba(15,23,42,0.15), 0 8px 24px -8px rgba(15,23,42,0.08);
  --dm-radius-sm: 8px;
  --dm-radius-md: 14px;
  --dm-radius-lg: 20px;
  --dm-radius-xl: 28px;
}

/* Page entrance animation */
.divid-single-nft,
.divid-marketplace-grid,
.divid-profile {
  animation: dm-fade-up 0.5s ease-out;
}
@keyframes dm-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Skeleton shimmer loading */
.divid-skeleton {
  background: linear-gradient(90deg, var(--dm-surface-2) 25%, var(--dm-border) 50%, var(--dm-surface-2) 75%);
  background-size: 200% 100%;
  animation: dm-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--dm-radius-sm);
}
@keyframes dm-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.divid-nft-card--skeleton .divid-nft-card__image-wrap {
  background: linear-gradient(135deg, var(--dm-surface-2), var(--dm-border));
  animation: dm-shimmer 1.4s ease-in-out infinite;
  background-size: 200% 100%;
}
.divid-nft-card--skeleton .divid-nft-card__collection,
.divid-nft-card--skeleton .divid-nft-card__price-label,
.divid-nft-card--skeleton .divid-nft-card__owner,
.divid-nft-card--skeleton .divid-nft-card__title,
.divid-nft-card--skeleton .divid-nft-card__price,
.divid-nft-card--skeleton .divid-nft-card__divider {
  background: linear-gradient(90deg, var(--dm-surface-2) 25%, var(--dm-border) 50%, var(--dm-surface-2) 75%);
  background-size: 200% 100%;
  animation: dm-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
  color: transparent !important;
}

/* Premium empty states */
.divid-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  animation: dm-fade-up 0.4s ease-out;
}
.divid-empty-state__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-primary-light), rgba(129,140,248,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(79,70,229,0.1);
}
.divid-empty-state__icon svg {
  width: 32px;
  height: 32px;
  color: var(--dm-primary);
  stroke-width: 1.5;
}
.divid-empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dm-text);
  margin: 0 0 8px;
}
.divid-empty-state p {
  font-size: 14px;
  color: var(--dm-muted);
  max-width: 320px;
  margin: 0;
  line-height: 1.6;
}
.divid-empty-state--compact { padding: 32px 16px; }
.divid-empty-state--compact .divid-empty-state__icon { width: 48px; height: 48px; margin-bottom: 12px; }
.divid-empty-state--compact .divid-empty-state__icon svg { width: 22px; height: 22px; }
.divid-empty-state--compact h3 { font-size: 15px; }
.divid-empty-state--compact p { font-size: 13px; }

/* Enhanced single NFT media frame */
.divid-single__media-frame {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  padding: 16px;
  box-shadow: var(--dm-shadow-lg);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.divid-single__media-frame:hover {
  box-shadow: var(--dm-shadow-xl);
  transform: translateY(-2px);
}
.divid-single__media-wrap {
  border-radius: var(--dm-radius-md);
  overflow: hidden;
  position: relative;
  background: var(--dm-surface-2);
}
.divid-single__media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}
.divid-single__media img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.divid-single__media-wrap:hover .divid-single__media img {
  transform: scale(1.03);
}
.divid-single__zoom {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s ease;
}
.divid-single__zoom:hover {
  background: rgba(0,0,0,0.6);
  transform: scale(1.1);
}
.divid-single__media-badge .divid-badge--success {
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.08));
  border: 1px solid rgba(16,185,129,0.25);
  color: #065f46;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(16,185,129,0.15);
}

/* Details panel glass */
.divid-single__details {
  background: linear-gradient(145deg, var(--dm-surface), rgba(248,250,252,0.8));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  padding: 24px;
  box-shadow: var(--dm-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.divid-single__details h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dm-border);
}
.divid-single__detail-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(226,232,240,0.5);
  transition: all 0.15s ease;
}
.divid-single__detail-row:hover {
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(79,70,229,0.03), transparent);
}

/* Price box premium */
.divid-single__price-box {
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(129,140,248,0.04));
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--dm-radius-xl);
  padding: 32px;
  box-shadow: 0 4px 24px -8px rgba(79,70,229,0.12), inset 0 1px 0 rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.divid-single__price-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.divid-single__price-box::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129,140,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.divid-single__price-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--dm-muted);
  margin-bottom: 8px;
}
.divid-single__price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--dm-text);
  letter-spacing: -1px;
  line-height: 1.1;
}
.divid-single__price-value small {
  font-size: 16px;
  font-weight: 600;
  color: var(--dm-muted);
  letter-spacing: 0;
  margin-left: 4px;
}

/* Stats cards premium */
.divid-single__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.divid-single__stat {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--dm-shadow);
  transition: all 0.2s ease;
}
.divid-single__stat:hover {
  box-shadow: var(--dm-shadow-md);
  transform: translateY(-2px);
  border-color: rgba(79,70,229,0.2);
}
.divid-single__stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--dm-radius-sm);
  background: linear-gradient(135deg, var(--dm-primary-light), rgba(129,140,248,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.divid-single__stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dm-primary);
}
.divid-single__stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.divid-single__stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--dm-muted);
}
.divid-single__stat-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--dm-text);
}

/* Supply table premium */
.divid-single__supply-table {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  padding: 16px 20px;
  box-shadow: var(--dm-shadow);
}
.divid-single__supply-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226,232,240,0.5);
  font-size: 13px;
}
.divid-single__supply-row:last-child { border-bottom: none; }
.divid-single__supply-row span:first-child {
  color: var(--dm-muted);
  font-weight: 600;
}
.divid-single__supply-row span:last-child {
  color: var(--dm-text);
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* Premium offer rows & listings */
.divid-single__lists {
  background: linear-gradient(145deg, var(--dm-surface), rgba(248,250,252,0.6));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  padding: 32px;
  box-shadow: var(--dm-shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.divid-single__lists h3 {
  margin: 0 0 24px;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.divid-single__lists h3::before {
  content: '';
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--dm-primary), #818cf8);
}
.divid-offer-section { margin-bottom: 24px; }
.divid-offer-section:last-child { margin-bottom: 0; }
.divid-offer-section h4 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dm-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.divid-offer-section h4::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.divid-offer-section:nth-of-type(1) h4::before { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 0 8px rgba(16,185,129,0.4); }
.divid-offer-section:nth-of-type(2) h4::before { background: linear-gradient(135deg, #3b82f6, #60a5fa); box-shadow: 0 0 8px rgba(59,130,246,0.4); }
.divid-offer-section:nth-of-type(3) h4::before { background: linear-gradient(135deg, #8b5cf6, #a78bfa); box-shadow: 0 0 8px rgba(139,92,246,0.4); }

.divid-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  padding: 18px 22px;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: var(--dm-shadow);
  margin-bottom: 8px;
}
.divid-offer-row:last-child { margin-bottom: 0; }
.divid-offer-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--dm-primary), #818cf8);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.divid-offer-row:hover {
  border-color: rgba(79,70,229,0.25);
  box-shadow: 0 8px 24px -6px rgba(79,70,229,0.12);
  transform: translateX(4px);
}
.divid-offer-row:hover::before { opacity: 1; }
.divid-offer-row__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Property grid premium */
.divid-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.divid-property-card {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--dm-shadow);
  transition: all 0.2s ease;
}
.divid-property-card:hover {
  box-shadow: var(--dm-shadow-md);
  transform: translateY(-2px);
  border-color: rgba(79,70,229,0.2);
}
.divid-property-card__type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dm-muted);
  margin-bottom: 6px;
}
.divid-property-card__value {
  font-size: 14px;
  font-weight: 800;
  color: var(--dm-text);
  word-break: break-word;
}
.divid-properties-grid--empty {
  padding: 24px;
  text-align: center;
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px dashed var(--dm-border);
  border-radius: var(--dm-radius-md);
  color: var(--dm-muted);
  font-size: 13px;
}

/* Enhanced buttons with ripple — !important so this final refinement pass
   still wins over the earlier theme-hardened block (both important, later
   rule wins) instead of being silently shadowed by it. */
.divid-btn {
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
}
.divid-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.divid-btn:active::after {
  width: 200%;
  height: 200%;
}
.divid-btn-primary {
  background: linear-gradient(135deg, var(--dm-primary) 0%, #6366f1 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3) !important;
}
.divid-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(79,70,229,0.4) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}
.divid-btn-secondary {
  background: var(--dm-surface) !important;
  border: 1px solid var(--dm-border) !important;
  color: var(--dm-text) !important;
}
.divid-btn-secondary:hover {
  background: var(--dm-surface-2) !important;
  border-color: rgba(79,70,229,0.3) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  transform: translateY(-1px) !important;
}
.divid-btn-ghost {
  background: transparent !important;
  border: 1px solid var(--dm-border) !important;
  color: var(--dm-muted) !important;
}
.divid-btn-ghost:hover {
  background: var(--dm-surface-2) !important;
  border-color: rgba(79,70,229,0.3) !important;
  color: var(--dm-text) !important;
  transform: translateY(-1px) !important;
}

/* NFT cards premium */
.divid-nft-card {
  background: linear-gradient(145deg, var(--dm-surface), rgba(248,250,252,0.5));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  overflow: hidden;
  box-shadow: var(--dm-shadow);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.divid-nft-card:hover {
  box-shadow: var(--dm-shadow-xl);
  transform: translateY(-6px);
  border-color: rgba(79,70,229,0.15);
}
.divid-nft-card__image-wrap img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.divid-nft-card:hover .divid-nft-card__image-wrap img {
  transform: scale(1.05);
}
.divid-nft-card__badge {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Profile page premium */
.divid-profile__hero {
  background: linear-gradient(135deg, var(--dm-surface) 0%, var(--dm-surface-2) 100%);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--dm-shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.divid-profile__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-primary), #818cf8);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(79,70,229,0.3), 0 0 0 4px var(--dm-surface);
  flex-shrink: 0;
}
.divid-profile__stats-bar {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 24px;
  box-shadow: var(--dm-shadow);
}
.divid-profile__stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  flex: 1;
  padding: 8px;
  border-radius: var(--dm-radius-sm);
  transition: background 0.2s ease;
}
.divid-profile__stat-item:hover { background: rgba(79,70,229,0.04); }
.divid-profile__stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--dm-text);
  letter-spacing: -0.5px;
}
.divid-profile__stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dm-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.divid-collection-card {
  background: linear-gradient(145deg, var(--dm-surface), rgba(248,250,252,0.5));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  overflow: hidden;
  box-shadow: var(--dm-shadow);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.divid-collection-card:hover {
  box-shadow: var(--dm-shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(79,70,229,0.15);
}

/* Modal premium */
.divid-modal-overlay {
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.divid-modal {
  background: linear-gradient(145deg, var(--dm-surface), rgba(248,250,252,0.95));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg);
  box-shadow: var(--dm-shadow-xl);
}

/* Toast premium */
.divid-toast {
  background: linear-gradient(145deg, var(--dm-surface), rgba(248,250,252,0.95));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  padding: 16px 22px;
  box-shadow: var(--dm-shadow-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Form premium — !important so this final refinement pass still wins over
   the earlier theme-hardened block (both important, later rule wins) instead
   of being silently shadowed by it. */
.divid-input, .divid-select {
  background: linear-gradient(145deg, var(--dm-bg), var(--dm-surface)) !important;
  border: 1px solid var(--dm-border) !important;
  border-radius: var(--dm-radius-sm) !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}
.divid-input:focus, .divid-select:focus {
  border-color: var(--dm-primary) !important;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.1), 0 2px 8px rgba(79,70,229,0.08) !important;
  outline: none !important;
}

/* Toolbar enhanced */
.divid-single__toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.divid-single__toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--dm-radius-sm);
  border: 1px solid var(--dm-border);
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  color: var(--dm-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.divid-single__toolbar-btn:hover {
  background: linear-gradient(145deg, var(--dm-surface-2), var(--dm-bg));
  color: var(--dm-primary);
  border-color: rgba(79,70,229,0.25);
}

/* Loading dots premium */
.divid-loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dm-primary);
  display: inline-block;
  animation: dm-bounce 1.4s ease-in-out infinite both;
}
.divid-loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.divid-loading-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes dm-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* Dark theme adjustments for premium styles */
.divid-theme-dark .divid-single__details,
.divid-theme-dark .divid-single__lists,
.divid-theme-dark .divid-single__price-box,
.divid-theme-dark .divid-single__supply-table,
.divid-theme-dark .divid-marketplace-hero,
.divid-theme-dark .divid-profile__hero,
.divid-theme-dark .divid-profile__stats-bar,
.divid-theme-dark .divid-nft-card,
.divid-theme-dark .divid-collection-card,
.divid-theme-dark .divid-property-card,
.divid-theme-dark .divid-offer-row,
.divid-theme-dark .divid-modal,
.divid-theme-dark .divid-toast {
  background: linear-gradient(145deg, rgba(18,20,31,0.9), rgba(30,35,64,0.7));
}
.divid-theme-dark .divid-single__media-frame {
  background: linear-gradient(145deg, rgba(18,20,31,0.9), rgba(30,35,64,0.5));
}
.divid-theme-dark .divid-single__stat {
  background: linear-gradient(145deg, rgba(18,20,31,0.8), rgba(30,35,64,0.6));
}
.divid-theme-dark .divid-empty-state__icon {
  background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(129,140,248,0.1));
}
/* ================================================================
   DIVID STAKING — matches marketplace.css design system
   Append this entire block to the END of assets/css/marketplace.css
   ================================================================ */

/* Hero header (same visual language as .divid-marketplace-hero) */
.divid-staking-hero {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(139,92,246,0.03));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg, 20px);
  padding: 56px 24px 28px;
  margin-bottom: 28px;
  text-align: center;
}
.divid-staking-hero h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dm-text);
  line-height: 1.15;
}
.divid-staking-hero p {
  margin: 0 auto;
  max-width: 540px;
  color: var(--dm-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Widget wrapper */
.divid-staking-widget {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dm-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Each staking type section (Token→Token, Token→NFT, NFT→Token) */
.divid-staking-type {
  margin-bottom: 40px;
}
/* .divid-staking-widget is repeated in the heading selectors on purpose: the Elementor Site
   Settings rules (.elementor-kit-NNN h3 / h4, 60px / 56px on this site) have the same weight as
   a plain .divid-staking-type h3 and load later, so they won (client 2026-10-13: "huge words").
   The Elementor controls of the widget (Style > Staking Cards) sit above these again. */
.divid-staking-widget .divid-staking-type h3 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--dm-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.divid-staking-type h3::before {
  content: '';
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--dm-primary), #818cf8);
}

.divid-staking-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Card — mirrors .divid-single__stat / .divid-nft-card premium style */
.divid-staking-card {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg, 16px);
  padding: 22px;
  box-shadow: var(--dm-shadow);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.divid-staking-card:hover {
  box-shadow: var(--dm-shadow-md, 0 12px 28px -8px rgba(0,0,0,0.14));
  transform: translateY(-4px);
  border-color: rgba(79,70,229,0.2);
}
.divid-staking-widget .divid-staking-card h4 {
  margin: 0 0 4px;
  padding: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--dm-text);
}
.divid-staking-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(226,232,240,0.5);
}
.divid-staking-card__row:last-of-type { border-bottom: none; }
.divid-staking-card__row > span:first-child {
  color: var(--dm-muted);
  font-weight: 600;
}
.divid-staking-card__row > span:last-child {
  color: var(--dm-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.divid-staking-card__form { margin-top: 4px; }
.divid-staking-card__amount { width: 100%; }

.divid-staking-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.divid-staking-card__actions .divid-btn {
  flex: 1;
  min-width: 90px;
  padding: 9px 12px !important;
  font-size: 12.5px !important;
}

.divid-staking-card__status {
  font-size: 12px;
  color: var(--dm-success, #10b981);
  min-height: 16px;
  line-height: 1.4;
}
.divid-staking-card__status--error {
  color: var(--dm-danger, #ef4444);
}

/* Hero header — boxed/bordered/centered, matching the Collectibles
   Marketplace page's hero exactly (dark card, border, centered text). */
.divid-staking-hero {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(139,92,246,0.03)) !important;
  border: 1px solid var(--dm-border, rgba(255,255,255,0.14)) !important;
  border-radius: var(--dm-radius, 12px) !important;
  padding: 56px 28px !important;
  margin-bottom: 28px !important;
  text-align: center !important;
}
.divid-staking-hero h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(30px, 5vw, 48px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #f1f5f9 !important;
  line-height: 1.15 !important;
}
.divid-staking-hero p {
  margin: 0 auto !important;
  max-width: 560px !important;
  color: #94a3b8 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Frontend tab switcher — small pill buttons in a single row, one per
   enabled staking type. Clicking one shows only that type's cards. */
.divid-staking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.divid-staking-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.divid-staking-tab:hover {
  color: #f1f5f9;
  border-color: rgba(129,140,248,0.4);
}
.divid-staking-tab--active {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  border-color: transparent;
  color: #fff;
}
.divid-staking-type[data-tab-hidden="true"] { display: none; }
.divid-loading-overlay-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  text-align: center;
  color: var(--dm-muted);
  font-size: 13px;
}
.divid-loading-dots {
  display: flex;
  gap: 6px;
}

/* Dark theme */
.divid-theme-dark .divid-staking-card,
.divid-theme-dark .divid-staking-hero {
  background: linear-gradient(145deg, rgba(18,20,31,0.9), rgba(30,35,64,0.7));
}

/* Responsive */
@media (max-width: 768px) {
  .divid-staking-hero { padding: 40px 20px 20px; }
  .divid-staking-cards { grid-template-columns: 1fr; }
  .divid-staking-card__actions .divid-btn { min-width: 100%; }
}

/* Force dark-theme-friendly text colors on staking widget (independent of
   the --dm-text variable, since this widget doesn't receive the
   .divid-theme-dark class the way other widgets do) */
.divid-staking-hero h2,
.divid-staking-type h3,
.divid-staking-card h4,
.divid-staking-card__row > span:last-child {
  color: #f1f5f9 !important;
}
.divid-staking-hero p,
.divid-staking-card__row > span:first-child {
  color: #94a3b8 !important;
}
.divid-staking-card {
  background: linear-gradient(145deg, rgba(18,20,31,0.9), rgba(30,35,64,0.7)) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* Force full width so cards don't shrink/misalign inside Elementor's container */
.divid-staking-widget,
.divid-staking-type,
.divid-staking-cards {
  width: 100% !important;
}

/* Polished button row for staking cards — consistent sizing, pill shape,
   subtle hover lift, clearer visual hierarchy between primary/secondary/ghost. */
.divid-staking-card__actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
.divid-staking-card__actions .divid-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 11px 10px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  text-transform: uppercase !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.divid-staking-card__actions .divid-btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
}
.divid-staking-card__actions .divid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5) !important;
}
.divid-staking-card__actions .divid-btn-secondary {
  background: rgba(255,255,255,0.9) !important;
  color: #1e1b4b !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
}
.divid-staking-card__actions .divid-btn-secondary:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
}
.divid-staking-card__actions .divid-btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #94a3b8 !important;
}
.divid-staking-card__actions .divid-btn-ghost:hover {
  border-color: rgba(129,140,248,0.5) !important;
  color: #f1f5f9 !important;
  transform: translateY(-2px);
}
@media (max-width: 420px) {
  .divid-staking-card__actions { flex-wrap: wrap; }
  .divid-staking-card__actions .divid-btn { flex: 1 1 100%; }
}

/* ================================================================
   FINAL POLISH PASS — full-width fix confirmation, pill-container
   tabs, and non-truncating action buttons
   ================================================================ */

/* Belt-and-braces: guarantee the card grid always fills its row even if
   an older cached rule elsewhere still says auto-fill. */
.divid-staking-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  width: 100% !important;
}
.divid-staking-card {
  width: 100% !important;
}

/* Tabs — wrapped in a soft pill-shaped background container instead of
   floating loose buttons, closer to a proper segmented control. */
.divid-staking-tabs {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 4px !important;
  padding: 5px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  margin-bottom: 36px !important;
}
.divid-staking-tab {
  padding: 10px 20px !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}
.divid-staking-tab:hover {
  color: #f1f5f9 !important;
  background: rgba(255,255,255,0.06) !important;
}
.divid-staking-tab--active {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(99,102,241,0.35) !important;
}

/* Card action buttons — no more UPPERCASE (was truncating "Claim Rewards"),
   generous padding, equal height, readable at normal weight/case. */
.divid-staking-card {
  padding: 24px !important;
}
.divid-staking-card__actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}
.divid-staking-card__actions .divid-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 12px 8px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  text-align: center !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.divid-staking-card__actions .divid-btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
}
.divid-staking-card__actions .divid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5) !important;
}
.divid-staking-card__actions .divid-btn-secondary {
  background: rgba(255,255,255,0.92) !important;
  color: #1e1b4b !important;
  border: none !important;
}
.divid-staking-card__actions .divid-btn-secondary:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
}
.divid-staking-card__actions .divid-btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #94a3b8 !important;
}
.divid-staking-card__actions .divid-btn-ghost:hover {
  border-color: rgba(129,140,248,0.5) !important;
  color: #f1f5f9 !important;
  transform: translateY(-2px);
}

/* Amount input — a touch more breathing room to match the refreshed card padding. */
.divid-staking-card__amount {
  padding: 12px 14px !important;
}

@media (max-width: 420px) {
  .divid-staking-card__actions { flex-wrap: wrap; }
  .divid-staking-card__actions .divid-btn { flex: 1 1 100%; }
}

/* ================================================================
   FINAL CENTERING FIX — placed at the absolute end of the file so it
   always wins over any earlier/duplicate rules, no matter what.
   ================================================================ */
.divid-staking-hero {
  text-align: center !important;
}
.divid-staking-hero h2,
.divid-staking-hero p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.divid-staking-widget {
  text-align: center !important;
}
.divid-staking-type h3 {
  justify-content: center !important;
  text-align: center !important;
}
.divid-staking-type h3::before {
  display: none !important;
}
.divid-staking-cards {
  justify-items: stretch !important;
}
.divid-staking-card {
  text-align: left !important;
  max-width: none !important;
  width: 100% !important;
}

/* ================================================================
   MATCH MARKETPLACE HERO EXACTLY — same padding/height as
   .divid-marketplace-hero (32px 28px, same border-radius).
   ================================================================ */
.divid-staking-hero {
  padding: 32px 28px !important;
}
.divid-staking-hero h2 {
  font-size: clamp(34px, 6vw, 56px) !important;
  font-weight: 900 !important;
}
.divid-staking-hero p {
  font-size: 15px !important;
}

/* Give the widget the same side breathing room the marketplace page's
   Elementor section provides, in case the staking page's section is set
   to Full Width (no built-in container padding). */
.divid-staking-widget {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}
@media (min-width: 1240px) {
  .divid-staking-widget {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
/* ================================================================
   DIVID STAKING — matches marketplace.css design system
   Append this entire block to the END of assets/css/marketplace.css
   ================================================================ */

/* Hero header (same visual language as .divid-marketplace-hero) */
.divid-staking-hero {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(139,92,246,0.03));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg, 20px);
  padding: 56px 24px 28px;
  margin-bottom: 28px;
  text-align: center;
}
.divid-staking-hero h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dm-text);
  line-height: 1.15;
}
.divid-staking-hero p {
  margin: 0 auto;
  max-width: 540px;
  color: var(--dm-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Widget wrapper */
.divid-staking-widget {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dm-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Each staking type section (Token→Token, Token→NFT, NFT→Token) */
.divid-staking-type {
  margin-bottom: 40px;
}
/* .divid-staking-widget is repeated in the heading selectors on purpose: the Elementor Site
   Settings rules (.elementor-kit-NNN h3 / h4, 60px / 56px on this site) have the same weight as
   a plain .divid-staking-type h3 and load later, so they won (client 2026-10-13: "huge words").
   The Elementor controls of the widget (Style > Staking Cards) sit above these again. */
.divid-staking-widget .divid-staking-type h3 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--dm-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.divid-staking-type h3::before {
  content: '';
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--dm-primary), #818cf8);
}

.divid-staking-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Card — mirrors .divid-single__stat / .divid-nft-card premium style */
.divid-staking-card {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg, 16px);
  padding: 22px;
  box-shadow: var(--dm-shadow);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.divid-staking-card:hover {
  box-shadow: var(--dm-shadow-md, 0 12px 28px -8px rgba(0,0,0,0.14));
  transform: translateY(-4px);
  border-color: rgba(79,70,229,0.2);
}
.divid-staking-widget .divid-staking-card h4 {
  margin: 0 0 4px;
  padding: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--dm-text);
}
.divid-staking-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(226,232,240,0.5);
}
.divid-staking-card__row:last-of-type { border-bottom: none; }
.divid-staking-card__row > span:first-child {
  color: var(--dm-muted);
  font-weight: 600;
}
.divid-staking-card__row > span:last-child {
  color: var(--dm-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.divid-staking-card__form { margin-top: 4px; }
.divid-staking-card__amount { width: 100%; }

.divid-staking-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.divid-staking-card__actions .divid-btn {
  flex: 1;
  min-width: 90px;
  padding: 9px 12px !important;
  font-size: 12.5px !important;
}

.divid-staking-card__status {
  font-size: 12px;
  color: var(--dm-success, #10b981);
  min-height: 16px;
  line-height: 1.4;
}
.divid-staking-card__status--error {
  color: var(--dm-danger, #ef4444);
}

/* Hero header — boxed/bordered/centered, matching the Collectibles
   Marketplace page's hero exactly (dark card, border, centered text). */
.divid-staking-hero {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(139,92,246,0.03)) !important;
  border: 1px solid var(--dm-border, rgba(255,255,255,0.14)) !important;
  border-radius: var(--dm-radius, 12px) !important;
  padding: 56px 28px !important;
  margin-bottom: 28px !important;
  text-align: center !important;
}
.divid-staking-hero h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(30px, 5vw, 48px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #f1f5f9 !important;
  line-height: 1.15 !important;
}
.divid-staking-hero p {
  margin: 0 auto !important;
  max-width: 560px !important;
  color: #94a3b8 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Frontend tab switcher — small pill buttons in a single row, one per
   enabled staking type. Clicking one shows only that type's cards. */
.divid-staking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.divid-staking-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.divid-staking-tab:hover {
  color: #f1f5f9;
  border-color: rgba(129,140,248,0.4);
}
.divid-staking-tab--active {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  border-color: transparent;
  color: #fff;
}
.divid-staking-type[data-tab-hidden="true"] { display: none; }
.divid-loading-overlay-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  text-align: center;
  color: var(--dm-muted);
  font-size: 13px;
}
.divid-loading-dots {
  display: flex;
  gap: 6px;
}

/* Dark theme */
.divid-theme-dark .divid-staking-card,
.divid-theme-dark .divid-staking-hero {
  background: linear-gradient(145deg, rgba(18,20,31,0.9), rgba(30,35,64,0.7));
}

/* Responsive */
@media (max-width: 768px) {
  .divid-staking-hero { padding: 40px 20px 20px; }
  .divid-staking-cards { grid-template-columns: 1fr; }
  .divid-staking-card__actions .divid-btn { min-width: 100%; }
}

/* Force dark-theme-friendly text colors on staking widget (independent of
   the --dm-text variable, since this widget doesn't receive the
   .divid-theme-dark class the way other widgets do) */
.divid-staking-hero h2,
.divid-staking-type h3,
.divid-staking-card h4,
.divid-staking-card__row > span:last-child {
  color: #f1f5f9 !important;
}
.divid-staking-hero p,
.divid-staking-card__row > span:first-child {
  color: #94a3b8 !important;
}
.divid-staking-card {
  background: linear-gradient(145deg, rgba(18,20,31,0.9), rgba(30,35,64,0.7)) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* Force full width so cards don't shrink/misalign inside Elementor's container */
.divid-staking-widget,
.divid-staking-type,
.divid-staking-cards {
  width: 100% !important;
}

/* Polished button row for staking cards — consistent sizing, pill shape,
   subtle hover lift, clearer visual hierarchy between primary/secondary/ghost. */
.divid-staking-card__actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
.divid-staking-card__actions .divid-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 11px 10px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  text-transform: uppercase !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.divid-staking-card__actions .divid-btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
}
.divid-staking-card__actions .divid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5) !important;
}
.divid-staking-card__actions .divid-btn-secondary {
  background: rgba(255,255,255,0.9) !important;
  color: #1e1b4b !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
}
.divid-staking-card__actions .divid-btn-secondary:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
}
.divid-staking-card__actions .divid-btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #94a3b8 !important;
}
.divid-staking-card__actions .divid-btn-ghost:hover {
  border-color: rgba(129,140,248,0.5) !important;
  color: #f1f5f9 !important;
  transform: translateY(-2px);
}
@media (max-width: 420px) {
  .divid-staking-card__actions { flex-wrap: wrap; }
  .divid-staking-card__actions .divid-btn { flex: 1 1 100%; }
}

/* ================================================================
   FINAL POLISH PASS — full-width fix confirmation, pill-container
   tabs, and non-truncating action buttons
   ================================================================ */

/* Belt-and-braces: guarantee the card grid always fills its row even if
   an older cached rule elsewhere still says auto-fill. */
.divid-staking-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  width: 100% !important;
}
.divid-staking-card {
  width: 100% !important;
}

/* Tabs — wrapped in a soft pill-shaped background container instead of
   floating loose buttons, closer to a proper segmented control. */
.divid-staking-tabs {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 4px !important;
  padding: 5px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  margin-bottom: 36px !important;
}
.divid-staking-tab {
  padding: 10px 20px !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}
.divid-staking-tab:hover {
  color: #f1f5f9 !important;
  background: rgba(255,255,255,0.06) !important;
}
.divid-staking-tab--active {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(99,102,241,0.35) !important;
}

/* Card action buttons — no more UPPERCASE (was truncating "Claim Rewards"),
   generous padding, equal height, readable at normal weight/case. */
.divid-staking-card {
  padding: 24px !important;
}
.divid-staking-card__actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}
.divid-staking-card__actions .divid-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 12px 8px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  text-align: center !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.divid-staking-card__actions .divid-btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
}
.divid-staking-card__actions .divid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5) !important;
}
.divid-staking-card__actions .divid-btn-secondary {
  background: rgba(255,255,255,0.92) !important;
  color: #1e1b4b !important;
  border: none !important;
}
.divid-staking-card__actions .divid-btn-secondary:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
}
.divid-staking-card__actions .divid-btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #94a3b8 !important;
}
.divid-staking-card__actions .divid-btn-ghost:hover {
  border-color: rgba(129,140,248,0.5) !important;
  color: #f1f5f9 !important;
  transform: translateY(-2px);
}

/* Amount input — a touch more breathing room to match the refreshed card padding. */
.divid-staking-card__amount {
  padding: 12px 14px !important;
}

@media (max-width: 420px) {
  .divid-staking-card__actions { flex-wrap: wrap; }
  .divid-staking-card__actions .divid-btn { flex: 1 1 100%; }
}

/* ================================================================
   FINAL CENTERING FIX — placed at the absolute end of the file so it
   always wins over any earlier/duplicate rules, no matter what.
   ================================================================ */
.divid-staking-hero {
  text-align: center !important;
}
.divid-staking-hero h2,
.divid-staking-hero p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.divid-staking-widget {
  text-align: center !important;
}
.divid-staking-type h3 {
  justify-content: center !important;
  text-align: center !important;
}
.divid-staking-type h3::before {
  display: none !important;
}
.divid-staking-cards {
  justify-items: stretch !important;
}
.divid-staking-card {
  text-align: left !important;
  max-width: none !important;
  width: 100% !important;
}

/* ================================================================
   MATCH MARKETPLACE HERO EXACTLY — same padding/height as
   .divid-marketplace-hero (32px 28px, same border-radius).
   ================================================================ */
.divid-staking-hero {
  padding: 32px 28px !important;
}
.divid-staking-hero h2 {
 font-size: clamp(34px, 6vw, 56px) !important;
  font-weight: 900 !important;
}
.divid-staking-hero p {
  font-size: 15px !important;
}

/* Give the widget the same side breathing room the marketplace page's
   Elementor section provides, in case the staking page's section is set
   to Full Width (no built-in container padding). */
.divid-staking-widget {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}
@media (min-width: 1240px) {
  .divid-staking-widget {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ================================================================
   ABSOLUTE FINAL FIX — hero is a SIBLING of .divid-staking-widget,
   not a child, so it needs its own side spacing + radius forced
   directly (widget padding alone never reached it).
   ================================================================ */
.divid-staking-hero {
  margin-left: 20px !important;
  margin-right: 20px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}
@media (min-width: 1240px) {
  .divid-staking-hero {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* ================================================================
   ABSOLUTE FINAL FIX — hero is a SIBLING of .divid-staking-widget,
   not a child, so it needs its own side spacing + radius forced
   directly (widget padding alone never reached it).
   ================================================================ */
.divid-staking-hero {
  margin-left: 40px !important;
  margin-right: 40px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}
@media (min-width: 1240px) {
  .divid-staking-hero {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Wallet dropdown: click to open/close */
.divid-wallet-dropdown > .divid-wallet-info, .divid-wallet-dropdown > .divid-wallet-icon-info { cursor: pointer; }
.divid-wallet-chevron { transition: transform 0.16s ease; }
.divid-wallet-dropdown--open .divid-wallet-chevron { transform: rotate(180deg); }

/* Terms of Service popup (Marketplace side; same idea as the CoinOpp gate) */
.divid-tos-modal { max-width: 580px; }
.divid-tos-modal .divid-modal__title { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.divid-tos-tabs { display: flex; gap: 4px; margin: -6px 0 12px; border-bottom: 1px solid var(--dm-border); }
.divid-tos-tab { background: none; border: none; border-bottom: 2px solid transparent; padding: 8px 14px; margin-bottom: -1px; font-size: 13px; font-weight: 700; color: var(--dm-muted); cursor: pointer; border-radius: 0; }
.divid-tos-tab:hover { color: var(--dm-text); }
.divid-tos-tab--on { color: var(--dm-primary); border-bottom-color: var(--dm-primary); }
.divid-tos-body { max-height: 46vh; overflow-y: auto; padding: 2px 10px 2px 0; color: var(--dm-text); line-height: 1.6; font-size: 14px; scrollbar-width: thin; }
.divid-tos-pane { display: none; }
.divid-tos-pane--on { display: block; }
.divid-tos-pane p { margin: 0 0 10px; color: var(--dm-text); }
.divid-tos-pane h1, .divid-tos-pane h2, .divid-tos-pane h3, .divid-tos-pane h4 { font-size: 15px; margin: 12px 0 6px; }
.divid-tos-pane ul, .divid-tos-pane ol { margin: 0 0 10px 20px; }
.divid-tos-agree { display: flex; align-items: center; gap: 8px; margin: 14px 0 2px; font-size: 13px; color: var(--dm-text); cursor: pointer; }
.divid-tos-agree input { width: 16px; height: 16px; margin: 0; accent-color: var(--dm-primary); }


/* ================================================================
   DIVID PREDICT — prediction markets (2026-10-18)
   Mirrors the staking block above. The hero reuses .divid-staking-hero.
   ================================================================ */
.divid-predict-widget {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dm-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.divid-predict-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.divid-predict-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.divid-predict-tab {
  border: 1px solid var(--dm-border);
  background: var(--dm-surface);
  color: var(--dm-muted);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.divid-predict-tab:hover { color: var(--dm-text); border-color: rgba(79,70,229,0.4); }
.divid-predict-tab--active { background: var(--dm-primary); border-color: var(--dm-primary); color: #fff; }
/* Theme (Kadence/Elementor) button resets must not shrink the tabs. */
.divid-predict-widget .divid-predict-tab {
  padding: 7px 16px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}
.divid-predict-widget .divid-predict-tab:not(.divid-predict-tab--active) { background: var(--dm-surface) !important; color: var(--dm-muted) !important; border: 1px solid var(--dm-border) !important; }
.divid-predict-widget .divid-predict-tab--active { background: var(--dm-primary) !important; color: #fff !important; border: 1px solid var(--dm-primary) !important; }
.divid-predict-wallet__addr {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--dm-muted);
  border: 1px solid var(--dm-border);
  border-radius: 999px;
  padding: 7px 14px;
}
.divid-predict-notice,
.divid-predict-empty {
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius, 12px);
  padding: 22px;
  text-align: center;
  color: var(--dm-muted);
  font-size: 14px;
  background: var(--dm-surface);
}
.divid-predict-notice { margin-bottom: 20px; color: var(--dm-danger, #ef4444); }

.divid-predict-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.divid-predict-card {
  background: linear-gradient(145deg, var(--dm-surface), var(--dm-surface-2));
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-lg, 16px);
  padding: 22px;
  box-shadow: var(--dm-shadow);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.divid-predict-card:hover {
  box-shadow: var(--dm-shadow-md, 0 12px 28px -8px rgba(0,0,0,0.14));
  transform: translateY(-4px);
  border-color: rgba(79,70,229,0.2);
}
.divid-predict-card__head { display: flex; justify-content: space-between; align-items: center; }
.divid-predict-card__id { font-size: 12px; color: var(--dm-muted); font-weight: 700; }
.divid-predict-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(16,185,129,0.12);
  color: var(--dm-success, #10b981);
}
.divid-predict-badge--1 { background: rgba(79,70,229,0.12); color: var(--dm-primary); }
.divid-predict-badge--2 { background: rgba(239,68,68,0.12); color: var(--dm-danger, #ef4444); }
.divid-predict-widget .divid-predict-card h4 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--dm-text);
}
.divid-predict-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dm-muted);
}

/* Outcomes with price bars */
.divid-predict-outcomes { display: flex; flex-direction: column; gap: 8px; }
.divid-predict-outcome {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) 2fr auto;
  grid-template-areas: "name bar price" "pos pos pos";
  align-items: center;
  gap: 4px 12px;
  padding: 8px 10px;
  border: 1px solid var(--dm-border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.divid-predict-outcome--winner { border-color: var(--dm-success, #10b981); background: rgba(16,185,129,0.06); }
.divid-predict-outcome__name { grid-area: name; font-size: 13px; font-weight: 700; color: var(--dm-text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.divid-predict-outcome__winner {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--dm-success, #10b981);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
}
.divid-predict-outcome__bar { grid-area: bar; height: 8px; border-radius: 4px; background: rgba(148,163,184,0.2); overflow: hidden; }
.divid-predict-outcome__fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--dm-primary), #818cf8); transition: width 0.4s ease; }
.divid-predict-outcome__price { grid-area: price; text-align: right; font-size: 15px; font-weight: 800; color: var(--dm-text); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; line-height: 1.15; }
.divid-predict-outcome__price small { font-size: 11px; font-weight: 600; color: var(--dm-muted); }
.divid-predict-outcome__pos { grid-area: pos; font-size: 12px; font-weight: 700; color: var(--dm-primary); }
.divid-predict-outcome__pos:empty { display: none; }

/* Fact rows (same look as the staking card rows) */
.divid-predict-card__rows { display: flex; flex-direction: column; }
.divid-predict-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(226,232,240,0.5);
}
.divid-predict-card__row:last-of-type { border-bottom: none; }
.divid-predict-card__row > span:first-child { color: var(--dm-muted); font-weight: 600; white-space: nowrap; }
.divid-predict-card__row > span:last-child { color: var(--dm-text); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* Buy form — crypto only (USDC / USDT), no fiat option by design */
.divid-predict-buy { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.divid-predict-buy__label { font-size: 12px; font-weight: 700; color: var(--dm-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.divid-predict-buy__amount-row { display: flex; gap: 8px; }
/* The shared .divid-input rule sets width:100% !important, so the row split needs !important too. */
.divid-predict-widget .divid-predict-buy__amount-row .divid-input { flex: 1 1 auto; min-width: 0; width: auto !important; }
.divid-predict-widget .divid-predict-buy__amount-row .divid-select { width: 118px !important; flex: 0 0 118px; }
.divid-predict-widget .divid-predict-buy__outcome { width: 100% !important; }
.divid-predict-buy__estimate { font-size: 12px; line-height: 1.45; color: var(--dm-muted); min-height: 0; }
.divid-predict-buy__estimate:empty { display: none; }

.divid-predict-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.divid-predict-card__actions:empty { display: none; }
.divid-predict-card__actions .divid-btn { flex: 1; min-width: 120px; padding: 10px 14px !important; font-size: 13px !important; }
.divid-predict-card__hint { font-size: 12px; color: var(--dm-muted); text-align: center; }

.divid-predict-status { font-size: 12px; line-height: 1.45; color: var(--dm-success, #10b981); }
.divid-predict-status--error { color: var(--dm-danger, #ef4444); }
.divid-predict-status--empty { display: none; }

@media (max-width: 480px) {
  .divid-predict-outcome { grid-template-columns: 1fr auto; grid-template-areas: "name price" "bar bar" "pos pos"; }
}

/* ══════════════════════════════════════════════════════════════════════
   Colour harmonization (client chat 2026-10-21, live 2026-10-24)
   Nav blue #00a1e8 for links / prices / "You own" pills, logo gold
   #ecc15e with black text for every Connect Wallet button.
   ══════════════════════════════════════════════════════════════════════ */
:root { --dm-nav-blue: #00a1e8; --dm-brand-gold: #ecc15e; --dm-brand-gold-hover: #f3d27f; }

/* "You own N" pill → nav blue; "In offers N" keeps its green. */
.divid-nft-card__holding-item {
  background: rgba(0,161,232,0.14);
  color: var(--dm-nav-blue);
  border-color: rgba(0,161,232,0.35);
  white-space: nowrap;
}
.divid-nft-card__holding-item--offers {
  background: rgba(5,150,105,0.14);
  color: #10b981;
  border-color: rgba(5,150,105,0.35);
}
/* Pills sit in one row on the lower edge of the picture instead of stacking
   above the title ("Move this up so these don't stack"). */
.divid-nft-card__holding {
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  gap: 6px;
  margin: -36px 0 0;
  padding: 0;
  min-height: 24px;
  pointer-events: none;
}
.divid-nft-card__holding .divid-nft-card__holding-item {
  pointer-events: auto;
  background: rgba(10,12,24,0.88);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
}
.divid-nft-card__holding .divid-nft-card__holding-item--offers { background: rgba(10,12,24,0.88); }

/* Card "Buy" link */
.divid-nft-card__action-btn--buy { color: var(--dm-nav-blue); }
.divid-nft-card__action-btn--buy:hover { color: #0086c3; background: rgba(0,161,232,0.10); }

/* NFT details: breadcrumb link + current price */
.divid-single__breadcrumb a { color: var(--dm-nav-blue); }
.divid-single__breadcrumb a:hover { color: #0086c3; }
.divid-single__price-value,
.divid-single .divid-single__price-value { color: var(--dm-nav-blue); }
/* The NFT details page widget carries an Elementor colour override
   (.elementor-15040 … .divid-single__price-value { color:#4f46e5 !important }),
   so this needs to win on specificity. */
.elementor .elementor-element.elementor-widget .divid-single__price-box .divid-single__price-value,
.elementor .elementor-element.elementor-widget .divid-single__price-box .divid-single__price-value small { color: var(--dm-nav-blue) !important; }
.divid-badge--info { background: rgba(0,161,232,0.14); color: var(--dm-nav-blue); border-color: rgba(0,161,232,0.35); }

/* Every Connect Wallet button: gold, black text (header bar, wallet icon,
   My Collection prompt, Predict widget, shortcode button). */
#divid-connect-wallet,
#divid-connect-wallet-icon,
.divid-connect-wallet,
.divid-connect-wallet-btn,
.divid-connect-wallet-icon,
.divid-profile__connect-btn,
.divid-predict-connect,
.elementor-widget .divid-connect-wallet-btn,
.elementor-widget .divid-connect-wallet-icon {
  background: var(--dm-brand-gold) !important;
  background-image: none !important;
  color: #111111 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(236,193,94,0.35) !important;
  text-shadow: none !important;
}
#divid-connect-wallet:hover,
#divid-connect-wallet-icon:hover,
.divid-connect-wallet:hover,
.divid-connect-wallet-btn:hover,
.divid-connect-wallet-icon:hover,
.divid-profile__connect-btn:hover,
.divid-predict-connect:hover,
.elementor-widget .divid-connect-wallet-btn:hover,
.elementor-widget .divid-connect-wallet-icon:hover {
  background: var(--dm-brand-gold-hover) !important;
  color: #111111 !important;
  box-shadow: 0 6px 18px rgba(236,193,94,0.45) !important;
}
#divid-connect-wallet svg, #divid-connect-wallet-icon svg,
.divid-connect-wallet-btn svg, .divid-connect-wallet-icon svg, .divid-connect-wallet svg { color: #111; stroke: #111; }
/* The My Collection prompt button had no primary style at all (light blue theme default). */
.divid-profile__connect-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* ── Mobile harmonization: no mid-word breaks, scrollable tabs ─────────── */
.divid-marketplace-hero__title,
.divid-profile__display-name,
.divid-single__title {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
@media (max-width: 640px) {
  .divid-marketplace-hero__title { font-size: 30px !important; line-height: 1.15; }
  .divid-profile__display-name { font-size: 24px !important; }
  .divid-profile__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    margin-left: -4px;
    margin-right: -4px;
    padding: 0 4px;
  }
  .divid-profile__tabs::-webkit-scrollbar { display: none; }
  .divid-profile__tab { white-space: nowrap; flex: 0 0 auto; padding: 12px 14px; font-size: 13px; }
}

/* ── My Predictions tab (profile) ──────────────────────────────────────── */
.divid-predict-positions { display: flex; flex-direction: column; gap: 16px; }
.divid-predict-positions .divid-predict-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.divid-predict-positions .divid-predict-card h4 { margin: 0; padding: 0; font-size: 17px; line-height: 1.3; font-weight: 800; color: var(--dm-text); }
.divid-predict-pos__answer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(0,161,232,0.35); background: rgba(0,161,232,0.08);
}
.divid-predict-pos__answer-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--dm-muted); display: block; margin-bottom: 2px; }
.divid-predict-pos__answer-name { font-size: 15px; font-weight: 800; color: var(--dm-nav-blue); }
.divid-predict-pos__answer-shares { font-size: 13px; font-weight: 700; color: var(--dm-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.divid-predict-pos__answer--won { border-color: rgba(16,185,129,0.5); background: rgba(16,185,129,0.08); }
.divid-predict-pos__answer--won .divid-predict-pos__answer-name { color: #10b981; }
.divid-predict-pos__answer--lost { border-color: rgba(148,163,184,0.35); background: rgba(148,163,184,0.06); opacity: 0.85; }
.divid-predict-pos__answer--lost .divid-predict-pos__answer-name { color: var(--dm-muted); text-decoration: line-through; }
.divid-predict-pos__result { font-size: 13px; line-height: 1.5; color: var(--dm-text); font-weight: 600; }
.divid-predict-pos__result--won { color: #10b981; }
.divid-predict-pos__result--lost { color: var(--dm-muted); }
.divid-predict-pos__result--void { color: #f59e0b; }
.divid-predict-pos__result--open { color: var(--dm-nav-blue); }
.divid-predict-positions .divid-predict-card__actions .divid-btn { background: var(--dm-brand-gold) !important; color: #111 !important; border: none !important; }
.divid-predict-positions .divid-predict-card__actions .divid-btn:hover { background: var(--dm-brand-gold-hover) !important; }
.divid-predict-positions .divid-profile__connect { text-align: center; padding: 32px 16px; }
.divid-predict-positions .divid-profile__connect p { margin: 0 0 14px; }
.divid-predict-positions__sub { font-size: 13px; color: var(--dm-muted); margin: 0; }
/* Theme page title (Kadence "page-title") is 70px on phones: "Collectibles
   Marketplace" / "My Collection" broke mid-word. Scale it to the viewport. */
@media (max-width: 640px) {
  .page-title, h1.page-title, .entry-title.page-title { font-size: clamp(28px, 9vw, 40px) !important; line-height: 1.15 !important; overflow-wrap: normal; word-break: keep-all; }
}

/* Phones: the three staking buttons (Stake / Unstake / Claim Rewards) sat in one
   row of 76px each and broke mid-word ("Stak e"). Stack them full width instead. */
@media (max-width: 480px) {
  .divid-staking-card__actions { flex-wrap: wrap !important; }
  .divid-staking-card__actions .divid-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    padding: 12px 16px !important;
  }
}

/* Phones: the marketplace hero title ("Collectibles Marketplace", a plain h2 inside
   .divid-marketplace-hero) is rendered at 60px by the theme heading rules and breaks
   mid-word ("Collecti / bles"). Scale it to the screen and keep words whole. */
@media (max-width: 640px) {
  .divid-marketplace-hero h2,
  .divid-marketplace-hero .divid-marketplace-hero__title {
    font-size: clamp(26px, 8.5vw, 40px) !important;
    line-height: 1.15 !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
}

/* ── Standalone Hero Header widget / [divid_hero_header] (2026-10-30) ──
   Same box as the Marketplace Grid hero. The title carries a class so an H1 /
   H3 title keeps the hero look (the Elementor kit's "h1"/"h3" rules otherwise
   win on weight). Two classes outrank ".elementor-kit-NNN h1". */
.divid-marketplace-hero .divid-marketplace-hero__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--dm-text, #0f172a);
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.15;
}
.divid-marketplace-hero .divid-marketplace-hero__sub {
  font-size: 16px;
  color: var(--dm-muted, #64748b);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
.divid-marketplace-hero.divid-hero-header { margin-bottom: 24px; }
