@font-face {
  font-family: Bits;
  src: url("./assets/fonts/urna-bits.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f6f5fa;
  --card: #fff;
  --ink: #2c2441;
  --muted: #655e76;
  --line: #ded9e6;
  --sub: #f5f1fc;
  --purple: #6342ae;
  --purple2: #7653c2;
  --pale: #ebe4f8;
  --inset: #f8f6fc;
  --shadow: #e7e3ed;
  --good: #24654a;
  --map-edge: #fff;
  --map-txt: #282038;
  --map-a: #e3d6f7;
  --map-b: #c9b8ed;
  --map-c: #a78bdc;
  --map-d: #896bc2;
  --map-e: #6543a2;
  --amber: #ffd184;
  --border: 1px solid var(--line);
  font: 16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
:root[data-theme=night] {
  color-scheme: dark;
  --bg: #1c1829;
  --card: #292335;
  --ink: #f6efff;
  --muted: #c9bfd3;
  --line: #494152;
  --sub: #352b45;
  --purple: #c7a8ff;
  --purple2: #a17ed9;
  --pale: #423152;
  --inset: #211c2e;
  --shadow: #181420;
  --good: #91ddb5;
  --map-edge: #322b41;
  --map-txt: #261f39;
  --map-a: #e2d6f4;
  --map-b: #cebbef;
  --map-c: #b398df;
  --map-d: #9272cd;
  --map-e: #6442a1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
button,select,input {
  font: inherit;
  color: inherit;
}
button,select,a {
  touch-action: manipulation;
}
button,select {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 3px solid #ae68e9;
  outline-offset: 3px;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:disabled {
  cursor: default;
  opacity: .55;
}
.shell {
  width: min(1312px,calc(100% - clamp(36px,8vw,128px)));
  margin: auto;
}
.top {
  background: var(--card);
  border-bottom: var(--border);
}
.top-inner {
  height: 71px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font: 400 27px/1 Bits,monospace;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  image-rendering: pixelated;
}
.brand>span>span {
  color: var(--purple);
}
.top nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: clamp(8px,3vw,53px);
}
nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 650;
  font-size: .87rem;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 6px;
}
nav a[aria-current=page] {
  background: var(--pale);
  color: var(--purple);
}
nav a:hover,.icon-btn:hover {
  background: var(--sub);
}
.top-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.edition,.kicker,.eyebrow,.tag,.small-note,.mini-label,.data-legend,.metric small,.clock,.stamp {
  font-family: ui-monospace,"Liberation Mono",monospace;
}
.edition {
  font-size: .77rem;
  letter-spacing: .035em;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
}
.edition i {
  display: inline-block;
  width: 12px;
  height: 9px;
  background: linear-gradient(#cd5550 0 25%,#ffcb65 25% 75%,#cd5550 75%);
  margin-right: 4px;
}
.edition b {
  color: var(--line);
}
.ico {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: var(--border);
  border-radius: 7px;
  background: var(--card);
}
.icon-btn .ico {
  width: 17px;
  height: 17px;
}
.skip,.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
  inset: 6px auto auto 8px;
  z-index: 20;
  background: var(--card);
  padding: 8px;
}
.loading {
  padding: 50px;
}
main {
  min-height: 65vh;
  padding-top: 24px;
}
main:focus {
  outline: none;
}
h1,h2,h3,p {
  margin: 0;
}
h1,.pixel,.metric strong,.chamber-total,.profile-initial {
  font-family: Bits,ui-monospace,monospace;
  font-weight: 400;
}
h2 {
  font-size: 1.36rem;
  line-height: 1.19;
  letter-spacing: -.042em;
}
h3 {
  font-size: 1.04rem;
  line-height: 1.28;
  letter-spacing: -.025em;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 222px;
  background: #291f3b url("./assets/panorama.png") center center/100% 100% no-repeat;
  border: 2px solid #34274c;
  border-radius: 9px 9px 5px 5px;
  color: #fffaf7;
  image-rendering: pixelated;
  box-shadow: 0 3px 0 var(--shadow);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 27px 32px 25px;
  width: 54%;
}
.eyebrow,.kicker,.mini-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .085em;
  font-weight: 750;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: #ffda9b;
}
.hero h1 {
  font-size: clamp(42px,4.1vw,67px);
  letter-spacing: -.045em;
  line-height: 1.12;
  margin: 9px 0 9px;
  color: #fff7e6;
  text-shadow: 3px 3px #42334f;
}
.hero-copy>p {
  color: #e4dae9;
  font-size: .97rem;
}
.hero-state {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 21px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  background: #43364f;
  color: #ffdfab;
  border: 1px solid #79657b;
  border-radius: 3px;
  font: 600 .72rem/1.35 ui-monospace,monospace;
  letter-spacing: .04em;
}
.dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  display: inline-block;
  flex: none;
}
.hero-tag.is-live {
  color: #bdf8c9;
}
.hero .link {
  color: #f4eafb;
  font-size: .79rem;
}
.hero-cast {
  position: absolute;
  z-index: 1;
  right: 9%;
  bottom: 3.4%;
  display: flex;
  gap: clamp(4px,1.35vw,24px);
  align-items: end;
}
.hero-cast img {
  height: clamp(49px,5.05vw,80px);
  width: auto;
  filter: drop-shadow(2px 3px 0 #352c4b88);
  image-rendering: pixelated;
  animation: idle 3.1s steps(1,end) infinite;
  animation-delay: var(--delay);
}
@keyframes idle {
  0%,40%,100% {
    transform: translateY(0);
  }
  42%,65% {
    transform: translateY(-2px);
  }
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: var(--border);
  border-bottom: 2px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  margin: 17px 0 24px;
  padding: 15px 0;
}
.metric {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 clamp(13px,2vw,30px);
  border-right: var(--border);
}
.metric:last-child {
  border: 0;
}
.ico-box {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: var(--purple);
  background: var(--pale);
  flex: none;
}
.ico-box .ico {
  width: 21px;
  height: 21px;
}
.metric:nth-child(2) .ico-box {
  background: #fff0d6;
  color: #936318;
}
.metric:nth-child(3) .ico-box {
  background: #e5f0fe;
  color: #407ab1;
}
.metric:nth-child(4) .ico-box {
  background: #e2f2e7;
  color: #477953;
}
.metric strong {
  font-size: 1.56rem;
  display: block;
  line-height: 1.13;
  color: var(--ink);
  letter-spacing: -.045em;
}
.metric small {
  color: var(--muted);
  font: 600 .76rem/1.25 system-ui,sans-serif;
}
.dashboard,.two-col {
  display: grid;
  grid-template-columns: minmax(0,1.53fr) minmax(0,1fr);
  gap: 19px;
  align-items: stretch;
}
.stack {
  display: grid;
  gap: 18px;
}
.card {
  background: var(--card);
  border: var(--border);
  border-bottom-width: 2px;
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
}
.card-pad {
  padding: 21px;
}
.card-head {
  padding: 19px 21px 13px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.card-head .ico-box {
  width: 33px;
  height: 33px;
  border-radius: 6px;
  margin-top: 2px;
}
.card-head .ico-box .ico {
  width: 19px;
  height: 19px;
}
.card-head .sub,.sub {
  font-size: .84rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.45;
}
.card-head .more,.card-head>.right {
  margin-left: auto;
}
.more,.link {
  font-weight: 650;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  text-decoration: none;
}
.more {
  width: 29px;
  height: 29px;
  border-radius: 5px;
  justify-content: center;
  background: var(--sub);
  border: var(--border);
}
.link:hover,.text-link:hover {
  text-decoration: underline;
}
.more:hover {
  background: var(--pale);
}
.link .ico,.more .ico {
  width: 14px;
  height: 14px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs button,.tabs a,.chip,.select {
  background: var(--card);
  border: var(--border);
  color: var(--muted);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: .79rem;
  font-weight: 650;
  line-height: 1.55;
  text-decoration: none;
}
.tabs button:hover,.tabs a:hover,.chip:hover,.choice:hover {
  border-color: var(--purple);
}
.tabs .active,.tabs [aria-pressed=true] {
  border-color: var(--purple);
  background: var(--pale);
  color: var(--purple);
}
.map-tabs {
  padding: 0 21px 13px;
}
.map-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  background-color: var(--inset);
  background-image: radial-gradient(var(--line) .8px,transparent 1px);
  background-size: 12px 12px;
  border-block: var(--border);
  min-height: 235px;
}
.map-stage svg.map {
  height: 300px;
  width: 100%;
  max-width: 100%;
  display: block;
  padding: 7px 8px;
}
.map-stage svg .land {
  stroke: var(--map-edge);
  stroke-width: .44;
  stroke-linejoin: round;
  cursor: pointer;
}
.map-stage svg .land:hover,.map-stage svg .land:focus-visible,.map-stage svg .land.selected {
  stroke: var(--ink);
  stroke-width: .96;
  outline: none;
  filter: brightness(.93);
}
.map-stage .prov-label {
  pointer-events: none;
  font: 700 2.5px/1 ui-monospace,monospace;
  text-anchor: middle;
  dominant-baseline: central;
}
.map-stage .inset-box {
  fill: var(--bg);
  fill-opacity: .62;
  stroke: var(--line);
  stroke-width: .34;
  stroke-dasharray: 1.3 1;
}
.map-stage .inset-label {
  font: 600 1.8px ui-monospace,monospace;
  fill: var(--muted);
  letter-spacing: .06px;
  pointer-events: none;
}
.map-foot {
  padding: 11px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.data-legend,.small-note {
  font-size: .71rem;
  color: var(--muted);
  line-height: 1.5;
}
.legend {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.legend i {
  height: 9px;
  width: 13px;
  display: inline-block;
  border-radius: 1px;
}
.map-caption {
  font-size: .76rem;
  color: var(--muted);
}
.source-line {
  padding: 10px 20px;
  font-size: .74rem;
  color: var(--muted);
  border-top: var(--border);
  line-height: 1.5;
}
.source-line a,.small-note a {
  color: var(--purple);
}
.rank-tabs {
  padding: 0 20px 8px;
}
.leader-list {
  padding: 0 20px;
}
.leader {
  display: grid;
  grid-template-columns: 21px 43px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: var(--border);
  min-height: 52px;
}
.leader:last-child {
  border: 0;
}
.position {
  font: 600 .74rem ui-monospace,monospace;
  color: var(--muted);
}
.avatar {
  width: 40px;
  height: 43px;
  object-fit: contain;
  image-rendering: pixelated;
  flex: none;
}
.avatar-fallback {
  display: inline-grid;
  place-items: center;
  background: var(--pale);
  color: var(--purple);
  border: 1px solid var(--line);
  font: 400 14px Bits;
  border-radius: 5px;
}
.leader-name {
  display: block;
  font-size: .87rem;
  font-weight: 725;
  line-height: 1.35;
}
.track {
  height: 6px;
  margin-top: 6px;
  background: var(--sub);
  border-radius: 1px;
  overflow: hidden;
}
.track i {
  display: block;
  background: var(--c);
  height: 100%;
  width: var(--w);
}
.rank-val {
  font: 400 1.07rem Bits,monospace;
  color: var(--ink);
  text-align: right;
}
.rank-val small {
  font: .65rem ui-monospace,monospace;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.rank-note {
  padding: 10px 20px 14px;
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.5;
}
.rank-card {
  display: flex;
  flex-direction: column;
}
.rank-card .rank-note {
  margin-top: auto;
}
.lower {
  margin-top: 19px;
}
.section-head,.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 5px 0 19px;
}
.page-head h1 {
  font: 400 clamp(30px,4vw,48px)/1.15 Bits,monospace;
  letter-spacing: -.045em;
  margin: 7px 0;
}
.page-head p {
  color: var(--muted);
  font-size: .97rem;
}
.kicker {
  color: var(--purple);
}
.inner-page {
  padding: 9px 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .66rem;
  line-height: 1.4;
  letter-spacing: .025em;
  font-weight: 700;
  padding: 4px 7px;
  background: var(--pale);
  color: var(--purple);
  border-radius: 3px;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--purple);
  border-radius: 5px;
  padding: 8px 13px;
  background: var(--purple);
  color: var(--card);
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
}
.btn.outline {
  background: var(--card);
  color: var(--purple);
  border-color: var(--line);
}
.card-body {
  padding: 3px 21px 19px;
}
.inline-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 13px;
}
.inline-controls label,.field-label {
  display: grid;
  gap: 4px;
  font-weight: 650;
  font-size: .79rem;
  color: var(--muted);
}
.select {
  background: var(--card);
  max-width: 100%;
  font-size: .85rem;
  min-height: 35px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
th,td {
  text-align: right;
  border-bottom: var(--border);
  padding: 9px 7px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
th {
  font-size: .73rem;
  color: var(--muted);
  font-weight: 700;
}
th:first-child,td:first-child {
  text-align: left;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--c);
  margin-right: 7px;
  border-radius: 1px;
}
.empty {
  padding: 18px;
  border: 1px dashed var(--line);
  background: var(--inset);
  border-radius: 6px;
  color: var(--muted);
  font-size: .87rem;
}
.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}
.timeline {
  display: grid;
  gap: 0;
}
.time-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 10px 1fr;
  gap: 12px;
  font-size: .86rem;
  align-items: baseline;
  padding: 8px 0;
}
.time-row time,.clock {
  font-size: .79rem;
  color: var(--muted);
  font-weight: 600;
}
.time-row i {
  width: 8px;
  height: 8px;
  border: 2px solid var(--purple2);
  background: var(--pale);
  z-index: 1;
}
.time-row:not(:last-child):after {
  content: "";
  position: absolute;
  left: 59px;
  top: 20px;
  bottom: -13px;
  border-left: 1px solid var(--line);
}
.time-row b {
  font-weight: 650;
}
.small-head {
  margin: 17px 0 7px;
}
.coal-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.seat-meter {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 13px;
  background: var(--sub);
  border-radius: 2px;
  margin: 14px 0 8px;
}
.seat-meter i {
  display: block;
}
.seat-meter:after {
  content: "";
  position: absolute;
  left: 50%;
  height: 21px;
  top: -4px;
  width: 2px;
  background: var(--ink);
}
.spaced {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.foot-actions {
  margin-top: 15px;
}
.chamber {
  width: 100%;
  height: auto;
  max-height: 265px;
  display: block;
  margin: 10px auto;
}
.chamber-total {
  font-size: 2.15rem;
  line-height: 1.1;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  padding: 8px;
  border: var(--border);
  border-radius: 5px;
  background: var(--card);
  font-size: .81rem;
  font-weight: 650;
}
.choice[aria-pressed=true] {
  background: var(--sub);
  border-color: var(--purple);
}
.check {
  padding: 0;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--muted);
  font-size: 10px;
}
.choice[aria-pressed=true] .check {
  background: var(--purple);
  color: var(--card);
  border-color: var(--purple);
}
.choice strong {
  margin-left: auto;
}
.choice .swatch {
  margin-right: 0;
}
.grid-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(185px,1fr));
  gap: 13px;
}
.profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  background: var(--card);
  color: var(--ink);
}
.profile-art {
  width: 100%;
  height: 112px;
  display: grid;
  place-items: end center;
  background-color: var(--pale);
  background-image: linear-gradient(transparent 96%,var(--line) 97%),linear-gradient(90deg,transparent 96%,var(--line) 97%);
  background-size: 13px 13px;
  border-bottom: var(--border);
}
.profile-art .avatar {
  width: 74px;
  height: 83px;
  margin-bottom: 6px;
  transition: transform .14s steps(2);
}
.profile:hover .avatar {
  transform: translateY(-5px);
}
.profile-txt {
  padding: 11px 13px 15px;
}
.profile h3 {
  margin-top: 5px;
}
.profile-txt p {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.info {
  background: var(--inset);
  border: var(--border);
  border-radius: 5px;
  padding: 10px;
  display: grid;
  gap: 3px;
}
.info small {
  color: var(--muted);
}
.info b {
  font-size: 1.14rem;
}
.chart-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .78rem;
}
.chart-legend .swatch {
  margin-right: 5px;
}
.svg-chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto 7px;
}
.divider {
  margin: 18px 0;
  border: 0;
  border-top: var(--border);
}
.page-grid {
  display: grid;
  gap: 18px;
}
.page-grid>.dashboard {
  align-items: start;
}
.source-list p,.dialog-inner p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.source-list p+p,.dialog-inner p+p {
  margin-top: 9px;
}
.source-list h3 {
  margin-top: 17px;
  margin-bottom: 5px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin: 27px auto 0;
  border-top: var(--border);
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: .77rem;
}
.brand.small {
  font-size: 18px;
  gap: 5px;
}
dialog {
  padding: 0;
  background: var(--card);
  color: var(--ink);
  border: var(--border);
  border-radius: 9px;
  box-shadow: 0 6px 0 #30254033;
  max-width: min(650px,94vw);
  width: 100%;
  max-height: 85vh;
}
dialog::backdrop {
  background: #231a35a6;
}
.dialog-inner {
  padding: 23px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}
