:root {
  color-scheme: dark;
  --base: #11192b;
  --panel: #1a263d;
  --ink: #e3ebff;
  --muted: #aebdda;
  --accent: #adc8ff;
  --line: #435677;
  --faint: #30415e;
  font: 100%/1.4 'Segoe UI', Arial, sans-serif;
  background: var(--base);
  color: var(--ink);
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse at 70% -10%, #283853, var(--base) 58%);
}
::selection { color: #102039; background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main {
  max-width: 1230px;
  margin-inline: auto;
  padding: clamp(24px, 3.4vw, 50px) clamp(12px, 3vw, 38px) 48px;
}
.mast { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.product {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(44px, 6vw, 81px); font-weight: 300; line-height: .98; letter-spacing: -.06em; }
.filters {
  display: grid;
  grid-template-columns: minmax(140px, 1.12fr) minmax(170px, 1fr) minmax(170px, 1.02fr) minmax(165px, .96fr);
  align-items: end;
  min-width: 0;
  gap: 14px;
  margin: 20px 0 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(26 38 61 / 72%);
}
.field { min-width: 0; }
.label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .025em; }
button, select { font: inherit; }
button, select {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background-color: var(--panel);
  cursor: pointer;
  touch-action: manipulation;
}
select { width: 100%; padding-inline: 10px; font-size: 1rem; font-weight: 600; }
.pair { display: grid; gap: 5px; grid-template-columns: repeat(2, 1fr); }
.pair button { padding: 0 6px; font-size: .84rem; font-weight: 700; }
.pair [aria-pressed='true'] { border-color: var(--accent); color: #102039; background-color: var(--accent); }
.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgb(22 34 55 / 78%); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
caption { padding: 15px 16px; text-align: left; font-size: .88rem; font-weight: 650; }
caption span { color: var(--muted); font-size: .78rem; font-weight: 450; }
thead { background: rgb(173 200 255 / 7%); }
thead th {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .70rem;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}
th, td { text-align: right; }
th:first-child { width: 37%; text-align: left; }
tbody tr:nth-child(even) { background: rgb(173 200 255 / 3.5%); }
tbody th, td { height: 54px; padding: 9px 16px; border-bottom: 1px solid var(--faint); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { overflow-wrap: anywhere; font-size: .97rem; font-weight: 600; }
td { white-space: nowrap; font-size: clamp(16px, 1.7vw, 20px); font-weight: 700; }
.medium { color: var(--accent); }
td small { display: inline-block; color: var(--muted); font-size: .73rem; font-weight: 600; }
footer { margin-top: 16px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
noscript p { color: var(--muted); }
@media (max-width: 880px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  main { padding: 20px 12px 32px; }
  .mast { padding-bottom: 15px; }
  .filters { margin: 14px 0; padding: 12px; gap: 12px; }
  .label { margin-bottom: 5px; }
  th:first-child { width: 34%; }
  thead th { padding: 11px 6px; font-size: .66rem; letter-spacing: 0; }
  tbody th, td { height: 50px; padding: 6px; }
  tbody th { font-size: .84rem; }
  td { font-size: 1rem; }
  td small { display: block; font-size: .68rem; line-height: 1.2; }
  caption { padding: 12px; }
  caption span { display: block; margin-top: 2px; }
}
@media (max-width: 460px) {
  .filters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .field { display: grid; grid-template-columns: minmax(82px, .6fr) minmax(0, 1.4fr); align-items: center; gap: 8px; }
  .label { margin: 0; }
}
@media (forced-colors: active) {
  .pair [aria-pressed='true'] { outline: 2px solid Highlight; outline-offset: -3px; }
}
