/* Support modal — подключается вместе с site-common.js на всех страницах */
.rc-support-modal[hidden] {
  display: none !important;
}

.rc-support-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.rc-support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.rc-support-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 32px 28px;
  border-radius: 20px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.rc-support-modal__panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #fff;
}

.rc-support-modal__panel p {
  margin: 0 0 24px;
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}

.rc-support-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.rc-support-modal__btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(8px);
  font-family: inherit;
  cursor: pointer;
}

.rc-support-modal__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.rc-support-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #aaa;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.rc-support-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.rc-mark--modal {
  display: block;
  margin: 0 auto 12px;
  font-size: 2.5rem;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 94, 26, 0.35);
}

body.rc-support-open {
  overflow: hidden;
}
