/* Loaded only by the modern layout. Classic pages never include this file. */

html.theme-modern {
  --main-sidebar-width: 0px;
  --sidebar-panel-width: 0px;
  --desk-bg: #e8e2d6;
  --desk-card: #f7f3ea;
  --desk-ink: #1c1812;
  --desk-muted: #5e574c;
  --desk-line: rgba(28, 24, 18, 0.14);
  --desk-gold: #8d5a12;
  --desk-gold-ink: #1c1408;
  --desk-mint: #1d6b45;
  --desk-grid: rgba(28, 24, 18, 0.05);
  --desk-shadow: 0 18px 40px rgba(28, 24, 18, 0.06);
}

html.dark.theme-modern {
  color-scheme: dark;
  --desk-bg: #090a0d;
  --desk-card: #12141a;
  --desk-ink: #f3efe6;
  --desk-muted: #b1a89a;
  --desk-line: rgba(243, 239, 230, 0.14);
  --desk-gold: #e4b15a;
  --desk-gold-ink: #1c1408;
  --desk-mint: #8fd9b0;
  --desk-grid: rgba(243, 239, 230, 0.04);
  --desk-shadow: none;
}

html.theme-modern .main-content,
html.theme-modern .is-sidebar-open .main-content {
  margin-left: 0 !important;
  margin-top: 4.25rem !important;
}

.theme-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--desk-bg) 88%, transparent);
  border-bottom: 1px solid var(--desk-line);
  backdrop-filter: blur(14px);
  color: var(--desk-ink);
}

html.dark .theme-topnav {
  background: color-mix(in srgb, var(--desk-bg) 88%, transparent);
  border-bottom-color: var(--desk-line);
  color: var(--desk-ink);
}

.theme-topnav-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 4.25rem;
  padding: 0 1rem;
}

.theme-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  margin-right: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}

.theme-brand img {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.theme-brand span {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-topnav-links,
.theme-topnav-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.theme-topnav-tools {
  margin-left: auto;
}

.theme-nav-burger {
  display: none;
}

.theme-nav-slot {
  position: relative;
}

.theme-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.25rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--desk-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.theme-nav-btn svg {
  width: 1rem;
  height: 1rem;
}

html.dark .theme-nav-btn {
  color: var(--desk-muted);
}

.theme-nav-btn.is-open,
.theme-nav-btn.is-active,
.theme-nav-btn:hover {
  background: color-mix(in srgb, var(--desk-gold) 16%, transparent);
  color: var(--desk-gold);
}

html.dark .theme-nav-btn.is-open,
html.dark .theme-nav-btn.is-active,
html.dark .theme-nav-btn:hover {
  background: color-mix(in srgb, var(--desk-gold) 16%, transparent);
  color: var(--desk-gold);
}

.theme-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f59e0b;
  cursor: pointer;
}

.theme-drop {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  width: 18.5rem;
  padding: 0.4rem;
  border: 1px solid var(--desk-line);
  border-radius: 1rem;
  background: var(--desk-card);
  box-shadow: var(--desk-shadow);
  z-index: 50;
}

.theme-drop-end {
  left: auto;
  right: 0;
}

html.dark .theme-drop {
  background: var(--desk-card);
  border-color: var(--desk-line);
}

.theme-drop a,
.theme-drop button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.theme-drop a:hover,
.theme-drop button:hover,
.theme-drop a.is-active {
  background: color-mix(in srgb, var(--desk-gold) 12%, transparent);
}

.theme-drop-title,
.theme-drop-text {
  display: block;
}

.theme-drop-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--desk-ink);
}

.theme-ptc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--desk-gold);
  color: var(--desk-gold-ink);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.theme-ptc-count[hidden] {
  display: none !important;
}

.theme-drop-text {
  font-size: 0.75rem;
  color: var(--desk-muted);
}

html.dark .theme-drop-title {
  color: var(--desk-ink);
}

html.dark .theme-drop-text {
  color: var(--desk-muted);
}

