/* Olympuz brand UI — loaded last so it beats portal.html <style> blocks */
:root {
  --oz-pale: #F5F7FA;
  --oz-soft: #e2e8f0;
  --oz-indigo: #14243B;
  --oz-navy: #14243B;
  --oz-navy-2: #243B57;
  --oz-gold: #D6A843;
  --oz-white: #ffffff;
  --oz-ink: #64748B;
  --oz-text: #17263C;
  --oz-success: #07875E;
  --oz-warning: #B77900;
  --oz-error: #DC2626;
  --oz-accent: #6554D9;
  --oz-sidebar-w: 16.5rem;
  --oz-header-h: 4.25rem;
  --oz-bottom-nav-h: 5.35rem;
  --oz-radius: 1rem;
  --oz-shadow: 0 8px 24px -16px rgba(20, 36, 59, 0.35);
}

html body header .oz-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
html body header .oz-brand-logo {
  width: 3.5rem !important;
  height: 3.5rem !important;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 10px 24px rgba(30, 41, 59, 0.2);
}
html body header .oz-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
html body header .oz-brand-name {
  color: #1e293b !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}
html body header .oz-brand-powered {
  color: #64748b !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  line-height: 1.25;
  max-width: 14rem;
}

html body,
html body.light-mode {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background-color: var(--oz-pale) !important;
  color: var(--oz-indigo) !important;
  max-width: 100%;
  overflow-x: hidden;
}

html body.light-mode #dashboard-screen,
html body.light-mode main,
html body #dashboard-screen,
html body main {
  background-color: var(--oz-pale) !important;
  color: var(--oz-indigo) !important;
}

html body.light-mode aside,
html body.light-mode header,
html body.light-mode #mobile-top-dropdown,
html body.light-mode #main-sidebar {
  background-color: var(--oz-white) !important;
  border-color: var(--oz-soft) !important;
  color: var(--oz-indigo) !important;
}

html body.light-mode .bg-slate-900,
html body.light-mode .bg-slate-800,
html body.light-mode .bg-slate-900\/80 {
  background-color: var(--oz-white) !important;
  border-color: var(--oz-soft) !important;
  color: var(--oz-indigo) !important;
  border-radius: 1.5rem;
}

html body.light-mode .bg-slate-950,
html body.light-mode input,
html body.light-mode select,
html body.light-mode textarea {
  background-color: #eef7fb !important;
  color: var(--oz-indigo) !important;
  border-color: var(--oz-soft) !important;
}

html body.light-mode .text-slate-400,
html body.light-mode .text-slate-300,
html body.light-mode .text-slate-500,
html body.light-mode .text-slate-600 {
  color: var(--oz-ink) !important;
}

html body.light-mode .text-slate-100,
html body.light-mode .text-slate-200,
html body.light-mode h1,
html body.light-mode h2,
html body.light-mode h3,
html body.light-mode h4,
html body.light-mode #welcome-message,
html body.light-mode header div.cursor-pointer #welcome-message {
  color: var(--oz-indigo) !important;
}

html body.light-mode .bg-indigo-600,
html body.light-mode .bg-indigo-500,
html body.light-mode .file\:bg-indigo-600 {
  background-color: var(--oz-indigo) !important;
  color: #fff !important;
}

html body.light-mode .bg-indigo-600:hover,
html body.light-mode .hover\:bg-indigo-500:hover {
  background-color: #0f172a !important;
}

html body.light-mode .text-indigo-400,
html body.light-mode .text-indigo-300,
html body.light-mode .text-indigo-500,
html body.light-mode #main-sidebar .text-indigo-400,
html body.light-mode .md\:hidden .text-indigo-400 {
  color: var(--oz-indigo) !important;
}

html body.light-mode .text-amber-400,
html body.light-mode .text-amber-300 {
  color: var(--oz-gold) !important;
}

html body.light-mode .bg-amber-400,
html body.light-mode .bg-amber-500 {
  background-color: var(--oz-gold) !important;
  color: var(--oz-indigo) !important;
}

html body.light-mode header button[onclick="toggleMobileSidebar()"] {
  background-color: var(--oz-soft) !important;
  color: var(--oz-indigo) !important;
  border: 1px solid var(--oz-indigo) !important;
}

html body.light-mode #sidebar-menu button:hover,
html body.light-mode #sidebar-menu a:hover,
html body.light-mode .hover\:bg-slate-800:hover,
html body.light-mode .hover\:bg-slate-700:hover,
html body.light-mode #mobile-top-dropdown button:hover,
html body.light-mode #mobile-top-dropdown a:hover,
html body.light-mode #main-sidebar button:hover,
html body.light-mode #main-sidebar a:hover {
  background-color: var(--oz-pale) !important;
  color: var(--oz-indigo) !important;
}

html body.light-mode #tab-channels > div > div:first-child,
html body.light-mode #tab-treats:not(.oz-treats) > div > div:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #fff7ed 100%) !important;
  border-color: var(--oz-soft) !important;
}

html body.light-mode #user-rewards-list > div {
  background-color: var(--oz-white) !important;
  border-color: var(--oz-soft) !important;
  border-radius: 1.25rem;
}

html body.light-mode header nav button,
html body.light-mode header nav a,
html.dark body.light-mode header nav button,
html.dark body.light-mode header nav a {
  background-color: var(--oz-pale) !important;
  color: var(--oz-indigo) !important;
  border-color: var(--oz-soft) !important;
}

html body.light-mode header nav button:hover,
html body.light-mode header nav button:hover *,
html body.light-mode header nav .group:hover > button,
html body.light-mode header nav .group:hover > button * {
  background-color: var(--oz-indigo) !important;
  color: #ffffff !important;
}

html body.light-mode #home-nav-grid > button,
html body.light-mode #home-nav-grid > a {
  background-color: var(--oz-white) !important;
  border: 1px solid var(--oz-soft) !important;
  border-radius: 1.5rem !important;
}

html body.light-mode #home-nav-grid h4 {
  color: var(--oz-indigo) !important;
}

html body.light-mode #home-nav-grid p {
  color: var(--oz-ink) !important;
}

html body.light-mode #home-nav-grid > button:hover,
html body.light-mode #home-nav-grid > a:hover {
  background-color: var(--oz-pale) !important;
  border-color: var(--oz-gold) !important;
}

html body.light-mode #admin-top-menu button,
html.dark body.light-mode #admin-top-menu button {
  background-color: var(--oz-gold) !important;
  border-color: #b45309 !important;
  color: #ffffff !important;
}

html body.light-mode header div.cursor-pointer > div {
  border-color: var(--oz-indigo) !important;
  background-color: var(--oz-pale) !important;
}

html body #auth-screen:not(.hidden),
html body.light-mode #auth-screen:not(.hidden),
html body:not(.light-mode) #auth-screen:not(.hidden) {
  background-color: var(--oz-pale) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
}
.oz-public-nav {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  z-index: 2;
}
.oz-public-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
}
.oz-public-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.oz-public-nav-brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 10px 24px rgba(30, 41, 59, 0.22);
  flex-shrink: 0;
}
.oz-public-nav-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.oz-public-nav-title {
  color: #1e293b !important;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.oz-public-nav-powered {
  display: block;
  margin-top: 0.25rem;
  color: #64748b !important;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 14rem;
}
.oz-public-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}
.oz-public-nav-links a {
  color: #1e293b !important;
  text-decoration: none;
}
.oz-public-nav-links a:hover {
  color: #d97706 !important;
}
.oz-public-nav-jobs {
  position: relative;
}
.oz-public-nav-jobs > a span {
  font-size: 0.7rem;
  margin-left: 0.15rem;
}
.oz-public-nav-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 11rem;
  padding-top: 0.5rem;
  z-index: 5;
}
.oz-public-nav-jobs:hover .oz-public-nav-menu,
.oz-public-nav-jobs:focus-within .oz-public-nav-menu {
  display: block;
}
.oz-public-nav-menu a {
  display: block;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1rem;
  color: #1e293b !important;
}
.oz-public-nav-menu a:first-child {
  border-radius: 0.85rem 0.85rem 0 0;
}
.oz-public-nav-menu a:last-child {
  border-radius: 0 0 0.85rem 0.85rem;
}
.oz-public-nav-menu a:hover {
  background: #f8fafc;
}
.auth-screen-body {
  flex: 1 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1rem 4.5rem;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .auth-screen-body {
    align-items: center;
    padding: 1.5rem 1.25rem 3rem;
    min-height: calc(100dvh - 4.75rem);
  }
}
html body #auth-card {
  background: var(--oz-white) !important;
  border-color: var(--oz-soft) !important;
  border-radius: 1.75rem !important;
}
html body #auth-screen.auth-register-open #auth-card {
  max-width: 54rem !important;
  width: min(54rem, calc(100vw - 1.5rem)) !important;
  overflow: visible !important;
}
html body #auth-screen:not(.hidden) {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain;
}
html body #auth-screen.auth-register-open {
  overflow-x: hidden;
  overflow-y: auto;
}
#auth-brand-header .auth-brand-tagline {
  margin: 0.65rem 0 0;
  color: #1e293b !important;
  font-size: 0.95rem;
  font-weight: 800;
}
#auth-brand-header .auth-brand-subline {
  margin: 0.2rem 0 0;
  color: #64748b !important;
  font-size: 0.75rem;
  font-weight: 600;
}
.auth-contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #1e293b !important;
  font-weight: 700;
  text-decoration: none;
}
.auth-contact-line i {
  color: #d97706;
  width: 0.9rem;
  text-align: center;
}
.auth-refer-notice {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d97706;
  background: #fffbeb;
  border-radius: 0.85rem;
  color: #1e293b !important;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.auth-refer-notice:not(.hidden) {
  display: block;
}
.auth-refer-notice button {
  display: inline;
  margin-left: 0.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: #d97706 !important;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  min-height: 0 !important;
}

html body #tab-my-referrals.tab-content:not(.hidden),
html body #tab-raw-referrals.tab-content:not(.hidden) {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.my-referrals-board {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .my-referrals-board { gap: 1.75rem; }
}
.leaderboard-board {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .leaderboard-board { gap: 1.75rem; }
}
.weekly-payout-board {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .weekly-payout-board { gap: 1.75rem; }
}
.invite-board {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .invite-board { gap: 1.75rem; }
}
#tab-invited-affiliates .payout-portal-inner {
  padding: 18px 18px 16px;
  gap: 16px;
}
#tab-invited-affiliates .payout-portal-title { margin: 8px 0 6px; }
#tab-invited-affiliates .payout-portal-pill { margin-top: 12px; }
.invite-code-actions {
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
}
.invite-code-value {
  margin-top: 4px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #ffe566 !important;
  letter-spacing: 0.04em;
  line-height: 1.1;
  word-break: break-all;
}
.invite-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.invite-stat {
  background: linear-gradient(165deg, #06101f 0%, #0c2144 100%);
  border: 1px solid rgba(255, 211, 77, 0.35);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 10px 24px -14px rgba(7, 20, 39, 0.7);
}
.invite-stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a !important;
}
.invite-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1;
}
.invite-stat-value.is-sky { color: #7dd3fc !important; }
.invite-stat-value.is-green { color: #4ade80 !important; }
.invite-stat-value.is-gold { color: #ffe566 !important; }
.invite-stat-value.is-amber { color: #fbbf24 !important; }
.invite-list {
  display: grid;
  gap: 10px;
  padding: 14px 18px 16px;
  min-height: 80px;
}
.invite-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 38%);
  border: 1px solid #f1e3b0;
  box-shadow: inset 3px 0 0 #c9a227, 0 6px 16px -12px rgba(15, 23, 42, 0.28);
}
@media (min-width: 768px) {
  .invite-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.invite-row-name {
  font-size: 13px;
  font-weight: 900;
  color: #0b1b3a !important;
}
.invite-row-user {
  font-size: 11px;
  font-weight: 700;
  color: #64748b !important;
}
.invite-row-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #64748b !important;
}
.invite-progress {
  width: 100%;
  max-width: 260px;
}
.invite-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: #475569 !important;
  margin-bottom: 6px;
}
.invite-progress-top span:last-child { color: #92400e !important; }
.invite-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.invite-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a227, #ffd34d, #16a34a);
  transition: width 0.4s ease;
}
.invite-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.invite-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.invite-badge.progress {
  background: #eff6ff;
  color: #1d4ed8 !important;
  border: 1px solid #93c5fd;
}
.invite-badge.qualified {
  background: #fff7ed;
  color: #c2410c !important;
  border: 1px solid #fdba74;
}
.invite-badge.credit {
  background: #eef2ff;
  color: #4338ca !important;
  border: 1px solid #a5b4fc;
}
.invite-badge.paid {
  background: #ecfdf5;
  color: #047857 !important;
  border: 1px solid #6ee7b7;
}
.invite-row-amt {
  font-size: 14px;
  font-weight: 900;
  color: #047857 !important;
}
.invite-empty {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0b1b3a !important;
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
  border: 1px dashed #d4af37;
  border-radius: 14px;
}
.invite-invoice-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 14px;
  background: #f8fafc;
  border-top: 1px solid #e8eef5;
}
html body.light-mode #tab-invited-affiliates .invite-stat-label { color: #fde68a !important; }
html body.light-mode #tab-invited-affiliates .invite-stat-value { color: #ffffff !important; }
html body.light-mode #tab-invited-affiliates .invite-stat-value.is-sky { color: #7dd3fc !important; }
html body.light-mode #tab-invited-affiliates .invite-stat-value.is-green { color: #4ade80 !important; }
html body.light-mode #tab-invited-affiliates .invite-stat-value.is-gold,
html body.light-mode #tab-invited-affiliates .invite-code-value { color: #ffe566 !important; }
html body.light-mode #tab-invited-affiliates .invite-stat-value.is-amber { color: #fbbf24 !important; }
html body.light-mode #tab-invited-affiliates #invoice-page-info { color: #fde68a !important; }
@media (max-width: 1000px) {
  .invite-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .invite-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invite-list { padding: 12px 14px 14px; }
  .invite-code-actions { grid-template-columns: 1fr !important; }
}
#tab-payout .payout-portal-inner {
  padding: 18px 18px 16px;
  gap: 16px;
}
#tab-payout .payout-portal-title { margin: 8px 0 6px; }
#tab-payout .payout-portal-pill {
  margin-top: 12px;
  max-width: 100%;
  text-align: center;
  line-height: 1.35;
  white-space: normal;
}
.weekly-poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid #ffd34d;
  box-shadow: 0 0 0 1px #7a5a12, 0 12px 28px -10px rgba(0,0,0,0.35);
  cursor: pointer;
  background: #020617;
}
.weekly-poster img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.weekly-poster:hover img { transform: scale(1.03); }
.weekly-poster-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: #ffd34d;
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px #7a5a12;
}
.weekly-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(2, 6, 23, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.weekly-poster:hover .weekly-poster-overlay { opacity: 1; }
.weekly-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.weekly-stat {
  background: linear-gradient(165deg, #06101f 0%, #0c2144 100%);
  border: 1px solid rgba(255, 211, 77, 0.35);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 10px 24px -14px rgba(7, 20, 39, 0.7);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 128px;
}
.weekly-stat-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a !important;
  line-height: 1.35;
}
.weekly-stat-value {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  line-height: 1;
  color: #ffffff !important;
}
.weekly-stat-value.is-green { color: #4ade80 !important; }
.weekly-stat-note {
  margin-top: auto;
  font-size: 10px;
  line-height: 1.45;
  color: #94a3b8 !important;
  font-weight: 600;
}
.weekly-invoice-list {
  display: grid;
  gap: 10px;
  padding: 14px 18px 10px;
  min-height: 120px;
}
.weekly-invoice-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 38%);
  border: 1px solid #f1e3b0;
  box-shadow: inset 3px 0 0 #c9a227, 0 6px 16px -12px rgba(15, 23, 42, 0.28);
}
.weekly-invoice-ref {
  font-size: 12px;
  font-weight: 900;
  color: #0b1b3a !important;
}
.weekly-invoice-meta {
  margin: 4px 0 0;
  font-size: 11px;
  color: #64748b !important;
}
.weekly-invoice-note {
  margin: 6px 0 0;
  font-size: 10px;
  color: #b45309 !important;
  font-weight: 700;
}
.weekly-invoice-right {
  text-align: right;
  flex-shrink: 0;
}
.weekly-invoice-amt {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #047857 !important;
}
.weekly-invoice-receipt {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0b1b3a;
  color: #ffd34d !important;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}
.weekly-invoice-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.weekly-invoice-badge.is-pending {
  background: #fff7ed;
  color: #c2410c !important;
  border: 1px solid #fdba74;
}
.weekly-invoice-badge.is-paid {
  background: #ecfdf5;
  color: #047857 !important;
  border: 1px solid #6ee7b7;
}
.weekly-invoice-empty {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0b1b3a !important;
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
  border: 1px dashed #d4af37;
  border-radius: 14px;
}
.weekly-invoice-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 14px;
  background: #f8fafc;
  border-top: 1px solid #e8eef5;
}
html body.light-mode #tab-payout .weekly-stat-label { color: #fde68a !important; }
html body.light-mode #tab-payout .weekly-stat-value { color: #ffffff !important; }
html body.light-mode #tab-payout .weekly-stat-value.is-green { color: #4ade80 !important; }
html body.light-mode #tab-payout .weekly-stat-note { color: #94a3b8 !important; }
html body.light-mode #tab-payout #page-indicator { color: #fde68a !important; }
@media (max-width: 1000px) {
  .weekly-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .weekly-stats { grid-template-columns: 1fr; }
  .weekly-invoice-list { padding: 12px 14px 8px; }
  .weekly-invoice-row {
    flex-direction: column;
  }
  .weekly-invoice-right {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
#tab-leaderboard .payout-portal-inner {
  padding: 18px 18px 16px;
  gap: 16px;
}
#tab-leaderboard .payout-portal-title {
  margin: 8px 0 6px;
}
#tab-leaderboard .payout-portal-pill {
  margin-top: 12px;
}
#tab-leaderboard .payout-portal-side {
  padding: 12px 14px;
}
#tab-leaderboard .payout-portal-script {
  margin-bottom: 8px;
}
.lb-rank-display {
  margin: 0 0 10px;
  text-align: right;
}
.lb-rank-display #user-current-rank {
  display: inline-block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1;
  color: #ffe566 !important;
  text-shadow: 0 1px 0 #7a5200, 0 0 16px rgba(255, 214, 70, 0.45);
}
.lb-top5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 18px 18px;
}
.lb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  background: linear-gradient(165deg, #06101f 0%, #0c2144 100%);
  border: 1px solid rgba(255, 211, 77, 0.35);
  box-shadow: 0 10px 24px -14px rgba(7, 20, 39, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(7, 20, 39, 0.75);
}
.lb-card.is-you {
  box-shadow: 0 0 0 2px #ffd34d, 0 12px 28px -12px rgba(7, 20, 39, 0.7);
}
.lb-card-gold { border-color: #ffd34d; }
.lb-card-silver { border-color: #cbd5e1; }
.lb-card-bronze { border-color: #d97706; }
.lb-card-navy { border-color: rgba(255, 211, 77, 0.28); }
.lb-card-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #ffd34d;
  color: #111827 !important;
}
.lb-card-silver .lb-card-badge {
  background: #e2e8f0;
  color: #0f172a !important;
}
.lb-card-bronze .lb-card-badge {
  background: #f59e0b;
  color: #111827 !important;
}
.lb-card-navy .lb-card-badge {
  background: rgba(255, 211, 77, 0.18);
  color: #ffe566 !important;
  border: 1px solid rgba(255, 211, 77, 0.45);
}
.lb-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #020617;
  border: 2px solid #ffd34d;
  color: #fde68a;
  font-size: 22px;
  flex-shrink: 0;
}
.lb-card-silver .lb-card-avatar { border-color: #cbd5e1; }
.lb-card-bronze .lb-card-avatar { border-color: #d97706; }
.lb-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-card-name {
  margin: 0;
  width: 100%;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-card.is-you .lb-card-name { color: #ffe566 !important; }
.lb-card-stats {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1 !important;
  display: grid;
  gap: 8px;
}
.lb-card-count {
  font-size: 18px;
  font-weight: 900;
  color: #ffe566 !important;
}
.lb-card-earn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffd34d;
  color: #111827 !important;
  font-size: 11px;
  font-weight: 900;
}
.lb-extended,
#extended-rankings-list.lb-extended {
  display: grid;
  gap: 10px;
  padding: 14px 18px 18px;
  max-height: min(420px, 55vh);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 38%);
  border: 1px solid #f1e3b0;
  box-shadow: inset 3px 0 0 #c9a227, 0 6px 16px -12px rgba(15, 23, 42, 0.28);
}
.lb-row.is-you {
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 45%, #ffffff 100%);
  border-color: #ffd34d;
  box-shadow: inset 3px 0 0 #ffd34d, 0 8px 18px -12px rgba(15, 23, 42, 0.35);
}
.lb-row-left,
.lb-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lb-row-right {
  flex-shrink: 0;
  gap: 12px;
}
.lb-row-rank {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #92400e !important;
}
.lb-row-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1b3a;
  border: 1px solid #d4af37;
  color: #fde68a;
  font-size: 12px;
  flex-shrink: 0;
}
.lb-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-row-name {
  font-size: 13px;
  font-weight: 800;
  color: #0b1b3a !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-row.is-you .lb-row-name { color: #92400e !important; }
.lb-row-refs {
  font-size: 12px;
  font-weight: 800;
  color: #475569 !important;
}
.lb-row-earn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857 !important;
  font-size: 11px;
  font-weight: 900;
}
.lb-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0b1b3a !important;
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
  border: 1px dashed #d4af37;
  border-radius: 14px;
}
.lb-empty-sm {
  padding: 1.25rem 1rem;
  font-size: 0.8rem;
}
html body.light-mode #tab-leaderboard .lb-card-name,
html body.light-mode #tab-leaderboard .lb-card-stats,
html body.light-mode #tab-leaderboard .lb-rank-display #user-current-rank {
  color: inherit;
}
html body.light-mode #tab-leaderboard .lb-card-name { color: #ffffff !important; }
html body.light-mode #tab-leaderboard .lb-card.is-you .lb-card-name,
html body.light-mode #tab-leaderboard .lb-rank-display #user-current-rank { color: #ffe566 !important; }
html body.light-mode #tab-leaderboard .lb-card-stats { color: #cbd5e1 !important; }
html body.light-mode #tab-leaderboard .lb-card-count { color: #ffe566 !important; }
@media (max-width: 1100px) {
  .lb-top5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .lb-top5 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .lb-extended { padding: 12px 14px 16px; }
  .lb-rank-display { text-align: center; }
  #tab-leaderboard .payout-portal-inner { padding: 16px 14px; }
}
@media (max-width: 420px) {
  .lb-top5 { grid-template-columns: 1fr; }
  .lb-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .lb-row-right { width: 100%; justify-content: space-between; }
}
#tab-my-referrals .payout-portal-inner {
  padding: 18px 18px 16px;
  gap: 16px;
}
#tab-my-referrals .payout-portal-title {
  margin: 8px 0 6px;
}
#tab-my-referrals .payout-portal-sub {
  margin: 0 0 4px;
}
#tab-my-referrals .payout-portal-pill {
  margin-top: 12px;
}
#tab-my-referrals .payout-portal-side {
  padding: 12px 14px;
}
#tab-my-referrals .payout-portal-script {
  margin-bottom: 10px;
}
#tab-my-referrals .payout-portal-list {
  gap: 7px;
}
#tab-my-referrals .payout-portal-ribbon {
  margin-top: 12px;
}
.my-ref-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.my-ref-stat {
  background: linear-gradient(165deg, #06101f 0%, #0c2144 100%) !important;
  border: 1px solid rgba(255, 211, 77, 0.35) !important;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 10px 24px -14px rgba(7, 20, 39, 0.7);
  color: #fff !important;
}
.my-ref-stat-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a !important;
}
.my-ref-stat-value {
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff !important;
}
.my-ref-stat-value.is-amber { color: #fbbf24 !important; }
.my-ref-stat-value.is-green { color: #34d399 !important; }
.my-ref-stat-value.is-rose { color: #fb7185 !important; }
.my-ref-toolbar {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  padding: 18px 18px 12px;
  box-shadow: none;
  color: #475569;
}
.my-ref-toolbar-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .my-ref-toolbar-row { flex-direction: row; gap: 14px; }
}
.my-ref-toolbar input,
.my-ref-toolbar select {
  flex: 1;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font-size: 0.8rem;
  min-height: 46px;
}
.my-ref-toolbar-note {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #64748b !important;
}
.my-ref-list {
  display: grid;
  gap: 14px;
  padding: 4px 18px 20px;
}
.my-ref-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 18px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 38%) !important;
  border: 1px solid #f1e3b0 !important;
  box-shadow: inset 3px 0 0 #c9a227, 0 6px 16px -12px rgba(15, 23, 42, 0.28);
}
@media (min-width: 640px) {
  .my-ref-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }
}
.my-ref-row h4 {
  margin: 0;
  color: #0b1b3a !important;
  font-size: 14px;
  font-weight: 900;
}
.my-ref-empty {
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
  border: 1px dashed #d4af37;
  border-radius: 16px;
  padding: 2.5rem 1.25rem;
  text-align: center;
  box-shadow: none;
}
.my-ref-empty p {
  color: #0b1b3a !important;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
}
.my-ref-row p {
  color: #64748b !important;
}
.my-ref-row .my-ref-meta {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
}
.my-ref-row .my-ref-sub {
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.45;
}
.my-ref-row .my-ref-remarks {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: #b45309 !important;
  font-weight: 700;
}
.my-ref-row .my-ref-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.my-ref-status-pending {
  background: #fff7ed;
  color: #b45309 !important;
  border: 1px solid #fdba74;
}
.my-ref-status-validated {
  background: #ecfdf5;
  color: #047857 !important;
  border: 1px solid #6ee7b7;
}
.my-ref-status-duplicate {
  background: #fff1f2;
  color: #be123c !important;
  border: 1px solid #fda4af;
}
.my-ref-status-invalid {
  background: #f1f5f9;
  color: #475569 !important;
  border: 1px solid #cbd5e1;
}
.my-ref-row .my-ref-payout {
  color: #64748b !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
  margin: 0;
  padding-top: 2px;
  white-space: nowrap;
}
.my-ref-row .my-ref-payout.is-paid {
  color: #047857 !important;
}
html body #tab-my-referrals .my-ref-stat,
html body.light-mode #tab-my-referrals .my-ref-stat {
  background: #fff !important;
  border: 1px solid #e8edf3 !important;
  color: #14243B !important;
  box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.28) !important;
  text-align: left !important;
}
html body #tab-my-referrals .my-ref-stat.is-total { background: #eff6ff !important; border-color: #dbeafe !important; }
html body #tab-my-referrals .my-ref-stat.is-pending { background: #fff7ed !important; border-color: #fed7aa !important; }
html body #tab-my-referrals .my-ref-stat.is-validated { background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
html body #tab-my-referrals .my-ref-stat.is-duplicate { background: #fff1f2 !important; border-color: #fecdd3 !important; }
html body #tab-my-referrals .my-ref-stat-label,
html body.light-mode #tab-my-referrals .my-ref-stat-label {
  color: #475569 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.15rem !important;
}
html body #tab-my-referrals .my-ref-stat-value,
html body #tab-my-referrals .my-ref-stat-value.is-amber,
html body #tab-my-referrals .my-ref-stat-value.is-green,
html body #tab-my-referrals .my-ref-stat-value.is-rose,
html body.light-mode #tab-my-referrals .my-ref-stat-value,
html body.light-mode #tab-my-referrals .my-ref-stat-value.is-amber,
html body.light-mode #tab-my-referrals .my-ref-stat-value.is-green,
html body.light-mode #tab-my-referrals .my-ref-stat-value.is-rose {
  color: #14243B !important;
}
html body #tab-my-referrals .my-ref-stat-hint {
  color: #64748b !important;
}
html body #tab-my-referrals .oz-myref-desk-cta-copy,
html body #tab-my-referrals .oz-myref-desk-cta-copy strong,
html body #tab-my-referrals .oz-myref-desk-cta-rest,
html body.light-mode #tab-my-referrals .oz-myref-desk-cta-copy,
html body.light-mode #tab-my-referrals .oz-myref-desk-cta-copy strong,
html body.light-mode #tab-my-referrals .oz-myref-desk-cta-rest,
html body.light-mode #tab-my-referrals .oz-myref-desk-cta span,
html body #tab-my-referrals .oz-myref-reward-banner,
html body #tab-my-referrals .oz-myref-reward-banner > span:not(.oz-myref-coins),
html body.light-mode #tab-my-referrals .oz-myref-reward-banner,
html body.light-mode #tab-my-referrals .oz-myref-reward-banner > span:not(.oz-myref-coins) {
  color: #ffffff !important;
}
html body #tab-my-referrals .oz-myref-desk-cta-rest,
html body.light-mode #tab-my-referrals .oz-myref-desk-cta-rest {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600 !important;
}
@media (max-width: 800px) {
  .my-ref-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #tab-my-referrals .payout-portal-inner { padding: 16px 14px; }
  .my-ref-list { padding: 2px 14px 16px; }
  .my-ref-toolbar { padding: 16px 14px 10px; }
}
.raw-ref-hero {
  overflow: hidden;
  border-radius: 1.25rem;
  background: #1e293b;
  line-height: 0;
}
.raw-ref-hero-img {
  display: block;
  width: 100%;
  height: auto;
}
.raw-ref-toolbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.raw-ref-toolbar label {
  color: #1e293b !important;
  font-size: 0.75rem;
  font-weight: 800;
}
html body #tab-raw-referrals select#raw-month-filter {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 44px;
}
.raw-ref-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-size: 0.75rem;
  line-height: 1.5;
}
.raw-ref-alert i {
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.raw-ref-alert strong {
  display: inline;
  font-weight: 800;
}
.raw-ref-alert-title {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
  font-size: 0.8rem;
}
.raw-ref-alert p {
  display: inline;
  margin: 0;
  color: inherit !important;
}
.raw-ref-alert-amber {
  background: #fffbeb;
  border: 1px solid #d97706;
  color: #1e293b;
}
.raw-ref-alert-amber i,
.raw-ref-alert-amber .raw-ref-alert-title {
  color: #d97706 !important;
}
.raw-ref-alert-amber strong {
  color: #b45309 !important;
}
.raw-ref-alert-navy {
  background: #ffffff;
  border: 1px solid #1e293b;
  color: #334155;
}
.raw-ref-alert-navy i,
.raw-ref-alert-navy .raw-ref-alert-title {
  color: #1e293b !important;
}
.raw-ref-stat {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.raw-ref-stat-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.raw-ref-stat-value {
  color: #1e293b !important;
  font-size: 1.25rem;
  font-weight: 800;
}
.raw-ref-stat-amber {
  color: #d97706 !important;
}
.raw-ref-rankings {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.raw-ref-rankings h3 {
  color: #1e293b !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.raw-ref-empty {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 1.5rem 0.5rem;
}
.raw-lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.85rem;
  padding: 0.75rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.raw-lb-row-you {
  border-color: #d97706 !important;
  background: #fffbeb !important;
}
.raw-lb-who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.raw-lb-rank {
  width: 1.75rem;
  text-align: center;
  font-weight: 800;
  color: #1e293b;
  font-size: 0.85rem;
}
.raw-lb-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  background: #1e293b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.raw-lb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.raw-lb-name {
  font-weight: 700;
  color: #1e293b !important;
  font-size: 0.8rem;
}
.raw-lb-counts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
  flex-shrink: 0;
}
.raw-lb-week,
.raw-lb-month {
  color: #64748b;
  font-size: 0.7rem;
  white-space: nowrap;
}
.raw-lb-week strong,
.raw-lb-month strong {
  color: #1e293b;
  font-weight: 800;
}
.raw-lb-badge {
  display: inline-flex;
  align-items: center;
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
}

html body #home-slideshow-banner {
  height: 320px !important;
  min-height: 220px !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  display: block !important;
}
/* Mockup home: hide slideshow until announcements content is wired */
html body #dashboard-screen.oz-shell-ready #home-slideshow-banner,
html body #home-slideshow-banner.hidden,
html body #home-slideshow-banner[aria-hidden="true"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
@media (min-width: 640px) {
  html body #home-slideshow-banner {
    height: 400px !important;
  }
}
@media (min-width: 768px) {
  html body #home-slideshow-banner {
    height: 460px !important;
  }
}
html body #slideshow-slides-container,
html body #slideshow-slides-container .slide-item {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
html body #slideshow-slides-container .slide-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.auth-register-layout {
  display: grid;
  gap: 0.85rem;
  align-items: start;
  position: relative;
}
.auth-register-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 10rem;
  border-radius: 1.35rem;
  overflow: visible;
  background:
    radial-gradient(95% 80% at 92% 88%, rgba(251, 191, 36, 0.28) 0%, transparent 52%),
    radial-gradient(70% 60% at 12% 18%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, #0b1b36 0%, #13294a 48%, #1e3a5f 100%);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.auth-register-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  align-items: stretch;
  min-height: 10rem;
  padding: 1rem 0.55rem 0.75rem 1.05rem;
  overflow: visible;
}
.auth-register-panel__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
  padding-right: 0.35rem;
}
.auth-register-panel__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.auth-register-panel__mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.45);
}
.auth-register-panel__name {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.auth-register-panel__powered {
  margin: 0.15rem 0 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 13rem;
}
.auth-register-panel__headline {
  margin: 0;
  color: #fff;
  font-family: "Segoe Script", "Brush Script MT", "Apple Chancery", cursive;
  font-size: clamp(1.2rem, 4.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  max-width: 12.5rem;
}
.auth-register-panel__headline em {
  font-style: normal;
  position: relative;
  display: inline-block;
  color: #fff;
}
.auth-register-panel__headline em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.05em;
  height: 0.28em;
  background: linear-gradient(90deg, #f59e0b, #fbbf24 55%, #f59e0b);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.95;
  transform: rotate(-1.5deg);
}
.auth-register-panel__figure {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  overflow: visible;
}
.auth-register-panel__man {
  width: 9.1rem;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.4));
  transform: translate(0.55rem, 1.25rem) scale(1.2);
  transform-origin: bottom right;
}
.auth-register-form {
  min-width: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .auth-register-layout {
    grid-template-columns: 22rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
  .auth-register-panel {
    min-height: 100%;
    align-self: stretch;
    border-radius: 1.45rem;
  }
  /* Keep text LEFT + guy RIGHT (do not stack under headline) */
  .auth-register-panel__inner {
    grid-template-columns: minmax(0, 1fr) 10.5rem;
    grid-template-rows: 1fr;
    min-height: 100%;
    height: 100%;
    padding: 1.2rem 0.35rem 0.9rem 1.2rem;
  }
  .auth-register-panel__copy {
    gap: 0.9rem;
    justify-content: center;
    padding: 0.35rem 0.35rem 0.35rem 0.15rem;
  }
  .auth-register-panel__brand {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
  }
  .auth-register-panel__mark {
    width: 2.35rem;
    height: 2.35rem;
  }
  .auth-register-panel__name {
    font-size: 1.15rem;
  }
  .auth-register-panel__powered {
    max-width: 11.5rem;
    font-size: 0.6rem;
  }
  .auth-register-panel__headline {
    font-size: 1.7rem;
    max-width: 10.5rem;
  }
  .auth-register-panel__figure {
    min-height: 100%;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .auth-register-panel__man {
    width: 13.75rem;
    transform: translate(1.85rem, 1.55rem) scale(1.12);
    transform-origin: bottom right;
  }
}

@media (max-width: 767px) {
  .auth-register-panel {
    margin-bottom: 1.75rem;
  }
  .auth-register-panel__man {
    width: 7.4rem;
    transform: translate(0.2rem, 0.55rem) scale(1.06);
  }
  .auth-register-panel__powered {
    max-width: 11.5rem;
  }
  #auth-register-view,
  #auth-login-view,
  #auth-forgot-view,
  #auth-phone-view {
    padding-bottom: 1.25rem;
  }
  #auth-register-view .text-center.pt-2,
  #auth-login-view .mt-4.pt-3 {
    position: relative;
    z-index: 4;
    padding-bottom: 0.5rem;
  }
}

