/* 首页深度重构：复刻参考站的移动端信息层级 */
body.home-redesign { padding: 0 0 92px !important; background: #f7faf9 !important; }
.home-shell { width: min(100% - 24px, 760px); margin: 0 auto; }
.home-top {
    position: sticky; top: 0; z-index: 110; height: 62px;
    display: flex; align-items: center; gap: 12px;
    background: rgba(247,250,249,.9); backdrop-filter: blur(18px);
}
.home-brand { display:flex; align-items:center; gap:10px; font-size:20px; font-weight:900; letter-spacing:-.8px; }
.home-brand-mark { width:36px; height:36px; display:grid; place-items:center; color:#fff; border-radius:12px; background:linear-gradient(145deg,#16a085,#0b6b6f); box-shadow:0 8px 18px rgba(11,107,111,.22); }
.home-brand-mark svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; }
.home-city { margin-left:auto; display:flex; align-items:center; gap:4px; color:#5d7478; font-size:13px; font-weight:700; }
.home-city svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; }

.home-hero { position:relative; overflow:hidden; margin-top:6px; border-radius:24px; min-height:196px; background:linear-gradient(135deg,#dff2ec,#f5e7d2); box-shadow:0 14px 38px rgba(20,66,69,.1); }
.home-hero::after { content:""; position:absolute; width:190px; height:190px; right:-55px; bottom:-75px; border:32px solid rgba(255,255,255,.25); border-radius:50%; }
.home-hero-copy { position:relative; z-index:2; padding:27px 22px 24px; width:72%; }
.home-kicker { display:flex; align-items:center; gap:7px; color:#0b6b6f; font-size:10px; font-weight:900; letter-spacing:1px; text-transform:uppercase; }
.home-kicker::before { content:""; width:20px; height:2px; background:#0b6b6f; }
.home-hero h1 { margin:12px 0 9px; font-size:29px; line-height:1.12; letter-spacing:-1.5px; }
.home-hero p { margin:0; color:#557176; font-size:12px; line-height:1.7; }
.home-hero-badge { position:absolute; z-index:2; right:18px; bottom:20px; width:62px; height:62px; border-radius:18px; background:rgba(255,255,255,.75); backdrop-filter:blur(10px); display:grid; place-items:center; color:#0b6b6f; transform:rotate(4deg); box-shadow:0 8px 20px rgba(20,66,69,.10); }
.home-hero-badge svg { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:1.45; stroke-linecap:round; stroke-linejoin:round; }

.home-search { position:sticky; top:0; z-index:110; margin:8px 0 12px; padding:6px; display:grid; grid-template-columns:38px minmax(0,1fr) 66px; align-items:center; background:rgba(255,255,255,.96); border:1px solid rgba(220,231,229,.95); border-radius:17px; box-shadow:0 8px 24px rgba(25,75,72,.09); backdrop-filter:blur(16px); overflow:hidden; }
.home-search-icon { height:44px; display:grid; place-items:center; color:#789093; background:transparent; border:0; border-radius:0; }
.home-search-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; }
.home-search .search-input { width:100% !important; min-width:0; height:44px; padding:0 6px !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; font-size:14px !important; }
.home-search .search-btn { width:66px !important; height:42px; min-height:42px; padding:0 !important; border-radius:12px !important; font-size:13px; box-shadow:none !important; }

.trust-strip { display:flex; gap:8px; overflow-x:auto; padding:17px 0 5px; scrollbar-width:none; }
.trust-strip::-webkit-scrollbar { display:none; }
.trust-chip { flex:0 0 auto; display:flex; align-items:center; gap:7px; padding:9px 11px; background:#fff; border:1px solid #dce7e5; border-radius:13px; color:#536d71; font-size:11px; font-weight:700; }
.trust-chip svg { width:17px; height:17px; color:#0b6b6f; fill:none; stroke:currentColor; stroke-width:1.8; }

.rule-banner { width:100% !important; height:134px !important; margin:18px 0 0 !important; }
.rule-banner .swiper-slide { border-radius:20px !important; background:linear-gradient(135deg,#ccebe3,#f5e3c8) !important; }
.swiper-pagination-bullet-active { background:#0b6b6f !important; }
.home-section-head { display:flex; align-items:end; justify-content:space-between; gap:12px; margin:18px 1px 12px; }
.home-section-head h2 { margin:0 0 3px; font-size:21px; letter-spacing:-.7px; }
.home-section-head p { margin:0; font-size:11px; color:#75888b; }
.home-section-head span { color:#0b6b6f; font-size:11px; font-weight:800; white-space:nowrap; }

.game-cate { margin:0 !important; padding:0 !important; background:transparent !important; box-shadow:none !important; }
.cate-grid { gap:10px !important; padding:2px 1px 8px !important; scroll-snap-type:x mandatory; }
.game-item { width:92px !important; min-height:92px; padding:11px 10px; align-items:flex-start !important; gap:8px !important; background:#fff; border:1px solid #dce7e5; border-radius:16px; scroll-snap-align:start; transition:.2s; }
.cate-icon { width:36px !important; height:36px !important; margin:0 !important; border-radius:11px !important; color:#0b6b6f; }
.cate-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.game-name { color:#476267 !important; font-size:12px !important; font-weight:750; text-align:left !important; }
.game-item.cate-active { background:#0b6b6f; border-color:#0b6b6f; box-shadow:0 10px 22px rgba(11,107,111,.2); }
.game-item.cate-active .cate-icon { color:#fff; background:rgba(255,255,255,.15) !important; box-shadow:none; }
.game-item.cate-active .game-name { color:#fff !important; }

.game-tab { display:none; }
.guide-list { display:grid !important; grid-template-columns:1fr !important; gap:10px !important; padding:0 0 8px !important; }
#guideListContainer { padding-bottom:calc(82px + env(safe-area-inset-bottom)) !important; }
/* ★ 卡片高度收紧：原来 min-height:184px，信息区自然内容只有 ~142px，
   多出来的 40px 全被 .guide-desc 的 margin:0 0 auto 吃掉，变成图片右侧一大块空白。
   现在把 min-height 降到接近内容自然高度，空白几乎消失。 */
.guide-card { display:grid !important; grid-template-columns:122px minmax(0,1fr); min-height:150px; border-radius:19px !important; color:inherit; }
.guide-media { position:relative; min-height:150px; overflow:hidden; }
.guide-media::after { content:""; position:absolute; inset:48% 0 0; background:linear-gradient(transparent,rgba(7,48,50,.62)); pointer-events:none; }
/* ★ 图片绝对定位铺满媒体区：不参与行高计算。
   之前 height:100% 在 grid 里解析不了会回退成按图片原始宽高比撑高，
   竖长图（如手机截图）能把 122px 宽的图片撑到 250px+，整行卡片被顶高，
   右侧信息区就出现一大块空白；绝对定位后行高只由信息区 + 150px 决定，所有卡片统一高。 */
.guide-img { position:absolute !important; top:0; left:0; width:100% !important; height:100% !important; min-height:0 !important; object-fit:cover; display:block; }
.guide-location-overlay { position:absolute; z-index:2; left:10px; right:8px; bottom:10px; color:#fff; font-size:10px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.guide-info { padding:12px 12px !important; min-width:0; display:flex; flex-direction:column; }
/* ★ 名称行：实名角标 + 服务时间月日（月日靠右对齐） */
.guide-name { margin:0 0 6px !important; gap:5px !important; font-size:17px !important; font-weight:850 !important; }
.guide-date { margin-left:auto; font-size:10px !important; color:#829396; font-weight:700; white-space:nowrap; letter-spacing:.2px; }
.guide-gender, .gender-hidden { font-size:9px !important; padding:3px 6px !important; border:0 !important; background:#edf5f3 !important; color:#60777a !important; }
.guide-gender-male { background:#e7f1f3 !important; color:#34717a !important; }
/* ★ 没有标签/评分时不再保留空行高度，避免服务分类行和简介之间出现空白 */
.guide-tags { flex-wrap:nowrap !important; overflow:hidden; margin:0 0 5px !important; min-height:0; }
.guide-tags:empty { display:none !important; margin:0 !important; }
.guide-tag-chip { flex:0 0 auto; font-size:9px !important; padding:4px 6px !important; }
.guide-tags .guide-tag-chip:nth-of-type(n+3) { display:none; }
.guide-rating { margin-left:auto; font-size:11px !important; }
.guide-desc { color:#6a7d82 !important; font-size:11px !important; line-height:1.55 !important; margin:0 0 4px !important; }
.price-row { margin-top:2px !important; margin-bottom:4px !important; }
.guide-price { color:#0b6b6f !important; font-size:17px !important; font-weight:850 !important; }
.guide-price-unit { font-size:9px; color:#829396; font-weight:500; }
.card-meta-row { margin:0 !important; padding-top:6px; border-top:1px solid #edf2f1; }
.guide-distance { font-size:10px !important; }
.guide-distance::before { color:#16a085; }
.card-stats { font-size:10px !important; }
.card-stats svg { width:13px !important; height:13px !important; }

.bottom-fixed-wrapper { height:auto !important; overflow:visible !important; }
.bottom-fixed-wrapper .bottom-nav { height:61px !important; padding:6px 10px calc(6px + env(safe-area-inset-bottom)) !important; }
.bottom-nav .nav-item { gap:3px !important; min-width:62px; min-height:48px; justify-content:center; border-radius:13px; font-size:10px !important; }
.bottom-nav .nav-item.active { background:#edf6f4; }
.nav-item .nav-svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.beian { display:none; }

@media (min-width:621px) {
    .home-shell { width:min(100% - 40px, 760px); }
    .home-hero { min-height:260px; }
    .home-hero-copy { padding:42px; width:68%; }
    .home-hero h1 { font-size:40px; }
    .home-hero p { font-size:14px; }
    .home-hero-badge { width:92px; height:92px; right:38px; bottom:32px; }
    .home-hero-badge svg { width:44px; height:44px; }
    .guide-list { grid-template-columns:1fr 1fr !important; }
}
