:root { --header-offset: 122px; --primary: #26A9E0; --primary-dark: #1a87b5; --secondary: #FFFFFF; --login-color: #EA7C07; --text-dark: #000000; --text-light: #FFFFFF; --footer-bg: #0b2b38; --footer-text: #d7eef7; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0,0,0,0.25); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-dark); } .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: 24px; padding-right: 24px; gap: 12px; } .logo { display: inline-block; color: var(--text-light); font-size: 26px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: lowercase; line-height: 1.1; white-space: nowrap; } .logo:hover { color: #ffffff; text-shadow: 0 0 10px rgba(38,169,224,0.9); } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; font-weight: 700; line-height: 1.2; border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; text-align: center; } .btn:hover { transform: translateY(-2px); filter: brightness(1.08); } .btn-login { background-color: var(--login-color); color: #ffffff; padding: 10px 20px; font-size: 14px; box-shadow: 0 3px 12px rgba(234,124,7,0.45); } .btn-register { background: linear-gradient(135deg, #26A9E0 0%, #0d6f9c 100%); color: #ffffff; padding: 10px 20px; font-size: 14px; box-shadow: 0 3px 12px rgba(38,169,224,0.5); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: #ffffff; border-top: 1px solid rgba(38,169,224,0.35); } .nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 16px; gap: 6px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: var(--text-dark); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; position: relative; transition: color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--primary-dark); } .nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background-color: var(--primary); transform: scaleX(0); transform-origin: center; transition: transform 0.25s ease; } .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1001; flex-shrink: 0; } .hamburger-line { display: block; width: 26px; height: 3px; 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(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; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } @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; justify-content: flex-start; gap: 10px; } .hamburger-menu { display: flex; order: 1; } .logo { order: 2; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 22px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: 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: #ffffff; border-bottom: 1px solid rgba(38,169,224,0.25); } .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; height: 100% !important; min-height: 100% !important; width: 82%; max-width: 320px; flex-direction: column; align-items: stretch; justify-content: flex-start; background-color: #ffffff; box-shadow: 6px 0 24px rgba(0,0,0,0.3); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; padding-top: 70px; border-top: none; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; padding: 10px 16px 30px; gap: 0; } .nav-link { height: auto; padding: 14px 12px; font-size: 15px; border-bottom: 1px solid rgba(38,169,224,0.18); justify-content: flex-start; white-space: normal; } .nav-link::after { display: none; } .nav-overlay { display: block; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } } .site-footer { background-color: var(--footer-bg); color: var(--footer-text); width: 100%; margin-top: 40px; font-size: 14px; } .footer-inner { max-width: 1200px; margin: 0 auto; padding: 36px 20px 0; 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; word-wrap: break-word; overflow-wrap: break-word; } .footer-logo { display: inline-block; color: #ffffff; font-size: 24px; font-weight: 800; text-decoration: none; letter-spacing: 1px; margin-bottom: 12px; } .footer-logo:hover { color: var(--primary); } .footer-description { margin: 0 0 12px; line-height: 1.65; color: var(--footer-text); word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: #ffffff; font-size: 16px; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: var(--footer-text); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--primary); padding-left: 4px; } .footer-dynamic-col { min-height: 1px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { padding: 10px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 8px 0; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 16px; padding: 18px 0; text-align: center; } .footer-copyright { margin: 0; color: var(--footer-text); font-size: 13px; } @media (max-width: 768px) { .footer-inner { padding: 28px 16px 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 16px; } .footer-mid-grid { grid-template-columns: 1fr; gap: 10px; } .footer-logo { font-size: 22px; } .footer-heading { font-size: 15px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