/* Registration success — WhatsApp CTA (high contrast, not lime-on-mint) */
.auth-whatsapp-card {
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid #cbd5e1;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
.auth-whatsapp-card__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-whatsapp-card__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}
.auth-whatsapp-card__title i {
  color: #128c7e;
  font-size: 1.15rem;
}
.auth-whatsapp-card__body {
  margin: 0 0 0.9rem;
  color: #334155;
  font-size: 0.72rem;
  line-height: 1.55;
  font-weight: 600;
}
.auth-whatsapp-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.6rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: #128c7e;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(18, 140, 126, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.auth-whatsapp-card__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #ffffff !important;
}

body:not(.light-mode) .auth-whatsapp-card {
  border-color: rgba(201, 162, 39, 0.45);
  background: linear-gradient(160deg, #0b1b33 0%, #12305c 60%, #0b1b33 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  color: #f8fafc;
}
body:not(.light-mode) .auth-whatsapp-card__badge {
  background: #c9a227;
  color: #0b1220;
}
body:not(.light-mode) .auth-whatsapp-card__title {
  color: #ffffff;
}
body:not(.light-mode) .auth-whatsapp-card__title i {
  color: #25d366;
}
body:not(.light-mode) .auth-whatsapp-card__body {
  color: #cbd5e1;
}
body:not(.light-mode) .auth-whatsapp-card__cta {
  background: #25d366;
  color: #052e16 !important;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.28);
}

/* Registration success — Android APK download + QR */
.auth-app-card {
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid #cbd5e1;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  text-align: left;
}
.auth-app-card__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-app-card__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}
.auth-app-card__title i {
  color: #3ddc84;
  font-size: 1.15rem;
}
.auth-app-card__body {
  margin: 0 0 0.9rem;
  color: #334155;
  font-size: 0.72rem;
  line-height: 1.55;
  font-weight: 600;
}
.auth-app-card__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0.15rem 0 0.85rem;
}
.auth-app-card__qr {
  width: 148px;
  height: 148px;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  object-fit: contain;
}
.auth-app-card__qr-caption {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
  text-align: center;
}
.auth-app-card__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.auth-app-card__steps {
  margin: 0.95rem 0 0.65rem;
  padding: 0;
  list-style: none;
  counter-reset: oz-apk-step;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.auth-app-card__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 1.55rem 1fr;
  column-gap: 0.65rem;
  align-items: start;
  counter-increment: oz-apk-step;
}
.auth-app-card__steps li::before {
  content: counter(oz-apk-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #1e293b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.auth-app-card__steps strong {
  display: block;
  grid-column: 2;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}
.auth-app-card__steps span {
  display: block;
  grid-column: 2;
  margin-top: 0.15rem;
  color: #475569;
  font-size: 0.68rem;
  line-height: 1.5;
  font-weight: 600;
}
.auth-app-card__steps em {
  font-style: normal;
  font-weight: 800;
  color: #1e293b;
}
.auth-app-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.6rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: #1e293b;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.auth-app-card__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #ffffff !important;
}
.auth-app-card__hint {
  margin: 0;
  color: #64748b;
  font-size: 0.65rem;
  line-height: 1.45;
  font-weight: 600;
}
.auth-app-card__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.auth-app-card__copy:hover {
  background: #f8fafc;
}

body:not(.light-mode) .auth-app-card {
  border-color: rgba(201, 162, 39, 0.45);
  background: linear-gradient(160deg, #0b1b33 0%, #12305c 60%, #0b1b33 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  color: #f8fafc;
}
body:not(.light-mode) .auth-app-card__badge {
  background: #c9a227;
  color: #0b1220;
}
body:not(.light-mode) .auth-app-card__title {
  color: #ffffff;
}
body:not(.light-mode) .auth-app-card__title i {
  color: #3ddc84;
}
body:not(.light-mode) .auth-app-card__body,
body:not(.light-mode) .auth-app-card__hint,
body:not(.light-mode) .auth-app-card__qr-caption,
body:not(.light-mode) .auth-app-card__steps span {
  color: #cbd5e1;
}
body:not(.light-mode) .auth-app-card__steps strong,
body:not(.light-mode) .auth-app-card__steps em {
  color: #ffffff;
}
body:not(.light-mode) .auth-app-card__steps li::before {
  background: #c9a227;
  color: #0b1220;
}
body:not(.light-mode) .auth-app-card__cta {
  background: #c9a227;
  color: #0b1220 !important;
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.28);
}
body:not(.light-mode) .auth-app-card__copy {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: #f8fafc;
}
body:not(.light-mode) .auth-app-card__qr {
  border-color: rgba(148, 163, 184, 0.35);
}

body.light-mode #reg-agree-terms + span,
body.light-mode label[for="reg-agree-terms"] {
  color: #334155 !important;
}
body.light-mode label[for="reg-agree-terms"] {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
body.light-mode label[for="reg-agree-terms"] a {
  color: #b45309 !important;
}
body.light-mode #auth-success-view h3 {
  color: #0f172a !important;
}
body.light-mode #auth-success-view > p {
  color: #475569 !important;
}

.reg-steps {
  position: relative;
  min-height: 0;
  overflow: visible;
}

.reg-step.reg-anim-next {
  animation: regStepInNext 0.38s ease;
}

.reg-step.reg-anim-back {
  animation: regStepInBack 0.38s ease;
}

@keyframes regStepInNext {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes regStepInBack {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reg-action-btn,
html body #auth-register-view .reg-action-btn,
html body #reg-next-1,
html body #reg-next-2,
html body #reg-submit-btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin-top: 1rem !important;
  min-height: 48px !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.75rem !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  line-height: 1.25 !important;
  border: 0 !important;
  cursor: pointer;
}

html body #auth-register-view .reg-action-btn:hover,
html body #reg-next-1:hover,
html body #reg-next-2:hover,
html body #reg-submit-btn:hover {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

.reg-progress {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  margin: 0.5rem 0 1rem;
}
.reg-progress-seg {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background-color 0.35s ease;
}
.reg-progress-seg.is-on {
  background: #1e293b;
}
.reg-progress-seg.is-current {
  background: #d97706;
}

html body.light-mode .slide-text-overlay h2,
html body.light-mode .slide-text-overlay p {
  color: #ffffff !important;
}

html body #chat-box-container,
html body #chat-input-form,
html body:not(.light-mode) #chat-box-container,
html body:not(.light-mode) #chat-input-form {
  background-color: #fff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

html body #chat-messages-list,
html body:not(.light-mode) #chat-messages-list {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
}

html body #chat-message-input,
html body:not(.light-mode) #chat-message-input {
  background-color: #fff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

html body .chat-bubble-received,
html body:not(.light-mode) .chat-bubble-received {
  background-color: #fff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

html body .chat-bubble-admin,
html body .chat-bubble-mine,
html body:not(.light-mode) .chat-bubble-admin,
html body:not(.light-mode) .chat-bubble-mine {
  background-color: #1e293b !important;
  color: #fff !important;
  border-color: transparent !important;
}

.oz-avatar {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}
.oz-avatar img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 2;
  background: #1e293b;
}
.oz-avatar.has-photo i,
.oz-avatar.has-photo i::before {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
html body.light-mode #raw-leaderboard-list > div {
  background-color: var(--oz-white) !important;
  border-color: var(--oz-soft) !important;
  border-radius: 1.25rem;
}
html body.light-mode #top-5-container > .lb-card {
  background: linear-gradient(165deg, #06101f 0%, #0c2144 100%) !important;
  border-color: rgba(255, 211, 77, 0.35) !important;
}
html body.light-mode #extended-rankings-list > .lb-row {
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 38%) !important;
  border-color: #f1e3b0 !important;
}
html body.light-mode #extended-rankings-list > .lb-row.is-you {
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 45%, #ffffff 100%) !important;
  border-color: #ffd34d !important;
}
html body.light-mode #raw-leaderboard-list > .raw-lb-row-you {
  background: #fffbeb !important;
  border-color: #d97706 !important;
}

@media (max-width: 767px) {
  html body #auth-screen:not(.hidden) {
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html body #auth-card {
    padding: 1.15rem 1.1rem 1.75rem !important;
    width: 100% !important;
    max-width: calc(100vw - 1.5rem) !important;
    overflow: visible !important;
    margin-bottom: 1.5rem !important;
  }
  .auth-screen-body {
    align-items: flex-start !important;
    padding: 0.85rem 0.75rem 5.5rem !important;
  }
  .reg-steps {
    min-height: 0;
  }
  html body input,
  html body select,
  html body textarea,
  html body button {
    min-height: 44px;
  }
  html body #tab-apply-job .apply-job-filter-bar select,
  html body #tab-apply-job .apply-job-nearest-btn {
    min-height: 2.35rem !important;
  }
  html body main,
  html body #dashboard-screen {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  html body header nav button,
  html body header nav a {
    min-height: 40px;
  }
  html body header .oz-brand-logo {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }
  html body header .oz-brand-name {
    font-size: 1.15rem !important;
  }
  html body header .oz-brand-powered {
    font-size: 0.55rem !important;
    max-width: 9.5rem;
  }
  .oz-public-nav-inner {
    min-height: 3.75rem;
    padding: 0.5rem 0.85rem;
  }
  .oz-public-nav-brand img {
    width: 2.75rem;
    height: 2.75rem;
  }
  .oz-public-nav-title {
    font-size: 1.25rem;
  }
}
@media (min-width: 640px) {
  .oz-public-nav-brand img {
    width: 4rem;
    height: 4rem;
  }
  .oz-public-nav-title {
    font-size: 2rem;
  }
}

