/* House notice overlay — theme-agnostic, scoped to .fmcla-notice */
.fmcla-notice {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.84);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fmcla-notice.fmcla-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fmcla-notice[hidden] {
  display: none !important;
}

.fmcla-notice.fmcla-show[hidden] {
  display: flex !important;
}

.fmcla-notice__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 22px 22px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid #2a2a2a;
  color: #ddd;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
}

.fmcla-notice__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.fmcla-notice__close:hover {
  color: #fff;
}

.fmcla-notice__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid #c6ff00;
  color: #c6ff00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.fmcla-notice__title {
  text-align: center;
  color: #c6ff00;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.fmcla-notice__desc {
  text-align: center;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.fmcla-notice__highlight {
  background: #0f0f0f;
  border: 1px solid #c6ff00;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #eee;
}

.fmcla-notice__highlight strong,
.fmcla-notice__highlight b {
  color: #c6ff00;
}

.fmcla-notice__highlight p {
  margin: 0 0 0.7em;
}

.fmcla-notice__highlight p:last-child {
  margin-bottom: 0;
}

.fmcla-notice__cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  padding: 13px 20px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #c6ff00;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fmcla-notice__cta:hover {
  color: #000;
  filter: brightness(1.05);
}

.fmcla-notice__continue {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 20px;
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  color: #ddd;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.fmcla-notice__continue:hover {
  background: #292929;
  color: #fff;
}

.fmcla-notice__note {
  margin-top: 12px;
  color: #888;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 600px) {
  .fmcla-notice {
    padding: 15px;
  }

  .fmcla-notice__dialog {
    max-width: 100%;
    padding: 29px 18px 22px;
    border-radius: 12px;
  }

  .fmcla-notice__title {
    font-size: 19px;
  }
}
