:root { --header-offset: 122px; --primary: #26A9E0; --accent: #FFFFFF; --login: #EA7C07; --dark: #000000; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; color: #222; background: #FFFFFF; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: #FFFFFF; box-shadow: 0 4px 18px rgba(0,0,0,0.18); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; border-bottom: 3px solid #26A9E0; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #26A9E0; text-decoration: none; white-space: nowrap; line-height: 1; } .logo:hover { color: #1b8ab8; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 260px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } .mobile-nav-buttons { display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease; line-height: 1.2; } .btn:hover { transform: translateY(-1px); filter: brightness(1.08); } .btn-login { background: #EA7C07; color: #FFFFFF; border-color: #EA7C07; box-shadow: 0 3px 10px rgba(234,124,7,0.35); } .btn-register { background: #26A9E0; color: #FFFFFF; border-color: #26A9E0; box-shadow: 0 3px 10px rgba(38,169,224,0.35); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; background: #26A9E0; border: none; border-radius: 8px; cursor: pointer; z-index: 1002; } .hamburger-menu span { display: block; width: 100%; height: 3px; background: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #26A9E0; } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 4px; } .nav-link { display: inline-block; padding: 8px 12px; color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 6px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover { background: rgba(255,255,255,0.2); } .nav-link.active { background: #FFFFFF; color: #26A9E0; } .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background: #0b1e28; color: #d7e6ee; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 32px 0 6px; background: #0b1e28; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-about { max-width: 100%; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #26A9E0; text-decoration: none; margin-bottom: 10px; } .footer-description { font-size: 13.5px; line-height: 1.65; color: #b9cfda; margin: 0 0 10px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 12px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #c3d8e2; font-size: 13.5px; text-decoration: none; transition: color 0.2s ease; } .footer-nav a:hover { color: #26A9E0; } .footer-dynamic-col { min-height: 20px; } .footer-mid { padding: 10px 0 14px; background: #0b1e28; } .footer-mid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 10px; } .footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 8px; } .footer-slot-anchor, .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom-wrap { background: #08161e; padding: 16px 0; border-top: 1px solid rgba(38,169,224,0.25); } .footer-bottom { text-align: center; } .footer-bottom p { margin: 0; font-size: 13px; color: #9fb8c4; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } .site-header { max-width: 100%; overflow-x: hidden; } .header-top { height: 60px !important; min-height: 60px !important; border-bottom-width: 2px; } .header-container { width: 100%; max-width: none; padding-left: 12px; padding-right: 12px; gap: 10px; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #FFFFFF; } .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; width: 82%; max-width: 320px; height: 100vh; height: 100dvh; min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; background: #0b1e28; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; padding: 16px 0; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; padding: 0 12px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; } .nav-link { display: block; padding: 13px 14px; font-size: 15px; color: #e8f4fa; border-radius: 8px; } .nav-link:hover { background: rgba(38,169,224,0.25); } .nav-link.active { background: #26A9E0; color: #FFFFFF; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .footer-container { padding: 0 14px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 18px; } .footer-about { grid-column: 1 / -1; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-mid-row { grid-template-columns: 1fr 1fr; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
