:root { --primary-color: #017439; --secondary-color: #FFFFFF; --login-color: #C30808; --register-color: #C30808; --btn-text-color: #FFFF00; --bg-color: #FFFFFF; --header-offset: 122px; } body { padding-top: var(--header-offset); margin: 0; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.18); background-color: var(--primary-color); } .header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); } .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: 800; color: var(--secondary-color); text-decoration: none; letter-spacing: 1px; line-height: 1; } .logo:hover { color: var(--btn-text-color); } .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; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 20px; font-size: 15px; line-height: 1.2; border: 1px solid rgba(255,255,255,0.25); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.3); } .btn-login { background-color: var(--login-color); color: var(--btn-text-color); } .btn-register { background-color: var(--register-color); color: var(--btn-text-color); } .main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #015c2e; } .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; gap: 4px; } .nav-link { display: inline-block; color: var(--secondary-color); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 4px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background-color: var(--secondary-color); color: var(--primary-color); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; box-sizing: border-box; background: transparent; border: none; cursor: pointer; z-index: 1001; } .hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--secondary-color); 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); } .site-footer { background-color: #012b16; color: var(--secondary-color); padding: 50px 0 0; font-size: 15px; line-height: 1.6; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .footer-col { min-width: 0; } .footer-about { display: flex; flex-direction: column; gap: 12px; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--secondary-color); text-decoration: none; letter-spacing: 1px; } .footer-logo:hover { color: var(--btn-text-color); } .footer-description { margin: 0; color: #cfe8d9; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: var(--secondary-color); } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: #cfe8d9; text-decoration: none; transition: color 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: var(--btn-text-color); text-decoration: underline; } .footer-mid { margin-top: 30px; } .footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; } .footer-slot-anchor-inner { display: block; min-height: 1px; } .footer-bottom { margin-top: 40px; padding: 20px 30px; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; background-color: #01200f; } .footer-copyright { margin: 0; color: #b9d6c6; font-size: 14px; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.55); z-index: 999; } .mobile-menu-overlay.active { display: block; } @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 { font-size: 24px; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; } .hamburger-menu { display: flex; } .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-color: #015c2e; } .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 { min-height: 48px !important; height: 48px !important; display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: auto !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; background-color: #015c2e; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { flex-direction: column; width: 100%; max-width: none; padding: 10px 15px; gap: 4px; } .nav-link { display: block; width: 100%; text-align: center; font-size: 15px; padding: 12px; box-sizing: border-box; } .footer-top-grid { grid-template-columns: 1fr; gap: 30px; } .footer-mid-row { grid-template-columns: 1fr; } .footer-container { padding: 0 15px; } .footer-bottom { padding: 20px 15px; } body.no-scroll { overflow: hidden; } .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;
}
