/* 自动生成：tools/split_build.py pc，勿手改 */
/* topinfo */
/* 全站顶栏：汇率、北京时间、贝尔格莱德时间、天气（≥1280px；首页另有 .s-info 卡片） */
.tinfo{display:none}
@media (min-width:1280px){
  .top:has(.tinfo){gap:0!important}
  .top:has(.tinfo) .brand,.top:has(.tinfo) .dnav{flex:none}
  .top:has(.tinfo) .dnav{margin-left:32px;margin-right:48px}
  .top:has(.tinfo)>div:last-child{margin-left:10px;flex:none}
  .tinfo{display:flex;align-items:center;gap:0;flex:1 1 auto;min-width:0;margin:0 8px 0 16px;padding:0;position:relative;overflow:hidden;white-space:nowrap;color:#1D1D1F;line-height:1.05;container-type:inline-size;container-name:tinfo}
  .tinfo::before{content:"";position:absolute;left:0;top:50%;width:.5px;height:28px;margin-top:-14px;background:rgba(60,60,67,.18)}
  .ti-cell{display:flex;align-items:center;gap:8px;padding:4px 22px;min-height:36px;position:relative;box-sizing:border-box;flex:none}
  .ti-cell+.ti-cell::before{content:"";position:absolute;left:0;top:50%;width:.5px;height:22px;margin-top:-11px;background:rgba(60,60,67,.16)}
  .ti-fx{flex:0 0 auto;min-width:max-content;overflow:visible;flex-direction:row;align-items:center;justify-content:flex-start;gap:0;padding-left:16px;padding-right:10px;margin-right:4px}
  .ti-meta{display:none!important}
  .ti-l1{display:flex;align-items:center;gap:0;flex:0 0 auto;min-width:max-content;font-size:12px;line-height:15px;min-height:30px}
  .ti-pre,.ti-pre-s{color:#8E8E93;font-size:11px;font-weight:500;letter-spacing:.01em;line-height:13px}
  .ti-pre,.ti-l2,.ti-wt span{display:none}
  .ti-i{display:inline-flex;align-items:baseline;gap:2px;color:#8E8E93;font-size:11px;font-weight:500}
  .ti-i.ti-eu{display:none!important}
  .ti-i+.ti-i::before{content:"·";margin:0 10px 0 9px;color:rgba(60,60,67,.35);font-weight:400}
  .ti-i b{font-size:15px;font-weight:650;color:#1D1D1F;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
  .ti-i i{font-style:normal}
  .ti-l2{font-size:10px;line-height:12px;font-weight:500;color:#AEAEB2;letter-spacing:.01em}
  .ti-now,.ti-cn{flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:10px;font-variant-numeric:tabular-nums;min-width:0;width:auto;padding-left:26px;padding-right:26px}
  .ti-flag{width:28px!important;height:18px!important;min-width:28px;margin:0!important;flex:none;align-self:center;display:block;border-radius:2px;overflow:hidden;object-fit:cover;box-shadow:0 0 0 1px rgba(12,90,168,.35),0 1px 2px rgba(0,0,0,.14);shape-rendering:geometricPrecision}
  .ti-flag-cn{box-shadow:0 0 0 1px rgba(190,52,45,.38),0 1px 2px rgba(0,0,0,.14)!important}
  .ti-clock{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:none;min-width:max-content;width:max-content}
  .ti-nt{font-size:15px;line-height:17px;font-weight:650;color:#1D1D1F;letter-spacing:-.02em;text-align:center;font-variant-numeric:tabular-nums}
  .ti-nd{font-size:10px;line-height:12px;font-weight:500;color:#8E8E93;letter-spacing:.01em;padding-left:0;white-space:nowrap;text-align:center}
  .ti-w{padding-left:26px;padding-right:16px}
  .ti-w{gap:8px;color:#6B7380}
  .ti-w[data-wx="sun"],.ti-w[data-wx="pc"]{color:#C47A00}
  .ti-w[data-wx="rain"],.ti-w[data-wx="storm"],.ti-w[data-wx="snow"]{color:#2F6FB5}
  .ti-w[data-wx="cloud"],.ti-w[data-wx="fog"],.ti-w[data-wx="moon"]{color:#6B7380}
  .ti-wic{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;flex:none;background:rgba(107,115,128,.10);color:inherit}
  .ti-w[data-wx="sun"] .ti-wic,.ti-w[data-wx="pc"] .ti-wic{background:rgba(196,122,0,.12)}
  .ti-w[data-wx="rain"] .ti-wic,.ti-w[data-wx="storm"] .ti-wic,.ti-w[data-wx="snow"] .ti-wic{background:rgba(47,111,181,.12)}
  .ti-wt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:none;min-width:max-content;width:max-content}
  .ti-wt b{font-size:15px;line-height:17px;font-weight:650;color:#1D1D1F;font-variant-numeric:tabular-nums;letter-spacing:-.02em;text-align:center}
  .ti-wt span{font-size:10px;line-height:12px;font-weight:500;color:#8E8E93;text-align:center;white-space:nowrap}
  html:has(.top .tinfo) #body>.s-info{display:none!important}
  html[data-theme=dark] .tinfo{color:#E6EAF0}
  html[data-theme=dark] .tinfo::before,html[data-theme=dark] .ti-cell+.ti-cell::before{background:rgba(255,255,255,.14)}
  html[data-theme=dark] .ti-pre,html[data-theme=dark] .ti-pre-s,html[data-theme=dark] .ti-i,html[data-theme=dark] .ti-nd,html[data-theme=dark] .ti-wt span{color:#9AA3B0}
  html[data-theme=dark] .ti-i+.ti-i::before{color:rgba(255,255,255,.22)}
  html[data-theme=dark] .ti-i b,html[data-theme=dark] .ti-nt,html[data-theme=dark] .ti-wt b{color:#E6EAF0}
  html[data-theme=dark] .ti-l2{color:#7E8794}
  html[data-theme=dark] .ti-wic{background:rgba(255,255,255,.06)}
  html[data-theme=dark] .ti-w[data-wx="sun"] .ti-wic,html[data-theme=dark] .ti-w[data-wx="pc"] .ti-wic{background:rgba(243,194,124,.14);color:#F3C27C}
  html[data-theme=dark] .ti-w[data-wx="rain"] .ti-wic,html[data-theme=dark] .ti-w[data-wx="storm"] .ti-wic,html[data-theme=dark] .ti-w[data-wx="snow"] .ti-wic{background:rgba(143,184,232,.14);color:#8FB8E8}
  html[data-theme=dark] .ti-w{color:#A5AEBB}
  html[data-theme=dark] .ti-w[data-wx="sun"],html[data-theme=dark] .ti-w[data-wx="pc"]{color:#F3C27C}
  html[data-theme=dark] .ti-w[data-wx="rain"],html[data-theme=dark] .ti-w[data-wx="storm"],html[data-theme=dark] .ti-w[data-wx="snow"]{color:#8FB8E8}
}
@media (min-width:1360px){.ti-wt span{display:block}}
@container tinfo (max-width:690px){.ti-w{display:none!important}}
@container tinfo (max-width:600px){.ti-cn{display:none!important}}
@container tinfo (max-width:470px){.ti-now{display:none!important}}
@container tinfo (min-width:300px){
  .ti-i.ti-eu[data-k="EUR"]{display:inline-flex!important}
}
@container tinfo (min-width:440px){
  .ti-i.ti-eu[data-k="USD"]{display:inline-flex!important}
}
@container tinfo (max-width:680px){
  .ti-cn,.ti-now{padding-left:22px!important;padding-right:22px!important;gap:8px!important}
  .ti-w{padding-left:22px!important;padding-right:12px!important}
}
html[data-theme=dark] .ti-flag{box-shadow:0 0 0 1px rgba(255,255,255,.32),0 1px 3px rgba(0,0,0,.4)}
html[data-theme=dark] .ti-flag-cn{box-shadow:0 0 0 1px rgba(255,255,255,.28),0 1px 3px rgba(0,0,0,.4)}
@media (min-width:1280px){:where(html[data-theme=dark]) .tinfo{color:#E6EAF0}:where(html[data-theme=dark]) .tinfo::before{background-color:rgba(255,255,255,0.18)}:where(html[data-theme=dark]) .ti-cell+.ti-cell::before{background-color:rgba(255,255,255,0.16)}:where(html[data-theme=dark]) .ti-pre,:where(html[data-theme=dark]) .ti-pre-s{color:#98A2AF}:where(html[data-theme=dark]) .ti-i{color:#98A2AF}:where(html[data-theme=dark]) .ti-i+.ti-i::before{color:rgba(230,234,240,0.35)}:where(html[data-theme=dark]) .ti-i b{color:#E6EAF0}:where(html[data-theme=dark]) .ti-l2{color:#98A2AF}:where(html[data-theme=dark]) .ti-nt{color:#E6EAF0}:where(html[data-theme=dark]) .ti-nd{color:#98A2AF}:where(html[data-theme=dark]) .ti-w{color:#B4BCC8}:where(html[data-theme=dark]) .ti-w[data-wx="sun"],:where(html[data-theme=dark]) .ti-w[data-wx="pc"]{color:#F4C67B}:where(html[data-theme=dark]) .ti-w[data-wx="rain"],:where(html[data-theme=dark]) .ti-w[data-wx="storm"],:where(html[data-theme=dark]) .ti-w[data-wx="snow"]{color:#8EB6E2}:where(html[data-theme=dark]) .ti-w[data-wx="cloud"],:where(html[data-theme=dark]) .ti-w[data-wx="fog"],:where(html[data-theme=dark]) .ti-w[data-wx="moon"]{color:#B4BCC8}:where(html[data-theme=dark]) .ti-wic{background-color:rgba(255,255,255,0.1)}:where(html[data-theme=dark]) .ti-wt b{color:#E6EAF0}:where(html[data-theme=dark]) .ti-wt span{color:#98A2AF}html:where([data-theme=dark])[data-theme=dark] .tinfo::before,html:where([data-theme=dark])[data-theme=dark] .ti-cell+.ti-cell::before{background-color:rgba(24,32,42,0.14)}html:where([data-theme=dark])[data-theme=dark] .ti-pre,html:where([data-theme=dark])[data-theme=dark] .ti-pre-s,html:where([data-theme=dark])[data-theme=dark] .ti-i,html:where([data-theme=dark])[data-theme=dark] .ti-nd,html:where([data-theme=dark])[data-theme=dark] .ti-wt span{color:#98A2AF}html:where([data-theme=dark])[data-theme=dark] .ti-l2{color:#98A2AF}html:where([data-theme=dark])[data-theme=dark] .ti-wic{background-color:rgba(24,32,42,0.06)}html:where([data-theme=dark])[data-theme=dark] .ti-w{color:#98A2AF}}
html:where([data-theme=dark])[data-theme=dark] .ti-flag{box-shadow:0 0 0 1px rgba(255,255,255,0.06),0 1px 3px rgba(0,0,0,0.4)}
html:where([data-theme=dark])[data-theme=dark] .ti-flag-cn{box-shadow:0 0 0 1px rgba(255,255,255,0.06),0 1px 3px rgba(0,0,0,0.4)}
/* layout */
/* v39 全站最终覆盖层：统一内容宽度 + 轮播不越界 + 设备能力分层（规则见 开发手册.md） */
/* 与首页 hero-stack 同套节奏（见 home-polish.css）；子页 #body.pg 沿用，不改首页 #body */
:root{--edge:16px;--content-max:1216px;--sp-sec:10px;--sp-hd:10px;--sp-top:8px;--sp-bot:20px;--sub-hero-min-h:200px;--sub-hero-min-h-desk:260px;--sub-hero-radius:24px}
:root{--edge:24px;--sp-top:16px;--sp-bot:28px}

 :root{--edge:160px;--pad:160px;--sp-top:20px;--sp-bot:32px}

/* 子页正文区：左右 --edge，上下 --sp-top/bot，与首页顶栏/页脚对齐 */
#body.pg{
  box-sizing:border-box!important;width:100%!important;min-width:0;max-width:none!important;
  margin:0!important;padding-left:var(--edge)!important;padding-right:var(--edge)!important;
  padding-top:var(--sp-top)!important;padding-bottom:var(--sp-bot)!important;
  gap:var(--sp-sec)!important;row-gap:var(--sp-sec)!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important
}
#body.pg>*{min-width:0;grid-column:auto!important}
/* 【全站间距唯一来源】子页正文直接子元素之间只靠上面的 gap:var(--sp-sec)，禁止子元素自带上下外边距；页面禁止另写 #body 的 padding / 子元素间距，要改只改本文件令牌 */
#body.pg>*{margin-top:0!important;margin-bottom:0!important}
/* 只含视觉隐藏 h1.vh 的页头、空容器不占 flex 子项（否则 gap 会多算一次） */
#body.pg>header:has(>h1.vh:only-child){display:contents}
#body.pg>*:empty{display:none}
.is-desktop #body.pg>*:not(:has(>:not([data-mobile-only]))):has(>[data-mobile-only]){display:none}
/* 插画卡（手机显示）与其它块同宽，左右边距只来自 --edge */
#body.pg>.jb-ill{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}

 .top{padding-left:var(--edge)!important;padding-right:var(--edge)!important;box-sizing:border-box!important}
 .sf{box-sizing:border-box!important;max-width:none!important;width:auto!important;margin-left:0!important;margin-right:0!important;align-self:stretch}


 .sf{width:auto!important;max-width:none!important}

/* v80/v122 全站电脑端（≥1024px）：左右边距只来自 :root --edge（160px）；顶栏/正文/页脚对齐。 */

 html{background:#F5F6F8!important}
 body::after{-webkit-mask-image:none!important;mask-image:none!important;opacity:.05}
 .top{padding-left:var(--edge)!important;padding-right:var(--edge)!important}
 .sf-in{max-width:none!important;padding-left:var(--edge)!important;padding-right:var(--edge)!important}

/* 轮播：始终在所属列内滚动 */
#body>*,.s-explore,.s-red{min-width:0}
.snap,.tp-car,.xp-car,.s-explore .snap,.s-explore .tp-car,#body .snap,#body .xp-car{overflow-x:auto!important;overflow-y:hidden;max-width:100%;min-width:0;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;scroll-snap-type:x mandatory!important;box-sizing:border-box}
/* 设备能力分层 */
.is-desktop [data-mobile-only]{display:none!important}
.tel-txt{cursor:text;-webkit-user-select:text;user-select:text}
/* v49 分组列表行 hover/press（t188u）：Apple 式内缩圆角高亮，非硬边矩形 */
a.row,.pane a,.tq-row2{position:relative;isolation:isolate}
a.row:active,.pane a:active,.tq-row2:active{background:transparent!important;background-color:transparent!important;box-shadow:none!important}@media (hover:hover) and (pointer:fine){a.row:hover,.pane a:hover,.tq-row2:hover{background:transparent!important;background-color:transparent!important;box-shadow:none!important}}
a.row::after,.pane a::after,.tq-row2::after{content:"";position:absolute;top:3px;bottom:3px;left:-8px;right:-8px;z-index:-1;border-radius:12px;background:rgba(0,0,0,.04);opacity:0;transition:opacity .15s ease;pointer-events:none}
.tq-row2::after{left:6px;right:6px}
@media (hover:hover){a.row:hover::after,.pane a:hover::after,.tq-row2:hover::after{opacity:1}
 a.row:hover,.pane a:hover{border-bottom-color:transparent!important}
 a.row:has(+a.row:hover),.pane a:has(+a:hover){border-bottom-color:transparent!important}
 a.row:hover::before,a.row:hover+a.row::before{opacity:0}
 .tq-row2:hover,.tq-row2:hover+.tq-row2{border-top-color:transparent!important}}
a.row:active::after,.pane a:active::after,.tq-row2:active::after{opacity:1;background:rgba(0,0,0,.07)}
html[data-theme=dark] a.row::after,html[data-theme=dark] .pane a::after,html[data-theme=dark] .tq-row2::after{background:rgba(255,255,255,.06)}
html[data-theme=dark] a.row:active::after,html[data-theme=dark] .pane a:active::after,html[data-theme=dark] .tq-row2:active::after{background:rgba(255,255,255,.1)}
@media (prefers-reduced-motion:reduce){a.row::after,.pane a::after,.tq-row2::after{transition:none}}
/*dark:auto 由 theme.py 生成，勿手改*/
html:where([data-theme=dark]){background-color:#0F141B!important}
:where(html[data-theme=dark]) a.row::after,:where(html[data-theme=dark]) .pane a::after,:where(html[data-theme=dark]) .tq-row2::after{background-color:rgba(255,255,255,0.04)}
:where(html[data-theme=dark]) a.row:active::after,:where(html[data-theme=dark]) .pane a:active::after,:where(html[data-theme=dark]) .tq-row2:active::after{background-color:rgba(255,255,255,0.07)}
html:where([data-theme=dark])[data-theme=dark] a.row::after,html:where([data-theme=dark])[data-theme=dark] .pane a::after,html:where([data-theme=dark])[data-theme=dark] .tq-row2::after{background-color:rgba(24,32,42,0.06)}
html:where([data-theme=dark])[data-theme=dark] a.row:active::after,html:where([data-theme=dark])[data-theme=dark] .pane a:active::after,html:where([data-theme=dark])[data-theme=dark] .tq-row2:active::after{background-color:rgba(24,32,42,0.1)}
/*/dark:auto*/

/* shell */
/* 顶栏 + 底栏全站唯一样式来源（以首页为准）：所有页面（含首页）都加载本文件，禁止在别处单独改 .top / .tb 外观
   手机端：顶栏实色白、含安全区；底栏玻璃胶囊；页脚品牌区同样全站一份。顶栏 HTML 由 top_sync.py 从 index.html 整块同步 */
.tb{background:rgba(255,255,255,.88)!important;border:.5px solid rgba(60,60,67,.12)!important;box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 30px rgba(0,0,0,.12)!important}
:where(html[data-theme=dark]) .tb{background-color:rgba(24,32,42,0.88)!important;border:.5px solid rgba(255,255,255,0.12)!important}

/* 页脚品牌（全站统一，原 v130 首页写法去掉首页限定）：logo 中轴与「百」对齐，三行文案逐级展宽、居中对齐（金字塔） */
footer.sf .sf-brand{
 flex-direction:column!important;align-items:center!important;align-self:center!important;
 gap:10px!important;width:min(100%,360px);max-width:360px;margin-inline:auto!important;text-align:center
}
footer.sf .sf-logo{
 flex:none;width:48px!important;height:48px!important;margin:0!important
}
footer.sf .sf-bt{
 align-items:center!important;width:100%;max-width:none!important;gap:4px!important;text-align:center!important
}
footer.sf .sf-bt b,footer.sf .sf-bt span,footer.sf .sf-bt small{
 align-self:center;text-align:center!important;width:max-content;max-width:min(100%,22em)
}
footer.sf .sf-bt b{font-size:16px!important;line-height:20px!important;max-width:none}
footer.sf .sf-bt span{font-size:13px!important;line-height:18px!important;max-width:9.5em!important}
footer.sf .sf-bt small{margin-top:4px!important;white-space:nowrap!important;max-width:none!important}

 footer.sf .sf-brand{align-self:center!important;justify-self:center}

/* 顶栏汇率/时间：电脑端顶部用 .tinfo 一行显示，手机用的 .tm-info 在电脑端隐藏（原先只在首页内联样式里有，其他页会露出一串蓝色下划线文字） */
.tm-info{display:none}

/* 顶栏/底栏/页脚字体：必须和首页一致（首页 body 是 PingFang SC，子页 .app 是 -apple-system，同一个顶栏就会因字体不同而宽度/粗细不一样） */
.top,.tb,.sf{font-family:"PingFang SC",-apple-system,"Helvetica Neue","Noto Sans SC","Microsoft YaHei",sans-serif}
