.stats-extra {
  width: min(1180px, calc(100vw - 28px));
  margin: 24px auto 44px;
  color: #17110f;
}

.stats-extra * {
  box-sizing: border-box;
}

.stats-extra-shell {
  position: relative;
  border: 3px solid #111;
  box-shadow: 7px 8px 0 #111;
  background: #fff8ef;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
}

.stats-extra-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.stats-extra-kicker {
  display: inline-block;
  color: #fff;
  background: #111;
  border: 2px solid #111;
  box-shadow: 3px 4px 0 rgba(0,0,0,0.28);
  padding: 5px 9px 4px;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.stats-extra-title {
  margin: 10px 0 0;
  font-family: "Titan One", Impact, "Arial Black", sans-serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stats-extra-note {
  max-width: 360px;
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.stats-extra-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.stats-extra-two {
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-extra-card {
  position: relative;
  min-width: 0;
  border: 2px solid #111;
  background: rgba(255,255,255,0.82);
  box-shadow: 4px 5px 0 rgba(0,0,0,0.38);
  padding: 14px;
  overflow: hidden;
}

.stats-extra-rank {
  font-family: "Titan One", Impact, sans-serif;
  font-size: 18px;
}

.stats-extra-name {
  font-family: "Grandstander", "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.stats-extra-score {
  margin-top: 6px;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
}

.stats-extra-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.stats-extra-mini span {
  display: block;
  border: 2px solid #111;
  background: #fff;
  padding: 7px 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.stats-extra-mini strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.stats-extra-list {
  display: grid;
  gap: 8px;
}

.stats-extra-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 2px solid #111;
  background: rgba(255,255,255,0.82);
  box-shadow: 3px 4px 0 rgba(0,0,0,0.32);
  padding: 9px 10px;
  font-weight: 900;
}

.stats-extra-row small {
  color: #5b4b48;
  font-family: "Special Elite", "Courier New", monospace;
}

.stats-extra-loud .stats-extra-shell {
  background: #ffe4f1;
  transform: rotate(-0.4deg);
}

.stats-extra-loud .stats-extra-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.stats-extra-loud .stats-extra-card:first-child {
  background: url("home/paper-cards/cards-notebook.webp") center / 100% 100% no-repeat;
  padding: 42px 50px;
  min-height: 250px;
}

.stats-extra-trolls .stats-extra-shell {
  background: #ead8b8;
  background-image: linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 100% 28px;
}

.stats-extra-trolls .stats-extra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-extra-trolls .stats-extra-card {
  background: url("home-page-images/troll-docket-13.webp") center / 100% 100% no-repeat;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(4px 5px 0 rgba(0,0,0,0.42));
  padding: 36px 30px 24px;
  min-height: 210px;
  transform: rotate(var(--r, -1deg));
}

.stats-extra-trolls .stats-extra-card:nth-child(2) {
  --r: 1.5deg;
  background-image: url("home-page-images/troll-docket-14.webp");
}

.stats-extra-trolls .stats-extra-card:nth-child(3) {
  --r: -2deg;
  background-image: url("home-page-images/troll-docket-15.webp");
}

.stats-extra-lol .stats-extra-shell {
  background: #fff0a8;
}

.stats-extra-lol .stats-extra-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.stats-extra-lol .stats-extra-card:first-child::before {
  content: "LOL";
  position: absolute;
  right: -18px;
  top: -18px;
  color: #ff4aa5;
  font-family: "Rubik Glitch", Impact, sans-serif;
  font-size: 84px;
  opacity: 0.28;
}

.stats-extra-links .stats-extra-shell {
  background: #d9f1ff;
}

.stats-extra-links .stats-extra-grid {
  grid-template-columns: 1fr 1fr;
}

.stats-extra-links .stats-extra-card {
  border-style: dashed;
}

.stats-extra-links .stats-extra-card::after {
  content: "receipt";
  position: absolute;
  right: 10px;
  top: 10px;
  border: 2px solid #111;
  padding: 3px 6px;
  transform: rotate(8deg);
  font-family: "Special Elite", monospace;
  font-size: 10px;
}

.stats-extra-flyers .stats-extra-shell {
  background: #e8ffe8;
}

.stats-extra-flyers .stats-extra-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.stats-extra-flyers .stats-extra-card {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 92% 100%, 0 100%);
}

.stats-extra-dump .stats-extra-shell {
  background: #151515;
  color: #fff8ef;
}

.stats-extra-dump .stats-extra-card,
.stats-extra-dump .stats-extra-row,
.stats-extra-dump .stats-extra-mini span {
  color: #fff8ef;
  background: #252525;
  border-color: #fff8ef;
}

.stats-extra-dump .stats-extra-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-extra-rooms .stats-extra-shell {
  background: #f2e3ff;
}

.stats-extra-rooms .stats-extra-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-extra-rooms .stats-extra-card {
  background: url("home/paper-cards/cards-cardboardlong.webp") center / 100% 100% no-repeat;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(5px 6px 0 rgba(0,0,0,0.45));
  padding: 34px 44px;
}

.stats-extra-notes .stats-extra-shell {
  background: #fff6fb;
}

.stats-extra-notes .stats-extra-grid {
  grid-template-columns: 1fr 1fr;
}

.stats-extra-notes .stats-extra-card {
  background: #fff;
  transform: rotate(var(--r, -0.5deg));
}

.stats-extra-notes .stats-extra-card:nth-child(even) {
  --r: 0.7deg;
}

.stats-extra-book .stats-extra-shell {
  background: #fff7dc;
}

.stats-extra-book .stats-extra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-extra-book .stats-extra-card {
  background: url("home/paper-cards/cards-docket.webp") center / 100% 100% no-repeat;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(5px 6px 0 rgba(0,0,0,0.45));
  padding: 38px 34px;
}

@media (max-width: 760px) {
  .stats-extra-head,
  .stats-extra-loud .stats-extra-grid,
  .stats-extra-trolls .stats-extra-grid,
  .stats-extra-lol .stats-extra-grid,
  .stats-extra-links .stats-extra-grid,
  .stats-extra-flyers .stats-extra-grid,
  .stats-extra-dump .stats-extra-grid,
  .stats-extra-rooms .stats-extra-grid,
  .stats-extra-notes .stats-extra-grid,
  .stats-extra-book .stats-extra-grid,
  .stats-extra-two {
    grid-template-columns: 1fr;
  }

  .stats-extra-head {
    display: grid;
  }

  .stats-extra-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-extra-row {
    grid-template-columns: 38px 1fr;
  }

  .stats-extra-row > strong {
    grid-column: 2;
  }
}