.oz-skel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
}
.oz-skel:not(:has(.oz-bone)) {
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
}
#extended-rankings-list.oz-skel,
#extended-rankings-list.oz-skel:not(:has(.oz-bone)),
#extended-rankings-list.lb-extended {
  max-height: min(420px, 55vh);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.oz-skel-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
}
.oz-skel-toolbar-right {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
.oz-skel-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #eef2f6;
}
.oz-skel-lines {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.oz-bone {
  display: block;
  background: linear-gradient(90deg, #eef2f6 0%, #f8fafc 45%, #eef2f6 90%);
  background-size: 200% 100%;
  animation: oz-shimmer 1.2s ease-in-out infinite;
  border-radius: 0.5rem;
}
.oz-bone-avatar { width: 2.75rem; height: 2.75rem; border-radius: 999px; flex-shrink: 0; }
.oz-bone-pill { width: 5.5rem; height: 1.6rem; border-radius: 999px; }
.oz-bone-pill-md { width: 6.5rem; height: 1.6rem; border-radius: 999px; }
.oz-bone-pill-sm { width: 3.5rem; height: 1.6rem; border-radius: 999px; }
.oz-bone-badge { width: 4rem; height: 1.4rem; border-radius: 999px; flex-shrink: 0; }
.oz-bone-l1 { width: 28%; height: 0.7rem; }
.oz-bone-l2 { width: 38%; height: 0.7rem; }
.oz-bone-l3 { width: 52%; height: 0.7rem; }
@keyframes oz-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* --- App shell (redesign/ui-shell) --- */
html body,
html body.light-mode {
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background-color: var(--oz-pale) !important;
  color: var(--oz-text) !important;
}

#dashboard-screen.oz-shell-ready {
  background: var(--oz-pale) !important;
}

.oz-app-shell {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--oz-header-h));
  align-items: stretch;
}

.oz-sidebar {
  display: none;
  width: var(--oz-sidebar-w);
  flex-shrink: 0;
  background: var(--oz-white);
  border-right: 1px solid var(--oz-soft);
  box-shadow: var(--oz-shadow);
  padding: 1rem 0.85rem 1.5rem;
  position: sticky;
  top: var(--oz-header-h);
  height: calc(100vh - var(--oz-header-h));
  overflow-y: auto;
  z-index: 30;
}

.oz-sidebar-admin {
  background: linear-gradient(180deg, #14243B 0%, #1a3050 100%);
  border-right-color: rgba(214, 168, 67, 0.35);
  color: #fff;
}

.oz-sidebar-group {
  margin-bottom: 1.1rem;
}

.oz-sidebar-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oz-ink);
  padding: 0 0.65rem 0.45rem;
}

.oz-sidebar-admin .oz-sidebar-label {
  color: rgba(255, 255, 255, 0.55);
}

.oz-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--oz-text);
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.oz-nav-link i {
  width: 1.1rem;
  text-align: center;
  color: var(--oz-navy-2);
  opacity: 0.9;
}

.oz-nav-link:hover {
  background: #eef2f7;
  color: var(--oz-navy);
}

.oz-nav-link.is-active {
  background: rgba(214, 168, 67, 0.16);
  color: var(--oz-navy);
  box-shadow: inset 3px 0 0 var(--oz-gold);
}

.oz-sidebar-admin .oz-nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.oz-sidebar-admin .oz-nav-link i {
  color: var(--oz-gold);
}

.oz-sidebar-admin .oz-nav-link:hover,
.oz-sidebar-admin .oz-nav-link.is-active {
  background: rgba(214, 168, 67, 0.18);
  color: #fff;
}

.oz-content-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#dashboard-screen .oz-content-column > main {
  flex: 1;
  width: 100% !important;
  max-width: none !important;
  padding: 1rem 1rem calc(6.75rem + env(safe-area-inset-bottom, 0px)) !important;
  margin: 0 !important;
}

@media (min-width: 1024px) {
  .oz-sidebar {
    display: block;
  }
  #dashboard-screen.oz-admin-mode #oz-affiliate-sidebar {
    display: none;
  }
  #dashboard-screen.oz-admin-mode #oz-admin-sidebar {
    display: block;
  }
  #dashboard-screen:not(.oz-admin-mode) #oz-admin-sidebar {
    display: none !important;
  }
  #dashboard-screen .oz-content-column > main {
    padding: 1.25rem 1.5rem 2rem !important;
  }
  header.oz-compact-header nav.oz-legacy-top-nav {
    display: none !important;
  }
}

.oz-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
  background: var(--oz-white);
  border-top: 1px solid var(--oz-soft);
  box-shadow: 0 -8px 24px -18px rgba(20, 36, 59, 0.45);
  padding: 0.55rem 0.35rem calc(1.05rem + env(safe-area-inset-bottom, 0px));
}

.oz-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--oz-ink);
  font-size: 0.62rem;
  font-weight: 750;
  border-radius: 0.75rem;
  cursor: pointer;
}

.oz-bottom-nav button i {
  font-size: 1rem;
}

.oz-bottom-nav button.is-active {
  color: var(--oz-navy);
  background: transparent;
}

@media (min-width: 1024px) {
  .oz-bottom-nav {
    display: none !important;
  }
  #dashboard-screen .oz-content-column > main {
    padding-bottom: 2rem !important;
  }
}

.oz-home-welcome {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.oz-home-welcome h2 {
  font-size: 1.35rem !important;
  font-weight: 850 !important;
  color: var(--oz-navy) !important;
  letter-spacing: -0.02em;
}

.oz-home-welcome p {
  font-size: 0.88rem !important;
  color: var(--oz-ink) !important;
}

.oz-metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .oz-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .oz-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.oz-metric-card {
  background: var(--oz-white);
  border: 1px solid var(--oz-soft);
  border-radius: var(--oz-radius);
  box-shadow: var(--oz-shadow);
  padding: 1rem 1.05rem;
}

.oz-metric-card.is-earnings {
  background: linear-gradient(155deg, #14243B 0%, #243B57 100%);
  border-color: transparent;
  color: #fff;
}

.oz-metric-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oz-ink);
  margin-bottom: 0.35rem;
}

.oz-metric-card.is-earnings .oz-metric-label {
  color: rgba(255, 255, 255, 0.7);
}

.oz-metric-value {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--oz-navy);
  letter-spacing: -0.02em;
}

.oz-metric-card.is-earnings .oz-metric-value {
  color: #fff;
  font-size: 1.55rem;
}

.oz-metric-hint {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--oz-ink);
}

.oz-metric-card.is-earnings .oz-metric-hint {
  color: rgba(255, 255, 255, 0.65);
}

.oz-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .oz-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oz-action-card {
  background: var(--oz-white);
  border: 1px solid var(--oz-soft);
  border-radius: var(--oz-radius);
  box-shadow: var(--oz-shadow);
  padding: 0.9rem;
  text-align: left;
  min-height: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.oz-action-card:hover {
  border-color: var(--oz-gold);
  transform: translateY(-1px);
}

.oz-action-card .oz-action-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 36, 59, 0.06);
  color: var(--oz-navy);
  font-size: 0.85rem;
}

.oz-action-card h4 {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: var(--oz-navy) !important;
  margin: 0 !important;
}

.oz-action-card p {
  font-size: 0.68rem !important;
  color: var(--oz-ink) !important;
  margin: 0 !important;
  line-height: 1.35;
}

#home-slideshow-banner.oz-home-slideshow {
  max-width: none !important;
  height: 180px !important;
  margin-top: 0.5rem;
  border-radius: var(--oz-radius) !important;
  box-shadow: var(--oz-shadow) !important;
}

@media (min-width: 768px) {
  #home-slideshow-banner.oz-home-slideshow {
    height: 240px !important;
  }
}

.oz-admin-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .oz-admin-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .oz-admin-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oz-admin-tile {
  background: var(--oz-white);
  border: 1px solid var(--oz-soft);
  border-radius: var(--oz-radius);
  box-shadow: var(--oz-shadow);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  min-height: 6rem;
}

.oz-admin-tile:hover {
  border-color: var(--oz-gold);
}

.oz-admin-tile h3 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: var(--oz-navy) !important;
  margin: 0 0 0.35rem !important;
}

.oz-admin-tile p {
  font-size: 0.75rem !important;
  color: var(--oz-ink) !important;
  margin: 0 !important;
  line-height: 1.4;
}

.oz-admin-tile .oz-admin-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--oz-gold);
  margin-bottom: 0.4rem;
}

/* --- Mockup-aligned dashboard (mobile + desktop) --- */
html body #oz-affiliate-sidebar.oz-sidebar {
  background: #14243B !important;
  border-right: 0 !important;
  color: #fff;
  padding: 1.25rem 1rem 1.25rem;
  display: none;
  flex-direction: column;
}
html body #oz-affiliate-sidebar .oz-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem 1.25rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
html body #oz-affiliate-sidebar .oz-sidebar-brand-text {
  min-width: 0;
  flex: 1;
}
html body #oz-affiliate-sidebar .oz-sidebar-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: contain;
  background: #0f1b2e;
}
html body #oz-affiliate-sidebar .oz-sidebar-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
html body #oz-affiliate-sidebar .oz-sidebar-brand-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
html body #oz-affiliate-sidebar .oz-sidebar-label {
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.1em;
}
html body #oz-affiliate-sidebar .oz-nav-link {
  color: rgba(255,255,255,0.82) !important;
  border-radius: 0.85rem;
  padding: 0.65rem 0.8rem;
}
html body #oz-affiliate-sidebar .oz-nav-link i {
  color: rgba(255,255,255,0.55) !important;
}
html body #oz-affiliate-sidebar .oz-nav-link:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}
html body #oz-affiliate-sidebar .oz-nav-link.is-active {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html body #oz-affiliate-sidebar .oz-nav-link.is-active i {
  color: #60a5fa !important;
}
html body #oz-affiliate-sidebar .oz-nav-link.oz-nav-logout,
html body #oz-affiliate-sidebar .oz-nav-link.oz-nav-logout i {
  color: #fb7185 !important;
}
html body #oz-affiliate-sidebar .oz-nav-link.oz-nav-logout:hover {
  background: rgba(251, 113, 133, 0.14) !important;
  color: #fecdd3 !important;
}
html body #oz-affiliate-sidebar .oz-nav-link.oz-nav-logout:hover i {
  color: #fecdd3 !important;
}
html body #oz-affiliate-sidebar .oz-sidebar-help {
  margin-top: auto;
  flex-shrink: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
html body #oz-affiliate-sidebar .oz-sidebar-group {
  flex-shrink: 0;
}
html body #oz-affiliate-sidebar .oz-sidebar-help strong {
  color: #fff;
  font-weight: 750;
  font-size: 0.82rem;
}
html body #oz-affiliate-sidebar .oz-sidebar-help span {
  color: rgba(255,255,255,0.65);
  font-size: 0.74rem;
}

@media (min-width: 1024px) {
  html body #dashboard-screen.oz-shell-ready:not(.oz-admin-mode) #oz-affiliate-sidebar,
  html body #dashboard-screen.oz-shell-ready.oz-admin-mode #oz-admin-sidebar {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--oz-sidebar-w) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 40 !important;
  }
  html body #dashboard-screen.oz-shell-ready .oz-app-shell {
    min-height: 100vh !important;
    align-items: stretch !important;
  }
  html body #dashboard-screen.oz-shell-ready .oz-content-column {
    margin-left: var(--oz-sidebar-w) !important;
    width: calc(100% - var(--oz-sidebar-w)) !important;
    min-height: 100vh !important;
  }
  html body #dashboard-screen.oz-shell-ready header.oz-compact-header {
    display: none !important;
  }
  html body #dashboard-screen.oz-shell-ready #mobile-top-dropdown {
    display: none !important;
  }
}

/* Mobile header mark */
html body header.oz-compact-header .oz-brand-logo {
  width: 2.35rem !important;
  height: 2.35rem !important;
  border-radius: 999px !important;
}
html body header.oz-compact-header .oz-brand-name {
  font-size: 1.05rem !important;
}
html body header.oz-compact-header .oz-brand-powered {
  display: none !important;
}
html body header.oz-compact-header .oz-brand-portal {
  display: block;
  color: #64748b !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
}
html body header.oz-compact-header .oz-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #14243B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Desktop page toolbar */
.oz-page-toolbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.oz-page-toolbar h1 {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #14243B !important;
  letter-spacing: -0.02em;
  margin: 0 !important;
}
.oz-page-toolbar p {
  margin: 0.2rem 0 0 !important;
  color: #64748b !important;
  font-size: 0.9rem !important;
}
.oz-page-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.oz-page-toolbar .oz-icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #14243B;
}
.oz-page-toolbar .oz-account-chip {
  width: auto;
  padding: 0 0.65rem;
  gap: 0.4rem;
}
.oz-page-toolbar .oz-account-caret {
  font-size: 0.65rem;
  opacity: 0.55;
}

/* Named account chip (mobile header + desktop toolbar) */
html body .oz-user-chip,
html body.light-mode .oz-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 12.5rem;
  padding: 0.2rem 0.35rem 0.2rem 0.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #14243B;
  cursor: pointer;
  text-align: left;
}
html body .oz-user-chip:hover,
html body.light-mode .oz-user-chip:hover {
  background: rgba(20, 36, 59, 0.05);
}
html body .oz-user-avatar,
html body.light-mode .oz-user-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: #14243B !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 0 !important;
}
html body .oz-user-avatar i,
html body.light-mode .oz-user-avatar i {
  color: #fff !important;
  font-size: 0.72rem;
}
html body .oz-user-avatar-img,
html body.light-mode .oz-user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html body .oz-user-meta,
html body.light-mode .oz-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
html body .oz-user-name,
html body.light-mode .oz-user-name,
html body #welcome-message,
html body #welcome-message-desk,
html body.light-mode #welcome-message,
html body.light-mode #welcome-message-desk {
  display: block !important;
  margin: 0 !important;
  color: #14243B !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7.5rem;
}
html body .oz-user-role,
html body.light-mode .oz-user-role {
  display: block;
  margin: 0;
  color: #64748b !important;
  font-size: 0.68rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
  white-space: nowrap;
}
html body .oz-user-caret,
html body.light-mode .oz-user-caret {
  font-size: 0.62rem;
  color: #14243B !important;
  opacity: 0.7;
  flex-shrink: 0;
  margin-right: 0.15rem;
}
.oz-page-toolbar .oz-user-chip {
  max-width: 14rem;
}
.oz-page-toolbar .oz-user-name,
#welcome-message-desk {
  max-width: 9rem;
}
@media (max-width: 380px) {
  html body .oz-user-chip { max-width: 9.75rem; }
  html body .oz-user-name,
  html body #welcome-message { max-width: 5.5rem; }
}
@media (min-width: 1024px) {
  .oz-page-toolbar { display: flex; }
  #dashboard-screen .oz-content-column > main {
    padding: 1.5rem 2rem 2.25rem !important;
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #dashboard-screen[data-oz-tab="refer-earn"] .oz-content-column > main,
  #dashboard-screen[data-oz-tab="payout-30th"] .oz-content-column > main,
  #dashboard-screen[data-oz-tab="home"] .oz-content-column > main {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Home dashboard */
#tab-home.oz-home-dash {
  max-width: none;
  width: 100%;
  margin: 0;
}
#tab-home .oz-home-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
html body #tab-home .oz-dash-hero,
html body.light-mode #tab-home .oz-dash-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  margin-bottom: 0.9rem;
  padding: 1.15rem 1.1rem 1.2rem;
  min-height: 16.5rem;
  /* Mobile: lock to the dark left of the hero so white/gold copy stays readable */
  background:
    linear-gradient(105deg, rgba(6, 14, 32, 0.88) 0%, rgba(6, 14, 32, 0.72) 52%, rgba(6, 14, 32, 0.35) 100%),
    url("/heroes/olympuz-home-hero.jpg") left center / cover no-repeat !important;
  color: #fff !important;
  border: 0 !important;
}
#tab-home .oz-dash-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
}
#tab-home .oz-dash-kicker {
  margin: 0 0 0.35rem !important;
  color: #F3C877 !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
html body #tab-home .oz-dash-hero h2,
html body.light-mode #tab-home .oz-dash-hero h2 {
  margin: 0 !important;
  color: #FFFFFF !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  line-height: 1.2;
  max-width: 18rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
html body #tab-home .oz-dash-hero h2 span,
html body.light-mode #tab-home .oz-dash-hero h2 span {
  color: #F3C877 !important;
}
html body #tab-home .oz-dash-hero-copy > p:last-child,
html body.light-mode #tab-home .oz-dash-hero-copy > p:last-child {
  margin: 0.4rem 0 0 !important;
  color: #FFFFFF !important;
  font-size: 0.86rem !important;
  max-width: 22rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
#tab-home .oz-dash-reward {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  background: linear-gradient(145deg, #f8e7b0 0%, #D6A843 100%);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: #14243B;
  max-width: 100%;
  width: min(18rem, 100%);
}
#tab-home .oz-dash-reward > i {
  display: block;
  color: #8a6410;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
#tab-home .oz-dash-reward > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4a3a12 !important;
}
html body #tab-home .oz-dash-reward strong,
html body.light-mode #tab-home .oz-dash-reward strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1.1;
  color: #14243B !important;
  font-weight: 900;
}
html body #tab-home .oz-dash-reward em,
html body.light-mode #tab-home .oz-dash-reward em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a3a12 !important;
  margin-bottom: 0.7rem;
}
#tab-home .oz-new-referral-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: #14243B !important;
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
}

/* Home hero — Android app download (center); website only */
html.oz-native-app #tab-home .oz-dash-app,
body.oz-native-app #tab-home .oz-dash-app,
#tab-home .oz-dash-app[hidden] {
  display: none !important;
}
#tab-home .oz-dash-app {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  width: min(22rem, 100%);
  padding: 1rem 1.05rem 0.95rem;
  border-radius: 1.05rem;
  background:
    linear-gradient(155deg, rgba(20, 36, 59, 0.72) 0%, rgba(10, 18, 38, 0.55) 100%);
  border: 1px solid rgba(243, 200, 119, 0.45);
  box-shadow:
    0 12px 36px -16px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
#tab-home .oz-dash-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.18);
  border: 1px solid rgba(61, 220, 132, 0.45);
  color: #9dffc2 !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#tab-home .oz-dash-app-badge i {
  font-size: 0.85rem;
  color: #3ddc84;
}
html body #tab-home .oz-dash-app h3,
html body.light-mode #tab-home .oz-dash-app h3 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 1.12rem !important;
  font-weight: 900 !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
html body #tab-home .oz-dash-app-lead,
html body.light-mode #tab-home .oz-dash-app-lead {
  margin: 0.3rem 0 0.75rem !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.8rem !important;
  line-height: 1.35;
}
#tab-home .oz-dash-app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe7a8 0%, #f3c877 42%, #d6a843 100%);
  color: #14243b !important;
  font-weight: 900;
  font-size: 0.88rem;
  text-decoration: none !important;
  box-shadow: 0 8px 20px -10px rgba(214, 168, 67, 0.9);
  transition: transform 0.15s ease, filter 0.15s ease;
}
#tab-home .oz-dash-app-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
#tab-home .oz-dash-app-cta:active {
  transform: translateY(0);
}
#tab-home .oz-dash-app-howto {
  margin-top: 0.7rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
#tab-home .oz-dash-app-howto > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f3c877 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
#tab-home .oz-dash-app-howto > summary::-webkit-details-marker {
  display: none;
}
#tab-home .oz-dash-app-howto > summary span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.7rem;
}
#tab-home .oz-dash-app-howto > summary::after {
  content: "▼";
  font-size: 0.58rem;
  color: #f3c877;
  transition: transform 0.15s ease;
}
#tab-home .oz-dash-app-howto[open] > summary::after {
  transform: rotate(180deg);
}
#tab-home .oz-dash-app-howto ol {
  margin: 0;
  padding: 0 0.75rem 0.7rem 1.35rem;
  display: grid;
  gap: 0.4rem;
}
html body #tab-home .oz-dash-app-howto li,
html body.light-mode #tab-home .oz-dash-app-howto li {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.72rem;
  line-height: 1.4;
}
#tab-home .oz-dash-app-howto li strong {
  color: #ffe7a8 !important;
}
#tab-home .oz-dash-app-howto li em {
  font-style: normal;
  font-weight: 700;
  color: #fff !important;
}
html body #tab-home .oz-dash-app-tip,
html body.light-mode #tab-home .oz-dash-app-tip {
  margin: 0 0.7rem 0.7rem !important;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(243, 200, 119, 0.12);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.68rem !important;
  line-height: 1.35;
}
html body #tab-home .oz-dash-app-ios,
html body.light-mode #tab-home .oz-dash-app-ios {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.65rem 0 0 !important;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.74rem !important;
  font-weight: 700;
}
#tab-home .oz-dash-app-ios i {
  font-size: 0.95rem;
}
#tab-home .oz-dash-app-ios em {
  font-style: normal;
  color: #f3c877 !important;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

#tab-home .oz-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.05rem;
}
#tab-home .oz-stat-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1rem;
  padding: 0.9rem 0.95rem;
  text-align: left;
  box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.35);
  cursor: pointer;
}
#tab-home .oz-stat-card .oz-stat-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}
#tab-home .oz-stat-card .oz-stat-icon.blue { background: #eff6ff; color: #2563eb; }
#tab-home .oz-stat-card .oz-stat-icon.green { background: #ecfdf5; color: #059669; }
#tab-home .oz-stat-card .oz-stat-icon.purple { background: #f5f3ff; color: #7c3aed; }
#tab-home .oz-stat-card .oz-stat-icon.gold { background: #fff7e8; color: #D6A843; }
#tab-home .oz-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #14243B !important;
  line-height: 1.1;
}
#tab-home .oz-stat-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  color: #64748b !important;
  font-weight: 700;
}
#tab-home .oz-stat-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #94a3b8 !important;
}
@media (min-width: 1024px) {
  html body #tab-home .oz-dash-hero,
  html body.light-mode #tab-home .oz-dash-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 17.5rem;
    padding: 1.75rem 2rem;
    /* Desktop: full banner; navy left panel already carries the copy */
    background:
      url("/heroes/olympuz-home-hero.jpg") center / cover no-repeat !important;
  }
  #tab-home .oz-dash-kicker,
  html body #tab-home .oz-dash-hero h2,
  html body.light-mode #tab-home .oz-dash-hero h2,
  html body #tab-home .oz-dash-hero-copy > p:last-child,
  html body.light-mode #tab-home .oz-dash-hero-copy > p:last-child {
    text-shadow: none;
  }
  #tab-home .oz-dash-hero-copy {
    max-width: 30%;
    flex: 1 1 0;
    position: relative;
    z-index: 2;
  }
  #tab-home .oz-dash-hero h2 {
    font-size: 2.05rem !important;
    max-width: 22rem;
  }
  #tab-home .oz-dash-app {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    width: min(20.5rem, 34%);
    max-width: 20.5rem;
    z-index: 3;
  }
  #tab-home .oz-dash-reward {
    margin-top: 0;
    margin-left: auto;
    min-width: 14.5rem;
    width: auto;
    max-width: 17rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }
  #tab-home .oz-stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }
  #tab-home .oz-stat-card {
    position: relative;
    min-height: 7.5rem;
    padding: 1.05rem 1.1rem;
  }
  #tab-home .oz-stat-card .oz-stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
  }
  #tab-home .oz-stat-value { font-size: 1.55rem; }
}

