/* Shared HUD styles */
/* RS_FONTS_START */
@font-face {
  font-family: "Lilita One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lilita_one-w400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-w700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* RS_FONTS_END */

.rs-ui-base {
  font-family: "Oswald", "Lilita One", sans-serif;
  color: #f2fbff;
}

:root {
  --rs-backdrop-color: rgba(4, 18, 38, 0.75);
  --rs-backdrop-blur: 4px;
}

/* PC Side Banners */
.banner-side {
  position: fixed;
  top: 50%;
  width: 300px;
  height: 250px;
  transform: translateY(-50%);
  z-index: 1;
  display: none !important; /* Controlled by JS */
  pointer-events: auto;
}

.banner-side--left {
  right: 50%;
  margin-right: 380px; /* 360px (half panel) + 20px gap */
}

.banner-side--right {
  left: 50%;
  margin-left: 380px;
}

/* Hide side banners on smaller screens where they would overlap or be cut off significantly */
@media (max-width: 1100px) {
  .banner-side {
    display: none !important;
  }
}

/* Common Popup Styles */
.rs-backdrop {
  position: absolute;
  inset: 0;
  background: var(--rs-backdrop-color, rgba(4, 18, 38, 0.75));
  backdrop-filter: blur(var(--rs-backdrop-blur, 4px));
  -webkit-backdrop-filter: blur(var(--rs-backdrop-blur, 4px));
  z-index: 0;
}

.rs-panel {
  position: relative;
  width: min(720px, 90vw);
  max-height: min(640px, 90vh);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.rs-panel,
.rs-panel * {
  paint-order: stroke fill;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.7);
}

.rs-panel__header,
.rs-panel__footer {
  padding: 18px 24px;
  background: rgba(11, 25, 43, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rs-panel__footer {
  display: none !important;
}

.rs-panel__title {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rs-panel__close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  font-size: 50px;
  line-height: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  color:#fff;
}

.rs-panel__close:hover,
.rs-panel__close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.rs-panel__body {
  padding: 0 24px 24px;
  overflow-y: auto;
  flex: 1;
}

.rs-panel__summary {
  margin: 20px 0 16px;
  font-size: 16px;
  line-height: 1.5;
}

.rs-panel__footer {
  justify-content: flex-end;
}

.rs-panel__cta {
  padding: 10px 18px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: "Oswald", "Lilita One", sans-serif;
}

.rs-panel__cta:hover,
.rs-panel__cta:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
