:root{
  --text:#f4f7fc;
  --muted:#93a3bf;
  --soft:#c8d4e7;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --shadow:0 24px 60px rgba(0,0,0,.34);
  --blue:#51b8ff;
  --blue-2:#8fd6ff;
  --red:#ff667c;
  --red-2:#ff99a8;
  --yellow:#ffcb6b;
  --violet:#9a86ff;
  --green-2:#6ff1c5;
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:18px;
  --radius-sm:14px;
  --max:1320px;
  --mobile-bottom-nav-h:80px;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--text);
  font-family:Inter, Arial, Helvetica, sans-serif;
  line-height:1.5;
  background:
    radial-gradient(circle at 0% 0%, rgba(81,184,255,.13), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(154,134,255,.10), transparent 18%),
    linear-gradient(180deg, #040910 0%, #09111c 100%);
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  text-decoration:none;
}

img{
  max-width:100%;
  height:auto;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 16px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ===== Header ===== */

.site-header{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter:blur(14px);
  background:rgba(7,13,23,.90);
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.site-header__top{
  min-height:70px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:16px;
  align-items:center;
}

.site-logo{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  font-size:26px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.05em;
  white-space:nowrap;
}

.site-logo .life{color:#f7fbff;}
.site-logo .bet{color:var(--blue-2);}
.site-logo .dot{color:var(--soft);}

.site-header__spacer{min-width:0;}

.site-header__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.header-btn{
  min-height:40px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  transition:.18s ease;
}

.header-btn:hover,
.header-btn.is-active{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(81,184,255,.24);
}

.global-menu{
  position:relative;
}

.global-menu > summary{
  list-style:none;
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  transition:.18s ease;
}

.global-menu > summary::-webkit-details-marker{
  display:none;
}

.global-menu[open] > summary,
.global-menu > summary:hover{
  background:rgba(255,255,255,.08);
}

.hamburger{
  width:18px;
  height:14px;
  display:grid;
  align-content:space-between;
}

.hamburger span{
  display:block;
  height:2px;
  border-radius:999px;
  background:#f4f7fc;
}

.global-menu__panel{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:min(92vw, 360px);
  padding:14px;
  border:1px solid var(--line);
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    linear-gradient(180deg, #111b2f 0%, #0c1525 100%);
  box-shadow:0 20px 60px rgba(0,0,0,.34);
}

.global-menu[open] .global-menu__panel{
  display:grid;
  gap:14px;
}

.global-menu__section{
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.03);
}

.global-menu__title{
  margin:0 0 10px;
  font-size:14px;
  font-weight:900;
}

.global-menu__links{
  display:grid;
  gap:8px;
}

.global-menu__links a{
  color:var(--soft);
  font-size:14px;
  font-weight:700;
}

.global-menu__links a:hover{
  color:var(--text);
}

.site-subnav{
  display:block;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.02);
}

.site-subnav__inner{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:8px 0;
}

.site-subnav__link{
  min-height:34px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--soft);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  transition:.18s ease;
}

.site-subnav__link:hover,
.site-subnav__link.is-active{
  color:var(--text);
  background:rgba(255,255,255,.05);
  border-color:rgba(81,184,255,.24);
}

/* ===== Main shell ===== */

.page-space{
  padding:16px 0 34px;
}

.lb-page-shell{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    linear-gradient(180deg, #0f192b 0%, #0a1220 100%);
  box-shadow:var(--shadow);
  isolation:isolate;
}

.lb-page-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 14% 8%, rgba(81,184,255,.13), transparent 18%),
    radial-gradient(circle at 86% 10%, rgba(154,134,255,.11), transparent 17%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,.015) 100%);
}

.lb-page-shell__inner{
  position:relative;
  z-index:1;
  padding:22px;
}

.lb-region{
  margin-bottom:16px;
}

.lb-region > *:last-child{
  margin-bottom:0;
}

.lb-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:16px;
}

.lb-layout.has-sidebar-first,
.lb-layout.has-sidebar-second{
  grid-template-columns:260px minmax(0, 1fr);
}

