/* 1. Базовая прозрачность страницы */
html, body, .t-body, #allrecords, .t-records {
  background: transparent !important;
}

/* 2. ХОЛОДНЫЙ «LIQUID GLASS» ФОН на body (не конфликтует с блоками Тильды) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);

  background:
    radial-gradient(1200px 900px at 0% 0%,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.55) 40%,
      rgba(255,255,255,0.10) 75%,
      rgba(255,255,255,0) 95%),

    radial-gradient(1600px 700px at 20% 30%,
      rgba(255,255,255,0.60) 0%,
      rgba(255,255,255,0.22) 35%,
      rgba(255,255,255,0) 70%),

    radial-gradient(2000px 1500px at 50% 48%,
      rgba(130,210,255,0.32) 0%,
      rgba(130,210,255,0.18) 52%,
      rgba(130,210,255,0.08) 80%,
      rgba(130,210,255,0) 100%),

    radial-gradient(3600px 2600px at 70% 100%,
      rgba(110,190,255,0.22) 0%,
      rgba(110,190,255,0.10) 55%,
      rgba(110,190,255,0) 90%),

    radial-gradient(900px 700px at 100% 50%,
      rgba(255,255,255,0.35) 0%,
      rgba(255,255,255,0.12) 45%,
      rgba(255,255,255,0) 85%),

    radial-gradient(140% 110% at 50% 50%,
      rgba(0,30,80,0) 60%, rgba(0,30,80,0.06) 100%),

    linear-gradient(180deg, #F9FCFF 0%, #ECF4FF 100%);

  background-repeat: no-repeat;
  background-size: cover;
}

/* 3. Защита всех блоков от пропадания при прокрутке (включая FR102) */
.t-rec {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 4. Пункты меню: элементы с классом uc-nav */
.uc-nav .tn-atom {
  position: relative !important;
  display: inline-block !important;
  color: #0F172A !important;
  isolation: isolate;
}

.uc-nav .tn-atom::before {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: -10px;
  bottom: -10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.25),
    0 4px 12px rgba(0,0,0,0.15);
  transition: all .25s ease;
  z-index: -1;
  pointer-events: none;
}

.uc-nav .tn-atom a,
.uc-nav .tn-atom span {
  position: relative;
  z-index: 2;
  color: #0F172A !important;
  text-decoration: none !important;
}

.uc-nav .tn-atom:hover::before {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

/* 5. Выпадающее меню "Каталог" */
.t978__menu li ul {
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25),
              0 4px 12px rgba(0,0,0,0.20);
  padding: 12px 0 !important;
}

.t978__menu li ul li a {
  background: transparent !important;
  color: #000 !important;
  padding: 10px 18px !important;
}

.t978__menu li ul li a:hover {
  background: rgba(255,255,255,0.3) !important;
  border-radius: 8px;
}

/* 6. Стеклянные кнопки: класс uc-glass */
.uc-glass {
  background: rgba(255, 255, 255, 0.22) !important;
  border-radius: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.25),
    0 4px 12px rgba(0,0,0,0.15);
  color: #0F172A !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  cursor: pointer;
}

.uc-glass .tn-atom,
.uc-glass a {
  color: #0F172A !important;
}

.uc-glass:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.25),
    0 6px 14px rgba(0,0,0,0.20);
}

.uc-glass:active {
  transform: translateY(1px) scale(0.98);
}

/* 7. Мобильное меню ME403 и кнопка "три палочки" (бургер) */
.t403__overlay,
.t403__overlay_bg,
.t450__overlay_bg {
  background: transparent !important;
  opacity: 0 !important;
}

.t403__menu,
.t450 {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: none !important;
  border: none !important;
}

.t403 .t-menu__link-item,
.t403__right_descr,
.t403__right_descr a,
.t450 .t-menu__link-item {
  color: #0F172A !important;
}

.t403__close-button,
.t450__close-button {
  background: transparent !important;
}

/* Гарантируем, что кнопка меню (три палочки) всегда кликабельна на телефоне */
.t-menuburger,
.t403__burger,
.t450__burger_container {
  position: relative !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
