:root { --primary: #26A9E0; --secondary: #FFFFFF; --accent-login: #EA7C07; --dark: #000000; --text-dark: #1a1a1a; --text-light: #FFFFFF; --header-offset: 122px; --header-top-bg: #0B2536; --nav-bg: #26A9E0; --footer-bg: #0B2536; --footer-text: #E6F4FB; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Roboto, Arial, sans-serif; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; max-width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.25); overflow-x: hidden; background-color: var(--header-top-bg); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--header-top-bg); 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: 30px; padding-right: 30px; box-sizing: border-box; } .logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; text-decoration: none; text-transform: uppercase; flex-shrink: 0; } .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; flex-shrink: 0; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-block; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; white-space: nowrap; } .btn-login { background-color: var(--accent-login); color: #FFFFFF; box-shadow: 0 3px 10px rgba(234,124,7,0.45); } .btn-login:hover { background-color: #cf6c05; transform: translateY(-1px); } .btn-register { background-color: #26A9E0; color: #FFFFFF; box-shadow: 0 3px 10px rgba(38,169,224,0.5); } .btn-register:hover { background-color: #1c8dbf; transform: translateY(-1px); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; 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(9px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--nav-bg); box-sizing: border-box; } .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: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { background-color: rgba(0,0,0,0.22); color: #FFFFFF; } .nav-overlay { position: fixed; inset: 0; background-color: rgba(0,0,0,0.55); z-index: 999; display: none; } .nav-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--footer-bg); color: var(--footer-text); width: 100%; max-width: 100%; overflow-x: hidden; } .footer-top { padding: 40px 0 0; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 24px; } .footer-col { min-width: 0; } .footer-about { grid-column: span 1; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; text-transform: uppercase; color: #FFFFFF; text-decoration: none; margin-bottom: 12px; letter-spacing: 0.5px; } .footer-description { font-size: 14px; line-height: 1.7; color: #C4E2F2; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #C4E2F2; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #26A9E0; padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { display: block; width: 100%; } .footer-mid { padding: 10px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 20px 30px; text-align: center; background-color: rgba(0,0,0,0.25); } .footer-bottom p { margin: 0; font-size: 13px; color: #B8D9EA; } @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: 60px; 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% - 130px); font-size: 20px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .hamburger-menu.active { transform: translateY(-50%); } .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(--header-top-bg); 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; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease; background-color: #0B2536; padding-top: 90px; z-index: 1000; overflow-y: auto; } .main-nav.active { display: block !important; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0 16px; gap: 6px; } .nav-link { display: block; width: 100%; padding: 14px 16px; font-size: 16px; border-radius: 8px; background-color: rgba(255,255,255,0.05); } .nav-link:hover, .nav-link.active { background-color: rgba(38,169,224,0.35); } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding-left: 18px; padding-right: 18px; } .footer-bottom { padding-left: 18px; padding-right: 18px; } .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;
}
