/* Isolated marketing announcement; existing page/header/dock layout is untouched. */
#dynasty-december-notice:not([open]) { display: none !important; }
#dynasty-december-notice {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(560px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-width: 560px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  padding: 0;
  border: 1px solid #cfddd4;
  border-radius: 16px;
  background: #fbfcf8;
  color: #203d32;
  box-shadow: 0 20px 72px #102b3240;
  font-family: inherit;
  text-align: left;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#dynasty-december-notice::backdrop { background: #122a225c; }
#dynasty-december-notice .dynasty-notice__content { position: relative; padding: 44px 36px 32px; }
#dynasty-december-notice .dynasty-notice__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px;
  background: #eaf0ea; color: #203d32; font-size: 28px; line-height: 1; cursor: pointer;
}
#dynasty-december-notice .dynasty-notice__eyebrow { margin: 16px 0 16px; font-size: 11px; line-height: 1.6; letter-spacing: .12em; font-weight: 700; color: #557264; }
#dynasty-december-notice h2 { margin: 0 0 24px; font-size: clamp(27px, 5.8vw, 36px); line-height: 1.15; font-weight: 650; color: #193f32; overflow-wrap: break-word; }
#dynasty-december-notice #dynasty-december-copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: #344d42; }
#dynasty-december-notice .dynasty-notice__actions { display: grid; gap: 10px; margin-top: 26px; }
#dynasty-december-notice .dynasty-notice__actions a,
#dynasty-december-notice .dynasty-notice__actions button {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 13px 18px; border: 1px solid #bdcfc3; border-radius: 10px;
  font-family: inherit; font-size: 16px; line-height: 1.4; font-weight: 600; text-decoration: none; cursor: pointer;
  background: transparent; color: #193f32;
}
#dynasty-december-notice .dynasty-notice__actions a { background: #193f32; border-color: #193f32; color: #fff; }
#dynasty-december-notice :is(a,button):focus-visible { outline: 3px solid #b08238; outline-offset: 3px; }
@media(max-width: 480px) {
  #dynasty-december-notice .dynasty-notice__content { padding: 44px 24px 24px; }
}
@media print { #dynasty-december-notice { display: none !important; } }
