:root {
  --ink: #172232;
  --muted: #4b5766;
  --paper: #fbfaf6;
  --line: #d9dbe0;
  --accent: #aa2439;
  --measure: 46rem;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --display: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #edece7;
  color: var(--ink);
  font: 400 1rem / 1.9 var(--sans);
  line-break: strict;
}
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, .table-wrap:focus-visible { outline: 3px solid #2e5ba6; outline-offset: 4px; }
.topbar { background: #141e2d; color: #fff; border-bottom: 3px solid #ba3c4b; }
.topbar-inner {
  max-width: 73rem; margin: 0 auto; padding: .7rem clamp(1rem,4vw,3rem);
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.brand { color: #fff; font-weight: 800; letter-spacing: .09em; font-size: .9rem; }
.brand span { color: #ffabb8; }
.preview { font-size: .75rem; color: #d3d8e3; }
.shell { max-width: 73rem; margin-inline: auto; }
.paper { padding: clamp(1.35rem,4.6vw,4rem) clamp(1.1rem,5vw,4.1rem) clamp(2.5rem,6vw,5.25rem); background: var(--paper); }
.article-head { margin-bottom: clamp(1.45rem,3vw,2.25rem); }
.kicker {
  margin: 0 0 .55rem; max-width: none; color: var(--accent);
  font-size: clamp(.8rem,1.7vw,1rem); font-weight: 800; letter-spacing: .1em;
}
h1, h2, h3 { line-height: 1.45; overflow-wrap: anywhere; }
h1 {
  font-family: var(--display); font-size: clamp(2.05rem,5vw,3.7rem);
  font-weight: 800; letter-spacing: .015em; margin: 0 0 1rem;
}
h1 span { display: block; word-break: keep-all; }
.article-head .dek { max-width: 48rem; margin: 0 0 1.15rem; color: var(--muted); font-size: clamp(.94rem,1.8vw,1.13rem); }
.meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .84rem; color: var(--muted); }
.hero { margin-top: 0; }
.hero img { aspect-ratio: 1.7; object-fit: cover; object-position: 50% 51%; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 1.45rem 0 1.3rem; border-block: 1px solid var(--line);
}
.stat { padding: .8rem .9rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { color: var(--accent); font-size: .73rem; font-weight: 800; }
.stat dd { margin: 0; }
.stat .val { font-size: clamp(1.05rem,2.4vw,1.48rem); font-weight: 800; line-height: 1.5; font-variant-numeric: tabular-nums; }
.stat .sub { color: var(--muted); font-size: .78rem; }
.stat .sub .pilot { white-space: nowrap; }
.toc {
  display: flex; flex-wrap: wrap; gap: .15rem clamp(.45rem,2.6vw,1.8rem);
  padding-bottom: .6rem; border-bottom: 1px solid var(--line);
}
.toc a { color: var(--ink); font-size: .88rem; font-weight: 700; padding: .4rem .12rem; }
article p, article h2, article h3 {
  max-width: var(--measure); margin-inline: auto;
}
article p { margin-block: .7rem 1rem; }
article h2 {
  font-family: var(--display); font-size: clamp(1.42rem,3vw,2.1rem);
  font-weight: 800; margin-top: clamp(2.8rem,6vw,4.5rem); margin-bottom: .85rem;
  padding-top: .75rem; border-top: 2px solid var(--ink); scroll-margin-top: 1rem; text-wrap: balance;
}
article h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: .5rem; }
figure { margin: 1.5rem 0; }
figure img { width: 100%; height: auto; display: block; border-radius: 5px; }
figcaption { font-size: .8rem; line-height: 1.65; color: var(--muted); margin-top: .45rem; }
.duo {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start; gap: clamp(.85rem,2vw,1.4rem); margin: 1.5rem 0;
}
.duo figure { margin: 0; }
.stream-grid { max-width: var(--measure); margin-inline: auto; align-items: stretch; }
.stream-card {
  display: block; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--ink); text-decoration: none;
}
.stream-card:hover .stream-copy strong { text-decoration: underline; text-underline-offset: .17em; }
.stream-thumb { position: relative; display: block; }
.stream-thumb img { width: 100%; height: auto; display: block; border-radius: 5px 5px 0 0; }
.stream-play {
  position: absolute; right: .6rem; bottom: .6rem; width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center; border-radius: 50%; background: #141e2d;
  border: 1px solid #fff; color: #fff; font-size: .95rem;
}
.stream-copy { display: grid; gap: .1rem; padding: .65rem .8rem .75rem; line-height: 1.6; }
.stream-copy strong { font-size: 1.05rem; }
.stream-copy span { color: var(--muted); font-size: .87rem; }
.table-wrap { max-width: var(--measure); margin: 1rem auto 1.4rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.55; font-variant-numeric: tabular-nums; }
th { background: #1d2939; color: #fff; padding: .65rem .7rem; font-size: .8rem; text-align: left; }
td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { white-space: nowrap; }
tr:nth-child(even) td { background: #f0efea; }
.vote-table :is(th, td):nth-child(n+3) { text-align: right; }
.metric, code { white-space: nowrap; font-variant-numeric: tabular-nums; }
code { font-family: inherit; font-weight: 700; }
.vote-lead {
  max-width: var(--measure); margin-inline: auto; display: flex; gap: 1.3rem; align-items: center;
  padding: .75rem 1.1rem; background: #eef2f8; border-left: 4px solid #314d75;
}
.vote-lead p { flex: 1; margin: .25rem 0; }
.vote-number { white-space: nowrap; font-size: clamp(1.65rem,4vw,2.8rem); font-weight: 800; line-height: 1.2; }
.vote-number small { margin-left: .12em; font-size: .52em; }
.claim-note { max-width: var(--measure); margin: 1.3rem auto 0; }
.claim-note p { margin-bottom: .65rem; }
.claim-link {
  display: inline-block; background: #253e65; color: #fff; border-radius: 4px;
  padding: .62rem 1rem; font-weight: 700; text-decoration: none;
}
.claim-link:hover { background: #172b4a; }
.partner-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem;
  max-width: var(--measure); margin: 1.25rem auto 0; padding: 0; list-style: none;
}
.partner-grid li { border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: .7rem; min-width: 0; }
.partner-link { display: block; font-weight: 750; font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.partner-logo {
  display: grid; place-items: center; min-width: 0; height: 4.3rem; padding: .45rem;
  margin-bottom: .65rem; border-radius: 4px; background: #fff;
}
.partner-logo-dark { background: #1d2939; }
.partner-logo img { display: block; max-width: 100%; max-height: 3.3rem; object-fit: contain; }
.partner-detail { color: var(--muted); font-size: .83rem; line-height: 1.6; margin-top: .35rem; overflow-wrap: anywhere; }
.result-links { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .94rem; font-weight: 700; }
.links { max-width: var(--measure); margin-inline: auto; font-size: .93rem; }
.links ul { padding-left: 1.35rem; }
.links li { margin-block: .45rem; }
.credits { font-size: .8rem; color: var(--muted); margin-top: 1.55rem; }
@media (max-width: 620px) {
  .partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  h1 { line-height: 1.37; }
  html[lang="en"] h1 { font-size: clamp(1.8rem,4.8vw,2.05rem); text-wrap: balance; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: .68rem .55rem; }
  .duo { grid-template-columns: 1fr; }
  .hero img { aspect-ratio: auto; }
  .vote-lead { display: block; padding-inline: .85rem; }
  .vote-lead p { margin-top: .55rem; }
  th, td { padding-inline: .48rem; }
}

.article-navigation, .article-language { display: flex; align-items: center; gap: .65rem; }
.article-language { gap: .2rem; }
.article-language a {
  border: 1px solid transparent; border-radius: 3px; color: #fff;
  font-size: .76rem; font-weight: 750; line-height: 1.2; padding: .4rem .48rem;
}
.article-language a[aria-current="page"] { border-color: #ffabb8; color: #ffabb8; }
@media (max-width: 420px) {
  .topbar-inner { flex-wrap: wrap; }
}
