:root { --header-offset: 120px; --primary: #26A9E0; --primary-dark: #1a8bbd; --secondary: #FFFFFF; --login-color: #EA7C07; --text-dark: #000000; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-bottom: 1px solid #e0e0e0; }
.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: 32px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; line-height: 1; }
.logo:hover { color: var(--primary-dark); }
.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 { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; border: none; cursor: pointer; transition: all 0.25s ease; line-height: 1.2; }
.btn-login { background-color: #EA7C07; color: #FFFFFF; box-shadow: 0 2px 6px rgba(234,124,7,0.4); }
.btn-login:hover { background-color: #c96a06; transform: translateY(-1px); }
.btn-register { background-color: #26A9E0; color: #FFFFFF; box-shadow: 0 2px 6px rgba(38,169,224,0.4); }
.btn-register:hover { background-color: #1a8bbd; transform: translateY(-1px); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #26A9E0; 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; position: relative; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; width: 100%; }
.nav-link { display: block; padding: 8px 12px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background-color 0.2s ease; white-space: nowrap; }
.nav-link:hover { background-color: rgba(255,255,255,0.2); }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 26px; 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; }
.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); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
.site-footer { background-color: #0d1b2a; color: #e0e0e0; padding: 40px 20px 0; font-size: 14px; }
.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.1); }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #26A9E0; text-decoration: none; letter-spacing: 1px; margin-bottom: 15px; }
.footer-logo:hover { color: #FFFFFF; }
.footer-description { color: #b0b8c1; line-height: 1.6; margin: 0 0 15px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 15px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #b0b8c1; text-decoration: none; transition: color 0.2s ease; }
.footer-nav a:hover { color: #26A9E0; }
.footer-dynamic-col { min-height: 20px; }
.footer-mid { max-width: 1200px; margin: 0 auto; padding: 20px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-slot-anchor-inner { min-height: 0; }
.footer-bottom { max-width: 1200px; margin: 0 auto; text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); color: #8899a6; font-size: 13px; }
.footer-bottom p { margin: 0; }
@media (max-width: 768px) {
  :root { --header-offset: 108px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; height: 100%; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .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: #f5f5f5; }
  .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: block; position: fixed; top: 60px; left: 0; right: 0; background-color: #26A9E0; z-index: 1000; overflow: visible; }
  .nav-container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; display: flex; justify-content: flex-start; align-items: center; position: relative; }
  .hamburger-menu { display: flex; margin-left: 15px; position: relative; z-index: 1002; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 320px; height: calc(100vh - var(--header-offset)); background-color: #1a8bbd; padding: 20px 0; margin: 0; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; justify-content: flex-start; gap: 0; }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-link { padding: 14px 20px; font-size: 16px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); white-space: normal; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding: 30px 15px 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;
}
