/* 塞百通 响应式：<768 手机 H5（v7 原样）｜768–1023 平板｜≥1024 桌面网页 */
.app{width:100%!important;min-height:100vh!important;min-height:100dvh!important}
.dnav,.dlogin,.dfoot{display:none}
@media (max-width:767px){.app{max-width:none}}

/* ---------- 平板 ---------- */
@media (min-width:768px) and (max-width:1023px){
 .top,.tick{padding-left:24px!important;padding-right:24px!important}
 #body{max-width:720px;width:100%;box-sizing:border-box;margin:0 auto;padding:16px 24px 24px!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-sec)!important;row-gap:var(--sp-sec)!important;column-gap:var(--sp-sec)!important;align-items:start}
 .s-hero,.s-quick,.s-learn,.s-explore,.s-note{grid-column:1/-1}
 .s-quick{grid-template-columns:repeat(10,minmax(0,1fr))!important}
 .s-hero{grid-row:1}.s-quick{grid-row:2}
 .s-explore{grid-column:1/-1;grid-row:3}
 .s-forum{grid-column:1;grid-row:4/7}.s-red{grid-column:2;grid-row:4/7}
 .s-biz{grid-column:1/-1;grid-row:7}
 .s-learn{grid-row:8}.s-note{grid-row:9}
 .s-explore .snap{margin:0!important;padding:0 0 4px!important}
 .s-explore .snap-i{flex:1 1 0!important;width:auto!important}
 /* tb centering handled in base.css?v=11190140 */
}

