:root {
  --home-bg: #10121b;
  --home-card-bg: #0e1520;
  --home-card-border: rgba(148, 163, 184, 0.2);
  --home-inner-bg: #111827;
  --home-inner-border: rgba(148, 163, 184, 0.16);
  --home-text: #f4f1eb;
  --home-muted: #9aa6b8;
  --home-primary: #38bdf8;
  --home-primary-hover: #0284c7;
  --home-blue: #3b82f6;
  --home-orange: #f97316;
  --home-purple: #a855f7;
}

body {
  background-color: var(--home-bg) !important;
  color: var(--home-text) !important;
}

.main-content {
  position: relative;
  overflow: hidden;
}

.home-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.ambient-glow-right {
  width: 500px;
  height: 360px;
  top: 40px;
  right: max(2%, calc(50% - 640px));
  background: radial-gradient(circle, rgba(56, 189, 248, 0.09) 0%, rgba(14, 114, 255, 0.04) 55%, transparent 75%);
}

.ambient-glow-left {
  width: 440px;
  height: 320px;
  top: 240px;
  left: max(0%, calc(50% - 660px));
  background: radial-gradient(circle, rgba(14, 114, 255, 0.05) 0%, rgba(56, 189, 248, 0.03) 55%, transparent 75%);
}

.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 84px auto 0 auto;
  padding: 16px 12px 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.glass-card {
  background: var(--home-card-bg);
  border: 1px solid var(--home-card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  border-radius: 18px;
  padding: 20px 22px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 16px 0;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-desc {
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 26px 0;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 0.90rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.hero-btn-green,
.hero-btn-primary {
  background: #0284c7;
  color: #ffffff !important;
  border: 1px solid #38bdf8;
}

.hero-btn-green:hover,
.hero-btn-primary:hover {
  background: #026da3;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.hero-btn-gray,
.hero-btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #151f31;
  color: #cbd5e1;
}

.hero-btn-gray:hover,
.hero-btn-secondary:hover {
  background: #1b2740;
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-right-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.partner-panel {
  padding: 18px 20px;
}

.section-heading {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.partner-box {
  background: var(--home-inner-bg);
  border: 1px solid var(--home-inner-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.partner-box:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: #151c2a;
  transform: translateY(-1px);
}

.partner-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-brand {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 7px;
}

.partner-site-logo {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.stat-top-site-wrap {
  display: inline-flex;
  align-items: center;
}

.stat-top-site-wrap:empty {
  display: none;
}

.rate-badge {
  font-size: 0.74rem;
  color: var(--home-muted);
  font-weight: 600;
}

.rate-highlight {
  color: var(--home-primary);
  font-weight: 800;
}

.stars {
  color: #fbbf24;
  font-size: 0.74rem;
  line-height: 1;
  margin: 1px 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.partner-foot {
  font-size: 0.68rem;
  color: var(--home-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.milestone-panel {
  padding: 16px 20px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.milestone-row {
  background: var(--home-inner-bg);
  border: 1px solid var(--home-inner-border);
  border-left: 3.5px solid var(--home-primary);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.25s ease, background 0.2s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.milestone-row:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: #151c2a;
}

.milestone-row.is-fading {
  opacity: 0.35;
}

.live-dot {
  color: var(--home-primary);
  flex-shrink: 0;
  animation: homePulseDot 2s infinite ease-in-out;
}

@keyframes homePulseDot {
  0%, 100% {
    color: 0 0 0 3px rgba(56, 189, 248, 0.25);
  }
  50% {
    color: 0 0 0 6px rgba(56, 189, 248, 0.08);
  }
}

.milestone-text {
  color: #cbd5e1;
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.milestone-text strong {
  color: #ffffff;
  font-weight: 600;
}

.highlight-val {
  color: var(--home-primary);
  font-weight: 600;
  font-size: 0.75rem;
  font-family: var(--font-mono, monospace);
}

.highlight-val.milestone-price-badge {
  flex-shrink: 0;
  white-space: nowrap;
}

.time-tag {
  font-size: 0.68rem;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--home-muted);
  flex-shrink: 0;
}

.website-logo-badge {
  display: inline-block;
  height: 1.15em;
  width: 1.15em;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 3px;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.website-logo-badge:hover {
  transform: scale(1.1);
  opacity: 0.95;
}

.milestone-logo {
  height: 1.35em;
  width: 1.35em;
}

.modal-website-logo {
  height: 1.35em;
  width: 1.35em;
}

.website-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.2;
  flex-shrink: 0;
}

.website-pill.earnlab {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.32);
}

.website-pill.freecash {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.32);
}

.website-pill.lootably {
  background: rgba(249, 115, 22, 0.14);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.32);
}

.website-pill.gemsloot {
  background: rgba(139, 92, 246, 0.14);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.32);
}

.mobile-platform-heading {
  display: none;
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 4px 0 -12px 2px;
}

.earnings-widget-section {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 899px) {
  .earnings-widget-section {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

.widget-earners-horizontal {
  width: 100%;
  box-sizing: border-box;
}

.earnings-horizontal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.earnings-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.earnings-title-wrap h2 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.earnings-title-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
}

.weekly-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

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

@media (min-width: 1024px) {
  .weekly-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dashboard-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

@media (max-width: 899px) {
  .dashboard-widgets {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

@media (min-width: 680px) and (max-width: 991px) {
  .dashboard-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-widgets .widget-audits {
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) {
  .dashboard-widgets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .dashboard-widgets {
    gap: 12px;
  }
  .dashboard-widgets .glass-card {
    padding: 16px 14px;
  }
}

.widget-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.widget-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.widget-top h2 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.see-all {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--home-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.see-all:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.discover-subsection {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 9px;
}

.discover-type-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--home-inner-bg);
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--home-inner-border);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.discover-type-pill {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  color: var(--home-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discover-type-pill:hover {
  color: #ffffff;
}

.discover-type-pill.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--home-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 700;
}

.discover-time-pills {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.discover-time-btn {
  background: transparent;
  border: 1px solid var(--home-inner-border);
  color: var(--home-muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.discover-time-btn:hover {
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
}

.discover-time-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--home-primary);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 700;
}

.discover-slide-container {
  transition: opacity 0.22s ease, transform 0.22s ease;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.discover-slide-container.is-transitioning {
  opacity: 0.2;
  transform: translateY(2px);
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--home-inner-bg);
  border: 1px solid var(--home-inner-border);
  border-radius: 11px;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.list-item.offer-clickable {
  cursor: pointer;
  border-left-width: 3.5px;
}

.list-item.offer-clickable:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: #151c2a;
}

.badge-icon {
  display: none !important;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f4f1eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-sub {
  font-size: 0.73rem;
  color: var(--home-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.sub-provider-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #cbd5e1;
}

.cashout-provider-txt {
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.small-dot {
  width: 5px;
  height: 5px;
  background-color: var(--home-primary);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.time-mini {
  font-size: 0.68rem;
  color: var(--home-muted);
  font-weight: 400;
  margin-left: 3px;
  flex-shrink: 0;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.item-price {
  font-size: 0.88rem;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  flex-shrink: 0;
}

.item-click-arrow {
  color: var(--home-muted);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.16s ease, color 0.16s ease;
  user-select: none;
}

.list-item.offer-clickable:hover .item-click-arrow {
  color: #38bdf8;
  transform: translateX(2px);
}

.list-item.offer-clickable:hover .item-title {
  color: #38bdf8;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.user-avatar img,
.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  border: none;
}

.avatar-v1 .avatar-bg { fill: #1e293b; }
.avatar-v1 .avatar-head { fill: #f59e0b; }
.avatar-v1 .avatar-body { fill: #3b82f6; }

.avatar-v2 .avatar-bg { fill: #1f2937; }
.avatar-v2 .avatar-head { fill: #fbbf24; }
.avatar-v2 .avatar-body { fill: #10b981; }

.avatar-v3 .avatar-bg { fill: #1e1b4b; }
.avatar-v3 .avatar-head { fill: #f97316; }
.avatar-v3 .avatar-body { fill: #06b6d4; }

.avatar-v4 .avatar-bg { fill: #172554; }
.avatar-v4 .avatar-head { fill: #fcd34d; }
.avatar-v4 .avatar-body { fill: #8b5cf6; }

.avatar-v5 .avatar-bg { fill: #132a2e; }
.avatar-v5 .avatar-head { fill: #fdba74; }
.avatar-v5 .avatar-body { fill: #ec4899; }

.avatar-verified-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--home-primary);
  border: 1.5px solid #111827;
  color: #030712;
  font-size: 7px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.weekly-stats-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  justify-content: space-between;
}

.stat-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.stat-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.stat-left .item-sub > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.metric-icon-badge.teal,
.metric-icon-badge.sky {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.metric-icon-badge.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.metric-icon-badge.crown {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.stat-sub-user {
  color: #e2e8f0;
  font-weight: 600;
  display: inline-block;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.stat-sub-waiting {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.78rem;
}

.stat-highlight-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  flex-shrink: 0;
  text-align: right;
}

.gpt-clock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 6px;
  padding: 2px 7px;
  color: #38bdf8;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gpt-clock-badge .gpt-tz-label {
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.65rem;
  background: rgba(245, 158, 11, 0.15);
  padding: 1px 4px;
  border-radius: 3px;
}

.stat-reset-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.stat-reset-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
}

.stat-reset-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.2;
}

.stat-reset-pill.reset-countdown {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

.audit-item-row {
  cursor: pointer;
  text-decoration: none;
}

.audit-item-row:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: #151c2a;
}

.audit-widget-provider {
  color: #94a3b8;
  font-weight: 600;
}

.audit-widget-cat {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  margin-left: 4px;
}

.audit-widget-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.audit-widget-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.2;
}

.audit-widget-score.audit-score-elite {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.audit-widget-score.audit-score-good {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.audit-widget-score.audit-score-warning {
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fb923c;
}

.audit-widget-score.audit-score-danger {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.milestone-offer {
  font-weight: 700;
  transition: color 0.2s ease;
}

.tier-0, .item-price.tier-0 { color: var(--tier-0) !important; }
.tier-1, .item-price.tier-1 { color: var(--tier-1) !important; }
.tier-2, .item-price.tier-2 { color: var(--tier-2) !important; }
.tier-3, .item-price.tier-3 { color: var(--tier-3) !important; }
.tier-4, .item-price.tier-4 { color: var(--tier-4) !important; }
.tier-5, .item-price.tier-5 { color: var(--tier-5) !important; }
.tier-6, .item-price.tier-6 { color: var(--tier-6) !important; }

.tier-border-0 { border-color: var(--tier-border-0) !important; }
.tier-border-1 { border-color: var(--tier-border-1) !important; }
.tier-border-2 { border-color: var(--tier-border-2) !important; }
.tier-border-3 { border-color: var(--tier-border-3) !important; }
.tier-border-4 { border-color: var(--tier-border-4) !important; }
.tier-border-5 { border-color: var(--tier-border-5) !important; }
.tier-border-6 { border-color: var(--tier-border-6) !important; }

.cashout-item-row {
  border-left-width: 1px !important;
  cursor: default;
}

.cashout-item-row:hover {
  transform: none !important;
  background: var(--home-inner-bg) !important;
}

.stat-item-row {
  border-left-width: 1px !important;
  cursor: default;
}

.stat-item-row:hover {
  transform: none !important;
  background: var(--home-inner-bg) !important;
}

.milestone-row.tier-border-0,
.offer-clickable.tier-border-0 {
  border-left-color: var(--tier-0) !important;
}

.milestone-row.tier-border-1,
.offer-clickable.tier-border-1 {
  border-left-color: var(--tier-1) !important;
}

.milestone-row.tier-border-2,
.offer-clickable.tier-border-2 {
  border-left-color: var(--tier-2) !important;
}

.milestone-row.tier-border-3,
.offer-clickable.tier-border-3 {
  border-left-color: var(--tier-3) !important;
}

.milestone-row.tier-border-4,
.offer-clickable.tier-border-4 {
  border-left-color: var(--tier-4) !important;
}

.milestone-row.tier-border-5,
.offer-clickable.tier-border-5 {
  border-left-color: var(--tier-5) !important;
}

.milestone-row.tier-border-6,
.offer-clickable.tier-border-6 {
  border-left-color: var(--tier-6) !important;
}

.milestone-row.tier-border-0:hover,
.offer-clickable.tier-border-0:hover {
  border-color: var(--tier-border-0) !important;
  border-left-color: var(--tier-0) !important;
}

.milestone-row.tier-border-1:hover,
.offer-clickable.tier-border-1:hover {
  border-color: var(--tier-border-1) !important;
  border-left-color: var(--tier-1) !important;
}

.milestone-row.tier-border-2:hover,
.offer-clickable.tier-border-2:hover {
  border-color: var(--tier-border-2) !important;
  border-left-color: var(--tier-2) !important;
}

.milestone-row.tier-border-3:hover,
.offer-clickable.tier-border-3:hover {
  border-color: var(--tier-border-3) !important;
  border-left-color: var(--tier-3) !important;
}

.milestone-row.tier-border-4:hover,
.offer-clickable.tier-border-4:hover {
  border-color: var(--tier-border-4) !important;
  border-left-color: var(--tier-4) !important;
}

.milestone-row.tier-border-5:hover,
.offer-clickable.tier-border-5:hover {
  border-color: var(--tier-border-5) !important;
  border-left-color: var(--tier-5) !important;
}

.milestone-row.tier-border-6:hover,
.offer-clickable.tier-border-6:hover {
  border-color: var(--tier-border-6) !important;
  border-left-color: var(--tier-6) !important;
}

.tier-dot-0 { color: var(--tier-0) !important; }
.tier-dot-1 { color: var(--tier-1) !important; }
.tier-dot-2 { color: var(--tier-2) !important; }
.tier-dot-3 { color: var(--tier-3) !important; }
.tier-dot-4 { color: var(--tier-4) !important; }
.tier-dot-5 { color: var(--tier-5) !important; }
.tier-dot-6 { color: var(--tier-6) !important; }

.weekly-casino-ad {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  background: var(--home-inner-bg);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 11px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.2s ease;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.weekly-casino-ad:hover {
  border-color: rgba(245, 158, 11, 0.38);
  background: #151c2a;
  transform: translateY(-1px);
}

.casino-ad-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.casino-ad-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.casino-ad-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.60rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
  line-height: 1.2;
}

.casino-sparkle {
  color: #f59e0b;
  font-size: 0.70rem;
  animation: sparklePulse 2s infinite ease-in-out;
}

@keyframes sparklePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.casino-ad-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: normal;
  overflow: visible;
  word-break: normal;
  max-width: 100%;
}

.casino-highlight {
  color: var(--home-primary);
  font-weight: 800;
}

.casino-ad-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  max-width: 100%;
}

.casino-ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f59e0b;
  color: #030712;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 7px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.weekly-casino-ad:hover .casino-ad-cta {
  background: #f59e0b;
  transform: translateX(1px);
}

@media (max-width: 767px) {
  .page-wrapper {
    padding: 16px 12px 40px;
    gap: 20px;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .hero-btn-green,
  .hero-btn-primary {
    min-width: 210px;
    padding: 12px 28px;
    font-size: 0.92rem;
  }

  .hero-btn-gray,
  .hero-btn-secondary {
    display: none;
  }

  .mobile-platform-heading {
    display: block;
  }

  .partner-list {
    grid-template-columns: 1fr;
  }

  .partner-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.handpicked-section {
  width: 100%;
  margin: 26px 0 20px 0;
  position: relative;
  z-index: 2;
}

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

.handpicked-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.handpicked-sparkle {
  color: #38bdf8;
  font-size: 1.15rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  animation: handpickedSparklePulse 2.5s infinite ease-in-out;
}

@keyframes handpickedSparklePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.95);
  }
}

.handpicked-heading {
  font-family: var(--font-primary);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.handpicked-subtext {
  font-size: 0.80rem;
  color: var(--home-muted);
}

.handpicked-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 4px 0 10px 0;
  cursor: grab;
  mask-image: linear-gradient(to right, transparent 0%, black 24px, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 24px, black calc(100% - 24px), transparent 100%);
}

.handpicked-carousel-wrapper:active,
.handpicked-carousel-wrapper.is-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}

.handpicked-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.handpicked-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.handpicked-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9) 0%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 14px;
  padding: 15px 16px;
  box-sizing: border-box;
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.5), 0 0 14px -3px rgba(56, 189, 248, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
  min-height: 240px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.handpicked-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  pointer-events: none;
}

.handpicked-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.65), 0 0 20px -2px rgba(56, 189, 248, 0.22);
  transform: translateY(-2px);
}

.handpicked-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.handpicked-thumb-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.handpicked-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.handpicked-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handpicked-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.handpicked-custom-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  white-space: nowrap;
}

.handpicked-site-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.70rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.handpicked-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.handpicked-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.handpicked-title {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0;
  min-width: 0;
}

.handpicked-price {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  color: #10b981;
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.handpicked-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.handpicked-provider-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 4px;
  padding: 2px 6px;
}

.handpicked-device-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.handpicked-device-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.2;
}

.handpicked-device-pill i {
  font-size: 0.62rem;
  color: #38bdf8;
}

.handpicked-summary {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--home-text);
  margin: 0 0 14px 0;
  height: 5.8em;
  max-height: 5.8em;
  overflow-y: auto;
  overflow-x: hidden;
  word-break: break-word;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

.handpicked-summary:focus {
  outline: 1px solid rgba(56, 189, 248, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.handpicked-summary:focus:not(:focus-visible) {
  outline: none;
}

.handpicked-summary::-webkit-scrollbar {
  width: 4px;
}

.handpicked-summary::-webkit-scrollbar-track {
  background: transparent;
}

.handpicked-summary::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 4px;
}

.handpicked-summary::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.6);
}

.handpicked-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.handpicked-device-buttons {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.handpicked-btn-device {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 8px;
  background: #0284c7;
  color: #ffffff !important;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  min-width: 0;
}

.handpicked-btn-device:hover {
  background: #026da3;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.handpicked-btn-device i {
  font-size: 0.82rem;
  flex-shrink: 0;
}

.handpicked-btn-primary {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0284c7;
  color: #ffffff !important;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  font-size: 0.80rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.handpicked-btn-primary:hover {
  background: #026da3;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.handpicked-btn-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1 !important;
  border-radius: 8px;
  font-size: 0.80rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.handpicked-btn-guide:hover {
  background: rgba(148, 163, 184, 0.24);
  color: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .handpicked-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
    min-height: 230px;
  }
}

@media (max-width: 768px) {
  .handpicked-heading {
    font-size: 1.02rem;
  }
  .handpicked-subtext {
    font-size: 0.74rem;
  }
  .handpicked-card {
    flex: 0 0 250px !important;
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
    padding: 12px 13px;
    border-radius: 12px;
    min-height: 220px;
  }
  .handpicked-thumb-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
  .handpicked-title {
    font-size: 0.86rem;
  }
  .handpicked-price {
    font-size: 0.94rem;
  }
  .handpicked-summary {
    font-size: 0.72rem;
    line-height: 1.4;
    margin-bottom: 10px;
    height: 5.4em;
    max-height: 5.4em;
  }
  .handpicked-btn-primary,
  .handpicked-btn-device,
  .handpicked-btn-guide {
    padding: 6px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .handpicked-subtext {
    display: none;
  }
  .handpicked-card {
    flex: 0 0 230px !important;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    padding: 10px 11px;
    min-height: 210px;
  }
}