[data-jiegan-notice-source][hidden] { display: none !important; }
html.jg-notice-is-open { overflow: hidden; scrollbar-gutter: stable; }
dialog.jg-notice-dialog {
  color-scheme: light;
  box-sizing: border-box;
  width: min(900px, calc(100% - 40px));
  max-width: none;
  max-height: min(860px, calc(100dvh - 64px));
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #fff;
  color: #202124;
  box-shadow: 0 24px 80px rgb(0 0 0 / 20%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
dialog.jg-notice-dialog[open] { display: flex; flex-direction: column; }
.jg-notice-dialog::backdrop { background: rgb(24 28 36 / 38%); backdrop-filter: blur(3px); }
.jg-notice-heading { position: relative; flex: 0 0 auto; padding: 28px 34px 22px; border-bottom: 1px solid #eaecf0; background: linear-gradient(#f7f8fa, #fff); }
.jg-notice-eyebrow { display: block; margin-bottom: 9px; color: #727782; font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.jg-notice-heading h2 { margin: 0; color: #151719; font-size: 23px; font-weight: 700; outline: none; }
.jg-notice-close { position: absolute; right: 22px; top: 23px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e5e7eb; border-radius: 50%; background: #fff; color: #616670; font-size: 24px; cursor: pointer; }
.jg-notice-content { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 26px 34px 10px; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #d7d9dd transparent; }
.jg-notice-content img, .jg-notice-content video, .jg-notice-content iframe { max-width: 100%; }
.jg-notice-content img, .jg-notice-content video { height: auto; }
.jg-notice-content a { color: #2064c8; text-decoration: underline; text-underline-offset: 3px; }
.jg-notice-content p { margin: 0 0 16px; }
.jg-notice-content h1, .jg-notice-content h2, .jg-notice-content h3 { color: #16181b; line-height: 1.5; }
.jg-notice-footer { flex: 0 0 auto; padding: 20px 30px 24px; background: #fff; border-top: 1px solid #f0f1f3; }
.jg-notice-actions { display: flex; justify-content: flex-end; gap: 10px; }
.jg-notice-actions button { min-height: 46px; padding: 10px 23px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.jg-notice-cancel { border: 1px solid #d9dce2; color: #34383f; background: #fff; }
.jg-notice-read { border: 1px solid #111; color: #fff; background: #111; }
.jg-notice-footer > p { margin: 12px 0 0; color: #777d87; font-size: 12px; text-align: right; line-height: 1.5; }
.jg-notice-nav-item { display: flex; align-items: center; }
.jg-notice-open { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; border: 1px solid #0071e3; padding: 10px 18px; border-radius: 999px; background: #fff; color: #1d1d1f; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; cursor: pointer; box-shadow: 0 0 0 1px rgb(0 113 227 / 12%), 0 4px 12px rgb(0 113 227 / 12%); }
.jg-notice-drawer-open { width: 100%; justify-content: flex-start; margin-top: 8px; }
.jg-notice-toolbar-open { display: none; }
.jg-notice-dialog button:focus-visible, .jg-notice-open:focus-visible { outline: 3px solid #5296ff; outline-offset: 3px; }
.jg-notice-actions button:hover, .jg-notice-close:hover, .jg-notice-open:hover { filter: brightness(.94); }
@media (max-width: 600px) {
  .jg-notice-toolbar-open { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding: 10px 18px; border: 1px solid #0071e3; border-radius: 999px; background: #fff; color: #1d1d1f; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; box-shadow: 0 0 0 1px rgb(0 113 227 / 12%), 0 4px 12px rgb(0 113 227 / 12%); }
  .jg-notice-toolbar-open span { margin-left: 8px; }
  dialog.jg-notice-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); border-radius: 22px; }
  .jg-notice-heading { padding: 22px 22px 18px; }
  .jg-notice-heading h2 { font-size: 21px; }
  .jg-notice-content { padding: 20px 22px 4px; font-size: 15px; }
  .jg-notice-footer { padding: 16px 20px 20px; }
  .jg-notice-actions button { flex: 1; padding-inline: 14px; }
  .jg-notice-footer > p { text-align: center; font-size: 11px; }
}
