@font-face {
  font-family: Electrolize;
  src: url('../assets/fonts/Electrolize-Regular.ttf?v=6a2b9e30e91507b1') format('truetype');
  font-display: swap;
  font-weight: 400;
}
:root {
  font-size: 16px;
  font-synthesis: weight;

  --police: #d64c55;
  --other: #4c82b6;
  --footer-height: 50px;
  --panel-width: 380px;
  --mobile-panel-width: 90vw;
  --header-logo-width: 52px;
  --mobile-header-logo-width: 40px;

  --footer-logo-width: 36px;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
canvas:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #9b8aac;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2,
strong {
  font-weight: 700;
}
h1,
h2 {
  line-height: 1.3;
}
.police {
  color: var(--police);
}
.other {
  color: var(--other);
}

/* La scène occupe toute la fenêtre, sous les éléments d’interface. */
.visual-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.visual-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.scene-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body.is-exploring .scene-wash {
  display: none;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  display: none;
  grid-template-columns: var(--header-logo-width) minmax(0, 1fr);
  align-items: center;

  pointer-events: none;
}
.has-page-title .site-header {
  display: grid;
}
.brand {
  justify-self: start;
  pointer-events: auto;
}
.brand-logo {
  display: block;
  width: var(--header-logo-width);
  height: auto;
  object-fit: contain;
}
.infographic-title {
  letter-spacing: -0.7px;
  text-wrap: balance;
}
.footer-brand {
  flex-shrink: 0;
}
.footer-brand .brand-logo {
  width: var(--footer-logo-width);
}
.has-page-title .footer-brand {
  display: none;
}
main {
  position: relative;
  pointer-events: none;
}
body[data-page='comparison'],
body[data-page='country'] {
  overflow: hidden;
}

/* Récit au défilement. */
.scrolly {
  position: relative;
  z-index: 2;
}
.story-step {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 130px 5vw;
  pointer-events: none;
}
.step-card {
  pointer-events: auto;
  transition:
    opacity 0.35s,
    border-color 0.35s;
}

.step-card p {
  font-size: var(--font-description-size);
}

.text-action {
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  margin-top: 23px;

  line-height: 1.5;
}

body[data-page='scrolly'] #explorer {
  display: none;
}
body[data-page='comparison'] #story,
body[data-page='country'] #story {
  display: none;
}

/* Panneau latéral superposé : son ouverture ne modifie jamais la scène. */
.explorer {
  position: fixed;
  inset: 0 0 0 auto;
  height: 100dvh;
  width: min(var(--panel-width), 100vw);
  z-index: 12;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.3s ease;
}
.explorer.is-open {
  transform: translate3d(0, 0, 0);
}
.explorer-surface {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;

  border-left: 1px solid var(--border);

  visibility: hidden;
  transition: visibility 0s 0.3s;
}
.is-open .explorer-surface {
  visibility: visible;
  transition-delay: 0s;
}
.explorer-toggle {
  position: absolute;

  place-items: center;

  pointer-events: auto;
  background: var(--surface);
  border: 1px solid var(--border);

  border-radius: 8px 0 0 8px;
  box-shadow: -3px 3px 8px #00000012;
}

.is-open .explorer-toggle {
  visibility: hidden;
  pointer-events: none;
}
.panel-close {
  position: absolute;

  z-index: 1;

  line-height: 1;
}
.panel-close:hover {
  color: var(--accent);
}
.explorer-panel {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;

  scroll-padding: 48px 16px 16px;
}
.explorer-heading {
  max-width: 1100px;
  margin: 0 auto 18px;
}

#comparison-panel,
#city-panel {
  max-width: 1100px;
  margin: 0 auto;
}
/* Compteurs simples : valeur et libellé. */
.world-totals {
  display: flex;

  font-size: var(--font-label-size);
}
.world-totals strong {
  display: block;

  font-variant-numeric: tabular-nums;

  line-height: 1.1;
  margin-bottom: 6px;
}
.city-count {
  display: flex;
}
.city-count strong {
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -1px;
}

