:root { --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --card-bg: #FFFFFF; --site-bg: #F4F7FB; --text-main: #1F2D3D; --border-color: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(31, 45, 61, 0.18); border-bottom: 1px solid var(--border-color); } .header-top { min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; box-sizing: border-box; } .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; } .logo { display: inline-block; font-size: 28px; font-weight: 900; letter-spacing: 0.5px; color: var(--primary); text-decoration: none; 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; } .btn { display: inline-block; text-decoration: none; text-align: center; cursor: pointer; border: none; border-radius: 10px; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; } .btn-login { background: #FFFFFF; color: var(--primary); border: 2px solid var(--primary); padding: 10px 22px; font-size: 15px; } .btn-login:hover { background: var(--site-bg); transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 12px 26px; font-size: 15px; box-shadow: 0 6px 16px rgba(47, 107, 255, 0.35); } .btn-register:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(47, 107, 255, 0.45); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary); 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 { min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; box-sizing: border-box; } .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: wrap; } .nav-link { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 11px; border-radius: 8px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.16); } .nav-link.active { background-color: #FFFFFF; color: var(--primary); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(31, 45, 61, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #FFFFFF; color: var(--text-main); border-top: 3px solid var(--primary); margin-top: 40px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; } .footer-top { padding: 48px 0 28px; background: #FFFFFF; } .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: 26px; font-weight: 900; color: var(--primary); text-decoration: none; margin-bottom: 14px; text-transform: lowercase; } .footer-description { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: var(--text-main); word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { margin: 0 0 16px; font-size: 16px; font-weight: 800; color: var(--text-main); } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: var(--text-main); text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--primary); text-decoration: underline; } .footer-mid { padding: 20px 0; background: var(--site-bg); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { padding: 20px 0; background: var(--primary); } .footer-copyright { margin: 0; font-size: 13px; color: #FFFFFF; text-align: center; } .no-scroll { overflow: hidden; } .page-content img { max-width: 100%; height: auto; } @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: 15px; padding-right: 15px; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .logo img { max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .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: #FFFFFF; border-bottom: 1px solid var(--border-color); } .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; min-height: 48px; flex-direction: column; position: fixed; top: 0; left: 0; width: 78%; max-width: 320px; height: 100vh; background-color: var(--primary); align-items: stretch; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 24px rgba(31, 45, 61, 0.3); padding-top: 20px; z-index: 1000; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; padding: 10px 16px; gap: 6px; } .nav-link { font-size: 15px; padding: 12px 14px; white-space: normal; } .nav-link.active { background-color: #FFFFFF; color: var(--primary); } .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: 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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
