:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg-color: #FFFFFF; --text-dark: #000000; --header-offset: 122px; }
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-color); color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: #0A4A66; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0A4A66; border-bottom: 1px solid rgba(38,169,224,0.35); }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; text-align: center; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.25); filter: brightness(1.05); }
.btn-login { background-color: var(--login-color); color: #FFFFFF; box-shadow: 0 3px 8px rgba(234,124,7,0.4); }
.btn-register { background: linear-gradient(135deg, #26A9E0 0%, #1A85B0 100%); color: #FFFFFF; box-shadow: 0 3px 8px rgba(38,169,224,0.45); }
.mobile-nav-buttons { display: none; min-height: 48px; width: 100%; }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #083A50; }
.nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; flex-direction: row; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: nowrap; }
.nav-link { display: block; padding: 6px 12px; color: #FFFFFF; font-size: 14px; font-weight: 600; white-space: nowrap; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-link.active { background-color: var(--primary); color: #FFFFFF; }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 4px; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
.site-footer { background-color: #062A3A; color: #E6F2F8; padding: 40px 20px 0; }
.footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 30px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; margin-bottom: 12px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #BFDCE8; margin: 0 0 10px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #BFDCE8; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-nav a:hover { color: var(--primary); padding-left: 4px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-mid-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { border-top: 1px solid rgba(38,169,224,0.3); padding: 18px 20px; text-align: center; }
.copyright { margin: 0; font-size: 13px; color: #9CC4D6; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px; min-height: 60px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; max-width: calc(100% - 100px); font-size: 24px; }
  .logo img { display: block; max-width: 100%; height: auto; max-height: 56px; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0A4A66; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { height: 48px; min-height: 48px; position: fixed; top: 60px; left: 0; width: 100%; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; background-color: #083A50; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 8px; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; padding: 8px 15px 24px; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .nav-list { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; width: 100%; }
  .nav-link { padding: 12px 14px; font-size: 15px; border-radius: 6px; }
  .hamburger-menu { display: flex; position: relative; z-index: 2; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
/* 内容保护（系统追加，请勿删除） */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
