/* ruchess.online
   Швейцарская сетка и диагональ: всё ортогонально, кроме наклона заголовков и лучей слона. */

@font-face {
  font-family: "Geologica";
  src: url("/static/fonts/geologica-n-100-900-cyr.woff2") format("woff2");
  font-weight: 100 900;
  font-style: oblique 0deg 12deg;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  src: url("/static/fonts/geologica-n-100-900-lat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: oblique 0deg 12deg;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Белопольный слон */
:root {
  --bg: #F1F2F4;
  --surface: #FFFFFF;
  --ink: #000000;
  --muted: #5C6370;
  --line: #D5D9DF;
  --sq-l: #E8EBEF;
  --sq-d: #9AA4B2;
  --ray: #2F3FE0;
  --ray-a: rgba(47, 63, 224, .17);
  --ray-b: rgba(47, 63, 224, .34);
  --on-ray: #FFFFFF;
  --frame: #000000;
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 24px);
  color-scheme: light;
}

/* Чернопольный слон */
:root[data-theme="dark"] {
  --bg: #1B1F26;
  --surface: #232833;
  --ink: #F3F5F8;
  --muted: #A0A8B5;
  --line: #343B47;
  --sq-l: #C9D0DA;
  --sq-d: #5D6878;
  --ray: #8C98FF;
  --ray-a: rgba(140, 152, 255, .3);
  --ray-b: rgba(140, 152, 255, .5);
  --on-ray: #1B1F26;
  --frame: #0E1116;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1B1F26;
    --surface: #232833;
    --ink: #F3F5F8;
    --muted: #A0A8B5;
    --line: #343B47;
    --sq-l: #C9D0DA;
    --sq-d: #5D6878;
    --ray: #8C98FF;
    --ray-a: rgba(140, 152, 255, .3);
    --ray-b: rgba(140, 152, 255, .5);
    --on-ray: #1B1F26;
    --frame: #0E1116;
    color-scheme: dark;
  }
}

/* ---------- основа ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

h1, h2, h3 {
  font-weight: 800;
  font-style: oblique 12deg;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--ray); text-decoration-thickness: 2px; }

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

::selection { background: var(--ray); color: var(--on-ray); }

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 var(--gut);
}

.small {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.only-touch { display: none; }
@media (hover: none) {
  .only-touch { display: inline; }
  .only-hover { display: none; }
}

/* ---------- кнопки ---------- */

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .12s, color .12s, border-color .12s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--main { background: var(--ink); color: var(--bg); }
.btn--main:hover { background: var(--ray); border-color: var(--ray); color: var(--on-ray); }
.btn:disabled,
.btn:disabled:hover {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}
.btn[hidden] { display: none; }

/* ---------- шапка ---------- */

.top { background: var(--surface); }

.top__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  min-height: 84px;
}