#tab-home .oz-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
#tab-home .oz-section-head h3 {
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #14243B !important;
}
#tab-home .oz-section-head h3 i {
  color: #D6A843;
  margin-right: 0.3rem;
}
#tab-home .oz-section-head a,
#tab-home .oz-section-head button.linkish {
  background: none;
  border: 0;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

#tab-home .oz-qa-list {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px -14px rgba(20,36,59,0.35);
}
#tab-home .oz-qa-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 0;
  border-bottom: 1px solid #eef2f6;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
#tab-home .oz-qa-item:last-child { border-bottom: 0; }
#tab-home .oz-qa-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#tab-home .oz-qa-icon.amber { background: #fff7e8; color: #d97706; }
#tab-home .oz-qa-icon.purple { background: #f3e8ff; color: #7c3aed; }
#tab-home .oz-qa-icon.green { background: #ecfdf5; color: #059669; }
#tab-home .oz-qa-icon.pink { background: #fdf2f8; color: #db2777; }
#tab-home .oz-qa-icon.blue { background: #eff6ff; color: #2563eb; }
#tab-home .oz-qa-icon.navy { background: #e8eef6; color: #14243B; }

#tab-home .oz-qa-toggle-less { display: none; }
#tab-home #oz-qa-toggle.is-expanded .oz-qa-toggle-more { display: none; }
#tab-home #oz-qa-toggle.is-expanded .oz-qa-toggle-less { display: inline; }

#tab-home #oz-qa-primary {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#tab-home #oz-qa-primary.is-collapsed {
  display: none;
}

#tab-home .oz-qa-expanded {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-0.35rem);
  transition: max-height 0.32s ease, opacity 0.28s ease, transform 0.28s ease;
  margin-bottom: 0;
}
#tab-home .oz-qa-expanded.is-open {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 1.15rem;
}
#tab-home .oz-qa-expanded-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #14243B;
}
#tab-home .oz-qa-expanded-head i { color: #2563eb; }
#tab-home .oz-qa-all-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
#tab-home .oz-qa-all-grid .oz-qa-card {
  display: block;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.1rem;
  padding: 1.05rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 18px -14px rgba(20,36,59,0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
#tab-home .oz-qa-all-grid .oz-qa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(20,36,59,0.4);
}
#tab-home .oz-qa-all-grid .oz-qa-card h4 {
  margin: 0.7rem 0 0.25rem !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #14243B !important;
  line-height: 1.25;
}
#tab-home .oz-qa-all-grid .oz-qa-card p {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  line-height: 1.35;
}
@media (min-width: 640px) {
  #tab-home .oz-qa-all-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  #tab-home .oz-qa-all-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
}
#tab-home .oz-qa-copy { flex: 1; min-width: 0; }
#tab-home .oz-qa-copy strong {
  display: block;
  color: #14243B;
  font-size: 0.9rem;
  font-weight: 750;
}
#tab-home .oz-qa-copy span {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}
#tab-home .oz-qa-item > i.fa-chevron-right {
  color: #cbd5e1;
  font-size: 0.75rem;
}

#tab-home .oz-qa-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
#tab-home .oz-qa-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 2.4rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.35);
  overflow: hidden;
}
#tab-home .oz-qa-card h4 {
  margin: 0.75rem 0 0.25rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #14243B !important;
}
#tab-home .oz-qa-card p {
  margin: 0 !important;
  font-size: 0.8rem !important;
  color: #64748b !important;
}
#tab-home .oz-qa-card .oz-qa-go {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #14243B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
@media (min-width: 1024px) {
  #tab-home .oz-qa-list { display: none !important; }
  #tab-home .oz-qa-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#tab-home .oz-updates-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.35);
}
#tab-home .oz-updates-card .oz-updates-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #D6A843;
  color: #14243B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#tab-home .oz-updates-card strong {
  display: block;
  color: #14243B !important;
  font-size: 0.95rem;
  font-weight: 800;
}
#tab-home .oz-updates-card span {
  display: block;
  margin-top: 0.15rem;
  color: #64748b !important;
  font-size: 0.8rem;
  line-height: 1.4;
}
#tab-home .oz-updates-btn {
  margin-left: auto;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #14243B !important;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 1023px) {
  #tab-home .oz-updates-card {
    flex-wrap: wrap;
  }
  #tab-home .oz-updates-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 0.15rem;
  }
}

#oz-bottom-nav.oz-bottom-nav button.is-active {
  color: #14243B;
  background: transparent;
}
#oz-bottom-nav.oz-bottom-nav button.is-active i {
  color: #14243B;
}

.oz-only-desktop { display: none !important; }
.oz-only-mobile { display: block !important; }
span.oz-only-desktop,
span.oz-only-mobile { display: none !important; }
#tab-home .oz-stat-card .oz-stat-label.oz-only-mobile { display: block !important; }
#tab-home .oz-stat-card .oz-stat-label.oz-only-desktop { display: none !important; }
#tab-home .oz-home-sub-desktop { display: none !important; }
#tab-home .oz-home-sub-mobile { display: block !important; }
#tab-home .oz-updates-card strong.oz-only-mobile,
#tab-home .oz-updates-card span.oz-only-mobile { display: block !important; }
#tab-home .oz-updates-card strong.oz-only-desktop,
#tab-home .oz-updates-card span.oz-only-desktop { display: none !important; }
@media (min-width: 1024px) {
  .oz-only-desktop { display: block !important; }
  .oz-only-mobile { display: none !important; }
  span.oz-only-desktop { display: inline !important; }
  span.oz-only-mobile { display: none !important; }
  #tab-home .oz-stat-card.oz-only-desktop { display: block !important; }
  #tab-home .oz-stat-card.oz-only-mobile { display: none !important; }
  #tab-home .oz-stat-card .oz-stat-label.oz-only-desktop { display: block !important; }
  #tab-home .oz-stat-card .oz-stat-label.oz-only-mobile { display: none !important; }
  #tab-home .oz-home-sub-desktop { display: block !important; }
  #tab-home .oz-home-sub-mobile { display: none !important; }
  #tab-home .oz-updates-card strong.oz-only-desktop,
  #tab-home .oz-updates-card span.oz-only-desktop { display: block !important; }
  #tab-home .oz-updates-card strong.oz-only-mobile,
  #tab-home .oz-updates-card span.oz-only-mobile { display: none !important; }
}

/* --- My Referrals mobile mockup --- */
.oz-myref-mobile-hero { display: none; }
.oz-myref-desktop-banner { display: block; }
.my-ref-stat {
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
}
.my-ref-stat-icon,
.my-ref-stat-chevron,
.my-ref-stat-copy { display: none; }
.my-ref-search-wrap,
.my-ref-filter-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: block;
}
.my-ref-search-wrap > i,
.my-ref-filter-wrap > i:not(.my-ref-filter-caret) {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.78rem;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
  margin: 0;
}
.my-ref-filter-caret {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.7rem;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
  margin: 0;
}
.my-ref-search-wrap input,
.my-ref-filter-wrap select {
  width: 100%;
  padding-left: 2.35rem !important;
  padding-right: 2.1rem !important;
  box-sizing: border-box;
}

.my-ref-row-top { display: flex; gap: 0.75rem; align-items: flex-start; }
.my-ref-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.85rem;
}
.my-ref-avatar.tone-pending { background: #dbeafe; color: #2563eb; }
.my-ref-avatar.tone-validated { background: #d1fae5; color: #059669; }
.my-ref-avatar.tone-duplicate { background: #ffe4e6; color: #e11d48; }
.my-ref-avatar.tone-invalid { background: #e2e8f0; color: #64748b; }
.my-ref-row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.55rem;
}
.my-ref-status i { margin-right: 0.25rem; font-size: 0.7rem; }
.my-ref-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}
.my-ref-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #64748b !important;
  line-height: 1.35;
}
.my-ref-facts i {
  width: 0.85rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.68rem;
}
.my-ref-row-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f6;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b !important;
}
.my-ref-row-foot.is-paid { color: #059669 !important; }
.my-ref-row-foot.is-paid i { color: #059669; }

@media (max-width: 1023px) {
  #tab-my-referrals .oz-myref-mobile-hero {
    display: block;
    margin: 0 0 0.85rem;
  }
  #tab-my-referrals .oz-myref-desktop-banner { display: none !important; }
  #tab-my-referrals .oz-myref-title {
    margin: 0 !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
    letter-spacing: -0.02em;
  }
  #tab-my-referrals .oz-myref-sub {
    margin: 0.25rem 0 0.85rem !important;
    font-size: 0.9rem !important;
    color: #64748b !important;
  }
  #tab-my-referrals .oz-myref-reward-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(110deg, #14243B 0%, #1c3354 55%, #2a4060 100%);
    color: #ffffff !important;
    border-radius: 1rem;
    padding: 0.95rem 1.1rem;
    font-weight: 750;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px -16px rgba(20, 36, 59, 0.55);
    position: relative;
    overflow: hidden;
  }
  html body #tab-my-referrals .oz-myref-reward-banner,
  html body #tab-my-referrals .oz-myref-reward-banner > span:not(.oz-myref-coins),
  html body.light-mode #tab-my-referrals .oz-myref-reward-banner,
  html body.light-mode #tab-my-referrals .oz-myref-reward-banner > span:not(.oz-myref-coins) {
    color: #ffffff !important;
  }
  html body #tab-my-referrals .oz-myref-reward-banner .oz-myref-coins,
  html body.light-mode #tab-my-referrals .oz-myref-reward-banner .oz-myref-coins {
    color: #D6A843 !important;
  }
  #tab-my-referrals .oz-myref-reward-banner::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: -40%;
    width: 7rem;
    height: 180%;
    background: radial-gradient(circle, rgba(214,168,67,0.35) 0%, transparent 70%);
    pointer-events: none;
  }
  #tab-my-referrals .oz-myref-coins {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(214, 168, 67, 0.2);
    color: #D6A843;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  #tab-my-referrals .oz-myref-refer-here {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.75rem;
    border: 0;
    border-radius: 0.85rem;
    background: #D6A843;
    color: #14243B !important;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
  }
  #tab-my-referrals .oz-myref-refer-here i {
    font-size: 0.75rem;
  }

  #tab-my-referrals .my-ref-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
    margin-bottom: 1rem;
  }
  #tab-my-referrals .my-ref-stat {
    display: flex !important;
    align-items: center;
    gap: 0.65rem;
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 1rem !important;
    padding: 0.85rem 0.75rem !important;
    box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.3) !important;
    color: #14243B !important;
    min-height: 4.5rem;
  }
  #tab-my-referrals .my-ref-stat.is-total { background: #eff6ff !important; border-color: #dbeafe !important; }
  #tab-my-referrals .my-ref-stat.is-pending { background: #fffbeb !important; border-color: #fde68a !important; }
  #tab-my-referrals .my-ref-stat.is-validated { background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
  #tab-my-referrals .my-ref-stat.is-duplicate { background: #fff1f2 !important; border-color: #fecdd3 !important; }
  #tab-my-referrals .my-ref-stat.is-active-filter {
    box-shadow: 0 0 0 2px rgba(20, 36, 59, 0.18), 0 6px 18px -14px rgba(20, 36, 59, 0.3) !important;
  }
  #tab-my-referrals .my-ref-stat-icon {
    display: inline-flex !important;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
  }
  #tab-my-referrals .my-ref-stat.is-total .my-ref-stat-icon { background: #dbeafe; color: #2563eb; }
  #tab-my-referrals .my-ref-stat.is-pending .my-ref-stat-icon { background: #fef3c7; color: #d97706; }
  #tab-my-referrals .my-ref-stat.is-validated .my-ref-stat-icon { background: #d1fae5; color: #059669; }
  #tab-my-referrals .my-ref-stat.is-duplicate .my-ref-stat-icon { background: #ffe4e6; color: #e11d48; }
  #tab-my-referrals .my-ref-stat-copy {
    display: flex !important;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
  }
  #tab-my-referrals .my-ref-stat-label {
    margin: 0 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 650 !important;
    color: #64748b !important;
  }
  #tab-my-referrals .my-ref-stat-value,
  #tab-my-referrals .my-ref-stat-value.is-amber,
  #tab-my-referrals .my-ref-stat-value.is-green,
  #tab-my-referrals .my-ref-stat-value.is-rose {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
  }
  #tab-my-referrals .my-ref-stat-chevron {
    display: inline-block !important;
    color: #cbd5e1;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  #tab-my-referrals .oz-myref-list-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  #tab-my-referrals .oz-myref-list-head {
    background: transparent !important;
    border: 0 !important;
    padding: 0.25rem 0.15rem 0.65rem !important;
  }
  #tab-my-referrals .oz-myref-list-head h3 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
  }
  #tab-my-referrals .oz-myref-list-head h3 i { display: none; }
  #tab-my-referrals .my-ref-toolbar {
    padding: 0 0.15rem 0.75rem !important;
  }
  #tab-my-referrals .my-ref-toolbar-row {
    flex-direction: column !important;
    gap: 0.65rem !important;
  }
  #tab-my-referrals .my-ref-toolbar input,
  #tab-my-referrals .my-ref-toolbar select {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.9rem !important;
    min-height: 2.85rem;
    box-shadow: 0 4px 14px -12px rgba(20, 36, 59, 0.35);
  }
  #tab-my-referrals .my-ref-toolbar-note {
    margin-top: 0.75rem !important;
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
  }
  #tab-my-referrals .my-ref-list {
    padding: 0.15rem 0 5.5rem !important;
    gap: 0.75rem !important;
  }
  #tab-my-referrals .my-ref-row {
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 1rem !important;
    box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.3) !important;
    padding: 1rem !important;
    gap: 0 !important;
  }
  #tab-my-referrals .my-ref-row h4 {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
  }
  #tab-my-referrals .my-ref-empty {
    background: #fff !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 1rem !important;
  }
  #oz-bottom-nav.oz-bottom-nav button.is-active {
    color: #14243B;
    position: relative;
  }
  #oz-bottom-nav.oz-bottom-nav button.is-active::after {
    content: "";
    position: absolute;
    left: 28%;
    right: 28%;
    bottom: 0.15rem;
    height: 3px;
    border-radius: 999px;
    background: #D6A843;
  }
}

.oz-myref-desk-top,
.oz-myref-desk-only,
.oz-myref-list-title-desk,
.oz-sidebar-collapse-btn,
.oz-sidebar-expand-btn,
.oz-sidebar-rail-toggle,
.oz-global-search-wrap,
.my-ref-stat-hint { display: none; }
.oz-myref-list-title-mobile { display: block; }
.oz-myref-mobile-list { display: grid; }
.oz-myref-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 0.15rem 0.25rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 650;
}
.oz-myref-pager-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.oz-myref-pager-controls button {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #14243B;
  cursor: pointer;
}
.oz-myref-pager-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.oz-myref-page-num {
  min-width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: #14243B;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}
.oz-page-toolbar-lead {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.oz-myref-view-panel {
  width: min(32rem, 100%);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e8edf3;
  box-shadow: 0 24px 48px -24px rgba(20, 36, 59, 0.45);
  overflow: hidden;
}
.oz-myref-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #eef2f6;
}
.oz-myref-view-head h3 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #14243B !important;
}
.oz-myref-view-head button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #14243B;
  cursor: pointer;
}
.oz-myref-view-body {
  padding: 1rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #475569;
}
.oz-myref-view-body strong { color: #14243B; }

@media (min-width: 1024px) {
  #tab-my-referrals .oz-myref-mobile-hero { display: none !important; }
  #tab-my-referrals .my-referrals-board {
    max-width: none !important;
    width: 100%;
  }
  #dashboard-screen[data-oz-tab="my-referrals"] #oz-page-toolbar .oz-page-toolbar-lead > div {
    display: none;
  }
  .oz-myref-desk-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .oz-myref-desk-titles h2 {
    margin: 0 !important;
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
    letter-spacing: -0.02em;
  }
  .oz-myref-desk-titles p {
    margin: 0.2rem 0 0 !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
  }
  .oz-myref-desk-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(110deg, #14243B 0%, #1c3354 100%);
    color: #fff;
    border-radius: 0.95rem;
    padding: 0.7rem 0.75rem 0.7rem 0.9rem;
    max-width: 34rem;
    flex: 1;
  }
  .oz-myref-desk-cta-copy {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #ffffff !important;
  }
  .oz-myref-desk-cta-copy strong { color: #ffffff !important; font-weight: 800; }
  .oz-myref-desk-cta-rest { color: rgba(255, 255, 255, 0.9) !important; font-weight: 600; }
  .oz-myref-keep-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 0.7rem;
    background: #D6A843;
    color: #14243B;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    white-space: nowrap;
  }
  .oz-myref-desk-only { display: block !important; }
  button.oz-myref-export-btn.oz-myref-desk-only { display: inline-flex !important; }
  .oz-myref-list-title-desk { display: block !important; }
  .oz-myref-list-title-mobile { display: none !important; }
  .oz-myref-mobile-list { display: none !important; }

  #tab-my-referrals .my-ref-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    margin-bottom: 1rem;
  }
  #tab-my-referrals .my-ref-stat {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    box-shadow: 0 6px 18px -14px rgba(20, 36, 59, 0.28) !important;
    color: #14243B !important;
    min-height: 5.5rem;
    text-align: left;
  }
  #tab-my-referrals .my-ref-stat-chevron { display: none !important; }
  #tab-my-referrals .my-ref-stat-icon {
    display: inline-flex !important;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
  }
  #tab-my-referrals .my-ref-stat.is-total .my-ref-stat-icon { background: #dbeafe; color: #2563eb; }
  #tab-my-referrals .my-ref-stat.is-pending .my-ref-stat-icon { background: #ffedd5; color: #ea580c; }
  #tab-my-referrals .my-ref-stat.is-validated .my-ref-stat-icon { background: #d1fae5; color: #059669; }
  #tab-my-referrals .my-ref-stat.is-duplicate .my-ref-stat-icon { background: #ffe4e6; color: #e11d48; }
  #tab-my-referrals .my-ref-stat-copy { display: flex !important; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
  #tab-my-referrals .my-ref-stat-label {
    margin: 0 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 700 !important;
    color: #64748b !important;
  }
  #tab-my-referrals .my-ref-stat-value,
  #tab-my-referrals .my-ref-stat-value.is-amber,
  #tab-my-referrals .my-ref-stat-value.is-green,
  #tab-my-referrals .my-ref-stat-value.is-rose {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
  }
  #tab-my-referrals .my-ref-stat-hint {
    display: block !important;
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
  }
  #tab-my-referrals .my-ref-stat.is-active-filter {
    box-shadow: 0 0 0 2px rgba(20, 36, 59, 0.14), 0 6px 18px -14px rgba(20, 36, 59, 0.28) !important;
  }

  #tab-my-referrals .oz-myref-list-card {
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 1.1rem !important;
    box-shadow: 0 8px 24px -18px rgba(20, 36, 59, 0.35) !important;
    padding: 1rem 1.1rem 0.85rem !important;
  }
  #tab-my-referrals .oz-myref-list-head {
    padding: 0.15rem 0.1rem 0.75rem !important;
    background: transparent !important;
    border: 0 !important;
  }
  #tab-my-referrals .oz-myref-list-head h3 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #14243B !important;
  }
  #tab-my-referrals .my-ref-toolbar { padding: 0 0 0.85rem !important; }
  #tab-my-referrals .my-ref-toolbar-row {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem !important;
  }
  #tab-my-referrals .my-ref-search-wrap {
    flex: 1 1 14rem;
    min-width: 12rem;
  }
  #tab-my-referrals .my-ref-filter-wrap {
    flex: 0 1 auto;
    width: 11.5rem;
    min-width: 10.5rem;
  }
  #tab-my-referrals .my-ref-filter-wrap:has(#my-referrals-partner-filter) {
    width: 13.5rem;
    min-width: 12.5rem;
  }
  #tab-my-referrals .my-ref-filter-wrap:has(#my-referrals-date-filter) {
    width: 10.5rem;
    min-width: 9.75rem;
  }
  #tab-my-referrals .my-ref-toolbar input,
  #tab-my-referrals .my-ref-toolbar select {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    min-height: 2.6rem;
    appearance: none;
    -webkit-appearance: none;
  }
  .oz-myref-export-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #14243B;
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 750;
    cursor: pointer;
    min-height: 2.6rem;
    white-space: nowrap;
  }
  .oz-myref-table-wrap {
    display: block !important;
    width: 100%;
    overflow-x: auto;
    border: 1px solid #eef2f6;
    border-radius: 0.85rem;
  }
  .oz-myref-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
  }
  .oz-myref-table th {
    text-align: left;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid #e8edf3;
    white-space: nowrap;
  }
  .oz-myref-table td {
    padding: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    font-size: 0.8rem;
    color: #475569;
  }
  .oz-myref-table tr:last-child td { border-bottom: 0; }
  .oz-myref-applicant-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }
  .oz-myref-applicant-cell strong {
    color: #14243B;
    font-weight: 800;
  }
  .oz-myref-initials {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    background: #e2e8f0;
    color: #475569;
  }
  .oz-myref-initials.tone-pending { background: #dbeafe; color: #1d4ed8; }
  .oz-myref-initials.tone-validated { background: #d1fae5; color: #047857; }
  .oz-myref-initials.tone-duplicate { background: #ffe4e6; color: #be123c; }
  .oz-myref-initials.tone-invalid { background: #e2e8f0; color: #64748b; }
  .oz-myref-stack {
    display: grid;
    gap: 0.25rem;
  }
  .oz-myref-stack span {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.35rem;
    color: #334155 !important;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .oz-myref-stack .oz-myref-primary,
  .oz-myref-stack .oz-myref-partners {
    color: #14243B !important;
    font-weight: 650;
  }
  .oz-myref-stack i { width: 0.85rem; text-align: center; color: #64748b !important; font-size: 0.68rem; margin-top: 0.15rem; flex-shrink: 0; }
  #tab-my-referrals .oz-myref-table .my-ref-status {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem;
    white-space: nowrap;
    padding: 0.28rem 0.65rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.2;
  }
  #tab-my-referrals .oz-myref-table .my-ref-status i {
    margin: 0 !important;
    font-size: 0.72rem !important;
    width: auto;
  }
  #tab-my-referrals .oz-myref-table .my-ref-status span {
    color: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
  }
  #tab-my-referrals .oz-myref-table .my-ref-status-pending {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
  }
  #tab-my-referrals .oz-myref-table .my-ref-status-validated {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #6ee7b7 !important;
  }
  #tab-my-referrals .oz-myref-table .my-ref-status-duplicate {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #fda4af !important;
  }
  #tab-my-referrals .oz-myref-table .my-ref-status-invalid {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
  }
  .oz-myref-actions { display: flex; align-items: center; gap: 0.35rem; }
  .oz-myref-view-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #14243B;
    border-radius: 0.65rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 750;
    cursor: pointer;
  }
  .oz-global-search-wrap {
    display: none !important;
  }
  .oz-global-search-wrap i { color: #94a3b8; font-size: 0.75rem; }
  .oz-global-search-wrap input {
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.8rem;
    color: #14243B;
    width: 9rem;
  }
  html body #oz-affiliate-sidebar .oz-sidebar-collapse-btn {
    display: inline-flex !important;
    margin-left: auto;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }
  html body #oz-affiliate-sidebar .oz-sidebar-collapse-btn i {
    display: block;
    line-height: 1;
    font-size: 0.78rem;
  }
  /* Rail expand control — only on collapsed sidebar icon grid */
  html body #oz-affiliate-sidebar .oz-sidebar-rail-toggle {
    display: none !important;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar {
    width: 4.35rem !important;
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed .oz-content-column {
    margin-left: 4.35rem !important;
    width: calc(100% - 4.35rem) !important;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-brand-text,
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-label,
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-help,
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-collapse-btn {
    display: none !important;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-brand {
    justify-content: center;
    padding: 0.35rem 0.25rem 0.55rem;
    margin-bottom: 0.15rem;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-brand img {
    width: 2.15rem;
    height: 2.15rem;
  }
  /* Expand sits on the same icon grid as nav items */
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-rail-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.55rem;
    margin: 0 0 0.35rem;
    padding: 0.7rem 0.4rem;
    border: 0;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fde68a !important;
    cursor: pointer;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-rail-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-sidebar-rail-toggle i {
    display: block;
    line-height: 1;
    font-size: 0.95rem;
    margin: 0;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-nav-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.4rem !important;
    font-size: 0 !important;
    gap: 0 !important;
  }
  html body #dashboard-screen.oz-shell-ready.oz-sidebar-collapsed #oz-affiliate-sidebar .oz-nav-link i {
    display: block;
    font-size: 0.95rem !important;
    margin: 0;
    width: auto;
    line-height: 1;
    color: rgba(255,255,255,0.8) !important;
  }
  /* Legacy toolbar expand — never float outside the sidebar */
  .oz-sidebar-expand-btn { display: none !important; }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  #tab-my-referrals .my-ref-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .oz-myref-desk-top { flex-direction: column; align-items: stretch; }
  .oz-myref-desk-cta { max-width: none; }
}

/* Notifications popover */
.oz-notif-wrap {
  position: relative;
  display: inline-flex;
}
.oz-notif-bell {
  position: relative;
}
.oz-notif-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #c9a227;
  color: #14243B;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
  border: 2px solid #fff;
  pointer-events: none;
}
.oz-notif-panel {
  position: fixed;
  top: 4.1rem;
  right: 0.75rem;
  z-index: 80;
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(28rem, calc(100vh - 5.5rem));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(20, 36, 59, 0.16);
  overflow: hidden;
}
.oz-notif-panel.hidden {
  display: none !important;
}
.oz-notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc;
}
.oz-notif-panel-head strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #14243B;
}
.oz-notif-mark-all {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
}
.oz-notif-mark-all:hover {
  color: #14243B;
}
.oz-notif-list {
  overflow-y: auto;
  padding: 0.35rem;
}
.oz-notif-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}
.oz-notif-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 0.75rem;
  padding: 0.7rem 0.65rem;
  cursor: pointer;
  position: relative;
}
.oz-notif-item:hover {
  background: #f1f5f9;
}
.oz-notif-item.is-new {
  background: rgba(201, 162, 39, 0.08);
}
.oz-notif-item.is-new:hover {
  background: rgba(201, 162, 39, 0.14);
}
.oz-notif-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  background: #eef2f7;
  color: #14243B;
}
.oz-notif-icon.tone-green { background: #ecfdf5; color: #047857; }
.oz-notif-icon.tone-blue { background: #eff6ff; color: #1d4ed8; }
.oz-notif-icon.tone-pink { background: #fdf2f8; color: #be185d; }
.oz-notif-icon.tone-gold { background: #fef9e7; color: #a16207; }
.oz-notif-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.oz-notif-copy strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: #14243B;
  line-height: 1.25;
}
.oz-notif-copy span {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}
.oz-notif-copy em {
  font-style: normal;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}
.oz-notif-dot {
  position: absolute;
  top: 0.85rem;
  right: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #c9a227;
}
@media (min-width: 1024px) {
  .oz-notif-panel {
    top: 5.35rem;
    right: 2rem;
  }
}

/* Dispute / Earnings & Hire Validation */
#tab-payout-30th.oz-dispute {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: none;
  width: 100%;
}
html body #tab-payout-30th .oz-dispute-hero,
html body.light-mode #tab-payout-30th .oz-dispute-hero {
  background: linear-gradient(125deg, #102038 0%, #14243B 45%, #1c3354 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 1.15rem;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 14px 28px -20px rgba(20, 36, 59, 0.65);
}
html body #tab-payout-30th .oz-dispute-hero h2,
html body.light-mode #tab-payout-30th .oz-dispute-hero h2,
html body #tab-payout-30th .oz-dispute-balance strong,
html body.light-mode #tab-payout-30th .oz-dispute-balance strong,
html body #tab-payout-30th .oz-dispute-btn.is-outline,
html body.light-mode #tab-payout-30th .oz-dispute-btn.is-outline,
html body #tab-payout-30th .oz-dispute-btn.is-outline i,
html body.light-mode #tab-payout-30th .oz-dispute-btn.is-outline i {
  color: #ffffff !important;
}
html body #tab-payout-30th .oz-dispute-hero p,
html body.light-mode #tab-payout-30th .oz-dispute-hero p {
  color: rgba(255, 255, 255, 0.88) !important;
}
#tab-payout-30th .oz-dispute-hero-top {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
#tab-payout-30th .oz-dispute-hero-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: rgba(214, 168, 67, 0.22);
  color: #D6A843 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#tab-payout-30th .oz-dispute-hero h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  line-height: 1.25;
}
#tab-payout-30th .oz-dispute-hero p {
  margin: 0.2rem 0 0 !important;
  font-size: 0.8rem !important;
  line-height: 1.35;
}
#tab-payout-30th .oz-dispute-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
html body #tab-payout-30th .oz-dispute-balance-kicker,
html body.light-mode #tab-payout-30th .oz-dispute-balance-kicker {
  display: block;
  color: #D6A843 !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#tab-payout-30th .oz-dispute-balance strong {
  display: block;
  color: #fff !important;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 800;
  margin-top: 0.12rem;
}
html body #tab-payout-30th .oz-dispute-balance em,
html body.light-mode #tab-payout-30th .oz-dispute-balance em,
html body #tab-payout-30th .oz-dispute-balance em span,
html body.light-mode #tab-payout-30th .oz-dispute-balance em span {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.78rem;
}
#tab-payout-30th .oz-dispute-balance-mark {
  font-size: 2.2rem;
  color: rgba(214, 168, 67, 0.9) !important;
  flex-shrink: 0;
}
#tab-payout-30th .oz-dispute-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
#tab-payout-30th .oz-dispute-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  border-radius: 0.8rem;
  padding: 0.78rem 0.9rem;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}
