:root { --header-offset: 122px; --primary: #26A9E0; --accent: #FFFFFF; --login: #EA7C07; --bg: #FFFFFF; --text: #000000; --header-top-bg: #26A9E0; --main-nav-bg: #FFFFFF; --footer-bg: #0B2A3A; --footer-text: #E6F4FA; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.15); background: var(--header-top-bg); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--header-top-bg); 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: 20px; padding-right: 20px; } .logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; } .logo:hover { color: #FFFFFF; text-decoration: none; } .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-block; text-decoration: none; padding: 10px 20px; border-radius: 6px; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; transition: all 0.25s ease; border: none; cursor: pointer; } .btn-login { background: #EA7C07; color: #FFFFFF; } .btn-login:hover { background: #c96905; text-decoration: none; color: #FFFFFF; } .btn-register { background: #FFFFFF; color: #26A9E0; border: 1px solid #FFFFFF; } .btn-register:hover { background: #e8f6fc; color: #1a87b5; text-decoration: none; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; width: 100%; border-top: 1px solid #e3f2f9; } .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; gap: 4px; flex-wrap: nowrap; } .nav-link { display: inline-block; color: #123a4d; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 4px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover { background: #e8f6fc; color: #1a87b5; text-decoration: none; } .nav-link.active { background: #26A9E0; color: #FFFFFF; } .hamburger-menu { display: none; position: fixed; top: 18px; left: 15px; z-index: 1001; width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-between; align-items: center; } .hamburger-menu span { display: block; width: 100%; height: 3px; background: #FFFFFF; border-radius: 2px; transition: all 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); } .menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; } .menu-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .site-footer { background: #0B2A3A; color: #E6F4FA; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top { padding: 40px 0 20px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-col { min-width: 0; } .footer-about { text-align: left; } .footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 12px; } .footer-logo:hover { color: #26A9E0; } .footer-description { font-size: 14px; line-height: 1.6; color: #c9e2ee; 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 12px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #c9e2ee; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: #26A9E0; text-decoration: none; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; } .footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: #9fc4d6; } @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: 15px; padding-right: 15px; } .logo { display: flex !important; justify-content: center !important; align-items: center !important; flex: 1 !important; font-size: 20px; } .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: #FFFFFF; border-bottom: 1px solid #e3f2f9; } .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; position: fixed; top: 0; left: 0; width: 85%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; background: #FFFFFF; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 70px; border-top: none; box-shadow: 4px 0 15px rgba(0,0,0,0.2); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0 15px 20px; gap: 2px; } .nav-link { display: block; width: 100%; padding: 12px 15px; font-size: 15px; border-radius: 4px; } .hamburger-menu { display: flex; } .footer-top-grid { grid-template-columns: 1fr; gap: 25px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .footer-container { padding: 0 15px; } .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;
}
