@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/Fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/Fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/Geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/Geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}

:root {
  --cream: #f4efe1;
  --paper: #faf6ea;
  --ink: #2c2a22;
  --soft: #615c50;
  --faint: #6f6a5d;
  --moss: #6e7d4a;
  --moss-num: #69783f;
  --moss-deep: #3c4a2c;
  --moss-soft: #e4e7d4;
  --amber: #87580e;
  --amber-bright: #bf8d2c;
  --amber-soft: #efe2c2;
  --line: #d9d1bb;
  --line-soft: #e8e0cb;
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  padding-bottom: 60px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.serif {
  font-family: var(--display);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--moss-deep);
  min-height: 44px;
}

.logo svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.logo .nm {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo .ed {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav .si {
  min-height: 44px;
  background: var(--moss-deep);
  color: #fff;
  padding: 9px 18px;
  border-radius: 7px;
  font-weight: 550;
}

.hero {
  padding-top: 48px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin: 0 0 12px;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--amber-bright);
  margin-top: 12px;
}

h1 {
  font-family: var(--display);
  font-size: 74px;
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0 0 22px;
}

.sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--soft);
  margin: 0 0 34px;
}

.filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  min-height: 48px;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 4px 8px 4px 15px;
  font-size: 14px;
  color: var(--ink);
}

.chip .l {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  white-space: nowrap;
}

.chip svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

.chip select {
  min-height: 40px;
  max-width: 112px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline-offset: 4px;
  appearance: auto;
}

.chip:focus-within {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(110, 125, 74, 0.18);
}

.board-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 14px 8px 0;
}

.slice-label,
.sample-size {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.sample-size {
  text-align: right;
}

.state {
  margin: 20px 8px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber-bright);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--soft);
  line-height: 1.55;
}

.state strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.state button {
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid var(--moss-deep);
  border-radius: 7px;
  background: var(--moss-deep);
  color: #fff;
  padding: 10px 16px;
  font-weight: 650;
}

.thead,
.row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 360px 110px;
  align-items: center;
}

.thead {
  padding: 30px 8px 14px;
}

.thead span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

.thead .eff-head {
  text-align: center;
}

.thead .eff-head b {
  display: block;
  color: var(--moss-deep);
  font-weight: 700;
  letter-spacing: 0.13em;
}

.thead .eff-head small {
  display: block;
  font-weight: 500;
  color: var(--faint);
  font-size: 10px;
}

.thead .tr {
  text-align: center;
}

.row {
  min-height: 84px;
  padding: 18px 8px;
  border-top: 1px solid var(--line);
}

.row[aria-busy="true"] {
  pointer-events: none;
}

.rk {
  font-family: var(--display);
  font-size: 30px;
  color: var(--faint);
  font-weight: 500;
}

.dev {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.dev .h {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
}

.badge {
  width: 18px;
  height: 18px;
  flex: none;
}

.hold {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--amber-soft);
  color: #68460e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eff {
  padding-right: 8px;
}

.eff .top2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.eff .nn {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  color: var(--moss-num);
  line-height: 1;
}

.eff .u {
  font-size: 12px;
  color: var(--soft);
}

.eff .ebar {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--moss-soft);
  margin-top: 9px;
  overflow: hidden;
}

.eff .ebar > i {
  display: block;
  height: 100%;
  width: var(--bar-width, 0%);
  background: var(--moss);
  border-radius: 3px;
}

.trend {
  display: flex;
  justify-content: center;
  color: var(--moss);
}

.trend svg {
  width: 74px;
  height: 30px;
}

.row.you {
  background: linear-gradient(90deg, rgba(191, 141, 44, 0.16), rgba(191, 141, 44, 0.03));
  box-shadow: inset 4px 0 0 var(--amber-bright);
  border-radius: 0 8px 8px 0;
}

.row.you .rk {
  color: var(--amber);
}

.row.you .eff .ebar > i {
  background: var(--amber-bright);
}

.you-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--amber);
  padding: 4px 8px;
  border-radius: 5px;
  margin-left: 4px;
}

.skeleton .sk {
  display: block;
  height: 16px;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(250, 246, 234, 0.2), rgba(250, 246, 234, 0.9), rgba(250, 246, 234, 0.2));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton .rank-sk {
  width: 34px;
  height: 34px;
}

.skeleton .dev-sk {
  width: 180px;
  height: 28px;
}

.skeleton .eff-sk {
  width: 260px;
  height: 36px;
}

