:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg-color: #FFFFFF; --text-dark: #000000; --header-offset: 122px; --header-top-height: 68px; --main-nav-height: 52px; } *, *::before, *::after { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-color); color: var(--text-dark); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--secondary); box-shadow: 0 4px 16px rgba(0,0,0,0.15); border-bottom: 2px solid var(--primary); } .header-top { width: 100%; height: var(--header-top-height); min-height: var(--header-top-height); display: flex; align-items: center; overflow: hidden; background-color: var(--primary); box-sizing: border-box; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; box-sizing: border-box; } .logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 1px; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,0.25); } .logo:hover { color: var(--secondary); opacity: 0.9; } .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 { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; line-height: 1.2; white-space: nowrap; } .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.25); opacity: 0.95; } .btn-login { background-color: var(--login-color); color: #FFFFFF; border: 2px solid #FFFFFF; } .btn-register { background-color: #000000; color: #FFFFFF; border: 2px solid var(--secondary); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--secondary); 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); } .main-nav { width: 100%; height: var(--main-nav-height); min-height: var(--main-nav-height); display: flex; align-items: center; overflow: hidden; background-color: #F2F9FD; box-sizing: border-box; border-top: 1px solid #D6EEF9; } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; box-sizing: border-box; } .nav-link { display: inline-block; padding: 8px 14px; color: #1A4A63; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; line-height: 1.2; } .nav-link:hover, .nav-link.active { background-color: var(--primary); color: var(--secondary); } .nav-overlay { display: none; } .site-footer { background-color: #0E2A3A; color: #E6F2F8; font-size: 15px; line-height: 1.7; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .footer-top { padding: 50px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; margin-bottom: 12px; } .footer-logo:hover { color: var(--secondary); } .footer-description { margin: 0 0 10px; color: #B8D8E8; font-size: 14px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { margin: 0 0 16px; font-size: 17px; font-weight: 700; color: var(--secondary); } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #B8D8E8; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--primary); text-decoration: underline; } .footer-slot-anchor-inner { display: block; min-height: 1px; } .footer-dynamic-col { min-height: 1px; } .footer-mid { padding: 10px 0 20px; border-top: 1px solid rgba(255,255,255,0.12); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 15px 0; } .footer-bottom { background-color: #091E29; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.12); } .footer-copyright { margin: 0; text-align: center; font-size: 14px; color: #9FC4D8; } @media (max-width: 768px) { :root { --header-offset: 110px; --header-top-height: 60px; --main-nav-height: 48px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--primary); position: relative; z-index: 990; } .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 !important; min-height: 48px !important; display: none; flex-direction: column; position: fixed; top: var(--header-top-height); left: 0; width: 100%; height: auto !important; min-height: auto !important; max-height: calc(100vh - var(--header-top-height)); overflow-y: auto; background-color: #F2F9FD; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 10px 15px 20px; height: auto; gap: 0; } .nav-link { width: 100%; padding: 12px 14px; font-size: 16px; border-radius: 6px; border-bottom: 1px solid #D6EEF9; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.55); z-index: 999; } .nav-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-container { padding: 0 18px; } .footer-top { padding: 36px 0 20px; } .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;
}
