@font-face {
  font-family: 'Haval';
  src: url(../fonts/Haval-Regular.woff) format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Haval';
  src: url(../fonts/Haval-Medium.woff) format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Haval';
  src: url(../fonts/Haval-Light.woff) format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Fallback, пока оригинальные woff недоступны из архива */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Haval', 'Manrope', Arial, sans-serif;
}

#site-toast {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  max-width: min(420px, calc(100% - 24px));
  text-align: center;
  font-size: 15px;
}
#site-toast.error {
  background: #7f1d1d;
}

.popup-open {
  overflow: hidden;
}

.is-loading {
  opacity: .7;
  pointer-events: none;
}

.megatimer-box {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.megatimer-box .mt-item {
  min-width: 64px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.megatimer-box .mt-val {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.megatimer-box .mt-label {
  font-size: 11px;
  opacity: .8;
  text-transform: uppercase;
}
