/* Nunito: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-400-latin.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/nunito-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/nunito-600-latin.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-700-latin.woff2') format('woff2');
  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 {
  --ink: #05182A;
  --ink-2: #041220;
  --deck: #0B2B47;
  --deck-2: #0E3555;
  --paper: #EFF4F8;
  --paper-2: #E2EBF2;
  --text: #0A2337;
  --accent: #E9A13B;
  --accent-dk: #C7842A;
  --foam: #4FB6C6;
  --muted: #8BA8BF;
  --line: #1B4568;
  --gut: clamp(14px, 4vw, 30px);
  --r: 10px;
}

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

/* Страховка для атрибута hidden: у элементов с собственным display правило
   браузера по умолчанию проигрывает по специфичности, и скрытая разметка
   остаётся на экране до запуска скрипта или навсегда без него. */
[hidden] { display: none !important; }

html {
  scrollbar-color: var(--line) var(--ink-2);
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--ink-2); }
html::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
  border: 3px solid var(--ink-2);
}
html::-webkit-scrollbar-thumb:hover { background: var(--foam); }

body {
  margin: 0;
  background: var(--ink);
  color: #D8E6F1;
  font: 400 16px/1.65 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-text-size-adjust: 100%;
}

/* Глубина воды: два очень мягких пятна, не мешающие тексту */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(79, 182, 198, .14), transparent 70%),
    radial-gradient(900px 600px at 96% 4%, rgba(233, 161, 59, .08), transparent 68%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--foam); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.jump {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #1A1306;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 60;
}
.jump:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gut);
}
.wrap--mid { max-width: 780px; }