#tab-payout-30th .oz-dispute-btn .fa-chevron-right { margin-left: auto; font-size: 0.7rem; }
html body #tab-payout-30th .oz-dispute-btn.is-gold,
html body.light-mode #tab-payout-30th .oz-dispute-btn.is-gold,
html body #tab-payout-30th .oz-dispute-btn.is-gold i,
html body.light-mode #tab-payout-30th .oz-dispute-btn.is-gold i {
  background: #D6A843 !important;
  color: #14243B !important;
  border: 0 !important;
}
html body #tab-payout-30th .oz-dispute-btn.is-outline,
html body.light-mode #tab-payout-30th .oz-dispute-btn.is-outline {
  background: rgba(214, 168, 67, 0.08) !important;
  color: #fff !important;
  border: 1.5px solid #D6A843 !important;
}
#tab-payout-30th .oz-dispute-btn.is-compact {
  width: auto;
  margin-top: 0.35rem;
  padding: 0.65rem 0.9rem;
}
#tab-payout-30th .oz-dispute-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
#tab-payout-30th .oz-dispute-stat,
#tab-payout-30th .oz-dispute-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 1rem;
  box-shadow: 0 8px 20px -18px rgba(20, 36, 59, 0.45);
}
#tab-payout-30th .oz-dispute-stat {
  padding: 0.75rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
#tab-payout-30th .oz-dispute-stat span:not(.oz-dispute-stat-icon) {
  color: #64748b !important;
  font-size: 0.72rem;
  font-weight: 700;
}
#tab-payout-30th .oz-dispute-stat strong {
  color: #14243B !important;
  font-size: 0.95rem;
}
#tab-payout-30th .oz-dispute-stat-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}
#tab-payout-30th .oz-dispute-stat-icon.is-green { background: #ecfdf5; color: #059669; }
#tab-payout-30th .oz-dispute-stat-icon.is-amber { background: #fff7ed; color: #d97706; }
#tab-payout-30th .oz-dispute-stat-icon.is-blue { background: #eff6ff; color: #2563eb; }
#tab-payout-30th .oz-dispute-card { padding: 0.9rem; }
#tab-payout-30th .oz-dispute-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
#tab-payout-30th .oz-dispute-card-title {
  display: flex;
  gap: 0.6rem;
  min-width: 0;
}
#tab-payout-30th .oz-dispute-card h3 {
  margin: 0 !important;
  color: #14243B !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}
#tab-payout-30th .oz-dispute-card-title p {
  margin: 0.1rem 0 0 !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
}
#tab-payout-30th .oz-dispute-count {
  flex-shrink: 0;
  background: #f1f5f9;
  color: #475569 !important;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
}
#tab-payout-30th .oz-dispute-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.65rem 0.5rem 0.25rem;
  color: #64748b;
}
#tab-payout-30th .oz-dispute-empty > i {
  font-size: 1.8rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
#tab-payout-30th .oz-dispute-empty strong { color: #14243B !important; font-size: 0.95rem; }
#tab-payout-30th .oz-dispute-empty span { font-size: 0.78rem; max-width: 22rem; }
#tab-payout-30th .oz-dispute-tools {
  display: flex;
  gap: 0.5rem;
  margin: 0.85rem 0 0.4rem;
}
#tab-payout-30th .oz-dispute-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0 0.7rem;
  color: #94a3b8;
}
#tab-payout-30th .oz-dispute-search input,
#tab-payout-30th .oz-dispute-filter {
  background: transparent !important;
  border: 0 !important;
  color: #14243B !important;
  font-size: 0.8rem !important;
  min-height: 2.4rem;
  width: 100%;
}
#tab-payout-30th .oz-dispute-filter {
  width: auto;
  max-width: 8.5rem;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  padding: 0 0.55rem !important;
  font-weight: 700;
}
#tab-payout-30th .oz-dispute-board,
#tab-payout-30th .oz-dispute-own-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.7rem;
}
#tab-payout-30th .oz-dispute-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #e8eef6;
  border-radius: 0.9rem;
  padding: 0.75rem;
}
#tab-payout-30th .oz-dispute-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #e8eefc;
  color: #1d4ed8 !important;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#tab-payout-30th .oz-dispute-row-main { flex: 1; min-width: 0; }
#tab-payout-30th .oz-dispute-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}
#tab-payout-30th .oz-dispute-row em {
  display: none;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  font-weight: 800;
}
#tab-payout-30th .oz-dispute-row strong {
  display: block;
  color: #14243B !important;
  font-size: 0.88rem;
}
#tab-payout-30th .oz-dispute-row-top > div > span {
  display: block;
  color: #64748b !important;
  font-size: 0.74rem;
  margin-top: 0.1rem;
}
#tab-payout-30th .oz-dispute-badge {
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}
#tab-payout-30th .oz-dispute-badge.valid { background: #ecfdf5; color: #047857 !important; }
#tab-payout-30th .oz-dispute-badge.pending { background: #fff7ed; color: #c2410c !important; }
#tab-payout-30th .oz-dispute-badge.invalid { background: #fff1f2; color: #be123c !important; }
#tab-payout-30th .oz-dispute-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.55rem;
}
#tab-payout-30th .oz-dispute-meta div { min-width: 0; }
#tab-payout-30th .oz-dispute-meta i { color: #94a3b8; font-size: 0.68rem; margin-right: 0.15rem; }
#tab-payout-30th .oz-dispute-meta span {
  display: block;
  color: #94a3b8 !important;
  font-size: 0.64rem;
}
#tab-payout-30th .oz-dispute-meta b {
  display: block;
  color: #14243B !important;
  font-size: 0.72rem;
  font-weight: 750;
}
#tab-payout-30th .oz-dispute-meta b.is-hold { color: #d97706 !important; }
#tab-payout-30th .oz-dispute-monitor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}
#tab-payout-30th .oz-dispute-monitor > i {
  display: block;
  margin: 0 0 0.1rem;
  color: #94a3b8 !important;
  font-size: 0.78rem;
}
#tab-payout-30th .oz-dispute-monitor > span {
  color: #94a3b8 !important;
  font-size: 0.64rem;
  font-weight: 600;
}
#tab-payout-30th .oz-dispute-monitor > b {
  color: #14243B !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}
#tab-payout-30th .oz-dispute-monitor.is-scout > b { color: #3730a3 !important; }
#tab-payout-30th .oz-dispute-monitor.is-affiliate > b { color: #14243B !important; }
#tab-payout-30th .oz-dispute-chevron { color: #cbd5e1; font-size: 0.75rem; }
#tab-payout-30th .oz-dispute-hold,
#tab-payout-30th .oz-dispute-artifact {
  margin: 0.4rem 0 0 !important;
  font-size: 0.7rem;
  color: #b45309 !important;
}
#tab-payout-30th .oz-dispute-pager {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
#tab-payout-30th .hire-val-page-btn {
  min-width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-weight: 700;
  font-size: 0.78rem;
}
#tab-payout-30th .hire-val-page-btn.is-active {
  background: #14243B;
  color: #fff;
  border-color: #14243B;
}
#tab-payout-30th .hire-val-page-btn:disabled { opacity: 0.4; cursor: default; }
#tab-payout-30th .oz-dispute-invoices h3 { color: #14243B !important; }
#tab-payout-30th .oz-dispute-invoices { color: #334155; }
@media (min-width: 1024px) {
  #tab-payout-30th .oz-dispute-hero {
    padding: 1.2rem 1.35rem 1.15rem;
  }
  #tab-payout-30th .oz-dispute-balance {
    margin-top: 0.75rem;
  }
  #tab-payout-30th .oz-dispute-balance-mark {
    font-size: 3rem;
  }
  #tab-payout-30th .oz-dispute-hero-actions {
    flex-direction: row;
    align-items: stretch;
    margin-top: 0.85rem;
    gap: 0.75rem;
  }
  #tab-payout-30th .oz-dispute-btn {
    width: auto;
    flex: 1 1 0;
    max-width: none;
  }
  #tab-payout-30th .oz-dispute-hero h2 { font-size: 1.4rem !important; }
  #tab-payout-30th .oz-dispute-avatar { display: none; }
  #tab-payout-30th .oz-dispute-row em { display: block; }
  #tab-payout-30th .oz-dispute-stat { padding: 1rem; }
  #tab-payout-30th .oz-dispute-stats { gap: 0.75rem; }
  #tab-payout-30th .oz-dispute-empty { padding: 1rem 0.75rem 0.5rem; }
}

/* My Earnings */
#tab-my-earnings.oz-earn {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 1100px;
}
#tab-my-earnings .oz-earn-desk-only { display: none !important; }
#tab-my-earnings .oz-earn-pending-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#tab-my-earnings .oz-earn-page-head {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.15rem;
}
#tab-my-earnings .oz-earn-page-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: #D6A843; color: #14243B;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tab-my-earnings .oz-earn-page-head h2 { margin: 0 !important; color: #14243B !important; font-size: 1.35rem !important; font-weight: 800 !important; }
#tab-my-earnings .oz-earn-page-head p { margin: 0.15rem 0 0 !important; color: #64748b !important; font-size: 0.82rem !important; }
html body #tab-my-earnings .oz-earn-hero,
html body.light-mode #tab-my-earnings .oz-earn-hero {
  background: #14243B !important; color: #fff !important; border: 1px solid rgba(214,168,67,0.55) !important;
  border-radius: 1.25rem; padding: 1.05rem 1.1rem; box-shadow: 0 12px 28px -18px rgba(20, 36, 59, 0.45);
}
html body #tab-my-earnings .oz-earn-hero strong,
html body.light-mode #tab-my-earnings .oz-earn-hero strong,
html body #tab-my-earnings .oz-earn-min,
html body.light-mode #tab-my-earnings .oz-earn-min { color: #fff !important; }
#tab-my-earnings .oz-earn-kicker { display: block; color: #D6A843 !important; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
#tab-my-earnings .oz-earn-balance strong { display: block; font-size: 1.8rem; line-height: 1.15; margin-top: 0.15rem; }
#tab-my-earnings .oz-earn-balance em, #tab-my-earnings .oz-earn-balance em span { font-style: normal; color: rgba(255,255,255,0.8) !important; font-size: 0.78rem; }
#tab-my-earnings .oz-earn-min { display: block; margin-top: 0.25rem; font-size: 0.75rem; }
#tab-my-earnings .oz-earn-actions { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.85rem; }
#tab-my-earnings .oz-earn-amount span { display: block; color: rgba(255,255,255,0.7) !important; font-size: 0.68rem; font-weight: 700; margin-bottom: 0.2rem; }
#tab-my-earnings .oz-earn-amount input {
  width: 100%; background: rgba(255,255,255,0.08) !important; color: #fff !important;
  border: 1px solid rgba(214,168,67,0.45) !important; border-radius: 0.7rem; min-height: 2.4rem; padding: 0 0.7rem;
}
#tab-my-earnings .oz-earn-withdraw, #tab-my-earnings .oz-earn-pay-btn {
  border-radius: 0.75rem; min-height: 2.6rem; font-weight: 800; cursor: pointer;
}
#tab-my-earnings .oz-earn-withdraw { background: #334155 !important; color: #fff !important; border: 0; }
#tab-my-earnings .oz-earn-withdraw:not(:disabled) { background: #D6A843 !important; color: #14243B !important; }
#tab-my-earnings .oz-earn-withdraw:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}
#tab-my-earnings .oz-earn-pay-btn { background: transparent !important; color: #D6A843 !important; border: 1.5px solid #D6A843 !important; }
#tab-my-earnings .oz-earn-alert {
  display: flex; gap: 0.45rem; align-items: flex-start; margin-top: 0.75rem;
  background: #fef3c7; color: #14243B !important; border-radius: 0.7rem; padding: 0.55rem 0.7rem; font-size: 0.75rem; font-weight: 650;
}
#tab-my-earnings .oz-earn-alert, #tab-my-earnings .oz-earn-alert span, #tab-my-earnings .oz-earn-alert i { color: #14243B !important; }
#tab-my-earnings .oz-earn-alert.is-hidden { display: none !important; }
#tab-my-earnings .oz-earn-pay-card, #tab-my-earnings .oz-earn-card, #tab-my-earnings .oz-earn-stat {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.25rem;
  box-shadow: 0 10px 24px -18px rgba(20, 36, 59, 0.22);
}
#tab-my-earnings .oz-earn-pay-card { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; }
#tab-my-earnings .oz-earn-pay-icon {
  width: 2.2rem; height: 2.2rem; border-radius: 0.65rem; background: #14243B; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
#tab-my-earnings .oz-earn-pay-card strong, #tab-my-earnings .oz-earn-card h3 { color: #14243B !important; margin: 0 !important; font-size: 0.92rem !important; }
#tab-my-earnings .oz-earn-pay-card span { display: block; color: #64748b !important; font-size: 0.75rem; }
#tab-my-earnings .oz-earn-pay-card button, #tab-my-earnings .oz-earn-pay-inline button {
  margin-left: auto; border: 1px solid #e2e8f0; background: #fff; border-radius: 0.6rem; padding: 0.35rem 0.7rem; font-weight: 700; font-size: 0.75rem; color: #14243B;
}
#tab-my-earnings .oz-earn-card { padding: 1.05rem 1.1rem; }
#tab-my-earnings .oz-earn-card-head { display: flex; justify-content: space-between; gap: 0.6rem; align-items: flex-start; }
#tab-my-earnings .oz-earn-card h3 i { color: #D6A843; margin-right: 0.3rem; }
#tab-my-earnings .oz-earn-card-head p { margin: 0.15rem 0 0 !important; color: #64748b !important; font-size: 0.75rem !important; }
#tab-my-earnings .oz-earn-tools { display: flex; gap: 0.4rem; align-items: center; }
#tab-my-earnings .oz-earn-filter, #tab-my-earnings .oz-earn-search input {
  background: #fff !important; border: 1px solid #e2e8f0 !important; color: #14243B !important;
  border-radius: 0.65rem !important; min-height: 2.2rem; font-size: 0.78rem !important; padding: 0 0.55rem !important;
}
#tab-my-earnings .oz-earn-activity { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.75rem; }
#tab-my-earnings .oz-earn-activity-row {
  display: flex; align-items: flex-start; gap: 0.65rem; border: 1px solid #e8eef6; border-radius: 0.85rem; padding: 0.7rem;
}
#tab-my-earnings .oz-earn-cal {
  width: 2.1rem; height: 2.1rem; border-radius: 0.55rem; background: #eff6ff; color: #1d4ed8;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tab-my-earnings .oz-earn-activity-row strong, #tab-my-earnings .oz-earn-activity-row b { display: block; color: #14243B !important; font-size: 0.84rem; }