/* ---------- 桌面 ---------- */
@media (min-width:1024px){
 .tb,div.sp,.pull-hint{display:none!important}
 .top{position:sticky;top:0;z-index:50;height:64px!important;padding:0 var(--edge)!important;
  background:rgba(255,255,255,.72)!important;backdrop-filter:saturate(180%) blur(24px)!important;-webkit-backdrop-filter:saturate(180%) blur(24px)!important}
 .tick{padding-left:var(--edge)!important;padding-right:var(--edge)!important;justify-content:flex-start!important;gap:32px!important}
 .dnav{display:flex;gap:4px;margin-right:auto;margin-left:40px}
 .dnav a{font-size:15px;color:#1D1D1F;text-decoration:none;padding:0 16px;min-height:40px;display:flex;align-items:center;border-radius:980px;transition:background 200ms var(--std)}
 @media (hover:hover) and (pointer:fine){.dnav a:hover{background:rgba(0,0,0,.05)}}
 .dnav a.on{color:#0066CC;font-weight:600;background:rgba(0,102,204,.10)}
 .dlogin{display:flex;align-items:center;min-height:36px;padding:0 16px;border-radius:980px;background:#0066CC;color:#fff!important;font-size:15px;font-weight:600;text-decoration:none;margin-left:8px}
 @media (hover:hover) and (pointer:fine){.dlogin:hover{background:#004EA3}}
 /* 首页：左右 var(--edge)；区块间距 --sp-sec（10px）；子页用 #body.pg */
 #body:not(.pg){max-width:none;width:100%;box-sizing:border-box;margin:0;padding:var(--sp-top) var(--edge) var(--sp-bot)!important;
  display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--sp-sec)!important;row-gap:var(--sp-sec)!important;column-gap:var(--sp-sec)!important;align-items:start}
 .s-hero{grid-column:1/-1;background:#fff;border-radius:28px;padding:40px 48px 32px;gap:20px!important}
 .s-hero>div:first-child{justify-content:space-between!important}
 .s-hero>div:nth-child(2){max-width:760px;min-height:64px;padding-left:24px!important}
 .s-hero>div:nth-child(2)>div{font-size:20px!important}
 .s-quick{grid-column:1/-1;grid-template-columns:repeat(10,minmax(0,1fr))!important;background:#fff;border-radius:28px;padding:24px 16px;row-gap:var(--sp-hd)!important;column-gap:var(--sp-hd)!important}
 .s-quick a{border-radius:16px;padding:8px 0;transition:background 200ms var(--std)}
 @media (hover:hover) and (pointer:fine){.s-quick a:hover{background:#F2F2F7}}
 .s-learn{grid-column:1/5;flex-direction:column;align-items:flex-start!important;gap:16px!important;min-height:100%;box-sizing:border-box}
 .s-learn:not(.s-learn--dock)>span:last-child{display:none}
 .s-explore{grid-column:5/-1}
 .s-explore .snap{margin:0!important;padding:0!important;overflow:visible!important}
 .s-explore .snap-i{flex:1 1 0!important;width:auto!important}
 .s-explore{grid-column:5/-1;grid-row:3}
 .s-forum{grid-column:1/5;grid-row:3/8}
 .s-red{grid-column:5/9;grid-row:4/8}
 .s-biz{grid-column:9/-1;grid-row:4/8}
 .s-note{grid-column:1/-1}
 .s-hero{grid-row:1}.s-quick{grid-row:2}
 .s-learn{grid-row:8}.s-note{grid-row:9}
 .s-hero .xs{scale:1.4;transform-origin:100% 100%;margin:0 8px 0 0}
 @media (hover:hover) and (pointer:fine){a.row:hover,.pane a:hover{background:#F7F7FA}}
 .dfoot{display:block;border-top:0.5px solid #D1D1D6;background:#fff}
 .dfoot-in{max-width:1280px;margin:0 auto;padding:32px;box-sizing:border-box;display:flex;align-items:center;gap:32px;flex-wrap:wrap;font-size:13px;color:#636366}
 .dfoot-in b{font-size:17px;color:#1D1D1F;margin-right:12px}
 .dfoot-in nav{display:flex;gap:24px;margin-left:auto}
 .dfoot-in nav a{color:#636366;text-decoration:none}@media (hover:hover) and (pointer:fine){.dfoot-in nav a:hover{color:#0066CC}}
 .dfoot-in small{flex-basis:100%;font-size:12px}
}
@media (min-width:1024px) and (prefers-reduced-transparency:reduce){.top{background:#fff!important;backdrop-filter:none!important}}

/* ---- 首页 hero：小塞贴着搜索框站立 (tablet + desktop) ---- */
@media (min-width:768px){
 .s-hero{display:grid!important;grid-template-columns:minmax(0,720px) 200px;justify-content:center;column-gap:24px;row-gap:16px!important;padding:28px 40px 24px!important;max-width:none}
 .s-hero>div:first-child{display:contents!important}
 .s-hero>div:first-child>div{grid-column:1;grid-row:1;align-self:end}
 .s-hero>div:first-child>span{grid-column:2;grid-row:1/3;align-self:end;justify-self:start;margin:0!important}
 .s-hero .xs{width:200px;height:200px;scale:1!important;margin:0!important}
 .s-hero .xs-svg{width:200px;height:200px}
 .s-hero .xs-bub{right:150px;top:10px}
 .s-hero>.sbx{grid-column:1;grid-row:2;max-width:none;padding-left:16px!important;min-height:56px}

}
@media (min-width:768px) and (max-width:1023px){
 .s-hero{grid-template-columns:minmax(0,1fr) 160px;padding:24px 28px 20px!important}
 .s-hero .xs,.s-hero .xs-svg{width:160px;height:160px}
 .s-hero .xs-bub{right:118px}
}

/* ---- 视觉居中：标题光学中心 = 小塞脸部中心 (offset 由 playwright 实测) ---- */
.s-hero>div:first-child>span{translate:0 var(--mascot-optical-offset,0px)}
:root{--mascot-optical-offset:-23px}
@media (max-width:359px){:root{--mascot-optical-offset:-19px}}
@media (min-width:768px){
 .s-hero>div:first-child>span{grid-row:1!important;align-self:center!important}
 .s-hero>div:first-child>div{align-self:center!important}
 :root{--mascot-optical-offset:-19px}
}
/* v30 禁止双击缩放（保留双指缩放）；移动端输入框 ≥16px 防 iOS 聚焦放大 */
html,body,a,button,input,select,textarea,label,summary,[role="button"],[data-href],[data-soon]{touch-action:manipulation}
@media (max-width:1023px){input,select,textarea{font-size:max(16px,1em)!important}}
/*dark:auto 由 theme.py 生成，勿手改*/
@media (min-width:1024px){:where(html[data-theme=dark]) .top{background-color:rgba(24,32,42,0.72)!important}:where(html[data-theme=dark]) .dnav a{color:#E6EAF0}@media (hover:hover) and (pointer:fine){:where(html[data-theme=dark]) .dnav a:hover{background-color:rgba(255,255,255,0.05)}}:where(html[data-theme=dark]) .dnav a.on{color:#7BB8F4}:where(html[data-theme=dark]) .s-hero{background-color:#18202A}:where(html[data-theme=dark]) .s-quick{background-color:#18202A}@media (hover:hover) and (pointer:fine){:where(html[data-theme=dark]) .s-quick a:hover{background-color:#0F141B}}@media (hover:hover) and (pointer:fine){:where(html[data-theme=dark]) a.row:hover,:where(html[data-theme=dark]) .pane a:hover{background-color:#18202A}}:where(html[data-theme=dark]) .dfoot{border-top:0.5px solid #2A3441;background-color:#18202A}:where(html[data-theme=dark]) .dfoot-in{color:#B4BCC8}:where(html[data-theme=dark]) .dfoot-in b{color:#E6EAF0}:where(html[data-theme=dark]) .dfoot-in nav a{color:#B4BCC8}@media (hover:hover) and (pointer:fine){:where(html[data-theme=dark]) .dfoot-in nav a:hover{color:#7BB8F4}}}
@media (min-width:1024px) and (prefers-reduced-transparency:reduce){:where(html[data-theme=dark]) .top{background-color:#18202A!important}}
/*/dark:auto*/
