/* World status page (R21): the lantern of every World, its history, its donors, its weddings. */
.st-banner {
  padding: 46px 0 30px;
  text-align: center;
  color: var(--parchment-light);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(242, 184, 75, 0.32), transparent 60%),
    linear-gradient(180deg, var(--night-800), var(--night-900));
}
.st-banner h1 {
  font-size: clamp(30px, 5vw, 46px);
  color: var(--amber-glow);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.st-banner p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--parchment-dark);
}
.st-main {
  padding: 26px 0 60px;
  display: grid;
  gap: 18px;
  min-height: 50vh;
}
.st-note {
  color: var(--parchment-deep);
  font-size: 14px;
  margin: 0;
}
.st-muted {
  color: var(--cocoa-mute);
}
.st-race h2,
.st-now h2 {
  font-size: 24px;
}
.st-race {
  display: grid;
  gap: 8px;
}
.st-world {
  display: grid;
  grid-template-columns: 30px 40px minmax(140px, 1fr) minmax(120px, 2fr) 110px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  font: inherit;
  color: inherit;
  text-align: left;
}
.st-world.on {
  border-color: var(--amber);
  background: var(--parchment-light);
}
.st-place {
  font: 800 22px var(--title);
  color: var(--amber);
  text-align: center;
}
.st-world img {
  width: 36px;
}
.st-name,
.st-pct {
  display: grid;
}
.st-name small,
.st-pct small {
  font-size: 13px;
  color: var(--cocoa-soft);
}
.st-pct {
  text-align: right;
}
.st-pct b {
  font: 800 20px var(--title);
}
.st-bar {
  height: 14px;
  border-radius: 999px;
  background: var(--parchment-deep);
  overflow: hidden;
}
.st-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.st-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--forest-light);
}
.st-dot.maintenance {
  background: var(--hp);
}
.st-dot.full {
  background: var(--amber);
}
.st-cols {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  align-items: stretch;
}
.st-cols + .st-cols {
  grid-template-columns: 3fr 2fr;
}
.st-now {
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
}
.st-big {
  width: 92px;
  filter: drop-shadow(0 0 18px rgba(242, 184, 75, 0.55));
}
.st-value {
  font: 800 46px var(--title);
  margin: 6px 0 0;
}
.st-tier {
  margin: 0;
  color: var(--cocoa-soft);
}
.st-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.st-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.st-tabs button {
  border: 2px solid var(--parchment-deep);
  background: var(--parchment-light);
  color: var(--cocoa);
  font: 800 13px var(--font);
  padding: 4px 12px;
  border-radius: 999px;
}
.st-tabs button[aria-selected='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff8e6;
}
.st-chart {
  width: 100%;
  height: auto;
  display: block;
}
.st-grid {
  stroke: var(--parchment-deep);
  stroke-dasharray: 4 4;
}
.st-axis {
  font: 700 11px var(--font);
  fill: var(--cocoa-mute);
}
.st-line {
  fill: none;
  stroke: #bd863b;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.st-donors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.st-donors li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
}
.st-donors li.top1 {
  background: #f7e0ad;
}
.st-donors li.top2 {
  background: #ece4d2;
}
.st-donors li.top3 {
  background: #f1d8c4;
}
.st-rank {
  font: 800 18px var(--title);
  color: var(--amber);
  text-align: center;
}
.st-who {
  display: grid;
}
.st-who small {
  font-size: 12px;
  color: var(--cocoa-mute);
}
.st-amount {
  font-weight: 800;
  color: var(--cocoa-soft);
}
.st-wed ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.st-wed a {
  display: grid;
  text-decoration: none;
}
.st-wed small {
  color: var(--cocoa-mute);
}
.st-link {
  font-weight: 800;
  color: var(--forest-dark);
}
@media (max-width: 860px) {
  .st-cols,
  .st-cols + .st-cols {
    grid-template-columns: 1fr;
  }
  .st-world {
    grid-template-columns: 26px 32px 1fr 90px;
  }
  .st-bar {
    grid-column: 1 / -1;
  }
}
/* The lantern celebration (R22). */
.st-party {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f7e0ad;
  color: #7a531c;
  font: 800 12px var(--font);
  font-style: normal;
}
.st-celebrate {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f7e0ad;
  color: #7a531c;
  font-weight: 800;
}
.st-streak {
  margin: 8px 0 0;
  color: var(--cocoa-soft);
  font-weight: 700;
}
