:root {
  --navy-950: #041525;
  --navy-900: #071f38;
  --navy-800: #0b3154;
  --navy-700: #124b74;
  --un-blue: #009edb;
  --un-blue-dark: #007caf;
  --sky-100: #dff2fa;
  --sky-50: #edf8fc;
  --surface: #ffffff;
  --surface-alt: #f2f6fa;
  --surface-deep: #e6eef4;
  --ink: #10273b;
  --ink-soft: #4d6578;
  --line: #c8d5df;
  --line-strong: #91a6b7;
  --amber: #f2a900;
  --danger: #b74736;
  --shadow-sm: 0 8px 24px rgba(4, 21, 37, 0.09);
  --shadow-lg: 0 24px 70px rgba(4, 21, 37, 0.2);
  --page-pad: clamp(20px, 4vw, 56px);
  --content: 1200px;
  --reading: 820px;
  --serif-ja: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display-ja: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display-en: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--serif-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums proportional-nums;
}

body,
button,
input,
select,
textarea {
  font-family: var(--serif-ja);
}

button,
input,
select,
textarea {
  font-size: 16px;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  object-fit: cover;
}

a {
  color: var(--un-blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy-800);
}

p,
h1,
h2,
h3,
h4,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.35em;
}

[hidden] {
  display: none !important;
}

:lang(ja) span.wb {
  all: unset;
  display: inline-block;
  max-width: 100%;
}

.jw {
  max-width: 100%;
}

.skip {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: #ffffff;
  border: 2px solid var(--un-blue);
  transform: translateY(-180%);
}

.skip:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* Header and primary navigation */
.site-head {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(150px, 0.58fr) minmax(420px, 1.55fr) minmax(310px, 0.9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: 130px;
  padding: 22px max(var(--page-pad), calc((100vw - var(--content)) / 2));
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(0, 158, 219, 0.12), transparent 38%),
    var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-head::after {
  content: "";
  position: absolute;
  right: max(var(--page-pad), calc((100vw - var(--content)) / 2));
  bottom: -1px;
  width: clamp(80px, 12vw, 180px);
  height: 3px;
  background: var(--un-blue);
}

.site-head a {
  color: inherit;
  text-decoration: none;
}

.site-head__brand {
  align-self: start;
  padding-top: 4px;
  white-space: nowrap;
}

.site-head__jc,
.site-head__series,
.site-head__en {
  font-family: var(--display-en);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-head__jc {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.site-head__series {
  margin-left: 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

.site-head__title {
  min-width: 0;
}

.site-head__en {
  margin-bottom: 2px;
  color: #6fd4f7;
  font-size: 14px;
  font-weight: 700;
}

.site-head__name {
  margin-bottom: 2px;
  font-family: var(--display-ja);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.035em;
}

.site-head__tagline {
  margin-bottom: 0;
  color: #c4d5e2;
  font-size: 14px;
}

.site-head__meta {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.65;
}

.site-head__meta > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 4px 0;
}

.site-head__meta dt {
  color: #88a3b7;
}

.site-head__meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.tabs {
  position: sticky;
  z-index: 70;
  top: 0;
  display: flex;
  justify-content: center;
  min-height: 54px;
  padding: 0 max(16px, calc((100vw - var(--content)) / 2));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 7px 22px rgba(4, 21, 37, 0.06);
  scrollbar-width: thin;
}

.tabs a {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 94px;
  min-height: 54px;
  padding: 8px 18px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

.tabs a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: transparent;
}

.tabs a:hover,
.tabs a[aria-current="page"] {
  color: var(--navy-900);
}

.tabs a[aria-current="page"]::after {
  background: var(--un-blue);
}

main {
  min-height: 60vh;
  background: var(--surface);
}

.view {
  min-width: 0;
}

.view:not(.view--map) {
  width: min(100%, calc(var(--content) + 2 * var(--page-pad)));
  margin-inline: auto;
  padding: clamp(42px, 6vw, 84px) var(--page-pad) 100px;
}

.load-error,
.map-error {
  max-width: var(--content);
  margin: 24px auto;
  padding: 16px 20px;
  color: #7a241c;
  background: #fff1ee;
  border-left: 4px solid var(--danger);
}

/* Editorial headings */
.section-title,
.section-subtitle,
.detail__name,
.detail__h,
.topic__title,
.topic__h,
.issue__title,
.shared__h,
.highlight__title,
.event__title,
.prose h3 {
  font-family: var(--display-ja);
  font-weight: 700;
  letter-spacing: 0.025em;
}

.section-title {
  position: relative;
  margin-bottom: 32px;
  padding-top: 21px;
  color: var(--navy-950);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.3;
}

.section-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--amber);
}

.section-subtitle {
  margin: 0 0 24px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.4;
}

.section-lead {
  max-width: var(--reading);
  color: var(--ink-soft);
  font-size: 17px;
}

.muted {
  color: var(--ink-soft);
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(70vh, 680px);
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy-900);
}

.hero__img,
.hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.hero__img img {
  object-fit: cover;
  object-position: 50% 54%;
  scale: 1.012;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(3, 16, 30, 0.9) 0%, rgba(3, 20, 37, 0.62) 42%, rgba(3, 20, 37, 0.14) 72%),
    linear-gradient(0deg, rgba(3, 16, 30, 0.82) 0%, transparent 52%);
}

.hero::after {
  inset: auto auto 0 0;
  width: 8px;
  height: 54%;
  background: var(--un-blue);
}

