:root { --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --bg-color: #FFFFFF; --text-dark: #000000; --header-offset: 122px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-color); color: var(--text-dark); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.15); background-color: var(--secondary); }
.header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; }
.header-container { 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 { font-size: 28px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 1px; display: inline-block; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.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; }
.mobile-nav-buttons { display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.btn-login { background-color: var(--login-color); color: #FFFFFF; box-shadow: 0 3px 10px rgba(234,124,7,0.4); }
.btn-login:hover { background-color: #d06a00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(234,124,7,0.6); }
.btn-register { background-color: #FFFFFF; color: var(--primary); box-shadow: 0 3px 10px rgba(255,255,255,0.3); border: 2px solid #FFFFFF; }
.btn-register:hover { background-color: #e6f7ff; transform: translateY(-2px); }
.main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0B5E7D; width: 100%; }
.nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; }
.nav-links { display: flex; flex-direction: row; list-style: none; gap: 4px; align-items: center; justify-content: center; flex-wrap: wrap; }
.nav-links li { display: inline-block; }
.nav-link { display: block; padding: 8px 14px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background-color: var(--primary); color: #FFFFFF; }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 30px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
@supports (position: sticky) { body { padding-top: var(--header-offset); } }
.site-footer { background-color: #061F2B; color: #E0E0E0; padding-top: 50px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-slot-top { margin-bottom: 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { display: flex; flex-direction: column; }
.footer-about { max-width: 100%; }
.footer-logo { font-size: 26px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 15px; display: inline-block; }
.footer-description { font-size: 14px; line-height: 1.7; color: #B0C4DE; overflow-wrap: break-word; word-wrap: break-word; margin-bottom: 15px; }
.footer-title { font-size: 18px; font-weight: 700; color: #FFFFFF; margin-bottom: 18px; position: relative; padding-bottom: 8px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--primary); border-radius: 2px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #B0C4DE; text-decoration: none; font-size: 14px; transition: color 0.3s ease, padding-left 0.3s ease; display: inline-block; }
.footer-nav a:hover { color: var(--primary); padding-left: 5px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-dynamic-col { display: flex; flex-direction: column; }
.footer-mid { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-slot-mid { margin-bottom: 15px; }
.footer-slot-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-slot-mid-cell { min-height: 1px; }
.footer-bottom-slot { padding: 0; }
.footer-bottom { padding: 25px 0; text-align: center; }
.footer-copyright { font-size: 14px; color: #8FA8C0; line-height: 1.5; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { padding-top: var(--header-offset); overflow-x: hidden; }
  .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; font-size: 24px; }
  .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; background-color: #0B5E7D; }
  .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: var(--header-offset); left: 0; width: 100%; height: calc(100vh - var(--header-offset)) !important; background-color: #0B5E7D; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; }
  .main-nav.active { display: block !important; transform: translateX(0) !important; }
  .nav-container { width: 100%; max-width: none; padding: 20px 15px; flex-direction: column; justify-content: flex-start; height: 100%; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; }
  .nav-links { flex-direction: column; width: 100%; gap: 0; align-items: stretch; }
  .nav-links li { display: block; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-link { display: block; padding: 15px 10px; font-size: 16px; border-radius: 0; text-align: center; white-space: normal; }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 999; }
  .nav-overlay.active { display: block; }
  .footer-container { padding: 0 15px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-slot-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { padding: 20px 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;
}
