@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --accent: #ef4444;
  /* Auth pages (login/signup/claim/home claim) palette — these pages style
     themselves with inline styles, so they read these vars directly.
     Light values are set in the light-theme section at the bottom. */
  --auth-shell: #08090b;
  --auth-card: linear-gradient(140deg, #101217, #0c0d10);
  --auth-card-border: rgba(0, 0, 0, 0.08);
  --auth-line: rgba(0, 0, 0, 0.1);
  --auth-text: #000000;
  --auth-sub: #440808;
  --auth-muted: #120606;
  --auth-dim: #330b0b;
  --auth-field: #101218;
  --auth-field-text: #580404;
  --auth-accent: #ffffff;
  --auth-accent-text: #604a4a;
  --auth-good: #de8383;
  --auth-good-text: #440d0d;
  --auth-good-bg: rgba(222, 131, 131, 0.07);
  --auth-bad: #f8d6d6;
  /* leaderboard period pills */
  --lb-pill-border: rgba(0, 0, 0, 0.15);
  --lb-pill-text: #610909;
  /* admin panel inline-style colors */
  --admin-chip-border: rgba(0, 0, 0, 0.1);
  --admin-chip-bg: rgba(0, 0, 0, 0.025);
  --admin-bar-bg: rgba(10, 15, 18, 0.97);
  --admin-bar-border: #452d2d;
  --admin-status-info: #9f1919;
  --admin-status-bad: #ffffff;
  --admin-status-warn: #f0a1a1;
  --admin-ok: #cd2323;
  --admin-bad: #ffffff;
  --admin-count-warn: #d73e3e;
  --admin-count-ok: #8a2020;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #050507;
  color: #580404;
  font-family: "Inter", system-ui, sans-serif;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.3deg); }
  50% { transform: translateY(-10px) rotate(0.3deg); }
}
@keyframes glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

.field {
  width: 100%;
  background: #0d0d13;
  border: 1px solid #2e2222;
  border-radius: 10px;
  padding: 10px 12px;
  color: #580404;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.field:focus {
  border-color: var(--accent);
}

.lbl {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--auth-muted, #240a0a);
  margin-bottom: 6px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  font-size: 13px;
  padding: 10px 16px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1.5px);
  filter: brightness(1.08);
}
.btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

:root[data-theme="light"] {
  --profile-text: #16181d;
}
:root[data-theme="light"] body {
  background: #5d0303 !important;
  color: #16181d;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @keyframes scrollHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
  }
}

a { color: var(--accent); }

.bugReportTrigger {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #11151c;
  color: #551212;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.suggestTrigger {
  right: 74px;
}
.globalChatTrigger {
  right: 128px;
  bottom: 20px;
  height: 44px;
  padding: 0 14px 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #11151c;
  color: #551212;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.globalChatOnlineText {
  display: flex;
}
.bugReportTrigger:hover {
  transform: translateY(-1px);
  background: #413333;
  color: #000000;
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.bugReportTrigger:focus-visible,
.bugReportClose:focus-visible,
.bugReportDialog button:focus-visible,
.bugReportDialog a:focus-visible {
  outline: 2px solid #f5caca;
  outline-offset: 3px;
}
.bugReportBackdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 22px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(5px);
}
.bugReportDialog {
  width: min(100%, 540px);
  max-height: min(90vh, 780px);
  overflow-y: auto;
  border: 1px solid #1e1515;
  border-radius: 20px;
  background: #101216;
  color: #770303;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}
.bugReportHeader {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #201717;
  background: #101216;
}
.bugReportEyebrow {
  color: #f5caca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.bugReportHeader h2 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.bugReportClose {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #201515;
  border-radius: 10px;
  background: #191c21;
  color: #240404;
  cursor: pointer;
}
.bugReportForm {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
}
.bugReportIntro,
.bugReportContext {
  margin: 0;
  color: #230707;
  font-size: 12px;
  line-height: 1.5;
}
.bugReportForm label {
  display: grid;
  gap: 7px;
  color: #3a0404;
  font-size: 12px;
  font-weight: 700;
}
.bugReportForm input,
.bugReportForm select,
.bugReportForm textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #201515;
  border-radius: 10px;
  outline: none;
  background: #090b0e;
  color: #770303;
  padding: 10px 11px;
  font: 400 13px/1.5 "Inter", system-ui, sans-serif;
}
.bugReportForm input:focus,
.bugReportForm select:focus,
.bugReportForm textarea:focus {
  border-color: #f5caca;
  box-shadow: 0 0 0 3px rgba(245, 202, 202, 0.12);
}
.bugReportForm textarea {
  min-height: 70px;
  resize: vertical;
}
.bugReportForm textarea::placeholder,
.bugReportForm input::placeholder {
  color: #1c0b0b;
}
.bugReportSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bugReportSubmit {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #f5caca;
  border-radius: 10px;
  background: #f5caca;
  color: #071116;
  padding: 10px 15px;
  font: 800 13px "Inter", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.bugReportSubmit:disabled {
  cursor: wait;
  opacity: 0.65;
}
.bugReportError {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
}
.bugReportNotice,
.bugReportSuccess {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 28px 24px;
  text-align: center;
}
.bugReportNotice p,
.bugReportSuccess p {
  margin: 0;
  color: #270707;
  font-size: 13px;
  line-height: 1.55;
}
.bugReportNotice .bugReportSubmit,
.bugReportSuccess .bugReportSubmit {
  width: 100%;
}
.bugReportSuccess > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(242, 195, 195, 0.13);
  color: #f2c3c3;
}
.bugReportSuccess strong {
  font-size: 17px;
}
.bugReportSpinner {
  animation: bugReportSpin 0.9s linear infinite;
}
@keyframes bugReportSpin {
  to { transform: rotate(360deg); }
}

