/* Публичные страницы Symbat: главная и страница турнира. */

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(244, 247, 243, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--ink); background: var(--mint); }
.nav--dark { background: rgba(6, 48, 42, .92); color: #EAF4EF; }
.nav--dark .nav__links a { color: #A9C7BD; }
.nav--dark .nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.section { padding-block: 96px; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); }
.section h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section__sub { margin-top: 14px; max-width: 60ch; font-size: 18px; color: var(--muted); }

.footer { padding-block: 48px; background: var(--carpet-deep); color: #A9C7BD; font-size: 14.5px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.footer .logo { color: #EAF4EF; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.footer__cols div { display: grid; gap: 8px; align-content: start; }
.footer__cols b { color: #EAF4EF; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__in { gap: 12px; }
  .nav__in .btn--soft { display: none; }
  .nav__in .btn--primary { margin-left: auto; }
  .section { padding-block: 64px; }
}

/* ---------------------------------------------------------------- страница турнира */
.t-hero { background: var(--carpet); color: #EAF4EF; padding-block: 48px 40px; }
.t-hero h1 { font-size: clamp(28px, 4.4vw, 48px); margin: 14px 0 12px; }
.t-hero .muted { color: #A9C7BD; }
.t-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 8px; color: #CFE5DC; font-weight: 600; }
.t-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.t-actions .btn--ghost { color: #EAF4EF; }
.onair { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r); background: #FFF3D9; margin-top: 28px; }
.onair svg { width: 34px; height: 34px; color: #8A6A1F; flex: none; }
.onair b { font-family: var(--f-display); font-weight: 600; }
.t-tabs { display: flex; gap: 6px; margin: 28px 0 18px; overflow-x: auto; scrollbar-width: none; }
.t-tabs button { white-space: nowrap; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--white); font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.t-tabs button[aria-selected="true"] { background: var(--carpet); color: #fff; box-shadow: none; }
.res-cat { margin-top: 26px; }
.res-cat > h2 { font-size: 24px; margin-bottom: 14px; }
.res-block { padding: 18px 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.res-block + .res-block { margin-top: 14px; }
.res-block h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.res-block h3 svg { width: 24px; height: 24px; color: var(--emerald); }
.who-cell b { display: block; }
.who-cell span { font-size: 13px; color: var(--muted); }
.flash { animation: flash 1.6s ease; }
@keyframes flash { from { background: #FFF1C9; } }

@media print {
  .nav, .t-actions, .t-tabs, .footer, .onair, .no-print { display: none !important; }
  body { background: #fff; }
  .t-hero { background: #fff; color: #000; padding: 0 0 12px; }
  .t-hero .muted, .t-facts { color: #333; }
  .res-block { box-shadow: none; padding: 0; break-inside: avoid; }
  [data-pane] { display: block !important; }
  .table { font-size: 12px; }
}
