@font-face { font-family: Sora; src: url("fonts/sora-variable.ttf") format("truetype-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Shared inner-page header and navigation state. */
a[data-announcements-link] { position: relative; white-space: nowrap; }
a[data-announcements-link][data-announcement-unread="true"]::before {
  content: ""; position: absolute; right: -10px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: #ff8a32;
  transform: translateY(-50%); pointer-events: none;
}
.mobile-nav a[data-announcements-link]::before,
.mobile-panel a[data-announcements-link]::before,
.navpanel .menu a[data-announcements-link]::before { right: 16px; }
.mobile-panel a[aria-current="page"] { color: #ffaf78; }

.site-header { position: sticky; top: 0; z-index: 20; background: #030711ed; backdrop-filter: blur(16px); border-bottom: 1px solid #ffffff14; }
.site-header-inner { width: min(calc(100% - 64px),1320px); min-height: 88px; margin: auto; display: grid; grid-template-columns: minmax(174px,1fr) auto minmax(240px,1fr); align-items: center; gap: 24px; }
.site-header a { text-decoration: none; color: inherit; }
.site-brand { display: block; width: 174px; justify-self: start; }
.site-brand img { display: block; width: 174px; height: auto; }
.site-primary-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; color: #cbd3df; }
.site-primary-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.site-primary-nav a[aria-current="page"] { color: #fff; }
.site-primary-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background: #ff8a32; }
.site-header-actions { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 13px; }
.site-header-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .site-download { border: 1px solid #667182; border-radius: 30px; padding: 0 23px; }
.site-menu-button, .site-mobile-nav { display: none; }
.site-mobile-nav[hidden] { display: none; }
.site-toast { position: fixed; z-index: 30; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; padding: 14px 22px; border: 1px solid #ffffff30; border-radius: 14px; background: #17202f; color: #edf3fc; font-size: 13px; }
#announcements-page { min-height: 55vh; }
#announcement-list h2 { line-height: 1.6; }
#announcement-list p { color: #b8c1d1; line-height: 1.8; }
#announcement-list .announcement-unread { color: #ffaf78; }
#announcement-detail > a { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; color: #ffaf78; }
.announcement-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; }
.announcement-footer p { margin: 0; }
.announcement-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; }
.announcement-footer nav a { min-height: 36px; display: inline-flex; align-items: center; }
@media (max-width: 1000px) { .site-header-inner { gap: 18px; grid-template-columns: minmax(174px,1fr) auto minmax(200px,1fr); } .site-header-actions { gap: 16px; } }
@media (max-width: 760px) {
  .site-header-inner { width: calc(100% - 36px); min-height: 72px; grid-template-columns: 1fr auto; }
  .site-brand, .site-brand img { width: 148px; }
  .site-primary-nav, .site-header-actions { display: none; }
  .site-menu-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff35; background: #ffffff05; border-radius: 50%; }
  .site-menu-button svg { width: 20px; height: 20px; }
  .site-mobile-nav { position: absolute; top: 65px; right: 18px; display: flex; flex-direction: column; width: min(280px,calc(100% - 36px)); padding: 8px; border: 1px solid #ffffff35; border-radius: 14px; background: #0c1422; box-shadow: 0 16px 40px #0009; gap: 0; font-size: 14px; }
  .site-mobile-nav a { min-height: 46px; display: flex; align-items: center; padding: 8px 14px; border-radius: 8px; }
  .site-mobile-nav a[aria-current="page"] { color: #ffaf78; background: #ffffff06; }
  .site-mobile-nav a:hover { background: #ffffff06; }
  .site-mobile-nav a[data-announcements-link]::before { right: 16px; }
}

.site-header { font-weight: 500; font-family: Sora,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; }
.site-header-inner, .site-header-inner * { box-sizing: border-box; }
.site-header button { color: #f4f6fa; cursor: pointer; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #97d4ff; outline-offset: 4px; }
.site-menu-button { justify-self: end; }

.site-header .site-menu-button:hover { border-color: #9ca9ba; color: #fff; }