.lb-layout.has-sidebar-first.has-sidebar-second{
  grid-template-columns:240px minmax(0, 1fr) 240px;
}

.lb-content,
.lb-sidebar{
  min-width:0;
}

.lb-content > *,
.lb-sidebar > *{
  margin-bottom:16px;
}

.lb-content > *:last-child,
.lb-sidebar > *:last-child{
  margin-bottom:0;
}

.lb-breadcrumb{
  margin-bottom:14px;
  color:var(--muted);
  font-size:13px;
}

.lb-breadcrumb nav,
.lb-breadcrumb ol{
  margin:0;
  padding:0;
}

.lb-breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
}

.lb-breadcrumb li{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.lb-breadcrumb li + li::before{
  content:'/' ;
  opacity:.45;
}
/* ===== Страницы калькулятора/топ букмекеров/стратегии/обучение ===== */

#lb-calculators-hub{
  --lb-bg:#060b13;
  --lb-bg-2:#0a1220;
  --lb-surface:#101a2b;
  --lb-surface-2:#121d30;
  --lb-surface-3:#0d1626;
  --lb-text:#f3f7fd;
  --lb-muted:#93a2bd;
  --lb-soft:#c8d4e7;

  --lb-line:rgba(255,255,255,.075);
  --lb-line-strong:rgba(255,255,255,.12);

  --lb-blue:#53baff;
  --lb-blue-2:#9addff;
  --lb-green:#22d89d;
  --lb-green-2:#74efc8;
  --lb-yellow:#ffcb6d;
  --lb-red:#ff6a7f;

  --lb-shadow-1:0 18px 44px rgba(0,0,0,.26);
  --lb-shadow-2:0 28px 70px rgba(0,0,0,.34);

  --lb-radius-xl:28px;
  --lb-radius-lg:22px;
  --lb-radius-md:18px;
  --lb-radius-sm:14px;

  max-width:1320px;
  margin:0 auto;
  color:var(--lb-text);
  font-size:16px;
  line-height:1.6;
  background:
    radial-gradient(circle at top left, rgba(83,186,255,.10), transparent 24%),
    linear-gradient(180deg, #050911 0%, #09111c 100%);
  border:1px solid var(--lb-line);
  border-radius:var(--lb-radius-xl);
  box-shadow:var(--lb-shadow-2);
  overflow:hidden;
}

#lb-calculators-hub *{box-sizing:border-box}

#lb-calculators-hub a{
  color:inherit;
  text-decoration:none;
}

#lb-calculators-hub a:hover{
  text-decoration:none;
}

#lb-calculators-hub .lb-shell{
  position:relative;
}

#lb-calculators-hub .lb-inner{
  position:relative;
  z-index:1;
  padding:24px;
}

#lb-calculators-hub .lb-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 14% 0%, rgba(83,186,255,.08), transparent 18%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,.01) 100%);
}

#lb-calculators-hub .lb-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--lb-muted);
  font-size:13px;
  margin:0 0 14px;
}

#lb-calculators-hub .lb-breadcrumbs a{
  color:var(--lb-muted);
}

#lb-calculators-hub .lb-breadcrumbs a:hover{
  color:var(--lb-text);
}

#lb-calculators-hub .lb-breadcrumbs-sep{
  opacity:.45;
}

#lb-calculators-hub .lb-utility{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
  margin:0 0 20px;
}

#lb-calculators-hub .lb-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

#lb-calculators-hub .lb-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--lb-line);
  background:rgba(255,255,255,.03);
  color:var(--lb-text);
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}

#lb-calculators-hub .lb-chip--section{
  background:rgba(83,186,255,.10);
  color:#dff5ff;
}

#lb-calculators-hub .lb-chip--popular{
  background:rgba(34,216,157,.12);
  color:#d8fff1;
  border-color:rgba(34,216,157,.22);
}

#lb-calculators-hub .lb-headline{
  display:block;
  margin:0 0 20px;
}

#lb-calculators-hub .lb-title{
  margin:0 0 12px;
  font-size:clamp(30px,4.5vw,56px);
  line-height:1.02;
  letter-spacing:-.045em;
}