.dialog-head h2 {
  margin-top: 3px;
}
.dialog-head .icon-btn {
  flex: none;
}
.embed {
  display: block;
  width: 100%;
  min-height: 440px;
  border: var(--border);
  border-radius: 5px;
  margin: 10px 0;
}
.dialog-inner .avatar {
  width: 95px;
  height: 105px;
}
.person-detail {
  display: flex;
  gap: 18px;
  align-items: center;
}
.turn-rows {
  display: grid;
  gap: 9px;
}
.turn-row {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) 62px;
  gap: 12px;
  align-items: center;
  font-size: .82rem;
}
.turn-row .track {
  margin: 0;
  height: 9px;
}
.error-box {
  margin: 25px 0;
}
.status-note {
  color: var(--muted);
  font-size: .8rem;
  margin: 8px 0;
}
.profiles-search {
  padding: 7px 10px;
  background: var(--card);
  border: var(--border);
  border-radius: 5px;
  max-width: 100%;
}
details {
  border-top: var(--border);
  padding: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--purple);
  font-size: .83rem;
}
details p {
  margin-top: 8px;
  font-size: .82rem;
  color: var(--muted);
}
@media (min-width:1450px) {
  .hero {
    min-height: 252px;
  }
  .hero-copy {
    padding: 34px 37px;
  }
  .map-stage svg.map {
    height: 336px;
  }
}
@media (max-width:1060px) {
  .top-inner {
    gap: 12px;
  }
  .top nav {
    margin-left: 6px;
  }
  nav a {
    padding: 9px;
    font-size: .83rem;
  }
  .edition {
    display: none;
  }
  .hero-copy {
    padding: 24px;
    width: 59%;
  }
  .hero {
    min-height: 204px;
  }
  .metric {
    gap: 8px;
  }
  .dashboard,.two-col {
    grid-template-columns: minmax(0,1.28fr) minmax(0,1fr);
    gap: 13px;
  }
  .hero-cast {
    right: 6%;
  }
  .card-head {
    padding: 16px 15px 12px;
  }
  .card-body {
    padding: 3px 15px 16px;
  }
  .leader-list {
    padding-inline: 15px;
  }
  .rank-tabs,.map-tabs {
    padding-left: 15px;
  }
  .leader {
    gap: 6px;
  }
  .map-caption {
    display: none;
  }
  .hero h1 {
    font-size: 46px;
  }
}
@media (max-width:760px) {
  .shell {
    width: calc(100% - 24px);
  }
  .top-inner {
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding-top: 7px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .top-tools {
    grid-column: 2;
    grid-row: 1;
  }
  .edition {
    display: block;
  }
  .top nav {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 5px 0 0;
    overflow-x: auto;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
  }
  nav a {
    padding: 5px 7px;
    font-size: .78rem;
    gap: 3px;
  }
  nav .ico {
    width: 14px;
    height: 14px;
  }
  main {
    padding-top: 13px;
  }
  .hero-copy {
    padding: 18px;
    width: 63%;
  }
  .hero h1 {
    font-size: clamp(32px,5.7vw,44px);
  }
  .hero-copy>p {
    font-size: .85rem;
  }
  .hero .eyebrow {
    font-size: .59rem;
    letter-spacing: .03em;
  }
  .hero {
    min-height: 177px;
    background-size: auto 100%;
    background-position: 68% center;
  }
  .hero-state {
    margin-top: 12px;
    gap: 9px;
  }
  .hero-cast {
    right: 2%;
    gap: 5px;
  }
  .hero-cast img {
    height: 45px;
  }
  .metrics {
    padding: 11px 0;
    margin: 12px 0 15px;
  }
  .metric {
    padding: 0 8px;
    gap: 6px;
  }
  .metric .ico-box {
    width: 26px;
    height: 26px;
  }
  .metric .ico {
    width: 17px;
    height: 17px;
  }
  .metric strong {
    font-size: 1.15rem;
  }
  .metric small {
    font-size: .65rem;
  }
  .dashboard,.two-col {
    grid-template-columns: 1fr;
  }
  .map-stage svg.map {
    height: 290px;
  }
  .lower {
    margin-top: 13px;
  }
  .page-head {
    align-items: start;
    flex-wrap: wrap;
  }
  .inner-page {
    padding-top: 5px;
  }
  .card-head .sub {
    font-size: .8rem;
  }
  .grid-profiles {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .footer {
    margin-top: 20px;
  }
}
@media (max-width:490px) {
  .hero {
    background-size: auto 100%;
    background-position: 73% center;
    min-height: 228px;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#261d37 0%,#261d37ea 37%,#261d3760 75%,transparent);
    z-index: -1;
  }
  .hero-copy {
    width: 93%;
    padding: 16px 14px;
  }
  .hero-cast {
    bottom: 6px;
    right: 10px;
    gap: 9px;
  }
  .hero-cast img {
    height: 48px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-state {
    margin-top: 10px;
  }
  .hero-copy>p {
    max-width: 290px;
  }
  .metrics {
    grid-template-columns: repeat(2,1fr);
    row-gap: 12px;
  }
  .metric {
    padding: 0 13px;
    gap: 10px;
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric strong {
    font-size: 1.35rem;
  }
  .metric small {
    font-size: .72rem;
  }
  .grid-profiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .top nav a {
    font-size: .72rem;
    padding: 5px 4px;
    gap: 3px;
  }
  .top nav .ico {
    width: 12px;
    height: 12px;
  }
  .map-stage svg.map {
    height: 263px;
  }
  .tabs button {
    padding: 5px 8px;
  }
  .footer {
    justify-content: start;
  }
  .footer>.link {
    margin-left: auto;
  }
  .hero .link {
    font-size: .75rem;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.atlas-table {
  max-height: 385px;
  overflow: auto;
}
.atlas-table thead {
  position: sticky;
  top: 0;
  background: var(--card);
}

.poll-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 15px;
  margin-bottom: 18px;
  background: var(--sub);
  border: var(--border);
  border-radius: 7px;
}
.poll-alert b {
  color: var(--purple);
  font-size: .9rem;
}
.leader:hover .avatar {
  animation: idle 1.3s steps(1,end) infinite;
}