.theme-user-name {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .theme-nav-burger {
    display: inline-flex;
    align-items: center;
    height: 2.25rem;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 999px;
    border: 1px solid var(--desk-line);
    background: var(--desk-card);
    color: var(--desk-ink);
    font-weight: 650;
    cursor: pointer;
  }

  .theme-topnav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100vh - 4.25rem);
    padding: 0.5rem;
    background: var(--desk-bg);
    border-bottom: 1px solid var(--desk-line);
    overflow: auto;
  }

  html.dark .theme-topnav-links {
    background: var(--desk-bg);
    border-bottom-color: var(--desk-line);
  }

  .theme-topnav.is-sheet .theme-topnav-links {
    display: flex;
  }

  .theme-nav-slot,
  .theme-drop {
    position: static;
    width: auto;
    box-shadow: none;
  }

  .theme-nav-btn {
    width: 100%;
    justify-content: space-between;
  }
}

html.theme-modern .theme-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--desk-gold) 16%, transparent);
  color: var(--desk-gold);
}

html.dark .theme-nav-icon {
  background: color-mix(in srgb, var(--desk-gold) 16%, transparent);
  color: var(--desk-gold);
}

[data-ui-theme="modern"] .theme-balance {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}

[data-ui-theme="modern"] .theme-balance img {
  width: 2rem;
  height: 2rem;
}

html.theme-modern .theme-earn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

