:root{--header-offset:122px;--primary:#26A9E0;--secondary:#FFFFFF;--login:#EA7C07;--bg:#FFFFFF;--text:#000000;--footer-bg:#0B2A3A;--footer-text:#E6F4FB;}
*{box-sizing:border-box;}
body{padding-top:var(--header-offset);margin:0;background:var(--bg);color:var(--text);}
.site-header{position:fixed;top:0;left:0;width:100%;z-index:1000;box-shadow:0 4px 18px rgba(0,0,0,0.15);background:#fff;}
.header-top{height:68px;min-height:68px;display:flex;align-items:center;overflow:hidden;background:var(--primary);width:100%;box-sizing:border-box;}
.header-container{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;box-sizing:border-box;}
.logo{display:inline-block;font-size:30px;font-weight:900;letter-spacing:1px;color:#FFFFFF;text-decoration:none;text-transform:lowercase;line-height:1;text-shadow:0 2px 4px rgba(0,0,0,0.25);}
.logo img{display:block;max-height:60px;height:auto;width:auto;max-width:280px;object-fit:contain;}
.desktop-nav-buttons{display:flex;align-items:center;gap:12px;}
.mobile-nav-buttons{display:none;min-height:48px;box-sizing:border-box;}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;border-radius:8px;padding:10px 20px;font-size:15px;line-height:1.2;transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;white-space:nowrap;border:0;cursor:pointer;}
.btn:hover{transform:translateY(-1px);opacity:.95;}
.btn-login{background:var(--login);color:#FFFFFF;box-shadow:0 4px 10px rgba(234,124,7,0.35);}
.btn-register{background:linear-gradient(135deg,#0F7FB5,#1BB8F0);color:#FFFFFF;box-shadow:0 4px 10px rgba(38,169,224,0.4);}
.hamburger-menu{display:none;flex-direction:column;justify-content:space-between;width:28px;height:22px;background:transparent;border:0;padding:0;cursor:pointer;z-index:1001;}
.hamburger-menu span{display:block;height:3px;width:100%;background:#FFFFFF;border-radius:2px;transition:all .3s ease;}
.hamburger-menu.active span:nth-child(1){transform:translateY(9px) rotate(45deg);}
.hamburger-menu.active span:nth-child(2){opacity:0;}
.hamburger-menu.active span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}
.main-nav{height:52px;min-height:52px;display:flex;align-items:center;overflow:hidden;background:#0F7FB5;width:100%;box-sizing:border-box;}
.nav-container{height:100%;max-width:1200px;margin:0 auto;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0 20px;gap:6px;box-sizing:border-box;}
.nav-link{color:#FFFFFF;text-decoration:none;font-size:14px;font-weight:600;padding:8px 12px;border-radius:6px;transition:background .2s ease,color .2s ease;white-space:nowrap;}
.nav-link:hover{background:rgba(255,255,255,0.18);}
.menu-overlay{display:none;}
.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:40px 20px 0;margin-top:40px;}
.footer-top-row-anchor,.footer-mid-anchor,.footer-bottom-anchor{width:100%;}
.footer-top-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;max-width:1200px;margin:0 auto;}
.footer-col{min-width:0;}
.footer-logo{display:inline-block;font-size:26px;font-weight:900;color:#FFFFFF;text-decoration:none;letter-spacing:1px;margin-bottom:12px;text-transform:lowercase;}
.footer-description{font-size:14px;line-height:1.6;color:#C9E4F0;margin:0 0 12px;word-wrap:break-word;overflow-wrap:break-word;}
.footer-heading{font-size:16px;font-weight:700;color:#FFFFFF;margin:0 0 14px;}
.footer-nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;}
.footer-nav a{color:#C9E4F0;text-decoration:none;font-size:14px;transition:color .2s ease;}
.footer-nav a:hover{color:#FFFFFF;text-decoration:underline;}
.footer-slot-anchor-inner{width:100%;}
.footer-mid-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;max-width:1200px;margin:20px auto 0;}
.footer-mid-cell{min-width:0;}
.footer-bottom{max-width:1200px;margin:30px auto 0;padding:20px 0;border-top:1px solid rgba(255,255,255,0.15);text-align:center;}
.footer-bottom p{margin:0;font-size:13px;color:#BFDCEA;}
@media (max-width:768px){
  :root{--header-offset:110px;}
  .header-top{height:60px;min-height:60px;}
  .header-container{width:100%;max-width:none;padding-left:15px;padding-right:15px;position:relative;}
  .logo{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;max-width:calc(100% - 120px);font-size:26px;}
  .logo img{display:block !important;max-width:100%;height:auto;max-height:56px;}
  .desktop-nav-buttons{display:none !important;}
  .hamburger-menu{display:flex;position:relative;z-index:2;}
  .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:#0F7FB5;}
  .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;min-height:48px;display:none;position:fixed;top:0;left:0;width:100%;max-width:100%;flex-direction:column;justify-content:flex-start;align-items:stretch;background:#0B2A3A;transform:translateX(-100%);transition:transform .3s ease;z-index:1001;overflow-y:auto;padding-top:var(--header-offset);}
  .main-nav.active{display:flex;transform:translateX(0);}
  .nav-container{flex-direction:column;align-items:stretch;justify-content:flex-start;padding:16px 20px;gap:4px;height:auto;max-width:none;width:100%;}
  .nav-link{padding:12px 16px;font-size:16px;border-bottom:1px solid rgba(255,255,255,0.08);border-radius:0;}
  .menu-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:999;}
  .menu-overlay.active{display:block;}
  body.no-scroll{overflow:hidden;}
  .footer-top-grid{grid-template-columns:1fr 1fr;gap:20px;}
  .footer-mid-grid{grid-template-columns:1fr 1fr;}
  .footer-bottom{margin-top:20px;}
}
@media (max-width:480px){
  .footer-top-grid{grid-template-columns:1fr;}
  .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;
}
