/* Generated by the verified runtime partition on 2026-08-29. Keep selectors scoped to this surface. */
body.is-stats {
  --street-hub-col: min(46rem, 100vw);
  --paper: #07101e;
  --surface: rgba(10, 22, 39, .82);
  --ink: #fff8e8;
  --muted: rgba(255, 248, 232, .68);
  --parchment: rgba(255, 248, 232, .72);
  --line: rgba(224, 187, 92, .2);
  --stats-panel: rgba(8, 20, 37, .78);
  --stats-rule: rgba(224, 187, 92, .24);
  --surface-primary: rgba(8, 20, 37, .94);
  --hub-muted: rgba(255, 248, 232, .66);
  --street-card-shadow: 0 1.1rem 3rem rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 248, 232, .07);
  background: #050b14;
}
.is-paper-hall.is-stats .sky,
.is-paper-hall.is-stats:has(.stats-page) .sky {
  background: url("/media/stats/celestial-chronicles-dark-v1.webp") 50% 0 / cover no-repeat fixed;
  filter: saturate(.92) brightness(.72);
}
.is-paper-hall.is-stats .sky::after,
.is-paper-hall.is-stats:has(.stats-page) .sky::after {
  display: block;
  background:
    linear-gradient(180deg, rgba(3, 9, 18, .08) 0%, rgba(3, 9, 18, .28) 28%, rgba(3, 9, 18, .7) 74%, #050b14 100%),
    radial-gradient(ellipse 90% 42% at 50% 30%, transparent 0%, rgba(3, 9, 18, .22) 72%);
  opacity: 1;
}
.is-stats .stats-page {
  --stats-panel: rgba(8, 20, 37, .78);
  --stats-rule: rgba(224, 187, 92, .24);
  width: min(46rem, 100%);
  gap: var(--space-3);
  padding-inline: clamp(.7rem, 3vw, 1.25rem);
  padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  color: var(--ink);
}
.is-stats .stats-header h1,
.is-stats .stats-header-lede,
.is-stats .stats-chapter > h2,
.is-stats .stats-chapter-num,
.is-stats .stats-langs-title,
.is-stats .stats-lang-name,
.is-stats .stats-lang-count,
.is-stats .stats-tile-value,
.is-stats .stats-tile-label,
.is-stats .stats-path-pct,
.is-stats .stats-world-name,
.is-stats .stats-world-score,
.is-stats .stats-world-summary,
.is-stats .stats-about {
  color: var(--ink);
}
.is-stats .stats-header h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9), 0 0 34px rgba(7, 16, 30, .82);
}
.is-stats .stats-header-lede {
  text-shadow: 0 1px 10px rgba(0, 0, 0, .95);
}
.is-stats .stats-header-rule,
.is-stats .stats-header-star::before,
.is-stats .stats-header-star::after {
  background: linear-gradient(90deg, transparent, #e0bb5c, transparent);
}
.is-stats .stats-header-star,
.is-stats .stats-chapter-icon,
.is-stats .stats-tile-ico,
.is-stats .stats-langs-title .picto,
.is-stats .stats-world-score-picto,
.is-stats .stats-about-icon,
.is-stats .stats-world-chevron,
.is-stats .stats-about-chevron {
  color: #e0bb5c;
}
.is-stats .stats-chapter,
.is-stats .stats-about {
  border-color: rgba(224, 187, 92, .25);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, .07), transparent 38%),
    linear-gradient(180deg, rgba(11, 27, 48, .9), rgba(5, 15, 29, .82));
  box-shadow: var(--street-card-shadow), 0 0 0 1px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.is-stats .stats-chapter > h2 {
  border-color: var(--stats-rule);
}
.is-stats .stats-tile + .stats-tile,
.is-stats .stats-path-circle,
.is-stats .stats-langs,
.is-stats .stats-world-row {
  border-color: var(--stats-rule);
}
.is-stats .stats-tile-label,
.is-stats .stats-world-place,
.is-stats .stats-about-desc,
.is-stats .stats-empty {
  color: var(--muted);
}
.is-stats .stats-invitations-medallion {
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}
.is-stats .stats-invitations-medallion img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  filter: drop-shadow(0 0.4rem 0.8rem rgba(224, 187, 92, 0.22));
}
.is-stats .stats-invitations-funnel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-4);
  border: 1px solid var(--stats-rule);
  border-radius: 1rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--stats-panel) 82%, transparent);
}
.is-stats .stats-invitation-step {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.3rem;
  min-height: 7.5rem;
  padding: 1rem 0.55rem 0.8rem;
  text-align: center;
}
.is-stats .stats-invitation-step + .stats-invitation-step {
  border-left: 1px solid var(--stats-rule);
}
.is-stats .stats-invitation-order {
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224, 187, 92, 0.48);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
}
.is-stats .stats-invitation-step .stats-tile-value {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 5vw, 2rem);
}
.is-stats .stats-invitation-step .stats-tile-label {
  max-width: 8rem;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-min);
  line-height: 1.2;
  text-wrap: balance;
}
.is-stats .stats-invitations-conversion {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  margin: var(--space-4) 0 0;
  color: var(--muted);
  text-align: center;
}
.is-stats .stats-invitations-conversion strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.7rem);
  line-height: 1;
}
.is-stats .stats-invitations-conversion span {
  max-width: 16rem;
  font-size: var(--type-min);
  line-height: 1.25;
}
@media (max-width: 560px) {
.is-stats .stats-invitations-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-stats .stats-invitation-step { min-height: 6.75rem; }
.is-stats .stats-invitation-step:nth-child(3) { border-left: 0; }
.is-stats .stats-invitation-step:nth-child(n + 3) { border-top: 1px solid var(--stats-rule); }
.is-stats .stats-invitations-conversion { align-items: center; }
}
.is-stats .stats-world {
  padding-bottom: var(--space-3);
}
.is-stats .stats-world-list {
  gap: 0;
}
.is-stats .stats-world-row {
  grid-template-columns: 2rem 2.65rem minmax(0, 1fr) minmax(4.75rem, auto);
  min-height: 4.25rem;
  gap: clamp(.45rem, 2vw, .7rem);
  padding: .55rem .35rem;
}
.is-stats .stats-world-row.is-champion {
  min-height: 4.85rem;
  margin-inline: -.35rem;
  padding-inline: .7rem;
  border-bottom-color: rgba(224, 187, 92, .4);
  background:
    radial-gradient(circle at 12% 50%, rgba(224, 187, 92, .15), transparent 28%),
    linear-gradient(90deg, rgba(224, 187, 92, .09), transparent 72%);
  box-shadow: inset 3px 0 0 rgba(224, 187, 92, .52);
}
.is-stats .stats-world-row.is-champion .stats-world-avatar .avatar-img,
.is-stats .stats-world-row.is-champion .stats-world-avatar .avatar-fallback {
  width: 2.65rem;
  height: 2.65rem;
  border-color: #e0bb5c;
  box-shadow: 0 0 0 2px rgba(224, 187, 92, .16), 0 0 1.1rem rgba(224, 187, 92, .18);
}
.is-stats .stats-world-row.is-champion .stats-world-name {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 4.2vw, 1.28rem);
  font-weight: 720;
}
.is-stats .stats-world-info {
  gap: .14rem;
}
.is-stats .stats-world-place {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.is-stats .stats-world-score {
  justify-self: end;
  min-width: 4.75rem;
  justify-content: flex-end;
  gap: .38rem;
  padding: .34rem .52rem;
  border: 1px solid rgba(224, 187, 92, .25);
  border-radius: var(--radius-pill);
  color: #fff8e8;
  background: rgba(2, 9, 18, .48);
  box-shadow: inset 0 1px 0 rgba(255, 248, 232, .06);
  font-size: clamp(.95rem, 3.8vw, 1.1rem);
  line-height: 1;
}
.is-stats .stats-world-row.is-champion .stats-world-score {
  border-color: rgba(224, 187, 92, .58);
  background: linear-gradient(135deg, rgba(224, 187, 92, .2), rgba(2, 9, 18, .58));
  box-shadow: 0 0 .9rem rgba(224, 187, 92, .12), inset 0 1px 0 rgba(255, 248, 232, .12);
}
.is-stats .stats-world-score-picto {
  display: grid;
  place-items: center;
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 1.08rem;
  color: #e0bb5c;
}
.is-stats .stats-world-score-picto .picto {
  width: 1.08rem;
  height: 1.08rem;
}
.is-stats .stats-world-summary {
  width: fit-content;
  min-height: 2.75rem;
  margin: var(--space-3) auto 0;
  padding: .55rem .85rem;
  border: 1px solid rgba(224, 187, 92, .28);
  border-radius: var(--radius-pill);
  background: rgba(2, 9, 18, .34);
  letter-spacing: .055em;
}
@media (max-width: 390px) {
.is-stats .stats-world-row {
    grid-template-columns: 1.7rem 2.35rem minmax(0, 1fr) minmax(4.25rem, auto);
    gap: .38rem;
    padding-inline: .15rem;
  }
.is-stats .stats-world-row.is-champion {
    margin-inline: -.2rem;
    padding-inline: .35rem;
  }
.is-stats .stats-world-score {
    min-width: 4.25rem;
    padding-inline: .4rem;
  }
}
.is-stats .stats-path-bg {
  stroke: rgba(255, 248, 232, .12);
}
.is-stats .stats-path-ring {
  stroke: #e0bb5c;
  filter: drop-shadow(0 0 5px rgba(224, 187, 92, .38));
}
.is-stats .stats-world-row.is-ranked:first-child {
  background: linear-gradient(90deg, rgba(224, 187, 92, .1), transparent 72%);
}
.is-stats .stats-world-avatar .avatar-img,
.is-stats .stats-world-avatar .avatar-fallback {
  border-color: rgba(224, 187, 92, .45);
}
@media (min-width: 720px) {
.is-stats .stats-header {
    padding-top: calc(7rem + env(safe-area-inset-top));
  }
.is-paper-hall.is-stats .sky,
.is-paper-hall.is-stats:has(.stats-page) .sky {
    background-position: 50% 12%;
  }
}
@media (prefers-reduced-motion: reduce) {
.is-paper-hall.is-stats .sky,
.is-paper-hall.is-stats:has(.stats-page) .sky {
    background: url("/media/stats/celestial-chronicles-dark-v1.webp") 50% 0 / cover no-repeat fixed;
  }
}
.is-stats .stats-header {
  gap: .35rem;
  padding: calc(5rem + env(safe-area-inset-top)) var(--space-3) var(--space-2);
}
.is-stats .stats-header h1 {
  display: grid;
  grid-template-columns: minmax(1.5rem, 3rem) max-content minmax(1.5rem, 3rem);
  width: min(42rem, 100%);
  font-size: clamp(1.36rem, 5.45vw, 2.3rem);
  font-weight: 720;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}
.is-stats .stats-header-rule { width: 100%; max-width: none; }
.is-stats .stats-header-rule-l { margin-right: 0; }
.is-stats .stats-header-rule-r { margin-left: 0; }
.is-stats .stats-header-star {
  display: grid;
  grid-template-columns: minmax(2.5rem, 1fr) auto minmax(2.5rem, 1fr);
  align-items: center;
  gap: .7rem;
  width: min(18rem, 76%);
  color: var(--gold-primary);
  font-size: .9rem;
}
.is-stats .stats-header-star::before,
.is-stats .stats-header-star::after {
  content: "";
  height: 1px;
  background: var(--stats-rule);
}
.is-stats .stats-header-star > .picto {
  width: .9rem;
  height: .9rem;
}
.is-stats .stats-header-lede { max-width: 30rem; }
.is-stats .stats-chapter {
  gap: 0;
  overflow: hidden;
  opacity: 1;
  padding: .7rem clamp(.65rem, 2.4vw, 1rem) .8rem;
  border: 1px solid var(--stats-rule);
  border-radius: 1rem;
}
.is-stats .stats-chapter > h2 {
  min-height: 2.35rem;
  padding: 0 .2rem .55rem;
  gap: .45rem;
  font-size: clamp(1rem, 4vw, 1.25rem);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.is-stats .stats-chapter-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--gold-primary);
}
.is-stats .stats-chapter-icon .picto { width: 1.55rem; height: 1.55rem; }
.is-stats .stats-chapter-num {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1em;
}
.is-stats .stats-chapter-num::after { content: "."; }
.is-stats .stats-chapter-lede { display: none; }
.is-stats .stats-house-grid { display: grid; }
.is-stats .stats-tiles,
.is-stats .stats-tiles-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.is-stats .stats-tile {
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 6.5rem;
  gap: .25rem;
  padding: .75rem .35rem .45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.is-stats .stats-tile + .stats-tile { border-left: 1px solid var(--stats-rule); }
.is-stats .stats-tile-ico {
  position: static;
  order: -1;
  width: 2rem;
  height: 2rem;
  color: var(--gold-primary);
}
.is-stats .stats-tile-ico .picto { width: 1.7rem; height: 1.7rem; }
.is-stats .stats-tile-value {
  padding: 0;
  font-size: clamp(1.55rem, 6.2vw, 2rem);
}
.is-stats .stats-tile-label {
  max-width: 8rem;
  color: var(--ink);
  font-size: clamp(.65rem, 2.5vw, .78rem);
  line-height: 1.12;
  letter-spacing: .035em;
}
.is-stats .stats-langs {
  grid-template-columns: 1fr;
  gap: .2rem;
  padding: .65rem .45rem .1rem;
  border-top: 1px solid var(--stats-rule);
}
.is-stats .stats-langs-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .15rem;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.is-stats .stats-langs-title .picto {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold-primary);
}
.is-stats .stats-lang {
  display: block;
  padding: .14rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.is-stats .stats-lang-row { flex-wrap: nowrap; gap: .45rem; }
.is-stats .stats-lang-dot { width: .52rem; height: .52rem; }
.is-stats .stats-lang:nth-of-type(2) .stats-lang-dot-fill { background: #2f74b5; }
.is-stats .stats-lang:nth-of-type(3) .stats-lang-dot-fill { background: #e2a52d; }
.is-stats .stats-lang:nth-of-type(4) .stats-lang-dot-fill { background: #3a9b5e; }
.is-stats .stats-lang:nth-of-type(5) .stats-lang-dot-fill { background: #b9b9b7; }
.is-stats .stats-lang-name { font-weight: 550; }
.is-stats .stats-lang-count { font-family: var(--font-ui); font-size: var(--type-min); font-weight: 800; }
.is-stats .stats-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.is-stats .stats-path-hero,
.is-stats .stats-path-row { display: contents; }
.is-stats .stats-path-hero .stats-tile { padding-top: .75rem; }
.is-stats .stats-path-circle {
  min-width: 0;
  min-height: 6.5rem;
  justify-content: center;
  gap: .2rem;
  padding: .55rem .15rem .35rem;
  border-left: 1px solid var(--stats-rule);
}
.is-stats .stats-path-svg { width: 3.3rem; height: 3.3rem; }
.is-stats .stats-path-pct { position: absolute; top: 2rem; font-size: clamp(1rem, 4.3vw, 1.4rem); }
.is-stats .stats-path-circle .stats-tile-label { text-align: center; }
.is-stats .stats-world-list { gap: 0; }
.is-stats .stats-world-row {
  grid-template-columns: 2rem 2.35rem minmax(0, 1fr) auto;
  min-height: 3.6rem;
  gap: .55rem;
  padding: .38rem .3rem;
  border: 0;
  border-bottom: 1px solid var(--stats-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.is-stats .stats-world-row:last-child { border-bottom: 0; }
.is-stats .stats-world-medal {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  clip-path: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 2px 5px rgba(65,43,14,.18);
}
.is-stats .stats-world-name { font-weight: 600; }
.is-stats .stats-world-place { line-height: 1.15; }
.is-stats .stats-world-summary {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-transform: uppercase;
}
.is-stats .stats-world-chevron,
.is-stats .stats-about-chevron {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold-primary);
}
.is-stats .stats-world-chevron .picto,
.is-stats .stats-about-chevron .picto {
  width: 100%;
  height: 100%;
}
.is-stats .stats-about { min-height: 4.5rem; border-radius: 1rem; }
@media (min-width: 560px) {
.is-stats .stats-house-grid { grid-template-columns: minmax(0, 3fr) minmax(10rem, 1.45fr); }
.is-stats .stats-langs { padding: .65rem 0 .3rem .9rem; border-top: 0; border-left: 1px solid var(--stats-rule); }
.is-stats .stats-tile { min-height: 7.3rem; }
.is-stats .stats-path-circle { min-height: 7.3rem; }
.is-stats .stats-path-pct { top: 2.15rem; }
}
@media (max-width: 430px) {
.is-stats .stats-header { padding-top: calc(5.2rem + env(safe-area-inset-top)); }
.is-stats .stats-header h1 {
    grid-template-columns: minmax(.75rem, 1fr) max-content minmax(.75rem, 1fr);
    gap: .45rem;
    letter-spacing: .045em;
  }
}
@media (prefers-reduced-motion: reduce) {
.is-stats .stats-chapter { opacity: 1; transform: none; }
}
.is-paper-hall.is-stats .sky {
  background: url("/media/temple/celestial-court.webp") 50% 42% / cover no-repeat fixed;
  background-size: cover;
  background-position: 50% 42%;
  background-repeat: no-repeat;
  filter: saturate(.72) brightness(1.12);
  transition: background-position 10s ease;
}
.is-paper-hall.is-stats .sky::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,252,246,.42));
  opacity: 1;
  z-index: 0;
  transition: opacity 700ms ease;
}
.is-paper-hall.is-stats:has(.stats-page) .sky::after {
  opacity: 1;
}
.stats-page {
  --street-card-shadow: 0 4px 24px rgba(28,25,21,0.06), 0 1px 0 color-mix(in srgb,white 72%,transparent), inset 0 1px 0 rgba(255,255,255,0.82);
  position: relative;
  isolation: isolate;
  width: min(var(--street-hub-col, 24.375rem), 100%);
  margin: 0 auto;
  min-height: 100dvh;
  padding: max(var(--space-4), env(safe-area-inset-top)) var(--space-4) var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: transparent;
  color: var(--ink);
  animation: stats-page-reveal 700ms cubic-bezier(.22,1,.36,1) forwards;
}
.stats-page > * {
  position: relative;
  z-index: 1;
}
@keyframes stats-page-reveal {
  0% { opacity: 0; transform: scale(1.025); }
  100% { opacity: 1; transform: scale(1); }
}
.stats-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-2);
}
.stats-header h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  text-shadow: var(--temple-type-halo);
}
.stats-header-rule {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--temple-gold-leaf, var(--gold-deep));
  border-radius: 1px;
  flex-shrink: 0;
}
.stats-header-rule-l { margin-right: var(--space-1); }
.stats-header-rule-r { margin-left: var(--space-1); }
.stats-header-lede {
  margin: 0;
  color: var(--ink);
  font-size: var(--type-ui);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.85;
}
.stats-chapter {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(20px) scale(.985);
}
.stats-chapter:nth-child(1) {
  animation: stats-chapter-reveal 450ms cubic-bezier(.22,1,.36,1) 200ms forwards;
}
.stats-chapter:nth-child(2) {
  animation: stats-chapter-reveal 450ms cubic-bezier(.22,1,.36,1) 350ms forwards;
}
.stats-chapter:nth-child(3) {
  animation: stats-chapter-reveal 450ms cubic-bezier(.22,1,.36,1) 500ms forwards;
}
.stats-chapter:nth-child(4) {
  animation: stats-chapter-reveal 450ms cubic-bezier(.22,1,.36,1) 650ms forwards;
}
@keyframes stats-chapter-reveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.stats-chapter > h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 4.4vw, 1.42rem);
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: var(--space-2);
  border-bottom: 1.5px solid var(--temple-gold-hairline, var(--line));
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.stats-chapter-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--temple-gold-leaf, var(--gold));
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}
.stats-chapter-lede {
  margin: 0;
  color: var(--ink);
  font-size: var(--type-ui);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.75;
}
.stats-tiles-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.stats-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) var(--space-3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, color-mix(in srgb, var(--temple-marble, var(--surface)) 90%, white) 100%);
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  border-radius: var(--radius-m);
  box-shadow: var(--street-card-shadow, var(--shadow));
}
.stats-tile-ico {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold-deep);
  transition: transform 300ms cubic-bezier(.22,1,.36,1);
}
.stats-tile-ico .picto {
  width: 1.15rem;
  height: 1.15rem;
}
.stats-tile-value {
  margin: 0;
  padding-right: 1.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7vw, 2.5rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.stats-tile-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-min);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stats-langs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.stats-lang {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, color-mix(in srgb, var(--temple-marble, var(--surface)) 90%, white) 100%);
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  border-radius: var(--radius-m);
  box-shadow: var(--street-card-shadow, var(--shadow));
  opacity: 0;
}
.stats-lang:nth-child(1) { animation: stats-lang-reveal 200ms ease 300ms forwards; }
.stats-lang:nth-child(2) { animation: stats-lang-reveal 200ms ease 400ms forwards; }
.stats-lang:nth-child(3) { animation: stats-lang-reveal 200ms ease 500ms forwards; }
.stats-lang:nth-child(4) { animation: stats-lang-reveal 200ms ease 600ms forwards; }
@keyframes stats-lang-reveal {
  to { opacity: 1; }
}
.stats-lang-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0;
}
.stats-lang-dot {
  position: relative;
  width: 0.65rem;
  height: 0.65rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}