/* --- Шапка: мостик ------------------------------------------------------- */
.bridge {
  position: relative;
  background: linear-gradient(180deg, rgba(4, 18, 32, .96), rgba(5, 24, 42, .88));
  border-bottom: 1px solid var(--line);
}
.bridge__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.pennant {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.pennant__ic { flex: 0 0 auto; color: var(--accent); }
.pennant__txt { min-width: 0; }
.pennant__name {
  display: block;
  font-size: clamp(15px, 3.6vw, 18px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #F2F8FC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pennant__sub {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 620px) { .pennant__sub { display: none; } }

.helm {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: #DCEAF4;
  border-radius: 999px;
  padding: 12px 16px;
  font: 600 14px/1 'Nunito', sans-serif;
  cursor: pointer;
}
.helm__bars {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.sail { flex: 0 0 auto; }
.sail__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}
.sail__a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  color: #CDDFEC;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.sail__a:hover { color: #fff; border-color: var(--line); background: rgba(79, 182, 198, .1); }

.bridge.is-tight .bridge__row { flex-wrap: wrap; }
.bridge.is-tight .sail { flex: 1 1 100%; padding-bottom: 8px; }
.bridge.is-tight .sail__list { display: grid; gap: 2px; }
.bridge.is-tight .sail__a {
  border-radius: 8px;
  padding: 11px 12px;
  border-color: var(--line);
  background: rgba(11, 43, 71, .7);
}

/* --- Хлебные крошки ------------------------------------------------------ */
.rope {
  border-bottom: 1px solid rgba(27, 69, 104, .6);
  background: rgba(4, 18, 32, .55);
}
.rope__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--muted);
}
.rope__i + .rope__i::before { content: '·'; padding-right: 6px; opacity: .7; }
.rope__i a { color: #A9C6DA; text-decoration: none; }
.rope__i a:hover { color: var(--foam); }

/* --- Типографика -------------------------------------------------------- */
.h1 {
  font-size: clamp(25px, 6.2vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #F4FAFD;
}
.h1--tight { font-size: clamp(23px, 5.4vw, 36px); }
.h2 {
  font-size: clamp(20px, 4.2vw, 28px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #F0F7FB;
}
.h2--mark { display: flex; align-items: center; gap: 10px; }
.h2--mark::before {
  content: '';
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(233, 161, 59, .18);
}

.kick {
  font-size: 12.5px;
  max-width: 80ch;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.lead {
  margin-top: 14px;
  font-size: clamp(16px, 2.6vw, 19px);
  line-height: 1.6;
  color: #BFD4E3;
  max-width: 62ch;
}
.text {
  color: var(--foam);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(79, 182, 198, .5);
}
.text:hover { color: #86D6E2; border-bottom-color: #86D6E2; }

.band { padding: clamp(34px, 6vw, 62px) 0; }
.band--deck {
  background: linear-gradient(180deg, rgba(11, 43, 71, .85), rgba(11, 43, 71, .35));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 22px;
}

/* --- Кнопки -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #1C1305;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font: 700 15px/1.2 'Nunito', sans-serif;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}
.btn:hover { background: #F2B45A; }
.btn--lg { padding: 15px 26px; font-size: 16.5px; }
.btn--sm { padding: 9px 13px; font-size: 13.5px; border-radius: 7px; }
.btn--wide { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(10, 35, 55, .35);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(10, 35, 55, .07); }

/* --- Показания приборов ------------------------------------------------- */
.gauges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.gauges__i {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 14px;
  background: rgba(4, 18, 32, .5);
}
.gauges__i b {
  display: block;
  font-size: clamp(21px, 4.4vw, 27px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--accent);
}
/* Клетка со словом вместо числа: длинный город разрывался по буквам. */
.gauges__i--word b { font-size: clamp(15px, 2vw, 19px); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.gauges__i span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
/* На самых узких экранах две колонки приборов ломают длинные слова
   вроде названия города пополам — там удобнее одна колонка. */
@media (max-width: 380px) {
  .gauges { grid-template-columns: minmax(0, 1fr); }
}

/* --- Большая карточка матча ------------------------------------------ */
.pass {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 260px);
  grid-template-areas: 'head seam stub' 'body seam stub';
  grid-template-rows: min-content 1fr;
  align-content: start;
  background: var(--paper);
  color: var(--text);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .4);
  -webkit-mask-image: linear-gradient(#000 0 0), radial-gradient(circle at 5px 9px, transparent 4.2px, #000 4.7px);
  -webkit-mask-size: 100% calc(100% - 9px), 10px 9px;
  -webkit-mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-image: linear-gradient(#000 0 0), radial-gradient(circle at 5px 9px, transparent 4.2px, #000 4.7px);
  mask-size: 100% calc(100% - 9px), 10px 9px;
  mask-position: top left, bottom left;
  mask-repeat: no-repeat, repeat-x;
}
.pass__head { grid-area: head; min-width: 0; padding: clamp(18px, 3.4vw, 28px) clamp(18px, 3.4vw, 28px) 0; }
.pass__body { grid-area: body; align-self: start; min-width: 0; padding: 0 clamp(18px, 3.4vw, 28px) clamp(18px, 3.4vw, 28px); }
.pass__seam { grid-area: seam; }
.pass__stub { grid-area: stub; }
.pass__tag {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7A6026;
}
.pass__route {
  margin-top: 6px;
  font-size: clamp(21px, 4.6vw, 31px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #082033;
}
.pass__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.pass__grid > div { min-width: 0; }
.pass__grid dt {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5E7590;
}
.pass__grid dd {
  margin-top: 2px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.pass__grid dd a { color: #0B5A8E; }
.pass__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #55708B;
  max-width: 58ch;
}
.pass__seam {
  position: relative;
  background: repeating-linear-gradient(180deg, #A8BFD1 0 6px, transparent 6px 12px);
}
.pass__seam::before, .pass__seam::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.pass__seam::before { top: 0; }
.pass__seam::after { top: 100%; }
.pass__stub {
  min-width: 0;
  padding: clamp(18px, 3.4vw, 26px);
  background: var(--paper-2);
  display: grid;
  gap: 12px;
  align-content: start;
}
/* Все картинки сети приводятся сборкой к 3:2, поэтому рамке достаточно той же
   пропорции: ни полей по краям, ни срезанного названия на заставке. */
.pass__pic {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.pass__price {
  font-size: clamp(22px, 4.6vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  color: #082033;
}
.pass__price small { display: block; font-size: 12px; font-weight: 600; color: #5E7590; letter-spacing: .06em; text-transform: uppercase; }
.bars {
  height: 34px;
  background: repeating-linear-gradient(90deg,
    #0A2337 0 2px, transparent 2px 4px,
    #0A2337 4px 5px, transparent 5px 9px,
    #0A2337 9px 12px, transparent 12px 14px);
  opacity: .65;
  border-radius: 2px;
}
.bars--thin { height: 22px; }

/* --- Карточка матча в списках ------------------------------------------- */
.stack { display: grid; gap: 14px; }

.tkt {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1px minmax(0, 1fr) auto;
  background: var(--paper);
  color: var(--text);
  border-radius: 11px;
  overflow: visible;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  -webkit-mask-image: linear-gradient(#000 0 0), radial-gradient(circle at 5px 8px, transparent 3.8px, #000 4.3px);
  -webkit-mask-size: 100% calc(100% - 8px), 10px 8px;
  -webkit-mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-image: linear-gradient(#000 0 0), radial-gradient(circle at 5px 8px, transparent 3.8px, #000 4.3px);
  mask-size: 100% calc(100% - 8px), 10px 8px;
  mask-position: top left, bottom left;
  mask-repeat: no-repeat, repeat-x;
}
.tkt--home { background: linear-gradient(90deg, #FBF3E4 0 104px, var(--paper) 104px); }

.tkt__stub {
  min-width: 0;
  padding: 14px 10px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  display: grid;
  align-content: center;
  gap: 1px;
}
.tkt__day {
  font-size: clamp(27px, 6vw, 34px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #082033;
}
.tkt__mon { font-size: 12.5px; font-weight: 600; color: #5E7590; }
.tkt__wd {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--accent-dk);
}
.tkt__seam {
  position: relative;
  background: repeating-linear-gradient(180deg, #A8BFD1 0 5px, transparent 5px 10px);
}
.tkt__seam::before, .tkt__seam::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.tkt__seam::before { top: 0; }
.tkt__seam::after { top: 100%; }

.tkt__body { min-width: 0; padding: 14px 16px 18px; }
.tkt__kind {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6C86A0;
}
.tkt--home .tkt__kind { color: #8A6A1F; }
.tkt__title {
  margin-top: 3px;
  font-size: clamp(17px, 3.4vw, 20px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.015em;
}
.tkt__title a { color: #082033; text-decoration: none; }
.tkt__title a:hover { color: #0B5A8E; text-decoration: underline; }
.tkt__where { margin-top: 4px; font-size: 13.5px; color: #55708B; }
.tkt__more {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tkt__dt {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(10, 35, 55, .08);
  color: #3F5A75;
}
.tkt__end {
  min-width: 0;
  padding: 14px 16px 18px;
  display: grid;
  gap: 9px;
  align-content: center;
  justify-items: end;
  text-align: right;
  border-left: 1px dashed rgba(10, 35, 55, .18);
  background: rgba(10, 35, 55, .035);
}
.tkt__price { font-size: 13px; color: #55708B; white-space: nowrap; }
.tkt__price b { font-size: 18px; font-weight: 700; color: #082033; }

@media (max-width: 720px) {
  .tkt {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1px auto auto;
  }
  .tkt--home { background: var(--paper); border-left: 5px solid var(--accent); }
  .tkt__stub {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
    padding: 13px 15px 9px;
  }
  .tkt__wd { margin: 0; margin-left: auto; }
  .tkt__seam {
    height: 1px;
    background: repeating-linear-gradient(90deg, #A8BFD1 0 5px, transparent 5px 10px);
  }
  .tkt__seam::before, .tkt__seam::after { top: 50%; left: auto; }
  .tkt__seam::before { left: 0; transform: translate(-50%, -50%); }
  .tkt__seam::after { right: 0; left: auto; transform: translate(50%, -50%); }
  .tkt__body { padding: 12px 15px 4px; }
  .tkt__end {
    border-left: none;
    border-top: 1px dashed rgba(10, 35, 55, .18);
    justify-items: stretch;
    text-align: left;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px 15px 17px;
  }
  .pass { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'stub' 'seam' 'body'; }
  .pass__head { padding-bottom: clamp(14px, 3vw, 20px); }
  .pass__body { padding-top: clamp(14px, 3vw, 20px); }
  .pass__pic { order: 3; }
  .pass__seam {
    height: 1px;
    background: repeating-linear-gradient(90deg, #A8BFD1 0 6px, transparent 6px 12px);
  }
  .pass__seam::before, .pass__seam::after { top: 50%; left: auto; }
  .pass__seam::before { left: 0; transform: translate(-50%, -50%); }
  .pass__seam::after { right: 0; left: auto; transform: translate(50%, -50%); }
  .pass__stub { grid-template-columns: minmax(0, 1fr); }
}

/* --- Часовые пояса ------------------------------------------------------ */
.zones {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.zones__i {
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--foam);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(4, 18, 32, .45);
}
.zones__i--home { border-left-color: var(--accent); background: rgba(233, 161, 59, .1); }
.zones__t { display: block; font-size: 20px; font-weight: 700; color: #F2F8FC; line-height: 1.1; }
.zones__c { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* --- Подборки расписания --------------------------------------------------- */
.cuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.cuts__col { min-width: 0; }
.cuts__head {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.cuts__list { display: grid; gap: 6px; margin-top: 11px; }
.cuts__list--flow { display: flex; flex-wrap: wrap; gap: 7px; }
.cuts__a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: #D4E4F0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 43, 71, .45);
  font-size: 14.5px;
}
.cuts__a span { min-width: 0; }
.cuts__a b { flex: 0 0 auto; color: var(--accent); }
.cuts__a:hover { border-color: var(--foam); color: #fff; }

.flag {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #D4E4F0;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 43, 71, .5);
}
.flag b { color: var(--accent); }
.flag:hover { border-color: var(--foam); color: #fff; }
.flag--alt { border-style: dashed; }

/* --- Бортовой журнал (usp) ---------------------------------------------- */
.logbook { display: grid; gap: 14px; margin-top: 24px; }
.logbook__i {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(11, 43, 71, .5);
}
.logbook__n {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  padding-top: 3px;
  border-right: 1px solid var(--line);
}
.logbook__t { font-size: 17px; font-weight: 700; color: #F0F7FB; }
.logbook__x { margin-top: 5px; font-size: 14.5px; line-height: 1.6; color: #B6CCDD; }

/* --- Блог: полки -------------------------------------------------------- */
.shelf { display: grid; gap: 12px; margin-top: 24px; }
.shelf__i {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--foam);
  border-radius: var(--r);
  background: rgba(11, 43, 71, .45);
}
.shelf__t { font-size: 18px; font-weight: 700; line-height: 1.25; }
.shelf__t a { color: #F0F7FB; text-decoration: none; }
.shelf__t a:hover { color: var(--foam); }
.shelf__x { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: #B0C7D9; }

/* --- Фильтры ------------------------------------------------------------ */
.sieve {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  padding: 15px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: rgba(4, 18, 32, .45);
}
.sieve__g { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.sieve__lbl {
  flex: 1 0 100%;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
}
.pin {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #C6DAE8;
  font: 600 13.5px/1 'Nunito', sans-serif;
  padding: 12px 14px;
  cursor: pointer;
}
.pin:hover { border-color: var(--foam); color: #fff; }
.pin.is-on { background: var(--accent); border-color: var(--accent); color: #1C1305; }
.nothing {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: #B6CCDD;
  font-size: 15px;
}

/* --- Страницы ----------------------------------------------------------- */
.page { padding: clamp(26px, 5vw, 48px) 0 clamp(20px, 4vw, 34px); }
.page__count {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.page__addr { margin-top: 10px; font-size: 15px; color: #B6CCDD; }
.page__after { margin-top: 26px; font-size: 15px; color: #B6CCDD; }

.two {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
@media (min-width: 900px) {
  .two { grid-template-columns: minmax(0, 1fr) 306px; gap: 30px; }
}
.two__main { min-width: 0; }
.two__side { min-width: 0; display: grid; gap: 12px; align-content: start; }

.crate {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px 16px;
  background: rgba(11, 43, 71, .55);
}
.crate--buy { border-color: rgba(233, 161, 59, .55); background: rgba(233, 161, 59, .09); }
.crate__head {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.crate__price { font-size: 26px; font-weight: 700; color: #F4FAFD; line-height: 1.1; }
.crate__when { margin-top: 3px; font-size: 14px; color: #B6CCDD; }
.crate__txt { margin-top: 7px; font-size: 14.5px; line-height: 1.6; color: #C0D5E4; }
.crate .btn { margin-top: 12px; }

.manifest { margin-top: 24px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.manifest__r {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 4px 14px;
  padding: 11px 15px;
  background: rgba(5, 24, 42, .92);
}
.manifest__r dt { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.manifest__r dd { font-size: 15px; color: #DDEBF5; }
@media (max-width: 560px) {
  .manifest__r { grid-template-columns: minmax(0, 1fr); }
}

.warn {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(233, 161, 59, .5);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(233, 161, 59, .1);
  font-size: 15px;
  line-height: 1.6;
  color: #F0DDBD;
}

/* --- Даты в продаже ----------------------------------------------------- */
.whens { margin-top: 26px; }
.whens__list { display: grid; gap: 9px; margin-top: 14px; }
.whens__i {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(11, 43, 71, .5);
}
.whens__d { min-width: 0; font-size: 15px; color: #CFE1EE; }
.whens__d b { color: #F4FAFD; }
.whens__more { margin-top: 10px; font-size: 13.5px; color: var(--muted); max-width: 70ch; }

/* --- Проза -------------------------------------------------------------- */
.prose { margin-top: 26px; font-size: 16.5px; line-height: 1.72; color: #C9DCE9; }
.prose h2 {
  margin: 30px 0 10px;
  font-size: clamp(19px, 3.6vw, 24px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #F0F7FB;
}
.prose h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; color: #EAF3F9; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 0; display: grid; gap: 8px; }
.prose li { padding-left: 22px; position: relative; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
}
.prose strong { color: #F2F8FC; }
.prose a { color: var(--foam); }
.prose--wide { max-width: 70ch; }

/* --- Вопросы ------------------------------------------------------------ */
.asks { display: grid; gap: 10px; margin-top: 26px; }
.asks__d {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(11, 43, 71, .5);
}
.asks__d[open] { border-color: rgba(233, 161, 59, .45); }
.asks__q {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 700;
  color: #F0F7FB;
  list-style: none;
}
.asks__q::-webkit-details-marker { display: none; }
.asks__n { flex: 0 0 auto; color: var(--accent); font-size: 14px; }
.asks__a {
  padding: 0 16px 16px 43px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #C0D5E4;
}
@media (max-width: 520px) { .asks__a { padding-left: 16px; } }

/* --- Липкая кнопка ------------------------------------------------------ */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(4, 18, 32, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, .4);
}
.dock__price { font-size: 15px; font-weight: 700; color: #F4FAFD; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { body[data-page-type="event"] .hold { padding-bottom: 100px; } }

/* --- Подвал ------------------------------------------------------------- */
.hold {
  margin-top: clamp(30px, 5vw, 56px);
  padding: clamp(26px, 4vw, 44px) 0 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 18, 32, .6), rgba(4, 18, 32, .95));
}
.hold__tally {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hold__tally b { color: var(--accent); }
.hold__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 22px;
}
.hold__col { min-width: 0; }
.hold__name { font-size: 16px; font-weight: 700; color: #EAF3F9; }
.hold__head {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.hold__note { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: #9EB9CD; }
.hold__links { margin-top: 10px; display: grid; gap: 6px; }
.hold__links a { color: #C0D5E4; text-decoration: none; font-size: 14.5px; }
.hold__links a:hover { color: var(--foam); }

/* --- Карта портов (страница площадки / выездов) -------------------------- */
.ports { display: grid; gap: 8px; margin-top: 16px; }
.ports__i {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 43, 71, .45);
  font-size: 14.5px;
}
.ports__i b { color: #EAF3F9; }
.ports__i span { color: var(--muted); }

/* Три пункта пользы под первым экраном: чем страница помогает читателю */
.band--thin { padding: clamp(22px, 3.4vw, 36px) 0; }
.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gains__i { padding-top: 13px; border-top: 3px solid var(--accent); }
.gains__t { font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.gains__x { margin-top: 8px; font-size: 14.5px; line-height: 1.55; opacity: .85; }
@media (max-width: 820px) { .gains { grid-template-columns: 1fr; gap: 16px; } }

/* Название сайта не даёт кнопке меню встать с ним в одну строку:
   у гибкой основы auto длинная подпись переносит кнопку на вторую строку. */
@media (max-width: 760px) {
  .pennant { flex: 1 1 0; }
  /* Название переносится по словам: многоточие вместо половины
     названия сайта хуже второй строки. */
  .pennant__name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
}