.country-list {
  display: grid;
  grid-template-columns: 1fr;
}
.country-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px;
  align-items: center;

  position: relative;
  text-align: left;

  border-bottom: 1px solid #e8eae5;
}
.country-choice strong {
  text-align: right;
}

.country-chart-legend {
  display: flex;
  flex-wrap: wrap;

  line-height: 1.5;
}
.country-chart-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.author-marker {
  flex: none;
}
.country-author-graph {
  grid-column: 1/-1;
  display: flex;
  min-width: 0;

  overflow: hidden;
}
.country-author-segment {
  display: block;
  height: 100%;
  flex: none;
}
.actor-counts {
  grid-column: 1;
  display: flex;
  flex-direction: column;

  border-top: 1px solid #e7e9e4;
  border-bottom: 1px solid #e7e9e4;
}
.actor-counts > span {
  align-items: center;
}
.actor-counts strong {
  min-width: 24px;
}
.fill-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.violence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--muted);
}
.violence-table caption {
  text-align: left;
}
.violence-table th {
  font-weight: 400;

  padding-bottom: 10px;
  text-align: right;
}
.violence-table th:first-child {
  text-align: left;
}
.violence-table td {
  border-top: 1px solid #e8ebe7;
  text-align: right;
}
.violence-table td:nth-child(2) {
  font-size: 11px;
}
.violence-table td:first-child {
  text-align: left;
}

.violence-table .category-authors .country-author-graph {
  width: 100%;
}
.violence-table th + th,
.violence-table td + td {
  padding-left: 10px;
}