#lb-calculators-hub .lb-headline .lb-subtitle{
  margin:0;
  max-width:1160px;
  color:var(--lb-muted);
  font-size:16px;
  line-height:1.55;
}

#lb-calculators-hub .lb-micro-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

#lb-calculators-hub .lb-micro-pill{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 11px;
  border-radius:999px;
  border:1px solid var(--lb-line);
  background:rgba(255,255,255,.025);
  color:var(--lb-soft);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

#lb-calculators-hub .lb-hero-card,
#lb-calculators-hub .lb-panel,
#lb-calculators-hub .lb-card,
#lb-calculators-hub .lb-mini,
#lb-calculators-hub .lb-details,
#lb-calculators-hub .lb-warning,
#lb-calculators-hub .lb-cta{
  border:1px solid var(--lb-line);
  border-radius:var(--lb-radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  box-shadow:var(--lb-shadow-1);
}

#lb-calculators-hub .lb-hero-card{
  padding:24px;
  margin:0 0 24px;
}

#lb-calculators-hub .lb-hero-card p:last-child{
  margin-bottom:0;
}

#lb-calculators-hub .lb-quick-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

#lb-calculators-hub .lb-pill-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--lb-line);
  background:rgba(255,255,255,.03);
  color:var(--lb-text);
  font-weight:700;
  transition:.18s ease;
}

#lb-calculators-hub .lb-pill-link:hover,
#lb-calculators-hub .lb-pill-link:focus{
  border-color:rgba(83,186,255,.35);
  background:rgba(83,186,255,.08);
  transform:translateY(-1px);
}

#lb-calculators-hub .lb-section{
  margin:28px 0;
}

#lb-calculators-hub .lb-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin:0 0 14px;
}

#lb-calculators-hub .lb-h2{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.03em;
}

#lb-calculators-hub .lb-h3{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.28;
  letter-spacing:-.02em;
}

#lb-calculators-hub .lb-section-sub{
  margin:0;
  color:var(--lb-muted);
  font-size:14px;
  line-height:1.55;
}

#lb-calculators-hub .lb-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

#lb-calculators-hub .lb-grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

#lb-calculators-hub .lb-tools-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

#lb-calculators-hub .lb-related-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

#lb-calculators-hub .lb-mini,
#lb-calculators-hub .lb-card,
#lb-calculators-hub .lb-related-link{
  height:100%;
}

#lb-calculators-hub .lb-mini{
  padding:18px;
}

#lb-calculators-hub .lb-card{
  padding:18px;
}

#lb-calculators-hub .lb-related-link{
  display:block;
}

#lb-calculators-hub .lb-card p:last-child,
#lb-calculators-hub .lb-mini p:last-child,
#lb-calculators-hub .lb-related-link p:last-child{
  margin-bottom:0;
}

#lb-calculators-hub .lb-tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 12px;
}

#lb-calculators-hub .lb-tag{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(83,186,255,.10);
  border:1px solid rgba(83,186,255,.16);
  color:#dff5ff;
  font-size:13px;
  font-weight:700;
}

#lb-calculators-hub .lb-tag--green{
  background:rgba(34,216,157,.12);
  border-color:rgba(34,216,157,.20);
  color:#d8fff1;
}

#lb-calculators-hub .lb-tag--yellow{
  background:rgba(255,203,109,.12);
  border-color:rgba(255,203,109,.22);
  color:#fff0c8;
}

#lb-calculators-hub .lb-card-title{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.02em;
}

#lb-calculators-hub .lb-card-title a:hover{
  color:var(--lb-blue-2);
}

#lb-calculators-hub .lb-card-sub{
  color:var(--lb-muted);
  font-size:14px;
  margin:0 0 12px;
}

#lb-calculators-hub .lb-card-meta,
#lb-calculators-hub .lb-meta,
#lb-calculators-hub .lb-seo-note{
  margin:12px 0 14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--lb-line);
  background:rgba(255,255,255,.025);
  color:var(--lb-soft);
  font-size:15px;
  line-height:1.6;
}

