:root {
  color-scheme: light dark;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 100%;
  --page: #fff; --text: #3b4149; --heading: #19212a; --muted: #66717e;
  --line: #dfe5eb; --soft: #f5f7fa; --accent: #2859b8;
  color: var(--text); background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: .875rem; line-height: 1.7; }
h1, h2, p { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, strong { color: var(--heading); }
strong { font-weight: 600; }
a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 1; padding: 8px 12px; background: var(--page); }
.skip-link:focus { top: 8px; }
.shell { width: calc(100% - 40px); max-width: 1120px; margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; min-height: 76px; padding-block: 12px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--heading); font-size: 1.625rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.2; text-decoration: none; }
.masthead-label { padding-left: 18px; border-left: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
main.shell { margin-block: 18px 28px; }
.priority-notice { margin-bottom: 24px; padding: 20px 24px; border: 1px solid #e2e3e5; background: var(--page); color: #70757d; line-height: 1.65; }
.priority-notice-label { display: block; margin-bottom: 6px; color: #8a7168; font-size: .75rem; font-weight: 600; }
.priority-notice-details p { font-size: .875rem; font-weight: 400; line-height: 1.65; }
.priority-notice-details p:first-child { color: var(--heading); font-size: 1rem; font-weight: 700; line-height: 1.5; }
.priority-notice-details p + p { margin-top: 8px; }
.priority-notice-details strong { color: var(--heading); font-weight: 700; }
.security-notices-frame { display: block; width: 100%; height: auto; aspect-ratio: 31 / 10; border: 0; }
.footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; min-height: 54px; color: var(--muted); font-size: .75rem; }
.footer-inner > span { font-weight: 600; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; color: var(--muted); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .shell { width: calc(100% - 24px); }
  .masthead-inner { gap: 7px 12px; min-height: 64px; padding-block: 8px; }
  .wordmark { font-size: 1.375rem; }
  .masthead-label { padding-left: 12px; font-size: .6875rem; }
  main.shell { margin-block: 12px 20px; }
  .priority-notice { margin-bottom: 20px; padding: 16px; }
}
@media (prefers-color-scheme: dark) {
  :root { --page: #15191f; --text: #d7dee7; --heading: #f0f3f7; --muted: #a7b1bd; --line: #303943; --soft: #1e252e; --accent: #a9c6ff; }
  .priority-notice { border-color: var(--line); color: var(--muted); }
  .priority-notice-label { color: #c4a69b; }
}
.error-heading { margin-bottom: 12px; font-size: 1rem; line-height: 1.5; font-weight: 700; letter-spacing: -.025em; }
.error-content { padding-top: 12px; border-top: 1px solid var(--line); }
.error-content .button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; margin-top: 16px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--heading); background: var(--page); font-weight: 600; text-decoration: none; }
.error-content .button-link:hover { color: var(--accent); border-color: var(--accent); background: var(--soft); }
@media (max-width: 700px) { .error-heading { font-size: .9375rem; } }
