:root { --primary: #E53935; --secondary: #FF5A4F; --bg-page: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border-color: #E0E0E0; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; color: var(--text-main); background: var(--bg-page); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 14px rgba(0,0,0,0.18); background: #FFFFFF; } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); } .header-container { 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: 26px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; text-decoration: none; white-space: nowrap; } .logo:hover { color: #FFFFFF; } .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; font-weight: 700; border-radius: 8px; padding: 10px 20px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; } .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.22); } .btn-login { background: #FFFFFF; color: #E53935; border: 1px solid #FFFFFF; } .btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.55); } .mobile-nav-buttons { display: none; box-sizing: border-box; min-height: 48px; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; background: rgba(255,255,255,0.16); border: none; border-radius: 6px; cursor: pointer; padding: 8px; z-index: 1001; } .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: #FFFFFF; border-top: 1px solid var(--border-color); } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding: 0 20px; } .nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 6px; } .nav-link { display: block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: #333333; text-decoration: none; border-radius: 6px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background: #FDE8E7; color: #E53935; } .menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 999; } .menu-overlay.active { opacity: 1; visibility: visible; } .site-footer { background: #1F1F1F; color: #E6E6E6; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 48px 24px 0; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); } .footer-slot-anchor-top { grid-column: 1 / -1; } .footer-slot-anchor-inner { min-height: 1px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; } .footer-logo:hover { color: #FF5A4F; } .footer-description { font-size: 14px; line-height: 1.7; color: #BFBFBF; 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 16px; padding-bottom: 8px; position: relative; } .footer-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); border-radius: 2px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav a { font-size: 14px; color: #BFBFBF; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: #FF5A4F; padding-left: 4px; } .footer-mid-section { padding: 24px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 12px; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0 24px; text-align: center; } .footer-bottom .copyright { margin: 0; font-size: 13px; color: #A6A6A6; } 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: space-between; } .hamburger-menu { display: flex; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; text-align: center; } .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: 8px 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 { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 84%; max-width: 340px; height: 100vh !important; min-height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: flex-start; background: #FFFFFF; padding-top: 80px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; border-top: none; box-shadow: 4px 0 24px rgba(0,0,0,0.25); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; padding: 0 20px; display: block; } .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 0; } .nav-list li { width: 100%; border-bottom: 1px solid #EEEEEE; } .nav-link { display: block; padding: 14px 8px; font-size: 15px; border-radius: 0; white-space: normal; } .footer-top-grid { grid-template-columns: 1fr; gap: 28px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-container { padding: 36px 16px 0; } .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;
}
