:root { --header-offset: 122px; --primary: #017439; --secondary: #FFFFFF; --btn-login: #C30808; --btn-register: #C30808; --btn-text: #FFFF00; --dark: #023b1e; --light-bg: #f4faf6; --text-dark: #1a1a1a; --text-muted: #4a4a4a; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-dark); background: #ffffff; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,0.22); overflow: hidden; } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--dark); } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 24px; padding-right: 24px; gap: 16px; } .logo { display: inline-block; font-size: 24px; font-weight: 800; letter-spacing: 0.4px; color: var(--secondary); text-decoration: none; white-space: nowrap; flex: 0 0 auto; } .logo:hover { color: #ffe680; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.2; padding: 10px 20px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; } .btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.28); } .btn-login { background: var(--btn-login); color: var(--btn-text); border-color: #ffe680; } .btn-register { background: var(--btn-register); color: var(--btn-text); border-color: #ffe680; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: 2px solid rgba(255,255,255,0.55); border-radius: 8px; cursor: pointer; z-index: 1001; flex: 0 0 auto; } .hamburger-menu span { display: block; width: 22px; height: 3px; background: var(--secondary); 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 { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: var(--primary); border-top: 1px solid rgba(255,255,255,0.14); } .nav-container { box-sizing: border-box; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 4px; padding: 0 20px; } .nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--secondary); text-decoration: none; white-space: nowrap; border-radius: 6px; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.18); color: #ffe680; } .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; } .site-footer { background: var(--dark); color: var(--secondary); padding: 48px 0 0; border-top: 4px solid var(--primary); } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; gap: 12px; } .footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--secondary); text-decoration: none; } .footer-logo:hover { color: #ffe680; } .footer-description { margin: 0; font-size: 14px; line-height: 1.7; color: #d6e8dc; overflow-wrap: break-word; word-wrap: break-word; } .footer-heading { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #ffe680; letter-spacing: 0.3px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; } .footer-nav a { display: inline-block; font-size: 14px; color: #d6e8dc; text-decoration: none; line-height: 1.5; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: #ffe680; padding-left: 4px; } .footer-mid { padding: 32px 0 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; } .footer-bottom { margin-top: 32px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.25); } .copyright-text { margin: 0; text-align: center; font-size: 13px; color: #c9dfd1; line-height: 1.6; } .footer-slot-anchor-inner { min-height: 1px; } @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: 14px; padding-right: 14px; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .hamburger-menu { display: flex; order: -1; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 48px; padding-left: 14px; padding-right: 14px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: var(--dark); border-top: 1px solid rgba(255,255,255,0.12); } .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: 80%; max-width: 320px; height: 100vh !important; max-height: 100vh; flex-direction: column; align-items: flex-start; justify-content: flex-start; background: var(--dark); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; overflow-y: auto; padding-top: 20px; border-top: none; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; max-width: none; height: auto; padding: 10px 16px 24px; gap: 2px; } .nav-link { display: block; width: 100%; padding: 13px 12px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.10); border-radius: 0; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { padding-top: 36px; } .footer-container { padding: 0 16px; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .footer-heading { margin-bottom: 10px; } .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;
}
