/* 新疆旅行网 · 移动端首页 V2（极简版，复用 scommon.css 变量） */

/* ===== 无障碍：加深辅助文字，正文对比度 ≥ 5.6:1（原 #8b9591 仅 3.3:1） ===== */
:root{--g:#5f6b68}

/* ===== 顶部栏（白底 · LOGO+站名，对齐微信小程序首页） ===== */
.hd{height:calc(70px + env(safe-area-inset-top));padding:calc(15px + env(safe-area-inset-top)) 14px 15px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.04)}
.hd::after{display:none}
.hd-ph{height:calc(70px + env(safe-area-inset-top))}
.hd-nav{display:flex;align-items:center;width:100%;min-width:0}
.hd-logo{width:40px;height:40px;flex:0 0 auto;margin-right:10px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.hd-logo-img{width:100%;height:100%;display:block}
.hd-txt{width:262px;max-width:calc(100% - 50px);flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px}
.hd-line{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0}
.hd-title{max-width:100%;flex:0 1 auto;min-width:0;font-size:20px;line-height:23px;color:#16211f;font-weight:600;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hd-lic{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.hd-lic-t{font-size:10px;line-height:12px;color:#8b9591;letter-spacing:.3px;white-space:nowrap}
.hd-lic-n{font-size:10px;line-height:12px;color:#00766c;font-weight:600;letter-spacing:.2px;white-space:nowrap}
.hd-en{width:250px;height:12.5px;max-width:100%;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAzNjAgMTgiPjx0ZXh0IHg9IjAiIHk9IjEzIiBmb250LWZhbWlseT0iLWFwcGxlLXN5c3RlbSxCaGlua01hY1N5c3RlbUZvbnQsUGluZ0ZhbmcgU0MsSGVsdmV0aWNhIE5ldWUsQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMSIgZm9udC13ZWlnaHQ9IjUwMCIgZmlsbD0iIzdiODY4MyIgdGV4dGxlbmd0aD0iMzYwIiBsZW5ndGhBZGp1c3Q9InNwYWNpbmdBbmRHbHlwaHMiPlhJTkpJQU5HIENISU5BIFRSQVZFTCBJTlRFUk5BVElPTkFMIFRSQVZFTCBTRVJWSUNFPC90ZXh0Pjwvc3ZnPg==") no-repeat left center;background-size:100% 100%}
/* ===== 搜索栏：吸顶在顶栏下方（对齐小程序 .sb-wrap） ===== */
.sb-wrap{position:sticky;top:calc(70px + env(safe-area-inset-top));z-index:90;padding:10px 0 4px;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.05)}
.sb-wrap .sb{position:relative;z-index:2;display:flex;align-items:center;flex:none;margin:0 14px;height:36px;padding:0 10px;background:#f4f6f5;border:1px solid #e8ecea;border-radius:18px;box-shadow:none;cursor:pointer}
.sb-wrap .sb-logo{width:22px;height:22px;border-radius:4px;margin-right:7px;flex:0 0 auto;object-fit:cover}
.sb-wrap .sb-ph{flex:1;min-width:0;margin-left:0;font-size:14px;color:#4a5753;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-wrap .sb-go{flex:0 0 auto;align-self:auto;display:block;padding:0 0 0 8px;background:none;color:#00766c;font-size:14px;font-weight:600;letter-spacing:0;border-radius:0;border-left:1px solid #e8ecea}

/* ===== 禁止整页横向滚动，并阻止系统字体放大撑坏布局 ===== */
html{overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* ===== 底部导航安全区：避让手机系统导航条 ===== */
.bn{padding-bottom:max(6px,env(safe-area-inset-bottom))}

/* ===== 页脚：加深版权文字、抬高底部留白，避免被底部导航/浏览器工具栏压住 ===== */
.ft{padding-bottom:calc(var(--nav) + 40px + env(safe-area-inset-bottom))}
.ft-card{color:var(--g)}
.ft-copy,.ft-beian{color:var(--g)}
/* 无障碍：备案链接点击高度 48px */
.ft-copy a{display:inline-flex;align-items:center;min-height:48px}

/* ===== 幻灯片（覆盖 scommon.css 的 .hero-banner 样式） ===== */
.hero{margin:10px 14px 0}
.hero .hero-banner{aspect-ratio:auto;height:188px;border-radius:14px;overflow:hidden;background:#0a2a26;box-shadow:0 2px 8px rgba(19,32,29,.05)}
.hero .hero-slides-wrapper{position:absolute;inset:0}
.hero .hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none}
.hero .hero-slide.active{opacity:1;pointer-events:auto;z-index:1}
.hero .hero-slide a{display:block;width:100%;height:100%}
.hero .hero-slide img{width:100%;height:100%;object-fit:cover}
.hero .hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,24,22,.1) 0%,rgba(8,24,22,.05) 35%,rgba(8,24,22,.5) 72%,rgba(8,24,22,.82) 100%);pointer-events:none}
.hero-body{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:0 14px 13px;color:#fff;pointer-events:none}
.hero-kicker{font-size:9.5px;letter-spacing:.22em;color:rgba(255,255,255,.7);margin-bottom:3px}
.hero-title{font-size:17px;line-height:1.3;font-weight:700;text-shadow:0 1px 6px rgba(0,0,0,.5);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-meta{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.hero-price{font-size:10px;color:rgba(255,255,255,.72)}
.hero-price b{font-size:19px;color:#FFD86B;font-weight:700;margin:0 1px}
.hero-price small{font-size:9.5px;color:rgba(255,255,255,.6)}
.hero-acts{display:flex;gap:6px}
.btn-solid{height:28px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:600;background:#FFD86B;color:#4A3008;pointer-events:auto}
.hero .hero-indicators{top:12px;right:12px;bottom:auto;gap:4px}
.hero .indicator{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;transition:.3s}
.hero .indicator::before{display:none}
.hero .indicator.active{width:14px;border-radius:3px;background:#FFD86B}

/* ===== 金刚区 ===== */
.quick{display:grid;grid-template-columns:repeat(5,1fr);gap:3px 2px;padding:14px 6px 8px}
.q-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:7px 0;border-radius:11px}
.q-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#d3ebe6}
.q-ico svg{width:20px;height:20px;stroke:#007069;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.q-item:nth-child(2) .q-ico{background:#d3e1f8}
.q-item:nth-child(2) .q-ico svg{stroke:#2a63aa}
.q-item:nth-child(3) .q-ico{background:#fbe2cc}
.q-item:nth-child(3) .q-ico svg{stroke:#b96a22}
.q-item:nth-child(4) .q-ico{background:#e3d9f7}
.q-item:nth-child(4) .q-ico svg{stroke:#7050bd}
.q-item:nth-child(5) .q-ico{background:#d1e7f7}
.q-item:nth-child(5) .q-ico svg{stroke:#217296}
.q-item:nth-child(6) .q-ico{background:#f7edc4}
.q-item:nth-child(6) .q-ico svg{stroke:#997626}
.q-item:nth-child(7) .q-ico{background:#f9d9e2}
.q-item:nth-child(7) .q-ico svg{stroke:#b84869}
.q-item:nth-child(8) .q-ico{background:#e1e7ea}
.q-item:nth-child(8) .q-ico svg{stroke:#52616a}
.q-item:nth-child(9) .q-ico{background:#dcecd0}
.q-item:nth-child(9) .q-ico svg{stroke:#4f7a35}
.q-item:nth-child(10) .q-ico{background:#f8ddd6}
.q-item:nth-child(10) .q-ico svg{stroke:#b1543f}
.q-item span{font-size:11px;color:var(--ink);white-space:nowrap}

/* ===== 通用分组标题 ===== */
.sec{padding:18px 14px 4px}
.sec-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:12px;flex-wrap:nowrap}
.sec-hd .tt{display:flex;align-items:baseline;gap:7px;flex:1 1 auto;min-width:0;overflow:hidden}
.sec-hd h2{font-size:19px;font-weight:700;letter-spacing:.03em;line-height:1.2;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sec-hd .en{font-size:9px;letter-spacing:.2em;color:var(--g);text-transform:uppercase;white-space:nowrap;flex:0 0 auto}
.sec-hd .more{font-size:11px;color:var(--g);display:inline-flex;align-items:center;gap:1px;white-space:nowrap;flex:0 0 auto}
.sec-tag{display:inline-block;font-size:10px;padding:2px 7px;border-radius:4px;background:rgba(0,118,108,.08);color:var(--p);font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap;flex:0 0 auto}
.sec-tag.gold{background:rgba(192,132,44,.12);color:#7d4f0a}
@media (max-width:362px){.sec-hd .en{display:none}}

/* ===== 全国目的地 ===== */
.nation{background:var(--w);border-radius:var(--r);padding:13px 12px;margin:0 14px;box-shadow:0 2px 8px rgba(19,32,29,.05)}
.nation-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:11px}
.nation-tabs::-webkit-scrollbar{display:none}
.nation-tabs .t{flex:0 0 auto;padding:5px 11px;border-radius:999px;font-size:11.5px;color:var(--ink);background:var(--bg);white-space:nowrap}
.nation-tabs .t.on{background:var(--p);color:#fff;font-weight:600}
.nation-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.nation-grid a{display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 0 7px;border-radius:10px;background:var(--bg)}
.nation-grid .ph{width:36px;height:36px;border-radius:50%;overflow:hidden;background:#e9eeec}
.nation-grid .ph img{width:100%;height:100%;object-fit:cover}
.nation-grid span{font-size:11px;color:var(--ink);white-space:nowrap}

/* ===== 产品卡片横滑 ===== */
.cards{display:flex;gap:10px;overflow-x:auto;padding:2px 14px 4px;margin:0;scrollbar-width:none}
.cards::-webkit-scrollbar{display:none}
.p-card{flex:0 0 168px;background:var(--w);border-radius:var(--r);overflow:hidden;box-shadow:0 2px 8px rgba(19,32,29,.05)}
.p-card .ph{position:relative;height:0;padding-top:75%;background:#e9eeec;overflow:hidden}
.p-card .ph img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.p-card .p-tag{position:absolute;left:7px;top:7px;z-index:2;padding:2px 6px;border-radius:4px;font-size:9.5px;font-weight:600;background:rgba(0,118,108,.92);color:#fff}
.p-card .p-tag.gold{background:rgba(192,132,44,.95)}
.p-card .p-days{position:absolute;right:7px;top:7px;z-index:2;padding:2px 6px;border-radius:4px;font-size:9.5px;background:rgba(0,0,0,.5);color:#fff}
.p-card .bd{padding:9px 10px 10px}
.p-card h3{font-size:13px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:35px;margin:0}
.p-card .meta{display:flex;align-items:center;justify-content:space-between;margin-top:7px}
.p-card .meta .ds{font-size:10px;color:var(--g)}
.p-card .pr{font-size:10px;color:var(--g)}
.p-card .pr b{font-size:16px;color:#B4462F;font-weight:700;margin:0 1px}
.p-card .pr em{font-style:normal;font-size:10px}

/* ===== 热门省份（大图卡横滑） ===== */
.dest-scroll{display:flex;gap:10px;overflow-x:auto;padding:2px 14px 4px;margin:0;scrollbar-width:none}
.dest-scroll::-webkit-scrollbar{display:none}
.d-card{flex:0 0 148px;border-radius:var(--r);overflow:hidden;position:relative;background:var(--w);box-shadow:0 2px 8px rgba(19,32,29,.05)}
.d-card .ph{height:110px;overflow:hidden;position:relative;background:#e9eeec}
.d-card .ph img{width:100%;height:100%;object-fit:cover}
.d-card .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,16,14,.05) 35%,rgba(9,16,14,.6))}
.d-card .nm{position:absolute;left:10px;bottom:8px;z-index:2;color:#fff}
.d-card .nm b{display:block;font-size:15px;letter-spacing:.03em;line-height:1.2}
.d-card .nm span{font-size:9.5px;color:rgba(255,255,255,.8);letter-spacing:.05em}
.d-card .ft2{display:flex;align-items:center;justify-content:space-between;padding:7px 9px}
.d-card .ft2 span{font-size:10px;color:var(--g)}
.d-card .ft2 i{font-style:normal;font-size:10px;color:var(--p);font-weight:600}

/* ===== 攻略精选 Tab 列表 ===== */
.tabs{display:flex;gap:14px;padding:0 0 10px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);margin-bottom:12px}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;font-size:13px;color:var(--g);padding:0 0 8px;position:relative;text-decoration:none;-webkit-tap-highlight-color:transparent}
.tab.on{color:var(--ink);font-weight:700}
.tab.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--p);border-radius:2px}
.p-row{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.p-row:last-child{border-bottom:0}
.p-row .th{flex:0 0 94px;height:68px;border-radius:8px;overflow:hidden;background:#e9eeec;position:relative}
.p-row .th img{width:100%;height:100%;object-fit:cover}
.p-row .cnt{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.p-row h3{font-size:13.5px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.p-row .meta{display:flex;align-items:center;justify-content:space-between;gap:6px}
.p-row .meta span{font-size:10px;color:var(--g)}

/* 攻略精选 · 杂志拼贴 */
.gl-mo{display:grid;grid-template-columns:1.45fr 1fr;grid-auto-rows:112px;gap:8px}
.gl-c{position:relative;display:block;border-radius:12px;overflow:hidden;background:#e9eeec;-webkit-tap-highlight-color:transparent}
.gl-c img{width:100%;height:100%;object-fit:cover;display:block}
.gl-c::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,.1) 58%,rgba(0,0,0,0))}
.gl-t{position:absolute;left:12px;right:12px;bottom:12px;z-index:2;color:#fff}
.gl-t b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:20px;font-weight:700}
.gl-t i{display:block;font-style:normal;font-size:11px;opacity:.82;margin-top:4px}
.gl-tall{grid-row:span 2}
.gl-tall .gl-t b{font-size:16px;line-height:22px}
.gl-wide{grid-column:1/-1}
@media (max-width:340px){.gl-tall .gl-t b{font-size:15px}}
