:root {
  --paper: #f7f6ef; --ink: #132c36; --muted: #495f62; --blue: #204ed9;
  --rule: #cbd1c8; --orange: #be4527;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d7532b; outline-offset: 4px; }
::selection { color: #fff; background: var(--blue); }
.wrap { width: min(1250px, 90%); margin-inline: auto; }
.micro, .eyebrow, .source, figcaption, .board-label, .distance, caption, thead, .plate-text .micro {
  font-family: var(--mono);
}
.micro, .eyebrow, figcaption, .board-label, thead, .plate-text .micro {
  text-transform: uppercase; letter-spacing: .09em; font-size: .71rem; font-weight: 650;
}
.skip, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 5; clip-path: none; inset: 8px auto auto 8px; padding: 12px; width: auto; height: auto; background: white; }
.mast, footer { display: flex; align-items: center; gap: 32px; }
.mast { min-height: 82px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.72rem; letter-spacing: -.068em; white-space: nowrap; text-decoration: none; }
.brand img { margin-right: 11px; }
.brand span, .section-head h2 span { color: var(--blue); }
.mast nav { display: flex; gap: 30px; margin-left: auto; }
nav a, .up, .credit { display: inline-flex; align-items: center; min-height: 44px; font-size: .93rem; font-weight: 600; text-decoration: none; }
nav a:hover, footer a:hover, .source a:hover { color: var(--blue); text-decoration: underline; }
.issue { border: 1px solid var(--rule); border-radius: 20px; padding: 8px 13px; display: inline-flex; gap: 8px; align-items: center; }
.issue i, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 100%; background: var(--orange); }
.hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(32px, 4vw, 68px) 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); line-height: 1.5; }
.eyebrow > span { display: inline-block; width: 25px; height: 3px; background: var(--orange); flex: none; }
h1 { font-size: clamp(4rem, 7.6vw, 7.1rem); line-height: .91; letter-spacing: -.074em; font-weight: 750; margin: 25px 0 23px; }
h1 .dot { color: var(--orange); }
h1 em { display: inline-block; color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: .98em; font-weight: 500; letter-spacing: -.08em; white-space: nowrap; padding-right: .12em; }
.intro, .section-head > p { color: var(--muted); font-size: clamp(1rem, 1.28vw, 1.13rem); line-height: 1.55; }
.intro { max-width: 39ch; }
.action { display: inline-flex; align-items: center; gap: 25px; padding: 13px 17px 13px 20px; margin-top: 24px; background: var(--blue); color: white; text-decoration: none; font-weight: 650; border-radius: 4px; }
.action span { line-height: 1; font-size: 1.3rem; }
.action:hover { background: #1236a8; }
.plate { min-width: 0; }
.picture { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.27; background: #007b93; }
.picture::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(1 28 41 / .77), transparent 43%); }
.picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 79% 30%; z-index: -2; }
.plate-label, .cross, .plate-text, .wave-motif { position: absolute; }
.plate-label { top: 20px; left: 20px; padding: 8px 10px; color: #102e34; background: #f6f3d9; }
.plate-label b { color: #9b341e; }
.cross { right: 18px; top: 10px; font: 300 2rem/1 var(--mono); color: #fff; }
.plate-text { left: clamp(16px, 2.5vw, 36px); bottom: clamp(18px, 2.5vw, 36px); color: white; display: grid; gap: 5px; }
.plate-text strong { font: italic 500 clamp(1.7rem, 3.5vw, 3.6rem)/1.05 Georgia, serif; letter-spacing: -.055em; }
.wave-motif { right: 24px; bottom: 23px; color: #d6f697; font: bold 2.6rem/1 Georgia, serif; letter-spacing: -.22em; }
figcaption { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); padding: 10px 0 0; font-size: .63rem; }
figcaption b { color: var(--ink); }
.styles { border-top: 1px solid var(--rule); padding: clamp(36px, 5vw, 75px) 0 clamp(52px, 7vw, 100px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 4.35rem); line-height: 1.03; letter-spacing: -.065em; margin-top: 11px; }
.section-head > p { max-width: 31ch; font-size: 1rem; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.style-card { --card-bg: #d9ebf2; --card-ink: #204eaf; border: 1px solid var(--rule); background: #fffef8; min-width: 0; }
.back { --card-bg: #e4ecca; --card-ink: #516d24; }
.breast { --card-bg: #fde2cc; --card-ink: #a24625; }
.fly { --card-bg: #e6e1f4; --card-ink: #68509a; }
.swatch { background: var(--card-bg); color: var(--card-ink); padding: 12px 15px 0; }
.swatch svg { display: block; width: 100%; height: 70px; fill: var(--card-ink); }
.trace { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thin { stroke-width: 1.4; stroke-dasharray: 3 5; }
.card-body { padding: 17px; }
.card-body h3 { font-size: clamp(1.4rem, 2.1vw, 2.05rem); letter-spacing: -.055em; margin: 0 0 9px; }
.card-body p { font-size: .98rem; line-height: 1.55; color: var(--muted); }
.card-body details { border-top: 1px solid var(--rule); margin-top: 17px; }
summary { cursor: pointer; display: flex; min-height: 45px; align-items: center; justify-content: space-between; font-size: .85rem; font-weight: 650; color: var(--blue); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 1.35rem/1 var(--mono); }
details[open] summary::after { content: "−"; }
details p { padding: 2px 0 8px; }
.records { padding: clamp(45px, 6vw, 82px) 0; background: #102e39; color: #f8f8ef; }
.records .eyebrow, .records .section-head > p { color: #c7d7d7; }
.records .eyebrow > span, .status-dot { background: #d6ee91; }
.records .section-head h2 span { color: #d6ee91; }
.board { border: 1px solid #547078; }
.board-bar { padding: 15px 24px; background: #193e4a; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-label { display: inline-flex; align-items: center; gap: 10px; }
.distance { display: inline-flex; padding: 3px; margin: 0; border: 1px solid #66828a; border-radius: 4px; min-width: 0; }
.distance label { position: relative; }
.distance label span { display: grid; place-items: center; min-height: 38px; min-width: 58px; padding: 0 8px; font-weight: 700; font-size: .82rem; border-radius: 2px; }
.distance input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.distance input:checked + span { background: #d6ee91; color: #18322f; }
.distance input:focus-visible + span { outline: 2px solid white; outline-offset: 1px; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: left; }
caption { text-align: left; padding: 20px 24px 10px; color: #c5d8d6; font-size: .83rem; }
thead { color: #b4cccc; }
th, td { padding: 18px 24px; }
thead th { padding-block: 8px 12px; font-weight: 500; }
thead th:first-child { width: 25%; }
tbody tr { border-top: 1px solid #3c5962; }
tbody th { font-size: clamp(1rem, 1.5vw, 1.35rem); letter-spacing: -.035em; }
td b, td strong, td small { display: block; }
td b { font: 600 clamp(1.7rem, 3.2vw, 3.3rem)/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.07em; color: #d6ee91; }
td strong { margin-top: 8px; font-size: 1rem; font-weight: 560; }
td small { color: #bbcecf; margin-top: 4px; font-size: .79rem; line-height: 1.35; }
.source { margin-top: 16px; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: .78rem; color: #cee0de; }
.source a:hover { color: white; }
footer { min-height: 92px; }
.brand.small { font-size: 1.27rem; }
.credit { color: var(--muted); margin-left: auto; font-size: .8rem; font-weight: 400; }
.up { font-size: .85rem; }
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .picture { aspect-ratio: 1.03; }
}
@media (max-width: 740px) {
  .wrap { width: min(91%, 620px); }
  .mast { min-height: 65px; gap: 14px; }
  .brand { font-size: 1.44rem; }
  .brand img { width: 32px; height: 32px; margin-right: 8px; }
  .mast nav { gap: clamp(13px, 4vw, 24px); }
  .issue { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 31px 0; }
  h1 { font-size: clamp(3.65rem, 10vw, 5rem); margin-block: 16px; }
  h1 br:first-of-type { display: none; }
  h1 br:first-of-type::after { content: ""; }
  .intro { max-width: 46ch; }
  .action { margin-top: 18px; }
  .picture { aspect-ratio: 1.65; }
  .plate-label { top: 12px; left: 12px; }
  .section-head { display: block; margin-bottom: 23px; }
  .section-head > p { margin-top: 12px; max-width: 44ch; }
  .cards { gap: 12px; }
  .swatch svg { height: 58px; }
  th, td { padding: 14px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .style-card { display: grid; grid-template-columns: 76px 1fr; }
  .swatch { padding: 12px 7px; display: flex; flex-direction: column; align-items: center; gap: 18px; overflow: hidden; }
  .swatch svg { width: 115px; height: 50px; transform: rotate(-67deg); margin-block: 15px; }
  .card-body { padding: 15px 15px 5px; }
  .card-body details { margin-top: 11px; }
  .board-bar { padding: 12px; }
  caption { padding: 14px; }
  .result-set thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody, tr { display: block; }
  tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  tbody th { grid-column: 1/-1; padding: 12px 14px 0; color: #fff; font-size: 1.1rem; }
  td { padding: 9px 14px 16px; }
  td::before { display: block; margin: 0 0 6px; font: .66rem/1.2 var(--mono); color: #bdd0ce; text-transform: uppercase; letter-spacing: .06em; }
  td:nth-child(2)::before { content: "Мужчины"; }
  td:nth-child(3)::before { content: "Женщины"; }
  td b { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  td strong { font-size: .91rem; }
  footer { gap: 14px; min-height: 75px; }
}
@media (max-width: 350px) {
  .wrap { width: 92%; }
  .style-card { grid-template-columns: 53px 1fr; }
  .swatch .micro { font-size: .55rem; }
  .plate-label, figcaption { font-size: .59rem; }
  .board-label { font-size: .62rem; gap: 5px; }
  td { padding-inline: 9px; }
}
@media print {
  #filters, .action, nav, .skip { display: none !important; }
  .result-set[hidden] { display: block !important; }
  .board, .style-card { break-inside: avoid; }
}