.landingShell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  padding: 0 max(24px, calc((100vw - 1080px) / 2));
  /* one quiet wash of light over the top-right — static, never animated */
  background: radial-gradient(1100px 560px at 72% -6%, rgba(216, 120, 120, 0.13), transparent 62%),
    #080d18;
  color: #fa2626;
}
.landingHeader {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1080px);
  min-height: 56px;
  grid-template-areas: "brand main account";
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 16px auto 0;
  padding: 0 16px;
  border: 1px solid rgba(172, 34, 34, 0.16);
  border-radius: 12px;
  background: rgba(10, 15, 27, 0.88);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}
.landingHeader nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.landingMainNav {
  grid-area: main;
  justify-content: center;
}
.landingHeader .landingAccountNav {
  grid-area: account;
  gap: 14px;
  justify-content: flex-end;
}
.landingBrand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fa0505;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.landingBrand img {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.landingNavLink,
.landingTextLink {
  color: #5e0f0f;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.landingNavLink:hover,
.landingTextLink:hover {
  color: #000;
}
.landingNavLink[aria-current="page"],
.landingNavLink.active {
  color: #000;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(245, 202, 202, 0.45);
}
.landingNavAction,
.landingButton {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #d87878;
  border-radius: 10px;
  background: #d87878;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.landingNavAction:hover,
.landingButton:hover {
  border-color: #e89d9d;
  background: #e89d9d;
}
.landingHeroWrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
/* --- hero --- */
.landingHero {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1080px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 390px);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0 clamp(26px, 3vw, 40px);
}
.landingHeroCopy {
  min-width: 0;
}
.landingHeroCopy h1 {
  max-width: 540px;
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.landingHeroAccent {
  color: #f5caca;
}
.landingLead {
  max-width: 470px;
  margin: 0 0 28px;
  color: #5e0f0f;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.6;
}
.landingClaimForm {
  width: min(100%, 560px);
}
.landingClaimBar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--auth-line, #704646);
  border-radius: 999px;
  background: var(--auth-field, #0b1220);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.landingClaimBar:focus-within {
  border-color: #d87878;
  box-shadow: 0 0 0 4px rgba(216, 120, 120, 0.18);
}
.landingClaimPrefix {
  color: var(--auth-sub, #631313);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.landingClaimInput {
  flex: 1;
  min-width: 0;
  padding: 13px 6px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--auth-field-text, #fa2626);
  font-family: inherit;
  font-size: 16px;
}
.landingClaimButton {
  flex: none;
  min-height: 46px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: #d87878;
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.landingClaimButton:hover:not(:disabled) {
  background: #e89d9d;
}
.landingClaimButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.landingClaimStatus {
  min-height: 18px;
  margin: 9px 18px 0;
  font-size: 13px;
}
.landingTrust {
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.landingTrust li {
  display: inline-flex;
  align-items: center;
  color: #451111;
  font-size: 13px;
  font-weight: 600;
}
.landingTrust li:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: #552c2c;
}
.landingActions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.landingActionsSecondary {
  margin-top: 16px;
  gap: 20px;
}

/* --- hero preview: the profile itself, presented as the product shows it --- */
.landingPreview {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.landingPreviewCard {
  position: relative;
  display: flex;
  width: min(100%, 350px);
  flex-direction: column;
  align-items: center;
  padding: 0 20px 22px;
  border: 1px solid rgba(172, 34, 34, 0.22);
  border-radius: 16px;
  background: rgba(12, 12, 16, 0.72);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.landingPreviewBanner {
  display: block;
  width: calc(100% + 40px);
  height: 84px;
  margin: 0 -20px;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(120deg, #bf7b7b, #c45a5a 55%, #c09494);
}
.landingPreviewAvatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-top: -36px;
  place-items: center;
  border: 2px solid #f5caca;
  border-radius: 50%;
  background: #0d0d13;
  color: #fa0505;
  font-size: 30px;
  font-weight: 800;
}
.landingPreviewCaption {
  margin: 0;
  color: #441313;
  font-size: 13px;
  font-weight: 600;
}
.landingPreviewAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landingPreviewName {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #fa2626;
  font-size: 17px;
  font-weight: 700;
}
.landingPreviewNameText {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.landingPreviewName svg {
  color: #ffffff;
}
.landingPreviewHandle {
  margin-top: 2px;
  color: #451111;
  font-size: 13px;
}
.landingPreviewBadges {
  display: flex;
  gap: 6px;
  margin-top: 13px;
}
.landingPreviewBadges em {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.landingPreviewBadges em:first-child {
  border: 1px solid rgba(216, 120, 120, 0.45);
  background: rgba(216, 120, 120, 0.18);
  color: #ffffff;
}
.landingPreviewBadges em:last-child {
  border: 1px solid rgba(245, 202, 202, 0.35);
  background: rgba(245, 202, 202, 0.14);
  color: #f5caca;
}
.landingPreviewBio {
  display: -webkit-box;
  max-width: 260px;
  margin-top: 11px;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #451111;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.landingPreviewSocials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.landingPreviewSocial {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: inherit;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
a.landingPreviewSocial:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.landingPreviewSocial img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.landingPreviewMusic {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.landingPreviewMusicPlay {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(245, 202, 202, 0.45);
  border-radius: 50%;
}
.landingPreviewMusicBar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
}
.landingPreviewStats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 16px;
  color: #340808;
  font-size: 12px;
}
.landingPreviewStats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- feature index: intro beside a quiet list, no rules, no boxes --- */
.landingSectionSplit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.landingFeatureIntro h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.landingFeatureIntro .landingSectionLead {
  max-width: 34ch;
  font-size: 15.5px;
}
.landingFeatureIndex {
  display: grid;
  gap: 22px;
}
.landingFeatureText {
  min-width: 0;
}
.landingFeatureText h3 {
  margin: 0 0 5px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.landingFeatureText p {
  margin: 0;
  color: #451111;
  font-size: 14px;
  line-height: 1.55;
  max-width: 56ch;
}

/* --- content sections --- */
.landingSection {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(44px, 5.5vw, 68px) 0 0;
}
.landingSectionHead {
  max-width: 740px;
  margin-bottom: 26px;
}
.landingSectionHead h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
#pricing .landingSectionHead h2 {
  font-size: clamp(23px, 2.5vw, 30px);
}
#faq .landingSectionHead h2 {
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.landingSectionLead {
  max-width: 560px;
  margin: 0;
  color: #5e0f0f;
  font-size: 16px;
  line-height: 1.6;
}

/* --- pricing preview --- */
.landingPlans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* --- faq: plain list, spacing instead of containers --- */
.landingFaq {
  display: grid;
  max-width: 780px;
  gap: 0;
}
.landingFaqItem {
  padding: 0;
  border: none;
  background: none;
}
.landingFaqItem summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  color: #d30808;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}
.landingFaqItem summary:hover {
  color: #000;
}
.landingFaqItem summary::-webkit-details-marker {
  display: none;
}
.landingFaqItem summary svg {
  flex: none;
  color: #451111;
  transition: transform 0.2s ease, color 0.2s ease;
}
.landingFaqItem[open] summary svg {
  color: #ffffff;
  transform: rotate(180deg);
}
.landingFaqItem p {
  max-width: 760px;
  margin: 0;
  padding-bottom: 16px;
  color: #451111;
  font-size: 14.5px;
  line-height: 1.65;
}

/* --- closing cta: a plain band, no container --- */
.landingCta {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1080px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(44px, 5.5vw, 68px) auto 0;
}
.landingCta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.landingCta p {
  margin: 0;
  color: #5e0f0f;
  font-size: 15px;
}
.landingCtaActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.landingCta .landingButton {
  min-height: 46px;
  gap: 8px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14.5px;
}

/* --- footer --- */
.landingFooter {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1080px);
  align-items: center;
  gap: 14px 26px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(172, 34, 34, 0.16);
  color: #451111;
  font-size: 13.5px;
}
.landingFooterBrand {
  color: #fa0505;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.landingFooter nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.landingFooter nav a {
  color: #5e0f0f;
  font-weight: 600;
  text-decoration: none;
}
.landingFooter nav a:hover {
  color: #000;
}
.landingFooterNote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 600;
}
/* --- featured profiles strip: a roster of people, not a card carousel --- */
.landingCarousel {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin: 0 auto;
}
.landingCarouselHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}
.landingCarouselLabel {
  margin: 0;
  color: #441313;
  font-size: 13.5px;
  font-weight: 600;
}
.landingCarouselViewport {
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.landingCarousel + .landingSection {
  padding-top: clamp(36px, 4vw, 52px);
}
.landingCarouselTrack {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: landingCarouselScroll 45s linear infinite;
}
.landingCarousel:hover .landingCarouselTrack {
  animation-play-state: paused;
}
.landingCarouselGroup {
  display: flex;
  gap: 28px;
  padding-right: 28px;
}
.landingCarouselCard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  border: none;
  background: none;
  color: inherit;
  text-decoration: none;
}
.landingCarouselCard:hover .landingCarouselMeta strong {
  color: #f5caca;
}
.landingCarouselAvatar {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(172, 34, 34, 0.3);
  background: #0d0d13;
  font-size: 18px;
  line-height: 1;
}
.landingCarouselAvatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landingCarouselMeta {
  display: grid;
  min-width: 0;
  gap: 1px;
}
.landingCarouselMeta strong,
.landingCarouselMeta small {
  overflow: hidden;
  max-width: 150px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.landingCarouselMeta strong {
  color: #fa2626;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s ease;
}
.landingCarouselMeta small {
  color: #451111;
  font-size: 12px;
}
@keyframes landingCarouselScroll {
  to {
    transform: translateX(-50%);
  }
}
.leaderboardShell {
  min-height: 100svh;
  background: var(--lp-bg, #08090b);
  color: #420202;
}
.leaderboardWrap {
  width: min(100%, 1152px);
  margin: 0 auto;
}
.leaderboardHero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 36px 36px 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(140deg, #101217, #0c0d10);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.leaderboardHeroInfo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leaderboardHero h1 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -1px;
  color: #000;
  line-height: 1.2;
}
.leaderboardHeroInfo > p {
  margin: 0;
  color: #120606;
  font-size: 14px;
  font-weight: 400;
}
.leaderboardFilterGroup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}
.leaderboardFilterBtn {
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #120606;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.leaderboardFilterBtn:hover {
  color: #420202;
}
.leaderboardFilterBtn.active {
  background: #ffffff;
  color: #604a4a;
  font-weight: 600;
}
.leaderboardTable {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: linear-gradient(140deg, #101217, #0c0d10);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.leaderboardTableHead,
.leaderboardRow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(110px, 0.35fr);
  align-items: center;
  gap: 16px;
  padding: 0 28px;
}
.leaderboardTableHead {
  min-height: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #120606;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
.leaderboardTableHead span:last-child {
  text-align: right;
}
.leaderboardRow {
  min-height: 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.leaderboardRow:last-child {
  border-bottom: 0;
}
.leaderboardRow:hover {
  background: rgba(0, 0, 0, 0.035);
}
.leaderboardRank {
  font-family: Unbounded, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1d0c0c;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
}
.leaderboardRowTop1 .leaderboardRank {
  color: #ffffff;
  font-weight: 600;
}
.leaderboardRowTop2 .leaderboardRank {
  color: #8c0a0a;
  font-weight: 600;
}
.leaderboardRowTop3 .leaderboardRank {
  color: #971818;
  font-weight: 600;
}
.leaderboardIdentity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}
.leaderboardAvatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #14171e;
  color: #420202;
  font-size: 15px;
  font-weight: 600;
}
.leaderboardAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leaderboardNames {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.leaderboardNames strong {
  overflow: hidden;
  color: #420202;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.leaderboardNames small {
  overflow: hidden;
  color: #120606;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.leaderboardViews {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #420202;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.leaderboardOpenIcon {
  color: #ffffff;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.leaderboardRow:hover .leaderboardOpenIcon {
  opacity: 1;
  transform: translate(0, 0);
}
.leaderboardEmpty {
  margin: 0;
  padding: 48px 24px;
  color: #120606;
  font-size: 14px;
  text-align: center;
}
.leaderboardBack {
  display: inline-flex;
  margin-top: 24px;
  color: #120606;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.leaderboardBack:hover {
  color: #420202;
}
.premiumShell {
  background: #080d18;
}
.premiumPlans {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 920px);
  min-height: calc(100svh - 72px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  padding: 56px 0;
}
.premiumPlan {
  min-width: 0;
  padding: 30px 28px;
  border: 1px solid #704646;
  border-radius: 20px;
  background: rgba(10, 15, 24, .92);
  color: #fa2626;
}
.premiumPlanPaid {
  border-color: rgba(216, 120, 120, .58);
  background: linear-gradient(150deg, rgba(178, 142, 142, .88), rgba(8, 15, 27, .96) 75%);
}
.premiumPlan h1,
.premiumPlan h2,
.premiumPlan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
}
.premiumPlanPaid h2 span,
.premiumPlanPaid h3 span {
  width: 24px;
  height: 12px;
  border-radius: 999px;
  background: #f0b5b5;
}
.premiumPrice {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}
.premiumCurrency {
  font-size: 20px;
  letter-spacing: 0;
}
.premiumPrice small {
  color: #3f1010;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.premiumSummary {
  margin: 14px 0 22px;
  color: #571111;
  font-size: 14px;
  line-height: 1.5;
}
.premiumPlanButton {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #d87878;
  border-radius: 999px;
  background: #c66464;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.premiumPlanButton:hover {
  border-color: #efa8a8;
  background: #d87878;
}
.premiumPlan ul {
  display: grid;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.premiumPlan li {
  position: relative;
  padding-left: 26px;
  color: #780d0d;
  font-size: 14px;
  line-height: 1.45;
}
.premiumPlan li::before {
  position: absolute;
  left: 2px;
  color: #ffffff;
  content: "✓";
  font-weight: 700;
}
@media (max-width: 700px) {
  .landingShell {
    padding: 0 20px;
  }
  .landingHeader {
    min-height: 74px;
    grid-template-areas:
      "brand account"
      "main main";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 9px 12px;
  }
  .landingHeader nav {
    gap: 12px;
  }
  .landingMainNav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px !important;
  }
  .landingMainNav .landingNavLink {
    font-size: 12px;
  }
  .landingAccountNav .landingNavLink {
    font-size: 12px;
  }
  .landingAccountNav {
    gap: 10px !important;
  }
  .landingNavAction {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .landingHero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 34px 0 30px;
  }
  .landingHeroCopy h1 {
    font-size: clamp(30px, 7.5vw, 38px);
  }
  .landingSectionSplit {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
  .landingFeatureIntro .landingSectionLead {
    max-width: none;
  }
  .landingPlans {
    grid-template-columns: minmax(0, 1fr);
  }
  .landingSectionHead h2 {
    font-size: clamp(23px, 6vw, 30px);
  }
  #faq .landingSectionHead h2 {
    font-size: 20px;
  }
  .landingCta {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .landingCtaActions {
    justify-content: flex-start;
  }
  .landingCarouselGroup {
    gap: 22px;
    padding-right: 22px;
  }
  .landingFooter {
    flex-direction: column;
    align-items: flex-start;
  }
  .landingLead {
    font-size: 15px;
  }
  .premiumPlans {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 44px 0 60px;
  }
  .premiumPlan {
    padding: 25px 22px;
    border-radius: 16px;
  }
  .premiumPrice {
    font-size: 54px;
  }
  .leaderboardHero {
    padding: 24px 20px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .leaderboardFilterGroup {
    width: 100%;
    justify-content: space-between;
  }
  .leaderboardFilterBtn {
    flex: 1;
    text-align: center;
    padding: 7px 10px;
    font-size: 11px;
  }
  .leaderboardTableHead,
  .leaderboardRow {
    grid-template-columns: 32px minmax(0, 1fr) minmax(64px, auto);
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .leaderboardAvatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .leaderboardIdentity {
    gap: 10px;
  }
  .leaderboardViews {
    font-size: 13px;
  }
  .leaderboardOpenIcon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landingCarouselTrack {
    animation: none;
  }
  .landingCarouselViewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 380px) {
  .landingHeader {
    gap: 8px 10px;
    padding: 8px 10px;
  }
  .landingMainNav {
    gap: 7px !important;
  }
  .landingMainNav .landingNavLink,
  .landingAccountNav .landingNavLink {
    font-size: 11px;
  }
  .landingBrand {
    gap: 7px;
    font-size: 15px;
  }
  .landingBrand img {
    width: 22px;
    height: 22px;
  }
}

/* ---- profile sections below the fold (scroll hint, about, comments) ---- */
.pfSection {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  margin: 48px auto 0;
  color: var(--profile-text, #670404);
  font-family: inherit;
  scroll-margin-top: 20px;
}
.pfSectionTitle {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.pfSectionSub {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.45;
  opacity: 0.72;
}
.pfCard {
  margin-top: 16px;
  padding: 26px 30px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pfCardText {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  opacity: 0.92;
}
.pfField {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
}
.pfItem {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.05);
  padding: 13px 16px;
}
:root[data-theme="light"] .pfCard {
  border-color: rgba(16, 18, 22, 0.12);
  background: rgba(16, 18, 22, 0.05);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .pfField {
  border-color: rgba(16, 18, 22, 0.3);
  background: rgba(16, 18, 22, 0.04);
}
:root[data-theme="light"] .pfItem {
  border-color: rgba(16, 18, 22, 0.24);
  background: rgba(16, 18, 22, 0.04);
}
/* Sections sitting on the scroll layout's fixed profile background keep
   light frosted panels and cream text in both themes. */
.pfSection.pfOnMedia {
  color: #590505;
}
:root[data-theme="light"] .pfSection.pfOnMedia .pfCard,
:root[data-theme="light"] .pfSection.pfOnMedia .pfField,
:root[data-theme="light"] .pfSection.pfOnMedia .pfItem {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.pfDot {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pfDot:hover {
  transform: scale(1.3);
}
@media (max-width: 720px) {
  .pfDots {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .bugReportTrigger {
    right: 12px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .suggestTrigger {
    right: 56px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
  .globalChatTrigger {
    right: 100px;
    bottom: 14px;
    height: 38px;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 10px;
  }
  .globalChatOnlineText {
    display: none !important;
  }
  .bugReportBackdrop {
    align-items: flex-end;
    padding: 0;
  }
  .bugReportDialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
  }
  .bugReportSplit {
    grid-template-columns: 1fr;
  }
}

/* ===================== site-wide light theme =====================
   Activated by <html data-theme="light"> — set by ThemeToggle and the
   init script in app/layout.tsx. One setting switches the whole site. */

/* --- shared auth field classes (login / signup / claim) --- */
:root[data-theme="light"] {
  --accent: #ebbdbd;
  --auth-shell: #c80404;
  --auth-card: #000000;
  --auth-card-border: #7f0606;
  --auth-line: #9b0707;
  --auth-text: #0f172a;
  --auth-sub: #422020;
  --auth-muted: #3d1616;
  --auth-dim: #551212;
  --auth-field: #000000;
  --auth-field-text: #0f172a;
  --auth-accent: #ebbdbd;
  --auth-accent-text: #000000;
  --auth-good: #d8acac;
  --auth-good-text: #cca2a2;
  --auth-good-bg: rgba(216, 172, 172, 0.08);
  --auth-bad: #dc9494;
  --lb-pill-border: rgba(16, 24, 40, 0.18);
  --lb-pill-text: #3a1c1c;
  --admin-chip-border: rgba(16, 24, 40, 0.14);
  --admin-chip-bg: rgba(16, 24, 40, 0.03);
  --admin-bar-bg: rgba(0, 0, 0, 0.97);
  --admin-bar-border: #720606;
  --admin-status-info: #e5cfcf;
  --admin-status-bad: #d8a0a0;
  --admin-status-warn: #e0c4c4;
  --admin-ok: #cca2a2;
  --admin-bad: #d8a0a0;
  --admin-count-warn: #e0c4c4;
  --admin-count-ok: #cca2a2;
}

:root[data-theme="light"] .halloweenBanner {
  background: linear-gradient(135deg, #ffffff, #ffffff) !important;
  border-color: #fdf3f3 !important;
  box-shadow: 0 4px 16px rgba(249, 235, 235, 0.08) !important;
}
:root[data-theme="light"] .halloweenBanner h3 {
  color: #624545 !important;
}
:root[data-theme="light"] .halloweenBanner p {
  color: #3d1616 !important;
}
:root[data-theme="light"] .halloweenBanner button {
  color: #3d1616 !important;
}
:root[data-theme="light"] .field {
  background: #000000;
  border-color: #4c0505;
  color: #16181d;
}
:root[data-theme="light"] .field:focus {
  border-color: var(--accent);
}
:root[data-theme="light"] .lbl {
  color: #311212;
}

/* --- bug report + suggest widgets (global, every page) --- */
:root[data-theme="light"] .bugReportTrigger {
  background: #000000;
  color: #422020;
  border-color: rgba(16, 24, 40, 0.12);
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
}
:root[data-theme="light"] .bugReportTrigger:hover {
  background: #ca0202;
  color: #0f172a;
  border-color: rgba(16, 24, 40, 0.22);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.12);
}
:root[data-theme="light"] .bugReportDialog {
  background: #000000;
  border-color: #620404;
  color: #16181d;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.22);
}
:root[data-theme="light"] .bugReportHeader {
  background: #000000;
  border-bottom-color: #6a0303;
}
:root[data-theme="light"] .bugReportEyebrow {
  color: #e5cfcf;
}
:root[data-theme="light"] .bugReportClose {
  background: #7d0202;
  border-color: #720606;
  color: #311818;
}
:root[data-theme="light"] .bugReportIntro,
:root[data-theme="light"] .bugReportContext {
  color: #261010;
}
:root[data-theme="light"] .bugReportForm label {
  color: #2e1a1a;
}
:root[data-theme="light"] .bugReportForm input,
:root[data-theme="light"] .bugReportForm select,
:root[data-theme="light"] .bugReportForm textarea {
  background: #000000;
  border-color: #4c0505;
  color: #16181d;
}
:root[data-theme="light"] .bugReportForm input:focus,
:root[data-theme="light"] .bugReportForm select:focus,
:root[data-theme="light"] .bugReportForm textarea:focus {
  border-color: #f5caca;
  box-shadow: 0 0 0 3px rgba(245, 202, 202, 0.18);
}
:root[data-theme="light"] .bugReportForm textarea::placeholder,
:root[data-theme="light"] .bugReportForm input::placeholder {
  color: #2f0c0c;
}
:root[data-theme="light"] .bugReportError {
  color: #d8a0a0;
}
:root[data-theme="light"] .bugReportNotice p,
:root[data-theme="light"] .bugReportSuccess p {
  color: #261010;
}
:root[data-theme="light"] .bugReportSuccess > span {
  background: rgba(216, 172, 172, 0.12);
  color: #cca2a2;
}

/* --- home / premium landing --- */
:root[data-theme="light"] .landingShell {
  background: #5d0303;
  color: #16181d;
}
:root[data-theme="light"] .premiumShell {
  background: #5d0303;
}
:root[data-theme="light"] .landingHeader {
  background: rgba(0, 0, 0, 0.88);
  border-color: rgba(16, 24, 40, 0.12);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}
:root[data-theme="light"] .landingBrand {
  color: #16181d;
}
:root[data-theme="light"] .landingCarouselAvatar {
  border-color: #c20c0c;
  background: #770606;
}
:root[data-theme="light"] .landingCarouselMeta strong {
  color: #16181d;
}
:root[data-theme="light"] .landingCarouselMeta small {
  color: #261010;
}
:root[data-theme="light"] .landingCarouselLabel {
  color: #261010;
}
:root[data-theme="light"] .landingCarouselCard:hover .landingCarouselMeta strong {
  color: #c66464;
}
:root[data-theme="light"] .landingNavLink,
:root[data-theme="light"] .landingTextLink {
  color: #3a1c1c;
}
:root[data-theme="light"] .landingNavLink:hover,
:root[data-theme="light"] .landingTextLink:hover {
  color: #0b1220;
}
:root[data-theme="light"] .landingNavLink[aria-current="page"],
:root[data-theme="light"] .landingNavLink.active {
  color: #0b1220;
  font-weight: 700;
}
:root[data-theme="light"] .landingLead {
  color: #3a1c1c;
}
:root[data-theme="light"] .landingHeroAccent {
  color: #e5cfcf;
}
:root[data-theme="light"] .landingClaimBar {
  background: #000;
  border-color: #c20c0c;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.07);
}
:root[data-theme="light"] .landingTrust li {
  color: #331515;
}
:root[data-theme="light"] .landingTrust li:not(:last-child)::after {
  color: #5a0c0c;
}
:root[data-theme="light"] .landingPreviewCard {
  background: #000;
  border-color: #c20c0c;
  box-shadow: 0 24px 55px rgba(16, 24, 40, 0.14);
}
:root[data-theme="light"] .landingPreviewCaption {
  color: #261010;
}
:root[data-theme="light"] .landingPreviewName {
  color: #16181d;
}
:root[data-theme="light"] .landingPreviewHandle {
  color: #261010;
}
:root[data-theme="light"] .landingPreviewBio {
  color: #261010;
}
:root[data-theme="light"] .landingPreviewStats {
  color: #261010;
}
:root[data-theme="light"] .landingFeatureText h3 {
  color: #3f2e2e;
}
:root[data-theme="light"] .landingFeatureText p,
:root[data-theme="light"] .landingFaqItem p {
  color: #331515;
}
:root[data-theme="light"] .landingSectionLead {
  color: #3a1c1c;
}
:root[data-theme="light"] .landingFaqItem summary {
  color: #16181d;
}
:root[data-theme="light"] .landingFaqItem summary:hover {
  color: #0b1220;
}
:root[data-theme="light"] .landingFaqItem summary svg {
  color: #261010;
}
:root[data-theme="light"] .landingFaqItem[open] summary svg {
  color: #c66464;
}
:root[data-theme="light"] .landingCta p {
  color: #3a1c1c;
}
:root[data-theme="light"] .landingFooter {
  border-top-color: #950808;
  color: #261010;
}
:root[data-theme="light"] .landingFooterBrand {
  color: #16181d;
}
:root[data-theme="light"] .landingFooter nav a {
  color: #3a1c1c;
}
:root[data-theme="light"] .landingFooter nav a:hover {
  color: #0b1220;
}
:root[data-theme="light"] .landingFooterNote {
  color: #c66464;
}
:root[data-theme="light"] .premiumPlan {
  border-color: #c20c0c;
  background: rgba(0, 0, 0, 0.94);
  color: #16181d;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.07);
}
:root[data-theme="light"] .premiumPlanPaid {
  border-color: rgba(216, 120, 120, 0.5);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98) 75%);
}
:root[data-theme="light"] .premiumPrice small {
  color: #261010;
}
:root[data-theme="light"] .premiumSummary {
  color: #3a1c1c;
}
:root[data-theme="light"] .premiumPlan li {
  color: #2e1a1a;
}
:root[data-theme="light"] .premiumPlan li::before {
  color: #c66464;
}

/* --- leaderboard --- */
:root[data-theme="light"] .leaderboardShell {
  background: #ca0202;
  color: #16181d;
}
:root[data-theme="light"] .leaderboardHero {
  border-color: #7f0606;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(246, 219, 219, 0.08), transparent 55%),
    linear-gradient(140deg, #000000, #ca0202);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
:root[data-theme="light"] .leaderboardHero h1 {
  color: #0f172a;
}
:root[data-theme="light"] .leaderboardHeroInfo > p {
  color: #3d1616;
}
:root[data-theme="light"] .leaderboardFilterGroup {
  background: #c80404;
  border-color: #7f0606;
}
:root[data-theme="light"] .leaderboardFilterBtn {
  color: #3d1616;
}
:root[data-theme="light"] .leaderboardFilterBtn:hover {
  color: #0f172a;
}
:root[data-theme="light"] .leaderboardFilterBtn.active {
  background: #ebbdbd;
  color: #000000;
}
:root[data-theme="light"] .leaderboardTable {
  border-color: #7f0606;
  background: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
:root[data-theme="light"] .leaderboardTableHead {
  border-bottom-color: #c80404;
  color: #3d1616;
}
:root[data-theme="light"] .leaderboardRow {
  border-bottom-color: #c80404;
}
:root[data-theme="light"] .leaderboardRow:hover {
  background: #ca0202;
}
:root[data-theme="light"] .leaderboardRank {
  color: #551212;
}
:root[data-theme="light"] .leaderboardRowTop1 .leaderboardRank {
  color: #ebbdbd;
}
:root[data-theme="light"] .leaderboardRowTop2 .leaderboardRank {
  color: #422020;
}
:root[data-theme="light"] .leaderboardRowTop3 .leaderboardRank {
  color: #f0dede;
}
:root[data-theme="light"] .leaderboardAvatar {
  border-color: #7f0606;
  background: #c80404;
  color: #624545;
}
:root[data-theme="light"] .leaderboardNames strong {
  color: #0f172a;
}
:root[data-theme="light"] .leaderboardNames small {
  color: #3d1616;
}
:root[data-theme="light"] .leaderboardViews {
  color: #0f172a;
}
:root[data-theme="light"] .leaderboardEmpty {
  color: #3d1616;
}
:root[data-theme="light"] .leaderboardBack {
  color: #3d1616;
}
:root[data-theme="light"] .leaderboardBack:hover {
  color: #0f172a;
}

/* --- admin console --- */
:root[data-theme="light"] .adminPage {
  background: #4f0101;
  color: #16181d;
}
:root[data-theme="light"] .adminHeader {
  border-bottom-color: #770606;
}
:root[data-theme="light"] .backLink {
  color: #261010;
}
:root[data-theme="light"] .adminHeader p,
:root[data-theme="light"] .sectionTitle p {
  color: #261010;
}
:root[data-theme="light"] .secureLabel {
  color: #e5cfcf;
}
:root[data-theme="light"] .adminSection {
  border-color: #620404;
  background: #000000;
}
:root[data-theme="light"] .adminPage input:not([type="checkbox"]),
:root[data-theme="light"] .adminPage textarea {
  background: #000000;
  border-color: #4c0505;
  color: #16181d;
}
:root[data-theme="light"] .adminPage input:focus,
:root[data-theme="light"] .adminPage textarea:focus {
  border-color: #f5caca;
}
:root[data-theme="light"] .resultRow {
  border-top-color: #a50606;
}
:root[data-theme="light"] .resultRow.selected,
:root[data-theme="light"] .resultRow:hover {
  background: #a70404;
}
:root[data-theme="light"] .resultRow > img,
:root[data-theme="light"] .avatarFallback {
  background: #d00505;
}
:root[data-theme="light"] .resultRow > svg:last-child {
  color: #260e0e;
}
:root[data-theme="light"] .resultIdentity small,
:root[data-theme="light"] .relatedRow small {
  color: #261010;
}
:root[data-theme="light"] .statusMessage {
  color: #e5cfcf;
}
:root[data-theme="light"] .emptyState {
  color: #261010;
}
:root[data-theme="light"] .emptyState strong {
  color: #16181d;
}
:root[data-theme="light"] .eyebrow {
  color: #e5cfcf;
}
:root[data-theme="light"] .profileHeading a {
  color: #261010;
}
:root[data-theme="light"] .largeAvatar {
  border-color: #570808;
}
:root[data-theme="light"] .statGrid {
  background: #770606;
  border-color: #770606;
}
:root[data-theme="light"] .statGrid > div {
  background: #ca0202;
}
:root[data-theme="light"] .statGrid small {
  color: #261010;
}
:root[data-theme="light"] .editForm {
  border-top-color: #620404;
}
:root[data-theme="light"] .editForm > label {
  color: #2e1a1a;
}
:root[data-theme="light"] .signalSection {
  border-top-color: #620404;
}
:root[data-theme="light"] .muted {
  color: #261010;
}
:root[data-theme="light"] .warning {
  color: #e0c4c4;
}
:root[data-theme="light"] .caution {
  color: #f0dede;
}
:root[data-theme="light"] .relatedRow {
  border-top-color: #a50606;
}
:root[data-theme="light"] .matchInfo span {
  color: #e5cfcf;
}
:root[data-theme="light"] .iconAction {
  background: #000000;
  border-color: #4c0505;
  color: #311818;
}
:root[data-theme="light"] .grantLookup {
  color: #2e1a1a;
}
:root[data-theme="light"] .permissionRow small {
  color: #261010;
}
:root[data-theme="light"] .grantPerms {
  color: #e5cfcf;
}
:root[data-theme="light"] .removeAction {
  background: #feb7b7;
  color: #d8a0a0;
  border-color: #f03939;
}
:root[data-theme="light"] .blacklistAction {
  background: #ffffff;
  color: #d99595;
  border-color: #f54949;
}
:root[data-theme="light"] .adminPage footer {
  color: #261010;
}
:root[data-theme="light"] .adminPage footer a {
  color: #e5cfcf;
}
:root[data-theme="light"] .durationTrigger {
  background: #000000;
  border-color: #4c0505;
  color: #16181d;
}
:root[data-theme="light"] .durationTrigger:hover,
:root[data-theme="light"] .durationTrigger[aria-expanded="true"] {
  background: #df0404;
  border-color: rgba(245, 202, 202, 0.6);
}
:root[data-theme="light"] .durationChevron {
  color: #261010;
}
:root[data-theme="light"] .durationMenu {
  background: #000000;
  border-color: #620404;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.16);
}
:root[data-theme="light"] .durationOption {
  color: #2e1a1a;
}
:root[data-theme="light"] .durationOption:hover,
:root[data-theme="light"] .durationOption:focus-visible {
  background: #810404;
  color: #16181d;
}
:root[data-theme="light"] .durationOption.selected {
  background: rgba(245, 202, 202, 0.18);
  color: #e0caca;
}
:root[data-theme="light"] .directoryCount,
:root[data-theme="light"] .directoryRange {
  color: #261010;
}
:root[data-theme="light"] .directorySearch {
  background: #000000;
  border-color: #4c0505;
  color: #261010;
}
:root[data-theme="light"] .directorySearch:focus-within {
  border-color: #f5caca;
  color: #e5cfcf;
}
:root[data-theme="light"] .directorySearch input {
  color: #16181d;
}
:root[data-theme="light"] .directoryList {
  border-top-color: #620404;
}
:root[data-theme="light"] .directoryRow {
  border-bottom-color: #a50606;
}
:root[data-theme="light"] .directoryRow:hover,
:root[data-theme="light"] .directoryRow.selected {
  background: #a70404;
}
:root[data-theme="light"] .directoryRow > img,
:root[data-theme="light"] .directoryRow > .avatarFallback {
  background: #d00505;
}
:root[data-theme="light"] .directoryLength {
  background: #f92222;
  border-color: #9d0d0d;
  color: #e5cfcf;
}
:root[data-theme="light"] .directoryIdentity small {
  color: #261010;
}
:root[data-theme="light"] .directoryRow > svg:last-child {
  color: #260e0e;
}
:root[data-theme="light"] .directoryPagination {
  color: #261010;
}

/* --- discord presence setup page --- */
:root[data-theme="light"] .discordSetupShell {
  background: radial-gradient(circle at 20% 0%, rgba(245, 202, 202, 0.22), #5d0303 55%);
  color: #16181d;
}
:root[data-theme="light"] .discordSetupCard {
  background: #000000;
  border-color: #620404;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.14);
}
:root[data-theme="light"] .iconBubble {
  color: #e5cfcf;
}
:root[data-theme="light"] .lead,
:root[data-theme="light"] .note {
  color: #261010;
}
:root[data-theme="light"] .lockedInvite {
  background: linear-gradient(180deg, #8a0101, #770303);
  border-color: #620404;
}
:root[data-theme="light"] .lockedInvite small {
  color: #261010;
}
:root[data-theme="light"] .linkPanel {
  background: #740101;
  border-color: #620404;
}
:root[data-theme="light"] .connectedBox {
  border-color: rgba(214, 146, 146, 0.35);
  background: rgba(214, 146, 146, 0.1);
}
:root[data-theme="light"] .connectedBox svg {
  color: #cca2a2;
}
:root[data-theme="light"] .mutedBox {
  border-color: #680505;
  background: #770303;
}
:root[data-theme="light"] .mutedBox svg {
  color: #261010;
}
:root[data-theme="light"] .connectedBox small {
  color: #261010;
}
:root[data-theme="light"] .statusBox {
  border-color: rgba(214, 146, 146, 0.4);
  background: rgba(214, 146, 146, 0.1);
  color: #cca2a2;
}
:root[data-theme="light"] .statusBox.error {
  border-color: rgba(220, 148, 148, 0.35);
  background: rgba(220, 148, 148, 0.08);
  color: #d8a0a0;
}
:root[data-theme="light"] .unlinkBtn {
  background: #feb7b7;
  border-color: #f03939;
  color: #d8a0a0;
}


/* ── Promoter Role & Status Aura ── */
@keyframes promoterShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.promoterUsernameShimmer {
  background: linear-gradient(90deg, #d87b7b 0%, #000000 35%, #f5caca 70%, #d87b7b 100%) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: promoterShimmer 4.5s ease-in-out infinite !important;
  display: inline-block;
}

@keyframes promoterPulseAura {
  0%, 100% {
    box-shadow: 0 0 0 1.5px rgba(216, 123, 123, 0.55), 0 0 28px rgba(216, 123, 123, 0.35);
  }
  50% {
    box-shadow: 0 0 0 2.5px rgba(216, 123, 123, 0.85), 0 0 48px rgba(216, 123, 123, 0.55);
  }
}

.promoterCardAura {
  box-shadow: 0 0 0 1.5px rgba(216, 123, 123, 0.55), 0 0 28px rgba(216, 123, 123, 0.35) !important;
  animation: promoterPulseAura 4s ease-in-out infinite !important;
}

/* Netlify Drawer & Feedback toolbar suppression */
#netlify-drawer,
iframe[id*="netlify"],
iframe[title*="Netlify"],
[data-netlify-drawer],
.netlify-badge,
netlify-drawer {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes enterTextPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes enterTextFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