#lb-calculators-hub .lb-card-meta strong,
#lb-calculators-hub .lb-meta strong,
#lb-calculators-hub .lb-seo-note strong{
  color:var(--lb-text);
}

#lb-calculators-hub .lb-btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

#lb-calculators-hub .lb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:900;
  transition:.18s ease;
}

#lb-calculators-hub .lb-btn:hover,
#lb-calculators-hub .lb-btn:focus{
  transform:translateY(-1px);
}

#lb-calculators-hub .lb-btn--primary{
  background:linear-gradient(135deg, var(--lb-blue), #89d4ff);
  color:#07111c;
}

#lb-calculators-hub .lb-panel{
  padding:18px;
}

#lb-calculators-hub .lb-search-box{
  margin-bottom:18px;
}

#lb-calculators-hub .lb-search-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

#lb-calculators-hub .lb-search-title{
  margin:0;
  font-size:18px;
  line-height:1.25;
}

#lb-calculators-hub .lb-search-input{
  width:100%;
  border:1px solid var(--lb-line-strong);
  border-radius:14px;
  padding:13px 14px;
  font-size:16px;
  background:rgba(255,255,255,.03);
  color:var(--lb-text);
  outline:none;
  margin-bottom:12px;
}

#lb-calculators-hub .lb-search-input::placeholder{
  color:var(--lb-muted);
}

#lb-calculators-hub .lb-search-input:focus{
  border-color:rgba(83,186,255,.35);
  box-shadow:0 0 0 3px rgba(83,186,255,.10);
}

#lb-calculators-hub .lb-filter-row,
#lb-calculators-hub .lb-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

#lb-calculators-hub .lb-filter-btn{
  border:1px solid var(--lb-line);
  background:rgba(255,255,255,.03);
  color:var(--lb-text);
  border-radius:999px;
  padding:9px 12px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}

#lb-calculators-hub .lb-filter-btn:hover{
  border-color:rgba(83,186,255,.35);
  background:rgba(83,186,255,.08);
}

#lb-calculators-hub .lb-filter-btn.is-active{
  background:linear-gradient(135deg, var(--lb-blue), #89d4ff);
  color:#07111c;
  border-color:transparent;
}

#lb-calculators-hub .lb-empty{
  display:none;
  margin-top:12px;
  padding:14px;
  border-radius:14px;
  background:rgba(255,203,109,.10);
  border:1px solid rgba(255,203,109,.22);
  color:#fff0c8;
}

#lb-calculators-hub .lb-steps{
  margin:0;
  padding-left:20px;
}

#lb-calculators-hub .lb-steps li + li{
  margin-top:10px;
}

#lb-calculators-hub .lb-details{
  overflow:hidden;
}

#lb-calculators-hub .lb-details + .lb-details{
  margin-top:10px;
}

#lb-calculators-hub .lb-details summary{
  cursor:pointer;
  list-style:none;
  padding:16px 18px;
  font-weight:800;
  color:var(--lb-text);
}

#lb-calculators-hub .lb-details summary::-webkit-details-marker{
  display:none;
}

#lb-calculators-hub .lb-details-content{
  padding:0 18px 18px;
  color:var(--lb-soft);
  line-height:1.6;
}

#lb-calculators-hub .lb-links-list{
  margin:0;
  padding-left:20px;
}

#lb-calculators-hub .lb-links-list li + li{
  margin-top:8px;
}

#lb-calculators-hub .lb-warning{
  padding:18px;
  border-color:rgba(255,203,109,.22);
  background:
    linear-gradient(180deg, rgba(255,203,109,.08), rgba(255,203,109,.04));
}

#lb-calculators-hub .lb-cta{
  padding:18px;
}

#lb-calculators-hub .lb-related-link{
  padding:18px;
}

#lb-calculators-hub .lb-related-link:hover{
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}

#lb-calculators-hub .lb-note{
  color:var(--lb-muted);
}

#lb-calculators-hub p{
  color:var(--lb-soft);
}

#lb-calculators-hub strong{
  color:var(--lb-text);
}

