#welcome-modal[hidden] { display: none !important; }
#welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px max(14px, env(safe-area-inset-right)) 20px max(14px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, .64);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font: 16px Arial, sans-serif;
}
#welcome-modal *, #welcome-modal *::before, #welcome-modal *::after { box-sizing: border-box; }
#welcome-modal .w7-welcome__dialog { width: 100%; max-width: 495px; outline: none; }
#welcome-modal .w7-welcome__scroll {
  height: min(388px, calc(100dvh - 184px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ddd #202020;
  border: 14px solid #202020;
  border-right-width: 6px;
  border-radius: 13px;
  background: #202020;
}
#welcome-modal .w7-welcome__channels { display: flex; gap: 8px; padding-right: 7px; margin: 0 0 19px; }
#welcome-modal .w7-welcome__channels a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  flex: 1;
  padding: 8px 4px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font: 16px Arial, sans-serif;
}
#welcome-modal .w7-welcome__telegram { background: #00a5dc; }
#welcome-modal .w7-welcome__whatsapp { background: linear-gradient(100deg, #1bcb63, #108e83); }
#welcome-modal .w7-welcome__facebook { background: #3e60ac; }
#welcome-modal .w7-welcome__app {
  display: block;
  width: calc(100% - 7px);
  min-height: 52px;
  margin: 0 0 18px;
  padding: 12px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #080808;
  font: 700 20px Arial, sans-serif;
  cursor: pointer;
}
#welcome-modal .w7-welcome__offers {
  margin-right: 7px;
  padding: 19px 17px;
  border: 2px solid #f07b09;
  border-radius: 12px;
  background: #141414;
  box-shadow: inset 0 0 10px #f3a552, 0 0 10px rgba(236, 139, 27, .45);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.78;
  overflow-wrap: break-word;
}
#welcome-modal .w7-welcome__offers p { margin: 0; }
#welcome-modal .w7-welcome__offers strong { color: #f57c0b; }
#welcome-modal .w7-welcome__brand { font-size: 1.08em; font-weight: 800; white-space: nowrap; }
#welcome-modal .w7-welcome__today {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 14px auto 20px;
  padding: 9px;
  border-radius: 6px;
  background: rgba(45, 31, 5, .65);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
#welcome-modal .w7-welcome__skip {
  appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #c9b997;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
#welcome-modal .w7-welcome__skip:checked { background: #ed8c18; border-color: #ed8c18; }
#welcome-modal .w7-welcome__skip:checked::after { content: '✓'; display: block; color: #fff; text-align: center; font: 18px/20px Arial, sans-serif; }
#welcome-modal .w7-welcome__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 38px/1 Arial, sans-serif;
}
#welcome-modal a:focus-visible, #welcome-modal button:focus-visible, #welcome-modal input:focus-visible { outline: 2px solid #ffb643; outline-offset: 3px; }
@media (max-width: 400px) {
  #welcome-modal .w7-welcome__offers { padding: 15px 13px; font-size: 15px; }
  #welcome-modal .w7-welcome__channels a { font-size: 14px; }
}
