@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB;
}
:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --panel: #14161a;
  --panel2: #1b1d22;
  --line: #292c34;
  --text: #f3f3f0;
  --muted: #a3a7b3;
  --accent: #f18b42;
  --yellow: #ffd34d;
  --sidebar: 96px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button {
  border: 0;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -80px;
  left: 110px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 15px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #101114;
  border-right: 1px solid var(--line);
  z-index: 30;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 19px 10px 16px;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.sidebar-logo img {
  display: block;
  filter: drop-shadow(0 5px 4px #0006);
}
.sidebar-logo > span {
  font-size: 8px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--muted);
}
.sidebar-rule {
  width: 36px;
  height: 1px;
  background: var(--line);
  margin: 24px 0 17px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.sidebar nav a,
.sidebar-bottom > a:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 65px;
  padding: 12px 3px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #9297a4;
  font-size: 10px;
}
.sidebar svg {
  width: 22px;
  height: 22px;
}
.sidebar nav a:hover {
  background: #1d1f25;
  color: var(--text);
}
.sidebar nav a[aria-current='page'] {
  background: #302219;
  color: #f6a66d;
  border-color: #6c452a;
  box-shadow:
    0 3px 0 #050608,
    inset 0 1px #ffffff05;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 15px;
  width: 100%;
}
.sidebar-bottom > a:first-child[aria-current='page'] {
  color: var(--accent);
}
.back-chedex {
  width: 37px;
  height: 37px;
  border: 1px solid #3a3d45;
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: relative;
  font-weight: 800;
  font-size: 21px;
  background: #22242a;
  color: var(--accent);
  transform: rotate(-5deg);
  box-shadow: 0 4px 0 #060708;
}
.back-chedex span {
  position: absolute;
  top: -5px;
  right: -6px;
  background: var(--bg);
  font-size: 12px;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  text-align: center;
}
.topbar {
  height: 76px;
  margin-left: var(--sidebar);
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0e0f12;
  position: sticky;
  top: 0;
  z-index: 20;
}
.workspace-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.2px;
  align-items: baseline;
}
.brand > span {
  color: var(--accent);
}
.brand > b {
  font-weight: 500;
  font-size: 15px;
  color: #c7c9d2;
  margin-left: 8px;
  letter-spacing: -0.5px;
}
.topbar-divider {
  height: 23px;
  width: 1px;
  background: var(--line);
}
#workspace-title {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.workspace-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.public-status {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.small-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  border-radius: 50%;
}
#session-control {
  display: flex;
  align-items: center;
  gap: 15px;
}
.login-button {
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(#f5f5f1, #e2e2df);
  color: #191b20;
  font-weight: 700;
  font-size: 11px;
  border: 1px solid #fff4;
  border-radius: 9px;
  padding: 11px 15px;
  box-shadow:
    0 4px 0 #777980,
    0 8px 15px #0002;
  white-space: nowrap;
}
.login-button:hover {
  color: #7b411a;
  background: #fff;
}
.login-button > span:first-child {
  font-size: 20px;
  line-height: 1;
}
.login-button > span:last-child {
  color: #ba6024;
  font-size: 16px;
  margin-left: 5px;
}
.session-user {
  font-size: 12px;
  color: var(--accent);
}
.logout-button {
  font-size: 11px;
  background: #24262d;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--muted);
}
main {
  margin-left: var(--sidebar);
  max-width: 1900px;
  padding: 0 30px 20px;
  outline: none;
}
.view {
  min-height: 75vh;
  animation: appear 0.2s ease-out;
}
.intro {
  padding: 29px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.eyebrow {
  font:
    400 9px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 1.4px;
  color: #9297a4;
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.16;
  font-weight: 700;
  margin: 0 0 10px;
}
h1 span {
  font-style: normal;
}
h1 .title-dot {
  color: var(--accent);
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.edition {
  display: grid;
  gap: 5px;
  text-align: right;
  font-size: 9px;
  color: var(--muted);
}
.edition > span:first-child {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1.3px;
}
.edition time {
  font-size: 12px;
  color: var(--text);
}
.edition-note {
  font-size: 9px;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 16px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 3px 0 #05060855;
}
.map-panel {
  padding: 19px 0 0;
  overflow: hidden;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 20px 17px;
}
.panel-top .eyebrow {
  font-size: 8px;
  margin-bottom: 5px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}
.text-link {
  font-size: 10px;
  color: var(--muted);
}
.text-link span {
  color: var(--accent);
  margin-left: 7px;
}
.map-stage {
  position: relative;
  overflow: hidden;
  background: #101318;
  border-top: 1px solid #272b34;
  border-bottom: 1px solid #272b34;
}
.map-container {
  height: 330px;
  width: 100%;
  position: relative;
}
.map-container canvas {
  outline: none;
}
.map-overlay {
  pointer-events: none;
  position: absolute;
  bottom: 18px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #c4c7d0;
  border: 1px solid #434751;
  background: #15171de8;
  border-radius: 5px;
  padding: 8px 11px;
  backdrop-filter: blur(6px);
}
.map-indicator {
  height: 5px;
  width: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.map-watermark {
  position: absolute;
  top: 16px;
  left: 17px;
  color: #878e9b;
  pointer-events: none;
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 2px;
}
.map-caption {
  font-size: 8px;
  color: var(--muted);
  padding: 11px 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.6;
}
.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
}
.maplibregl-ctrl-group {
  background: #20232b;
  border: 1px solid #3c414c;
  box-shadow: 0 3px 10px #0003 !important;
  border-radius: 7px;
}
.maplibregl-ctrl-group button {
  width: 30px;
  height: 30px;
}
.maplibregl-ctrl-group button + button {
  border-color: #3c414c;
}
.maplibregl-ctrl-icon {
  filter: invert(1);
}
.maplibregl-ctrl-attrib {
  background: #11151cdd !important;
  color: #a8adba !important;
  font-size: 8px !important;
}
.maplibregl-ctrl-attrib a {
  color: inherit;
}
.maplibregl-ctrl-attrib-button {
  filter: invert(0.7);
}
.map-reset {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #222630e8;
  border: 1px solid #464b59;
  color: #d0d3db;
  padding: 8px 11px;
  font-size: 10px;
  border-radius: 6px;
}
.vitals {
  padding: 21px 20px 15px;
  display: flex;
  flex-direction: column;
}
.vitals > .eyebrow {
  margin-bottom: 5px;
  font-size: 9px;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.metric > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.metric-number {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1.8px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.metric-label {
  font-size: 10px;
  color: var(--muted);
}
.metric-icon {
  font-size: 18px;
  color: #707582;
}
.accent {
  color: var(--accent);
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 3px;
}
.fine {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.vitals > .fine {
  font-size: 9px;
  line-height: 1.7;
  margin: 17px 0 8px;
}
.refresh-button {
  font-size: 10px;
  color: var(--accent);
  background: transparent;
  padding: 8px 0;
  text-align: left;
  margin-top: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 27px 0 19px;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 5px;
}
.section-heading h2 {
  font-size: 22px;
}
.segmented {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 4px;
  background: #121419;
}
.segmented button {
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  padding: 7px 12px;
  border-radius: 5px;
}
.segmented button[aria-pressed='true'] {
  background: #31241c;
  color: #f6a46b;
  box-shadow: 0 2px 0 #050608;
}
.feed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.feed-grid.single-column {
  grid-template-columns: 1fr;
}
.news-column,
.broadcast-column {
  min-width: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.column-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.column-title h3 {
  font-size: 12px;
  font-weight: 600;
}
.column-title > a {
  font-size: 9px;
  color: var(--muted);
}
.tag {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.news-item {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 17px;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news-order {
  color: #686e7b;
  font:
    10px ui-monospace,
    monospace;
  line-height: 2;
}
.news-item h4 {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
  margin: 0 0 8px;
}
.news-item > .arrow {
  font-size: 14px;
  color: var(--muted);
}
.item-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  color: #9297a4;
}
.related-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--accent);
  margin-top: 8px;
}
.broadcast-card {
  display: block;
  border: 1px solid #30333e;
  background: #1b1d23;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.broadcast-card:hover {
  border-color: #91603d;
  background: #202025;
}
.broadcast-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 8px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font:
    8px ui-monospace,
    monospace;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.broadcast-card h4 {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.6;
  margin: 11px 0;
}
.broadcast-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #30333e;
  padding-top: 11px;
  margin-top: 13px;
  font-size: 9px;
  color: var(--muted);
}
.card-bottom b {
  font-weight: 500;
  color: var(--accent);
}
.source-note {
  font-size: 8px;
  line-height: 1.8;
  color: #8e93a0;
  margin: 13px 0 0;
}
.empty {
  padding: 23px;
  border: 1px dashed #424652;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.empty button {
  display: block;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  padding: 12px 0 0;
}
.discovery {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 22px 0 12px;
  padding: 21px 25px;
  background: linear-gradient(110deg, #211b17, #151619);
  border: 1px solid #493327;
  border-radius: 9px;
}
.discovery-symbol {
  color: var(--accent);
  font-size: 32px;
}
.discovery .eyebrow {
  font-size: 8px;
  color: var(--accent);
  margin-bottom: 6px;
}
.discovery h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.discovery p:last-child {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 7px 0 0;
}
.circle-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #6b4930;
  color: var(--accent);
  border-radius: 50%;
  width: 31px;
  height: 31px;
}
.page-intro {
  padding: 30px 0 25px;
}
.page-intro h1 {
  font-size: 30px;
}
.world-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  align-items: center;
}
.world-toolbar label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: var(--muted);
}
input,
select {
  background: #1b1d23;
  border: 1px solid #353946;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 11px;
  max-width: 100%;
}
input::placeholder {
  color: #7f8593;
}
.world-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(270px, 1fr);
  gap: 17px;
  margin-bottom: 20px;
  align-items: start;
}
.world-map-panel {
  overflow: hidden;
}
.world-map-panel .map-container {
  height: 470px;
}
.world-map-panel .map-stage {
  border-top: 0;
}
.world-map-panel .map-caption {
  padding: 10px 17px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 15px;
  max-height: 170px;
  overflow-y: auto;
  scrollbar-color: #414654 #181a20;
  scrollbar-width: thin;
}
.country-button {
  background: #20232b;
  border: 1px solid #343845;
  border-radius: 6px;
  font-size: 10px;
  color: #adb2c0;
  padding: 7px 10px;
}
.country-button[aria-current='true'] {
  color: #f5a166;
  background: #37271d;
  border-color: #876041;
}
.country-profile {
  padding: 23px;
  max-height: 690px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #414654 #181a20;
}
.country-profile h2 {
  font-size: 29px;
  margin: 7px 0 13px;
}
.country-code {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 2px;
  color: var(--accent);
}
.country-profile p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.country-profile h3 {
  font-size: 11px;
  margin: 23px 0 11px;
  color: #d3d6de;
}
.profile-links {
  display: grid;
  gap: 7px;
}
.profile-links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 11px;
  line-height: 1.7;
}
.profile-links a > span {
  color: var(--accent);
  white-space: nowrap;
}
.country-profile .broadcast-card {
  padding: 12px;
}
.country-profile .broadcast-card h4 {
  font-size: 11px;
}
.country-profile .broadcast-meta {
  font-size: 7px;
}
.notice,
.auth-notice {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid #5d4430;
  border-radius: 8px;
  background: #241d16;
  color: #e8d4b7;
  margin: 5px 0 23px;
}
.notice > span {
  font-size: 23px;
  color: var(--accent);
}
.notice strong {
  font-weight: 500;
  font-size: 12px;
}
.notice p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 6px 0 0;
}
.auth-notice {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.7;
}
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.insight-card {
  padding: 23px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.card-number {
  font:
    8px ui-monospace,
    monospace;
  color: var(--muted);
  letter-spacing: 1.2px;
}
.insight-card h2 {
  font-size: 20px;
  line-height: 1.4;
}
.insight-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.insight-card > a {
  display: block;
  color: var(--accent);
  font-size: 10px;
  margin-top: 20px;
}
.status-label {
  font-size: 9px;
  line-height: 1.6;
  color: #d6b58e;
  background: #30251b;
  padding: 6px 9px;
  border-radius: 5px;
  display: inline-block;
}
.mini-chart {
  height: 95px;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 15px 5px;
  margin: 12px 0 17px;
  border-bottom: 1px solid var(--line);
}
.mini-chart i {
  width: 17px;
  background: #f18b4244;
  height: 20%;
  border-radius: 2px 2px 0 0;
}
.mini-chart i:nth-child(2) {
  height: 30%;
}
.mini-chart i:nth-child(3) {
  height: 28%;
}
.mini-chart i:nth-child(4) {
  height: 48%;
}
.mini-chart i:nth-child(5) {
  height: 55%;
}
.mini-chart i:nth-child(6) {
  height: 74%;
}
.mini-chart i:nth-child(7) {
  height: 94%;
  background: var(--accent);
}
.trend-illustration,
.activity-illustration {
  height: 124px;
  font-size: 85px;
  line-height: 124px;
  color: var(--accent);
}
.activity-illustration {
  color: #b7bdca;
}
.player-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}
.player-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
}
.player-avatar {
  width: 43px;
  height: 43px;
  border: 1px solid #65432c;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  background: #302219;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 3px 0 #050608;
}
.player-card strong {
  font-size: 12px;
  font-weight: 500;
}
.player-card p {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 0;
}
.player-card > span:last-child {
  margin-left: auto;
  color: var(--accent);
}
.index-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.index-tabs button {
  background: #1b1d23;
  border: 1px solid #353946;
  color: var(--muted);
  border-radius: 7px;
  padding: 11px 21px;
  font-size: 11px;
}
.index-tabs button[aria-pressed='true'] {
  background: #f0f0ed;
  color: #1a1b1f;
  border-color: #eee;
  box-shadow: 0 4px 0 #74767e;
  font-weight: 600;
}
.methodology {
  padding: 30px;
  margin: 0 0 23px;
}
.methodology h2 {
  font-size: 28px;
}
.methodology .lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 750px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.method-grid h3 {
  font-size: 11px;
  color: var(--accent);
}
.method-grid p,
.methodology > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.methodology a {
  color: var(--accent);
}
.methodology .formula {
  padding: 17px;
  background: #0e1014;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  line-height: 1.8;
}
.source-table {
  padding: 8px 22px;
  overflow-x: auto;
  margin-bottom: 22px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  min-width: 600px;
}
caption {
  padding: 15px 0;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
}
td {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
td,
th {
  padding: 15px 15px 15px 0;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td {
  border-bottom: 0;
}
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}
.text-panel {
  padding: 26px;
}
.text-panel p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.roadmap {
  padding-left: 19px;
  color: var(--accent);
}
.roadmap li {
  padding: 0 0 14px 5px;
}
.roadmap strong {
  font-size: 11px;
  color: var(--text);
  font-weight: 500;
}
.roadmap span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
  line-height: 1.7;
}
.player-profile-card {
  padding: 30px;
  margin-bottom: 30px;
}
.player-profile-card h1 {
  margin-top: 20px;
}
.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.profile-summary div {
  padding: 18px;
  background: #0d0f13;
  border: 1px solid #242832;
  border-radius: 7px;
}
.profile-summary span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 9px;
}
.profile-summary strong {
  font-weight: 500;
  font-size: 16px;
}
.profile-section-title {
  font-size: 19px;
  margin-top: 26px;
}
.back-link {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin: 25px 0;
}
.noscript {
  padding: 20px;
  margin-left: var(--sidebar);
  color: var(--accent);
}
footer {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 0 var(--sidebar);
  padding: 20px 30px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #8e93a0;
}
.footer-brand {
  font-size: 11px;
  letter-spacing: 0.6px;
  gap: 5px;
  color: var(--text);
}
footer p {
  margin-right: auto;
}
footer > span {
  font-size: 8px;
}
.map-loading {
  color: var(--muted);
  font-size: 12px;
  padding: 25px;
}
@keyframes appear {
  from {
    opacity: 0.6;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1550px) {
  main {
    padding: 0 36px 24px;
  }
  .map-container {
    height: 390px;
  }
  .overview {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .metric {
    padding: 29px 0;
  }
  .world-map-panel .map-container {
    height: 550px;
  }
  .country-profile {
    max-height: 770px;
  }
  .topbar {
    padding: 0 36px;
  }
  .feed-grid {
    gap: 23px;
  }
  .news-item h4,
  .broadcast-card h4 {
    font-size: 14px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 82px;
  }
  .topbar {
    padding: 0 22px;
  }
  .workspace-heading {
    gap: 17px;
  }
  .public-status {
    display: none;
  }
  main {
    padding: 0 22px 20px;
  }
  .overview {
    grid-template-columns: minmax(0, 1fr) 205px;
  }
  .vitals {
    padding: 20px 16px 15px;
  }
  .metric-number {
    font-size: 35px;
  }
  .metric-label {
    font-size: 9px;
  }
  .metric > div {
    gap: 9px;
  }
  .map-container {
    height: 310px;
  }
  .metric {
    padding: 20px 0;
  }
  .workspace-actions {
    gap: 12px;
  }
  .world-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
  }
  .world-toolbar {
    flex-wrap: wrap;
  }
  .world-toolbar label {
    font-size: 9px;
  }
  .insight-card {
    padding: 19px;
  }
  .player-card {
    padding: 18px;
    gap: 10px;
  }
  .player-avatar {
    width: 37px;
    height: 37px;
    font-size: 13px;
  }
  .player-card strong {
    font-size: 11px;
  }
  .country-profile {
    padding: 20px;
  }
  .feed-grid {
    gap: 16px;
  }
  footer {
    padding: 20px 22px;
  }
}
@media (max-width: 900px) {
  .world-layout {
    grid-template-columns: 1fr;
  }
  .country-profile {
    max-height: none;
  }
  .world-map-panel .map-container {
    height: 420px;
  }
  .world-toolbar label {
    flex: 1;
    justify-content: space-between;
  }
  .world-toolbar input,
  .world-toolbar select {
    max-width: 240px;
  }
  .three-cards {
    gap: 12px;
  }
  .insight-card h2 {
    font-size: 17px;
  }
  .insight-card p {
    font-size: 10px;
  }
  .status-label {
    font-size: 8px;
  }
  .player-grid {
    grid-template-columns: 1fr;
  }
  .player-card strong {
    font-size: 13px;
  }
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .map-caption {
    font-size: 7px;
  }
  .edition-note {
    display: none;
  }
  .topbar .brand {
    font-size: 23px;
  }
  .topbar .brand > b {
    font-size: 13px;
  }
  .login-button {
    padding: 9px 12px;
    gap: 8px;
  }
  .method-grid {
    gap: 16px;
  }
  footer {
    gap: 14px;
  }
  footer > span {
    display: none;
  }
}
@media (max-width: 640px) {
  :root {
    --sidebar: 66px;
  }
  .sidebar {
    padding: 15px 5px 12px;
  }
  .sidebar-logo img {
    width: 36px;
    height: 36px;
  }
  .sidebar-logo > span {
    font-size: 6px;
    letter-spacing: 2px;
  }
  .sidebar-rule {
    margin: 18px 0 13px;
    width: 30px;
  }
  .sidebar nav {
    gap: 9px;
  }
  .sidebar nav a,
  .sidebar-bottom > a:first-child {
    font-size: 8px;
    min-height: 57px;
    gap: 7px;
    border-radius: 9px;
    padding: 10px 2px;
  }
  .sidebar svg {
    width: 20px;
    height: 20px;
  }
  .sidebar-bottom {
    gap: 12px;
  }
  .back-chedex {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }
  .topbar {
    height: 64px;
    padding: 0 13px;
    gap: 10px;
  }
  .topbar .brand {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .topbar .brand > b {
    font-size: 12px;
    margin-left: 6px;
  }
  .workspace-heading {
    gap: 0;
  }
  .topbar-divider,
  #workspace-title {
    display: none;
  }
  .login-button {
    font-size: 9px;
    padding: 8px 10px;
    gap: 6px;
    border-radius: 7px;
    box-shadow: 0 3px 0 #74767e;
  }
  .login-button > span:first-child {
    font-size: 17px;
  }
  .login-button > span:last-child {
    display: none;
  }
  #session-control {
    gap: 8px;
  }
  .session-user {
    font-size: 9px;
  }
  .logout-button {
    font-size: 9px;
    padding: 7px 8px;
  }
  main {
    padding: 0 13px 15px;
  }
  .intro {
    padding: 23px 0 19px;
    display: block;
  }
  .intro .eyebrow {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  h1,
  .page-intro h1 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .subtitle {
    font-size: 10px;
  }
  .edition {
    display: none;
  }
  .overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel-top {
    padding: 0 13px 14px;
    align-items: end;
  }
  .panel-top .eyebrow {
    font-size: 7px;
  }
  .panel-top h2 {
    font-size: 16px;
  }
  .text-link {
    font-size: 8px;
  }
  .map-panel {
    padding-top: 15px;
  }
  .map-container {
    height: 260px;
  }
  .map-caption {
    padding: 9px 12px;
    display: block;
    font-size: 7px;
  }
  .map-caption > span {
    display: block;
  }
  .map-caption > span + span {
    margin-top: 5px;
  }
  .map-overlay {
    font-size: 7px;
    padding: 7px 8px;
    left: 10px;
    bottom: 17px;
  }
  .map-watermark {
    font-size: 6px;
    letter-spacing: 1px;
    left: 11px;
    top: 13px;
  }
  .maplibregl-ctrl-group button {
    width: 27px;
    height: 27px;
  }
  .vitals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 14px 10px;
    gap: 4px 10px;
  }
  .vitals > .eyebrow {
    grid-column: 1/-1;
    font-size: 7px;
    margin-bottom: 4px;
  }
  .metric {
    padding: 4px 0 12px;
  }
  .metric > div {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .metric-number {
    font-size: 32px;
  }
  .metric-label {
    font-size: 8px;
  }
  .metric-icon {
    display: none;
  }
  .vitals .fine {
    grid-column: 1/3;
    font-size: 7px;
    line-height: 1.7;
    margin: 7px 0;
  }
  .refresh-button {
    font-size: 8px;
    align-self: center;
    text-align: right;
  }
  .section-heading {
    margin: 23px 0 13px;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .segmented {
    padding: 3px;
    gap: 1px;
  }
  .segmented button {
    font-size: 8px;
    padding: 6px 8px;
  }
  .news-column,
  .broadcast-column {
    padding: 13px;
  }
  .column-title h3 {
    font-size: 11px;
  }
  .column-title > a {
    font-size: 8px;
  }
  .news-item {
    grid-template-columns: 20px minmax(0, 1fr) 13px;
    padding: 15px 0;
    gap: 6px;
  }
  .news-item h4 {
    font-size: 11px;
    line-height: 1.7;
  }
  .news-order {
    font-size: 9px;
  }
  .item-meta {
    font-size: 8px;
    gap: 6px;
  }
  .broadcast-card {
    padding: 12px;
  }
  .broadcast-meta {
    font-size: 7px;
  }
  .broadcast-card h4 {
    font-size: 11px;
  }
  .broadcast-card p {
    font-size: 9px;
  }
  .card-bottom {
    font-size: 8px;
  }
  .source-note {
    font-size: 7px;
  }
  .related-links {
    font-size: 8px;
  }
  .discovery {
    padding: 16px 13px;
    gap: 12px;
    margin-top: 16px;
  }
  .discovery-symbol {
    display: none;
  }
  .discovery h3 {
    font-size: 14px;
    line-height: 1.5;
  }
  .discovery .eyebrow {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .discovery p:last-child {
    font-size: 9px;
  }
  .circle-arrow {
    width: 25px;
    height: 25px;
  }
  .page-intro {
    padding: 23px 0 20px;
  }
  .page-intro .eyebrow {
    font-size: 7px;
  }
  .world-toolbar {
    display: grid;
    gap: 10px;
  }
  .world-toolbar label {
    font-size: 9px;
    gap: 8px;
  }
  .world-toolbar input,
  .world-toolbar select {
    width: 68%;
    font-size: 9px;
    padding: 10px 8px;
  }
  .world-map-panel .map-container {
    height: 360px;
  }
  .world-map-panel .map-caption {
    font-size: 7px;
  }
  .country-list {
    padding: 12px;
    gap: 6px;
    max-height: 150px;
  }
  .country-button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .map-reset {
    font-size: 8px;
    padding: 7px 9px;
    top: 13px;
    left: 10px;
  }
  .country-profile {
    padding: 19px;
  }
  .country-profile h2 {
    font-size: 27px;
  }
  .country-profile p {
    font-size: 10px;
  }
  .country-profile h3 {
    font-size: 10px;
  }
  .profile-links a {
    font-size: 10px;
  }
  .three-cards,
  .player-grid,
  .two-cards {
    grid-template-columns: 1fr;
  }
  .insight-card {
    padding: 19px;
  }
  .insight-card h2 {
    font-size: 19px;
    margin-top: 18px;
  }
  .insight-card p {
    font-size: 11px;
  }
  .mini-chart,
  .trend-illustration,
  .activity-illustration {
    display: none;
  }
  .card-number {
    font-size: 8px;
  }
  .status-label {
    font-size: 8px;
  }
  .notice {
    padding: 15px 13px;
    gap: 10px;
  }
  .notice strong {
    font-size: 11px;
  }
  .notice p {
    font-size: 10px;
  }
  .notice > span {
    font-size: 20px;
  }
  .section-heading > .fine {
    font-size: 8px;
    max-width: 110px;
    text-align: right;
  }
  .index-tabs {
    gap: 7px;
  }
  .index-tabs button {
    font-size: 9px;
    padding: 10px 13px;
  }
  .methodology {
    padding: 20px;
  }
  .methodology h2 {
    font-size: 23px;
  }
  .methodology .lead {
    font-size: 12px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 23px;
    padding-top: 20px;
  }
  .method-grid p,
  .methodology > p {
    font-size: 11px;
  }
  .methodology .formula {
    padding: 13px;
    font-size: 11px;
  }
  .text-panel {
    padding: 20px;
  }
  .text-panel h2 {
    font-size: 19px;
  }
  .text-panel p {
    font-size: 11px;
  }
  .player-profile-card {
    padding: 19px;
  }
  .profile-summary {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .profile-summary div {
    padding: 14px;
  }
  .profile-summary span {
    margin-bottom: 7px;
  }
  .profile-summary strong {
    font-size: 14px;
  }
  footer {
    flex-wrap: wrap;
    padding: 17px 13px;
    font-size: 8px;
    gap: 10px;
  }
  .footer-brand {
    font-size: 9px;
  }
  footer p {
    display: none;
  }
  footer > a:nth-of-type(2) {
    margin-left: auto;
  }
  .skip {
    left: 77px;
  }
  .auth-notice {
    padding: 14px;
    font-size: 10px;
  }
  .empty {
    padding: 18px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 640px) {
  .login-button .login-text {
    font-size: 0;
  }
  .login-button .login-text::after {
    content: 'Lichess';
    font-size: 9px;
  }
  .login-button > span:last-child {
    display: none;
  }
}
.view {
  scroll-margin-top: 100px;
}