@media (max-width: 1180px){
  #lb-calculators-hub .lb-tools-grid,
  #lb-calculators-hub .lb-grid-3,
  #lb-calculators-hub .lb-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 760px){
  #lb-calculators-hub{
    font-size:15px;
    border-radius:22px;
  }

  #lb-calculators-hub .lb-inner{
    padding:16px;
  }

  #lb-calculators-hub .lb-title{
    font-size:30px;
  }

  #lb-calculators-hub .lb-headline .lb-subtitle{
    font-size:15px;
    max-width:none;
  }

  #lb-calculators-hub .lb-h2{
    font-size:24px;
  }

  #lb-calculators-hub .lb-h3,
  #lb-calculators-hub .lb-card-title{
    font-size:19px;
  }

  #lb-calculators-hub .lb-grid-3,
  #lb-calculators-hub .lb-grid-2,
  #lb-calculators-hub .lb-tools-grid,
  #lb-calculators-hub .lb-related-grid{
    grid-template-columns:1fr;
  }

  #lb-calculators-hub .lb-hero-card,
  #lb-calculators-hub .lb-panel,
  #lb-calculators-hub .lb-card,
  #lb-calculators-hub .lb-mini,
  #lb-calculators-hub .lb-warning,
  #lb-calculators-hub .lb-cta{
    padding:16px;
  }
}

/* ===== Generic content styling ===== */

main h1,
main h2,
main h3,
main h4{
  margin:0 0 12px;
  line-height:1.1;
  letter-spacing:-.03em;
}

main h1{font-size:clamp(30px,4.2vw,52px);}
main h2{font-size:clamp(24px,2.6vw,34px);}
main h3{font-size:clamp(20px,2vw,26px);}
main h4{font-size:18px;}

main p,
main ul,
main ol,
main blockquote{
  margin:0 0 14px;
}

main ul,
main ol{
  padding-left:20px;
}

main p,
main li,
main dd,
main dt{
  color:var(--soft);
}

main strong{
  color:var(--text);
}

main a:not(.button):not(.btn):not(.site-subnav__link):not(.header-btn):not(.bottom-mobile-link):not(.site-logo){
  color:var(--blue-2);
}

main a:not(.button):not(.btn):not(.site-subnav__link):not(.header-btn):not(.bottom-mobile-link):not(.site-logo):hover{
  color:#dff4ff;
}

.block,
.views-element-container,
.node,
.comment,
fieldset,
details:not(.global-menu){
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}

details summary{
  font-weight:800;
}

details[open] summary{
  margin-bottom:10px;
}

/* ===== Tables ===== */

table,
.views-table{
  width:100%;
  border-collapse:collapse;
}

table th,
table td,
.views-table th,
.views-table td{
  padding:12px 10px;
  border-top:1px solid var(--line);
  vertical-align:middle;
}

table thead th,
.views-table thead th{
  border-top:0;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  text-align:left;
}

/* ===== Forms ===== */

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  color:var(--text);
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:12px;
}

textarea{
  min-height:120px;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:rgba(81,184,255,.35);
  box-shadow:0 0 0 3px rgba(81,184,255,.12);
}

.form-item{
  margin-bottom:14px;
}

