/* Общая оболочка TotoBB. Шапка в потоке документа и не едет за прокруткой. */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  scrollbar-color: #c5c9d1 #f4f5f7;
}
:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f7f8fa;
  --line: #e3e6eb;
  --text: #12141a;
  --muted: #5d6672;
  --accent: #e23b12;
  --accent-2: #12141a;
  --green: #0c8f5b;
  --yellow: #9a6700;
  --red: #d21b46;
  --x: #1d4ed8;
}
body {
  background: #fff !important;
  color: #12141a !important;
  font-family: "Instrument Sans", "Segoe UI", sans-serif !important;
}
header {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  padding: 0 22px !important;
  min-height: 52px;
  display: flex;
  align-items: center;
  background: #fff !important;
  border-bottom: 1px solid #eceef2 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
header:not(.appbar) { display: block; }
header h1 {
  margin: 0 !important;
  font-family: "Instrument Sans", "Segoe UI", sans-serif !important;
  font-size: 20px !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  color: #12141a !important;
}
.hero h1 {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #12141a;
}
header .sub { color: #5d6672; font-size: 13px; margin-top: 2px; }
.header-top { align-items: center !important; }
.auth-link, .user-pill {
  background: #fff;
  border-radius: 8px !important;
}
a { color: #e23b12; }
.appbar {
  position: relative !important;
  z-index: 30 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
}
.appbar-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  color: #12141a;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-size: 15px;
  flex: 0 0 auto;
}
.appbar-mark img {
  width: 22px;
  height: 22px;
  display: block;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: #12141a;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}
.auth-link {
  background: transparent;
  border: 0 !important;
  color: #12141a !important;
  padding: 8px 8px !important;
}
.hero { margin: 8px 0 28px; max-width: none; }
.hero-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.hero-lead {
  margin: 14px 0 0;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.45;
  color: #3f4652;
}
.hero .office-switch { margin-top: 18px; }
.guest-banner { display: none !important; }
.raw-lines { margin: 8px 0 16px; }
.raw-lines summary { cursor: pointer; color: #5d6672; font-size: 14px; font-weight: 600; }
.appbar-title {
  font-size: 13px !important;
  font-weight: 520 !important;
  color: #5d6672 !important;
}
.office-switch {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 3px;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
}
.office-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #5d6672;
  font: 600 14px "Instrument Sans", sans-serif;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.office-btn.is-on { background: #12141a; color: #fff; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
  background: #fff;
  color: #12141a;
  font: 600 13px "Instrument Sans", "Segoe UI", sans-serif;
  cursor: pointer;
}
.nav-toggle__bars {
  width: 14px;
  height: 10px;
  background:
    linear-gradient(#12141a, #12141a) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(#12141a, #12141a) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(#12141a, #12141a) 0 100% / 100% 1.5px no-repeat;
}
.appbar .nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}
.appbar .nav-tab {
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #3c424c !important;
  padding: 6px 10px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.appbar .nav-tab:hover { color: #12141a !important; background: #f4f5f7 !important; }
.appbar .nav-tab.active {
  background: transparent !important;
  color: #12141a !important;
  font-weight: 650 !important;
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}
.nav-tools::before {
  content: "";
  width: 1px;
  height: 18px;
  margin-right: 4px;
  background: #e3e6eb;
}
.nav-account { position: relative; }
.nav-account__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 8px 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #12141a;
  cursor: pointer;
}
.nav-account__btn:hover { background: #f4f5f7; }
.nav-account__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #12141a;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}
.nav-account__chevron { color: #5d6672; }
.nav-account__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(18, 20, 26, 0.08);
}
.nav-account__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #12141a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
}
.nav-account__menu a:hover { background: #f4f5f7; }
.nav-account__name {
  padding: 8px 10px 6px;
  color: #5d6672;
  font-size: 12px;
  font-weight: 650;
}
.auth-bar { margin: 0 !important; }
.guest-banner {
  margin: 10px auto 0 !important;
  max-width: 960px;
  padding: 8px 12px !important;
  background: #fff !important;
  border: 1px solid #e3e6eb !important;
  border-radius: 10px !important;
  color: #5d6672 !important;
}
#view-generator main {
  display: grid !important;
  grid-template-columns: minmax(0, 1120px) !important;
  justify-content: center;
  gap: 12px !important;
  padding: 36px 28px 64px !important;
}
#view-generator .panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.panel, .card, .box, .content, .post {
  background: #fff !important;
  color: #12141a;
  border-color: #e3e6eb !important;
}
.panel { border-radius: 14px !important; box-shadow: none !important; }
.panel h2 {
  font-family: "Outfit", "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.04em;
  color: #5d6672 !important;
}
#view-generator main > section.panel:last-child:has(#results[style*="display:none"]),
#view-generator main > section.panel:last-child:has(#results[style*="display: none"]) {
  display: none;
}
.tirage-bar { background: #f7f8fa !important; }
textarea, input[type="number"], input[type="text"], input[type="email"], input[type="password"], select {
  background: #fff !important;
  color: #12141a !important;
  border: 1px solid #d5dae1 !important;
  border-radius: 10px !important;
}
textarea { min-height: 140px; }
textarea:focus, input:focus, select:focus {
  border-color: #12141a !important;
  box-shadow: 0 0 0 3px rgba(18, 20, 26, 0.08) !important;
}
button, .btn {
  border-radius: 10px !important;
}
button { background: #12141a; color: #fff; }
button.ghost, .btn.ghost {
  background: #fff !important;
  color: #12141a !important;
  border: 1px solid #d5dae1 !important;
}
.work-actions { margin: 4px 0 14px; }
.draw-strip { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; }
.draw-strip div { background: transparent; border: 0; padding: 0; font-size: 13px; color: #5d6672; }
.draw-strip b { display: inline; margin-right: 6px; color: #12141a; font-size: 15px; }
.cat-row { display: block; margin: 28px 0 0; }
.cat-row > span {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #12141a;
}
#cat-chips {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.cat-chip {
  width: 100%;
  min-width: 0;
  height: 72px;
  min-height: 0;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid #e6e8ee;
  background: #fff;
  color: #12141a;
  font: 600 13px/1.1 "Instrument Sans", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cat-chip b { font-size: 28px; letter-spacing: -0.04em; line-height: 1; }
.cat-chip small { margin-top: 4px; font-size: 12px; font-weight: 520; color: #6b7280; }
.cat-chip.is-on {
  background: #12141a;
  border-color: #12141a;
  color: #fff;
}
.cat-chip.is-on small { color: #d5d8de; }
.work-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0 8px;
}
.work-actions button {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
}
.tirage-controls select,
.tirage-controls button { height: 44px; }
.setup {
  margin: 0 0 28px;
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
}
.setup h2 {
  margin: 0 0 14px !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #12141a !important;
}
.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.setup-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.help-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #c5cad3;
  color: #5d6672 !important;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  flex: none;
}
.help-tip:hover { border-color: #12141a; color: #12141a !important; }
.setup-check .help-tip, .setup-slider .help-tip, summary .help-tip { margin-left: 6px; }
.setup-field, .k-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: #12141a;
}
.setup input,
.setup select,
.tirage-controls select,
.tirage-controls button,
.work-actions button {
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
}
.setup-field input, .setup-field select, .k-field input {
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.setup-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 14px;
  color: #12141a;
}
.bet-min {
  color: #6b7280;
  font-size: 12px;
  font-weight: 550;
}
button.feed-user__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  background: transparent !important;
  color: #12141a !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}
.feed-user {
  border: 1px solid #e7eaef;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
}
.feed-user__meta { color: #6b7280; font-size: 13px; font-weight: 550; }
.feed-user__body { padding: 0 12px 12px; }
.feed-office__title { margin: 10px 4px 4px; font-size: 15px; }
.feed-tirage__title {
  margin: 12px 4px 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}
.feed-user .history-list tr.gen-row { cursor: pointer; }
.feed-tirage-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 4px 4px;
  font-size: 12px;
  color: #6b7280;
}
.feed-tirage-pager button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}
.setup-extra {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.setup-card {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 12px 14px;
}
.setup-card summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  color: #12141a;
  line-height: 24px;
}
.setup-nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.setup-slider { margin-top: 12px; }
.setup-slider label {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  color: #12141a;
}
.setup-slider input[type="range"] { width: 100%; margin: 0; }
.setup .constraints-wrap {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 10px;
}
.setup .constraints-grid {
  grid-template-columns: 28px repeat(3, 88px);
  justify-content: start;
  gap: 6px;
  font-family: "Instrument Sans", sans-serif;
}
.setup .out-toggle { height: 32px; border-radius: 8px; font-size: 13px; }
.setup .constraint-actions button {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 8px;
}
#view-generator button:active { transform: none; }
.gen-status {
  margin: 10px 0 0;
  font-size: 14px;
  color: #12141a;
}
.gen-status.is-error {
  color: #9f1239;
  background: #fde8ee;
  border: 1px solid #f3b4c4;
  border-radius: 10px;
  padding: 10px 12px;
}
#btn-generate {
  height: 44px;
  min-width: 180px;
  border-radius: 12px !important;
  font-size: 14px;
}
.tune { margin-top: 18px; }
.tune > summary { font-size: 14px; font-weight: 650; color: #12141a; }
.match-board { gap: 0; margin: 4px 0 16px; }
.mb-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 11px 2px; border-radius: 0; background: transparent; border-bottom: 1px solid #eceef2;
}
.mb-num { font-size: 13px; font-weight: 650; color: #8b939e; text-align: right; padding-top: 8px; }
.mb-name { font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.mb-champ, .mb-odds { color: #5d6672; font-size: 12px; margin-top: 3px; }
.mb-bar { display: flex; width: min(220px, 100%); height: 4px; margin-top: 8px; border-radius: 99px; overflow: hidden; background: #eceef2; }
.mb-bar i { display: block; height: 100%; }
.mb-bar i:nth-child(1) { background: #0c8f5b; }
.mb-bar i:nth-child(2) { background: #1d4ed8; }
.mb-bar i:nth-child(3) { background: #d21b46; }
.mb-pick {
  display: grid;
  grid-template-columns: auto repeat(3, 40px);
  column-gap: 4px;
  row-gap: 2px;
  align-items: center;
  justify-items: center;
}
.mb-outs { grid-column: 2 / 5; display: grid; grid-template-columns: repeat(3, 40px); gap: 4px; }
.mb-lab { justify-self: end; padding-right: 6px; font-size: 11px; color: #8b939e; }
.mb-pick b { font-weight: 650; font-size: 12px; color: #12141a; font-variant-numeric: tabular-nums; }
.mb-out {
  width: 40px; height: 32px; border-radius: 8px; border: 1px solid #d5dae1; background: #fff;
  color: #8b939e; font: 650 13px "Outfit", sans-serif; cursor: pointer;
}
.mb-out.is-on[data-outcome="1"] { background: #e7f6ee; color: #0c8f5b; border-color: #9ed7bc; }
.mb-out.is-on[data-outcome="X"] { background: #e8eefc; color: #1d4ed8; border-color: #b9c9f5; }
.mb-out.is-on[data-outcome="2"] { background: #fde8ee; color: #d21b46; border-color: #f3b4c4; }
#match-board:not([hidden]) ~ #pool-preview-wrap { display: none !important; }
.seo-intro { max-width: 920px; margin: 0 auto 28px; padding: 0 16px; }
.check-panel, main { }
.check-panel { margin: 16px auto 40px !important; max-width: 1100px; background: #fff; }
.error, .flash.error {
  background: #fde8ee !important;
  border: 1px solid #f3b4c4 !important;
  color: #9f1239 !important;
}
.flash.success { background: #e7f6ee !important; color: #0c8f5b !important; border-color: #9ed7bc !important; }
table th { color: #5d6672; }
tr.clickable:hover td { background: #f7f8fa !important; }
.site-footer {
  background: #111318 !important;
  border-top: 0 !important;
}
.site-footer__link { color: #fff !important; }
.site-footer__note, .site-footer__note strong { color: #c5cad3 !important; }
.site-footer__mark {
  display: flex !important;
  align-items: center;
  gap: 0.16em;
  color: #fff !important;
}
.site-footer__mark img {
  width: 0.72em;
  height: 0.72em;
  display: block;
}
  @media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .appbar .nav-tabs {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(18, 20, 26, 0.1);
  }
  .appbar.is-open .nav-tabs { display: flex; }
  .appbar .nav-tab { padding: 10px 12px !important; }
}
@media (max-width: 800px) {
  #cat-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-actions { flex-wrap: wrap; }
  .setup-grid, .setup-nums { grid-template-columns: 1fr 1fr; }
  .setup .constraints-grid { grid-template-columns: 28px repeat(3, minmax(0, 1fr)); }
  .mb-row { grid-template-columns: 28px minmax(0, 1fr); }
  .mb-pick { grid-column: 1 / -1; justify-self: end; }
  .hero h1 { font-size: 40px; }
}
.page-frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-frame > main {
  flex: 1;
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 28px auto 40px;
  padding: 0;
}
.page-frame .appbar .nav-tab { text-decoration: none; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 16px;
}
.page-head h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #12141a;
}
.page-head .rules, .page-frame .rules {
  margin: 8px 0 0;
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.45;
  color: #5d6672;
}
.page-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-frame a.btn, .page-frame button.btn {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px !important;
  background: #12141a;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.page-frame a.btn.ghost, .page-frame button.ghost, .page-frame .btn.ghost {
  background: #fff !important;
  color: #12141a !important;
  border: 1px solid #d5dae1 !important;
}
.page-frame .panel {
  border: 1px solid #e6e8ee !important;
  border-radius: 16px !important;
  padding: 8px 8px 4px !important;
}
.page-frame .panel h2 {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 16px !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  color: #12141a !important;
}
.page-frame .empty-note { margin: 28px 16px; color: #5d6672; font-size: 15px; }
.page-frame table th { font-size: 12px; text-transform: none; letter-spacing: 0; }
.page-tabs-wrap { border-bottom: 1px solid #eceef2; }
.page-tabs {
  display: flex;
  gap: 4px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.page-tabs .nav-tab { cursor: pointer; }
.page-frame .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.page-frame .stat {
  background: #f7f8fa !important;
  border: 1px solid #e6e8ee !important;
  border-radius: 12px !important;
  min-height: 84px;
}
.page-frame .stat .label { letter-spacing: 0.04em; }
.page-frame .stat .value { font-size: 24px; letter-spacing: -0.03em; }
.page-frame .site-footer { margin-top: auto; padding: 28px 0 32px !important; }
.page-frame .site-footer__inner { max-width: 1120px; padding-top: 0; }
.page-frame .site-footer__mark { font-size: 32px !important; margin-bottom: 12px !important; }
.article-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; align-items: center; }
.article-search input[type="search"] {
  flex: 1 1 220px;
  height: 40px;
  border: 1px solid #e3e6eb;
  border-radius: 12px;
  padding: 0 12px;
  font: 15px "Instrument Sans", "Segoe UI", sans-serif;
  color: #12141a;
  background: #fff;
}
.article-search button {
  height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: #12141a;
  color: #fff;
  font: 650 14px "Instrument Sans", "Segoe UI", sans-serif;
  cursor: pointer;
}
.article-search__reset { color: #5d6672; font-size: 14px; font-weight: 600; }
.article-count { margin: 0 0 12px; color: #5d6672; font-size: 14px; }
.article-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; align-items: center; }
.article-pager a, .article-pager span, .article-pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #e7eaef;
  background: #fff;
  color: #12141a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.article-pager span.is-on, .article-pager button.is-on { background: #12141a; color: #fff; border-color: #12141a; }
.article-pager span:not(.is-on) { border: 0; background: transparent; min-width: 16px; }
.article-pager button { cursor: pointer; font: inherit; }
.article-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.article-filters a {
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: #12141a !important;
  border: 1px solid #e7eaef;
  font-size: 13px;
  font-weight: 600;
}
.article-filters a.is-on { background: #12141a; color: #fff !important; border-color: #12141a; }
.article-list { display: grid; gap: 10px; }
.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  padding: 16px 18px;
}
.article-card:hover { border-color: #12141a; }
.article-card small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-card h2 { margin: 6px 0; font-size: 20px; letter-spacing: -0.03em; }
.article-card p { margin: 0; color: #3c4450; font-size: 15px; line-height: 1.45; }
.article-layout { max-width: none; }
.article-kicker,
.article-layout > h1,
.article-lead,
.article-body,
.article-note,
.article-actions { max-width: 42rem; }
.article-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.article-kicker a { color: #6b7280; text-decoration: none; }
.article-layout h1 { margin: 0 0 12px; font-size: 36px; letter-spacing: -0.04em; line-height: 1.1; }
.article-lead { margin: 0 0 18px; font-size: 18px; line-height: 1.45; color: #3c4450; }
.article-body { font-size: 16px; line-height: 1.6; }
.article-body h2 { margin: 28px 0 8px; font-size: 22px; }
.article-body p, .article-body li { font-size: 16px; }
.article-note {
  margin-top: 22px;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 12px 14px;
  color: #3c4450;
  font-size: 14px;
}
.article-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 28px; }
.article-actions a.btn, .article-actions a.btn.ghost { text-decoration: none; }
.forecast-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.forecast-stats .stat {
  background: #fff;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  padding: 14px 16px;
}
.forecast-stats .label { color: #6b7280; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.forecast-stats .value { margin-top: 4px; font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.forecast-tables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.forecast-tables section {
  background: #fff;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  padding: 14px 16px;
}
.forecast-tables h2 { margin: 0 0 10px; font-size: 16px; }
.forecast-tables table { width: 100%; border-collapse: collapse; font-size: 13px; }
.forecast-tables th, .forecast-tables td { text-align: left; padding: 6px 0; border-bottom: 1px solid #eef1f5; }
.forecast-tables th { color: #6b7280; font-weight: 700; }
.forecast-tables a { color: inherit; text-decoration: none; font-weight: 650; }
.forecast-pick { color: #12141a !important; font-weight: 650; }
.forecast-card.is-hit { border-color: #b7e0c4; }
.forecast-card.is-miss { border-color: #f0c7c7; }
.forecast-card.is-upcoming { border-color: #cdd8f5; }
.forecast-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 14px; color: #5d6672; font-size: 14px; font-weight: 600; }
.forecast-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 10px;
  background: #eef1f5;
  color: #3c4450;
}
.forecast-badge.is-hit { background: #e5f6ea; color: #1f6b3a; }
.forecast-badge.is-miss { background: #fdecec; color: #9b2c2c; }
.forecast-badge.is-upcoming { background: #e8eefc; color: #2c4a9b; }
.forecast-pick-box {
  max-width: 42rem;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #12141a;
  color: #fff;
  border-radius: 12px;
  font-weight: 650;
}
.forecast-settle { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; align-items: center; }
.forecast-settle__note { width: 100%; margin: 0; color: #6b7280; font-size: 12px; font-weight: 650; }
.forecast-settle button {
  height: 36px;
  border: 1px solid #d7dbe2;
  background: #fff;
  color: #12141a;
  border-radius: 10px;
  padding: 0 12px;
  font: 650 13px "Instrument Sans", "Segoe UI", sans-serif;
  cursor: pointer;
}
.forecast-settle input {
  height: 36px;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  padding: 0 10px;
  min-width: 140px;
  color: #12141a;
  background: #fff;
}
@media (max-width: 860px) {
  .forecast-stats, .forecast-tables { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .forecast-stats, .forecast-tables { grid-template-columns: 1fr; }
}
.adm-period { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.adm-period button {
  border: 1px solid #e7eaef;
  background: #fff;
  color: #12141a;
  border-radius: 999px;
  padding: 6px 12px;
  font: 600 13px "Instrument Sans", sans-serif;
  cursor: pointer;
}
.adm-period button.is-on { background: #12141a; color: #fff; border-color: #12141a; }
.adm-bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; margin: 4px 0 18px; }
.adm-bars span { flex: 1; min-width: 0; background: #12141a; border-radius: 3px 3px 0 0; }
.adm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) {
  .adm-split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page-frame .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { align-items: flex-start; flex-direction: column; }
}

.ads-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 40px;
  align-items: center;
  margin: 8px 0 42px;
}
.ads-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.ads-copy h1 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.ads-lead {
  margin: 16px 0 22px;
  max-width: 38rem;
  font-size: 17px;
  line-height: 1.5;
  color: #3c4450;
}
.ads-vk { position: relative; overflow: hidden; }
.ads-vk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,0.34) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: adsShine 4.2s ease-in-out infinite;
  pointer-events: none;
}
.ads-board {
  border: 1px solid #e6e8ee;
  border-radius: 22px;
  padding: 18px 18px 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, #f3f4f6 0%, rgba(255,255,255,0) 55%),
    #fff;
  box-shadow: 0 18px 40px rgba(18, 20, 26, 0.05);
}
.ads-board__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 650;
  color: #5d6672;
}
.ads-cat { display: inline-flex; align-items: center; gap: 6px; color: #12141a; }
.ads-cat__still { display: none; }
.ads-cat__n {
  display: inline-grid;
  min-width: 1.6em;
  height: 1.15em;
  text-align: center;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.ads-cat__n i {
  grid-area: 1 / 1;
  font-style: normal;
  opacity: 0;
  animation: adsCat 9s linear infinite;
}
.ads-cat__n i:nth-child(2) { animation-delay: 1.5s; }
.ads-cat__n i:nth-child(3) { animation-delay: 3s; }
.ads-cat__n i:nth-child(4) { animation-delay: 4.5s; }
.ads-cat__n i:nth-child(5) { animation-delay: 6s; }
.ads-cat__n i:nth-child(6) { animation-delay: 7.5s; }
.ads-cells {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.ads-cell {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #c5cad3;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.03em;
  animation: adsFill 6.6s linear infinite;
  animation-delay: calc(var(--i) * 0.14s);
}
.ads-board__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #8b93a0;
}
.ads-offers h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ads-card {
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 12px 12px 16px;
  background: #fff;
  animation: adsRise 0.7s ease both;
}
.ads-card:nth-child(2) { animation-delay: 0.08s; }
.ads-card:nth-child(3) { animation-delay: 0.16s; }
.ads-card:hover { border-color: #12141a; }
.ads-card h3 {
  margin: 12px 4px 6px;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.ads-card p {
  margin: 0 4px;
  color: #3c4450;
  font-size: 14px;
  line-height: 1.45;
}
.ads-mock {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  border-radius: 14px;
  background: #f6f7f9;
  overflow: hidden;
}
.ads-line {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #e3e6eb;
}
.ads-line.w82 { width: 82%; }
.ads-line.w74 { width: 74%; }
.ads-line.w64 { width: 64%; }
.ads-line.w90 { width: 90%; }
.ads-line.w92 { width: 92%; }
.ads-line.w48 { width: 48%; }
.ads-slot {
  margin-top: auto;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: #12141a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: adsSlot 4.2s linear infinite;
}
.ads-badge {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #12141a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  animation: adsSlot 4.8s linear infinite;
}
.ads-mock--list { gap: 8px; justify-content: center; }
.ads-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3e6eb;
}
.ads-row i, .ads-row b {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #d7dbe2;
  font-style: normal;
}
.ads-row i { width: 28%; }
.ads-row b { width: 46%; }
.ads-row.is-ad { animation: adsRow 3.6s linear infinite; }
.ads-row.is-ad i {
  width: auto;
  height: auto;
  background: transparent;
  color: #12141a;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: adsRowInk 3.6s linear infinite;
}
.ads-row.is-ad b { animation: adsBar 3.6s linear infinite; }
@keyframes adsShine {
  0%, 58% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}
@keyframes adsCat {
  0%, 16% { opacity: 1; }
  17%, 100% { opacity: 0; }
}
@keyframes adsFill {
  0%, 16% { background: #f3f4f6; color: #c5cad3; }
  17%, 78% { background: #12141a; color: #fff; }
  79%, 100% { background: #f3f4f6; color: #c5cad3; }
}
@keyframes adsSlot {
  0%, 8% { opacity: 0; transform: translateY(8px); }
  16%, 100% { opacity: 1; transform: none; }
}
@keyframes adsRow {
  0%, 22% { background: #fff; border-color: #e3e6eb; }
  24%, 70% { background: #12141a; border-color: #12141a; }
  72%, 100% { background: #fff; border-color: #e3e6eb; }
}
@keyframes adsRowInk {
  0%, 22% { color: #12141a; }
  24%, 70% { color: #fff; }
  72%, 100% { color: #12141a; }
}
@keyframes adsBar {
  0%, 22% { background: #d7dbe2; }
  24%, 70% { background: rgba(255,255,255,0.72); }
  72%, 100% { background: #d7dbe2; }
}
@keyframes adsRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .ads-hero, .ads-grid { grid-template-columns: 1fr; }
  .ads-copy h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .ads-vk::after,
  .ads-cat__n i,
  .ads-cell,
  .ads-slot,
  .ads-badge,
  .ads-card,
  .ads-row.is-ad,
  .ads-row.is-ad i,
  .ads-row.is-ad b { animation: none; }
  .ads-cat__n { display: none; }
  .ads-cat__still { display: inline; }
  .ads-cell { background: #12141a; color: #fff; }
  .ads-slot, .ads-badge { opacity: 1; transform: none; }
}