.brand {
  grid-column: 1 / 5;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.brand__logo {
  flex: none;
  width: 48px;
  height: 48px;
  margin-left: -6px;
  padding: 2px;
  border: 0;
  background: none;
  cursor: pointer;
}
.brand__fig { width: 44px; height: 44px; }
.brand__fig--b { display: none; }
[data-theme="dark"] .brand__fig--w { display: none; }
[data-theme="dark"] .brand__fig--b { display: block; }

.brand__name {
  font-size: 21px;
  font-weight: 800;
  font-style: oblique 12deg;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand__name:hover { color: var(--ink); }

.nav {
  grid-column: 5 / 11;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.theme {
  grid-column: 11 / 13;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}
.theme__name {
  margin-right: 6px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.theme__name::after { content: "Белопольный"; }
[data-theme="dark"] .theme__name::after { content: "Чернопольный"; }

.theme__sw {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
.theme__sw--l { background: var(--sq-l); }
.theme__sw--d { background: var(--sq-d); }
.theme__sw[aria-pressed="true"] { border: 3px solid var(--ink); }
.theme__sw:hover { border-color: var(--ink); }

/* ---------- первый экран ---------- */

.hero {
  background: var(--surface);
  padding: clamp(16px, 2.6vw, 40px) 0 clamp(56px, 7vw, 104px);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  column-gap: var(--gap);
}

.hero__word {
  grid-column: 1 / 7;
  grid-row: 1;
  margin: -0.06em 0 0 -0.05em;
  font-size: clamp(112px, 16.6vw, 236px);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.hero__lead {
  grid-column: 1 / 6;
  grid-row: 2;
  max-width: 30em;
  margin: 30px 0 40px;
  font-size: 21px;
  line-height: 1.45;
}

.hero__board {
  grid-column: 7 / 13;
  grid-row: 1 / 5;
  align-self: start;
}

.hero__count {
  grid-column: 1 / 6;
  grid-row: 4;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  margin-bottom: 28px;
}

.count {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.count__sub { margin-top: 6px; font-size: 17px; }
.count__hint { margin-top: 14px; font-size: 15px; color: var(--muted); }

.noscript {
  margin-top: 24px;
  font-weight: 600;
}

/* ---------- доска ---------- */

.board {
  position: relative;
  margin-bottom: 30px;
}

.board__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--frame);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.board__svg:focus-visible { outline-offset: 4px; }

.board__ranks {
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 100%;
  width: 24px;
  display: flex;
  flex-direction: column;
}
.board__files {
  position: absolute;
  top: 100%;
  left: 2px;
  right: 2px;
  height: 30px;
  display: flex;
}
.board__ranks span,
.board__files span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
}
.board__ranks span { justify-content: flex-start; padding-left: 6px; }

.sq--l { fill: var(--sq-l); }
.sq--d { fill: var(--sq-d); }
.piece { pointer-events: none; }

.tint-last { fill: var(--ray-a); }
.tint-sel { fill: var(--ray-b); }
.tint-hatch { opacity: .5; }
.hatch { fill: var(--ray); }

.dot { fill: var(--ray); }
.cap { fill: none; stroke: var(--ray); stroke-width: 7; }
.hint { fill: none; stroke: var(--ray); stroke-width: 9; }
.clash { fill: none; stroke: var(--ink); stroke-width: 7; }
.clash-line { stroke: var(--ink); stroke-width: 5; stroke-dasharray: 16 10; }

.cursor {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-dasharray: 14 9;
  pointer-events: none;
}

.ray-sq { fill: var(--ray-a); }
.ray {
  stroke: var(--ray);
  stroke-width: 5;
  stroke-linecap: square;
}

.board--blank .board__svg { cursor: default; border-width: 1px; border-color: var(--line); }
.board--blank .sq { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.board--blank .board__ranks { top: 1px; bottom: 1px; }
.board--blank .board__files { left: 1px; right: 1px; }
.board--mini { margin-bottom: 24px; }
.board--mini .board__ranks { width: 18px; }
.board--mini .board__ranks span { padding-left: 2px; }
.board--mini .board__files { height: 22px; }
.board--mini .board__ranks span,
.board--mini .board__files span { font-size: 11px; }
.mini-mark { stroke-width: 12; }
.mini-mark.is-l { fill: var(--sq-l); }
.mini-mark.is-d { fill: var(--sq-d); }
.mini-mark.is-ok { stroke: var(--ray); }
.mini-mark.is-bad { stroke: var(--ink); stroke-dasharray: 22 14; }

/* ---------- разделы ---------- */

.part__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: 28px;
  padding-bottom: clamp(72px, 8.5vw, 128px);
  border-top: 2px solid var(--ink);
}

.part__head {
  grid-column: 1 / 5;
  padding-right: 16px;
}
.part__head h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.4vw, 46px);
}
.part__head p { max-width: 34em; }
.part__head p + p { margin-top: 14px; }

.part__body {
  grid-column: 5 / 13;
  min-width: 0;
  padding-top: 6px;
}

.duo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  column-gap: calc(var(--gap) + 8px);
  align-items: start;
}

/* ---------- панели ---------- */

.panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.panel__title { font-size: 30px; }

.facts {
  display: grid;
  gap: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  column-gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts > div[hidden] { display: none; }
.facts dt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.facts dd { min-width: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }

.status {
  min-height: 3.2em;
  font-weight: 600;
  line-height: 1.45;
}
.status--good { color: var(--ray); }
.nowrap { white-space: nowrap; }
.status--quiet { min-height: 0; font-weight: 500; }
.status--quiet:empty { display: none; }

.tally {
  font-size: 30px;
  font-weight: 800;
  font-style: oblique 12deg;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.tally + .small { margin-top: -12px; }

/* ---------- цвет поля ---------- */

.cg {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  column-gap: calc(var(--gap) + 8px);
  align-items: start;
}
.cg:focus-visible { outline-offset: 8px; }

.cg__sq {
  font-size: clamp(120px, 15vw, 212px);
  font-weight: 800;
  font-style: oblique 12deg;
  line-height: 0.82;
  letter-spacing: -0.05em;
  margin: 0 0 32px;
}

.cg__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cg__btn {
  min-height: 64px;
  font-size: 18px;
  border-color: transparent;
}
.cg__btn--l { background: var(--sq-l); color: #000000; border-color: var(--line); }
.cg__btn--d { background: var(--sq-d); color: #000000; }
[data-theme="dark"] .cg__btn--l { color: #1B1F26; border-color: transparent; }
[data-theme="dark"] .cg__btn--d { color: #F3F5F8; }
.cg__btn--l:hover,
.cg__btn--d:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cg__time {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
}
.cg__bar {
  flex: 1;
  height: 6px;
  background: var(--line);
  overflow: hidden;
}
.cg__bar span {
  display: block;
  height: 100%;
  background: var(--ray);
  transform-origin: left center;
}
.cg__clock {
  min-width: 3ch;
  font-size: 17px;
  font-weight: 700;
}

.cg__side { padding-left: 24px; }
.cg__side .board { max-width: 208px; }
.cg__side .facts dt { white-space: nowrap; }
.cg__side .facts > div { grid-template-columns: minmax(0, 1fr) auto; }

.caption {
  max-width: 40em;
  margin-top: 36px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

/* ---------- шахматы-960 ---------- */

.f960__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-bottom: 22px;
}
.f960__num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  font-style: oblique 12deg;
  line-height: 1;
  letter-spacing: -0.03em;
}
.f960__code {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.strip {
  position: relative;
  margin-left: 0;
  margin-bottom: 34px;
}
.strip__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 224;
}
.strip__ranks {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 24px;
  display: grid;
  grid-template-rows: 100fr 24fr 100fr;
}
.strip__ranks span:last-child { grid-row: 3; }
.strip__ranks span,
.strip__files span {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.strip__ranks span { padding-left: 6px; }
.strip__files {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
}
.strip__files span { flex: 1; justify-content: center; }
.strip .sq--l,
.strip .sq--d { stroke: none; }
.strip__rank { fill: none; stroke: var(--frame); stroke-width: 4; }

.f960__desc { max-width: 40em; min-height: 3.1em; }

.f960__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 22px;
}
.f960__form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.f960__form label { font-size: 15px; color: var(--muted); margin-right: 4px; }
.f960__form input {
  width: 5.2em;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  font-size: 17px;
  font-weight: 600;
}
.f960__form input:focus-visible { border-color: var(--ray); outline-offset: 0; outline-width: 1px; }
.f960 .status { margin-top: 12px; }

/* ---------- лента ---------- */

.wire__table,
.names {
  width: 100%;
  border-collapse: collapse;
}
.wire__table th,
.names th {
  padding: 0 20px 10px 0;
  border-bottom: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}
.wire__table td,
.names td {
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.wire__table th:last-child,
.wire__table td:last-child,
.names th:last-child,
.names td:last-child { padding-right: 0; }

.wire__src {
  width: 10.5em;
  font-size: 14px;
  color: var(--muted);
}
.wire__title a {
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.wire__title a:hover { text-decoration: underline; }
.wire__when {
  width: 8.5em;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.wire__empty:empty { display: none; }
.wire__empty { font-size: 19px; font-weight: 500; max-width: 30em; }
#wire-stamp { margin-top: 16px; }

.names { max-width: 760px; }
.names td:nth-child(2) {
  font-size: 21px;
  font-weight: 700;
  font-style: oblique 12deg;
  letter-spacing: -0.01em;
}
.names td:first-child { color: var(--muted); width: 9.5em; }

/* ---------- подвал ---------- */

.foot { border-top: 0; }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: 28px;
  padding-bottom: 56px;
  border-top: 2px solid var(--ink);
}
.foot__name {
  grid-column: 1 / 5;
  font-weight: 700;
  padding-right: 16px;
}
.foot__credits {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px var(--gap);
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.lost {
  background: var(--surface);
  padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 104px);
}
.lost__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.lost__text { grid-column: 1 / 7; }
.lost__title {
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0 0 32px -0.04em;
}
.lost__text p { max-width: 28em; font-size: 19px; margin-bottom: 28px; }
.lost__board { grid-column: 8 / 13; }
.lost__board .board__svg { cursor: default; }
a.brand__logo { display: block; }
.lost__code {
  font-size: 34px;
  font-weight: 800;
  font-style: oblique 12deg;
  fill: var(--ink);
}
.lost__target { fill: none; stroke: var(--ink); stroke-width: 6; stroke-dasharray: 16 10; }
.fig-b { display: none; }
[data-theme="dark"] .fig-w { display: none; }
[data-theme="dark"] .fig-b { display: inline; }

/* ---------- адаптив ---------- */

@media (min-width: 1100px) {
  .panel .btns { flex-direction: column; align-items: stretch; }
}

@media (max-width: 1180px) {
  .theme__name { display: none; }
  .nav { grid-column: 5 / 12; gap: 4px 20px; }
  .theme { grid-column: 12 / 13; }
}

/* Уже 1100px боковой колонке не хватает места: доска, под ней панель. */
@media (max-width: 1099px) {
  .duo,
  .cg { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .duo > .board { max-width: 520px; }
  .cg__side {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-left: 0;
    margin-top: 16px;
    max-width: 560px;
  }
  .cg__side .board { margin-left: 22px; max-width: none; }
}

@media (max-width: 899px) {
  .top__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .brand { grid-column: 1; }
  .theme { grid-column: 2; }
  .nav { grid-column: 1 / -1; grid-row: 2; gap: 0 18px; }
  .nav a { font-size: 14px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .hero__word,
  .hero__lead,
  .hero__board,
  .hero__count { grid-column: 1; grid-row: auto; }
  .hero__word { font-size: clamp(104px, 33vw, 200px); }
  .hero__lead { font-size: 18px; margin: 20px 0 26px; }
  .count { font-size: 20px; }
  .hero__count { margin-bottom: 0; }

  .board { margin-left: 22px; }
  .board__ranks { width: 22px; }
  .board__ranks span { padding-left: 0; }

  .part__grid { grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
  .part__head,
  .part__body { grid-column: 1; }
  .part__head { padding-right: 0; margin-bottom: 28px; }

  .duo > .board { max-width: 560px; }
  .cg__side { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
  .cg__side .board { margin-left: 18px; }

  .strip { margin-left: 22px; }
  .strip__ranks { width: 22px; }
  .strip__ranks span { padding-left: 0; }

  .foot__grid { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .foot__name,
  .foot__credits { grid-column: 1; }

  .lost__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .lost__text,
  .lost__board { grid-column: 1; }
  .lost__board { max-width: 420px; }
}

@media (max-width: 599px) {
  body { font-size: 16px; }
  .brand__name { font-size: 19px; }
  .theme__sw { width: 30px; height: 30px; }
  .part__head h2 { font-size: 34px; }
  .panel__title,
  .tally { font-size: 26px; }
  .foot__credits { grid-template-columns: minmax(0, 1fr); }

  .wire__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wire__table,
  .wire__table tbody { display: block; }
  .wire__table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 12px 0 14px;
    border-bottom: 1px solid var(--line);
  }
  .wire__table tr:first-child { border-top: 2px solid var(--ink); }
  .wire__table td { display: block; padding: 0; border: 0; width: auto; }
  .wire__src { grid-column: 1; grid-row: 1; }
  .wire__when { grid-column: 2; grid-row: 1; }
  .wire__title { grid-column: 1 / -1; grid-row: 2; padding-top: 4px !important; }

  .names td:first-child { width: auto; }
  .names th,
  .names td { padding-right: 12px; }
  .names td:nth-child(2) { font-size: 19px; }

  .cg__sq { font-size: clamp(112px, 36vw, 160px); }
  .cg__side { grid-template-columns: 128px minmax(0, 1fr); gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