html.theme-modern .tone-success { background: rgba(16, 185, 129, 0.16); color: #047857; }
html.theme-modern .tone-info { background: rgba(14, 165, 233, 0.16); color: #0369a1; }
html.theme-modern .tone-warning { background: rgba(245, 158, 11, 0.2); color: #b45309; }
html.theme-modern .tone-error { background: rgba(244, 63, 94, 0.16); color: #be123c; }
html.theme-modern .tone-secondary { background: rgba(100, 116, 139, 0.18); color: #334155; }
html.theme-modern .tone-primary { background: rgba(79, 70, 229, 0.14); color: #4338ca; }
html.theme-modern .tone-accent { background: rgba(99, 102, 241, 0.16); color: #4f46e5; }

html.dark.theme-modern .tone-success { color: #6ee7b7; }
html.dark.theme-modern .tone-info { color: #7dd3fc; }
html.dark.theme-modern .tone-warning { color: #fcd34d; }
html.dark.theme-modern .tone-error { color: #fda4af; }
html.dark.theme-modern .tone-secondary { color: #e2e8f0; }
html.dark.theme-modern .tone-primary { color: #c7d2fe; }
html.dark.theme-modern .tone-accent { color: #a5b4fc; }

[data-ui-theme="modern"] .theme-ad {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 1rem;
  text-align: center;
}

[data-ui-theme="modern"] .theme-ad-top {
  margin-top: 0;
}

[data-ui-theme="modern"] .theme-ad img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

[data-ui-theme="modern"] .theme-wd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

html.dark [data-ui-theme="modern"] .theme-wd-row {
  border-bottom-color: #2d3a55;
}

[data-ui-theme="modern"] .theme-wd-row:last-child {
  border-bottom: 0;
}

html.theme-modern .earn-ad {
  width: 100%;
  margin: 0 0 1rem;
  overflow: visible;
  text-align: center;
}

html.theme-modern .earn-ad:has(img),
html.theme-modern .earn-ad:has(iframe),
html.theme-modern .earn-ad:has(ins) {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
}

html.dark.theme-modern .earn-ad:has(img),
html.dark.theme-modern .earn-ad:has(iframe),
html.dark.theme-modern .earn-ad:has(ins) {
  background: #1b2436;
  border-color: #2d3a55;
}

html.theme-modern .earn-ad img,
html.theme-modern .earn-ad video {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

html.theme-modern .earn-ad iframe,
html.theme-modern .earn-ad object,
html.theme-modern .earn-ad embed {
  max-width: 100%;
  border: 0;
  pointer-events: auto;
}

html.theme-modern .earn-ad a {
  pointer-events: auto;
}

html.theme-modern .earn-ad:has(+ .earn-go) {
  margin-bottom: 0;
}

html.theme-modern .earn-ad + .earn-go {
  margin-top: 0.75rem;
}

html.theme-modern .earn-page {
  margin-top: 1rem;
}

html.theme-modern .earn-shell {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem 1.1rem;
}

html.dark.theme-modern .earn-shell {
  border-color: #2d3a55;
  background: #1b2436;
}

html.theme-modern .earn-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

html.dark.theme-modern .earn-kicker {
  color: #cbd5e1;
}

html.theme-modern .earn-shell button.text-white {
  background: #1e293b;
  color: #fff;
}

html.dark.theme-modern .earn-shell button.text-white {
  background: #6366f1;
  color: #fff;
}

html.theme-modern a.earn-rank {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  text-decoration: none;
}

html.theme-modern a.earn-rank > span {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--desk-gold) 70%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--desk-gold) 28%, var(--desk-card));
  color: var(--desk-ink);
}

html.theme-modern a.earn-rank strong {
  flex: 0 0 auto;
  font-family: Syne, "Public Sans", sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--desk-gold);
}

html.theme-modern a.earn-rank .earn-rank-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

html.theme-modern a.earn-rank .earn-rank-copy b {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--desk-gold);
}

html.theme-modern a.earn-rank .earn-rank-copy em {
  font-size: 1.12rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
  color: var(--desk-ink);
}

html.theme-modern .earn-shell h2 {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
  font-weight: 650;
  color: #1e293b;
}

html.dark.theme-modern .earn-shell h2 {
  color: #f8fafc;
}

html.theme-modern .earn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

html.theme-modern .earn-stat {
  border-radius: 0.85rem;
  background: #f8fafc;
  padding: 0.85rem 1rem;
}

html.dark.theme-modern .earn-stat {
  background: #111827;
}

html.theme-modern .earn-stat b {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
}

html.dark.theme-modern .earn-stat b {
  color: #f8fafc;
}

html.theme-modern .earn-stat span {
  font-size: 0.75rem;
  color: #64748b;
}

html.theme-modern .earn-go {
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border-radius: 0.8rem;
}

html.theme-modern .earn-wall {
  display: block;
  width: 100%;
  height: calc(100vh - 13rem);
  min-height: 28rem;
  border: 0;
  border-radius: 1rem;
  background: #fff;
}

html.theme-modern .earn-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
}

html.dark.theme-modern .earn-card {
  border-color: #2d3a55;
  background: #1b2436;
}

html.theme-modern .earn-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

html.theme-modern .earn-card h5,
html.theme-modern .earn-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: #1e293b;
}

html.dark.theme-modern .earn-card h5,
html.dark.theme-modern .earn-card h3 {
  color: #f8fafc;
}

html.theme-modern .earn-tag {
  flex-shrink: 0;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.7rem;
  font-weight: 650;
  padding: 0.2rem 0.55rem;
}

html.dark.theme-modern .earn-tag {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

html.theme-modern .earn-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
}

html.dark.theme-modern .earn-card p {
  color: #cbd5e1;
}

html.theme-modern .earn-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

html.theme-modern .earn-reward {
  font-size: 1.15rem;
  font-weight: 700;
  color: #047857;
}

html.dark.theme-modern .earn-reward {
  color: #6ee7b7;
}

html.theme-modern .earn-card .visit-btn,
html.theme-modern .earn-card .earn-go {
  width: 100%;
}

html.theme-modern .earn-wait {
  display: block;
  text-align: center;
  border-radius: 0.8rem;
  background: #f1f5f9;
  color: #475569;
  padding: 0.7rem;
  font-size: 0.85rem;
}

html.dark.theme-modern .earn-wait {
  background: #111827;
  color: #cbd5e1;
}

html.theme-modern .earn-coins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  html.theme-modern .earn-coins {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  html.theme-modern .earn-coins {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html.theme-modern .earn-coin {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  text-align: center;
  color: inherit;
}

html.dark.theme-modern .earn-coin {
  border-color: #2d3a55;
  background: #111827;
}

html.theme-modern .earn-history {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 0.35rem 0.85rem 0.85rem;
}

html.dark.theme-modern .earn-history {
  border-color: #2d3a55;
  background: #1b2436;
}

html.theme-modern .earn-history table {
  width: 100%;
}

@media (max-width: 720px) {
  html.theme-modern .earn-history {
    overflow: visible;
  }

  html.theme-modern .earn-history thead {
    display: none;
  }

  html.theme-modern .earn-history table,
  html.theme-modern .earn-history tbody,
  html.theme-modern .earn-history tr,
  html.theme-modern .earn-history td {
    display: block;
    width: 100%;
    white-space: normal;
  }

  html.theme-modern .earn-history tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
  }

  html.dark.theme-modern .earn-history tr {
    border-bottom-color: #2d3a55;
  }

  html.theme-modern .earn-history td {
    padding: 0.15rem 0;
  }
}

/* Home 5 desk, applied only inside the modern app shell. */

html.theme-modern body {
  background-color: var(--desk-bg);
  background-image:
    linear-gradient(to right, var(--desk-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--desk-grid) 1px, transparent 1px);
  background-size: 84px 84px;
  color: var(--desk-muted);
  font-family: "Public Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
}

html.theme-modern #root {
  background-color: var(--desk-bg) !important;
  color: var(--desk-muted);
}

html.theme-modern h1,
html.theme-modern h2,
html.theme-modern h3,
html.theme-modern .funds-head h2,
html.theme-modern .funds-amount,
html.theme-modern .theme-balance {
  font-family: Syne, "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.25;
  color: var(--desk-ink);
}

html.theme-modern .text-slate-700,
html.theme-modern .text-slate-800,
html.theme-modern .text-slate-900,
html.theme-modern.dark .dark\:text-navy-50,
html.theme-modern.dark .dark\:text-navy-100 {
  color: var(--desk-ink);
}

html.theme-modern .text-slate-400,
html.theme-modern .text-slate-500,
html.theme-modern .text-slate-600,
html.theme-modern.dark .dark\:text-navy-200,
html.theme-modern.dark .dark\:text-navy-300 {
  color: var(--desk-muted);
}

html.theme-modern .card,
html.theme-modern .main-content .bg-white,
html.theme-modern.dark .main-content .dark\:bg-navy-800,
html.theme-modern.dark .main-content .dark\:bg-navy-700,
html.theme-modern.dark .card {
  background-color: var(--desk-card);
  color: var(--desk-muted);
  border-color: var(--desk-line);
}

html.theme-modern .card {
  border: 1px solid var(--desk-line);
  border-radius: 1.15rem;
  box-shadow: var(--desk-shadow);
}

html.theme-modern .border-slate-200,
html.theme-modern .border-slate-300,
html.theme-modern.dark .dark\:border-navy-450,
html.theme-modern.dark .dark\:border-navy-500,
html.theme-modern.dark .dark\:border-navy-600 {
  border-color: var(--desk-line);
}

html.theme-modern .btn.bg-primary,
html.theme-modern .btn.bg-accent,
html.theme-modern.dark .btn.dark\:bg-accent,
html.theme-modern .earn-go,
html.theme-modern .funds-go,
html.theme-modern .progress .bg-primary,
html.theme-modern .progress .dark\:bg-accent,
html.theme-modern.dark .progress .dark\:bg-accent {
  background-color: var(--desk-gold) !important;
  color: var(--desk-gold-ink) !important;
  border-color: transparent;
}

html.theme-modern .form-input,
html.theme-modern .form-select {
  background-color: var(--desk-bg);
  border-color: var(--desk-line);
  color: var(--desk-ink);
}

html.theme-modern .form-input:focus,
html.theme-modern .form-select:focus {
  border-color: var(--desk-gold);
}

html.theme-modern .main-content th {
  color: var(--desk-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.theme-modern .main-content td {
  color: var(--desk-ink);
}

html.theme-modern .desk-earn {
  border: 0;
  border-bottom: 1px solid var(--desk-line);
  border-radius: 0;
  background: transparent;
}

html.theme-modern .desk-earn:last-child {
  border-bottom: 0;
}

html.theme-modern .desk-earn:hover {
  background: color-mix(in srgb, var(--desk-gold) 10%, transparent);
}

html.theme-modern .earn-shell,
html.theme-modern .earn-card,
html.theme-modern .earn-coin,
html.theme-modern .earn-history,
html.theme-modern .earn-ad:has(img),
html.theme-modern .earn-ad:has(iframe),
html.theme-modern .earn-ad:has(ins) {
  background: var(--desk-card);
  border-color: var(--desk-line);
  color: var(--desk-muted);
}

html.theme-modern .earn-shell h2,
html.theme-modern .earn-card h3,
html.theme-modern .earn-card h5,
html.theme-modern .earn-stat b {
  color: var(--desk-ink);
}

html.theme-modern .earn-kicker,
html.theme-modern .earn-stat,
html.theme-modern .earn-card p,
html.theme-modern .earn-card-meta,
html.theme-modern .earn-stat span {
  color: var(--desk-muted);
}

html.theme-modern .earn-stat,
html.theme-modern .earn-wait,
html.theme-modern .earn-tag {
  background: color-mix(in srgb, var(--desk-gold) 10%, var(--desk-bg));
  color: var(--desk-ink);
}

html.theme-modern .earn-reward {
  color: var(--desk-mint);
}

html.theme-modern .funds-shell,
html.theme-modern .funds-dialog,
html.theme-modern .funds-card {
  background: var(--desk-card);
  border-color: var(--desk-line);
  color: var(--desk-muted);
  box-shadow: var(--desk-shadow);
}

html.theme-modern .funds-card.is-account,
html.theme-modern .funds-card.is-purchase,
html.theme-modern .funds-card.is-transfer {
  background: var(--desk-card);
  border-color: var(--desk-line);
  border-top-color: var(--desk-gold);
}

html.theme-modern .funds-head h2,
html.theme-modern .funds-amount,
html.theme-modern .funds-row b,
html.theme-modern .funds-choice b,
html.theme-modern .funds-dialog-head h3 {
  color: var(--desk-ink);
}

html.theme-modern .funds-card.is-purchase .funds-amount,
html.theme-modern .funds-card.is-transfer .funds-amount,
html.theme-modern .funds-available strong,
html.theme-modern .funds-card.is-account .funds-label i,
html.theme-modern .funds-card.is-purchase .funds-label i,
html.theme-modern .funds-card.is-transfer .funds-label i {
  color: var(--desk-gold);
}

html.theme-modern .funds-kicker,
html.theme-modern .funds-note,
html.theme-modern .funds-unit,
html.theme-modern .funds-hint,
html.theme-modern .funds-label,
html.theme-modern .funds-history h3,
html.theme-modern .funds-row span,
html.theme-modern .funds-empty {
  color: var(--desk-muted);
}

html.theme-modern .funds-action,
html.theme-modern .funds-card.is-purchase .funds-action,
html.theme-modern .funds-card.is-transfer .funds-action {
  border-color: var(--desk-line);
  background: color-mix(in srgb, var(--desk-gold) 14%, transparent);
  color: var(--desk-gold);
}

html.theme-modern .funds-go.is-purchase,
html.theme-modern .funds-go.is-transfer {
  background: var(--desk-gold) !important;
  color: var(--desk-gold-ink) !important;
}

html.theme-modern .funds-choice,
html.theme-modern .funds-address,
html.theme-modern .funds-mark,
html.theme-modern .funds-mark.is-crypto {
  background: var(--desk-bg);
  border-color: var(--desk-line);
  color: var(--desk-ink);
}

html.theme-modern .funds-row {
  border-bottom-color: var(--desk-line);
}

html.theme-modern .tone-primary,
html.theme-modern .tone-accent,
html.theme-modern .tone-success,
html.theme-modern .tone-info,
html.theme-modern .tone-warning,
html.theme-modern .tone-error,
html.theme-modern .tone-secondary {
  background: color-mix(in srgb, var(--desk-gold) 16%, transparent);
  color: var(--desk-gold);
}

html.theme-modern .earn-book {
  border: 1px solid var(--desk-line);
  border-radius: 1.15rem;
  background: var(--desk-card);
  overflow: hidden;
}

html.theme-modern .earn-book-h,
html.theme-modern .earn-line {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
}

html.theme-modern .earn-book-h {
  color: var(--desk-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--desk-line);
}

html.theme-modern .earn-line {
  border-top: 1px solid var(--desk-line);
  color: inherit;
  text-decoration: none;
}

html.theme-modern .earn-book-h + .earn-line,
html.theme-modern .earn-line:first-child {
  border-top: 0;
}

html.theme-modern a.earn-line:hover {
  background: color-mix(in srgb, var(--desk-gold) 10%, transparent);
}

html.theme-modern .earn-line.is-wait {
  opacity: 0.6;
}

html.theme-modern .earn-line-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.55rem;
  min-width: 0;
}

html.theme-modern .earn-line-copy b {
  font-family: Syne, "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--desk-ink);
}

html.theme-modern .earn-line-copy em,
html.theme-modern .earn-line-copy i,
html.theme-modern .earn-line > span {
  color: var(--desk-muted);
  font-style: normal;
  font-size: 0.84rem;
}

html.theme-modern .earn-line > strong {
  grid-column: -2 / -1;
  justify-self: end;
  color: var(--desk-mint);
  font-variant-numeric: tabular-nums;
}

html.theme-modern .earn-line img {
  width: 22px;
  height: 22px;
  align-self: center;
}

html.theme-modern .earn-shell button.rounded-full {
  border: 1px solid var(--desk-line);
  background: transparent !important;
  color: var(--desk-ink) !important;
  box-shadow: none !important;
}

html.theme-modern .earn-shell button.rounded-full.bg-slate-700 {
  border-color: transparent;
  background: var(--desk-gold) !important;
  color: var(--desk-gold-ink) !important;
}

html.theme-modern .earn-shell a.btn {
  border-color: var(--desk-line);
  background: transparent;
  color: var(--desk-ink);
}

html.theme-modern .tabs > .is-scrollbar-hidden {
  border-radius: 0;
  border-bottom: 1px solid var(--desk-line);
  background: transparent !important;
}

html.theme-modern .tabs-list .btn.bg-white,
html.theme-modern.dark .tabs-list .btn.dark\:bg-navy-500 {
  border-radius: 0;
  border-bottom: 2px solid var(--desk-gold);
  background: transparent !important;
  box-shadow: none !important;
  color: var(--desk-ink) !important;
}

html.theme-modern .main-content thead th,
html.theme-modern.dark .main-content thead .dark\:bg-navy-800,
html.theme-modern.dark .main-content thead .dark\:bg-navy-700 {
  background: transparent !important;
}

html.theme-modern .pagination .bg-slate-150,
html.theme-modern.dark .pagination .dark\:bg-navy-500 {
  background: transparent !important;
}

html.theme-modern .pagination a.bg-primary,
html.theme-modern.dark .pagination a.dark\:bg-accent {
  background: var(--desk-gold) !important;
  color: var(--desk-gold-ink) !important;
}

html.theme-modern .main-content .from-purple-500,
html.theme-modern .main-content .from-info,
html.theme-modern .main-content .from-amber-400,
html.theme-modern .main-content .from-sky-400,
html.theme-modern .main-content .from-pink-500,
html.theme-modern .main-content .from-violet-400,
html.theme-modern .main-content .from-blue-500,
html.theme-modern .main-content .from-green-500 {
  background-image: none !important;
  background-color: var(--desk-card) !important;
  color: var(--desk-ink);
  border: 1px solid var(--desk-line);
}

html.theme-modern .main-content .from-purple-500 .text-white,
html.theme-modern .main-content .from-purple-500 .text-indigo-100,
html.theme-modern .main-content .from-info .text-white,
html.theme-modern .main-content .from-info .text-sky-100,
html.theme-modern .main-content .from-amber-400 .text-white,
html.theme-modern .main-content .from-amber-400 .text-amber-50,
html.theme-modern .main-content .from-sky-400 .text-white,
html.theme-modern .main-content .from-pink-500 .text-white,
html.theme-modern .main-content .from-violet-400 .text-white {
  color: var(--desk-muted) !important;
}

html.theme-modern .main-content .from-purple-500 .text-3xl,
html.theme-modern .main-content .from-info .text-2xl,
html.theme-modern .main-content .from-amber-400 .text-2xl,
html.theme-modern .main-content .from-sky-400 .text-2xl,
html.theme-modern .main-content .from-pink-500 .text-2xl,
html.theme-modern .main-content .from-violet-400 .text-2xl {
  color: var(--desk-gold) !important;
  font-family: Syne, "Segoe UI", sans-serif;
  font-weight: 800;
}

html.theme-modern .main-content .mask {
  display: none;
}

html.theme-modern .main-content .lg\:col-span-4 > .overflow-x-auto {
  border: 1px solid var(--desk-line);
  border-radius: 1.15rem;
  background: var(--desk-card);
}

html.theme-modern .main-content .from-purple-500 .form-input {
  color: var(--desk-ink) !important;
  background: var(--desk-bg) !important;
  border-color: var(--desk-line) !important;
}

html.theme-modern #ow-offer-result > .grid,
html.theme-modern #ow-survey-result > .grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.theme-modern #ow-offer-result .from-blue-500,
html.theme-modern #ow-survey-result .from-blue-500 {
  padding: 0 !important;
  border: 0;
  background: transparent !important;
}

html.theme-modern #ow-offer-result .from-blue-500 > .rounded-lg,
html.theme-modern #ow-survey-result .from-blue-500 > .rounded-lg {
  border: 1px solid var(--desk-line);
  border-radius: 1.15rem;
  background: var(--desk-card) !important;
}

html.theme-modern .sheet {
  margin-top: 1rem;
  overflow: auto;
  border: 1px solid var(--desk-line);
  border-radius: 1.15rem;
  background: var(--desk-card);
}

html.theme-modern .board {
  width: 100%;
  border-collapse: collapse;
}

html.theme-modern .board th,
html.theme-modern .board td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--desk-line);
  text-align: left;
  color: var(--desk-ink);
}

html.theme-modern .board th {
  color: var(--desk-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.theme-modern .board tr:last-child td {
  border-bottom: 0;
}

html.theme-modern .desk-copy {
  padding: 1.1rem 1.15rem 1.25rem;
  color: var(--desk-ink);
}

html.theme-modern .desk-copy p,
html.theme-modern .desk-copy li {
  color: var(--desk-muted);
}

html.theme-modern .desk-copy a {
  color: var(--desk-gold);
}

html.theme-modern .main-content .from-purple-500 .btn,
html.theme-modern .main-content .from-info .btn,
html.theme-modern .main-content .from-amber-400 .btn {
  color: var(--desk-gold-ink) !important;
}

html.theme-modern .funds-card.is-account,
html.theme-modern .funds-card.is-purchase,
html.theme-modern .funds-card.is-transfer {
  background: var(--desk-card) !important;
  background-color: var(--desk-card) !important;
  border-color: var(--desk-line) !important;
  border-top-color: var(--desk-gold) !important;
}

html.theme-modern .funds-card.is-purchase .funds-amount,
html.theme-modern .funds-card.is-transfer .funds-amount,
html.theme-modern .funds-card .funds-label i,
html.theme-modern .funds-card.is-purchase .funds-action,
html.theme-modern .funds-card.is-transfer .funds-action {
  color: var(--desk-gold) !important;
}

html.theme-modern .funds-card.is-purchase .funds-action,
html.theme-modern .funds-card.is-transfer .funds-action,
html.theme-modern .alert .btn {
  background: color-mix(in srgb, var(--desk-gold) 14%, transparent) !important;
  border-color: var(--desk-line) !important;
  color: var(--desk-gold) !important;
}

html.theme-modern .funds-history {
  border-top-color: var(--desk-line);
}

html.theme-modern .funds-sla {
  color: var(--desk-gold);
}

html.theme-modern .funds-row.is-pending {
  background: color-mix(in srgb, var(--desk-gold) 12%, var(--desk-card));
}

html.theme-modern .funds-row .funds-row-amount,
html.theme-modern .funds-row .funds-row-amount span {
  color: var(--desk-ink);
}

html.theme-modern .funds-row .funds-status.is-warning {
  background: color-mix(in srgb, var(--desk-gold) 22%, transparent);
  color: var(--desk-gold);
}

html.theme-modern .funds-row .funds-status.is-success {
  background: color-mix(in srgb, var(--desk-mint) 22%, transparent);
  color: var(--desk-mint);
}

html.theme-modern .funds-row .funds-status.is-error {
  background: rgba(244, 63, 94, 0.16);
  color: #be123c;
}

html.dark.theme-modern .funds-row .funds-status.is-error {
  color: #fda4af;
}

html.theme-modern .funds-page {
  border-color: var(--desk-line);
  background: var(--desk-card);
  color: var(--desk-ink);
}

html.theme-modern .funds-page.is-active {
  border-color: var(--desk-gold);
  background: var(--desk-gold);
  color: var(--desk-gold-ink);
}