.button,
button,
input[type="submit"]{
  min-height:42px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid transparent;
  background:linear-gradient(135deg, var(--blue), #89d4ff);
  color:#07111c;
  font-weight:900;
  cursor:pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover{
  transform:translateY(-1px);
}

/* ===== Drupal local tasks / pager / messages ===== */

.tabs,
.tabs ul,
.pager,
.pager__items{
  margin:0;
  padding:0;
  list-style:none;
}

.tabs ul,
.pager__items{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.tabs li a,
.pager__item a,
.pager__item.is-active span{
  min-height:34px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--soft);
}

.tabs li a:hover,
.tabs li.is-active a,
.pager__item a:hover,
.pager__item.is-active span{
  color:var(--text);
  background:rgba(255,255,255,.06);
}

.messages{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
}

.messages--status{border-color:rgba(111,241,197,.24);}
.messages--warning{border-color:rgba(255,203,107,.24);}
.messages--error{border-color:rgba(255,102,124,.24);}

/* ===== Footer ===== */

.site-footer{
  padding:28px 0 40px;
}

.footer-card{
  border:1px solid var(--line);
  border-radius:26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    linear-gradient(180deg, #0f192b 0%, #0a1220 100%);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.footer-top{
  padding:22px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:start;
}

.footer-col__title{
  margin:0 0 12px;
  color:var(--text);
  font-size:14px;
  font-weight:900;
}

.footer-col ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}

.footer-col a{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.footer-col a:hover{
  color:var(--text);
}

.footer-region{
  padding:0 22px 16px;
}

.footer-bottom{
  padding:16px 22px 22px;
  display:grid;
  gap:10px;
  border-top:1px solid var(--line);
}

.footer-bottom__links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.footer-bottom__links a:hover{
  color:var(--text);
}

.footer-bottom__text{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

/* ===== Bottom mobile nav ===== */

.bottom-mobile-nav{
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:60;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  backdrop-filter:blur(14px);
  background:rgba(7,13,23,.92);
  border-top:1px solid var(--line);
  box-shadow:0 -10px 30px rgba(0,0,0,.24);
}

.bottom-mobile-nav__inner{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.bottom-mobile-link{
  position:relative;
  min-height:54px;
  padding:7px 6px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:5px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--soft);
  font-size:10px;
  font-weight:800;
  line-height:1.1;
  transition:.18s ease;
}

.bottom-mobile-link::before{
  content:"";
  display:block;
  width:18px;
  height:18px;
  box-sizing:border-box;
}

.bottom-mobile-link.is-active{
  color:var(--text);
  border-color:rgba(81,184,255,.28);
  background:linear-gradient(180deg, rgba(81,184,255,.18), rgba(255,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.18);
}

.bottom-mobile-link.is-active::after{
  content:"";
  position:absolute;
  top:4px;
  left:50%;
  transform:translateX(-50%);
  width:18px;
  height:2px;
  border-radius:999px;
  background:var(--blue-2);
}

.bottom-mobile-link--match::before{
  border:2px solid currentColor;
  border-radius:4px;
  background:linear-gradient(currentColor,currentColor) center / 8px 2px no-repeat;
}

.bottom-mobile-link--predictions::before{
  background:
    linear-gradient(currentColor,currentColor) 2px 12px / 3px 4px no-repeat,
    linear-gradient(currentColor,currentColor) 7px 8px / 3px 8px no-repeat,
    linear-gradient(currentColor,currentColor) 12px 4px / 3px 12px no-repeat;
}

.bottom-mobile-link--bookmakers::before{
  background:
    linear-gradient(currentColor,currentColor) 6px 0 / 2px 6px no-repeat,
    linear-gradient(currentColor,currentColor) 10px 0 / 2px 6px no-repeat,
    radial-gradient(circle at center 11px, currentColor 0 4px, transparent 4.6px);
}

.bottom-mobile-link--bonuses::before{
  content:"₽";
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  border:2px solid currentColor;
  border-radius:50%;
  font-size:11px;
  font-weight:900;
  line-height:1;
}

.lb-region--highlighted {
   margin: 0;
   padding: 0;
   min-height: 0;
}

.lb-region--highlighted > div {
   margin: 0;
   padding: 0;
}

.lb-layout,
.lb-content,
.lb-team-wrap,
.lb-team-page {
   margin-top: 0;
}

.h2h-page__inner {
   padding-top: 16px;
}

.lb-team-page__inner {
   padding-top: 0;
}

/* ===== Responsive ===== */

@media (max-width: 1220px){
  .lb-layout.has-sidebar-first,
  .lb-layout.has-sidebar-second,
  .lb-layout.has-sidebar-first.has-sidebar-second,
  .hero-head{
    grid-template-columns:1fr;
  }

  .hero-head__right{
    justify-content:flex-start;
  }
}

@media (max-width: 980px){
  .site-subnav__inner{
    flex-wrap:nowrap;
    overflow:auto;
    scrollbar-width:none;
  }

  .site-subnav__inner::-webkit-scrollbar{
    display:none;
  }
}

@media (max-width: 760px){
  .wrap{
    padding:0 12px;
  }

  .site-header__top{
    min-height:60px;
    gap:10px;
  }

  .site-logo{
    font-size:22px;
    min-height:40px;
    padding:0 12px;
  }

  .header-btn--calc{
    min-height:38px;
    padding:0 12px;
    font-size:12px;
  }

  .global-menu > summary{
    min-height:38px;
    width:38px;
    height:38px;
    padding:0;
  }

  .page-space{
    padding:12px 0 28px;
  }

  .lb-page-shell__inner{
    padding:16px;
  }

  main h1{
    font-size:30px;
  }

  .footer-top{
    grid-template-columns:1fr;
  }

  .global-menu__panel{
    right:-2px;
    width:min(92vw, 360px);
  }

  table th:nth-child(1),
  table td:nth-child(1),
  .views-table th:nth-child(1),
  .views-table td:nth-child(1){
    display:none;
  }
}

@media (max-width: 520px){
  body{
    padding-bottom:calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom));
  }

  .site-subnav{
    display:none;
  }

  .bottom-mobile-nav{
    display:block;
  }
}

/* ===== Patch: link contrast + mobile gutters ===== */

#lb-calculators-hub p a,
#lb-calculators-hub li a,
#lb-calculators-hub .lb-card-meta a,
#lb-calculators-hub .lb-meta a,
#lb-calculators-hub .lb-seo-note a,
#lb-calculators-hub .lb-details-content a,
#lb-calculators-hub .lb-warning a,
#lb-calculators-hub .lb-note a{
  color:var(--lb-blue-2);
  text-decoration:underline;
  text-decoration-color:rgba(154,221,255,.85);
  text-decoration-thickness:1.5px;
  text-underline-offset:.14em;
  text-decoration-skip-ink:auto;
  font-weight:700;
}

#lb-calculators-hub p a:hover,
#lb-calculators-hub p a:focus,
#lb-calculators-hub li a:hover,
#lb-calculators-hub li a:focus,
#lb-calculators-hub .lb-card-meta a:hover,
#lb-calculators-hub .lb-card-meta a:focus,
#lb-calculators-hub .lb-meta a:hover,
#lb-calculators-hub .lb-meta a:focus,
#lb-calculators-hub .lb-seo-note a:hover,
#lb-calculators-hub .lb-seo-note a:focus,
#lb-calculators-hub .lb-details-content a:hover,
#lb-calculators-hub .lb-details-content a:focus,
#lb-calculators-hub .lb-warning a:hover,
#lb-calculators-hub .lb-warning a:focus,
#lb-calculators-hub .lb-note a:hover,
#lb-calculators-hub .lb-note a:focus{
  color:#e9f8ff;
  text-decoration-color:currentColor;
}

#lb-calculators-hub p a:focus-visible,
#lb-calculators-hub li a:focus-visible,
#lb-calculators-hub .lb-card-meta a:focus-visible,
#lb-calculators-hub .lb-meta a:focus-visible,
#lb-calculators-hub .lb-seo-note a:focus-visible,
#lb-calculators-hub .lb-details-content a:focus-visible,
#lb-calculators-hub .lb-warning a:focus-visible,
#lb-calculators-hub .lb-note a:focus-visible{
  outline:2px solid rgba(154,221,255,.45);
  outline-offset:2px;
  border-radius:4px;
}

@media (max-width: 760px){
  .wrap,
  .page-space > .wrap,
  .page-space .wrap{
    padding-left:8px;
    padding-right:8px;
  }

  .lb-page-shell{
    border-radius:20px;
  }

  .lb-page-shell__inner,
  .h2h-page__inner,
  .lb-team-page__inner{
    padding-left:10px;
    padding-right:10px;
  }

  #lb-calculators-hub{
    border-radius:18px;
    margin-left:-6px;
    margin-right:-6px;
  }

  #lb-calculators-hub .lb-inner{
    padding:12px;
  }
}
