/* Generated from styles/official-address-notice.css; edit source and rebuild. */
/* Terms and homepage notice; build with node tools/build-official-address-notice.cjs. */
#officialAddressNotice,
#officialAddressNotice *,
#crownTermsDialog,
#crownTermsDialog * { box-sizing: border-box; }
#officialAddressNotice,
#crownTermsDialog {
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #e0d6c0;
  border-radius: 18px;
  background: #fffdf8;
  color: #08244a;
  box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7;
  text-align: left;
}
#officialAddressNotice:not([open]),
#crownTermsDialog:not([open]) { display: none; }
#officialAddressNotice::backdrop,
#crownTermsDialog::backdrop { background: rgb(3 17 34 / 68%); }
#officialAddressNotice .official-address-notice-content { padding: 32px 32px 24px; }
#officialAddressNotice .official-address-notice-kicker,
#crownTermsDialog .official-address-notice-kicker {
  margin: 0 0 14px;
  color: #8b7040;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
#officialAddressNotice .official-address-notice-mark {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 11px;
  border: 1px solid #e5d5ad;
  border-radius: 20px;
  color: #806122;
  background: #f7f1e4;
  font-size: 12px;
  font-weight: 700;
}
#officialAddressNotice h2,
#crownTermsDialog h2 {
  margin: 0 0 20px;
  color: #08244a;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -1px;
  word-break: keep-all;
}
#officialAddressNotice .official-address-notice-description {
  color: #4e6073;
  font-size: 14px;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
#officialAddressNotice .official-address-notice-description p { margin: 0 0 14px; }
#officialAddressNotice .official-address-notice-description p:last-child { margin-bottom: 0; }
#officialAddressNotice .official-address-notice-alias {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #e9e0ce;
  border-radius: 10px;
  background: #f5f1e8;
}
#officialAddressNotice .official-address-notice-alias p {
  margin: 0 0 10px;
  color: #576778;
  font-size: 12px;
  line-height: 1.7;
  word-break: keep-all;
}
#officialAddressNotice .official-address-notice-link {
  color: #08244a;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
#officialAddressNotice .official-address-notice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid #e7e0d2;
  background: #f6f3ec;
}
#officialAddressNotice .official-address-notice-today {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #576778;
  font-size: 12px;
  cursor: pointer;
}
#officialAddressNotice .official-address-notice-today input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #08244a;
}
#officialAddressNotice .official-address-notice-close,
#crownTermsDialog .official-address-notice-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid #08244a;
  border-radius: 8px;
  background: #08244a;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}
#officialAddressNotice .official-address-notice-close:hover,
#crownTermsDialog .official-address-notice-close:hover { background: #173e6b; border-color: #173e6b; }
#officialAddressNotice a:focus-visible,
#officialAddressNotice button:focus-visible,
#officialAddressNotice input:focus-visible,
#crownTermsDialog button:focus-visible,
#crownTermsOpen:focus-visible { outline: 3px solid #ac7d2e; outline-offset: 3px; }
#officialAddressNotice.official-address-notice-fallback,
#crownTermsDialog.official-address-notice-fallback {
  position: fixed;
  z-index: 2147483647;
  inset: 50% auto auto 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.crown-dialog-backdrop {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  background: rgb(3 17 34 / 68%);
}
#crownTermsOpen {
  margin: 0 18px 0 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
#crownTermsOpen:hover { color: #e5c875; }
#crownTermsDialog {
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
  background: #fff;
}
#crownTermsDialog .crown-terms-header {
  position: relative;
  padding: 30px 36px 24px;
  border-bottom: 1px solid #e7dfcf;
  background: #f6f3ec;
}
#crownTermsDialog h2 { margin-bottom: 8px; padding-right: 30px; }
#crownTermsDialog .crown-terms-date {
  margin: 0;
  color: #667482;
  font-size: 12px;
}
#crownTermsDialog .crown-terms-close-top {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #08244a;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
#crownTermsDialog .crown-terms-close-top:hover { background: #eae4d7; }
#crownTermsDialog .crown-terms-content { padding: 28px 36px; }
#crownTermsDialog .crown-terms-intro {
  margin: 0 0 26px;
  padding: 14px 18px;
  border-left: 3px solid #bc9548;
  background: #f6f8fb;
  color: #435974;
  font-size: 14px;
  line-height: 1.8;
  word-break: keep-all;
}
#crownTermsDialog .crown-terms-section { padding: 0 0 22px; }
#crownTermsDialog .crown-terms-section + .crown-terms-section {
  padding-top: 22px;
  border-top: 1px solid #edf0f3;
}
#crownTermsDialog .crown-terms-section:last-child { padding-bottom: 0; }
#crownTermsDialog h3 {
  margin: 0 0 10px;
  color: #08244a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}
#crownTermsDialog .crown-terms-section p {
  margin: 0 0 8px;
  color: #4e6073;
  font-size: 14px;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
#crownTermsDialog .crown-terms-section p:last-child { margin-bottom: 0; }
#crownTermsDialog .crown-terms-footer {
  padding: 16px 36px;
  border-top: 1px solid #e7edf2;
  text-align: right;
}
@media (max-width: 480px) {
  #officialAddressNotice .official-address-notice-content { padding: 26px 22px 22px; }
  #officialAddressNotice h2,
  #crownTermsDialog h2 { font-size: 23px; }
  #officialAddressNotice .official-address-notice-description { font-size: 13px; }
  #officialAddressNotice .official-address-notice-actions { padding: 12px 18px; }
  #crownTermsDialog .crown-terms-header { padding: 26px 22px 20px; }
  #crownTermsDialog .crown-terms-content { padding: 22px; }
  #crownTermsDialog .crown-terms-footer { padding: 16px 22px; }
  #crownTermsDialog .crown-terms-section p { font-size: 13px; }
}