.skeleton .trend-sk {
  width: 74px;
  height: 22px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.wyl {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 40px;
}

.wyl .row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 6px;
}

.wyl h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin: 0;
}

.legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--soft);
  text-transform: uppercase;
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}

.you-dot {
  background: var(--moss-deep);
}

.median-dot {
  background: var(--soft);
}

.claim {
  font-family: var(--display);
  font-size: 18px;
  margin: 14px 0 26px;
}

.claim b {
  color: var(--amber);
  font-weight: 650;
}

.axis {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: #e7e1cf;
}

.axis .fill {
  position: absolute;
  left: 50%;
  width: 0%;
  top: 0;
  bottom: 0;
  background: var(--moss);
  border-radius: 4px;
}

.mk {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.mk.p50 {
  left: 50%;
  background: #fff;
  border: 3px solid var(--soft);
}

.mk.you-marker {
  left: 50%;
  background: var(--moss-deep);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 6px rgba(60, 74, 44, 0.45);
  opacity: 0.28;
}

.drops {
  position: relative;
  height: 42px;
}

.drop {
  position: absolute;
  top: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.drop b {
  display: block;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.drop.a {
  left: 50%;
}

.drop.b {
  left: 50%;
}

.ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.ticks span {
  font-size: 11px;
  color: var(--faint);
}

.leagues {
  padding-top: 82px;
}

.league-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.leagues h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.lede {
  font-size: 16px;
  color: var(--soft);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0;
}

.prog {
  flex: none;
  width: 330px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}

.prog .lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.prog .xp {
  font-size: 30px;
  font-weight: 600;
}

.prog .xp small {
  font-size: 13px;
  color: var(--soft);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.prog .to {
  font-size: 13px;
  color: var(--soft);
  margin: 2px 0 14px;
}

.prog .pbar {
  height: 9px;
  border-radius: 5px;
  background: var(--moss-soft);
  overflow: hidden;
}

.prog .pbar > i {
  display: block;
  height: 100%;
  width: var(--league-progress, 0%);
  background: var(--moss);
  border-radius: 5px;
}

.prog .togo {
  text-align: right;
  font-size: 12px;
  color: var(--faint);
  margin-top: 7px;
}

.league-board {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

.tier {
  display: grid;
  grid-template-columns: 6px 96px minmax(0, 1fr) 200px 30px;
  align-items: center;
  gap: 22px;
  min-height: 110px;
  padding: 22px 26px 22px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.tier:first-child {
  border-top: none;
}

.tier.current {
  background: linear-gradient(90deg, rgba(191, 141, 44, 0.12), rgba(250, 246, 234, 0));
}

.accent {
  height: 100%;
  align-self: stretch;
}

.seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  justify-self: center;
}

.seal svg {
  position: absolute;
}

.seal .L {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 650;
}

.tname {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 3px;
}

.tdesc {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.4;
  max-width: 30ch;
}

.xpr {
  text-align: right;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.xpr small {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--faint);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.chev {
  color: var(--faint);
  font-size: 20px;
  justify-self: center;
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 22px;
  }

  .top,
  .league-head {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav a {
    padding-right: 8px;
  }

  h1 {
    font-size: 54px;
  }

  .thead {
    display: none;
  }

  .row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px 14px;
    min-height: 0;
    padding: 16px 6px;
  }

  .row .eff {
    grid-column: 2;
    padding-right: 0;
  }

  .trend {
    grid-column: 2;
    justify-content: flex-start;
  }

  .eff .top2 {
    flex-wrap: wrap;
  }

  .league-head .prog {
    width: 100%;
  }

  .tier {
    grid-template-columns: 6px 76px minmax(0, 1fr);
    gap: 14px;
    padding-right: 16px;
  }

  .xpr,
  .chev {
    grid-column: 3;
    text-align: left;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }

  .brand-copy {
    display: block;
  }

  .logo .nm,
  .logo .ed {
    display: block;
  }

  .nav a:not(.si) {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chip {
    width: 100%;
  }

  .chip select {
    max-width: 150px;
  }

  .board-meta,
  .wyl .row1 {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-size {
    text-align: left;
  }

  .dev .h {
    font-size: 22px;
  }

  .eff .nn {
    font-size: 30px;
  }

  .ticks span:nth-child(even) {
    display: none;
  }

  .leagues h2 {
    font-size: 32px;
  }

  .tier {
    grid-template-columns: 6px 62px minmax(0, 1fr);
    gap: 10px;
  }

  .seal {
    width: 52px;
    height: 52px;
  }

  .tname {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
