:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg: #FFFFFF; --text-dark: #000000; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text-dark); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.18); background: var(--primary); }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #1E8FBF, #26A9E0); width: 100%; }
.header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; }
.logo { display: inline-block; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: #FFFFFF; text-decoration: none; text-transform: lowercase; line-height: 1; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 6px; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-login { background: var(--login-color); color: #FFFFFF; padding: 11px 22px; font-size: 15px; box-shadow: 0 3px 10px rgba(234,124,7,0.45); }
.btn-register { background: #FFFFFF; color: #000000; padding: 11px 22px; font-size: 15px; box-shadow: 0 3px 10px rgba(0,0,0,0.22); border: 2px solid #000000; }
.mobile-header-bar { display: none; }
.hamburger-menu { display: none; }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; width: 100%; border-top: 1px solid rgba(38,169,224,0.25); }
.nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 24px; }
.nav-menu li { margin: 0; }
.nav-menu a { color: #000000; text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav-menu a:hover { color: #26A9E0; border-bottom-color: #26A9E0; }
.nav-overlay { display: none; }
.site-footer { background: #0E3A4E; color: #FFFFFF; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; }
.footer-slot-anchor { width: 100%; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 900; color: #26A9E0; text-decoration: none; margin-bottom: 12px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #D3E7F0; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #26A9E0; display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #D3E7F0; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #26A9E0; }
.footer-mid-area { margin-top: 24px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { background: #082A3A; text-align: center; padding: 16px 12px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #B9D5E2; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { display: none !important; }
  .mobile-header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 60px; height: 60px; padding: 0 15px; background: linear-gradient(90deg, #1E8FBF, #26A9E0); position: relative; }
  .mobile-header-bar .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 6px; position: relative; z-index: 1002; }
  .hamburger-menu span { display: block; width: 100%; height: 3px; background: #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); }
  .hamburger-spacer { width: 40px; height: 40px; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #FFFFFF; border-bottom: 1px solid rgba(38,169,224,0.25); }
  .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; }
  .desktop-nav-buttons { display: none !important; }
  .main-nav { min-height: 48px; height: 48px; display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; background: #0E3A4E; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; padding-top: 70px; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 0 18px 24px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-menu li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-menu a { display: block; color: #FFFFFF; font-size: 16px; padding: 14px 4px; border-bottom: none; }
  .nav-menu a:hover { color: #26A9E0; }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); z-index: 999; }
  .nav-overlay.active { display: block; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { padding: 28px 16px 16px; }
  body.no-scroll { overflow: hidden; }
  .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: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-grid { grid-template-columns: 1fr; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