/* Navigation à gauche et crédits italiques à droite, sur la même ligne. */
.page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding: 8px 26px max(8px, env(safe-area-inset-bottom));
  background: transparent;
  color: #6c7882;
  pointer-events: none;
}
.page-footer a,
.page-footer button {
  pointer-events: auto;
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-branding {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
.footer-credits,
.footer-actions {
  background: #ffffffa6;
  backdrop-filter: blur(3px);
  border-radius: 4px;
  padding: 2px 8px;
}
.footer-actions {
  display: flex;
  align-items: center;

  flex: none;
}
.footer-actions a {
  display: flex;
  align-items: center;
  gap: 7px;

  white-space: nowrap;
}
.page-footer a:hover {
  color: #4c6172;
}
.page-footer svg {
  width: 17px;
  height: 17px;
}
.footer-credits {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
  font-size: 11px;
  font-style: italic;
  font-synthesis: weight style;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}
.story-progress {
  display: flex;
  justify-content: center;

  width: max-content;
  margin: 0 auto 4px;

  backdrop-filter: blur(3px);
  border-radius: 20px;
}

.story-progress button:after {
  content: '';
  display: block;

  transition:
    background 0.3s,
    transform 0.3s;
}

body[data-page='comparison'] #story-progress,
body[data-page='country'] #story-progress {
  display: none;
}
.scene-hint {
  position: fixed;
  bottom: calc(var(--footer-height) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;

  line-height: 1.6;
  max-width: calc(100% - 36px);
  width: max-content;
  text-align: center;

  pointer-events: none;
}

.loading {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: radial-gradient(circle at top, #fff 0%, #f3f3f3 45%, #e7e7e7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.loading.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-box {
  width: min(620px, calc(100% - 32px));
  padding: 32px 28px 26px;
  background: #fffffff0;
  border-radius: 16px;
  box-shadow: 0 14px 40px #0000002e;
  text-align: center;
  backdrop-filter: blur(6px);
}
.loading-title {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}
.loading-subtitle {
  margin: 0 0 18px;
  font-size: var(--font-description-size);
  line-height: 1.6;
  text-wrap: balance;
  color: #444;
}
.loading-bar {
  height: 4px;
  margin-bottom: 10px;
  background: #f3d4da;
  border-radius: 999px;
  overflow: hidden;
}
.loading-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #b20a2c, #e40046);
  border-radius: inherit;
  transition: width 0.4s ease-out;
}
.loading-subtext {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  color: #666;
}
.loading-retry {
  min-height: 36px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  background: #b20a2c;
  color: #fff;
  font-size: 13px;
}
.loading.error .loading-subtext {
  color: #b20a2c;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1050px) and (min-width: 760px) {
  .story-step {
    padding-left: 3vw;
  }
  .step-card {
    padding: 24px;
  }

  .site-header {
    gap: 20px;
  }
  .infographic-title {
    font-size: 21px;
  }
}
@media (max-width: 759px) {
  .loading-box {
    padding: 24px 18px 18px;
  }
  .loading-title {
    font-size: 22px;
  }

  .site-header {
    grid-template-columns: var(--mobile-header-logo-width) minmax(0, 1fr);
  }
  .header-brand .brand-logo {
    width: var(--mobile-header-logo-width);
  }
  .infographic-title {
    line-height: 1.25;
    letter-spacing: -0.3px;
  }

  .story-step {
    display: block;

    min-height: 100svh;
  }
  .step-card {
    width: 100%;
    padding: 22px;
    background: #fffefbf5;
  }

  .step-card p {
    font-size: var(--font-description-size);
  }
  #news-city .step-card,
  #ville-type .step-card {
    margin-left: 1.5em;
    width: calc(100% - 3em);
  }

  .step-card .text-action {
    font-size: 13px;
  }

  .explorer-heading h2 {
    line-height: 1.4;
  }

  .world-totals {
    font-size: var(--font-label-size);
  }

  .city-count > span {
    font-size: var(--font-label-size);
  }
  .country-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .actor-counts {
    margin-top: 12px;
    padding: 12px 0;
    gap: 7px;
  }
  .actor-counts > span {
    font-size: var(--font-label-size);
  }
  .actor-counts strong {
    font-size: 13px;
  }
  .violence-table {
    margin-top: 22px;
    font-size: 13px;
  }
  .violence-table caption,
  .violence-table th {
    font-size: 11px;
  }
  .page-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-line {
    gap: 8px;
  }
  .footer-actions {
    gap: 8px;
  }
  .footer-actions a {
    gap: 4px;
    min-height: 32px;
  }
  .page-footer svg {
    width: 12px;
    height: 12px;
  }
  .footer-branding {
    gap: 6px;
  }
  .footer-brand .brand-logo {
    width: 28px;
  }
  .footer-actions {
    padding: 0;
  }
  .footer-credits {
    padding: 2px 6px;
    font-size: 7.5px;
    letter-spacing: -0.2px;
  }
}
@media (max-width: 759px), (max-height: 520px), (orientation: portrait) {
  .explorer {
    width: min(var(--mobile-panel-width), 100vw);
  }
}
@media (max-width: 380px) {
  .page-footer {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-actions {
    gap: 6px;
  }
  .footer-actions a {
    font-size: 8.5px;
  }
  .footer-actions svg {
    display: none;
  }
  .footer-credits {
    font-size: 6.5px;
    letter-spacing: -0.3px;
  }
  .footer-brand .brand-logo {
    width: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Présentation du récit et des panneaux. */
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #19313c;
  background: #f8fafb;
  --font-label-size: 12px;
  --font-description-size: 16px;
  --muted: #576c78;
  --border: #dbe3e7;
  --accent: #bb2843;
}
h1,
h2 {
  letter-spacing: -0.035em;
}
.visual-stage {
  background: #f8fafb;
}
.site-header {
  padding: 26px 36px;
  gap: 20px;
  background: linear-gradient(#f8fafbf5 45%, #f8fafb00);
}
.infographic-title {
  font-size: 24px;
  max-width: 790px;
  font-weight: 600;
  line-height: 1.25;
}
.scene-wash {
  background: linear-gradient(90deg, #f8fafbfc 0%, #f8fafbe8 23%, #f8fafb88 38%, #f8fafb00 61%);
}
.story-step {
  padding-left: 6vw;
}
.step-card {
  width: 355px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#news-city .step-card,
#ville-type .step-card {
  margin-left: 0;
}
.step-card h2 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  color: #19313c;
}
.step-card p {
  color: #4c6472;
  line-height: 1.65;
  margin-top: 20px;
}
.story-step:not(.is-active) .step-card {
  opacity: 0.35;
}
.step-card .police,
.step-card .other {
  font-size: 1.05em;
  font-weight: 700;
}
.text-action {
  display: inline-flex;

  font-size: 14px;
  font-weight: 600;
}
.text-action:hover {
  background: #2b4e61;
}
.explorer-surface {
  box-shadow: -16px 0 48px #1c39480b;

  backdrop-filter: blur(18px);
}
.explorer-panel {
  padding: 32px 28px 76px;
}

.explorer-heading h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
}
.explorer-heading p {
  font-size: 14px;

  line-height: 1.5;
}
.panel-close {
  font-size: 25px;
}
.panel-close:hover {
  background: #e5edf1;
}
.world-totals {
  border-top: 0;
  border-bottom: 1px solid #dbe3e7;
  gap: 40px;
  margin: 0 0 12px;
  padding: 0 0 24px;
  color: #576c78;
}
.world-totals strong {
  font-family: Electrolize, Arial, sans-serif;

  font-weight: 400;
}

.author-marker {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.country-list {
  margin-top: 4px;
}
.country-choice {
  padding: 14px 8px;
  margin: 0 -8px;
  gap: 9px;
  font-size: 13px;
  color: #2d4b5a;
  border-bottom-color: #e8eef1;
  border-radius: 4px;
  transition: background 0.15s;
}
.country-choice:hover,
.country-choice:focus-visible {
  color: #19313c;
  background: #f1f5f7;
}
.country-choice strong {
  font-family: Electrolize, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #19313c;
}
.country-choice:hover strong {
  color: #19313c;
}
.country-author-graph {
  height: 5px;
  border-radius: 3px;
}
.country-author-segment + .country-author-segment {
  border-left: 1px solid #ffffffb3;
}
.comparison-tools {
  margin: 4px 0 0;
}
.comparison-sort {
  display: flex;
}
.comparison-sort button {
  color: #627b88;
  border-bottom: 2px solid transparent;
}
.comparison-sort button[aria-pressed='true'] {
  color: #19313c;
  border-bottom-color: #19313c;
}
.city-count {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  padding: 0 0 20px;
  margin: 0;
}
.city-count strong {
  font-family: Electrolize, Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: #19313c;
}
.city-count > span {
  font-size: 12px;
  color: #576c78;
}
.actor-counts {
  padding: 12px 0;
  gap: 0;
  border-color: #dbe3e7;
}
.actor-counts > span {
  font-size: 12px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 28px;
  gap: 10px;
  padding: 9px 0;
  color: #47616f;
}
.actor-counts .fill-dot {
  grid-column: 1;
  grid-row: 1;
}
.actor-counts strong {
  grid-column: 3;
  grid-row: 1;
  text-align: right;
  font-size: 14px;
  color: #19313c;
  font-family: Electrolize, Arial, sans-serif;
  font-weight: 400;
}
.actor-counts > span > span {
  grid-column: 2;
  grid-row: 1;
}
.violence-table {
  margin-top: 26px;
}
.violence-table caption {
  text-transform: none;
  font-size: 15px;
  color: #19313c;
  letter-spacing: -0.02em;
  font-weight: 600;
  padding-bottom: 18px;
}
.violence-table th {
  color: #627b88;
  font-size: 11px;
}
.violence-table td:first-child {
  color: #47616f;
  font-size: 12px;
  line-height: 1.4;
}
.violence-table td:nth-child(2) {
  font:
    13px Electrolize,
    Arial,
    sans-serif;
  color: #19313c;
}
.violence-table td {
  padding: 14px 0;
  border-top-color: #e8eef1;
}
.violence-table .category-authors {
  width: 74px;
  min-width: 74px;
}
.violence-table .category-authors .country-author-graph {
  height: 5px;
}
.footer-actions,
.footer-credits {
  background: #ffffffc9;
  border: 1px solid #e3eaed;
  border-radius: 5px;
  backdrop-filter: blur(8px);
}

.footer-actions a {
  color: #47616f;
}
.footer-credits {
  color: #627b88;
  padding: 5px 8px;
}
.story-progress {
  gap: 8px;
  background: #ffffffcf;
  border: 1px solid #e3eaed;
  padding: 2px 12px;
}
.story-progress button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
}
.story-progress button:after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7d2d8;
}
.story-progress button[aria-current='step']:after {
  transform: scale(1.35);
}
.scene-hint {
  color: #526976;
  background: #ffffffc9;
  font-size: 11px;
  border: 1px solid #e3eaed;
  padding: 5px 9px;
  border-radius: 4px;
}
:focus-visible {
  outline-color: #356fa4;
}
@media (max-width: 1050px) and (min-width: 760px) {
  .step-card {
    width: 305px;
  }
  .step-card h2 {
    font-size: 23px;
  }
}
@media (max-width: 759px) {
  :root {
    --font-label-size: 11px;
    --font-description-size: 15px;
  }
  .site-header {
    padding: 18px 18px;
    gap: 13px;
  }
  .infographic-title {
    font-size: 13px;
    font-weight: 600;
  }
  .scene-wash {
    background: linear-gradient(0deg, #f8fafbf5 8%, #f8fafb80 43%, #f8fafb00 65%);
  }
  .story-step {
    padding: 43svh 16px calc(var(--footer-height) + 40px);
  }
  .step-card,
  #news-city .step-card,
  #ville-type .step-card {
    width: 100%;
    margin-left: 0;
    padding: 22px 20px;
    background: linear-gradient(145deg, #ffffffdc, #f5f9fcd6);
    border: 1px solid #ffffffbd;
    border-radius: 14px;
    box-shadow: 0 8px 28px #19313c0b;
    backdrop-filter: blur(10px);
  }
  .step-card h2 {
    font-size: 20px;
    line-height: 1.25;
  }
  .step-card p {
    margin-top: 16px;
    line-height: 1.6;
  }
  .explorer-panel {
    padding: 26px 22px 76px;
  }

  .explorer-heading p {
    font-size: 13px;
  }
  .world-totals strong {
    font-size: 27px;
  }
  .country-choice {
    font-size: 12px;
  }
  .country-choice strong {
    font-size: 12px;
  }
  .city-count strong {
    font-size: 30px;
  }
  .actor-counts > span,
  .violence-table td:first-child {
    font-size: 11px;
  }
  .violence-table .category-authors {
    width: 62px;
    min-width: 62px;
  }

  .scene-hint {
    max-width: calc(100% - 32px);
    font-size: 10px;
  }
}

/* Boutons et statistiques : palette et géométrie de Carte_bilan_2025_rsf. */
:root {
  --rsf-surface: #fff;
  --rsf-control: #fff;
  --rsf-hover: #f0f1f3;
  --rsf-text: #16161b;
  --rsf-muted: #5c6068;
  --rsf-border: #d8dbe0;
  --rsf-track: #eceef1;
  --rsf-accent: #b60038;
  --rsf-active-bg: #f9e6ed;
  --rsf-active-text: #8d002c;
}
.comparison-sort button,
.footer-actions a,
.explorer-toggle {
  min-height: 32px;
  border: 1px solid var(--rsf-border);
  border-radius: 6px;
  background: var(--rsf-control);
  color: var(--rsf-text);
  font-family: Electrolize, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  padding: 7px 10px;
  box-shadow: none;
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s;
}
.comparison-sort button:hover,
.footer-actions a:hover,
.explorer-toggle:hover {
  background: var(--rsf-hover);
  color: var(--rsf-text);
}
.comparison-sort button[aria-pressed='true'] {
  background: var(--rsf-active-bg);
  border-color: var(--rsf-accent);
  color: var(--rsf-active-text);
}
.text-action {
  background: #b60038;
  border: 1px solid #b60038;
  border-radius: 6px;
  color: white;
  font:
    900 0.78rem Electrolize,
    sans-serif;
  padding: 12px 16px;
}
.text-action:hover,
.text-action:focus-visible {
  background: #e40046;
  border-color: #e40046;
  color: #fff;
}
.footer-actions {
  border: 0;
  padding: 0;
  background: transparent;
  gap: 8px;
}
.footer-actions a {
  font-size: 0.69rem;
  min-height: 32px;
  padding: 6px 9px;
  background: #fffffff0;
}
.footer-actions a:hover {
  border-color: #b60038;
  color: #8d002c;
  background: #f9e6ed;
}
.comparison-sort {
  gap: 6px;
  margin: 9px 0 14px;
}
.comparison-sort button {
  flex: 1;
  font-size: 0.69rem;
  padding: 7px 6px;
}
.explorer-surface {
  background: #fff;
  border-left-color: #d8dbe0;
}
.explorer-panel {
  padding-top: 24px;
}
.explorer-heading {
  margin-bottom: 20px;
}
.explorer-heading h2 {
  padding-right: 84px;
  color: #16161b;
}
.explorer-heading p {
  color: #5c6068;
}
.panel-close {
  top: 19px;
  right: 20px;
  width: auto;
  min-width: 68px;
  height: 30px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d8dbe0;
  border-radius: 6px;
  background: #fff;
  color: #16161b;
  font:
    900 0.72rem Electrolize,
    sans-serif;
}
.panel-close:hover,
.panel-close:focus-visible {
  border-color: #d8dbe0;
  background: #f0f1f3;
  color: #16161b;
}
.explorer-toggle {
  top: 98px;
  left: -126px;
  width: 126px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border-right: 1px solid #d8dbe0;
}
.explorer-toggle svg {
  width: 16px;
  height: 16px;
}
.world-totals {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-color: #d8dbe0;
}
.world-totals strong {
  color: #16161b;
  font-size: 27px;
}
.country-chart-legend {
  padding: 0 0 15px;
  font-size: 10px;
  color: #5c6068;
  gap: 7px 12px;
}
.statistics-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0;
}
.country-choice.chart-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.8fr) 24px;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font:
    11px Electrolize,
    sans-serif;
  color: #16161b;
}
.chart-bar-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline;
  text-decoration-color: #00000040;
  text-underline-offset: 2px;
}
.country-choice.chart-bar-row:hover {
  background: transparent;
}
.country-choice.chart-bar-row:hover .chart-bar-label {
  color: #b60038;
  text-decoration-color: currentColor;
}
.chart-bar {
  display: block;
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #eceef1;
  overflow: hidden;
}
.chart-bar .country-author-graph {
  display: flex;
  height: 100%;
  grid-column: auto;
  border-radius: 999px;
}
.chart-bar .country-author-segment + .country-author-segment {
  border-left: 0;
}
.country-choice .chart-bar-value {
  font-size: 11px;
  font-weight: 600;
  color: #16161b;
  opacity: 0.5;
  text-align: right;
}
.country-choice:hover .chart-bar-value {
  color: #16161b;
}
.story-progress button[aria-current='step'] {
  border-radius: 50%;
  background: #f9e6ed;
}
.story-progress button[aria-current='step']:after {
  background: #b60038;
}
.story-progress button:focus-visible,
button:focus-visible,
a:focus-visible {
  outline-color: #b60038;
}

@media (max-width: 759px) {
  .explorer-panel {
    padding-top: 24px;
  }
  .panel-close {
    top: 19px;
    right: 18px;
    min-width: 62px;
  }
  .explorer-heading h2 {
    font-size: 20px;
    padding-right: 70px;
  }
  .country-chart-legend {
    font-size: 9px;
  }
  .country-choice.chart-bar-row {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.8fr) 22px;
    font-size: 10px;
  }
  .footer-actions a {
    font-size: 9px;
    padding: 5px 7px;
  }
}
