:root {
  --bg: #0b1018;
  --card: #161c26;
  --ink: #e8edf3;
  --mute: #8e99a8;
  --line: #2a3340;
  --good: #9dcea8;
  --bad: #e8a8a0;
  --accent: #8fd4a0;
}

.site-banner {
  margin: 0;
  padding: 0.65rem 1.25rem;
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  background: #2a3340;
  color: #e8edf3;
}
.site-banner[hidden],
.site-banner.hidden { display: none; }

* { box-sizing: border-box; }
html { overflow-y: scroll; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}
.top, section, footer, .prose, .profile-head {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-family: system-ui, sans-serif;
  color: var(--bad);
}
h1 { margin: 0.2rem 0 0; font-size: 1.8rem; }
h2 { font-size: 1.1rem; margin: 1.5rem 0 0.8rem; }
.quiet { color: var(--mute); font-weight: normal; }
nav { font-family: system-ui, sans-serif; }
nav a {
  color: var(--accent);
  margin-left: 1rem;
  text-decoration: none;
}
nav a[aria-current] { text-decoration: underline; }
.lede, footer, .prose { color: var(--mute); font-family: system-ui, sans-serif; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  display: block;
}
.card:hover { border-color: var(--accent); }
.face {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #243044;
  display: grid;
  place-items: center;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.name { margin: 0; font-size: 1.15rem; }
.handle { margin: 0; color: var(--mute); font-family: system-ui, sans-serif; font-size: 0.85rem; }
.meters {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.meters strong { display: block; font-size: 1.15rem; color: var(--ink); }
.meters span { color: var(--mute); font-size: 0.75rem; }
.claim {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  font-family: system-ui, sans-serif;
}
.claim .verdict {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pass { color: var(--good); }
.fail { color: var(--bad); }
.claim .harm {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--mute);
}
.claim .chain {
  margin: 0.25rem 0 0 1.1rem;
  padding: 0;
  color: var(--mute);
  font-size: 0.8rem;
}
.skipped { color: var(--mute); font-family: system-ui, sans-serif; }
.profile-head .card { max-width: 320px; }

.tiers {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tier-wrap { max-width: 960px; margin: 0 auto; padding: 0 1.25rem 1.5rem; }
.tier-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.tier-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: system-ui, sans-serif;
  color: #111;
}
.tier-label strong { font-size: 1.6rem; line-height: 1; }
.tier-label span { font-size: 0.62rem; opacity: 0.85; text-align: center; padding: 0 0.2rem; }
.t-A .tier-label { background: #4ade80; }
.t-B .tier-label { background: #a3e635; }
.t-C .tier-label { background: #facc15; }
.t-D .tier-label { background: #fb923c; }
.t-E .tier-label { background: #f87171; }
.t-F .tier-label { background: #b91c1c; color: #fff; }
.tier-people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
}
.chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #121821;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  color: inherit;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
}
.chip small { display: block; color: var(--mute); font-size: 0.68rem; }
.face.sm { width: 36px; height: 36px; margin: 0; font-size: 0.75rem; }
.empty-row { color: var(--mute); font-family: system-ui, sans-serif; font-size: 0.85rem; }
.meters .right { text-align: right; }

.tier-wrap {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.75rem;
}
.tier-wrap .tiers {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.tier-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 160%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.tier-bg-lo,
.tier-bg-hi,
.tier-bg-frost {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 22% 40%;
}
.tier-bg-lo,
.tier-bg-hi {
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tier-bg-lo {
  background-image: url("washington-monument-tiny.jpg");
  filter: blur(22px) saturate(1.05);
  transform: translate3d(0,0,0) scale(1.08);
  transition: transform 0.35s ease-out;
}
.tier-bg-hi {
  background-image: url("washington-monument.jpg");
  opacity: 0;
  filter: saturate(0.95) brightness(0.78) contrast(1.06) blur(0.4px);
  transform: translate3d(0,0,0) scale(1.03);
  transition: opacity 0.8s ease, transform 0.35s ease-out;
}
.tier-bg.is-ready .tier-bg-hi {
  opacity: 1;
}
.tier-bg-frost {
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  background: color-mix(in srgb, var(--bg) 28%, transparent);
  opacity: 1;
  transition: opacity 0.9s ease, background 0.9s ease, backdrop-filter 0.9s ease;
}
.tier-bg.is-ready .tier-bg-frost {
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 55%, transparent) 0%,
      transparent 16%,
      transparent 62%,
      color-mix(in srgb, var(--bg) 62%, transparent) 100%),
    radial-gradient(ellipse 85% 75% at var(--vig-x, 50%) var(--vig-y, 42%),
      transparent 20%,
      color-mix(in srgb, #061018 52%, transparent) 58%,
      color-mix(in srgb, #05080e 92%, transparent) 100%);
}
html[data-theme="light"] .tier-bg-hi {
  filter: saturate(1.02) brightness(1.04) contrast(1.02) blur(0.4px);
}
html[data-theme="light"] .tier-bg.is-ready .tier-bg-frost {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 48%, transparent) 0%,
      transparent 18%,
      transparent 64%,
      color-mix(in srgb, var(--bg) 52%, transparent) 100%),
    radial-gradient(ellipse 85% 75% at var(--vig-x, 50%) var(--vig-y, 42%),
      transparent 20%,
      color-mix(in srgb, #1a3048 38%, transparent) 58%,
      color-mix(in srgb, #1a3048 78%, transparent) 100%);
}
.tiers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 1212px;
}
.photo-credit {
  margin-top: 0.4rem;
  font-size: 0.78rem;
}
.tier-row {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 236px;
  border: 2px solid #000;
  background: #121821;
}
.tier-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  font-family: system-ui, sans-serif;
  color: #111;
  padding: 0.6rem 0.4rem;
  text-align: center;
}
.tier-label strong {
  font-size: 2.4rem;
  line-height: 1;
}
.tier-label span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 9.5rem;
}
.t-A .tier-label { background: #ff7f7f; }
.t-B .tier-label { background: #ffbf7f; }
.t-C .tier-label { background: #ffdf7f; }
.t-D .tier-label { background: #ffff7f; }
.t-E .tier-label { background: #bfff7f; }
.t-F .tier-label { background: #7fbfff; }
.tier-people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.65rem;
  background: #1a2230;
  position: relative;
}
.tier-people .card {
  width: 200px;
  margin: 0;
}
.tier-people .card.spacer {
  visibility: hidden;
  pointer-events: none;
}
.empty-row {
  color: #9aa6b4;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  margin: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0.65rem;
}
.meters .right { text-align: right; }
@media (max-width: 700px) {
  .tier-row { grid-template-columns: 1fr; }
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.25rem;
  text-align: center;
}
.hero .nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}
.hero .nav a { margin-left: 0; }
.hero .kicker {
  color: var(--mute);
}
.hero h1 {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  min-height: 3.85rem;
}
.hero .tag {
  margin: 0;
  color: var(--mute);
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
  min-height: 1.5rem;
}
.lower-stage {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 1100px) minmax(160px, 1fr);
  justify-content: center;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}
.lower-main {
  min-width: 0;
  padding: 0 0.8rem 1.2rem;
}
.lower-main { position: relative; z-index: 1; }
.flag-rail {
  position: sticky;
  top: 0;
  align-self: start;
  z-index: 2;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.flag-rail canvas {
  position: relative;
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  background: transparent;
}
.ad-slot {
  flex: 0 0 auto;
  width: 100%;
  padding: 0.4rem 0.45rem 0.55rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.ad-kicker {
  margin: 0 0 0.28rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.ad-frame {
  width: 336px;
  height: 280px;
  margin: 0 auto;
  max-width: 100%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px dashed var(--line);
}
.ad-placeholder {
  margin: 0;
  text-align: center;
  color: var(--mute);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.35;
}
.ad-slot-mobile {
  display: none;
}
@media (max-width: 1700px) {
  .lower-stage { grid-template-columns: 1fr; }
  .flag-rail { display: none; }
  .ad-slot-mobile {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 25;
    width: 100%;
    padding: 0.35rem 0.6rem 0.5rem;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
  }
  .ad-slot-mobile .ad-frame {
    width: min(320px, 100%);
    height: 50px;
    margin: 0 auto;
  }
}
.queue {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem 2rem;
  text-align: center;
}
.queue h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}
.queue-note {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: var(--mute);
  font-family: system-ui, sans-serif;
}
.queue .grid {
  text-align: left;
  min-height: 13.5rem;
}

.t-A .tier-label { background: #3d7a45; color: #f3fff4; }
.t-B .tier-label { background: #8fbf4a; color: #111; }
.t-C .tier-label { background: #d4d448; color: #111; }
.t-D .tier-label { background: #e8b84a; color: #111; }
.t-E .tier-label { background: #e08a48; color: #111; }
.t-F .tier-label { background: #c43c3c; color: #fff; }
.rules-block, .suggest-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.2rem;
}
.rules-block h2, .suggest-block h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}
.official-rules {
  max-width: 40rem;
  margin: 0 auto;
  padding-left: 1.2rem;
  font-family: system-ui, sans-serif;
  color: var(--ink);
}
.official-rules li { margin-bottom: 0.55rem; }
.suggest-block .queue-note { text-align: center; }
.suggest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}
.idea-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  font-family: system-ui, sans-serif;
}
.idea-card p { margin: 0 0 0.8rem; }
.vote-row { display: flex; align-items: center; gap: 0.45rem; }
.official-rules li .vote-row { margin-top: 0.45rem; }
.suggest-form select {
  display: block;
  width: 100%;
  margin: 0.25rem 0 0.7rem;
  padding: 0.45rem 0.5rem;
  font: inherit;
}
.thumb {
  border: 1px solid var(--line);
  background: #121821;
  color: var(--ink);
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  cursor: pointer;
}
.thumb.on,
.thumb[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 42%, #1a2230);
  color: #f4f7ff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent);
}
.thumb.down.on,
.thumb.down[aria-pressed="true"] {
  background: color-mix(in srgb, #c45b4a 55%, #1a2230);
  border-color: #e08a7a;
  color: #fff6f3;
}
.pct { color: var(--mute); font-size: 0.85rem; }
.hidden { display: none; }
#suggest-rest {
  display: block;
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.28s ease, margin 0.35s ease;
}
#suggest-rest.hidden {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  pointer-events: none;
}
.more-wrap { text-align: center; margin: 0.8rem 0; }
.show-more, .suggest-form button {
  font-family: system-ui, sans-serif;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
}
.suggest-form {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: system-ui, sans-serif;
}
.suggest-form textarea {
  background: #121821;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem;
  font: inherit;
}
.submit-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.2rem;
}
.submit-block h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}
.submit-block .queue-note { text-align: center; }
.submit-block input[type="url"],
.submit-block input[type="text"] {
  background: #121821;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem;
  font: inherit;
}
.detect-note {
  min-height: 1.2em;
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
}
.check-queue {
  max-width: 40rem;
  margin: 1rem auto 0;
  padding-left: 1.2rem;
  font-family: system-ui, sans-serif;
  color: var(--mute);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.search-wrap {
  margin: 1.1rem auto 0;
  max-width: 22rem;
}
.search-wrap input {
  width: 100%;
  background: #121821;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: 1rem system-ui, sans-serif;
}
.card.dim { opacity: 0.28; }
.card.hit { border-color: var(--accent); }
.prog {
  position: relative;
  margin-top: 0.9rem;
  height: 1.55rem;
  border-radius: 6px;
  background: #2a3340;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: #5e9b6c;
}
.prog-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f0f6ff;
  text-shadow: 0 0 3px #0b1018, 0 1px 0 #0b1018;
  letter-spacing: 0.02em;
}

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
}
h1, h2, .name {
  font-family: Fraunces, Georgia, serif;
}

html[data-theme="light"] {
  --bg: #d5e0ec;
  --card: #eef3f8;
  --ink: #1a2430;
  --mute: #556475;
  --line: #9aadc0;
  --good: #1f5c38;
  --bad: #9b1c1c;
  --accent: #2a7a4a;
}
html[data-theme="light"] body {
  background:
    radial-gradient(1100px 480px at 50% -10%, #e4edf5 0%, transparent 58%),
    #d5e0ec;
  color: var(--ink);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(1000px 420px at 50% -8%, #182338 0%, transparent 55%),
    #0b1018;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr minmax(12rem, 22rem) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.chrome .search-wrap {
  grid-column: 2;
  margin: 0;
  max-width: none;
}
.theme-btn {
  grid-column: 3;
  justify-self: end;
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.hero { padding-top: 1.4rem; }

.list-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem auto 0;
  min-height: 2.55rem;
}
.list-tab {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
  background: var(--card);
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
}
.list-tab:hover { color: var(--ink); }
.list-tab.active {
  color: var(--ink);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, var(--card));
}
.list-tab.soon {
  border-style: dashed;
  color: var(--mute);
  opacity: 0.72;
  cursor: default;
}
.list-tab.soon:hover { color: var(--mute); }

.prog-label.on-empty {
  color: #d4dce8;
  text-shadow: none;
}
.prog-label.on-fill {
  color: #101820;
  text-shadow: none;
  z-index: 1;
}
html[data-theme="light"] .prog {
  background: #c5d0dc;
}
html[data-theme="light"] .prog-fill {
  background: #3d8a55;
}
html[data-theme="light"] .prog-label.on-empty {
  color: #1a2430;
}
html[data-theme="light"] .prog-label.on-fill {
  color: #f4faf6;
}
html[data-theme="light"] .tier-people {
  background: #e4edf5;
}
html[data-theme="light"] .card {
  background: #f7fafc;
}
.more-queue {
  display: flex;
  justify-content: flex-end;
  margin: 0.9rem 0 0;
}
.more-queue a {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}
.hero .tag a { color: var(--accent); }
.home-link {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  justify-self: start;
}
.profile-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.profile-split {
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
}
.blurb {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  font-family: Fraunces, Georgia, serif;
}
.person-page {
  background-image:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 28%),
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--ink) 16%, transparent), transparent 32%),
    repeating-linear-gradient(-18deg, transparent 0 18px, color-mix(in srgb, var(--ink) 6%, transparent) 18px 19px);
}
.queue-page {
  background-color: #121614;
  background-image:
    linear-gradient(180deg, rgba(18,22,20,0.2), rgba(18,22,20,0.85)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: auto, 160px 160px;
}
html[data-theme="light"] .queue-page {
  background-color: #d5e0ec;
  background-image:
    linear-gradient(180deg, rgba(244,248,252,0.35), rgba(213,224,236,0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23000000' fill-opacity='0.06'/%3E%3C/svg%3E");
}
.queue-page .queue {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 1.5rem 1.25rem 2rem;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.claims-n {
  display: block;
  max-width: 7.5rem;
  text-align: right;
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.25;
}
@media (max-width: 700px) {
  .profile-split { grid-template-columns: 1fr; }
}

html[data-theme="dark"] body.queue-page,
body.queue-page {
  background-color: #121614;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='0.7' fill='%23ffffff' fill-opacity='0.045'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  background-attachment: scroll;
}
html[data-theme="light"] body.queue-page {
  background-color: #d5e0ec;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='0.7' fill='%23000000' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

.queue-page .queue {
  background: color-mix(in srgb, var(--bg) 40%, #000 8%);
}
html[data-theme="light"] .queue-page .queue {
  background: rgba(244, 248, 252, 0.55);
}
.queue-page .card {
  background: #24302a;
  border: 1px solid #3d4a43;
}
html[data-theme="light"] .queue-page .card {
  background: #f7fafc;
  border: 1px solid #9aadc0;
}

html[data-theme="dark"] body.queue-page,
html[data-theme="light"] body.queue-page,
body.queue-page {
  background-color: var(--bg);
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 7%, var(--bg)) 0%,
    var(--bg) 28%,
    var(--bg) 100%
  );
  background-attachment: scroll;
  background-size: auto;
}
.queue-page .queue {
  background: transparent;
  border: none;
  border-radius: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.queue-page .card {
  background: var(--card);
  border: 1px solid var(--line);
}
html[data-theme="light"] .queue-page .card {
  background: var(--card);
  border: 1px solid var(--line);
}
html[data-theme="light"] .queue-page .queue {
  background: transparent;
}

html[data-theme="dark"] body.queue-page,
html[data-theme="light"] body.queue-page,
body.queue-page {
  background-color: var(--bg);
  background-size: auto;
  background-attachment: scroll;
  background-image:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 28%),
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--ink) 16%, transparent), transparent 32%),
    repeating-linear-gradient(-18deg, transparent 0 18px, color-mix(in srgb, var(--ink) 6%, transparent) 18px 19px);
}
.queue-page .queue {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.queue-page .card,
html[data-theme="light"] .queue-page .card {
  background: var(--card);
  border: 1px solid var(--line);
}

body.person-page,
body.queue-page,
html[data-theme="dark"] body.queue-page,
html[data-theme="light"] body.queue-page,
html[data-theme="dark"] body.person-page,
html[data-theme="light"] body.person-page {
  background-color: var(--bg);
  background-image: none;
}
.queue-page .queue {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.queue-page .card,
html[data-theme="light"] .queue-page .card {
  background: var(--card);
  border: 1px solid var(--line);
}
.meters {
  align-items: flex-end;
  gap: 0.75rem;
  width: 100%;
}
.meters .right {
  text-align: right;
  flex: 1;
}
.claims-n {
  display: block;
  max-width: none;
  color: var(--mute);
  font-size: 0.75rem;
  line-height: 1.2;
}
.profile-split {
  grid-template-columns: minmax(280px, 420px) 1fr;
}
.profile-head .card,
.person-page .card {
  max-width: none;
  width: 100%;
  min-width: 280px;
}

.tier-row {
  background: transparent;
  border-color: color-mix(in srgb, #e8eef6 22%, transparent);
}
.tier-people {
  background: color-mix(in srgb, #102038 22%, transparent);
  backdrop-filter: blur(3px) saturate(1.08);
  -webkit-backdrop-filter: blur(3px) saturate(1.08);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent);
}
.card {
  background: color-mix(in srgb, #0b121c 78%, transparent);
  border-color: color-mix(in srgb, #e8eef6 26%, transparent);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
}
.card:hover {
  background: color-mix(in srgb, #162436 70%, transparent);
  border-color: color-mix(in srgb, #fff 36%, transparent);
}
html[data-theme="light"] .tier-people {
  background: color-mix(in srgb, #d5e0ec 28%, transparent);
  backdrop-filter: blur(3px) saturate(1.05);
  -webkit-backdrop-filter: blur(3px) saturate(1.05);
}
html[data-theme="light"] .card {
  background: color-mix(in srgb, #f4f8fc 70%, transparent);
  border-color: color-mix(in srgb, #fff 50%, transparent);
  backdrop-filter: blur(3px) saturate(1.05);
  -webkit-backdrop-filter: blur(3px) saturate(1.05);
}

body {
  opacity: 1;
}
.tier-bg {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  body,
  .tier-bg {
    opacity: 1;
    transition: none;
  }
}

.tier-label {
  position: relative;
  color: #111;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 38%, transparent),
    inset 0 -2px 0 color-mix(in srgb, #000 18%, transparent);
}
.tier-label strong {
  font-size: 3.55rem;
  text-shadow: 0 1px 0 color-mix(in srgb, #fff 22%, transparent);
}
.tier-label span {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  opacity: 0.92;
  max-width: none;
}
.t-A .tier-label,
.t-B .tier-label,
.t-C .tier-label,
.t-D .tier-label,
.t-E .tier-label,
.t-F .tier-label {
  color: #111;
}
.t-A .tier-label { background: #7dba72; }
.t-B .tier-label { background: #a3c75a; }
.t-C .tier-label { background: #d4c04a; }
.t-D .tier-label { background: #e0a24a; }
.t-E .tier-label { background: #e08a62; }
.t-F .tier-label { background: #e07a7a; }


/* Type cleanup: keep Fraunces on titles and A–F letters */
.official-rules {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 42rem;
}
.official-rules li { margin-bottom: 0.75rem; }

.handle,
.meters span,
.claims-n,
.queue-note,
.detect-note,
.idea-card,
.pct,
.empty-row,
footer,
.photo-credit {
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.handle {
  font-size: 0.95rem;
  font-weight: 600;
}

.meters strong {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.meters span,
.claims-n {
  font-size: 0.9rem;
  font-weight: 600;
}

.queue-note {
  font-size: 1.05rem;
  line-height: 1.5;
}

.prog-label {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.9rem;
}


html[data-theme="light"] .chrome {
  background: color-mix(in srgb, #d5e0ec 82%, #2a7a4a 6%);
  border-bottom-color: var(--line);
}
html[data-theme="light"] .search-wrap input,
html[data-theme="light"] .suggest-form textarea,
html[data-theme="light"] .suggest-form input,
html[data-theme="light"] .submit-block input[type="url"],
html[data-theme="light"] .submit-block input[type="text"] {
  background: color-mix(in srgb, #e8eef5 70%, transparent);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="light"] .theme-btn,
html[data-theme="light"] .show-more,
html[data-theme="light"] .suggest-form button,
html[data-theme="light"] .submit-block button,
html[data-theme="light"] .pager button,
html[data-theme="light"] .more-queue a,
html[data-theme="light"] .list-tab,
html[data-theme="light"] .thumb {
  background: color-mix(in srgb, #e8eef5 68%, transparent);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="light"] .thumb.on,
html[data-theme="light"] .thumb[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 38%, #e8eef5);
  border-color: #2a7a4a;
  color: #14301e;
  box-shadow: 0 0 0 2px color-mix(in srgb, #2a7a4a 28%, transparent);
}
html[data-theme="light"] .thumb.down.on,
html[data-theme="light"] .thumb.down[aria-pressed="true"] {
  background: color-mix(in srgb, #c45b4a 32%, #f3e8e2);
  border-color: #8a4034;
  color: #3a1410;
}
html[data-theme="light"] .list-tab.active {
  background: color-mix(in srgb, #2a7a4a 16%, #e8eef5);
  border-color: #2a7a4a;
  color: var(--ink);
}
html[data-theme="light"] .card,
html[data-theme="light"] .idea-card,
html[data-theme="light"] .claim,
html[data-theme="light"] .queue-page .card,
html[data-theme="light"] .person-page .card,
html[data-theme="light"] .lower-main .card {
  background: color-mix(in srgb, #eef3f8 82%, transparent);
  border-color: color-mix(in srgb, #2a7a4a 28%, transparent);
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
}
html[data-theme="light"] .tier-people {
  background: color-mix(in srgb, #1a3048 8%, transparent);
  backdrop-filter: blur(4px) saturate(1.08);
  -webkit-backdrop-filter: blur(4px) saturate(1.08);
}
html[data-theme="light"] .tier-row {
  border-color: color-mix(in srgb, #141512 22%, transparent);
}
html[data-theme="light"] .prog {
  background: color-mix(in srgb, #1a3048 14%, transparent);
}
html[data-theme="light"] .prog-fill {
  background: #3d8a55;
}
html[data-theme="light"] .prog-label.on-empty { color: #1a2430; }
html[data-theme="light"] .prog-label.on-fill { color: #f4faf6; }
html[data-theme="light"] .face {
  background: color-mix(in srgb, #1a3048 14%, transparent);
  color: #1a2430;
}
html[data-theme="light"] body.queue-page,
html[data-theme="light"] body.person-page {
  background: var(--bg);
}
html[data-theme="light"] .flag-rail {
  background: var(--bg);
}
html[data-theme="light"] .tier-bg.is-ready .tier-bg-frost {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, #d5e0ec 52%, transparent) 0%,
      transparent 18%,
      transparent 64%,
      color-mix(in srgb, #d5e0ec 58%, transparent) 100%),
    radial-gradient(ellipse 85% 75% at var(--vig-x, 50%) var(--vig-y, 42%),
      transparent 20%,
      color-mix(in srgb, #1a3048 38%, transparent) 58%,
      color-mix(in srgb, #1a3048 78%, transparent) 100%);
}
html[data-theme="light"] .tier-bg-hi {
  filter: saturate(1.02) brightness(1.04) contrast(1.02) blur(0.4px);
}

.board-credit {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0.45rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  text-align: right;
}
.ad-slot-wide {
  width: 100%;
  max-width: 760px;
  margin: 0.4rem auto 1.6rem;
  padding: 0.4rem 0.45rem 0.7rem;
  border-top: 0;
}
.ad-frame-wide {
  width: 728px;
  max-width: 100%;
  height: 90px;
  margin: 0 auto;
}
@media (max-width: 1700px) {
  .ad-slot-wide { display: none; }
}

.tiers { min-height: 0; gap: 6px; }
.tier-wrap { padding: 1.6rem 1.25rem 1.4rem; }
.tier-row { min-height: 118px; }
.tier-label { padding: 0.3rem 0.3rem; gap: 0.15rem; }
.tier-label strong { font-size: 2.15rem; }
.tier-label span { font-size: 0.82rem; }
.tier-people { padding: 0.4rem; gap: 0.45rem; }
.tier-people .card { width: 168px; }
.tier-people .card .face { width: 48px; height: 48px; font-size: 1rem; }
.tier-people .name { font-size: 1rem; }
.tier-people .handle { font-size: 0.82rem; }
.tier-people .meters strong { font-size: 1.02rem; }
.tier-people .meters span, .tier-people .claims-n { font-size: 0.78rem; }
.flag-rail .ad-frame {
  width: 300px;
  height: 250px;
}

.ad-note {
  margin: 0 0 0.28rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--mute);
}

.legal-nav {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
}
.legal-nav a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 0.55rem;
  font-weight: 600;
}
.legal-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-prose {
  max-width: 720px;
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  padding-bottom: 2.5rem;
}
.legal-prose h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
}
.legal-prose a { color: var(--accent); }
.rules-note {
  max-width: 42rem;
  margin: 0.85rem auto 0;
  padding-left: 1.2rem;
  text-align: left;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--mute);
}
.rules-note a { color: var(--accent); }
.site-foot {
  max-width: 960px;
  margin: 2.2rem auto 0;
  padding: 1.1rem 1.25rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
}
.site-foot a { color: var(--accent); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-fine {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--mute);
}