.stats-lang-dot-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 250ms cubic-bezier(.22,1,.36,1);
}
.stats-lang-name {
  flex: 1;
  color: var(--ink);
  font-size: var(--type-min);
  font-weight: 700;
}
.stats-lang-count {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--type-ui);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.stats-path-hero .stats-tile {
  padding-top: calc(var(--space-4) + var(--space-3));
}
.stats-path-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.stats-path-circle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-2);
}
.stats-path-svg {
  width: 6.5rem;
  height: 6.5rem;
  transform: rotate(-90deg);
}
.stats-path-bg {
  stroke: color-mix(in srgb, var(--parchment) 25%, var(--temple-ivory, var(--paper)));
}
.stats-path-ring {
  stroke: var(--temple-gold-leaf, var(--gold-deep));
  stroke-linecap: round;
  stroke-dasharray: 314.159;
  stroke-dashoffset: 314.159;
  transition: stroke-dashoffset 600ms cubic-bezier(.22,1,.36,1);
}
.stats-path-pct {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stats-path-pct-sym {
  font-size: 0.7em;
  opacity: 0.7;
}
.stats-path-spark {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--temple-gold-leaf, var(--gold));
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  transition: opacity 50ms ease, transform 500ms cubic-bezier(.22,1,.36,1);
}
.stats-world-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats-world-row {
  display: grid;
  grid-template-columns: 2.2rem 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, color-mix(in srgb, var(--temple-marble, var(--surface)) 90%, white) 100%);
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  border-radius: var(--radius-m);
  box-shadow: var(--street-card-shadow, var(--shadow));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 350ms cubic-bezier(.22,1,.36,1), transform 350ms cubic-bezier(.22,1,.36,1);
}
.stats-world-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stats-world-badge {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
}
.stats-world-rank {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--type-ui);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stats-world-medal {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ink);
  background: var(--temple-gold-leaf, var(--gold));
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  transform: scale(0);
  transition: transform 400ms cubic-bezier(.22,1,.36,1);
}
.stats-world-medal-gold {
  background: var(--temple-gold-leaf, var(--gold));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stats-world-medal-silver {
  background: color-mix(in srgb, var(--gold-deep) 70%, #ddd);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stats-world-medal-bronze {
  background: color-mix(in srgb, var(--gold-deep) 55%, #c88);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stats-world-sheen {
  position: absolute;
  inset: -4px;
  background: linear-gradient(90deg, transparent, rgba(255,252,245,0.6), transparent);
  transform: translateX(-100%);
  animation: sheen-sweep 600ms cubic-bezier(.22,1,.36,1) forwards;
  border-radius: 4px;
  pointer-events: none;
}
.stats-world-avatar .avatar-img,
.stats-world-avatar .avatar-fallback {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  object-fit: cover;
}
.stats-world-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-1);
}
.stats-world-name {
  overflow: hidden;
  color: var(--ink);
  font-size: var(--type-ui);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-world-place {
  color: var(--muted);
  font-size: var(--type-min);
  font-weight: 650;
}
.stats-world-score {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--type-ui);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.stats-world-score-picto {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold-deep);
}
.stats-world-expand {
  margin-top: var(--space-2);
}
.stats-world-expand details {
  border: none;
  background: transparent;
  box-shadow: none;
}
.stats-world-expand summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--type-ui);
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, color-mix(in srgb, var(--temple-marble, var(--surface)) 90%, white) 100%);
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  border-radius: var(--radius-m);
  box-shadow: var(--street-card-shadow, var(--shadow));
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 100ms ease;
}
.stats-world-expand summary::-webkit-details-marker { display: none; }
.stats-world-expand summary:active {
  transform: scale(.985);
}
.stats-world-chevron {
  font-size: 1.3em;
  transition: transform 200ms ease, translateX 100ms ease;
}
.stats-world-expand.is-expanded .stats-world-chevron {
  transform: translateX(4px);
}
.stats-world-list-full {
  display: none;
  margin-top: var(--space-2);
}
.stats-about {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, color-mix(in srgb, var(--temple-marble, var(--surface)) 90%, white) 100%);
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  border-radius: var(--radius-m);
  box-shadow: var(--street-card-shadow, var(--shadow));
  cursor: pointer;
  transition: transform 100ms ease;
  -webkit-tap-highlight-color: transparent;
}
.stats-about:active {
  transform: scale(.985);
}
.stats-about-icon {
  color: var(--gold-deep);
  flex-shrink: 0;
  position: relative;
}
.stats-about-icon .picto {
  width: 1.5rem;
  height: 1.5rem;
}
.stats-about-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--temple-gold-leaf, var(--gold));
  opacity: 0;
  transition: opacity 200ms ease;
}
.stats-about:hover .stats-about-icon::after {
  opacity: 0.15;
}
.stats-about-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stats-about-title {
  font-weight: 700;
  font-size: var(--type-ui);
}
.stats-about-desc {
  color: var(--muted);
  font-size: var(--type-min);
  font-weight: 500;
}
.stats-about-chevron {
  font-size: 1.3em;
  color: var(--muted);
  flex-shrink: 0;
}
.stats-empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-ui);
  line-height: 1.4;
  text-align: center;
  padding: var(--space-5) 0;
}
@media (prefers-reduced-motion: reduce) {
.stats-page {
    opacity: 1;
    transform: scale(1);
    transition: none;
  }
.stats-chapter,
.stats-lang,
.stats-world-row {
    opacity: 1;
    transform: none;
    transition: none;
  }
.stats-lang-dot-fill {
    transform: scale(1);
  }
.stats-path-ring {
    stroke-dashoffset: var(--stats-path-ring-final, 0);
  }
.stats-world-medal {
    transform: scale(1);
  }
.stats-path-spark {
    display: none;
  }
.stats-world-sheen {
    display: none;
  }
.is-paper-hall.is-stats .sky {
    background: none;
  }
.is-paper-hall.is-stats .sky::after {
    display: none;
  }
}
@media (min-width: 720px) {
.stats-tiles-trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.stats-tile-value {
    font-size: clamp(2rem, 4vw, 2.55rem);
  }
.stats-path-row {
    grid-template-columns: 1fr 1fr;
  }
.stats-world-list {
    gap: var(--space-3);
  }
.stats-header h1 {
    font-size: 1.65rem;
  }
}
@media (min-width: 1024px) {
.stats-page {
    --street-hub-col: 38rem;
  }
.stats-tiles-trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
