:root { --primary: #26A9E0; --secondary: #FFFFFF; --accent-login: #EA7C07; --text-dark: #000000; --text-body: #333333; --bg-light: #f5f5f5; --header-offset: 122px; } * { box-sizing: border-box; margin: 0; padding: 0; } body { padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-body); background-color: var(--secondary); line-height: 1.5; } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--secondary); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); } .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: 30px; padding-right: 30px; } .logo { display: inline-block; font-size: 30px; font-weight: 900; color: var(--secondary); letter-spacing: 1px; line-height: 1; text-transform: lowercase; } .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; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; color: #FFFFFF; text-decoration: none; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; border: none; cursor: pointer; } .btn:hover { transform: translateY(-1px); opacity: 0.92; } .btn-login { background-color: var(--accent-login); box-shadow: 0 2px 8px rgba(234, 124, 7, 0.4); } .btn-register { background-color: #0E7CB5; box-shadow: 0 2px 8px rgba(14, 124, 181, 0.4); } .main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--secondary); border-bottom: 3px solid var(--primary); } .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 20px; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; gap: 4px; } .nav-item { position: relative; } .nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-dark); text-decoration: none; border-radius: 4px; transition: color 0.2s ease, background-color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--secondary); background-color: var(--primary); } .hamburger-menu { display: none; } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: #0B2838; color: #D5E3EB; font-size: 14px; } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top { padding: 48px 0 24px; background-color: #0B2838; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 900; color: #FFFFFF; letter-spacing: 1px; text-transform: lowercase; margin-bottom: 14px; } .footer-description { color: #B9CFDB; line-height: 1.7; word-wrap: break-word; overflow-wrap: break-word; margin-bottom: 12px; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin-bottom: 14px; letter-spacing: 0.5px; } .footer-nav { list-style: none; display: flex; flex-direction: column; gap: 9px; } .footer-nav li a { color: #B9CFDB; transition: color 0.2s ease; } .footer-nav li a:hover { color: var(--primary); } .footer-mid { padding: 12px 0 24px; background-color: #0B2838; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom-anchor { background-color: #0B2838; } .footer-bottom { padding: 18px 0; background-color: #071C27; border-top: 1px solid rgba(255, 255, 255, 0.12); } .footer-copyright { text-align: center; color: #A9C2D0; font-size: 13px; } .footer-slot-anchor-inner { min-height: 0; } .footer-slot-anchor-inner:empty { display: block; } @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; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .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: var(--primary); } .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: 108px; left: 0; width: 100%; height: calc(100% - 108px) !important; max-height: calc(100% - 108px); background-color: var(--secondary); border-bottom: none; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow-y: auto; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: 100%; padding: 15px 0; flex-direction: column; justify-content: flex-start; align-items: stretch; } .nav-menu { flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; width: 100%; } .nav-item { width: 100%; border-bottom: 1px solid #E5EEF3; } .nav-link { display: block; padding: 14px 20px; font-size: 15px; border-radius: 0; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1002; position: relative; flex-shrink: 0; } .hamburger-line { display: block; width: 24px; 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); } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .footer-container { padding-left: 15px; padding-right: 15px; } .footer-top { padding: 32px 0 16px; } .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;
}
