:root{
  --blue:#1098ed;
  --blue2:#55c7ff;
  --text:#15344c;
  --muted:#6f8da3;
  --line:#cce8fb;
  --shadow:0 16px 38px rgba(26,119,181,.13)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  overflow-x:hidden;
  background:linear-gradient(180deg,#edf9ff 0,#fff 38%,#edf8ff 100%);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif
}
.page-shell{width:min(1180px,100%);margin:auto;padding:0 18px 36px}
.site-header{position:sticky;top:0;z-index:50;padding:10px 0;background:rgba(244,251,255,.88);backdrop-filter:blur(12px)}
.site-brand{display:flex;align-items:center;justify-content:center;gap:16px;min-height:68px}
.site-logo{width:150px;height:64px;display:grid;place-items:center;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(38,130,192,.13)}
.site-logo img{width:100%;height:100%;object-fit:contain}
.site-logo span{font-weight:1000;font-size:34px;color:var(--blue)}
.site-titles{display:flex;flex-direction:column;gap:3px}
.site-titles strong{font-size:24px;color:var(--blue);line-height:1.15}
.site-titles small{font-size:13px;color:var(--muted)}
.slogan{text-align:center;margin:22px 0 18px;font-size:22px;line-height:1.45;font-weight:900;color:#148fdc;letter-spacing:2px}
.hero{position:relative;width:100%;aspect-ratio:16/6.3;border-radius:26px;overflow:hidden;background:#d9effd;box-shadow:var(--shadow);margin-bottom:18px}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .45s ease}
.hero-slide.is-active{opacity:1}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-empty{height:100%;display:grid;place-content:center;text-align:center;gap:8px}
.hero-empty strong{font-size:28px;color:var(--blue)}
.hero-empty span{color:var(--muted)}
.hero-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:7px;z-index:3}
.hero-dots button{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.65);box-shadow:0 1px 5px rgba(0,0,0,.2);cursor:pointer;transition:.2s}
.hero-dots button.is-active{width:24px;background:#fff}
.notice{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:10px 13px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.84);overflow:hidden}
.notice>b{flex:none;padding:6px 12px;border-radius:999px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-size:13px}
.notice>div{min-width:0;overflow:hidden;white-space:nowrap;flex:1}
.notice span{display:inline-block;padding-left:100%;animation:marquee var(--notice-speed,25s) linear infinite;color:#3b7398}
@keyframes marquee{to{transform:translateX(-100%)}}
.brand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.brand-card{position:relative;padding:20px;border:1px solid rgba(58,159,222,.18);border-radius:28px;background:rgba(215,239,255,.78);box-shadow:0 12px 30px rgba(27,116,177,.09);overflow:hidden;content-visibility:auto;contain-intrinsic-size:340px}
/* 固定左右内容宽度，避免按钮在弹性列里被推到太远 */
.brand-main{display:grid;grid-template-columns:150px 176px;align-items:center;justify-content:center;column-gap:36px;min-height:190px}
.brand-identity{text-align:center;min-width:0}
.brand-logo{width:132px;height:132px;margin:0 auto;display:grid;place-items:center;border-radius:28px;background:#fff;overflow:hidden;box-shadow:0 8px 21px rgba(30,120,180,.11)}
.brand-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
.brand-logo span{font-size:44px;font-weight:1000;color:var(--brand,var(--blue))}
.brand-identity h2{margin:12px 0 0;font-size:21px;line-height:1.25;color:var(--brand,var(--blue));overflow-wrap:anywhere}
.brand-actions{width:176px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px}
.brand-actions>a,.editable-button{position:relative;width:176px;max-width:100%;min-height:44px;border-radius:999px;background:linear-gradient(180deg,#53c8ff 0,var(--brand,var(--blue)) 72%);box-shadow:0 5px 9px rgba(0,108,183,.25);color:#fff;text-decoration:none;font-weight:900;font-size:15px;line-height:1.25;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 16px;overflow-wrap:anywhere;transition:.18s}
.brand-actions>a:hover{transform:translateY(-2px);filter:saturate(1.08)}
.brand-actions>a:active{transform:translateY(0)}
.sponsors{position:relative;margin-top:17px;padding:18px 10px 12px;border:1px solid var(--line);border-radius:20px;background:rgba(247,253,255,.75)}
.sponsors-title{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:0 10px;background:#eaf7ff;color:#64a3cc;font-size:12px}
.sponsors>div{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px}
.sponsors img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.08)}
.video-section{text-align:center;margin-top:26px}
.video-section h2{margin:0 0 8px;color:var(--blue);font-size:24px}
.video-section p{margin:0 0 15px;color:var(--muted);font-size:14px}
.video-box{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:26px;background:#07111b;box-shadow:var(--shadow)}
.video-box video,.video-box>img{width:100%;height:100%;object-fit:cover;display:block}
footer{text-align:center;padding-top:30px;color:#7fa5bf;font-size:12px}

@media(max-width:1100px) and (min-width:821px){
  .brand-main{grid-template-columns:140px 170px;justify-content:center;column-gap:30px}
  .brand-logo{width:126px;height:126px}
  .brand-actions{width:170px}
  .brand-actions>a,.editable-button{width:170px}
}
@media(max-width:820px){
  .page-shell{padding:0 12px 28px}
  .site-brand{min-height:58px;gap:10px}
  .site-logo{width:130px;height:56px;border-radius:17px}
  .site-titles strong{font-size:20px}
  .site-titles small{max-width:155px;font-size:11px}
  .slogan{font-size:18px;margin:17px 0 15px;letter-spacing:1px}
  .hero{aspect-ratio:16/7.5;border-radius:20px}
  .brand-grid{grid-template-columns:1fr;gap:14px}
  .brand-card{padding:15px;border-radius:23px}
  .brand-main{grid-template-columns:122px 164px;justify-content:center;column-gap:18px;min-height:156px}
  .brand-logo{width:122px;height:122px;border-radius:24px}
  .brand-identity h2{font-size:18px;margin-top:9px}
  .brand-actions{width:164px;gap:9px}
  .brand-actions>a,.editable-button{width:164px;min-height:41px;padding:8px 13px;font-size:14px}
  .sponsors{margin-top:14px;padding-top:16px}
  .sponsors img{width:38px;height:38px}
  .video-section h2{font-size:19px}
  .video-box{border-radius:20px}
}
@media(max-width:520px){
  .brand-main{grid-template-columns:102px minmax(0,156px);justify-content:center;column-gap:18px}
  .brand-logo{width:102px;height:102px;border-radius:22px}
  .brand-actions{width:156px}
  .brand-actions>a,.editable-button{width:156px;font-size:13px;padding-inline:10px}
  .brand-identity h2{font-size:17px}
}
@media(max-width:370px){
  .brand-main{grid-template-columns:94px minmax(0,148px);justify-content:center;column-gap:14px}
  .brand-logo{width:94px;height:94px}
  .brand-actions{width:148px}
  .brand-actions>a,.editable-button{width:148px;font-size:12px}
  .site-logo{width:118px}
}


/* 平板竖屏：避免 821px 附近突然变成过窄的双列卡片 */
@media (min-width:821px) and (max-width:900px){
  .brand-grid{grid-template-columns:1fr}
  .brand-main{grid-template-columns:150px 176px;column-gap:36px}
  .brand-logo{width:132px;height:132px}
  .brand-actions,.brand-actions>a,.editable-button{width:176px}
}

/* 手机端使用流体尺寸，覆盖 320/360/375/390/412/430 等常见宽度 */
@media (max-width:520px){
  .brand-main{
    grid-template-columns:clamp(94px,29vw,122px) clamp(148px,43vw,164px);
    column-gap:clamp(14px,4vw,18px);
    min-height:150px
  }
  .brand-logo{
    width:clamp(94px,29vw,122px);
    height:auto;
    aspect-ratio:1;
    border-radius:clamp(20px,5.5vw,24px)
  }
  .brand-actions{width:clamp(148px,43vw,164px);gap:9px}
  .brand-actions>a,.editable-button{
    width:100%;
    min-height:44px;
    padding:9px 10px;
    font-size:clamp(13px,3.55vw,14px)
  }
}

/* 极窄窗口或大比例字体缩放时改为上下排列，防止裁切 */
@media (max-width:300px){
  .brand-main{grid-template-columns:1fr;row-gap:14px}
  .brand-actions{width:min(164px,100%);justify-self:center}
}

@media (max-width:820px){
  .brand-card{box-shadow:0 8px 20px rgba(27,116,177,.08)}
  .site-header{backdrop-filter:blur(8px)}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-slide,.hero-dots button,.brand-actions>a{transition:none}
  .notice span{animation:none;padding-left:0;white-space:normal}
}