#tab-my-earnings .oz-earn-activity-row span, #tab-my-earnings .oz-earn-activity-row em { display: block; color: #64748b !important; font-style: normal; font-size: 0.72rem; }
#tab-my-earnings .oz-earn-badge { margin-left: auto; border-radius: 999px; padding: 0.15rem 0.5rem; font-size: 0.68rem; font-weight: 800; white-space: nowrap; }
#tab-my-earnings .oz-earn-badge.is-open { background: #ecfdf5; color: #047857 !important; }
#tab-my-earnings .oz-earn-badge.is-wait { background: #fff7ed; color: #c2410c !important; }
#tab-my-earnings .oz-earn-badge.is-no { background: #fff1f2; color: #be123c !important; }
#tab-my-earnings .oz-earn-empty { text-align: center; padding: 1.2rem 0.5rem; color: #64748b; }
#tab-my-earnings .oz-earn-empty i { display: block; font-size: 1.6rem; color: #93c5fd; margin-bottom: 0.35rem; }
#tab-my-earnings .oz-earn-empty strong { display: block; color: #14243B !important; }
#tab-my-earnings .oz-earn-empty span { display: block; font-size: 0.78rem; margin-top: 0.2rem; }
#tab-my-earnings .oz-earn-wd-list { margin-top: 0.4rem; }
@media (min-width: 1024px) {
  #tab-my-earnings .oz-earn-mobile-only { display: none !important; }
  #tab-my-earnings .oz-earn-desk-only { display: block !important; }
  #tab-my-earnings.oz-earn { gap: 1.5rem; }
  html body #tab-my-earnings .oz-earn-stats.oz-earn-desk-only,
  html body.light-mode #tab-my-earnings .oz-earn-stats.oz-earn-desk-only {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.75rem !important;
    row-gap: 1.25rem !important;
    width: 100%;
    margin: 0;
  }
  #tab-my-earnings .oz-earn-hero-grid { display: grid; grid-template-columns: 1.1fr 1.1fr 0.9fr; gap: 1.15rem; align-items: start; }
  #tab-my-earnings .oz-earn-actions { margin-top: 0; }
  #tab-my-earnings .oz-earn-breakdown { border-left: 1px solid rgba(255,255,255,0.15); border-right: 1px solid rgba(255,255,255,0.15); padding: 0 1rem; }
  #tab-my-earnings .oz-earn-breakdown p, #tab-my-earnings .oz-earn-breakdown b { color: #fff !important; font-size: 0.84rem; margin: 0.35rem 0; }
  #tab-my-earnings .oz-earn-pay-inline { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid rgba(255,255,255,0.15); }
  #tab-my-earnings .oz-earn-pay-inline span { color: rgba(255,255,255,0.7) !important; font-size: 0.72rem; }
  #tab-my-earnings .oz-earn-pay-inline strong { display: block; margin: 0.2rem 0 0.4rem; font-size: 0.85rem; }
  #tab-my-earnings .oz-earn-pay-inline button { margin-left: 0; background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.45) !important; }
  #tab-my-earnings .oz-earn-stat {
    padding: 1.05rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 6.25rem;
  }
  #tab-my-earnings .oz-earn-stat span { width: 1.9rem; height: 1.9rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
  #tab-my-earnings .oz-earn-stat span.is-green { background: #ecfdf5; color: #059669; }
  #tab-my-earnings .oz-earn-stat span.is-amber { background: #fff7ed; color: #d97706; }
  #tab-my-earnings .oz-earn-stat span.is-blue { background: #eff6ff; color: #2563eb; }
  #tab-my-earnings .oz-earn-stat em { font-style: normal; color: #64748b !important; font-size: 0.75rem; }
  #tab-my-earnings .oz-earn-stat strong { color: #14243B !important; font-size: 1.05rem; }
  #tab-my-earnings .oz-earn-card-head { align-items: center; }
  #tab-my-earnings .oz-earn-search { display: flex; align-items: center; gap: 0.35rem; border: 1px solid #e2e8f0; border-radius: 0.65rem; padding: 0 0.55rem; color: #94a3b8; }
  #tab-my-earnings .oz-earn-search input { border: 0 !important; min-width: 12rem; }
  #tab-my-earnings .oz-earn-table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; }
  #tab-my-earnings .oz-earn-table th { text-align: left; font-size: 0.68rem; letter-spacing: 0.04em; color: #94a3b8; padding: 0.45rem 0.4rem; }
  #tab-my-earnings .oz-earn-table td { padding: 0.7rem 0.4rem; border-top: 1px solid #eef2f7; color: #14243B; font-size: 0.82rem; }
  #tab-my-earnings .oz-earn-table-foot { display: flex !important; justify-content: space-between; align-items: center; margin-top: 0.7rem; color: #64748b; font-size: 0.75rem; }
  #tab-my-earnings .oz-earn-pager { display: flex; gap: 0.3rem; }
  #tab-my-earnings .oz-earn-pager button { min-width: 2rem; height: 2rem; border-radius: 0.5rem; border: 1px solid #e2e8f0; background: #fff; }
  #tab-my-earnings .oz-earn-pager button.is-active { background: #14243B; color: #fff; border-color: #14243B; }
}

/* Refer & Earn landing */
#tab-refer-earn .oz-refer-landing { display: flex; flex-direction: column; gap: 0.85rem; }
html body #tab-refer-earn .oz-refer-hero,
html body.light-mode #tab-refer-earn .oz-refer-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(214,168,67,0.28), transparent 32%),
    linear-gradient(145deg, #0b1730 0%, #14243B 55%, #1c3354 100%) !important;
  color: #fff !important;
  border-radius: 1.1rem;
  padding: 1rem;
  border: 0 !important;
}
#tab-refer-earn .oz-refer-crest { width: 4.2rem; height: auto; margin-bottom: 0.6rem; }
html body #tab-refer-earn .oz-refer-kicker,
html body.light-mode #tab-refer-earn .oz-refer-kicker { color: #F3C877 !important; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin: 0; }
html body #tab-refer-earn .oz-refer-hero h2,
html body.light-mode #tab-refer-earn .oz-refer-hero h2 { margin: 0.15rem 0 !important; color: #FFFFFF !important; font-size: 1.7rem !important; font-weight: 900 !important; letter-spacing: 0.01em; }
html body #tab-refer-earn .oz-refer-hero h2 span,
html body.light-mode #tab-refer-earn .oz-refer-hero h2 span { color: #F3C877 !important; }
#tab-refer-earn .oz-refer-lead { margin: 0.2rem 0 0.75rem !important; color: #FFFFFF !important; font-size: 0.88rem !important; }
#tab-refer-earn .oz-refer-payout {
  display: flex; align-items: center; gap: 0.65rem; border: 1.5px solid #D6A843; border-radius: 0.85rem;
  padding: 0.7rem 0.8rem; background: rgba(0,0,0,0.2);
}
#tab-refer-earn .oz-refer-payout i { color: #D6A843; font-size: 1.3rem; }
html body #tab-refer-earn .oz-refer-payout strong,
html body.light-mode #tab-refer-earn .oz-refer-payout strong { color: #fff !important; font-size: 0.92rem; }
#tab-refer-earn .oz-refer-points { list-style: none; margin: 0.85rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
#tab-refer-earn .oz-refer-points li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.72rem;
  font-weight: 650;
}
html body #tab-refer-earn .oz-refer-points li,
html body #tab-refer-earn .oz-refer-points li span,
html body.light-mode #tab-refer-earn .oz-refer-points li,
html body.light-mode #tab-refer-earn .oz-refer-points li span {
  color: #ffffff !important;
}
html body #tab-refer-earn .oz-refer-points i,
html body.light-mode #tab-refer-earn .oz-refer-points i {
  color: #D6A843 !important;
  margin-top: 0.1rem;
}
#tab-refer-earn .oz-refer-acc, #tab-refer-earn .oz-refer-choose, #tab-refer-earn .oz-refer-notice {
  background: #fff; border: 1px solid #e6edf5; border-radius: 1rem;
}
#tab-refer-earn .oz-refer-acc-btn {
  width: 100%; display: flex; align-items: center; gap: 0.7rem; text-align: left;
  background: transparent; border: 0; padding: 0.9rem; cursor: pointer;
}
#tab-refer-earn .oz-refer-acc-icon {
  width: 2.2rem; height: 2.2rem; border-radius: 0.7rem; background: #14243B; color: #D6A843;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tab-refer-earn .oz-refer-acc-btn strong { display: block; color: #14243B !important; font-size: 0.95rem; }
#tab-refer-earn .oz-refer-acc-btn em { display: block; color: #64748b !important; font-style: normal; font-size: 0.75rem; font-weight: 600; }
#tab-refer-earn .oz-refer-chevron { margin-left: auto; color: #94a3b8; }
#tab-refer-earn .oz-refer-acc.is-open .oz-refer-chevron { transform: rotate(180deg); }
#tab-refer-earn .oz-refer-acc-body { display: none; padding: 0 0.9rem 0.95rem; }
#tab-refer-earn .oz-refer-acc.is-open .oz-refer-acc-body { display: block; }
#tab-refer-earn .oz-refer-steps { list-style: none; margin: 0; padding: 0.2rem 0 0.2rem 0.2rem; display: flex; flex-direction: column; gap: 0.85rem; border-left: 2px dashed #e2e8f0; }
#tab-refer-earn .oz-refer-steps li { display: flex; gap: 0.65rem; align-items: flex-start; }
#tab-refer-earn .oz-refer-step-arrow { display: none; }
#tab-refer-earn .oz-refer-steps b {
  width: 1.7rem; height: 1.7rem; border-radius: 999px; background: #D6A843; color: #14243B !important;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; flex-shrink: 0; margin-left: -0.95rem;
}
#tab-refer-earn .oz-refer-steps strong { display: block; color: #14243B !important; font-size: 0.88rem; }
#tab-refer-earn .oz-refer-steps span { color: #64748b !important; font-size: 0.75rem; }
#tab-refer-earn .oz-refer-choose { padding: 0.95rem; }
#tab-refer-earn .oz-refer-choose h3 { margin: 0 !important; color: #14243B !important; font-size: 1rem !important; }
#tab-refer-earn .oz-refer-choose h3 i { color: #D6A843; margin-right: 0.35rem; }
#tab-refer-earn .oz-refer-choose > p { margin: 0.25rem 0 0.75rem !important; color: #64748b !important; font-size: 0.8rem !important; }
#tab-refer-earn .oz-refer-paths { display: flex; flex-direction: column; gap: 0.7rem; }
#tab-refer-earn .oz-refer-path { border-radius: 0.95rem; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.2rem; }
#tab-refer-earn .oz-refer-path.is-one { background: #fff7ed; }
#tab-refer-earn .oz-refer-path.is-many { background: #eff6ff; }
#tab-refer-earn .oz-refer-path > i { font-size: 1.15rem; }
#tab-refer-earn .oz-refer-path.is-one > i, #tab-refer-earn .oz-refer-path.is-one em { color: #c2410c !important; }
#tab-refer-earn .oz-refer-path.is-many > i, #tab-refer-earn .oz-refer-path.is-many em { color: #1d4ed8 !important; }
#tab-refer-earn .oz-refer-path em { font-style: normal; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
#tab-refer-earn .oz-refer-path strong { color: #14243B !important; font-size: 0.95rem; }
#tab-refer-earn .oz-refer-path span { color: #475569 !important; font-size: 0.78rem; margin-bottom: 0.45rem; }
#tab-refer-earn .oz-refer-path button { border-radius: 0.7rem; padding: 0.65rem 0.8rem; font-weight: 800; cursor: pointer; }
#tab-refer-earn .oz-refer-path.is-one button { background: #D6A843; color: #14243B; border: 0; }
#tab-refer-earn .oz-refer-path.is-many button { background: #14243B; color: #fff; border: 0; }
#tab-refer-earn .oz-refer-notice { display: flex; gap: 0.65rem; align-items: flex-start; background: #fff7ed !important; border-color: #fdba74 !important; padding: 0.8rem; }
#tab-refer-earn .oz-refer-notice i { color: #c2410c; margin-top: 0.15rem; }
#tab-refer-earn .oz-refer-notice p, #tab-refer-earn .oz-refer-notice strong { color: #9a3412 !important; font-size: 0.78rem; margin: 0 !important; }
#tab-refer-earn .oz-refer-notice .refer-earn-email-key { background: #fde68a; color: #78350f !important; font-weight: 800; padding: 0 0.2rem; border-radius: 0.25rem; }
#tab-refer-earn .oz-refer-why { display: grid; gap: 0.75rem; }
#tab-refer-earn .oz-refer-why i { color: #2563eb; }
#tab-refer-earn .oz-refer-why strong { display: block; color: #14243B !important; font-size: 0.86rem; }
#tab-refer-earn .oz-refer-why span { color: #64748b !important; font-size: 0.75rem; }
@media (min-width: 1024px) {
  #tab-refer-earn .oz-refer-hero {
    display: grid;
    grid-template-columns: auto 1fr 16rem;
    gap: 0.4rem 1.25rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
  }
  #tab-refer-earn .oz-refer-crest { width: 6.5rem; margin: 0; grid-row: 1 / span 2; }
  #tab-refer-earn .oz-refer-hero h2 { font-size: 2.4rem !important; }
  #tab-refer-earn .oz-refer-payout { grid-column: 3; grid-row: 1 / span 2; max-width: none; }
  #tab-refer-earn .oz-refer-points { grid-column: 2; margin-top: 0.2rem; }
  #tab-refer-earn .oz-refer-acc-body, #tab-refer-earn .oz-refer-acc .oz-refer-acc-body { display: block !important; }
  #tab-refer-earn .oz-refer-chevron { display: none; }
  #tab-refer-earn .oz-refer-steps { flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; gap: 1rem; }
  #tab-refer-earn .oz-refer-steps li:not(.oz-refer-step-arrow) { flex: 1; }
  #tab-refer-earn .oz-refer-paths { gap: 1.25rem; }
  #tab-refer-earn .oz-refer-path { padding: 1.25rem 1.35rem; min-height: 14rem; }
  #tab-refer-earn .oz-refer-step-arrow { display: flex; color: #94a3b8; }
  #tab-refer-earn .oz-refer-steps b { margin-left: 0; background: #14243B; color: #fff !important; }
  #tab-refer-earn .oz-refer-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  #tab-refer-earn .oz-refer-path.is-one button { background: #fff; color: #c2410c; border: 1.5px solid #fb923c; }
  #tab-refer-earn .oz-refer-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Individual / Bulk endorsement form */
html body #native-referral-form.oz-ind-form,
html body.light-mode #native-referral-form.oz-ind-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 0.85rem !important;
  max-width: none;
  width: 100%;
}
#native-referral-form.oz-ind-form #refer-earn-back-path {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: #14243B !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0;
  margin-bottom: 0.55rem;
  cursor: pointer;
}
#native-referral-form.oz-ind-form .oz-ind-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
#native-referral-form.oz-ind-form .oz-ind-head h2 {
  margin: 0 !important;
  color: #14243B !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
}
#native-referral-form.oz-ind-form .oz-ind-head > div > p {
  margin: 0.25rem 0 0 !important;
  color: #64748b !important;
  font-size: 0.84rem !important;
}
#native-referral-form.oz-ind-form .oz-ind-path-badge { display: none; }
#native-referral-form.oz-ind-form .oz-ind-referrer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff !important;
  border: 1px solid #e6edf5 !important;
  border-radius: 0.9rem;
  padding: 0.7rem 0.85rem;
}
#native-referral-form.oz-ind-form .oz-ind-referrer > i {
  width: 2rem; height: 2rem; border-radius: 999px; background: #eff6ff; color: #1d4ed8;
  display: inline-flex; align-items: center; justify-content: center;
}
#native-referral-form.oz-ind-form .oz-ind-referrer span {
  display: block; color: #64748b !important; font-size: 0.65rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 800; margin: 0;
}
#native-referral-form.oz-ind-form .oz-ind-referrer p {
  margin: 0.1rem 0 0 !important; color: #14243B !important; font-size: 0.88rem !important; font-weight: 800 !important;
}
#native-referral-form.oz-ind-form .referral-applicant-card,
html body.light-mode #native-referral-form.oz-ind-form .referral-applicant-card {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#native-referral-form.oz-ind-form .oz-ind-details,
#native-referral-form.oz-ind-form .oz-ind-partners {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 1rem;
  padding: 0.95rem;
}
#native-referral-form.oz-ind-form .oz-ind-section-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
#native-referral-form.oz-ind-form .oz-ind-step {
  width: 1.85rem; height: 1.85rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 0.75rem; flex-shrink: 0;
}
#native-referral-form.oz-ind-form .oz-ind-step.is-gold { background: #D6A843; color: #14243B; }
#native-referral-form.oz-ind-form .oz-ind-step.is-purple { background: #6366f1; }
#native-referral-form.oz-ind-form .refer-card-title,
#native-referral-form.oz-ind-form .refer-partners-label,
html body.light-mode #native-referral-form.oz-ind-form .refer-card-title,
html body.light-mode #native-referral-form.oz-ind-form .refer-partners-label {
  margin: 0 !important;
  color: #14243B !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#native-referral-form.oz-ind-form .oz-ind-remove {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #be123c !important;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
#native-referral-form.oz-ind-form .refer-field label,
html body.light-mode #native-referral-form.oz-ind-form .refer-field label {
  color: #64748b !important;
  font-size: 0.68rem !important;
  margin-bottom: 0.35rem !important;
}
#native-referral-form.oz-ind-form .oz-ind-optional {
  font-style: normal;
  font-weight: 700;
  color: #94a3b8 !important;
  text-transform: none;
  letter-spacing: 0;
}
#native-referral-form.oz-ind-form .refer-field input,
#native-referral-form.oz-ind-form input[data-ref],
html body.light-mode #native-referral-form.oz-ind-form .refer-field input,
html body.light-mode #native-referral-form.oz-ind-form input[data-ref] {
  background: #fff !important;
  color: #14243B !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 0.75rem !important;
  min-height: 2.7rem;
  height: 2.7rem;
}
#native-referral-form.oz-ind-form .refer-partners-grid {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
#native-referral-form.oz-ind-form .refer-partner,
html body.light-mode #native-referral-form.oz-ind-form .refer-partner {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #14243B !important;
  border-radius: 0.75rem;
}
#native-referral-form.oz-ind-form .oz-ind-reminders,
html body.light-mode #native-referral-form.oz-ind-form .oz-ind-reminders {
  background: #fff7ed !important;
  border: 1px solid #fdba74 !important;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  margin-top: 0.15rem;
}
#native-referral-form.oz-ind-form .oz-ind-reminders .bulk-reminders-title,
html body.light-mode #native-referral-form.oz-ind-form .oz-ind-reminders .bulk-reminders-title {
  color: #9a3412 !important;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
}
#native-referral-form.oz-ind-form .oz-ind-reminders .bulk-reminders-title i { color: #c2410c; margin-right: 0.3rem; }
#native-referral-form.oz-ind-form .oz-ind-reminders ul { margin: 0; padding-left: 1.05rem; color: #9a3412; font-size: 0.78rem; line-height: 1.55; }
#native-referral-form.oz-ind-form .oz-ind-reminders a { color: #1d4ed8 !important; font-weight: 800; }
#native-referral-form.oz-ind-form .oz-ind-required {
  margin: 0.15rem 0 0;
  color: #be123c !important;
  font-size: 0.75rem;
  font-weight: 700;
}
#native-referral-form.oz-ind-form #btn-submit-referral {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #fff !important;
  border-radius: 0.9rem;
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
#native-referral-form.oz-ind-form.is-bulk #bulk-upload-panel {
  background: #fff !important;
  border: 1px solid #e6edf5 !important;
  border-radius: 1rem;
  padding: 1rem;
}
@media (min-width: 640px) {
  #native-referral-form.oz-ind-form .refer-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  #native-referral-form.oz-ind-form .oz-ind-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  #native-referral-form.oz-ind-form .oz-ind-head h2 { font-size: 1.75rem !important; }
  #native-referral-form.oz-ind-form .oz-ind-referrer { min-width: 16rem; }
  #native-referral-form.oz-ind-form .oz-ind-details,
  #native-referral-form.oz-ind-form .oz-ind-partners {
    padding: 1.15rem 1.25rem;
  }
  #native-referral-form.oz-ind-form .refer-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #native-referral-form.oz-ind-form #btn-submit-referral {
    max-width: 28rem;
    margin: 0.25rem auto 0;
  }
  #native-referral-form.oz-ind-form .oz-ind-required { text-align: left; }
}

/* ============================================================
   Account Settings — mobile (mock 2) + desktop (mock 1)
   ============================================================ */
#tab-settings.settings-shell.oz-acct {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-bottom: 1.25rem;
}
#tab-settings .settings-panel { display: none; min-width: 0; }
#tab-settings .settings-panel.is-active { display: block; }

/* Page head — open on page bg, never a square white box */
#tab-settings .oz-acct-head {
  margin: 0 0 1.15rem;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#tab-settings .oz-acct-crumb {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem !important;
  color: #94a3b8 !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  background: transparent !important;
}
#tab-settings .oz-acct-crumb > span:first-child {
  color: #14243B !important;
  font-weight: 800;
}
#tab-settings .oz-acct-crumb em {
  font-style: normal;
  color: #64748b !important;
  font-weight: 600;
}
#tab-settings .oz-acct-crumb i { font-size: 0.55rem; opacity: 0.65; color: #94a3b8; }
#tab-settings .oz-acct-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b !important;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
#tab-settings .oz-acct-back i { color: #4f46e5; }
html body #tab-settings .oz-acct-title,
html body.light-mode #tab-settings .oz-acct-title {
  margin: 0 !important;
  color: #14243B !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: transparent !important;
}
html body #tab-settings .oz-acct-sub,
html body.light-mode #tab-settings .oz-acct-sub {
  margin: 0.45rem 0 0 !important;
  color: #64748b !important;
  font-size: 0.9rem !important;
  line-height: 1.45;
  max-width: 36rem;
  background: transparent !important;
}

/* Mobile profile summary */
#tab-settings .oz-acct-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.5rem;
  padding: 0.9rem 0.95rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 12px 28px -18px rgba(20, 36, 59, 0.28);
}
#tab-settings .oz-acct-summary-avatar {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: #14243B !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
#tab-settings .oz-acct-summary-avatar > i { font-size: 1.15rem; color: #fff !important; }
#tab-settings .oz-acct-summary-cam {
  position: absolute;
  right: -0.1rem;
  bottom: -0.1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  border: 2px solid #fff;
  cursor: pointer;
}
#tab-settings .oz-acct-summary-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
html body #tab-settings #oz-acct-summary-name,
html body.light-mode #tab-settings #oz-acct-summary-name {
  color: #14243B !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-settings .oz-acct-summary-role {
  color: #64748b !important;
  font-size: 0.75rem;
  font-weight: 600;
}
#tab-settings .oz-acct-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669 !important;
  font-size: 0.68rem;
  font-weight: 800;
}
#tab-settings .oz-acct-active-badge i { font-size: 0.4rem; }
#tab-settings .oz-acct-summary-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid #4f46e5;
  background: #fff;
  color: #4f46e5 !important;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

/* Layout */
#tab-settings .settings-layout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}
#tab-settings .oz-acct-side,
html body.light-mode #tab-settings .oz-acct-side,
html body #tab-settings aside.oz-acct-side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#tab-settings .oz-acct-secure-side,
#tab-settings .oz-acct-motto { display: none; }

/* Nav — mobile list card */
#tab-settings .settings-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0.9rem;
  border: 1px solid #eef2f7;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 10px 24px -16px rgba(20, 36, 59, 0.22);
  overflow: hidden;
}
#tab-settings .settings-nav-label {
  padding: 0.1rem 0.55rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8 !important;
}
#tab-settings .settings-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 2.85rem;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border: 0;
  border-radius: 0.9rem;
  background: transparent;
  color: #14243B !important;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
#tab-settings .settings-nav-btn > i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: #eef2ff;
  color: #4f46e5 !important;
  font-size: 0.85rem;
  flex-shrink: 0;
}
#tab-settings .settings-nav-btn span { flex: 1; }
#tab-settings .settings-nav-chevron {
  color: #94a3b8 !important;
  font-size: 0.7rem;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}
#tab-settings .settings-nav-btn.is-active {
  background: #eef2ff;
  color: #312e81 !important;
}
#tab-settings .settings-nav-btn.is-active > i:first-child {
  background: #4f46e5;
  color: #fff !important;
}
#tab-settings .settings-nav-btn:hover { background: #f8fafc; }
#tab-settings .settings-nav-btn.is-active:hover { background: #eef2ff; }

/* Cards */
#tab-settings .oz-acct-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.35rem;
  padding: 1.1rem 1.05rem 1.2rem;
  box-shadow: 0 12px 28px -18px rgba(20, 36, 59, 0.22);
}
#tab-settings .oz-acct-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #eef2f7;
}
#tab-settings .oz-acct-card-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html body #tab-settings .oz-acct-card-title,
html body.light-mode #tab-settings .oz-acct-card-title {
  margin: 0 !important;
  color: #14243B !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}
