:root { --header-offset: 122px; --primary: #E53935; --secondary: #FF5A4F; --bg-page: #F5F7FA; --bg-card: #FFFFFF; --text-main: #333333; --border-color: #E0E0E0; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-page); color: var(--text-main); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; overflow-x: hidden; } .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); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; border-bottom: 1px solid var(--border-color); } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; display: flex; justify-content: space-between; align-items: center; } .logo { display: inline-block; text-decoration: none; font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 0.5px; white-space: nowrap; } .logo img { display: block; max-height: 60px; width: auto; max-width: 280px; height: auto; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; text-align: center; line-height: 1.2; } .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(229,57,53,0.35); } .btn-login { background: var(--btn-gradient); color: #FFFFFF; padding: 10px 22px; font-size: 14px; box-shadow: 0 2px 8px rgba(229,57,53,0.3); } .btn-register { background: #FFFFFF; color: var(--primary); padding: 10px 22px; font-size: 14px; border: 2px solid var(--primary); box-shadow: 0 2px 8px rgba(229,57,53,0.15); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background-color: var(--secondary); color: #FFFFFF; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; 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); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } .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: 0 30px; } .footer-top { padding: 40px 0 20px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: var(--text-main); margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border-color); } .footer-nav { list-style: none; margin: 0; padding: 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); } .footer-mid { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom { background-color: var(--primary); padding: 16px 0; margin-top: 10px; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #FFFFFF; } .footer-slot-anchor-inner { display: block; min-height: 0; } @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; text-align: center; font-size: 18px; } .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; } .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%; max-width: 100%; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: var(--primary); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 10px 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; height: auto; } .nav-link { display: block; width: 100%; height: auto; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 15px; text-align: left; white-space: normal; } .nav-link:hover, .nav-link.active { background-color: var(--secondary); } .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .hamburger-menu.active span { background-color: var(--primary); } .menu-overlay.active { display: block; } .footer-container { padding: 0 15px; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-description { font-size: 13px; } .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; } .footer-nav li { margin-bottom: 0; } .copyright-year { display: inline; } } @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;
}
