:root {
  color-scheme: light;
  --blue: #244dc6;
  --blue-hover: #193da9;
  --ink: #192337;
  --muted: #69758a;
  --line: #e9edf4;
  --canvas: #f6f8fc;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(ellipse 720px 340px at 50% 14%, #eaf0fe 0%, transparent 100%), var(--canvas);
  font: 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #6f94ef; outline-offset: 4px; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }

.site-header { background: #ffffffb3; border-bottom: 1px solid #e5ebf580; }
.header-inner { max-width: 1200px; margin: auto; min-height: 84px; padding: 18px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.identity { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.identity img { display: block; }
.identity strong { font-size: 1.125rem; font-weight: 650; letter-spacing: .015em; }
.header-login { display: flex; gap: 9px; align-items: center; min-height: 42px; padding: 8px 16px; background: white; border: 1px solid #dfe5ef; border-radius: 100px; font-size: .875rem; }
.header-login svg { width: 17px; height: 17px; }
.header-login:hover { border-color: #b5c6ed; background: #f5f8ff; }
.account-user { display: flex; gap: 14px; align-items: center; font-size: .875rem; }
.account-user > span { max-width: 250px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-user button { border: 0; background: none; color: var(--muted); padding: 8px; min-height: 44px; }

.page-shell { width: min(100%, 870px); margin: 0 auto; padding: 54px 24px 28px; }
.notice-card { background: #fff; border: 1px solid #e6ebf4; border-radius: 24px; box-shadow: 0 14px 50px -24px #243f7830, 0 3px 8px #263f6c03; overflow: hidden; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 30px 0; }
.notice-tag { display: inline-flex; align-items: center; gap: 7px; border-radius: 100px; color: #3c62b4; background: #f0f5ff; padding: 4px 11px; font-size: .8125rem; }
.notice-tag > span { width: 5px; height: 5px; border-radius: 50%; background: #678be1; }
.notice-id { font-size: .75rem; color: #7b8596; letter-spacing: .02em; overflow-wrap: anywhere; text-align: right; }
.notice-main { padding: 20px 64px 37px; text-align: center; }
.notice-symbol { display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; width: 64px; height: 64px; border-radius: 19px; color: var(--blue); background: linear-gradient(150deg, #f3f7ff, #e8efff); border: 1px solid #e7eeff; box-shadow: inset 0 1px 0 white; }
.notice-symbol svg { width: 33px; height: 33px; stroke-width: 1.8; }
h1 { margin: 0 auto; max-width: 650px; font-size: clamp(1.65rem, 2.7vw, 2.125rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.6; overflow-wrap: anywhere; text-wrap: pretty; }
.notice-description { margin: 16px 0 0; font-size: 1rem; color: var(--muted); }
.access-panel { padding-top: 29px; margin: 30px auto 0; border-top: 1px solid var(--line); }
.gate-heading { display: flex; gap: 7px; justify-content: center; align-items: center; margin: 0 0 19px; color: #737e8f; font-size: .875rem; font-weight: 400; }
.gate-heading svg { width: 15px; height: 15px; stroke-width: 1.7; }
.gate-copy { margin: 0 0 23px; font-size: 1rem; color: var(--muted); }
.action-row { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 21px; border: 0; border-radius: 12px; font-size: 1rem; font-weight: 500; text-decoration: none; transition: background .18s, box-shadow .18s, transform .18s; }
.button-primary { color: white; background: var(--blue); width: 290px; max-width: 100%; min-height: 54px; box-shadow: 0 5px 12px -5px #244dc665, inset 0 1px 0 #ffffff20; }
.button-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 7px 16px -5px #244dc665; }
.button-primary:active { transform: none; }
.button-primary svg { width: 18px; height: 18px; }
.button-secondary { background: transparent; color: #4263b1; font-size: .875rem; padding: 8px 5px; min-height: 42px; gap: 8px; }
.button-secondary:hover { color: #173c9e; text-decoration: underline; text-underline-offset: 5px; }
.button-secondary svg { width: 16px; height: 16px; }
.register-entry { display: flex; align-items: center; justify-content: center; gap: 3px; flex-wrap: wrap; font-size: .875rem; color: #737e8f; }
.notice-tip { display: flex; justify-content: center; align-items: flex-start; gap: 8px; padding: 18px 26px; background: #f9faff; border-top: 1px solid #edf1f9; color: #748198; }
.notice-tip svg { width: 16px; height: 16px; margin-top: 4px; }
.notice-tip p { margin: 0; font-size: .8125rem; line-height: 1.85; }
.site-footer { margin-top: 26px; text-align: center; color: #788599; font-size: .75rem; line-height: 1.9; }
.site-footer p { margin: 4px 0; }
.site-footer p:last-child { color: #8490a1; }
.loading-text { margin: 0; color: var(--muted); }
.error-copy { color: #b54540; }

.auth-dialog { padding: 0; border: 1px solid #e5ebf3; border-radius: 24px; width: calc(100% - 32px); max-width: 450px; max-height: calc(100dvh - 40px); overflow: auto; background: white; color: var(--ink); box-shadow: 0 24px 90px #15244530; }
.auth-dialog::backdrop { background: #1a2e4b55; backdrop-filter: blur(5px); }
body:has(.auth-dialog[open]) { overflow: hidden; }
.dialog-content { padding: 34px 34px 26px; }
.dialog-mark { display: block; margin-bottom: 23px; }
.close-dialog { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f5f7fb; color: #7d899b; font-size: 1.65rem; line-height: 1; }
.close-dialog:hover { background: #eaf0fb; color: var(--ink); }
.auth-dialog h2 { margin: 0 0 9px; font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.5; }
.auth-description { margin: 0 0 25px; color: var(--muted); font-size: .875rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; margin-bottom: 23px; border-radius: 11px; background: #f2f5fa; }
.auth-tabs button { border: 0; background: none; border-radius: 8px; padding: 9px 8px; min-height: 42px; font-size: .875rem; color: #737f91; }
.auth-tabs button[aria-selected=true] { background: white; color: var(--blue); font-weight: 600; box-shadow: 0 2px 7px #263f6812; }
.auth-dialog label { display: block; margin: 16px 0 7px; font-size: .875rem; font-weight: 500; }
.auth-dialog input { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid #dfe6f0; background: #fcfdff; padding: 11px 14px; font-size: 1rem; color: var(--ink); }
.auth-dialog input::placeholder { color: #8793a5; }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.form-message { margin: 15px 0; font-size: .875rem; line-height: 1.8; overflow-wrap: anywhere; }
.form-message:empty { margin: 24px 0 0; }
.form-message.error { color: #b23f39; }
.form-message.pending { color: #786025; background: #faf5e8; border-radius: 10px; padding: 12px; }
.form-submit { width: 100%; }
.auth-footnote { margin: 19px 0 0; text-align: center; font-size: .75rem; color: #788599; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 10px); max-width: calc(100% - 32px); width: max-content; background: #223349; color: white; padding: 12px 22px; border-radius: 12px; font-size: .875rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 10; box-shadow: 0 8px 24px #22334925; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.noscript-message { padding: 20px; text-align: center; color: #b54540; }

@media (min-width: 1500px) {
  .page-shell { padding-top: 70px; }
  .notice-main { padding-top: 26px; padding-bottom: 43px; }
}
@media (max-width: 680px) {
  .header-inner { padding: 17px 24px; min-height: 76px; }
  .page-shell { padding: 30px 20px 24px; }
  .card-meta { padding: 22px 24px 0; }
  .notice-main { padding: 24px 30px 30px; }
  .notice-symbol { margin-bottom: 24px; }
  h1 { font-size: 1.75rem; }
  .access-panel { margin-top: 27px; padding-top: 25px; }
  .account-user > span { max-width: 165px; }
}
@media (max-width: 430px) {
  .header-inner { padding: 16px 18px; gap: 12px; min-height: 72px; }
  .identity { gap: 9px; }
  .identity img { width: 31px; height: 31px; }
  .identity strong { font-size: 1rem; }
  .header-login { font-size: .8125rem; padding: 7px 11px; gap: 6px; }
  .header-login svg { width: 15px; height: 15px; }
  .page-shell { padding: 25px 15px 22px; }
  .notice-card { border-radius: 20px; }
  .card-meta { padding: 19px 20px 0; gap: 12px; }
  .notice-tag { font-size: .75rem; padding: 4px 9px; gap: 6px; white-space: nowrap; }
  .notice-id { font-size: .75rem; }
  .notice-main { padding: 28px 23px 27px; }
  .notice-symbol { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 21px; }
  .notice-symbol svg { width: 29px; height: 29px; }
  h1 { font-size: 1.5rem; line-height: 1.65; }
  .notice-description { margin-top: 13px; }
  .access-panel { margin-top: 24px; padding-top: 23px; }
  .button-primary { width: 100%; min-height: 53px; }
  .action-row { gap: 9px; }
  .notice-tip { padding: 15px 21px; gap: 7px; }
  .notice-tip p { font-size: .75rem; }
  .site-footer { margin-top: 22px; font-size: .75rem; }
  .account-user { gap: 4px; }
  .account-user > span { max-width: 110px; font-size: .75rem; }
  .account-user button { font-size: .8125rem; }
  .dialog-content { padding: 29px 24px 23px; }
  .auth-dialog { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
