/* 自动生成：patch_css_bundle.py，勿手改；改 css/ 下的源文件后重跑 */
/* 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)}
/* archetype-shell */
/* 子页专用壳层（body.pg-page）；首页无此类，不受影响 */
body.pg-page .app{
  min-height:100vh;min-height:100dvh;
  min-height:100dvh;
}
body.pg-page .app>footer.sf{
  margin-top:auto;
}
@media (min-width:1024px){
  body.pg-page:not(.pg-community):not(.pg-market):not([class*="pg-market-"]):not(.pg-attractions):not([class*="pg-spot-"]):not(.pg-explore):not([class*="pg-explore-"]):not(.pg-services):not(.pg-realestate):not(.pg-tools):not(.pg-jobs):not([class*="pg-jobs-"]):not(.pg-food):not([class*="pg-food-"]):not(.pg-learn):not([class*="pg-learn-"]):not(.pg-transport):not([class*="pg-transport-"]):not(.pg-taxi):not(.pg-sim):not(.pg-fraud):not(.pg-video):not(.pg-ask) #body.pg{
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    width:100%;
    box-sizing:border-box;
  }
}
/* archetype-module */
/* 招聘 / 餐饮 / 学塞语等模块壳：横幅全宽 + 列表/大卡栅格 */
@media (min-width:1024px){
  body.pg-jobs #body.pg,
  body.pg-food #body.pg,
  body.pg-learn #body.pg,
  body[class*="pg-jobs-"] #body.pg,
  body[class*="pg-food-"] #body.pg,
  body[class*="pg-learn-"] #body.pg{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box;
  }
  body.pg-jobs .jb-bigs,
  body.pg-food .jb-bigs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    align-items:stretch;
  }
  body.pg-jobs .jb-big,
  body.pg-food .jb-big{min-height:100%}
  body.pg-jobs .jb-list,
  body.pg-learn .jb-list,
  body[class*="pg-jobs-"] .jb-list{
    max-width:100%;
  }
  body.pg-jobs .jb-sec,
  body.pg-food .jb-sec,
  body.pg-learn .jb-sec{
    margin-bottom:20px;
  }
}
/* archetype-hub */
/* 入口总页（hb-grid）：左右与首页同为 var(--edge)，仅内部多列栅格 */
@media (min-width:1024px){
  body.pg-page #body.pg{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box;
  }
  body.pg-page .hb-grid{
    grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));
    gap:12px;
  }
  body.pg-page .hb-sec{margin-bottom:20px}
  body.pg-page .hb-sec h2{margin-bottom:12px}
  body.pg-page .hb-disc{max-width:none}
}
/* archetype-desktop */
/* v136 子页电脑端：左右边距只沿用 layout.css?v=11190140 的 #body.pg var(--edge)，不设二次 max-width */
@media (min-width:1024px){
  body.pg-page #body.pg{
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box;
  }
  body.pg-page #body.pg > .hb-hero{
    padding:24px 28px 20px;
    border-radius:var(--r-card,20px);
    background:#fff;
    border:.5px solid rgba(60,60,67,.10);
    box-shadow:0 1px 2px rgba(0,0,0,.04);
    text-align:left;
    margin-bottom:4px;
  }
  body.pg-page #body.pg > .hb-hero .hb-hic{margin:0}
  body.pg-page #body.pg > .hb-hero h1{font-size:clamp(26px,2.2vw,34px);line-height:1.2}
  body.pg-page .hb-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
  body.pg-page #body.pg > .jb-sec.hb-sec,
  body.pg-page #body.pg > section.jb-sec{
    max-width:100%;
  }
  body.pg-page #body.pg .iq-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  /* 与电话卡/叫车共用 sim-hero：电脑端图文分栏，避免整屏拉伸 */
  body.pg-page #body.pg > .card.sim-hero,
  body.pg-page #body.pg > section.card.sim-hero{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
    grid-template-rows:minmax(var(--sub-hero-min-h-desk),auto);
    min-height:var(--sub-hero-min-h-desk);
    text-align:left;
    align-items:stretch;
    border-radius:20px;
    overflow:hidden;
  }
  body.pg-page #body.pg > .card.sim-hero picture,
  body.pg-page #body.pg > section.card.sim-hero picture,
  body.pg-page #body.pg > .card.sim-hero .ph,
  body.pg-page #body.pg > section.card.sim-hero .ph,
  body.pg-sim #body.pg > .card.sim-hero .sim-hero-vis,
  body.pg-sim #body.pg > section.card.sim-hero .sim-hero-vis{
    grid-column:1;
    grid-row:1;
    position:relative!important;
    inset:auto!important;
    width:100%;
    height:100%;
    min-height:var(--sub-hero-min-h-desk);
    z-index:0;
  }
  body.pg-page #body.pg > .card.sim-hero::after,
  body.pg-page #body.pg > section.card.sim-hero::after{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:50%;
    right:auto;
    z-index:1;
    pointer-events:none;
  }
  body.pg-page #body.pg > .card.sim-hero .sim-hero-in,
  body.pg-page #body.pg > section.card.sim-hero .sim-hero-in{
    grid-column:2;
    grid-row:1;
    position:relative;
    z-index:2;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    padding:22px 24px;
    background:var(--y-navy,#00233F);
    min-height:var(--sub-hero-min-h-desk);
  }
  body.pg-sim #body.pg > .card.sim-hero,
  body.pg-sim #body.pg > section.card.sim-hero{
    grid-template-rows:minmax(var(--sub-hero-min-h-desk),auto);
    min-height:var(--sub-hero-min-h-desk);
  }
  /* 电话卡：右侧文案区清淡浅底，不用海军黑 */
  body.pg-sim #body.pg > .card.sim-hero .sim-hero-in,
  body.pg-sim #body.pg > section.card.sim-hero .sim-hero-in{
    padding:20px 22px;
    min-height:188px;
    gap:6px;
    background:linear-gradient(165deg,#FAFCF8 0%,#F0F7E9 52%,#F5FAFE 100%);
    border-left:.5px solid rgba(60,60,67,.1);
  }
  body.pg-page .sim-hero .sim-tags,
  body.pg-page .sim-hero .sim-price{justify-content:flex-start}
  body.pg-page .sim-hero h1{font-size:clamp(26px,2vw,38px);line-height:1.15}
  body.pg-page .sim-hero .sim-cta{align-self:flex-start}
  body.pg-taxi #body.pg > .card.tx-form,
  body.pg-taxi #body.pg > section.card.tx-form{
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
}
/* site-shell */
/* 全站壳层：与首页一致的左右留白与背景，子页不用窄栏居中 */
.top{
  height:56px;flex:none;display:flex;align-items:center;justify-content:space-between;
  padding:0 var(--edge);box-sizing:border-box;
  background:rgba(255,255,255,0.8);
  backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:.5px solid #D1D1D6;
}
.app{
  width:100%!important;max-width:none!important;min-height:100vh;min-height:100dvh;
  display:flex;flex-direction:column;box-sizing:border-box;
  background:#F2F2F7;color:#1D1D1F;
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','PingFang SC','Helvetica Neue','Noto Sans SC','Microsoft YaHei',sans-serif
}
:where(html[data-theme=dark]) .app{background:#0F141B;color:#E6EAF0}
/* 子页 #body.pg 边距见 layout.css，此处仅壳层与卡片 */
/* 子页卡片：克制阴影，避免浮夸渐变底 */
body.pg-page #body.pg .card{
  background:#fff;
  border:.5px solid rgba(60,60,67,.1);
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
body.pg-page #body.pg .ans-hd::after,body.pg-page #body.pg .ent::after,body.pg-page #body.pg .prof::after{
  background:linear-gradient(180deg,rgba(255,255,255,.9),#fff);
}
:where(html[data-theme=dark]) body.pg-page #body.pg .card{background:#18202A;border-color:rgba(255,255,255,.09);box-shadow:none}
:where(html[data-theme=dark]) body.pg-page #body.pg .ans-hd::after,
:where(html[data-theme=dark]) body.pg-page #body.pg .ent::after,
:where(html[data-theme=dark]) body.pg-page #body.pg .prof::after{background:linear-gradient(180deg,rgba(24,32,42,.92),#18202A)}

/* 全站地标线稿底纹：子页不加载 home-polish.css，由壳层补回固定水印层 */
body::after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22820%22 height=%22760%22 fill=%22none%22 stroke=%22%238E8E93%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate%2830 40%29 scale%281%29%22%3E%3Cpath d=%22M0 120h90M10 120V84l12-6v-8h8v8l30 8V70h10v-8h8v8h8v50M50 120V20M45 20h10M50 20l-3-12 3-5 3 5z%22/%3E%3C/g%3E%3Cg transform=%22translate%28330 20%29 scale%281%29%22%3E%3Cpath d=%22M0 120h140M10 120V70h120v50M24 70V52h92v18M40 52q30-56 60 0M70 6v-14M65 -2h10M10 96h120M30 120V98h16v22M94 120V98h16v22M0 120V84q8-12 16 0M124 84q8-12 16 0v36%22/%3E%3C/g%3E%3Cg transform=%22translate%28600 60%29 scale%280.95%29%22%3E%3Cpath d=%22M0 120h120M0 120l10-24h100l10 24M30 96V60h40v36M26 60l24-22 24 22M50 38V26M44 26h12M50 78m-9 0a9 9 0 1 0 18 0a9 9 0 1 0-18 0M50 78v-6M50 78l5 2%22/%3E%3C/g%3E%3Cg transform=%22translate%2870 300%29 scale%281%29%22%3E%3Cpath d=%22M0 120h130M14 120V70h100v50M8 70l56-28 56 28M44 50V30h40v20M40 30q24-30 48 0M64 6v-12M58 0h12M54 120V92q10-14 20 0v28M28 90h10v14H28zM90 90h10v14H90z%22/%3E%3C/g%3E%3Cg transform=%22translate%28360 320%29 scale%280.95%29%22%3E%3Cpath d=%22M0 120h140M0 120V70h30v-8h8v8h12v-8h8v8h24v-8h8v8h12v-8h8v8h30v50M60 120V96q10-14 20 0v24M10 70V58h10v12M120 70V58h10v12%22/%3E%3C/g%3E%3Cg transform=%22translate%28620 330%29 scale%281%29%22%3E%3Cpath d=%22M-10 120q30-8 60 0t60 0t60 0M40 100h60l-8-36H48zM36 64l34-28 34 28M58 100V84h12v16M60 112h20M46 104l-6 14M94 104l6 14%22/%3E%3C/g%3E%3Cg transform=%22translate%28180 560%29 scale%281%29%22%3E%3Cpath d=%22M-10 124q40-8 80 0t80 0t80 0M0 118l20-30h20l10-20h20l10 20h16l14-44h10l14 44 16 30M110 44h10M30 88V74h8v14M74 68V52h8v16%22/%3E%3C/g%3E%3Cg transform=%22translate%28520 560%29 scale%281%29%22%3E%3Cpath d=%22M0 120h100M40 120l6-96h8l6 96M42 80h16M38 24h24M44 24V8h12v16M50 8V-14M34 120l16-30 16 30%22/%3E%3C/g%3E%3C/svg%3E") 0 0/820px 760px repeat;opacity:.08;
 -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(50% - 640px),rgba(0,0,0,.38) calc(50% - 540px),rgba(0,0,0,.38) calc(50% + 540px),#000 calc(50% + 640px));
 mask-image:linear-gradient(90deg,#000 0,#000 calc(50% - 640px),rgba(0,0,0,.38) calc(50% - 540px),rgba(0,0,0,.38) calc(50% + 540px),#000 calc(50% + 640px))}
body::before{z-index:-1}
@media (max-width:1023px){html{background:#ECEEF2!important}body::after{opacity:.065;-webkit-mask-image:none;mask-image:none;background-size:600px 556px}}
@media (max-width:1023.98px){body.pg-page::after,body::after{opacity:.065;-webkit-mask-image:none;mask-image:none;background-size:600px 556px}}
@media print{body::after{display:none}}

/* 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}
@media (min-width:768px){:root{--edge:24px;--sp-top:16px;--sp-bot:28px}}
/* 手机首页：正文与横幅同宽（hero-stack 用 margin:… var(--edge)） */
@media (max-width:767.98px){
 html:has(.hero-stack) #body:not(.pg){
  padding-left:var(--edge)!important;padding-right:var(--edge)!important;
  box-sizing:border-box!important;width:100%!important;
 }
}
@media (min-width:1024px){
 :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}
.is-mobile #body.pg>*:not(:has(>:not([data-desktop-only]))):has(>[data-desktop-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}
@media (min-width:768px){
 .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}
}
@media (min-width:1024px){
 .sf{width:auto!important;max-width:none!important}
}
/* v80/v122 全站电脑端（≥1024px）：左右边距只来自 :root --edge（160px）；顶栏/正文/页脚对齐。 */
@media (min-width:1024px){
 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],.is-mobile [data-desktop-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 生成，勿手改*/
@media (min-width:1024px){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}
@media (max-width:1023px){.top{background:#FFF!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-sizing:content-box!important;padding-top:env(safe-area-inset-top,0px)!important;border-bottom:.5px solid rgba(60,60,67,.12)!important}}
/* v34 iPhone 顶部：顶栏吸顶不透明，Safari 状态栏模糊只落在顶栏背后，Logo 与按钮保持清晰 */
@media (max-width:1023px){.top{position:sticky!important;top:0!important;z-index:50!important;background:#FFF!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;isolation:isolate}
.top>*{position:relative;z-index:2;opacity:1!important;filter:none!important}
.top::before{content:"";position:absolute;left:0;right:0;top:0;height:env(safe-area-inset-top,0px);background:#FFF;z-index:1;pointer-events:none}}
: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}
@media (max-width:1023px){:where(html[data-theme=dark]) .top{background-color:#18202A!important;border-bottom:.5px solid rgba(255,255,255,0.12)!important}}
@media (max-width:1023px){:where(html[data-theme=dark]) .top{background-color:#18202A!important}:where(html[data-theme=dark]) .top::before{background-color:#18202A}}

/* 页脚品牌（全站统一，原 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}
@media (max-width:359.98px){
 footer.sf .sf-bt small{white-space:normal!important;text-wrap:balance!important;max-width:min(100%,20em)!important}
}
@media (min-width:1024px){
 footer.sf .sf-brand{align-self:center!important;justify-self:center}
}

/* 二级页返回键：仅手机宽度显示，替换 logo + 塞百通（标记由 shell-parts.js?v=11190140 输出） */
.top .brand-back{display:none}
@media (max-width:1023px){
.top .brand.brand-has-back{display:none!important}
.top .brand-back{display:flex;flex:none;white-space:nowrap;align-items:center;gap:2px;min-height:44px;margin-left:-8px;padding:0 10px 0 6px;font-size:17px;font-weight:600;color:#0066CC!important;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:opacity .15s ease-out,transform .15s ease-out}
.top .brand-back:active{transform:scale(.97);opacity:.6}
html[data-theme=dark] .top .brand-back{color:#4DA3FF!important}
}
@media (prefers-reduced-motion:reduce){.top .brand-back{transition:none}.top .brand-back:active{transform:none}}
