:root { --header-offset: 122px; --color-primary: #26A9E0; --color-secondary: #FFFFFF; --color-login: #EA7C07; --color-text-dark: #000000; --color-bg: #FFFFFF; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.15); } .header-top { min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #26A9E0; width: 100%; } .header-container { 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: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; white-space: nowrap; } .logo:hover { opacity: 0.9; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; } .btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 22px; font-size: 15px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); } .btn-login { background-color: #EA7C07; color: #FFFFFF; } .btn-register { background-color: #000000; color: #FFFFFF; } .main-nav { min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-bottom: 2px solid #26A9E0; } .nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; position: relative; } .nav-link { display: inline-block; text-decoration: none; color: #000000; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover { background-color: #26A9E0; color: #FFFFFF; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 1001; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: #000000; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .nav-overlay { display: none; } .site-footer { background-color: #0B3A4D; color: #FFFFFF; padding: 50px 20px 0; margin-top: 40px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #26A9E0; text-decoration: none; margin-bottom: 14px; letter-spacing: 1px; } .footer-description { font-size: 14px; line-height: 1.7; color: #D5E8F0; word-wrap: break-word; overflow-wrap: break-word; margin: 0; } .footer-col-title { font-size: 17px; color: #FFFFFF; margin: 0 0 14px; font-weight: 700; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { color: #D5E8F0; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: #26A9E0; } .footer-slot-anchor-inner { min-height: 0; } .footer-mid, .footer-mid-row { max-width: 1200px; margin: 0 auto; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 20px; text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #D5E8F0; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .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: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #F0F8FC; min-height: 48px; } .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 { min-height: 48px !important; height: 48px !important; justify-content: flex-start; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); } .hamburger-menu.active { transform: translateY(-50%); } .main-nav { display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: auto !important; min-height: 0 !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; flex-direction: column; align-items: stretch; background-color: #FFFFFF; transform: translateX(-100%); transition: transform 0.3s ease; border-bottom: 2px solid #26A9E0; } .main-nav.active { display: block; transform: translateX(0); } .main-nav.active .nav-container { flex-direction: column; align-items: stretch; height: auto; padding: 10px 15px; gap: 0; } .main-nav .nav-link { display: block; padding: 12px 10px; border-bottom: 1px solid #E5EEF3; font-size: 15px; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 999; } .nav-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-col { text-align: left; } .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;
}
