/* Pop-up notice (js/common.js openNotice). Used by the website and the admin preview,
   so the colours are written out here rather than taken from either page's variables. */
.notice { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 52, .55); opacity: 0; transition: opacity .25s ease; }
.notice.is-open { opacity: 1; }
html.notice-open { overflow: hidden; }
.notice__box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #ffffff; border-radius: 16px; border-top: 5px solid #fda730; box-shadow: 0 24px 70px rgba(3, 4, 52, .35); color: #1b1f3b; font-family: "Source Sans 3", system-ui, sans-serif; transform: translateY(18px) scale(.97); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.notice.is-open .notice__box { transform: none; }
.notice__box--image { border-top: 0; }
.notice__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px 16px 0 0; }
.notice__body { padding: 1.6rem 1.6rem 1.4rem; }
.notice__eyebrow { margin: 0 0 .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c47d06; }
.notice__title { margin: 0 2rem .6rem 0; font-family: "Cinzel", Georgia, serif; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.55rem); line-height: 1.25; color: #030434; }
.notice__box--image .notice__title { margin-right: 0; }
.notice__text { margin: 0; font-size: 1.02rem; line-height: 1.6; color: #4a4f6a; }
.notice__text strong { color: #030434; }
.notice__text mark, .notice__text .rt-gold { background: none; color: #c47d06; font-weight: 700; }
.notice__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.notice__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.3rem; border: 0; border-radius: 10px; background: #fda730; color: #030434; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.notice__btn:hover { background: #ffb84d; transform: translateY(-1px); }
.notice__btn--ghost { background: #eef4fb; color: #030434; }
.notice__btn--ghost:hover { background: #dde9f6; }
.notice__btn:focus-visible, .notice__x:focus-visible { outline: 3px solid #a8cbec; outline-offset: 2px; }
.notice__x { position: absolute; top: .7rem; right: .7rem; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #030434; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(3, 4, 52, .15); }
.notice__x:hover { background: #eef4fb; }
@media (max-width: 480px) {
  .notice { align-items: end; padding: 0; }
  .notice__box { width: 100%; max-height: 85vh; border-radius: 18px 18px 0 0; transform: translateY(40px); }
  .notice__img { border-radius: 18px 18px 0 0; }
  .notice__body { padding: 1.4rem 1.2rem 1.3rem; }
  .notice__actions .notice__btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .notice, .notice__box { transition: none; } }
