:root { --header-offset: 122px; --primary: #017439; --secondary: #FFFFFF; --btn-login: #C30808; --btn-register: #C30808; --btn-text: #FFFF00; }
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 16px rgba(0,0,0,0.25); background-color: #FFFFFF; box-sizing: border-box; }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #017439; width: 100%; }
.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; color: #FFFFFF; font-size: 28px; font-weight: 800; letter-spacing: 1px; text-decoration: none; line-height: 1.1; }
.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-block; text-decoration: none; text-align: center; border-radius: 6px; font-weight: 700; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease; box-sizing: border-box; }
.btn-login { background-color: #C30808; color: #FFFF00; box-shadow: 0 3px 8px rgba(195,8,8,0.4); }
.btn-register { background-color: #C30808; color: #FFFF00; box-shadow: 0 3px 8px rgba(195,8,8,0.4); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.25); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #015C2D; width: 100%; }
.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; }
.nav-link { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 4px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-link.active { background-color: #017439; color: #FFFF00; }
.hamburger-menu { display: none; }
.nav-overlay { display: none; }
.site-footer { background-color: #0B1F14; color: #E6E6E6; padding: 40px 20px 0; box-sizing: border-box; }
.footer-top-row { max-width: 1200px; margin: 0 auto; }
.footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-col { box-sizing: border-box; min-width: 0; }
.footer-logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; text-decoration: none; margin-bottom: 14px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #C9D6CE; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; color: #FFFFFF; margin: 0 0 14px; font-weight: 700; border-left: 3px solid #017439; padding-left: 10px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #C9D6CE; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FFFF00; }
.footer-mid { max-width: 1200px; margin: 0 auto; padding: 24px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #A9B8AF; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { padding-top: var(--header-offset); }
  .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 { display: flex !important; flex: 1 !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .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; height: auto; min-height: 48px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #017439; }
  .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; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 1002; width: 34px; height: 34px; background: transparent; border: none; cursor: pointer; padding: 0; }
  .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: #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 { display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh; min-height: 100vh; background-color: #015C2D; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 0 20px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; box-shadow: 4px 0 16px rgba(0,0,0,0.4); }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { height: auto; width: 100%; max-width: none; flex-direction: column; align-items: stretch; padding: 0; gap: 0; }
  .nav-link { padding: 14px 20px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-link:hover, .nav-link.active { background-color: #017439; color: #FFFF00; }
  .nav-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .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: 400px) {
  .nav-link { font-size: 14px; }
  .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;
  }
}
/* 内容保护（系统追加，请勿删除） */
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;
}