html body #tab-settings .oz-acct-card-sub,
html body.light-mode #tab-settings .oz-acct-card-sub {
  margin: 0.15rem 0 0 !important;
  color: #64748b !important;
  font-size: 0.78rem !important;
}

/* Avatar / dropzone */
#tab-settings .settings-avatar-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f7;
}
#tab-settings .oz-acct-pic-label { margin-bottom: 0 !important; }
#tab-settings .oz-acct-pic-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#tab-settings .oz-acct-avatar-edit {
  position: relative;
  flex-shrink: 0;
}
#tab-settings .oz-acct-avatar-circle {
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 999px;
  background: #14243B !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0 !important;
}
#tab-settings .oz-acct-avatar-circle i { color: #fff !important; font-size: 1.35rem; }
#tab-settings .oz-acct-avatar-pen {
  position: absolute;
  right: -0.05rem;
  bottom: -0.05rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #fff;
  color: #14243B !important;
  border: 1.5px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}
#tab-settings .oz-acct-dropzone {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1.5px dashed #93c5fd;
  border-radius: 1.25rem;
  background: #f8fbff;
  cursor: pointer;
}
#tab-settings .oz-acct-dropzone > i { color: #3b82f6; font-size: 1.15rem; }
#tab-settings .oz-acct-dropzone strong {
  display: block;
  color: #2563eb !important;
  font-size: 0.84rem;
  font-weight: 800;
}
#tab-settings .oz-acct-dropzone em {
  display: block;
  font-style: normal;
  color: #94a3b8 !important;
  font-size: 0.7rem;
  font-weight: 600;
}
#tab-settings .oz-acct-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Form fields */
#tab-settings .settings-stack {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
#tab-settings .settings-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 420px) {
  #tab-settings .settings-name-grid { grid-template-columns: 1fr; }
}
html body #tab-settings .settings-field-label,
html body.light-mode #tab-settings .settings-field-label {
  display: block;
  margin-bottom: 0.35rem !important;
  color: #14243B !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}
#tab-settings .settings-field-label.is-required::after {
  content: " *";
  color: #ef4444;
  font-weight: 800;
}
#tab-settings .settings-input-wrap {
  position: relative;
}
#tab-settings .settings-input-wrap > i,
#tab-settings .settings-eye-btn {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8 !important;
  font-size: 0.85rem;
  pointer-events: none;
}
#tab-settings .settings-eye-btn {
  pointer-events: auto;
  border: 0;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
}
html body #tab-settings .settings-input,
html body #tab-settings .settings-select,
html body.light-mode #tab-settings .settings-input,
html body.light-mode #tab-settings .settings-select {
  width: 100%;
  border-radius: 1rem !important;
  border: 1.5px solid #e8edf3 !important;
  background: #fff !important;
  color: #14243B !important;
  padding: 0.78rem 2.35rem 0.78rem 0.95rem !important;
  font-size: 0.9rem !important;
  outline: none;
  box-shadow: none !important;
}
html body #tab-settings .settings-select,
html body.light-mode #tab-settings .settings-select {
  padding-right: 0.85rem !important;
}
html body #tab-settings .settings-input:focus,
html body #tab-settings .settings-select:focus,
html body.light-mode #tab-settings .settings-input:focus,
html body.light-mode #tab-settings .settings-select:focus {
  border-color: #818cf8 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}
html body #tab-settings .settings-input[readonly],
html body #tab-settings .settings-input:disabled,
html body.light-mode #tab-settings .settings-input[readonly],
html body.light-mode #tab-settings .settings-input:disabled {
  background: #f8fafc !important;
  color: #64748b !important;
  cursor: not-allowed;
}
#tab-settings .settings-hint {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #94a3b8 !important;
  line-height: 1.4;
}
#tab-settings .settings-hint-warn { color: #d97706 !important; }

/* Secure callout */
#tab-settings .oz-acct-secure-card {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 1.05rem 1.1rem;
  border-radius: 1.5rem;
  background: #eef2ff;
  border: 0;
  overflow: hidden;
}
#tab-settings .oz-acct-secure-card > i {
  color: #4f46e5 !important;
  font-size: 1.05rem;
  margin-top: 0.1rem;
}
html body #tab-settings .oz-acct-secure-card strong,
html body.light-mode #tab-settings .oz-acct-secure-card strong {
  display: block;
  color: #14243B !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
}
html body #tab-settings .oz-acct-secure-card p,
html body.light-mode #tab-settings .oz-acct-secure-card p {
  margin: 0.2rem 0 0 !important;
  color: #64748b !important;
  font-size: 0.74rem !important;
  line-height: 1.4;
}
#tab-settings .oz-acct-secure-mobile { margin-top: 0.15rem; }

/* Actions / buttons */
#tab-settings .oz-acct-actions {
  display: flex;
  justify-content: stretch;
  margin-top: 0.25rem;
}
#tab-settings .settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 1rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}
#tab-settings .settings-btn-primary,
#tab-settings .oz-acct-save {
  background: #14243B !important;
  color: #fff !important;
  width: 100%;
}
html body #tab-settings .oz-acct-save,
html body #tab-settings .oz-acct-save span,
html body #tab-settings .oz-acct-save i,
html body.light-mode #tab-settings .oz-acct-save,
html body.light-mode #tab-settings .oz-acct-save span,
html body.light-mode #tab-settings .oz-acct-save i,
html body #tab-settings .settings-btn-primary,
html body.light-mode #tab-settings .settings-btn-primary {
  color: #ffffff !important;
}
#tab-settings .settings-btn-primary:hover,
#tab-settings .oz-acct-save:hover { background: #1c3358 !important; }
#tab-settings .settings-btn-amber {
  background: #d97706 !important;
  color: #0f172a !important;
}
#tab-settings .settings-btn-emerald {
  background: #059669 !important;
  color: #fff !important;
}
#tab-settings .oz-acct-otp {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
}
#tab-settings .oz-acct-otp.hidden { display: none; }
#tab-settings .oz-acct-otp p {
  margin: 0 !important;
  color: #312e81 !important;
  font-size: 0.84rem;
}
#tab-settings .oz-acct-otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#tab-settings .oz-acct-otp-actions .settings-btn { width: auto; }

/* Desktop — first photo */
@media (min-width: 1024px) {
  #tab-settings.settings-shell.oz-acct {
    max-width: 1100px;
  }
  #tab-settings .oz-acct-back,
  #tab-settings .oz-acct-summary,
  #tab-settings .oz-acct-secure-mobile,
  #tab-settings .settings-nav-chevron { display: none !important; }

  /* Drop duplicate toolbar title — keep actions only */
  #dashboard-screen[data-oz-tab="settings"] #oz-page-toolbar .oz-page-toolbar-lead > div {
    display: none !important;
  }
  #dashboard-screen[data-oz-tab="settings"] #oz-page-toolbar {
    margin-bottom: 0.85rem;
  }

  #tab-settings .oz-acct-crumb { display: flex; }
  #tab-settings .oz-acct-head {
    margin-bottom: 1.35rem;
  }
  html body #tab-settings .oz-acct-title,
  html body.light-mode #tab-settings .oz-acct-title {
    font-size: 1.9rem !important;
  }
  html body #tab-settings .oz-acct-sub,
  html body.light-mode #tab-settings .oz-acct-sub {
    margin-top: 0.5rem !important;
  }

  #tab-settings .settings-layout {
    display: grid;
    grid-template-columns: 15.75rem minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
  }
  #tab-settings .oz-acct-side,
  html body.light-mode #tab-settings .oz-acct-side {
    gap: 0.65rem;
    position: sticky;
    top: 1rem;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #tab-settings .settings-nav {
    border-color: #eef2f7;
    box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.2);
    padding: 1rem 0.85rem;
    border-radius: 1.5rem;
  }
  #tab-settings .settings-nav-btn {
    border-radius: 0.9rem;
    font-weight: 600;
    color: #334155 !important;
  }
  #tab-settings .settings-nav-btn > i:first-child {
    background: transparent;
    color: #475569 !important;
    width: 1.35rem;
    height: 1.35rem;
  }
  #tab-settings .settings-nav-btn.is-active {
    background: #eef2ff;
    color: #1e1b4b !important;
    font-weight: 800;
  }
  #tab-settings .settings-nav-btn.is-active > i:first-child {
    background: transparent;
    color: #3730a3 !important;
  }

  #tab-settings .oz-acct-secure-side {
    display: flex;
    border-radius: 1.5rem;
  }
  #tab-settings .oz-acct-motto {
    display: block;
    margin: 0.35rem 0.15rem 0;
    font-family: "Caveat", cursive;
    font-size: 1.55rem;
    font-weight: 700;
    color: #14243B !important;
    line-height: 1.15;
  }
  #tab-settings .oz-acct-motto span { color: #c2410c !important; }

  #tab-settings .oz-acct-card {
    padding: 1.45rem 1.5rem 1.55rem;
    border-radius: 1.35rem;
  }
  #tab-settings .oz-acct-card-head { margin-bottom: 1.15rem; }
  #tab-settings .oz-acct-actions {
    justify-content: flex-end;
  }
  #tab-settings .oz-acct-save,
  #tab-settings .oz-acct-actions .settings-btn-primary {
    width: auto;
    min-width: 12.5rem;
    border-radius: 1rem;
  }
  #tab-settings .settings-name-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ============================================================
   Admin Panel — More entry + module switcher bar
   ============================================================ */
#oz-more-admin-panel.oz-admin-only.hidden { display: none !important; }
html body #oz-affiliate-sidebar #oz-more-admin-panel:not(.hidden) {
  display: flex !important;
  color: #fde68a !important;
  font-weight: 800;
}
html body #oz-affiliate-sidebar #oz-more-admin-panel i { color: #fbbf24 !important; }
html body #oz-affiliate-sidebar #oz-more-admin-panel.is-active {
  background: rgba(251, 191, 36, 0.18) !important;
  color: #fffbeb !important;
}

.oz-admin-module-bar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.15rem;
  box-shadow: 0 10px 24px -18px rgba(20, 36, 59, 0.28);
}
.oz-admin-module-bar.hidden { display: none !important; }
.oz-admin-module-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.oz-admin-module-kicker {
  margin: 0 !important;
  color: #b45309 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html body .oz-admin-module-bar-head strong,
html body.light-mode .oz-admin-module-bar-head strong {
  display: block;
  margin: 0.1rem 0 0 !important;
  color: #14243B !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}
.oz-admin-module-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #14243B !important;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.oz-admin-module-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.oz-admin-mod-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155 !important;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}
.oz-admin-mod-btn i { color: #64748b; font-size: 0.72rem; }
.oz-admin-mod-btn:hover {
  border-color: #fbbf24;
  background: #fffbeb;
}
.oz-admin-mod-btn.is-active {
  background: #14243B !important;
  border-color: #14243B !important;
  color: #fff !important;
}
.oz-admin-mod-btn.is-active i { color: #fbbf24 !important; }

#tab-admin-home .oz-admin-panel-intro {
  margin-bottom: 1rem;
}
html body #tab-admin-home .oz-admin-panel-intro h2,
html body.light-mode #tab-admin-home .oz-admin-panel-intro h2 {
  margin: 0.15rem 0 0.35rem !important;
  color: #14243B !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
}
html body #tab-admin-home .oz-admin-panel-intro > p:last-child,
html body.light-mode #tab-admin-home .oz-admin-panel-intro > p:last-child {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.86rem !important;
  max-width: 40rem;
}

@media (max-width: 640px) {
  .oz-admin-module-bar-head { flex-wrap: wrap; }
  .oz-admin-mod-btn span { max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Affiliate Leaderboard */
#tab-leaderboard.oz-lb {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1180px;
}
#tab-leaderboard .oz-lb-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(115deg, #0c1730 0%, #14243B 55%, #1a3358 100%);
  border-radius: 1.25rem;
  padding: 1.15rem 1.1rem 1.2rem;
  color: #fff;
}
html body #tab-leaderboard .oz-lb-kicker,
html body.light-mode #tab-leaderboard .oz-lb-kicker {
  margin: 0 0 0.35rem !important;
  color: #F3C877 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html body #tab-leaderboard .oz-lb-hero h2,
html body.light-mode #tab-leaderboard .oz-lb-hero h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  line-height: 1.15;
}
html body #tab-leaderboard .oz-lb-hero h2 span,
html body.light-mode #tab-leaderboard .oz-lb-hero h2 span { color: #F3C877 !important; }
html body #tab-leaderboard .oz-lb-hero-copy > p,
html body.light-mode #tab-leaderboard .oz-lb-hero-copy > p {
  margin: 0.4rem 0 0.85rem !important;
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.86rem !important;
}
#tab-leaderboard .oz-lb-grow,
#tab-leaderboard .oz-lb-standing button {
  border: 0;
  border-radius: 999px;
  background: #F3C877;
  color: #14243B !important;
  font-weight: 800;
  cursor: pointer;
}
#tab-leaderboard .oz-lb-grow { padding: 0.6rem 0.95rem; font-size: 0.8rem; }
#tab-leaderboard .oz-lb-standing {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(243,200,119,0.35);
  border-radius: 1rem;
  padding: 0.9rem 0.95rem;
}
html body #tab-leaderboard .oz-lb-standing > p,
html body.light-mode #tab-leaderboard .oz-lb-standing > p {
  margin: 0 !important;
  color: #F3C877 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html body #tab-leaderboard #user-current-rank,
html body.light-mode #tab-leaderboard #user-current-rank {
  display: block;
  margin: 0.15rem 0 0.55rem !important;
  color: #fff !important;
  font-size: 1.7rem !important;
  font-weight: 900 !important;
}
#tab-leaderboard .oz-lb-standing ul { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
html body #tab-leaderboard .oz-lb-standing li,
html body.light-mode #tab-leaderboard .oz-lb-standing li {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.78rem !important;
  font-weight: 700;
}
#tab-leaderboard .oz-lb-standing li i { color: #F3C877; width: 1rem; }
#tab-leaderboard .oz-lb-standing button { width: 100%; padding: 0.65rem 0.8rem; font-size: 0.75rem; letter-spacing: 0.03em; text-transform: uppercase; }

#tab-leaderboard .oz-lb-panel {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.15rem;
  padding: 0.95rem;
  box-shadow: 0 10px 24px -18px rgba(20,36,59,0.25);
}
#tab-leaderboard .oz-lb-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
html body #tab-leaderboard .oz-lb-panel-head h3,
html body.light-mode #tab-leaderboard .oz-lb-panel-head h3 {
  margin: 0 !important;
  color: #14243B !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
}
#tab-leaderboard .oz-lb-panel-head h3 i { color: #D6A843; margin-right: 0.3rem; }
#tab-leaderboard .oz-lb-panel-head button {
  border: 0;
  background: transparent;
  color: #2563eb !important;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
#tab-leaderboard .oz-lb-month {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: #14243B !important;
  font-size: 0.75rem;
  font-weight: 700;
}
#tab-leaderboard .oz-lb-top5 {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}
#tab-leaderboard .oz-lb-card {
  flex: 0 0 11.5rem;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1rem;
  padding: 0.85rem 0.75rem 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
#tab-leaderboard .oz-lb-rank {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #14243B !important;
  background: #e2e8f0;
}
#tab-leaderboard .oz-lb-card.is-gold { border-color: #f6d98a; }
#tab-leaderboard .oz-lb-card.is-gold .oz-lb-rank,
#tab-leaderboard .oz-lb-card.is-gold > strong { background: #f6d98a; }
#tab-leaderboard .oz-lb-card.is-silver .oz-lb-rank,
#tab-leaderboard .oz-lb-card.is-silver > strong { background: #e2e8f0; }
#tab-leaderboard .oz-lb-card.is-bronze .oz-lb-rank,
#tab-leaderboard .oz-lb-card.is-bronze > strong { background: #f3c7a1; }
#tab-leaderboard .oz-lb-card.is-navy .oz-lb-rank,
#tab-leaderboard .oz-lb-card.is-navy > strong { background: #dbe7ff; color: #1e3a8a !important; }
#tab-leaderboard .oz-lb-avatar {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  overflow: hidden;
  background: #14243B;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#tab-leaderboard .oz-lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
html body #tab-leaderboard .oz-lb-card h4,
html body.light-mode #tab-leaderboard .oz-lb-card h4 {
  margin: 0.25rem 0 0 !important;
  color: #14243B !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
}
html body #tab-leaderboard .oz-lb-card p,
html body.light-mode #tab-leaderboard .oz-lb-card p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.7rem !important;
}
#tab-leaderboard .oz-lb-card > strong {
  margin-top: 0.45rem;
  width: 100%;
  border-radius: 0.7rem;
  padding: 0.4rem 0.35rem;
  font-size: 0.78rem;
  color: #14243B !important;
}
#tab-leaderboard .oz-lb-card > strong em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  color: #475569 !important;
}
#tab-leaderboard .oz-lb-table-wrap { overflow-x: auto; }
#tab-leaderboard .oz-lb-table { width: 100%; border-collapse: collapse; }
#tab-leaderboard .oz-lb-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: #94a3b8;
  padding: 0.4rem 0.45rem;
}
#tab-leaderboard .oz-lb-table td {
  padding: 0.65rem 0.45rem;
  border-top: 1px solid #eef2f7;
  color: #14243B;
  font-size: 0.82rem;
  font-weight: 700;
}
#tab-leaderboard .oz-lb-who { display: flex; align-items: center; gap: 0.5rem; }
#tab-leaderboard .oz-lb-who .oz-lb-avatar { width: 2rem; height: 2rem; font-size: 0.7rem; }
#tab-leaderboard .oz-lb-who .fa-crown.is-gold { color: #d6a843; }
#tab-leaderboard .oz-lb-who .fa-crown.is-silver { color: #94a3b8; }
#tab-leaderboard .oz-lb-who .fa-crown.is-bronze { color: #c2410c; }
#tab-leaderboard .oz-lb-table tr.is-you td { background: #fffbeb; }
#tab-leaderboard .oz-lb-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
#tab-leaderboard .oz-lb-metrics > div {
  border: 1px solid #eef2f7;
  border-radius: 0.9rem;
  padding: 0.75rem;
}
html body #tab-leaderboard .oz-lb-metrics em,
html body.light-mode #tab-leaderboard .oz-lb-metrics em {
  display: block;
  font-style: normal;
  color: #64748b !important;
  font-size: 0.7rem !important;
  font-weight: 700;
}
html body #tab-leaderboard .oz-lb-metrics strong,
html body.light-mode #tab-leaderboard .oz-lb-metrics strong {
  display: block;
  margin-top: 0.2rem;
  color: #14243B !important;
  font-size: 1.05rem !important;
}
html body #tab-leaderboard .oz-lb-metrics span,
html body.light-mode #tab-leaderboard .oz-lb-metrics span {
  color: #64748b !important;
  font-size: 0.72rem !important;
}
#tab-leaderboard .oz-lb-keep {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #eef6ff;
  border-radius: 0.95rem;
  padding: 0.85rem 0.95rem;
}
html body #tab-leaderboard .oz-lb-keep strong,
html body.light-mode #tab-leaderboard .oz-lb-keep strong { color: #14243B !important; font-size: 0.95rem !important; }
html body #tab-leaderboard .oz-lb-keep p,
html body.light-mode #tab-leaderboard .oz-lb-keep p {
  margin: 0.2rem 0 0 !important;
  color: #475569 !important;
  font-size: 0.75rem !important;
}
#tab-leaderboard .oz-lb-keep > i { font-size: 1.8rem; color: #60a5fa; }
#tab-leaderboard .oz-lb-empty { color: #64748b; font-size: 0.82rem; padding: 0.8rem 0.2rem; text-align: center; }

@media (min-width: 1024px) {
  #tab-leaderboard.oz-lb { gap: 1.15rem; max-width: none; }
  #tab-leaderboard .oz-lb-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.6rem;
    min-height: 13rem;
  }
  #tab-leaderboard .oz-lb-hero-copy { max-width: 34rem; }
  html body #tab-leaderboard .oz-lb-hero h2,
  html body.light-mode #tab-leaderboard .oz-lb-hero h2 { font-size: 2.15rem !important; }
  #tab-leaderboard .oz-lb-standing { width: 16.5rem; flex-shrink: 0; }
  #tab-leaderboard .oz-lb-top5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  #tab-leaderboard .oz-lb-card { flex: none; }
  #tab-leaderboard .oz-lb-lower {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 1rem;
    align-items: start;
  }
}

