:root { --color-primary: #26A9E0; --color-secondary: #FFFFFF; --color-login: #EA7C07; --color-text-dark: #000000; --color-bg: #FFFFFF; --header-offset: 122px; } * { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--color-bg); color: #333333; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); background-color: #FFFFFF; } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0B2A4A; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 24px; padding-right: 24px; gap: 12px; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-decoration: none; line-height: 1; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); } .logo:hover, .logo:focus { color: #26A9E0; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; flex-shrink: 0; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-block; text-decoration: none; text-align: center; font-weight: 700; border-radius: 8px; border: 0; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; line-height: 1.2; } .btn:hover, .btn:focus { transform: translateY(-2px); filter: brightness(1.06); text-decoration: none; } .btn-login { background-color: #EA7C07; color: #FFFFFF; padding: 10px 20px; font-size: 15px; box-shadow: 0 4px 12px rgba(234, 124, 7, 0.42); } .btn-register { background-color: #26A9E0; color: #FFFFFF; padding: 10px 20px; font-size: 15px; box-shadow: 0 4px 12px rgba(38, 169, 224, 0.42); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background-color: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; cursor: pointer; z-index: 1001; flex-shrink: 0; } .hamburger-line { display: block; width: 22px; height: 2px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #26A9E0; border-top: 1px solid rgba(255, 255, 255, 0.18); } .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; } .nav-link { display: inline-block; padding: 8px 12px; font-size: 15px; font-weight: 600; color: #FFFFFF; text-decoration: none; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link:focus, .nav-link.active { background-color: rgba(255, 255, 255, 0.22); color: #FFFFFF; text-decoration: none; } .nav-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 999; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: #0B2A4A; color: #E6F3FA; margin-top: 40px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 44px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); } .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: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; } .footer-logo:hover, .footer-logo:focus { color: #26A9E0; } .footer-description { margin: 0; font-size: 14px; line-height: 1.7; color: #C7E2F2; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: #FFFFFF; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { color: #C7E2F2; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover, .footer-nav a:focus { color: #26A9E0; text-decoration: underline; } .footer-dynamic-col { min-height: 1px; } .footer-mid { padding: 26px 0 10px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; } .footer-slot-anchor-inner { width: 100%; } .footer-bottom { background-color: #082038; padding: 18px 0; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #A9CBDF; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 12px; padding-right: 12px; justify-content: space-between; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 26px; } .header-top .header-container { position: relative; } .hamburger-menu { display: flex !important; } .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-left: 12px; padding-right: 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background-color: #0E3358; } .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 { display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 320px; height: 100%; min-height: 0; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 84px 16px 24px; overflow-y: auto; background-color: #0B2A4A; border-top: 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0; gap: 0; } .nav-link { display: block; width: 100%; padding: 13px 12px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top { padding: 32px 0 22px; } .footer-container { padding: 0 16px; } .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;
}