.hero__text {
  position: absolute;
  z-index: 2;
  bottom: 108px;
  left: max(var(--page-pad), calc((100vw - var(--content)) / 2));
  width: min(860px, calc(100% - 2 * var(--page-pad)));
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero__kicker {
  margin-bottom: 18px;
  color: #7bdcff;
  font-family: var(--display-en);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.18em;
}

.hero__lead {
  margin-bottom: 0;
  font-family: var(--display-ja);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.035em;
}

.hero__credit {
  position: absolute;
  z-index: 3;
  right: max(18px, calc((100vw - var(--content)) / 2));
  bottom: 76px;
  max-width: min(650px, calc(100% - 36px));
  margin: 0;
  padding: 5px 8px;
  color: #d7e4ed;
  background: rgba(3, 16, 30, 0.7);
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.hero__credit a {
  color: #ffffff;
}

body.has-panel .hero__credit {
  right: calc(min(450px, 36vw) + 18px);
  max-width: min(560px, calc(100% - 480px));
}

/* Status and statistics */
.status-block,
.highlights-block,
.map-block,
.topics-block,
.compare-entry,
.schedule-entry,
.coverage-entry {
  padding-right: max(var(--page-pad), calc((100vw - var(--content)) / 2));
  padding-left: max(var(--page-pad), calc((100vw - var(--content)) / 2));
}

.status-block {
  display: grid;
  padding-top: 0;
  padding-bottom: 56px;
  background: var(--surface-alt);
}

.status-block .section-title {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.3vw, 44px);
}

.stats {
  position: relative;
  z-index: 4;
  order: -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -58px 0 0;
  padding: 0;
  background: #ffffff;
  border-top: 5px solid var(--un-blue);
  box-shadow: var(--shadow-lg);
}

.stat {
  min-width: 0;
  min-height: 154px;
  padding: 24px clamp(18px, 2vw, 30px) 20px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat__label {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.stat__num {
  margin: 8px 0 0;
  color: var(--navy-950);
  font-family: var(--display-en);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 0.92;
}

.stat__num small {
  margin-left: 5px;
  color: var(--ink-soft);
  font-family: var(--serif-ja);
  font-size: 12px;
  font-weight: 400;
}

.stat__sub {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.debate-status {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 0;
  padding: 20px 24px;
  background: #ffffff;
  border-left: 5px solid var(--un-blue);
  box-shadow: var(--shadow-sm);
}

.debate-status__label {
  flex: 0 0 auto;
  color: var(--navy-900);
  font-family: var(--display-ja);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.debate-status__note {
  color: var(--ink-soft);
  font-size: 15px;
}

.debate-status[data-state="open"] {
  border-left-color: var(--un-blue);
}

.debate-status[data-state="closed"] {
  border-left-color: var(--navy-700);
}

.debate-status[data-state="pending"] {
  border-left-color: var(--amber);
}

/* Three editorial highlights */
.highlights-block {
  padding-top: 72px;
  padding-bottom: 76px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 158, 219, 0.18), transparent 34%),
    var(--navy-900);
}

.highlights-block .section-title {
  color: #ffffff;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight {
  position: relative;
  min-width: 0;
  padding: 26px 24px 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight__body {
  min-width: 0;
}

.highlight__num {
  display: block;
  margin-bottom: 20px;
  color: #70d7fa;
  font-family: var(--display-en);
  font-size: 48px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 0.8;
}

.highlight__title {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.5;
}

.highlight__text {
  margin-bottom: 16px;
  color: #e1ebf2;
  font-size: 15px;
}

.highlight__basis {
  color: #9fb6c8;
  font-size: 12px;
  line-height: 1.65;
}

.highlight__link {
  color: #7bdcff;
  font-weight: 600;
}

.highlights__basis {
  max-width: var(--reading);
  margin: 24px 0 0;
  color: #9fb6c8;
  font-size: 13px;
}

/* Buttons, fields, chips */
.button,
.chip,
.seg button,
.map-tools button,
.jumps button,
.layers button,
.picked__remove,
.chooser button,
.cw__btn,
.panel__close {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--navy-900);
  background: #ffffff;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: #ffffff;
  background: var(--navy-900);
  border-color: var(--navy-900);
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  background: var(--un-blue-dark);
  border-color: var(--un-blue-dark);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
}

.chip:hover,
.chip[aria-pressed="true"] {
  color: #ffffff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seg {
  display: inline-flex;
  max-width: 100%;
}

.seg button {
  padding: 9px 18px;
  border-right-width: 0;
}

.seg button:last-child {
  border-right-width: 1px;
}

.seg button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field__label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 9px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 0;
}

.field__input::placeholder {
  color: #8294a2;
}

/* Map */
.map-block {
  padding-top: 76px;
  padding-bottom: 76px;
  background: var(--surface-alt);
}

.map-controls {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(240px, 320px);
  gap: 16px 24px;
  align-items: end;
  margin-bottom: 20px;
  padding: 20px;
  background: #ffffff;
  border-top: 3px solid var(--un-blue);
  box-shadow: var(--shadow-sm);
}

.map-controls > .chips {
  align-self: center;
}

.map-controls > [data-issue-wrap] {
  grid-column: 2;
}

.search {
  position: relative;
  grid-column: 3;
}

.search__results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  max-height: 340px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.search__item,
.search__none {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
}

.search__item {
  cursor: pointer;
}

.search__item:hover,
.search__item[aria-selected="true"] {
  background: var(--sky-50);
}

.search__meta {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 11px;
}

.map-frame {
  position: relative;
  overflow: hidden;
  background: var(--sky-100);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.map {
  min-height: 520px;
}

.map__svg {
  width: 100%;
  height: min(62vh, 680px);
  min-height: 520px;
  background: #cfeaf5;
  touch-action: pan-y;
}

.map__sea {
  fill: #cfeaf5;
}

.country,
.marker {
  --fill: #d3dce3;
  fill: var(--fill);
  stroke: #f8fbfd;
  stroke-width: 0.55px;
  cursor: pointer;
  transition: filter 160ms ease, stroke-width 160ms ease;
}

.country:hover,
.marker:hover {
  filter: brightness(0.92) saturate(1.12);
}

.country--other {
  fill: #d9e1e7;
  cursor: default;
}

.map__borders {
  fill: none;
  stroke: rgba(38, 67, 88, 0.34);
  stroke-linejoin: round;
  pointer-events: none;
}

.country.is-selected,
.marker.is-selected {
  stroke: var(--amber);
  stroke-width: 3px;
  paint-order: stroke fill;
}

.marker.is-selected {
  stroke: #ffffff;
  stroke-width: 3px;
}

[data-fill="edited"] { --fill: #009edb; --fill-text: #041525; }
[data-fill="delivered"] { --fill: #849caf; --fill-text: #ffffff; }
[data-fill="scheduled"] { --fill: #627496; --fill-text: #ffffff; }
[data-fill="not_listed"] { --fill: #dce4ea; --fill-text: #294155; }
[data-fill="mentioned"] { --fill: #00a7d8; --fill-text: #041525; }
[data-fill="nomention-full"] { --fill: #b7c5d0; --fill-text: #173248; }
[data-fill="nomention-summary"] { --fill: #e5ecf1; --fill-text: #294155; }
[data-fill="no-stance"] { --fill: #95a5b2; --fill-text: #ffffff; }
[data-fill="s1"] { --fill: #005a9c; --fill-text: #ffffff; }
[data-fill="s2"] { --fill: #e07a16; --fill-text: #10273b; }
[data-fill="s3"] { --fill: #7049a8; --fill-text: #ffffff; }
[data-fill="s4"] { --fill: #00a6d2; --fill-text: #09253a; }
[data-fill="s5"] { --fill: #c64f8c; --fill-text: #ffffff; }
[data-fill="s6"] { --fill: #84751f; --fill-text: #ffffff; }

path.country[data-fill],
circle.marker[data-fill] {
  fill: var(--fill);
}

path.country[data-fill="scheduled"],
path.country[data-fill="nomention-summary"] {
  stroke: #ffffff;
  stroke-dasharray: 2.2 1.6;
}

.swatch {
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  background: var(--fill, #d3dce3);
  border: 1px solid rgba(4, 21, 37, 0.24);
}

.badge,
.stance {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  color: var(--fill-text, var(--ink));
  background: var(--fill, var(--surface-deep));
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.map-tools {
  position: absolute;
  z-index: 12;
  top: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(48px, auto));
  gap: 6px;
}

.map-tools button {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 12px rgba(4, 21, 37, 0.12);
}

.map-tools button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--navy-900);
}

.map-hint {
  position: absolute;
  z-index: 9;
  right: 14px;
  bottom: 12px;
  max-width: 500px;
  margin: 0;
  padding: 6px 9px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.5;
  transition: color 160ms ease, background 160ms ease;
}

.map-hint[data-flash] {
  color: #ffffff;
  background: var(--navy-900);
}

.chooser {
  position: absolute;
  z-index: 25;
  top: var(--y, 80px);
  left: var(--x, 80px);
  width: min(280px, calc(100% - 24px));
  padding: 16px;
  background: #ffffff;
  border-top: 4px solid var(--un-blue);
  box-shadow: var(--shadow-lg);
}

.chooser__title {
  margin-bottom: 10px;
  font-weight: 700;
}

.chooser__list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.chooser__btn {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  padding: 8px 10px;
  border-width: 0 0 1px;
}

.chooser__close {
  width: 100%;
}

.jumps,
.layers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.jumps__label,
.layers__label {
  margin-right: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.jumps button,
.layers button {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 13px;
}

.layers button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.legend {
  margin-top: 22px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.legend__title {
  margin-bottom: 12px;
  color: var(--navy-900);
  font-family: var(--display-ja);
  font-size: 20px;
  font-weight: 700;
}

.legend__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: baseline;
  min-width: 0;
}

.legend__label {
  min-width: 0;
  font-size: 13px;
  line-height: 1.55;
}

.legend__count,
.stance-row__count,
.dist__num {
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.legend__count {
  color: var(--ink-soft);
  font-family: var(--display-en);
  font-size: 18px;
  font-weight: 600;
}

.legend__note,
.map-note {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.legend__note {
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.map-note {
  max-width: 960px;
  margin: 20px 0 0;
}

.layer-note {
  margin-top: 16px;
  padding: 24px;
  background: var(--navy-900);
  color: #e5eef4;
  border-left: 5px solid var(--un-blue);
}

.layer-note__title {
  margin-bottom: 10px;
  color: #ffffff;
  font-family: var(--display-ja);
  font-size: 24px;
}

.layer-note__list {
  padding-left: 1.2em;
}

.layer-note__meta,
.layer-note__foot {
  color: #a9bdca;
  font-size: 12px;
}

.layer-note__countries {
  margin-top: 5px;
}

.layer-note .clink {
  color: #7bdcff;
}

.lm text {
  fill: #ffffff;
  stroke: var(--navy-950);
  stroke-width: 3px;
  paint-order: stroke fill;
  font-family: var(--serif-ja);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.lm--conflict circle {
  fill: var(--amber);
  stroke: #ffffff;
  stroke-width: 2px;
}

.lm--strait rect,
.lm--sea rect,
.lm--canal rect {
  fill: var(--navy-900);
  stroke: #ffffff;
  stroke-width: 1.5px;
}

.lm--p5 path {
  fill: var(--amber);
  stroke: #ffffff;
  stroke-width: 1.5px;
}

svg[data-layer="islands"] .is-sids,
svg[data-layer="tech"] .is-ai {
  stroke: var(--amber);
  stroke-width: 2.4px;
  paint-order: stroke fill;
}

svg[data-layer="unrep"] .is-africa {
  opacity: 0.58;
}

/* Country panel and editorial detail */
.panel {
  position: fixed;
  z-index: 85;
  top: 200px;
  right: 0;
  width: min(450px, 36vw);
  height: calc(100dvh - 200px);
  overflow: hidden;
  background: #ffffff;
  border-left: 1px solid var(--line);
  box-shadow: -22px 0 58px rgba(4, 21, 37, 0.2);
}

.panel__close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  padding: 7px 13px;
  color: #ffffff;
  background: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.32);
}

.panel__body {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.panel .detail {
  padding: 0 26px 48px;
}

.detail {
  min-width: 0;
}

.detail__head {
  margin: 0 0 34px;
  padding: 38px clamp(24px, 4vw, 54px) 34px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 158, 219, 0.18), transparent 60%),
    var(--navy-900);
}

.panel .detail__head {
  margin-right: -26px;
  margin-left: -26px;
  padding: 34px 24px 28px;
}

.detail__group {
  margin-bottom: 10px;
  color: #85d9f7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.detail__name {
  margin-bottom: 12px;
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.25;
}

.panel .detail__name {
  padding-right: 58px;
  font-size: 38px;
}

.detail__speaker {
  margin-bottom: 20px;
}

.detail__speaker-name,
.detail__speaker-role {
  display: block;
}

.detail__speaker-name {
  font-family: var(--display-en);
  font-size: 22px;
  font-weight: 600;
}

.detail__speaker-role {
  color: #b8cbd8;
  font-size: 13px;
}

.detail__speaker-role span {
  margin-left: 4px;
}

.detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 24px;
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.detail__facts > div {
  min-width: 0;
}

.detail__facts dt,
.claim__meta dt,
.commit__meta dt,
.event__meta dt {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.detail__facts dt {
  color: #8fa9ba;
}

.detail__facts dd {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.detail__sec {
  margin: 0 0 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail__sec--lead {
  padding: 26px;
  background: var(--sky-50);
  border-top: 4px solid var(--un-blue);
}

.detail__h {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: 25px;
  line-height: 1.45;
}

.detail__oneliner {
  color: var(--navy-950);
  font-family: var(--display-ja);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
}

.detail__empty,
.detail__un-title {
  margin: 30px 0;
  padding: 20px;
  background: var(--surface-alt);
  border-left: 4px solid var(--line-strong);
}

.detail__more {
  text-align: center;
}

.points {
  counter-reset: points;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  min-height: 48px;
  padding: 0 0 20px 54px;
  counter-increment: points;
}

.points li::before {
  content: counter(points, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--un-blue-dark);
  font-family: var(--display-en);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.kind-note {
  margin: 18px 0;
  padding: 14px 16px;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 13px;
}

.kind {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-right: 9px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
}

.kind--claim {
  color: #ffffff;
  background: var(--navy-800);
}

.kind--context {
  color: var(--navy-900);
  background: #d8e3ea;
}

.kind--reading {
  color: #ffffff;
  background: #66512d;
}

.claim-group {
  margin-bottom: 34px;
}

.claim-group__topic {
  margin: 0 0 12px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--navy-900);
  font-family: var(--display-ja);
  font-size: 18px;
}

.claim {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 0;
}

.claim__issue {
  margin-bottom: 9px;
  color: var(--un-blue-dark);
  font-weight: 700;
}

.claim__stances,
.claim__types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.claim__text {
  font-size: 16px;
}

.claim__meta,
.commit__meta,
.event__meta {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.claim__meta > div,
.commit__meta > div,
.event__meta > div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
}

.claim__meta dd,
.commit__meta dd,
.event__meta dd {
  min-width: 0;
  margin: 0;
}

.ctype {
  display: inline-block;
  padding: 2px 8px;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 11px;
}

.evidence {
  margin-top: 14px;
  padding: 11px 13px;
  background: var(--surface-alt);
  border-left: 3px solid var(--line-strong);
}

.evidence summary {
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 600;
}

.evidence__quote {
  margin: 16px 0 8px;
  padding-left: 16px;
  color: #2e4659;
  border-left: 2px solid var(--un-blue);
  font-family: var(--display-en);
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
}

.evidence__note,
.evidence__link {
  font-size: 12px;
}

.acts,
.commits,
.cws,
.nws,
.sources,
.stance-rows,
.events,
.updates,
.picked-list,
.remaining {
  margin: 0;
  padding: 0;
  list-style: none;
}

.act,
.commit {
  margin-bottom: 12px;
  padding: 18px;
  background: var(--surface-alt);
  border-left: 4px solid var(--un-blue);
}

.act__to,
.act__what,
.act__cond {
  display: block;
}

.act__to {
  color: var(--un-blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.act__what,
.commit__action {
  margin: 2px 0 0;
  font-weight: 600;
}

.act__cond {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.commit__country {
  display: block;
  margin-bottom: 5px;
}

.geo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.geo__facts,
.geo__reading,
.reading {
  padding: 22px;
  border: 1px solid var(--line);
}

.geo__facts {
  background: var(--surface-alt);
}

.geo__reading,
.reading {
  background: #f4f7f9;
  border-color: #e4cd92;
}

.geo__src,
.geo__limits,
.reading__limits {
  color: var(--ink-soft);
  font-size: 12px;
}

.geo__features {
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 600;
}

.cw,
.nw {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  gap: 12px 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cw__btn {
  width: 100%;
  padding: 8px 10px;
}

.cw__reason,
.nw__what {
  color: var(--ink-soft);
  font-size: 13px;
}

.nw {
  grid-template-columns: minmax(180px, 1fr) minmax(150px, auto);
}

.nw__when {
  color: var(--navy-800);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
}

.nw__what {
  grid-column: 1 / -1;
}

.panel .nw,
.country-detail .nw {
  grid-template-columns: minmax(0, 1fr);
}

.panel .nw__what,
.country-detail .nw__what {
  grid-column: auto;
}

.source {
  margin-bottom: 13px;
  overflow-wrap: anywhere;
}

.source__meta {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
}

/* Topic photo cards */
.topics-block {
  padding-top: 78px;
  padding-bottom: 86px;
  background: #ffffff;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-card {
  min-width: 0;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.topic-card__link {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
}

.topic-card__link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 16, 30, 0.96) 0%, rgba(3, 16, 30, 0.62) 48%, rgba(3, 16, 30, 0.06) 78%);
}

.topic-card__img,
.topic-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
}

.topic-card__img img {
  transition: scale 500ms ease;
}

.topic-card__link:hover {
  color: #ffffff;
}

.topic-card__link:hover .topic-card__img img {
  scale: 1.045;
}

.topic-card__body {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 28px 26px 25px;
}

.topic-card__name {
  font-family: var(--display-ja);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.topic-card__desc {
  color: #d9e5ec;
  font-size: 13px;
  line-height: 1.65;
}

.topic-card__count {
  margin-top: 5px;
  color: #72d9fb;
  font-family: var(--display-en);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
}

.topic-card__count small {
  color: #ffffff;
  font-family: var(--serif-ja);
  font-size: 12px;
  font-weight: 400;
}

/* Home lower modules */
.compare-entry,
.schedule-entry,
.coverage-entry {
  padding-top: 70px;
  padding-bottom: 70px;
}

.compare-entry {
  background: var(--surface-alt);
}

.schedule-entry {
  background: #ffffff;
}

.coverage-entry {
  background: var(--surface-alt);
}

/* Country index */
.country-layout {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.country-detail {
  order: 2;
  min-width: 0;
}

.country-index-wrap {
  order: 1;
  min-width: 0;
}

.country-detail[hidden] + .country-index-wrap {
  grid-column: 1 / -1;
  width: min(100%, 900px);
}

.filters {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
  background: var(--surface-alt);
  border-top: 4px solid var(--un-blue);
}

.index__count {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
}

.index {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.index--static {
  width: 100%;
}

.index__item {
  position: relative;
  min-width: 0;
  background: #ffffff;
}

.index__item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--fill, var(--line-strong));
}

.index__item[data-fill-status="edited"] { --fill: #009edb; }
.index__item[data-fill-status="delivered"] { --fill: #849caf; }
.index__item[data-fill-status="scheduled"] { --fill: #627496; }
.index__item[data-fill-status="not_listed"] { --fill: #dce4ea; }

.index__link {
  display: grid;
  gap: 3px;
  padding: 13px 14px 13px 18px;
  color: inherit;
  text-decoration: none;
}

.index__link:hover,
.index__link[aria-current="true"] {
  background: var(--sky-50);
}

.index__name {
  color: var(--navy-900);
  font-weight: 700;
}

.index__meta,
.index__status,
.index__oneliner {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

/* Topic page */
.view--topic > .section-title {
  margin-bottom: 20px;
}

.view--topic > .chips {
  margin-bottom: 28px;
}

.topic__head {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(320px, 36vh, 460px);
  margin: 0 calc(-1 * var(--page-pad)) 54px;
  padding: 48px max(var(--page-pad), calc((100% - var(--content)) / 2 + var(--page-pad)));
  overflow: hidden;
  color: #ffffff;
  background: var(--navy-900);
}

.topic__head::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 16, 30, 0.92) 0%, rgba(3, 16, 30, 0.28) 70%);
}

.topic__photo,
.topic__photo img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
}

.topic__photo img {
  object-fit: cover;
}

.topic__title {
  max-width: var(--content);
  margin-bottom: 8px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.25;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.38);
}

.topic__desc {
  max-width: 900px;
  margin-bottom: 18px;
  color: #e1ebf2;
  font-size: 18px;
}

.topic__count {
  align-self: flex-start;
  margin: 0;
  padding: 10px 14px;
  background: rgba(3, 16, 30, 0.72);
  border-left: 4px solid var(--un-blue);
  font-size: 13px;
}

.topic__count .muted {
  color: #c6d5df;
}

.topic__sec {
  margin: 0 0 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.topic__h {
  margin-bottom: 20px;
  color: var(--navy-900);
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.4;
}

.topic__lead {
  max-width: 900px;
  color: var(--navy-950);
  font-family: var(--display-ja);
  font-size: 22px;
  line-height: 1.9;
}

.topic__sec--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.topic__sec--two > div {
  padding: 24px;
  background: var(--surface-alt);
  border-top: 4px solid var(--un-blue);
}

.dist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dist__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(180px, 1fr) 72px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dist__label {
  font-size: 14px;
}

.dist__bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  background: var(--surface-deep);
}

.dist__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--v) * 100%);
  background: var(--un-blue);
}

.dist__num {
  color: var(--navy-800);
  font-family: var(--display-en);
  font-size: 20px;
}

.issue {
  margin-bottom: 42px;
  padding: 24px;
  background: var(--surface-alt);
  border-top: 4px solid var(--navy-800);
}

.issue__title {
  margin-bottom: 5px;
  color: var(--navy-900);
  font-size: 24px;
}

.issue__links {
  margin-bottom: 16px;
  font-size: 13px;
}

.stance-row {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.stance-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 8px;
}

.stance-row__count {
  color: var(--ink-soft);
  font-size: 13px;
}

.stance-row__def,
.stance-row__countries {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Compare */
.picked-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.picked {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding-left: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
}

.picked__remove {
  min-width: 44px;
  margin-left: 10px;
  border-width: 0 0 0 1px;
  background: transparent;
}

.picked--add {
  flex: 1 1 280px;
  padding: 12px;
}

.picked--add .field {
  width: 100%;
}

.view--compare > .chips {
  margin-bottom: 30px;
  padding: 16px;
  background: var(--surface-alt);
}

.ctable {
  margin-top: 32px;
  border: 1px solid var(--line);
}

.ctable__row {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) repeat(var(--n), minmax(0, 1fr));
}

.ctable__row + .ctable__row {
  border-top: 1px solid var(--line);
}

.ctable__row--head {
  position: sticky;
  z-index: 5;
  top: 54px;
  color: #ffffff;
  background: var(--navy-900);
}

.ctable__label,
.ctable__cell {
  min-width: 0;
  padding: 18px;
  overflow-wrap: anywhere;
}

.ctable__label {
  color: var(--navy-900);
  background: var(--surface-alt);
  font-weight: 700;
}

.ctable__row--head .ctable__label {
  color: #ffffff;
  background: var(--navy-950);
}

.ctable__cell {
  border-left: 1px solid var(--line);
  font-size: 14px;
}

.ctable__cell--head .clink {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
}

.ctable__speaker,
.ctable__basis {
  display: block;
  margin-top: 5px;
  color: #b8cbd8;
  font-size: 11px;
  line-height: 1.5;
}

.ctable__who {
  display: none;
  margin-bottom: 6px;
  color: var(--un-blue-dark);
  font-weight: 700;
}

.ctable__row--src {
  background: var(--sky-50);
}

.shared {
  margin-top: 44px;
}

.shared__h {
  font-size: 25px;
}

.shared ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shared__row {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.shared__issue {
  flex: 0 0 190px;
  padding-bottom: 8px;
  font-weight: 700;
}

.shared__cell {
  flex: 1 1 0;
  min-width: 0;
}

/* Schedule */
.view--schedule > .seg {
  margin: 12px 0 28px;
}

.events {
  display: grid;
  gap: 18px;
}

.event {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  column-gap: 34px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--un-blue);
  box-shadow: var(--shadow-sm);
}

.event[data-event-status="ongoing"] {
  border-left-color: var(--amber);
}

.event[data-event-status="finished"] {
  border-left-color: var(--navy-700);
}

.event[data-event-status="changed"],
.event[data-event-status="past-unconfirmed"] {
  border-left-color: var(--danger);
}

.event__when {
  grid-row: 1 / span 6;
  margin-bottom: 4px;
  color: var(--navy-900);
  font-family: var(--display-en);
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.4;
}

.event__sub {
  grid-column: 1;
  grid-row: 2;
  margin-top: 44px;
  color: var(--ink-soft);
  font-size: 12px;
}

.event__title,
.event__official,
.event__meta,
.event__watch,
.event__links {
  grid-column: 2;
}

.event__title {
  margin-bottom: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.55;
}

.event__official {
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-family: var(--display-en);
  font-size: 16px;
  line-height: 1.45;
}

.event__meta {
  margin-top: 0;
}

.event__watch {
  margin: 14px 0;
  padding: 13px 15px;
  background: #f4f7f9;
  border-left: 3px solid var(--amber);
  font-size: 14px;
}

.event__watch-label {
  display: block;
  color: #735d29;
  font-size: 11px;
  font-weight: 700;
}

.event__links,
.event__checked {
  font-size: 12px;
}

.event__checked {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.remaining-block {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.remaining__note {
  color: var(--ink-soft);
  font-size: 13px;
}

.remaining {
  counter-reset: remaining;
}

.remaining__item {
  display: grid;
  grid-template-columns: minmax(210px, 0.5fr) minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.remaining__when,
.remaining__speaker {
  color: var(--ink-soft);
  font-size: 13px;
}

.past-events {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.past-events summary {
  min-height: 44px;
  color: var(--navy-900);
  font-weight: 700;
}

/* Updates, coverage and prose */
.updates {
  border-top: 3px solid var(--navy-900);
}

.update {
  display: grid;
  grid-template-columns: 150px 70px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.update p {
  margin-bottom: 0;
}

.update__when,
.update__type,
.update__ids {
  color: var(--ink-soft);
  font-size: 12px;
}

.update__type {
  color: var(--un-blue-dark);
  font-weight: 700;
}

.update__ids {
  grid-column: 3;
}

.coverage {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-top: 4px solid var(--navy-900);
}

.coverage th,
.coverage td {
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.coverage th {
  width: 240px;
  color: var(--navy-900);
  background: var(--surface-alt);
  font-weight: 700;
}

.prose {
  max-width: 920px;
}

.view--country,
.view--updates,
.view--about {
  background: #ffffff;
}

.prose h3 {
  margin: 50px 0 16px;
  padding-top: 18px;
  color: var(--navy-900);
  font-size: 27px;
  border-top: 1px solid var(--line);
}

.prose p,
.prose li {
  line-height: 2;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.downloads a {
  display: block;
  padding: 12px 15px;
  background: var(--surface-alt);
  border-left: 4px solid var(--un-blue);
}

/* Footer */
.site-foot {
  padding: 54px max(var(--page-pad), calc((100vw - var(--content)) / 2));
  color: #b7cad7;
  background: var(--navy-950);
  border-top: 5px solid var(--un-blue);
  font-size: 12px;
}

.site-foot p {
  margin-bottom: 8px;
}

.site-foot p:first-child,
.site-foot p:nth-child(2) {
  color: #ffffff;
  font-family: var(--display-ja);
  font-size: 18px;
  font-weight: 700;
}

.site-foot p:nth-child(2) {
  color: #75d8fa;
  font-family: var(--display-en);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.site-foot a {
  color: #75d8fa;
}

/* Preserve usable fallback when data or JavaScript is unavailable */
body.no-data [data-view="country"],
body.no-data [data-view="country"][hidden] {
  display: block !important;
}

/* Mid-size layouts */
@media (max-width: 1099px) {
  .site-head {
    grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1.4fr);
  }

  .site-head__meta {
    grid-column: 1 / -1;
    display: flex;
    gap: 28px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-head__meta > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .topic-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-controls {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  }

  .map-controls > .seg,
  .map-controls > .chips,
  .map-controls > [data-issue-wrap] {
    grid-column: 1;
  }

  .search {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
  }

  .country-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .ctable[style*="--n:3"] .ctable__row,
  .ctable[style*="--n:4"] .ctable__row {
    display: block;
  }

  .ctable[style*="--n:3"] .ctable__row--head,
  .ctable[style*="--n:4"] .ctable__row--head {
    position: static;
  }

  .ctable[style*="--n:3"] .ctable__who,
  .ctable[style*="--n:4"] .ctable__who {
    display: block;
  }

  .ctable[style*="--n:3"] .ctable__label,
  .ctable[style*="--n:4"] .ctable__label,
  .ctable[style*="--n:3"] .ctable__cell,
  .ctable[style*="--n:4"] .ctable__cell {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .shared__row {
    flex-direction: column;
  }

  .shared__issue {
    flex-basis: auto;
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --page-pad: 18px;
  }

  body {
    font-size: 16px;
    line-height: 1.8;
  }

  .site-head {
    display: block;
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-head::after {
    right: var(--page-pad);
    width: 64px;
  }

  .site-head__brand {
    padding: 0;
  }

  .site-head__jc {
    font-size: 17px;
  }

  .site-head__series {
    font-size: 10px;
  }

  .site-head__title {
    margin-top: 5px;
  }

  .site-head__en,
  .site-head__tagline {
    display: none;
  }

  .site-head__name {
    margin: 0;
    font-size: 23px;
  }

  .site-head__meta {
    display: grid;
    gap: 0;
    margin-top: 9px;
    padding-top: 7px;
    font-size: 11px;
    line-height: 1.5;
  }

  .site-head__meta > div {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 6px;
    padding: 2px 0;
  }

  .tabs {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 7px;
  }

  .tabs a {
    min-width: auto;
    min-height: 50px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .tabs a::after {
    right: 12px;
    left: 12px;
  }

  .view:not(.view--map) {
    padding-top: 34px;
    padding-bottom: 64px;
  }

  .section-title {
    margin-bottom: 24px;
    padding-top: 16px;
    font-size: 31px;
  }

  .section-title::before {
    width: 38px;
    height: 3px;
  }

  .hero {
    height: 56svh;
    min-height: 420px;
    max-height: 560px;
  }

  .hero__img img {
    object-position: 52% 52%;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 16, 30, 0.84), rgba(3, 16, 30, 0.32)),
      linear-gradient(0deg, rgba(3, 16, 30, 0.92) 0%, transparent 70%);
  }

  .hero::after {
    width: 5px;
  }

  .hero__text {
    bottom: 84px;
    width: calc(100% - 2 * var(--page-pad));
  }

  .hero__kicker {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.11em;
  }

  .hero__lead {
    font-size: clamp(28px, 8.6vw, 36px);
    line-height: 1.5;
  }

  .hero__lead br {
    display: none;
  }

  .hero__credit {
    right: 10px;
    bottom: 48px;
    max-width: calc(100% - 20px);
    padding: 3px 5px;
    font-size: 8px;
    line-height: 1.4;
  }

  body.has-panel .hero__credit {
    right: 10px;
    max-width: calc(100% - 20px);
  }

  .status-block {
    padding-bottom: 34px;
  }

  .status-block .section-title {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 24px;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -36px;
    border-top-width: 4px;
  }

  .stat,
  .stat:nth-child(odd),
  .stat:nth-child(even) {
    min-height: 116px;
    padding: 11px 6px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .stat:first-child {
    padding-left: 6px;
  }

  .stat:last-child {
    border-right: 0;
  }

  .stat__label {
    min-height: 3.8em;
    font-size: 10px;
    line-height: 1.35;
  }

  .stat__num {
    margin-top: 5px;
    font-size: 32px;
  }

  .stat__num small {
    display: none;
  }

  .stat__sub {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.35;
  }

  .debate-status {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
  }

  .debate-status__label {
    font-size: 17px;
  }

  .debate-status__note {
    font-size: 13px;
    line-height: 1.65;
  }

  .highlights-block,
  .map-block,
  .topics-block,
  .compare-entry,
  .schedule-entry,
  .coverage-entry {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .highlight {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 18px;
  }

  .highlight__num {
    margin: 0;
    font-size: 38px;
  }

  .highlight__title {
    font-size: 20px;
  }

  .map-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }

  .map-controls > .seg,
  .map-controls > .chips,
  .map-controls > [data-issue-wrap],
  .search {
    grid-column: 1;
    grid-row: auto;
  }

  .map-controls > .seg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seg button {
    padding: 8px 9px;
    font-size: 13px;
  }

  .map-controls > .chips {
    flex-wrap: nowrap;
    margin-right: -15px;
    margin-left: -15px;
    padding: 0 15px 7px;
    overflow-x: auto;
  }

  .map-controls > .chips .chip {
    flex: 0 0 auto;
  }

  .map,
  .map__svg {
    min-height: 380px;
  }

  .map__svg {
    height: 52dvh;
  }

  .map-tools {
    top: 8px;
    right: 8px;
    grid-template-columns: repeat(4, auto);
    gap: 4px;
  }

  .map-tools button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 7px;
    font-size: 12px;
  }

  .map-hint {
    right: 8px;
    bottom: 8px;
    left: 8px;
    font-size: 9px;
  }

  .chooser {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .jumps,
  .layers {
    flex-wrap: nowrap;
    margin-right: calc(-1 * var(--page-pad));
    margin-left: calc(-1 * var(--page-pad));
    padding: 0 var(--page-pad) 8px;
    overflow-x: auto;
  }

  .jumps__label,
  .layers__label,
  .jumps button,
  .layers button {
    flex: 0 0 auto;
  }

  .legend {
    padding: 16px;
  }

  .legend__list {
    grid-template-columns: 1fr;
  }

  .panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(78dvh, 720px);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    border-left: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 55px rgba(4, 21, 37, 0.28);
  }

  .panel::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 50%;
    width: 48px;
    height: 4px;
    background: #9dafbc;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .panel__close {
    position: absolute;
    top: 14px;
    right: 12px;
    float: none;
    margin: 0;
  }

  .panel .detail {
    padding-right: 18px;
    padding-left: 18px;
  }

  .panel .detail__head {
    margin-right: -18px;
    margin-left: -18px;
    padding-top: 58px;
  }

  .detail__head {
    margin-right: calc(-1 * var(--page-pad));
    margin-left: calc(-1 * var(--page-pad));
    padding: 30px var(--page-pad);
  }

  .detail__name,
  .panel .detail__name {
    font-size: 34px;
  }

  .detail__facts {
    grid-template-columns: 1fr;
  }

  .detail__sec--lead,
  .claim,
  .geo__facts,
  .geo__reading,
  .reading {
    padding: 18px;
  }

  .detail__h {
    font-size: 23px;
  }

  .detail__oneliner {
    font-size: 19px;
  }

  .geo,
  .topic__sec--two {
    grid-template-columns: 1fr;
  }

  .claim__meta > div,
  .commit__meta > div,
  .event__meta > div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .topic-cards {
    display: grid;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 14px;
    margin-right: calc(-1 * var(--page-pad));
    margin-left: calc(-1 * var(--page-pad));
    padding: 0 var(--page-pad) 18px;
    overflow-x: auto;
    scroll-padding-inline: var(--page-pad);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .topic-card {
    scroll-snap-align: start;
  }

  .topic-card__link {
    min-height: 390px;
  }

  .topic-card__body {
    padding: 24px 20px;
  }

  .topic-card__name {
    font-size: 23px;
  }

  .country-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .country-detail {
    order: 1;
    width: 100%;
  }

  .country-index-wrap {
    order: 2;
    width: 100%;
  }

  .view--topic > .chips {
    flex-wrap: nowrap;
    margin-right: calc(-1 * var(--page-pad));
    margin-left: calc(-1 * var(--page-pad));
    padding: 0 var(--page-pad) 9px;
    overflow-x: auto;
  }

  .view--topic > .chips .chip {
    flex: 0 0 auto;
  }

  .topic__head {
    min-height: 36svh;
    margin-right: calc(-1 * var(--page-pad));
    margin-bottom: 38px;
    margin-left: calc(-1 * var(--page-pad));
    padding: 34px var(--page-pad);
  }

  .topic__title {
    font-size: 39px;
  }

  .topic__desc {
    font-size: 15px;
  }

  .topic__count {
    font-size: 11px;
  }

  .topic__sec {
    margin-bottom: 42px;
  }

  .topic__lead {
    font-size: 19px;
  }

  .dist__row {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px 12px;
  }

  .dist__bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .dist__num {
    text-align: right;
  }

  .issue {
    padding: 18px;
  }

  .picked-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .picked {
    min-width: 0;
    justify-content: space-between;
  }

  .picked--add {
    grid-column: 1 / -1;
  }

  .view--compare > .chips {
    flex-wrap: nowrap;
    margin-right: calc(-1 * var(--page-pad));
    margin-left: calc(-1 * var(--page-pad));
    padding: 14px var(--page-pad);
    overflow-x: auto;
  }

  .view--compare > .chips .chip {
    flex: 0 0 auto;
  }

  .ctable__row,
  .ctable[style*="--n:2"] .ctable__row {
    display: block;
  }

  .ctable__row--head {
    position: static;
  }

  .ctable__label,
  .ctable__cell {
    padding: 15px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .ctable__who {
    display: block;
  }

  .ctable__row--head .ctable__label {
    display: none;
  }

  .ctable__cell--head {
    border-color: rgba(255, 255, 255, 0.18);
  }

  .shared__cell .ctable__who {
    margin-top: 7px;
  }

  .event {
    display: block;
    padding: 22px 18px;
  }

  .event__when {
    margin-bottom: 2px;
    font-size: 25px;
  }

  .event__sub {
    margin: 0 0 18px;
  }

  .event__title {
    font-size: 22px;
  }

  .remaining__item {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .update {
    grid-template-columns: 1fr auto;
  }

  .update__text,
  .update__ids {
    grid-column: 1 / -1;
  }

  .coverage {
    display: block;
    overflow-wrap: anywhere;
  }

  .coverage tbody,
  .coverage tr,
  .coverage th,
  .coverage td {
    display: block;
    width: 100%;
  }

  .coverage th {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .coverage td {
    padding-top: 6px;
  }

  .downloads {
    grid-template-columns: 1fr;
  }

  .site-foot {
    padding-top: 40px;
    padding-bottom: calc(44px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 374px) {
  .site-head__name {
    font-size: 21px;
  }

  .hero__lead {
    font-size: 27px;
  }

  .stat__label {
    font-size: 9px;
  }

  .stat__num {
    font-size: 28px;
  }

  .map-tools button {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* タブレット幅でもパネルは下から出るシートに(右側に置くと幅が狭くなりすぎる) */
@media (min-width: 768px) and (max-width: 1099px) {
  .panel { top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: min(72dvh, 760px); border-top: 1px solid var(--line); border-left: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 55px rgba(4, 21, 37, 0.28); }
}

/* ===== 日本(9/28 追加) ===== */
.map-block, [data-view] { scroll-margin-top: 64px; }
.button--primary { color: #fff; background: var(--un-blue-dark); border-color: var(--un-blue-dark); }
.button--primary:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.japan-teaser { position: relative; isolation: isolate; overflow: hidden; margin-inline: calc(50% - 50vw); padding: clamp(48px, 7vw, 96px) var(--page-pad); color: #fff; background: var(--navy-900); }
.japan-teaser__img { position: absolute; inset: 0; z-index: -2; }
.japan-teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.japan-teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 21, 37, 0.94) 0%, rgba(4, 21, 37, 0.82) 48%, rgba(4, 21, 37, 0.35) 100%); }
.japan-teaser__inner { max-width: var(--content); margin: 0 auto; }
.japan-teaser .section-title { color: #fff; }
.japan-teaser__body { max-width: 760px; }
.japan__kicker { margin: 0 0 10px; color: #7fd3f2; font-family: var(--display-en); font-size: 15px; letter-spacing: 0.12em; }
.japan__oneliner { margin: 0 0 18px; font-family: var(--display-ja); font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.6; }
.japan-teaser .points, .japan-teaser .points li { color: rgba(255, 255, 255, 0.92); }
.japan-teaser .points { margin: 0 0 24px; padding-left: 1.3em; }
.japan-teaser .points li { margin-bottom: 8px; }
.japan__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.japan-teaser .button:not(.button--primary) { color: #fff; border-color: rgba(255, 255, 255, 0.6); background: transparent; }
.japan-teaser .button:not(.button--primary):hover { background: rgba(255, 255, 255, 0.12); }
.japan__sub { margin: 0 0 8px; color: #b9cfe0; font-size: 14px; }
.japan-teaser .chip { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(4, 21, 37, 0.35); }
.japan-teaser .chip:hover { background: var(--un-blue-dark); border-color: var(--un-blue-dark); }
.japan__head { margin-bottom: 40px; padding: clamp(24px, 4vw, 44px); color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.japan__head .button:not(.button--primary) { color: #fff; border-color: rgba(255, 255, 255, 0.6); background: transparent; }
.japan__lead { display: grid; gap: 10px; margin: 0 0 24px; }
.japan__pt { display: block; padding-left: 14px; border-left: 3px solid var(--un-blue); color: rgba(255, 255, 255, 0.92); }
.japan__sec { margin-bottom: 48px; }
.japan__h { margin: 0 0 16px; font-family: var(--display-ja); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }
.jrow { margin-bottom: 18px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--un-blue); }
.jrow__issue { margin: 0 0 12px; font-family: var(--display-ja); font-size: 19px; font-weight: 700; }
.jrow__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 28px; }
.jrow__label { margin: 0 0 6px; color: var(--ink-soft); font-size: 13px; letter-spacing: 0.04em; }
.jrow__count { margin: 8px 0 4px; font-variant-numeric: lining-nums tabular-nums; }
.jrow__count strong { font-family: var(--display-en); font-size: 28px; color: var(--un-blue-dark); }
.jrow__count small { color: var(--ink-soft); }
.jrow__countries { display: block; font-size: 14px; line-height: 1.9; }
.jrow__others ul { margin: 0; padding: 0; list-style: none; }
.jrow__others li { padding: 8px 0; border-top: 1px solid var(--line); }
.jrow__n { margin: 0 6px; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.jrow__link { margin: 12px 0 0; font-size: 14px; }
.jmentions { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 0 0 10px; padding: 0; list-style: none; }
.jmention { padding: 16px 18px; background: var(--surface-alt); border-left: 3px solid var(--amber); }
.jmention .clink { font-weight: 700; }
.jmention__text { margin: 6px 0 0; font-size: 15px; }
@media (max-width: 767px) {
  .jrow__grid { grid-template-columns: minmax(0, 1fr); }
  .japan-teaser::after { background: linear-gradient(180deg, rgba(4, 21, 37, 0.7) 0%, rgba(4, 21, 37, 0.94) 55%); }
  .map-block, [data-view] { scroll-margin-top: 56px; }
}
.nobr { white-space: nowrap; }