/* Treats & Rewards */
#tab-treats.oz-treats { display: flex; flex-direction: column; gap: 1rem; max-width: 1180px; }
#tab-treats .oz-treats-hero {
  display: flex; flex-direction: column; gap: 0.8rem;
  background: #fff; border: 1px solid #eef2f7; border-radius: 1.2rem; padding: 1.1rem 1.15rem;
}
html body #tab-treats .oz-treats-hero h2,
html body.light-mode #tab-treats .oz-treats-hero h2 {
  margin: 0 !important; color: #14243B !important; font-size: 1.55rem !important; font-weight: 900 !important;
}
#tab-treats .oz-treats-hero h2 i { color: #D6A843; margin-right: 0.35rem; }
html body #tab-treats .oz-treats-hero p,
html body.light-mode #tab-treats .oz-treats-hero p {
  margin: 0.35rem 0 0 !important; color: #64748b !important; font-size: 0.88rem !important; max-width: 36rem;
}
#tab-treats .oz-treats-hero-art {
  display: flex; align-items: center; gap: 0.7rem;
  background: linear-gradient(135deg, #fff7e8, #eef6ff); border-radius: 1rem; padding: 0.85rem 1rem;
}
#tab-treats .oz-treats-hero-art i { font-size: 2rem; color: #D6A843; }
html body #tab-treats .oz-treats-hero-art em,
html body.light-mode #tab-treats .oz-treats-hero-art em {
  font-family: "Caveat", cursive; font-style: normal; font-size: 1.35rem; color: #14243B !important; font-weight: 700;
}
#tab-treats .oz-treats-giveaway {
  display: flex; flex-direction: column; gap: 0.7rem; text-decoration: none;
  background: linear-gradient(90deg, #fff1f5, #ffe4ee); border-radius: 1.1rem; padding: 0.95rem 1rem;
}
#tab-treats .oz-treats-perk {
  display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content;
  background: #fff; color: #db2777 !important; border-radius: 999px; padding: 0.3rem 0.65rem; font-size: 0.72rem; font-weight: 800;
}
html body #tab-treats .oz-treats-giveaway strong,
html body.light-mode #tab-treats .oz-treats-giveaway strong { display: block; color: #14243B !important; font-size: 0.95rem !important; }
html body #tab-treats .oz-treats-giveaway em,
html body.light-mode #tab-treats .oz-treats-giveaway em { display: block; margin-top: 0.2rem; font-style: normal; color: #64748b !important; font-size: 0.78rem !important; }
#tab-treats .oz-treats-join {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  background: #ec4899; color: #fff !important; border-radius: 999px; padding: 0.6rem 0.9rem; font-size: 0.78rem; font-weight: 800; width: fit-content;
}
#tab-treats .oz-treats-panel {
  background: #fff; border: 1px solid #eef2f7; border-radius: 1.2rem; padding: 1rem;
}
#tab-treats .oz-treats-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.75rem; }
html body #tab-treats .oz-treats-head h3,
html body.light-mode #tab-treats .oz-treats-head h3 { margin: 0 !important; color: #14243B !important; font-size: 1.05rem !important; font-weight: 800 !important; }
#tab-treats .oz-treats-head h3 i { color: #D6A843; margin-right: 0.3rem; }
#tab-treats .oz-treats-head button { border: 0; background: transparent; color: #2563eb !important; font-weight: 800; font-size: 0.78rem; cursor: pointer; }
#tab-treats .oz-treats-how { display: none; margin: 0 0 0.75rem; color: #475569; font-size: 0.8rem; }
#tab-treats .oz-treats-how.is-open { display: block; }
#tab-treats .oz-treats-catalog { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
#tab-treats .oz-treats-catalog article {
  border-radius: 1rem; padding: 0.9rem; min-height: 9.5rem; display: flex; flex-direction: column; gap: 0.3rem;
}
#tab-treats .oz-treats-catalog .is-gold { background: #fff8e8; }
#tab-treats .oz-treats-catalog .is-blue { background: #eef6ff; }
#tab-treats .oz-treats-catalog .is-violet { background: #f5f0ff; }
#tab-treats .oz-treats-catalog .is-green { background: #eefbf3; }
#tab-treats .oz-treats-catalog i { font-size: 1.4rem; color: #14243B; }
html body #tab-treats .oz-treats-catalog h4,
html body.light-mode #tab-treats .oz-treats-catalog h4 { margin: 0.2rem 0 0 !important; color: #14243B !important; font-size: 0.92rem !important; font-weight: 800 !important; }
html body #tab-treats .oz-treats-catalog p,
html body.light-mode #tab-treats .oz-treats-catalog p { margin: 0 !important; color: #64748b !important; font-size: 0.75rem !important; flex: 1; }
#tab-treats .oz-treats-catalog span {
  margin-top: 0.4rem; align-self: flex-start; background: #fff; border-radius: 999px; padding: 0.25rem 0.55rem;
  color: #14243B !important; font-size: 0.68rem; font-weight: 800;
}
#tab-treats .oz-treats-mine { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 0.85rem; }
#tab-treats .oz-treat-card { border: 1px solid #e8edf3; border-radius: 1rem; padding: 0.9rem; background: #fff; }
html body #tab-treats .oz-treat-card h3,
html body.light-mode #tab-treats .oz-treat-card h3 { margin: 0 0 0.35rem !important; color: #14243B !important; font-size: 0.95rem !important; }
html body #tab-treats .oz-treat-card p,
html body.light-mode #tab-treats .oz-treat-card p { margin: 0.4rem 0 0.7rem !important; color: #64748b !important; font-size: 0.78rem !important; }
#tab-treats .oz-treat-card button {
  width: 100%; border: 0; border-radius: 0.8rem; background: #14243B; color: #fff !important; font-weight: 800; padding: 0.6rem; cursor: pointer;
}
#tab-treats .oz-treats-empty { color: #64748b; font-size: 0.82rem; text-align: center; padding: 0.4rem 0; }
#tab-treats .oz-treats-keep {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: #f8fafc; border: 1px solid #eef2f7; border-radius: 1.1rem; padding: 0.95rem 1rem;
}
html body #tab-treats .oz-treats-keep strong,
html body.light-mode #tab-treats .oz-treats-keep strong { color: #14243B !important; }
html body #tab-treats .oz-treats-keep p,
html body.light-mode #tab-treats .oz-treats-keep p { margin: 0.2rem 0 0 !important; color: #64748b !important; font-size: 0.78rem !important; }
#tab-treats .oz-treats-keep > i { font-size: 1.7rem; color: #D6A843; }
@media (min-width: 900px) {
  #tab-treats .oz-treats-hero { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; }
  #tab-treats .oz-treats-giveaway { flex-direction: row; align-items: center; }
  #tab-treats .oz-treats-giveaway > span:nth-child(2) { flex: 1; }
  #tab-treats .oz-treats-catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #tab-treats .oz-treats-mine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Treats & Rewards v2 (navy hero reference) */
#tab-treats .oz-treats-hero {
  background: linear-gradient(110deg, #0c1730 0%, #14243B 55%, #1b3560 100%) !important;
  border: 0 !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}
html body #tab-treats .oz-treats-hero h2,
html body.light-mode #tab-treats .oz-treats-hero h2 { color: #fff !important; font-size: 1.75rem !important; }
html body #tab-treats .oz-treats-hero h2 span,
html body.light-mode #tab-treats .oz-treats-hero h2 span { color: #F3C877 !important; }
#tab-treats .oz-treats-hero h2 i { color: #F3C877; }
html body #tab-treats .oz-treats-hero-copy > p,
html body.light-mode #tab-treats .oz-treats-hero-copy > p { color: rgba(255,255,255,0.88) !important; }
#tab-treats .oz-treats-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 0.85rem; }
#tab-treats .oz-treats-steps span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid rgba(243,200,119,0.6); border-radius: 999px; padding: 0.35rem 0.7rem;
  color: #fff !important; font-size: 0.74rem; font-weight: 800;
}
#tab-treats .oz-treats-steps span i { color: #F3C877; }
#tab-treats .oz-treats-steps b { color: #F3C877; font-size: 0.6rem; }
#tab-treats .oz-treats-hero-art {
  background: transparent !important; flex-direction: column; align-items: flex-end; text-align: right; gap: 0.3rem; padding: 0.4rem 0.2rem;
}
#tab-treats .oz-treats-hero-art i { font-size: 2.6rem; color: #F3C877; opacity: 0.9; }
html body #tab-treats .oz-treats-hero-art em,
html body.light-mode #tab-treats .oz-treats-hero-art em { color: #fff !important; font-size: 1.45rem; line-height: 1.05; transform: rotate(-6deg); }

#tab-treats .oz-treats-giveaway {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #fff1f6 0%, #fde7f0 60%, #f6e3f7 100%) !important;
  border: 1px solid #fbcfe8;
}
#tab-treats .oz-treats-giveaway-copy { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
#tab-treats .oz-treats-perk { background: #fce7f3 !important; color: #be185d !important; }
#tab-treats .oz-treats-perk i { color: #D6A843; }
#tab-treats .oz-treats-giveaway strong i { color: #ec4899; font-size: 0.85rem; }
#tab-treats .oz-treats-join { background: linear-gradient(90deg, #db2777, #e11d74) !important; padding: 0.7rem 1.1rem !important; }
#tab-treats .oz-treats-giveaway-art { position: absolute; right: -0.4rem; bottom: -0.6rem; font-size: 4.5rem; color: rgba(236,72,153,0.15); pointer-events: none; }
@media (min-width: 900px) {
  #tab-treats .oz-treats-giveaway { padding-right: 6rem; }
  #tab-treats .oz-treats-giveaway-art { right: 1.2rem; bottom: -0.8rem; font-size: 5.5rem; }
}

html body #tab-treats .oz-treats-head p,
html body.light-mode #tab-treats .oz-treats-head p { margin: 0.2rem 0 0 !important; color: #64748b !important; font-size: 0.78rem !important; }
#tab-treats .oz-treats-head button { white-space: nowrap; }
#tab-treats .oz-treats-catalog .is-gold i { color: #d6a843; }
#tab-treats .oz-treats-catalog .is-blue i { color: #2563eb; }
#tab-treats .oz-treats-catalog .is-violet i { color: #7c3aed; }
#tab-treats .oz-treats-catalog .is-green i { color: #16a34a; }
#tab-treats .oz-treats-catalog .is-gold span { color: #b45309 !important; }
#tab-treats .oz-treats-catalog .is-blue span { color: #1d4ed8 !important; }
#tab-treats .oz-treats-catalog .is-violet span { color: #6d28d9 !important; }
#tab-treats .oz-treats-catalog .is-green span { color: #15803d !important; }

#tab-treats .oz-treats-keep {
  position: relative; overflow: hidden; justify-content: flex-start !important;
  background: linear-gradient(90deg, #eaf3ff 0%, #f4f8ff 60%, #e3eefc 100%) !important;
  border: 1px solid #dbeafe !important;
}
#tab-treats .oz-treats-keep > div { flex: 1; }
#tab-treats .oz-treats-keep-trophy { font-size: 1.9rem !important; color: #D6A843 !important; }
html body #tab-treats .oz-treats-keep em,
html body.light-mode #tab-treats .oz-treats-keep em {
  display: none; font-family: "Caveat", cursive; font-style: normal; font-weight: 700; font-size: 1.45rem; line-height: 1;
  color: #14243B !important; transform: rotate(-6deg); text-align: center;
}
#tab-treats .oz-treats-keep-art { display: none; font-size: 2.6rem; color: #3b82f6; }
@media (min-width: 900px) {
  html body #tab-treats .oz-treats-keep em,
  html body.light-mode #tab-treats .oz-treats-keep em { display: block; }
  #tab-treats .oz-treats-keep-art { display: block; }
}
html body.light-mode #tab-treats .oz-treats-hero > div,
html body #tab-treats .oz-treats-hero-copy {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#tab-treats .oz-treats-hero-copy { flex: 1; max-width: 36rem; }
#tab-treats .oz-treats-giveaway > span:nth-child(2) { flex: none !important; }
#tab-treats .oz-treats-join { flex: none; width: fit-content !important; white-space: nowrap; }

#tab-treats .oz-treats-hero-art { align-items: center !important; flex-direction: row !important; gap: 0.4rem; }
#tab-treats .oz-treats-hero-art img {
  width: 11.5rem; height: 6.4rem; object-fit: cover; border-radius: 0.9rem;
}
#tab-treats .oz-treats-catalog article img {
  width: 100%; height: 7.2rem; object-fit: cover; border-radius: 0.8rem; background: #fff;
}
#tab-treats .oz-treats-giveaway-art {
  position: static !important; width: 4.6rem; height: 4.6rem; object-fit: cover; border-radius: 0.9rem;
  font-size: unset; color: unset; pointer-events: none; flex: none;
}
#tab-treats .oz-treats-keep-art {
  display: none; width: 4.4rem; height: 4.4rem; object-fit: cover; border-radius: 0.8rem; font-size: unset; color: unset;
}
@media (min-width: 900px) {
  #tab-treats .oz-treats-hero-art img { width: 16rem; height: 8.2rem; }
  #tab-treats .oz-treats-giveaway { padding-right: 1rem; }
  #tab-treats .oz-treats-keep-art { display: block; }
}

@media (max-width: 899px) {
  #tab-treats.oz-treats { gap: 0.85rem; }
  #tab-treats .oz-treats-hero { padding: 1rem !important; }
  html body #tab-treats .oz-treats-hero h2,
  html body.light-mode #tab-treats .oz-treats-hero h2 { font-size: 1.35rem !important; }
  #tab-treats .oz-treats-hero-art { width: 100%; justify-content: space-between; }
  #tab-treats .oz-treats-hero-art img { width: 9.5rem; height: 5.4rem; }
  #tab-treats .oz-treats-giveaway { align-items: stretch; }
  #tab-treats .oz-treats-join { width: 100% !important; justify-content: center; }
  #tab-treats .oz-treats-giveaway-art { align-self: flex-end; width: 3.6rem; height: 3.6rem; }
  #tab-treats .oz-treats-head { align-items: flex-start; }
  #tab-treats .oz-treats-catalog {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  #tab-treats .oz-treats-catalog article { min-height: 0; padding: 0.55rem; }
  #tab-treats .oz-treats-catalog article img { height: 4.6rem; }
  html body #tab-treats .oz-treats-catalog h4,
  html body.light-mode #tab-treats .oz-treats-catalog h4 { font-size: 0.78rem !important; }
  #tab-treats .oz-treats-yours { min-height: 8.5rem; }
  #tab-treats .oz-treats-mine { min-height: 4.5rem; }
  #tab-treats .oz-treats-keep { flex-wrap: wrap; }
  #tab-treats .oz-treats-keep em,
  #tab-treats .oz-treats-keep-art { display: none !important; }
}

/* Invite Affiliates */
#tab-invited-affiliates.oz-inv { display: flex; flex-direction: column; gap: 1rem; max-width: 1180px; }
#tab-invited-affiliates .oz-inv-hero {
  display: flex; flex-direction: column; gap: 1rem;
  background: linear-gradient(115deg, #0c1730, #14243B 60%, #1b3560);
  border-radius: 1.2rem; padding: 1.1rem; color: #fff;
}
html body #tab-invited-affiliates .oz-inv-hero h2,
html body.light-mode #tab-invited-affiliates .oz-inv-hero h2 {
  margin: 0 !important; color: #fff !important; font-size: 1.6rem !important; font-weight: 900 !important; text-transform: uppercase;
}
html body #tab-invited-affiliates .oz-inv-hero h2 span,
html body.light-mode #tab-invited-affiliates .oz-inv-hero h2 span { color: #F3C877 !important; }
#tab-invited-affiliates .oz-inv-hero h2 i { color: #F3C877; margin-right: 0.35rem; }
html body #tab-invited-affiliates .oz-inv-hero-copy > p,
html body.light-mode #tab-invited-affiliates .oz-inv-hero-copy > p { color: rgba(255,255,255,0.88) !important; font-size: 0.86rem !important; margin: 0.4rem 0 0.8rem !important; }
#tab-invited-affiliates .oz-inv-steps { display: flex; flex-wrap: wrap; gap: 0.4rem; }
#tab-invited-affiliates .oz-inv-steps span {
  border: 1px solid rgba(243,200,119,0.55); border-radius: 999px; padding: 0.35rem 0.65rem;
  color: #fff !important; font-size: 0.72rem; font-weight: 800;
}
#tab-invited-affiliates .oz-inv-steps i { color: #F3C877; margin-right: 0.25rem; }
#tab-invited-affiliates .oz-inv-reward { background: rgba(255,255,255,0.08); border: 1px solid rgba(243,200,119,0.35); border-radius: 1rem; padding: 0.85rem; }
html body #tab-invited-affiliates .oz-inv-reward em,
html body.light-mode #tab-invited-affiliates .oz-inv-reward em { display: block; font-family: "Caveat", cursive; font-style: normal; color: #fff !important; font-size: 1.4rem; margin-bottom: 0.4rem; }
html body #tab-invited-affiliates .oz-inv-reward p,
html body.light-mode #tab-invited-affiliates .oz-inv-reward p { margin: 0 !important; color: #F3C877 !important; font-size: 0.72rem !important; font-weight: 800; text-transform: uppercase; }
html body #tab-invited-affiliates .oz-inv-reward strong,
html body.light-mode #tab-invited-affiliates .oz-inv-reward strong { display: block; color: #fff !important; font-size: 1.5rem !important; }
#tab-invited-affiliates .oz-inv-reward small { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.8); }
html body #tab-invited-affiliates .oz-inv-reward span,
html body.light-mode #tab-invited-affiliates .oz-inv-reward span { display: block; margin: 0.25rem 0 0.6rem; color: rgba(255,255,255,0.85) !important; font-size: 0.75rem !important; }
#tab-invited-affiliates .oz-inv-reward i.fa-gift { color: #F3C877; }
#tab-invited-affiliates .oz-inv-reward button {
  border: 0; border-radius: 999px; background: #F3C877; color: #14243B !important; font-weight: 800; padding: 0.55rem 0.9rem; cursor: pointer;
}
#tab-invited-affiliates .oz-inv-card { background: #fff; border: 1px solid #eef2f7; border-radius: 1.15rem; padding: 0.95rem; }
html body #tab-invited-affiliates .oz-inv-card h3,
html body.light-mode #tab-invited-affiliates .oz-inv-card h3 { margin: 0 !important; color: #14243B !important; font-size: 1rem !important; font-weight: 800 !important; }
#tab-invited-affiliates .oz-inv-card h3 i { color: #2563eb; margin-right: 0.3rem; }
html body #tab-invited-affiliates .oz-inv-card-head p,
html body.light-mode #tab-invited-affiliates .oz-inv-card-head p { margin: 0.2rem 0 0 !important; color: #64748b !important; font-size: 0.78rem !important; }
#tab-invited-affiliates .oz-inv-share { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.8rem; width: 100%; }
#tab-invited-affiliates .oz-inv-share label { display: block; width: 100%; }
#tab-invited-affiliates .oz-inv-share label span { display: block; color: #14243B !important; font-size: 0.75rem; font-weight: 800; margin-bottom: 0.3rem; }
#tab-invited-affiliates .oz-inv-share label span i { color: #D6A843; margin-right: 0.25rem; }
#tab-invited-affiliates .oz-inv-share label div {
  display: flex; gap: 0.4rem; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.8rem; padding: 0.35rem 0.35rem 0.35rem 0.7rem;
}
html body #tab-invited-affiliates .oz-inv-share b,
html body.light-mode #tab-invited-affiliates #user-invite-code-display,
html body.light-mode #tab-invited-affiliates #user-invite-link-display {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #14243B !important; font-size: 0.78rem !important; background: transparent !important;
}
#tab-invited-affiliates .oz-inv-share button {
  border: 0; border-radius: 0.65rem; background: #14243B; color: #fff !important; font-weight: 800; font-size: 0.75rem; padding: 0.5rem 0.7rem; cursor: pointer; white-space: nowrap;
}
#tab-invited-affiliates .oz-inv-qr { display: flex; align-items: center; gap: 0.7rem; background: #f8fafc; border-radius: 0.9rem; padding: 0.6rem; }
#tab-invited-affiliates .oz-inv-qr img { width: 5.5rem; height: 5.5rem; background: #fff; border-radius: 0.4rem; }
html body #tab-invited-affiliates .oz-inv-qr p,
html body.light-mode #tab-invited-affiliates .oz-inv-qr p { margin: 0 !important; color: #64748b !important; font-size: 0.78rem !important; }
#tab-invited-affiliates .oz-inv-how ol { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
#tab-invited-affiliates .oz-inv-how li { display: flex; flex-direction: column; gap: 0.15rem; }
#tab-invited-affiliates .oz-inv-how li i { width: 2rem; height: 2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #7c3aed; }
#tab-invited-affiliates .oz-inv-how li:nth-child(2) i { background: #16a34a; }
#tab-invited-affiliates .oz-inv-how li:nth-child(3) i { background: #2563eb; }
#tab-invited-affiliates .oz-inv-how li:nth-child(4) i { background: #D6A843; color: #14243B; }
html body #tab-invited-affiliates .oz-inv-how b,
html body.light-mode #tab-invited-affiliates .oz-inv-how b { color: #14243B !important; font-size: 0.82rem !important; }
html body #tab-invited-affiliates .oz-inv-how li span,
html body.light-mode #tab-invited-affiliates .oz-inv-how li span { color: #64748b !important; font-size: 0.72rem !important; }
html body #tab-invited-affiliates .oz-inv-how > em,
html body.light-mode #tab-invited-affiliates .oz-inv-how > em { display: block; margin-top: 0.7rem; font-family: "Caveat", cursive; font-style: normal; color: #14243B !important; font-size: 1.35rem; }
#tab-invited-affiliates .oz-inv-table-head { display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; background: #14243B; color: #fff; border-radius: 0.8rem; padding: 0.7rem 0.8rem; }
html body #tab-invited-affiliates .oz-inv-table-head h3,
html body.light-mode #tab-invited-affiliates .oz-inv-table-head h3 { color: #fff !important; }
#tab-invited-affiliates .oz-inv-table-head h3 i { color: #F3C877; }
html body #tab-invited-affiliates .oz-inv-table-head p,
html body.light-mode #tab-invited-affiliates .oz-inv-table-head p { margin: 0 !important; color: rgba(255,255,255,0.85) !important; font-size: 0.75rem !important; }
#tab-invited-affiliates .oz-inv-metrics { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; margin: 0.7rem 0; color: #64748b; font-size: 0.72rem; }
#tab-invited-affiliates .oz-inv-metrics b { color: #14243B; }
#tab-invited-affiliates .oz-inv-table-wrap { overflow-x: auto; }
#tab-invited-affiliates .oz-inv-table { width: 100%; border-collapse: collapse; min-width: 36rem; }
#tab-invited-affiliates .oz-inv-table th { text-align: left; font-size: 0.68rem; color: #94a3b8; padding: 0.35rem 0.4rem; }
#tab-invited-affiliates .oz-inv-table td { padding: 0.65rem 0.4rem; border-top: 1px solid #eef2f7; color: #14243B; font-size: 0.8rem; font-weight: 700; vertical-align: middle; }
#tab-invited-affiliates .oz-inv-who { display: flex; align-items: center; gap: 0.45rem; }
#tab-invited-affiliates .oz-inv-who span { width: 1.8rem; height: 1.8rem; border-radius: 999px; background: #14243B; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; }
#tab-invited-affiliates .oz-inv-badge { border-radius: 999px; padding: 0.15rem 0.45rem; font-size: 0.68rem; }
#tab-invited-affiliates .oz-inv-badge.is-active, #tab-invited-affiliates .oz-inv-badge.is-paid { background: #dcfce7; color: #166534 !important; }
#tab-invited-affiliates .oz-inv-badge.is-progress { background: #ffedd5; color: #c2410c !important; }
#tab-invited-affiliates .oz-inv-badge.is-credit { background: #e0e7ff; color: #3730a3 !important; }
#tab-invited-affiliates .oz-inv-bar { height: 0.4rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; min-width: 5rem; }
#tab-invited-affiliates .oz-inv-bar i { display: block; height: 100%; background: #f59e0b; }
#tab-invited-affiliates .oz-inv-bar.is-done i { background: #16a34a; }
#tab-invited-affiliates .oz-inv-table small { color: #64748b; font-weight: 700; }
#tab-invited-affiliates .oz-inv-empty { text-align: center; color: #64748b; font-weight: 600; padding: 1rem !important; }
#tab-invited-affiliates .oz-inv-invoices .invite-row { border-top: 1px solid #eef2f7; padding: 0.7rem 0.2rem; }
@media (min-width: 1024px) {
  #tab-invited-affiliates .oz-inv-hero { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.4rem; }
  #tab-invited-affiliates .oz-inv-hero-copy { max-width: 36rem; }
  #tab-invited-affiliates .oz-inv-reward { width: 16rem; }
  #tab-invited-affiliates .oz-inv-share {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
    width: 100%;
  }
  #tab-invited-affiliates .oz-inv-how { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  #tab-invited-affiliates .oz-inv-how ol { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-column: 1 / -1; }
  #tab-invited-affiliates .oz-inv-how > em { justify-self: end; }
}
#tab-invited-affiliates .invite-empty { color: #475569 !important; background: #f8fafc !important; border-color: #e2e8f0 !important; }
html body #tab-invited-affiliates #invoice-page-info,
html body.light-mode #tab-invited-affiliates #invoice-page-info {
  color: #14243B !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}
#tab-invited-affiliates .oz-inv-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
#tab-invited-affiliates .oz-inv-pages { display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
#tab-invited-affiliates .oz-inv-pages button {
  border: 0; border-radius: 999px; background: #14243B; color: #fff !important;
  font-weight: 800; font-size: 0.75rem; padding: 0.45rem 0.85rem; cursor: pointer;
}
#tab-invited-affiliates .oz-inv-pages button:disabled { background: #e2e8f0; color: #475569 !important; cursor: default; }
