:root { --header-offset: 122px; --primary: #26A9E0; --secondary: #FFFFFF; --login-color: #EA7C07; --text-dark: #000000; --bg-light: #FFFFFF; --header-top-bg: #26A9E0; --nav-bg: #FFFFFF; --border-color: #d9eef7; --shadow-color: rgba(38, 169, 224, 0.35); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Arial, Helvetica, sans-serif; background-color: var(--bg-light); color: var(--text-dark); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px var(--shadow-color); background-color: var(--nav-bg); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--header-top-bg); }
.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: 24px; padding-right: 24px; }
.logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; }
.logo:hover { color: var(--secondary); opacity: 0.9; }
.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; box-sizing: border-box; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 6px; border: none; cursor: pointer; transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease; }
.btn-login { background-color: var(--login-color); color: #FFFFFF; padding: 10px 22px; font-size: 15px; box-shadow: 0 2px 10px rgba(234, 124, 7, 0.45); }
.btn-login:hover { background-color: #c96a05; transform: translateY(-1px); }
.btn-register { background-color: var(--secondary); color: var(--primary); padding: 10px 22px; font-size: 15px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.btn-register:hover { background-color: #eaf7fd; transform: translateY(-1px); }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--nav-bg); border-top: 1px solid var(--border-color); }
.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; }
.nav-list { display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list li a { display: inline-block; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--text-dark); text-decoration: none; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.nav-list li a:hover { background-color: #eaf7fd; color: var(--primary); }
.nav-overlay { display: none; }
.site-footer { background-color: #f2fafd; color: var(--text-dark); 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 { padding: 40px 0 24px; }
.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; }
.footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 12px; }
.footer-logo:hover { color: #1b88b5; }
.footer-description { margin: 0; font-size: 14px; line-height: 1.7; color: #2b3a40; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--primary); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav li a { display: inline-block; font-size: 14px; color: #2b3a40; text-decoration: none; transition: color 0.2s ease; }
.footer-nav li a:hover { color: var(--login-color); text-decoration: underline; }
.footer-dynamic-col { min-height: 20px; }
.footer-slot-anchor, .footer-slot-anchor-inner { min-height: 1px; }
.footer-mid { padding: 10px 0 24px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 4px; }
.footer-mid-cell { min-width: 0; }
.footer-bottom { background-color: #e3f4fb; border-top: 1px solid var(--border-color); padding: 16px 0; }
.footer-copyright { margin: 0; font-size: 13px; text-align: center; color: #1f4a59; }
@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: 20px; max-width: calc(100% - 100px); margin: 0 auto; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .hamburger-menu { display: flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
  .hamburger-menu.active { transform: translateY(-50%); }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #eaf7fd; border-bottom: 1px solid var(--border-color); }
  .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; position: static; display: none; }
  .main-nav.active { display: flex; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .nav-list { flex-diredirection: row; gap: 2px; flex-wrap: wrap; }
  .nav-list li a { padding: 6px 8px; font-size: 13px; }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.45); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
  .nav-overlay.active { display: block; opacity: 1; visibility: visible; }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-container { padding: 0 16px; }
  .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: 480px) {
  .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;
}
