/**
 * 赏金地图样式 — 对齐邻而帮主站风格
 * 主色：#00a2e3（主站主色蓝）
 * 背景：#f5f6f7（主站 --body-bg-color）
 * 圆角：8px（主站 --main-radius）
 * v2.5.109: PC端"我的位置"和搜索框移入侧边栏顶部，工具栏仅保留统计
 * v2.5.108: 定位功能修复 — 电脑端GPS定位失败后自动fallback到IP定位
 * v2.5.107: 地图页面工具栏 — PC 端用媒体查询单独设置 top:18px，不影响手机端
 * v2.5.105: 修复 v2.5.104 错误 - 移除 body padding-top 清零，改用更精准的方式
 * v2.5.104: 修复 PC 端 body padding-top 导致顶部间距问题
 * v2.5.78: 移除 InfoWindow 上的虚线边框（.alm-info-social 和 .alm-info-footer）
 * v2.5.77: 移动端抽屉列表移除 max-height 限制，由 flex:1 自然填满
 */

/* ==========================================
   CSS 变量
   ========================================== */
.alm-laolai-map {
    --alm-primary:       #00a2e3;
    --alm-primary-dark:  #0088c2;
    --alm-primary-light: rgba(0, 162, 227, 0.1);
    --alm-primary-glow:  rgba(0, 162, 227, 0.25);
    --alm-success:       #22c55e;
    --alm-warning:       #f59e0b;
    --alm-text:          #333;
    --alm-text-sub:      #777;
    --alm-text-muted:    #aaa;
    --alm-bg:            #f5f6f7;
    --alm-card-bg:       #fff;
    --alm-border:        rgba(50, 50, 50, 0.08);
    --alm-shadow:        rgba(116, 116, 116, 0.1);
    --alm-radius:        8px;
    --alm-radius-lg:     12px;
    --alm-font:          -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

/* ==========================================
   整体容器
   ========================================== */
.alm-cluster-map-wrap {
    width: 100%;
    font-family: var(--alm-font);
    color: var(--alm-text);
}

/* 消除 WordPress/子比主题内容区给地图容器带来的多余间距
   让地图紧贴网站导航栏，不留空白 */
.entry-content .alm-cluster-map-wrap,
.post-content .alm-cluster-map-wrap,
article .alm-cluster-map-wrap,
.page-content .alm-cluster-map-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}


.alm-laolai-map {
    background: var(--alm-bg);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

/* ==========================================
   顶部 Header — v2.5.62 已删除，改为悬浮工具栏
   ========================================== */

/* ==========================================
   悬浮工具栏（浮于地图内部顶部，PC/手机共用）
   v2.5.64: 改为 column 布局，内部有 .alm-toolbar-top 和 .alm-toolbar-stats-row
   z-index:995 确保高于天地图 canvas(990) 和 overlay(991)
   ========================================== */
.alm-map-toolbar-float {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 995;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none; /* 容器本身不拦截点击 */
    /* v2.5.110: 显式宽度占满（left:10px 剩余全宽），
       否则绝对定位列容器宽度由内容收缩决定，flex:1 的搜索框无法撑开 */
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
}

.alm-map-toolbar-float > * {
    pointer-events: auto; /* 子元素可交互 */
}

/* 工具栏第一行：定位按钮 + 搜索框 + 状态 */
.alm-toolbar-top {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

/* 工具栏第二行：统计（紧跟"我的位置"按钮下方，左对齐） */
.alm-toolbar-stats-row {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

/* 紧凑型统计 pill（嵌在工具栏内） */
.alm-post-count-compact {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: #777;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.alm-post-count-compact strong {
    color: #00a2e3;
    font-size: 14px;
    font-weight: 700;
    margin: 0 2px;
}

/* 搜索框区域（悬浮版） */
.alm-map-filter-float {
    flex: 1;
    min-width: 0;
    position: relative;
}

.alm-map-filter-float::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
}

#alm-search-input {
    width: 100%;
    padding: 9px 14px 9px 30px;
    border: 1.5px solid var(--alm-border);
    border-radius: var(--alm-radius);
    font-size: 13px;
    font-family: var(--alm-font);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--alm-text);
    transition: all 0.2s;
    box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

#alm-search-input:focus {
    border-color: var(--alm-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--alm-primary-glow);
}

#alm-search-input::placeholder {
    color: var(--alm-text-muted);
}

/* 统计数 */
.alm-post-count {
    font-size: 12px;
    color: var(--alm-text-sub);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alm-post-count strong {
    color: var(--alm-primary);
    font-size: 15px;
    font-weight: 700;
    margin: 0 2px;
}

/* 定位状态 */
.alm-location-status {
    font-size: 11px;
    color: var(--alm-text-sub);
    white-space: nowrap;
    background: rgba(255,255,255,0.9);
    padding: 4px 8px;
    border-radius: 10px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   v2.5.65: 天地图缩放按钮定位到右上角
   天地图 API 生成的控件通常使用 .tdt-control-* 或类似的 class
   ========================================== */
#alm-cluster-map .tdt_ctrl_zoom,
#alm-cluster-map .tdt-control,
#alm-cluster-map [class*="tdt-control"],
#alm-cluster-map [class*="tdt_ctrl"],
#alm-cluster-map .control_zoom,
#alm-cluster-map .tianditu-control,
[id*="tianditu"] [class*="zoom"],
[class*="tianditu"] .zoom,
.tdt-control-zoom,
.tdt_ctrl_zoom {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

#alm-cluster-map .tdt_ctrl_zoom *,
#alm-cluster-map [class*="tdt-control"] *,
#alm-cluster-map .control_zoom *,
.tdt-control-zoom *,
.tdt_ctrl_zoom * {
    border-radius: 0 !important;
    margin: 0 !important;
}

/* 手机端缩放按钮同样在右上角，下移避开 header */
@media (max-width: 768px) {
    #alm-cluster-map .tdt_ctrl_zoom,
    #alm-cluster-map [class*="tdt-control"],
    #alm-cluster-map .control_zoom,
    .tdt-control-zoom,
    .tdt_ctrl_zoom {
        top: 60px !important;
    }
}

/* ==========================================
   按钮
   ========================================== */
.alm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: none;
    border-radius: var(--alm-radius);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--alm-font);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.alm-btn-primary {
    background: var(--alm-primary);
    color: #fff;
    box-shadow: 0 2px 8px var(--alm-primary-glow);
}

.alm-btn-primary:hover {
    background: var(--alm-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--alm-primary-glow);
}

.alm-btn-primary:active {
    transform: translateY(0);
}

.alm-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.alm-btn-nav {
    background: #10b981;
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.alm-btn-nav:hover {
    background: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ---------- 定位浮钮（v1.3.734） ----------
   2026-11-05 定稿：两端统一放**地图右下角**，撤掉左上工具栏与 PC 侧栏里的两颗旧按钮。
   尺寸/配色照 LB-729 效果图 ① 的 `.mp-loc`：44px 圆形、白底 96%、蓝色准心 21px、双层阴影。
   bottom 必须让出底部法规行（PC `position:absolute;bottom:0`、手机 `position:fixed;bottom:0`，
   实测高约 30px）：PC 取 16+30=46；手机另有抽屉最小态 52px + 底部导航 50px，见 768 媒体查询。 */
.alm-loc-float {
    position: absolute;
    right: 16px;
    bottom: 46px;
    /* v1.3.740：995 → 1000。抽屉（.alm-nearby-sidebar）z-index:999、展开高 462px 会把右下角
       这颗钮整个盖住 —— 2026-11-05 真点击实测「点下去命中的是列表里的 .row-act 查看链接」；
       且已定稿「定位成功也展开抽屉」，展开是常态 ⇒ 钮必须浮在抽屉之上（同高德：控制钮浮于面板）。 */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;    /* 容器不拦地图拖拽/缩放，按钮自己恢复 */
}

/* v1.3.743：手机端浮钮被 JS 搬到 body 直属（alm-main.js initLocFloat）。
   根因：本钮原先嵌在 .alm-map-container（position:fixed; z-index:1）内部，
   属于一个 z-index:1 的层叠上下文 —— 内部写多高的 z-index 都打不过
   根层 z-index:1030 的子比主题悬浮钮组（.float-right，zibll main.css:8291），
   真机上被透明元素盖住、点击永远轮不到它（probe-v1743 S1 已复现）。
   detached 后与根层同场竞争：1031 > 1030。
   bottom 不在此写死 —— 由 JS 实测「视口高 − 抽屉顶边 + 12」动态写 inline，
   抽屉收起/展开/转屏都重算 ⇒ 展开时钮贴在地图可视区右下角、不再落进列表。 */
.alm-loc-float--detached {
    position: fixed;
    z-index: 1031;
}

/* v1.3.743：按下定位后的脉冲反馈（is-locating 由 locateUser 挂、终态回调摘） */
@keyframes alm-loc-pulse {
    0%   { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(10, 95, 204, 0.45); }
    70%  { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(10, 95, 204, 0); }
    100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(10, 95, 204, 0); }
}
.alm-btn-locate.is-locating {
    animation: alm-loc-pulse 1.2s ease-out infinite;
}

.alm-loc-float > * {
    pointer-events: auto;
}

/* 纯图标定位按钮：圆形白底 + 蓝色准心（图标描边写在模板 SVG 上，不靠 currentColor） */
.alm-btn-locate {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.alm-btn-locate svg {
    flex-shrink: 0;
}

.alm-btn-locate:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(10, 95, 204, 0.18);
}

.alm-btn-locate:active {
    transform: scale(0.94);
}

/* 定位状态文字：空态不占位（空 span 在工具栏里会留一个 8px 白块） */
.alm-loc-float .alm-location-status:empty {
    display: none;
}

/* ==========================================
   地图区域 — PC 端 flex 并排布局
   v2.5.61: sidebar 不再叠加在地图上（absolute），
   改为与地图并排（flex），彻底消除 z-index 竞争。
   天地图 T.Map 的内部 DOM 再高的 z-index 也不会影响 sidebar。
   ========================================== */
.alm-map-container {
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    /* 「指定高度」档：height 由 PHP 内联样式设置 */
}

/* v1.3.598 ③-2「自适应」档：后台选自适应时 PHP 不写内联像素，本条才接管
   （写了内联就压过这里，自适应成空话）。扣的是容器在文档里的顶偏移：电脑端放出
   主题顶栏（v1.3.592）后这个量不再是常量，由 alm-main.js 经共用出口实测写进 --alm-top。
   兜底 60px 是本页已知几何（body padding-top 88 − 容器负 margin 28）。
   手机端由下方 768 段的 `height:100% !important` 全屏接管，本条不参与。 */
.alm-map-container--auto {
    height: calc(100vh - var(--alm-top, 60px));
}

/* 老浏览器不认 dvh ⇒ 整条 calc 失效会把地图压成 0 高，所以按手机全屏段同一写法补阶梯 */
@supports (height: 100dvh) {
    .alm-map-container--auto {
        height: calc(100dvh - var(--alm-top, 60px));
    }
}

/* 地图本体：flex 填满剩余宽度 */
.alm-map-wrapper {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

#alm-cluster-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* v2.5.68: 背景色消除透明缝隙 */
    background: #e8e8e8;
    overflow: hidden;
}

/* ==========================================
   地图统计信息（绝对定位，在 .alm-map-wrapper 内部）
   v2.5.64: 已隐藏——统计已移至工具栏内（.alm-toolbar-stats-row）
   此元素保留但默认隐藏，防止旧引用仍存在
   ========================================== */
.alm-map-stats {
    /* v2.5.64: 隐藏（已迁移到工具栏内） */
    display: none;
}

.alm-map-stats .alm-post-count {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   侧边栏 PC 端专属控制栏
   v2.5.109: 仅在 PC 端（≥769px）显示，手机端隐藏
   ========================================== */
.alm-sidebar-pc-controls {
    display: none; /* 默认隐藏，PC 端媒体查询中显示 */
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--alm-card-bg);
    border-bottom: 1px solid var(--alm-border);
    flex-shrink: 0;
}

.alm-map-filter-sidebar {
    flex: 1;
    min-width: 0;
    position: relative;
}

.alm-map-filter-sidebar::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
}

#alm-search-input-pc {
    width: 100%;
    padding: 8px 12px 8px 30px;
    border: 1.5px solid var(--alm-border);
    border-radius: var(--alm-radius);
    font-size: 13px;
    font-family: var(--alm-font);
    background: var(--alm-bg);
    color: var(--alm-text);
    transition: all 0.2s;
    box-sizing: border-box;
    outline: none;
}

#alm-search-input-pc:focus {
    border-color: var(--alm-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--alm-primary-glow);
}

#alm-search-input-pc::placeholder {
    color: var(--alm-text-muted);
}

/* ==========================================
   侧边栏 — PC 端：flex 列，与地图并排
   v2.5.61: 不再使用 position:absolute 叠在地图上，
   完全独立的 flex 列，天地图 DOM 无法影响它。
   ========================================== */
.alm-nearby-sidebar {
    flex: 0 0 340px;
    width: 340px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--alm-card-bg);
    border-left: 1px solid var(--alm-border);
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* sidebar 内所有子元素均可点击 */
.alm-nearby-sidebar > * {
    pointer-events: auto;
}

.alm-sidebar-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--alm-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--alm-card-bg);
    flex-shrink: 0;
}

.alm-sidebar-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--alm-text);
}

.alm-sidebar-header .alm-icon {
    font-size: 16px;
}

.alm-sort-select {
    font-size: 12px;
    color: var(--alm-primary);
    background: var(--alm-primary-light);
    border: 1px solid var(--alm-primary);
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    max-width: 130px;
    font-family: inherit;
}

.alm-sort-select:focus {
    border-color: var(--alm-primary);
    box-shadow: 0 0 0 2px var(--alm-primary-glow);
}

.alm-nearby-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
    display: flex;
    flex-direction: column;
}

.alm-nearby-list::-webkit-scrollbar {
    width: 4px;
}

.alm-nearby-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.alm-nearby-empty {
    text-align: center;
    padding: 36px 20px;
    color: var(--alm-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.alm-nearby-empty::before {
    content: '📭';
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
}

/* 定位权限引导卡片 */
.alm-nearby-empty.alm-location-guide {
    padding: 24px 16px;
    background: #fff8f0;
    border: 1px solid #fde68a;
    border-radius: 8px;
    margin: 12px;
    text-align: left;
}

.alm-nearby-empty.alm-location-guide::before {
    content: none; /* 取消默认的 📭 */
}

.alm-location-guide-icon {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.alm-location-guide-title {
    font-size: 14px;
    font-weight: 600;
    color: #b45309;
    text-align: center;
    margin-bottom: 10px;
}

.alm-location-guide-text {
    font-size: 12px;
    color: #78716c;
    line-height: 1.8;
}

/* 定位中加载动画 */
.alm-nearby-empty.alm-locating-indicator {
    padding: 32px 20px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin: 12px;
    text-align: center;
}

.alm-nearby-empty.alm-locating-indicator::before {
    content: none;
}

.alm-locating-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0f2fe;
    border-top-color: #00a2e3;
    border-radius: 50%;
    animation: alm-spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

@keyframes alm-spin {
    to { transform: rotate(360deg); }
}

.alm-locating-text {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 6px;
}

.alm-locating-hint {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================
   被执行人卡片
   ========================================== */
.alm-nearby-item {
    position: relative;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--alm-card-bg);
    border-radius: var(--alm-radius);
    border: 1.5px solid var(--alm-border);
    cursor: pointer;
    transition: all 0.2s;
}

.alm-nearby-item:last-child {
    margin-bottom: 0;
}

.alm-nearby-item:hover {
    border-color: var(--alm-primary);
    box-shadow: 0 2px 12px var(--alm-primary-glow);
    transform: translateY(-1px);
}

.alm-nearby-item.active {
    border-color: var(--alm-primary);
    background: var(--alm-primary-light);
}

.alm-nearby-item.nearest {
    border-color: var(--alm-primary);
    border-width: 1.5px;
}

.alm-nearby-item.nearest::after {
    content: "最近";
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--alm-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 0 7px 0 7px;
    letter-spacing: 0.5px;
}

/* ==========================================
   被执行人卡片 — 真正的左右两栏布局
   ========================================== */
.alm-nearby-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 标题行：从左到右横跨整行 */
.alm-nearby-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    margin-bottom: 8px;
}

/* 左右两栏容器 */
.alm-nearby-body {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* 左边：单张缩略图 */
.alm-nearby-left {
    flex-shrink: 0;
    width: 118px;
    height: 110px;
    display: flex;
    align-items: flex-start;
    background: var(--alm-bg);
    border-radius: var(--alm-radius);
    overflow: hidden;
}

.alm-nearby-left img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--alm-border);
}

.alm-nearby-left:empty {
    display: none;
}

/* 右边：摘要+地址+赏金 */
.alm-nearby-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* 底部行：从左到右横跨整行 */
.alm-nearby-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--alm-border);
}

/* 第一行：标题 */
.alm-nearby-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
}

.alm-nearby-name-row a {
    font-weight: 600;
    font-size: 14px;
    color: var(--alm-text);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.alm-nearby-name-row a:hover {
    color: var(--alm-primary);
}

.alm-nearby-distance {
    font-size: 11px;
    color: var(--alm-primary);
    font-weight: 600;
    white-space: nowrap;
    background: var(--alm-primary-light);
    padding: 2px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* v2.6.4: 距离 + 剩余天数作为整体靠右，避免 space-between 撑开留白 */
.alm-nearby-name-row .alm-nearby-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

/* 中间：摘要+地址+赏金 */
.alm-nearby-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.alm-nearby-excerpt {
    font-size: 11px;
    color: var(--alm-text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alm-nearby-address {
    font-size: 11px;
    color: var(--alm-text-sub);
    margin-bottom: 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alm-nearby-reward {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
    border: 1px solid #fcd34d;
}

.alm-nearby-judge-phone {
    font-size: 10px;
    color: var(--alm-text-sub);
    margin-bottom: 4px;
    line-height: 1.4;
}

.alm-nearby-judge-phone a {
    color: var(--alm-primary);
    text-decoration: none;
    font-weight: 600;
}

.alm-nearby-judge-phone a:hover {
    text-decoration: underline;
}

/* ==========================================
   图片预览弹窗
   ========================================== */
.alm-image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.alm-image-preview-modal.active {
    display: flex;
}

.alm-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alm-preview-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.alm-preview-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.alm-preview-nav {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.alm-preview-nav button {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.alm-preview-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.alm-preview-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

/* 地图弹窗图片画廊 */
.alm-info-images {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.alm-info-images::-webkit-scrollbar {
    height: 3px;
}

.alm-info-images::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.alm-info-images img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--alm-border);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.alm-info-images img:hover {
    border-color: var(--alm-primary);
    transform: scale(1.05);
}

.alm-nearby-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
}

.alm-nearby-date {
    font-size: 10px;
    color: var(--alm-text-muted);
    flex-shrink: 0;
}

.alm-nearby-actions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.alm-nearby-actions a {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
    line-height: 1.4;
}

.alm-nearby-actions .alm-view {
    background: var(--alm-primary);
    color: #fff;
}

.alm-nearby-actions .alm-view:hover {
    background: var(--alm-primary-dark);
}

.alm-nearby-actions .alm-nav {
    background: var(--alm-bg);
    color: var(--alm-text-sub);
    border: 1px solid var(--alm-border);
}

.alm-nearby-actions .alm-nav:hover {
    background: #ecfdf5;
    color: #059669;
    border-color: #6ee7b7;
}

/* ==========================================
   地图信息弹窗 — 与侧边栏卡片布局一致
   ========================================== */
.alm-info-window {
    padding: 16px 18px 14px;
    max-width: 480px;
    min-width: 400px;
    font-family: var(--alm-font);
}

/* v1.3.741：isCustom 气泡的外壳**不承担任何视觉**。
   alm-tianditu.js 已在建 DOM 时内联清零，这里是兜底（主题若用 !important 覆盖内联，
   仍由本块拉回透明无边框）。卡片自身的白底 / 14px 圆角 / 阴影是唯一视觉层 ——
   否则卡片外会多出一圈白边 + 第二层阴影（用户报「气泡下面还有一层遮罩」），
   手机端还会被外壳 max-width:320 把 353 宽的卡片右缘裁掉。 */
.alm-info-window.alm-info-window--custom {
    padding: 0;
    min-width: 0;
    max-width: none;
    width: max-content;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* 标题行 */
.alm-info-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--alm-text);
    line-height: 1.4;
    margin-bottom: 10px;
}

.alm-info-title a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.alm-info-title a:hover {
    color: var(--alm-primary);
    border-bottom-color: var(--alm-primary);
}

/* 左右两栏容器 */
.alm-info-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

/* 左边：单张缩略图 */
.alm-info-left {
    flex-shrink: 0;
    width: 118px;
    height: 110px;
    display: flex;
    background: var(--alm-bg);
    border-radius: var(--alm-radius);
    overflow: hidden;
}

.alm-info-thumb img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--alm-border);
}

.alm-info-left:empty {
    display: none;
}

/* 右边：摘要+地址+赏金 */
.alm-info-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alm-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.alm-info-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--alm-bg);
    color: var(--alm-text-sub);
    border: 1px solid var(--alm-border);
}

.alm-info-address {
    font-size: 12px;
    color: var(--alm-text-sub);
    line-height: 1.5;
    padding: 6px 8px;
    background: var(--alm-bg);
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.alm-info-excerpt {
    font-size: 11px;
    color: var(--alm-text-muted);
    line-height: 1.5;
    margin-bottom: 4px;
}

.alm-info-judge-phone {
    font-size: 11px;
    color: var(--alm-text-sub);
    margin-bottom: 4px;
    line-height: 1.4;
}

.alm-info-judge-phone a {
    color: var(--alm-primary);
    text-decoration: none;
    font-weight: 600;
}

.alm-info-judge-phone a:hover {
    text-decoration: underline;
}

.alm-info-reward {
    background: linear-gradient(135deg, #fef9ec 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
}

.alm-info-reward-label {
    font-size: 12px;
    color: #92400e;
}

.alm-info-reward-value {
    font-size: 15px;
    font-weight: 700;
    color: #b45309;
}

/* 互动按钮行 - v2.5.192: 已移除 */

/* 底部行：操作按钮（查看/导航） */
.alm-info-footer {
    display: flex;
    justify-content: center;  /* v2.5.192: 居中（去掉社交按钮后独占一行） */
    align-items: center;
    gap: 8px;
    padding-top: 4px;
    /* v2.5.78: 移除虚线边框 */
}

.alm-info-date {
    font-size: 11px;
    color: var(--alm-text-muted);
    flex-shrink: 0;
}

.alm-info-actions {
    display: flex;
    gap: 8px;  /* v2.5.192: 加大间距 */
    width: 100%;  /* v2.5.192: 占满整行 */
}

.alm-info-actions a {
    flex: 1;
    text-align: center;
    padding: 7px 10px;  /* v2.5.192: 微调 padding */
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
    font-family: var(--alm-font);
}

.alm-info-view {
    background: var(--alm-primary);
    color: #fff;
}

.alm-info-view:hover {
    background: var(--alm-primary-dark);
}

.alm-info-nav {
    background: var(--alm-bg);
    color: #059669;
    border: 1.5px solid #6ee7b7;
}

.alm-info-nav:hover {
    background: #ecfdf5;
}

/* ==========================================
   信息弹窗 — 次要互动按钮
   v2.5.192: 已移除收藏/分享/回复按钮，删除相关样式
   ========================================== */

/* ==========================================
   内联地图
   ========================================== */
.alm-inline-map-wrap {
    margin: 24px 0;
    background: var(--alm-card-bg);
    border-radius: var(--alm-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--alm-shadow);
    border: 1px solid var(--alm-border);
    position: relative;
    z-index: 1;
}

.alm-inline-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--alm-border);
}

.alm-inline-map-header .alm-icon {
    font-size: 18px;
}

.alm-inline-map-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--alm-text);
}

.alm-inline-map {
    width: 100%;
    min-height: 300px;
    position: relative;
}

/* 确保高德地图容器正确显示 */
.alm-inline-map .amap-container,
.alm-inline-map .amap-layer,
.alm-inline-map iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.alm-inline-locations {
    padding: 14px 18px;
    background: var(--alm-bg);
}

.alm-location-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--alm-card-bg);
    border-radius: var(--alm-radius);
    border: 1px solid var(--alm-border);
}

.alm-location-item:last-child {
    margin-bottom: 0;
}

.alm-location-marker {
    width: 26px;
    height: 26px;
    background: var(--alm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.alm-location-content {
    flex: 1;
    min-width: 0;
}

.alm-location-address {
    font-size: 14px;
    color: var(--alm-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.alm-location-coords {
    font-size: 11px;
    color: var(--alm-text-muted);
}

/* ==========================================
   高德地图覆盖
   ========================================== */
.amap-marker-label {
    border: none !important;
    background: none !important;
}

.amap-info-content {
    padding: 0 !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid var(--alm-border, rgba(50,50,50,0.08)) !important;
}

.amap-info-close {
    right: 8px !important;
    top: 8px !important;
    color: #999 !important;
    font-size: 16px !important;
}

.amap-info-outer {
    border-radius: 10px !important;
}

/* ==========================================
   地图页面 PC 端：消除内容区顶部空白
   子比主题 .entry-content / .zib-post-content 等有内边距，
   当页面是地图页时用 .alm-is-map-page 限定清零，不影响其他页面
   ========================================== */

/* v2.5.106: 同时清零 entry-content 的顶部内边距 */
.alm-is-map-page .entry-content,
.alm-is-map-page .zib-post-content {
    margin-top: -8px !important;
}

.alm-is-map-page .entry-content,
.alm-is-map-page .zib-post-content,
.alm-is-map-page .post-content,
.alm-is-map-page .page-content,
.alm-is-map-page article.post > .entry-content,
.alm-is-map-page .container > .content,
.alm-is-map-page .site-content,
.alm-is-map-page .main-content,
.alm-is-map-page #content,
.alm-is-map-page .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* v2.5.104: 移除 body padding-top 清零，改用更精准的方式消除顶部间距 */

.alm-is-map-page .entry-content > *:first-child,
.alm-is-map-page .zib-post-content > *:first-child,
.alm-is-map-page .post-content > *:first-child,
.alm-is-map-page .page-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.alm-is-map-page .entry-content > p:empty,
.alm-is-map-page .entry-content > br,
.alm-is-map-page .zib-post-content > p:empty,
.alm-is-map-page .zib-post-content > br {
    display: none;
}

/* v2.5.103: 地图容器本身顶部清零 */
.alm-is-map-page .alm-cluster-map-wrap,
.alm-is-map-page .alm-laolai-map,
.alm-is-map-page .alm-map-container {
    padding-top: 0 !important;
}

/* v2.5.106: 地图容器负 margin 上移，填满 header 下方的白色间距
   必须放在最后，确保优先级最高，覆盖其他 margin-top 规则
   header 有 margin-bottom:20px + padding，总共约 28px */
.alm-is-map-page .alm-cluster-map-wrap,
.alm-is-map-page .alm-laolai-map {
    margin-top: -28px !important;
}

/* v2.5.107: 地图页面工具栏 — PC 端下移避开顶部导航栏
 * 计算方式：body padding-top:88px - 负margin:28px = 地图容器顶在视口60px处
 * toolbar top:18px → 视口位置 60+18=78px，刚好在导航栏下方
 * 手机端在 768px 媒体查询里已单独设 top:60px，不受此规则影响 */
@media (min-width: 769px) {
    .alm-is-map-page .alm-map-toolbar-float {
        top: 18px !important;
    }

    /* v2.5.109: PC 端隐藏工具栏中的"我的位置"按钮和搜索框，只留统计 pill */
    .alm-is-map-page .alm-toolbar-top {
        display: none;
    }

    /* v2.5.109: PC 端显示侧边栏顶部控制栏 */
    .alm-is-map-page .alm-sidebar-pc-controls {
        display: flex;
    }
}

/* ==========================================
   v1.3.562 #100 地图页去掉主题顶底
   v1.3.565（#118/#119/#120）改判：电脑端顶部导航**常显**，下滚自动收起交回主题（主题标准行为，插件不干预）；
   手机端隐藏主题页脚与法规行。全部用 .alm-is-map-page 限定，不影响其他页面
   v1.3.572 改判：移动端底部站点导航 .footer-tabbar **不属于本页 chrome，继续保留**
   （原方案为「全屏看地图」把它连同页脚一起隐藏，判据错了 —— 底栏是全站导航入口）
   ========================================== */

/* 法规行默认不出现：短代码也用于帖子内嵌地图，只有地图页才展示 */
.alm-map-legal {
    display: none;
}

@media (min-width: 769px) {
    /* v1.3.565（#120）：顶栏恢复常显 ⇒ v2.5.106/107 的几何重新成立
     * （body padding-top:88px、地图 -28px 上提、工具栏 top:18px 落在导航下沿 78px 处），
     * 原先为「header 已移出视口」加的三条补偿（body 清零 / margin-top:0 / top:12px）
     * 和整段 header 收起规则一起删除，留着会把地图顶部顶出视口。
     * 主题自己的 .scroll-down.nav-fixed .header.scroll-down-hide 不需要插件干预。 */
    .alm-is-map-page footer.footer {
        display: none;
    }

    .alm-is-map-page .alm-map-legal {
        display: block;
        position: absolute;
        /* 必须压过天地图画布：线上实测 #alm-cluster-map canvas 是 z-index:990，
         * 而 #alm-cluster-map 自身 position:relative + z-index:auto + 无 transform
         * ⇒ 不建层叠上下文 ⇒ 画布的 990 与本行、工具栏的 995 在同一个层叠上下文里比大小。
         * 旧值 600 被画布盖住：地图未加载时这一行看得见、加载完就消失（工具栏 995 一直可见
         * 就是同一处的对照组）。天地图的 canvas 还带 pointer-events:none，
         * 所以 elementFromPoint 探不出来，只能按 z-index 推。 */
        z-index: 996;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 4px 14px;
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
        color: rgba(255, 255, 255, 0.92);
        background: rgba(0, 0, 0, 0.42);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        /* v1.3.562（#100）曾定「宁可换行也不截断」；v1.3.598 ③ 改判：这行**恒单行**——
         * 换行会把法规行抬成两行，压掉一条地图可视高度。
         * 合规信息仍不丢：不用 text-overflow 截断，窄视口靠降字号容纳（见下方 769–900px 档）。 */
        white-space: nowrap;
    }

    .alm-is-map-page .alm-map-legal a {
        color: inherit;
        text-decoration: none;
        opacity: 0.9;
    }

    .alm-is-map-page .alm-map-legal a:hover {
        opacity: 1;
        text-decoration: underline;
    }

    /* v1.3.603：法规行**被子比主题 blockify** —— 本行落在 `.wp-posts-content` 里，
     * 主题 main.min.css 的 `.wp-posts-content img{display:block}` 会命中公网安备图标，
     * 把它变成独占一行的块级元素（实测 margin:0 771px，行高 55px = 3 个行盒），
     * 于是 white-space:nowrap 也压不住换行（nowrap 只管文本，管不了块级子元素）。
     * 主题页脚同一条法规模板却是一行，正因为页脚在 `.wp-posts-content` 之外、img 仍是 inline。
     * 显式改回行内即可：不依赖主题改版，也不动 DOM。 */
    .alm-is-map-page .alm-map-legal img {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
    }

    /* 天地图自己的版权标识让到法规行之上：提供商标识按协议必须留，不能被压住
     * v1.3.563：同一条画布层级 —— 它原本 z-index:800 也被 canvas(990) 盖住，
     * 只挪 bottom:30px 是不够的，必须一起抬到画布之上才真的可见。 */
    .alm-is-map-page .tdt-control-copyright {
        bottom: 30px !important;
        z-index: 996 !important;
    }
}

/* v1.3.603：769–1119px 这一段，法规行按地图区宽度放不下 ——
   地图区 = 视口 − 340px（右侧「附近被执行人」栏），900px 视口里只剩 560px，
   而行内内容实测 673px（10px 字号）⇒ 单行口径下必然横向溢出。
   处置：这一档把行铺到**视口整宽**（fixed，贴视口底），两侧栏不再吃它的宽度；
   ≥1120px 地图区已够宽，维持原来的地图区宽度，避免压住右侧卡片。 */
@media (min-width: 769px) and (max-width: 1119px) {
    .alm-is-map-page .alm-map-legal {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* v1.3.598 ③：769–900px 是最挤的一段 —— 法规行内容与地图可视宽度在这段里打架。
   处置：**降一档字号**（12→10px），padding 一起收窄；不换行、不截断（恒单行是硬口径）。
   本块刻意排在上面的 ≥769px 块**之后**：选择器同权重，靠源序胜出，不再往上嵌套媒体查询。 */
@media (min-width: 769px) and (max-width: 900px) {
    .alm-is-map-page .alm-map-legal {
        font-size: 10px;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    /* 手机端 header 隐藏 ⇒ 主题 nav-fixed 给 body 的 88px 占位必须清掉，否则地图上方一条白边
     * （v1.3.565：这条从全局挪进来 —— 电脑端顶栏恢复常显后，88px 占位是几何的一部分，不能删） */
    .alm-is-map-page {
        padding-top: 0 !important;
    }

    .alm-is-map-page .header.header,
    .alm-is-map-page footer.footer,
    /* v1.3.572 改判：手机端要隐藏的只有主题页脚 / 版权行 / 法规行；
     * 底部站点导航（.footer-tabbar，固定、z-index:1035）必须保留 —— 它是全站导航入口，不是本页装饰。
     * v1.3.565 把它一起隐藏过，那次判据错。 */
    .alm-is-map-page .alm-map-legal {
        display: none !important;
    }

    /* v1.3.563 ③：手机端 header 已隐藏，工具栏不必再避让 top:60px。
     * v1.3.572 改判：实证过两端壳都没有给 WebView 让位（Android setDecorFitsSystemWindows(false) 且无 inset padding，
     * iOS WKWebView(frame: view.bounds) 且无 safe-area 处理），主题 viewport 带 viewport-fit=cover
     * ⇒ App 里 env(顶) = 真实状态栏高度，浏览器里 = 0 —— App 上那一大段顶边间距就是 env(顶) 本身。
     * 目标观感是贴顶 ⇒ 这里不再走安全区，改一个小视觉常量。
     * ⚠ 代价：App 里工具栏可能与系统状态栏图标同带，真机复验后要么维持、要么回退成安全区 + 常量。 */
    .alm-is-map-page .alm-map-toolbar-float {
        top: 8px;
    }

    /* 底部抽屉贴着模块底栏：底栏自身带 iOS 安全区内边距，抽屉要一起让开 */
    .alm-is-map-page .alm-nearby-sidebar {
        bottom: calc(50px + env(safe-area-inset-bottom, 0px));
    }

    .alm-is-map-page .alm-cluster-map-wrap,
    .alm-is-map-page .alm-laolai-map {
        margin-top: 0 !important;
    }
}

/* ==========================================
   响应式
   ========================================== */
@media (max-width: 900px) {
    .alm-nearby-sidebar {
        width: 260px;
    }
}

/* ==========================================
   移动端优化 — 全屏地图 + 底部卡片
   ========================================== */
@media (max-width: 768px) {
    /* v2.5.100: 不再隐藏主题悬浮组件和页脚，
     * 插件不应干预子比主题自身的 UI 元素 */

    /* 地图页手机端的顶/底隐藏已并入上面 v1.3.562 #100 的集中段，避免同一件事两处各写一遍 */

    /* 重置容器尺寸 */
    .alm-laolai-map {
        border-radius: 0;
        margin: 0;
        box-shadow: none;
        position: relative;
    }

    .alm-cluster-map-wrap {
        max-width: 100%;
        padding: 0;
    }

    /* 地图全屏：mobile 下 map-container 改为 block，map-wrapper 全屏 */
    .alm-map-container {
        display: block;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: 100% !important;
        z-index: 1;
        /* 必须 overflow:visible，否则绝对定位的 sidebar 溢出部分被裁掉 */
        overflow: visible !important;
    }

    /* map-wrapper 撑满整个 map-container */
    .alm-map-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #alm-cluster-map {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* iOS Safari dvh 支持 */
    @supports (height: 100dvh) {
        #alm-cluster-map {
            height: 100dvh;
        }
    }

    /* ==========================================
       v2.5.64: 手机端工具栏下移，避开网站顶部 header
       ========================================== */
    .alm-map-toolbar-float {
        top: 60px;  /* 避开网站顶部 header（约50-60px） */
        left: 10px;
        right: auto;
    }

    /* v1.3.734：手机端定位浮钮让出底部三层堆叠 —— 底部导航 50px + 抽屉最小态 52px
       （`.sheet--min` 见本文件 2922 行）+ 与抽屉留 16px ⇒ 50+52+16 = 118。
       v1.3.743：JS 已把浮钮搬到 body 直属（.alm-loc-float--detached）并动态写
       inline bottom ⇒ 这条死值只对「未搬家」的兜底场景生效。 */
    .alm-is-map-page .alm-loc-float:not(.alm-loc-float--detached) {
        bottom: 118px;
    }

    /* 紧凑型统计（工具栏内嵌）手机端样式 */
    .alm-post-count-compact {
        font-size: 10px;
        padding: 3px 8px;
    }

    .alm-post-count-compact strong {
        font-size: 13px;
    }



    /* 侧边栏：移动端底部抽屉
     * v2.5.67: position:fixed 确保固定在视口底部，拖拽时不受影响
     * bottom:50px 贴近底部固定导航栏（导航栏约50px）
     * 顶部圆角 16px，灰色把手条
     */
    .alm-nearby-sidebar {
        position: fixed !important;  /* v2.5.67: fixed 确保固定在视口 */
        bottom: 50px;  /* v2.5.67: 贴近底部固定导航栏 */
        left: 0;
        right: 0;
        width: 100%;
        /* v2.5.66: 恢复顶部圆角 */
        border-radius: 16px 16px 0 0;
        border-left: none;
        border-top: 1px solid var(--alm-border);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
        display: flex;
        flex-direction: column;
        /* iOS 安全区域适配 */
        padding-bottom: env(safe-area-inset-bottom, 0px);
        /* v2.5.69: 调整为 65vh，更接近搜索框下方 */
        max-height: 65vh;
        overflow: hidden;
        /* 重置 PC 端的 flex 子项属性 */
        flex: none;
        height: auto;
        /* 背景色确保不透明 */
        background: var(--alm-card-bg);
    }

    /* 收起状态：40px 高度，拖动条醒目 */
    .alm-nearby-sidebar.collapsed {
        height: 40px;
        overflow: visible;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        /* v2.5.66: 恢复顶部圆角 */
        border-radius: 12px 12px 0 0;
    }

    /* 展开状态：固定高度，列表内滚动 */
    .alm-nearby-sidebar.expanded {
        height: calc(65vh - env(safe-area-inset-bottom, 0px));
        overflow: hidden;
    }

    /* ==========================================
       v2.5.66: 恢复 v2.0.60 经典拖动条样式（灰色把手条）
       ========================================== */
    .alm-sidebar-drag-handle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8px 0 0;
        cursor: pointer;
        flex-shrink: 0;
        height: 24px;
        background: transparent;
    }

    /* 灰色圆角把手条 */
    .alm-sidebar-drag-handle::before {
        content: '';
        width: 36px;
        height: 4px;
        background: #bbb;
        border-radius: 2px;
    }

    /* 收起状态下的拖动条：增加高度和点击面积 */
    .alm-nearby-sidebar.collapsed .alm-sidebar-drag-handle {
        padding-top: 8px;
        height: 32px;
    }

    /* 侧边栏头部 */
    .alm-sidebar-header {
        padding: 8px 14px 6px;
        flex-shrink: 0;
        gap: 6px;
    }

    .alm-sidebar-header h3 {
        font-size: 13px;
        flex-shrink: 0;
    }

    .alm-sort-select {
        font-size: 11px;
        max-width: 110px;
        padding: 2px 6px;
    }

    /* 列表区域 — 始终可滚动，由 flex:1 自然填满 sidebar 高度 */
    .alm-nearby-list {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        /* v2.5.77: 移除 max-height 限制，由 flex:1 自然填满，避免底部空白遮挡 */
        padding: 6px 12px;
        scrollbar-width: thin;
        scrollbar-color: #ddd transparent;
    }

    .alm-nearby-list::-webkit-scrollbar { width: 4px; }
    .alm-nearby-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

    /* ==========================================
       被执行人卡片（手机端优化）
       ========================================== */
    .alm-nearby-item {
        padding: 10px 12px;
        margin-bottom: 6px;
    }

    .alm-nearby-name-row a {
        font-size: 13px;
    }

    .alm-nearby-distance {
        font-size: 10px;
        padding: 1px 5px;
    }

    /* 手机端保持左右排列，调整尺寸适应小屏幕 */
    .alm-nearby-body {
        flex-direction: row;
        gap: 8px;
    }

    .alm-nearby-left {
        width: 88px;
        height: 88px;
        flex-shrink: 0;
    }

    .alm-nearby-left img {
        width: 80px;
        height: 80px;
    }

    .alm-nearby-footer {
        padding-top: 6px;
    }

    .alm-nearby-actions a {
        padding: 3px 8px;
        font-size: 10px;
    }

    /* v1.3.740：原「.alm-location-status { display: none }」已删 —— 那是状态文字还挂在
       左上工具栏时代的老规则；v1.3.734 状态搬进右下角 .alm-loc-float 后再隐藏，
       手机端就永远看不到「正在定位/定位成功/定位失败」，点定位「没反应」的根因之一。
       空态占位由 .alm-loc-float .alm-location-status:empty（上方 360 行）兜住。 */

    /* ==========================================
       地图信息弹窗（手机端适配）
       ========================================== */
    .amap-info-content {
        margin: 0;
    }

    .alm-info-window {
        max-width: 320px;
        min-width: 280px;
        padding: 12px 14px;
    }

    .alm-info-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .alm-info-body {
        flex-direction: row;
        gap: 8px;
    }

    .alm-info-left {
        width: 88px;
        height: 88px;
        flex-shrink: 0;
    }

    .alm-info-thumb img {
        width: 80px;
        height: 80px;
    }

    .alm-info-right {
        width: 100%;
    }

    /* v2.5.192: 移除 .alm-info-social 样式 */

    .alm-info-footer {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* v2.5.192: 移除 .alm-info-date 样式（不再显示） */

    .alm-info-actions {
        width: 100%;
    }

    .alm-info-actions a {
        font-size: 11px;
        padding: 5px 8px;
    }

    /* ==========================================
       收起状态：只显示拖动条
       ========================================== */
    .alm-nearby-sidebar.collapsed .alm-nearby-list,
    .alm-nearby-sidebar.collapsed .alm-sidebar-header {
        display: none;
    }

    /* 收起状态下的拖动条：增加高度和点击面积 */
    .alm-nearby-sidebar.collapsed .alm-sidebar-drag-handle {
        height: 32px;
    }

}

/* v2.5.184: 隐藏子比主题版权链接 */
a[href*="kekc.cn"],
a[href*="dift.cn"],
a[href*="zibll.com"] {
    display: none !important;
}

/* v2.6.1: 被执行人标记金额胶囊——缩放级别 < 13 时隐藏（避免低层级文字重叠） */
.alm-mrk.is-mini [data-alm-mrk] {
    display: none !important;
}

/* ==========================================
   v2.6.3: 领赏说明 / 线索海报 弹层
   ========================================== */
.alm-claim-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.62);
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    /* v2.6.6: 内容超高时由遮罩层滚动兜底（配合子项 margin:auto 保证超高也可回滚到顶部） */
    overflow-y: auto;
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .2s ease, visibility .2s ease;
    transition: opacity .2s ease, visibility .2s ease;
}
.alm-claim-mask.show {
    opacity: 1;
    visibility: visible;
}
.alm-claim-box {
    width: 92%;
    max-width: 430px;
    /* v2.6.6: 不再内部滚动；用 margin:auto 居中，超高时浏览器可回滚到可见 */
    max-height: none;
    overflow: visible;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
}
body.dark-theme .alm-claim-box {
    background: #1f2023;
}
.alm-claim-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #333;
}
body.dark-theme .alm-claim-title { color: #e5e5e5; }
.alm-claim-body {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}
body.dark-theme .alm-claim-body { color: #b8b8bd; }
.alm-claim-ok {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    background: #00a2e3;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.alm-poster-img {
    /* v2.6.6: 海报图按视口缩放（最大 52vh），保证弹窗无需滚动即可完整显示 */
    max-width: 100%;
    max-height: 52vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.alm-poster-download {
    width: 100%;
    padding: 10px 0;
    border-radius: 8px;
    background: #f5c04b;
    color: #7a4b00;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

/* ==========================================================================
   T04 · 赏金地图 B/C 类（委托悬赏 / 悬赏公示）
   来源：LB 悬赏地图公示卡效果图（20261030）① / ③ / ③续
   仅作用于赏金地图页（body.alm-is-map-page）；本块之后的响应式另起 @media。
   类名：.card--a/.card--b/.card--c/.card--click/.sheet--min/.ms-row--b/.ms-row--c
        /.alm-pin--bounty（全仓原零命中，不高仿 .pop-* 那一套）
   ========================================================================== */

/* ---------- 落标（B/C） ---------- */
.alm-is-map-page .alm-pin--bounty {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
    line-height: 0;
}
.alm-is-map-page .alm-pin--entrust { width: 38px; height: 38px; }
.alm-is-map-page .alm-pin--plate { width: 96px; height: 30px; }
.alm-is-map-page .alm-pin--poi { width: 18px; height: 18px; }

.alm-is-map-page .alm-pin__cap {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 1px);
    transform: translateX(-50%);
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff;
    color: #0A5FCC;
    border: 1px solid rgba(10, 95, 204, .2);
    box-shadow: 0 2px 6px rgba(10, 95, 204, .28);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    z-index: 2;
}
.alm-is-map-page .alm-pin--notice .alm-pin__cap,
.alm-is-map-page .alm-pin--plate .alm-pin__cap,
.alm-is-map-page .alm-pin--poi .alm-pin__cap {
    color: #96271C;
    border-color: rgba(150, 39, 28, .22);
    box-shadow: 0 2px 6px rgba(150, 39, 28, .3);
}

.alm-is-map-page .alm-pin__doc {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(160deg, #2E7BE0, #0A5FCC);
    border: 2.5px solid #fff;
    box-shadow: 0 3px 10px rgba(10, 95, 204, .42);
}
.alm-is-map-page .alm-pin__doc svg { width: 19px; height: 19px; }

/* v1.3.791：委托落标头像 —— 首字方块，与旧卷宗图标同尺寸（38px），单字居中；
   字号比列表头像（15px）略大一档，但比块宽小得多，中英文都不会顶边。 */
.alm-is-map-page .alm-pin__ava-doc {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 2.5px solid #fff;
    box-shadow: 0 3px 10px rgba(20, 40, 70, .35);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.alm-is-map-page .alm-pin__face {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(180deg, #D8503F, #96271C);
    box-shadow: 0 4px 12px rgba(150, 39, 28, .42);
}
.alm-is-map-page .alm-pin__face > i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    overflow: hidden;
    background: linear-gradient(160deg, #C9CFD8, #8A93A0) center/cover no-repeat;
}
.alm-is-map-page .alm-pin__face > i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 9px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .55);
}
.alm-is-map-page .alm-pin__face > i::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 25px;
    height: 19px;
    border-radius: 13px 13px 0 0;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .55);
}
.alm-is-map-page .alm-pin__face > i[style]::before,
.alm-is-map-page .alm-pin__face > i[style]::after { display: none; }
.alm-is-map-page .alm-pin__face > i { position: relative; }

.alm-is-map-page .alm-pin__plate-img,
.alm-is-map-page .alm-pin__plate {
    display: grid;
    place-items: center;
    height: 30px;
    padding: 0 8px;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(180deg, #2C6BD4, #1848A8);
    border: 2px solid #fff;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(24, 72, 168, .45);
}
.alm-is-map-page .alm-pin__plate-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alm-is-map-page .alm-pin__dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #96271C;
    border: 3px solid #fff;
    box-shadow: 0 0 0 5px rgba(150, 39, 28, .18), 0 3px 8px rgba(0, 0, 0, .25);
}

.alm-is-map-page .alm-pin__tip {
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #96271C;
}

/* ---------- 三型卡（气泡卡 / PC 浮层共用） ---------- */
.alm-is-map-page .lb-pop {
    position: relative;
    width: 428px;
    max-width: calc(100vw - 22px);
    padding-bottom: 12px;
    box-sizing: border-box;
    font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
    color: rgba(0, 0, 0, .9);
    line-height: 1.5;
    text-align: left;
}
.alm-is-map-page .lb-pop::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 13px;
    height: 13px;
    margin-left: -6.5px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .06);
}

.alm-is-map-page .lb-pop .card {
    position: relative;
    /* v1.3.733：宽度锁。线上出现过「内容列被压到 ~120px、右侧整片空白」：
       card 是块级本应撑满 .lb-pop（428），加 width:100% 让任何外部
       shrink-to-fit / 主题规则都无法把它压窄；截断由内层各行的 min-width:0 兜。 */
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2), 0 2px 8px rgba(0, 0, 0, .08);
    overflow: hidden;
    box-sizing: border-box;
}
.alm-is-map-page .lb-pop .card--a,
.alm-is-map-page .lb-pop .card--b { padding: 13px 14px; }
.alm-is-map-page .lb-pop .card--c { padding: 13px 14px 0; }
.alm-is-map-page .lb-pop .card--c::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #C0392B, #96271C);
}
.alm-is-map-page .lb-pop .card--click {
    display: flex;
    flex-direction: column;
    min-height: 176px;
    cursor: pointer;
    transition: box-shadow .16s ease, transform .16s ease;
}
.alm-is-map-page .lb-pop .card--click:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}
.alm-is-map-page .lb-pop .card--click:hover .a-name { color: #0A5FCC; }

/* 标签行 */
.alm-is-map-page .lb-pop .b-chips {
    display: flex;
    gap: 6px;
    margin-bottom: 2px;
    /* v1.3.792：强制单行 —— 标签再多也不换行，卡片高度恒定 */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.alm-is-map-page .lb-pop .b-chips::-webkit-scrollbar { width: 0; height: 0; display: none; }
.alm-is-map-page .lb-pop .b-chips > * { flex: 0 0 auto; }
/* 只有真溢出时才给抓手光标（JS 按 scrollWidth 判定），未溢出保持普通箭头 */
.alm-is-map-page .lb-pop .b-chips.is-overflow { cursor: grab; }
.alm-is-map-page .lb-pop .b-chips.is-dragging { cursor: grabbing; }
.alm-is-map-page .lb-pop .b-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
    background: #F1F1F4;
    color: rgba(60, 60, 67, .82);
    white-space: nowrap;
}
/* 带说明的标签用 help 光标（与「我的悬赏」列表卡的 .lb-elist__tag 同口径） */
.alm-is-map-page .lb-pop .b-chip[data-tip] { cursor: help; }
.alm-is-map-page .lb-pop .b-chip--green { background: #34C759; color: #fff; }
.alm-is-map-page .lb-pop .b-chip--greenlite { background: rgba(52, 199, 89, .14); color: #248A3D; }
.alm-is-map-page .lb-pop .b-chip--blue { background: rgba(10, 95, 204, .1); color: #0A5FCC; }
.alm-is-map-page .lb-pop .b-chip--red { background: #C0392B; color: #fff; }
/* v1.3.741：补齐状态/标签字典里其余颜色档（gray/orange/purple 来自
   O2B_LB_Schema::entrust_statuses() 与 O2B_LB_Entrust_Query::tags()，
   bluelite 是地图侧「悬赏中」固定标签）。缺档会退成灰底，看不出状态。 */
.alm-is-map-page .lb-pop .b-chip--gray { background: #F1F1F4; color: rgba(60, 60, 67, .72); }
.alm-is-map-page .lb-pop .b-chip--orange { background: #FF8A00; color: #fff; }
.alm-is-map-page .lb-pop .b-chip--purple { background: rgba(124, 77, 255, .12); color: #5E35B1; }
.alm-is-map-page .lb-pop .b-chip--bluelite { background: rgba(10, 95, 204, .08); color: #2E6FB8; }

/* 「被执行人：」前缀：只挂在气泡卡标题上；列表行一律不加。
   flex:0 0 auto 是关键 —— 不加会被 .b-title 的星号串压成竖排。 */
.alm-is-map-page .lb-pop .a-name::before,
.alm-is-map-page .lb-pop .b-title::before,
.alm-is-map-page .lb-pop .c-name::before {
    content: "被执行人：";
    font-family: -apple-system, "PingFang SC", sans-serif;
    font-size: .66em;
    font-weight: 500;
    color: rgba(60, 60, 67, .5);
    letter-spacing: 0;
    margin-right: 2px;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* v1.3.792：协作单没有被执行人 —— 标题去掉「被执行人：」前缀，不留空标签 */
.alm-is-map-page .lb-pop .b-title--coop::before { content: none; }

/* A 卡 */
.alm-is-map-page .lb-pop .a-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.alm-is-map-page .lb-pop .a-name {
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 0;
}
.alm-is-map-page .lb-pop .a-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    /* v1.3.745：rows 上距 10→8（用户截图：卡片行与行隔得太开） */
    margin-top: 8px;
}
.alm-is-map-page .lb-pop .a-thumb {
    width: 62px;
    height: 62px;
    border-radius: 8px;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(160deg, #D9DEE6, #B7C0CC);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #8A6F68;
}
/* v1.3.743：照效果图改 —— 72×72 正方形、顶部对齐（原先 height:100%+stretch
   会跟着右侧文字行数被拉成竖长条）。 */
.alm-is-map-page .lb-pop .card--a .a-body > .a-thumb {
    width: 72px;
    height: 72px;
    align-self: start;
}
.alm-is-map-page .lb-pop .a-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.alm-is-map-page .lb-pop .a-info {
    min-width: 0;
    font-size: 12px;
    /* v1.3.745：行高 1.75→1.5（21px→18px）。用户截图里地址/电话/赏金三行「隔得比较开」，
       效果图是紧凑三行。 */
    line-height: 1.5;
    color: rgba(0, 0, 0, .8);
}
.alm-is-map-page .lb-pop .a-reward {
    margin-top: 2px;
    font-size: 12px;
    color: #8A6400;
    font-weight: 600;
}
/* v1.3.745：赏金依据小字（「标的额 3万 × 3%」）—— 数字怎么来的，肉眼可见 */
.alm-is-map-page .lb-pop .lb-reward-sub {
    font-weight: 500;
    color: rgba(60, 60, 67, .45);
    font-size: 11px;
    font-style: normal;
    margin-left: 5px;
}
.alm-is-map-page .lb-pop .a-ft {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    /* v1.3.745：分隔线上距 9→7 */
    padding-top: 7px;
    border-top: 1px solid rgba(60, 60, 67, .09);
    font-size: 11.5px;
    color: rgba(60, 60, 67, .5);
}
.alm-is-map-page .lb-pop .a-ft .acts {
    display: flex;
    gap: 12px;
    font-weight: 600;
    /* v1.3.793：摘要再长也只压摘要，按钮永不被压缩、永不换行 */
    flex: 0 0 auto;
    white-space: nowrap;
}
/* v1.3.790：浮卡左下说明（协作摘要）单行省略 —— 24 字在窄卡里会折成两行撑高卡片，
   这里锁死单行 + 省略号；右侧「查看」保位不受挤压。 */
.alm-is-map-page .lb-pop .a-ft .a-note {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 10px;
}
.alm-is-map-page .lb-pop .a-ft a {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #0A5FCC;
    text-decoration: none;
}
.alm-is-map-page .lb-pop .a-ft a.c-submit { color: #B03A2E; }
.alm-is-map-page .lb-pop .a-ft a.b-lock { color: #55657A; }
.alm-is-map-page .lb-pop .lb-sep {
    font-style: normal;
    color: rgba(60, 60, 67, .28);
    margin: 0 5px;
}

/* B 卡（委托悬赏） */
.alm-is-map-page .lb-pop .b-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.2px;
    /* v1.3.745：上下 11/8 → 9/6 */
    margin: 9px 0 6px;
    min-width: 0;
}
.alm-is-map-page .lb-pop .b-title.nm-mask {
    display: flex;
    align-items: baseline;
    min-width: 0;
}
.alm-is-map-page .lb-pop .nm-mask > i {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-style: normal;
    letter-spacing: 1.2px;
    color: rgba(0, 0, 0, .5);
    user-select: none;
}
.alm-is-map-page .lb-pop .nm-mask > b { flex: 0 0 auto; font: inherit; }
.alm-is-map-page .lb-pop .b-kv {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    /* v1.3.745：行上下 4→2（每行省 4px，三行省 12px；用户截图说列表行隔得太开） */
    padding: 2px 0;
    /* v1.3.741：手机 353 宽下「属地 福建省 厦门市」+ 右侧值会顶破卡片右缘被裁
       （用户截图）。键固定不收缩，值允许收缩并省略，数字类值单独钉 flex:0 0 auto。 */
    min-width: 0;
}
.alm-is-map-page .lb-pop .b-k {
    font-size: 13px;
    color: rgba(60, 60, 67, .52);
    white-space: nowrap;
    flex: 0 0 auto;
}
.alm-is-map-page .lb-pop .b-k i {
    font-style: normal;
    font-size: 11.5px;
    color: rgba(60, 60, 67, .4);
    margin-left: 6px;
}
.alm-is-map-page .lb-pop .b-v {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, .85);
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alm-is-map-page .lb-pop .b-v--red {
    font-size: 16px;
    font-weight: 700;
    color: #C0392B;
    /* 金额不允许省略：宁可省略旁边的属地，也不能把 ¥2,000 截成 ¥2,… */
    flex: 0 0 auto;
    overflow: visible;
}

/* C 卡（悬赏公示） */
.alm-is-map-page .lb-pop .c-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1.35;
    margin-bottom: 2px;
    color: rgba(0, 0, 0, .88);
}
.alm-is-map-page .lb-pop .c-addr {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    color: rgba(60, 60, 67, .78);
    min-width: 0;
}
.alm-is-map-page .lb-pop .c-addr svg { flex: 0 0 auto; margin-top: 3px; }
.alm-is-map-page .lb-pop .c-addr span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.alm-is-map-page .lb-pop .c-tel {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(60, 60, 67, .72);
}
.alm-is-map-page .lb-pop .c-tel-k { color: rgba(60, 60, 67, .55); }
.alm-is-map-page .lb-pop .a-tel { color: #0A5FCC; font-weight: 600; text-decoration: none; }
.alm-is-map-page .lb-pop .a-tel:hover { text-decoration: underline; }

.alm-is-map-page .lb-pop .card--c .a-body { margin-top: 8px; }
.alm-is-map-page .lb-pop .card--c .c-portrait {
    width: 54px;
    height: 66px;
    border-radius: 6px;
    align-self: stretch;
    background: linear-gradient(160deg, #E7DCD8, #C9B7B1);
    color: #8A6F68;
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(150, 39, 28, .12);
}
.alm-is-map-page .lb-pop .card--c .c-portrait--img { padding: 0; }

.alm-is-map-page .lb-pop .c-plate-thumb {
    width: 96px;
    align-self: stretch;
    border-radius: 8px;
    overflow: hidden;
    background: #F4F6FA;
    box-shadow: inset 0 0 0 1px rgba(24, 72, 168, .14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.alm-is-map-page .lb-pop .c-plate-thumb .c-plate {
    height: 30px;
    padding: 0 7px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #2C6BD4, #1848A8);
    border: 1.5px solid #fff;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(24, 72, 168, .35);
}
.alm-is-map-page .lb-pop .c-plate-img {
    width: calc(100% - 12px);
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    border: 1.5px solid #fff;
    display: block;
}
.alm-is-map-page .lb-pop .c-plate-k {
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(24, 72, 168, .72);
    letter-spacing: .2px;
}
.alm-is-map-page .lb-pop .card--c .a-ft {
    margin: auto -14px 0;
    /* v1.3.745：上下 10→8 */
    padding: 8px 14px;
    background: #FCFBFA;
}

/* ---------- 抽屉列表行（附近悬赏） ---------- */
.alm-is-map-page .ms-row {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 74px;
    border-bottom: 1px solid rgba(60, 60, 67, .08);
    box-sizing: border-box;
}
.alm-is-map-page .ms-row:last-child { border-bottom: 0; }
.alm-is-map-page .ms-row--on { background: #EDF3FD; border-radius: 9px; }
.alm-is-map-page .ms-bar {
    align-self: stretch;
    margin: 9px 0;
    width: 3px;
    border-radius: 2px;
    background: #B8860B;
    flex: 0 0 auto;
}
.alm-is-map-page .ms-row--b .ms-bar { background: #0A5FCC; }
.alm-is-map-page .ms-row--c .ms-bar { background: #B03A2E; }
.alm-is-map-page .ms-thumb {
    width: 42px;
    height: 46px;
    border-radius: 7px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
}
.alm-is-map-page .ms-thumb--b { background: linear-gradient(160deg, #2E7BE0, #0A5FCC); color: #fff; }
.alm-is-map-page .ms-thumb--b svg { width: 19px; height: 19px; }
.alm-is-map-page .ms-thumb--c { background: linear-gradient(160deg, #E7DCD8, #C9B7B1); color: #8A6F68; }
.alm-is-map-page .ms-thumb--plate { font-size: 12px; letter-spacing: .2px; }
.alm-is-map-page .ms-thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alm-is-map-page .ms-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.alm-is-map-page .ms-l1 { display: flex; align-items: center; gap: 6px; line-height: 18px; }
.alm-is-map-page .ms-tag {
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
}
.alm-is-map-page .ms-tag--b { background: rgba(10, 95, 204, .1); color: #0A5FCC; }
.alm-is-map-page .ms-tag--c { background: rgba(176, 58, 46, .12); color: #96271C; }
.alm-is-map-page .ms-name { font-size: 13px; font-weight: 700; color: rgba(0, 0, 0, .86); white-space: nowrap; }
.alm-is-map-page .ms-meta { margin-left: auto; font-size: 10.5px; color: rgba(60, 60, 67, .5); white-space: nowrap; }
.alm-is-map-page .ms-meta .lb-sep { font-style: normal; color: rgba(60, 60, 67, .3); margin: 0 4px; }
.alm-is-map-page .ms-l2 {
    font-size: 11px;
    color: rgba(60, 60, 67, .68);
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
}
.alm-is-map-page .ms-l2 svg { flex: 0 0 auto; }
.alm-is-map-page .ms-l3 {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
    line-height: 17px;
}
.alm-is-map-page .ms-money { font-size: 12px; font-weight: 600; color: #8A6400; }
.alm-is-map-page .ms-money--b { color: #C0392B; }
.alm-is-map-page .ms-sub { font-size: 10.5px; color: rgba(60, 60, 67, .45); }
.alm-is-map-page .ms-w { font-size: 11px; color: rgba(60, 60, 67, .55); }
.alm-is-map-page .ms-strong { font-size: 11.5px; font-weight: 600; color: rgba(0, 0, 0, .8); }
.alm-is-map-page .ms-div { color: rgba(60, 60, 67, .3); margin: 0 6px; }
.alm-is-map-page .ms-act { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #0A5FCC; cursor: pointer; }
.alm-is-map-page .ms-act--c { color: #B03A2E; margin-left: 8px; }
.alm-is-map-page .ms-rows--lb { display: block; }

/* ---------- 抽屉两态控件（手机端在下方新 @media 内生效） ---------- */
.alm-is-map-page .sheet-grip {
    display: none;
    width: 34px;
    height: 4px;
    border-radius: 2px;
    background: rgba(60, 60, 67, .2);
    margin: 0 auto 9px;
    flex: 0 0 auto;
}
.alm-is-map-page .ms-min {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(60, 60, 67, .7);
}
.alm-is-map-page .ms-min b { color: #B03A2E; font-weight: 700; }
.alm-is-map-page .lb-sheet-count {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: rgba(60, 60, 67, .45);
    margin-left: 4px;
}

/* v1.3.933：地图页的实名核验浮层要压在地图自身控件（顶栏/悬浮钮/抽屉，最高 99999）之上 */
.alm-is-map-page .lb-scrim[data-verify-modal] {
    z-index: 100099;
}

/* ==========================================================================
   v1.3.730 · 赏金地图新版 UI（LB-729 效果图 ①②）
   --------------------------------------------------------------------------
   类名与取值逐条照搬 LB-729 赏金地图新版效果图（20261105）：
     ① .mp-bar / .mp-pill / .mp-count    PC 左上三色计数胶囊
     ② .row / .row--a|b|c / .row-*       A/B/C 三类统一成一套行（A 类新增金色竖条）
     ③ .card--a 纯文字气泡卡（A 类）
   旧的 .ms-row / .ms-tag / .ms-act 等规则**保留**：列表行已改为输出 .row，
   这些规则成了存量兼容层，删掉会让别的页面（或缓存的旧 HTML）掉样式。
   .mp-pill--on 是筛选态，本批按「只做展示 + 计数」不落，故不定义。
   ========================================================================== */

/* ---------- ① 三色计数胶囊 ---------- */
.alm-is-map-page .mp-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: auto; /* v1.3.803：胶囊已可点击筛选，必须接管点击（父级 .alm-toolbar-stats-row 仍是 none） */
}
.alm-is-map-page .mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    color: rgba(0, 0, 0, .8);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.alm-is-map-page .mp-pill b { font-weight: 700; }
.alm-is-map-page .mp-pill i {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B8860B;
}
.alm-is-map-page .mp-pill i.blue { background: #0A5FCC; border-radius: 2px; }
.alm-is-map-page .mp-pill i.red { background: #B03A2E; border-radius: 1px; width: 7px; height: 11px; }
/* v1.3.804：选中态圆点统一变白。
   必须用 4 段 class 才能盖过上面的 .alm-is-map-page .mp-pill i.red / i.blue（3 段）。 */
.alm-is-map-page .alm-type-filter-bar .mp-pill--on i,
.alm-is-map-page .alm-type-filter-bar .mp-pill--on i.blue,
.alm-is-map-page .alm-type-filter-bar .mp-pill--on i.red { background: #fff; }
.alm-is-map-page .mp-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    line-height: 1;
    color: rgba(60, 60, 67, .66);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.alm-is-map-page .mp-count b { font-size: 14px; font-weight: 700; color: #0A5FCC; }

/* ---------- ② 统一列表行（A / B / C 同一套骨架） ----------
   高度改成内容驱动（min-height 74px）：A 类多一行「法院 / 法官电话」，
   定死 height 会把第三行裁掉。抽屉 .sheet--list 是定高 + 列表自身 overflow，
   行高变化不影响抽屉高度。 */
.alm-is-map-page .alm-nearby-list .row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    /* v1.3.745：行内边距 10/12/12 → 9/12/10、min-height 74→68（用户截图：列表行隔得太开） */
    padding: 9px 12px 10px;
    min-height: 68px;
    box-sizing: border-box;
    /* v1.3.730：列表是 flex 列（.alm-nearby-list:556），行数一多就会被 flex-shrink
       压到 min-height 74px，A 类的「法院 / 法官电话」两行会被压掉。
       真 Chrome 密集点位截图（13 行）就是这个现象，故显式禁止收缩。 */
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(60, 60, 67, .08);
    cursor: pointer;
}
.alm-is-map-page .alm-nearby-list .row:last-child { border-bottom: 0; }
.alm-is-map-page .alm-nearby-list .row--on { background: #EDF3FD; border-radius: 9px; }
.alm-is-map-page .alm-nearby-list .row-bar {
    align-self: stretch;
    flex: 0 0 auto;
    width: 3px;
    border-radius: 2px;
    background: #B8860B;
}
.alm-is-map-page .alm-nearby-list .row--b .row-bar { background: #0A5FCC; }
.alm-is-map-page .alm-nearby-list .row--c .row-bar { background: #B03A2E; }
.alm-is-map-page .alm-nearby-list .row-ava {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(160deg, #E3E8EF, #CDD5DF);
    color: #5C6775;
}
.alm-is-map-page .alm-nearby-list .row--b .row-ava { background: linear-gradient(160deg, #2E7BE0, #0A5FCC); color: #fff; }
.alm-is-map-page .alm-nearby-list .row--c .row-ava { background: linear-gradient(160deg, #C9CFD8, #8A93A0); color: #fff; }
.alm-is-map-page .alm-nearby-list .row-ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alm-is-map-page .alm-nearby-list .row-ava svg { width: 19px; height: 19px; }
.alm-is-map-page .alm-nearby-list .row-main { flex: 1; min-width: 0; }
.alm-is-map-page .alm-nearby-list .row-l1 { display: flex; align-items: center; gap: 5px; line-height: 18px; }
.alm-is-map-page .alm-nearby-list .row-tag {
    flex: 0 0 auto;
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
    background: rgba(184, 134, 11, .14);
    color: #8A6400;
}
.alm-is-map-page .alm-nearby-list .row--b .row-tag { background: rgba(10, 95, 204, .1); color: #0A5FCC; }
.alm-is-map-page .alm-nearby-list .row--c .row-tag { background: rgba(176, 58, 46, .12); color: #96271C; }
.alm-is-map-page .alm-nearby-list .row-name {
    min-width: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(0, 0, 0, .88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* v1.3.795：抽屉列表行「被执行人」前缀 —— 与浮卡 .lb-pop .b-title::before 同口径；
   列表行容器是 .alm-nearby-list 不是 .lb-pop，所以单独挂一条；
   协作单（.row--coop）不加前缀（协作单没有被执行人概念）。 */
.alm-is-map-page .alm-nearby-list .row--a .row-name::before,
.alm-is-map-page .alm-nearby-list .row--b:not(.row--coop) .row-name::before,
.alm-is-map-page .alm-nearby-list .row--c .row-name::before {
    content: "被执行人：";
    font-family: -apple-system, "PingFang SC", sans-serif;
    font-size: .7em;
    font-weight: 500;
    color: rgba(60, 60, 67, .5);
    margin-right: 2px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.alm-is-map-page .alm-nearby-list .row-km {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 10.5px;
    color: rgba(60, 60, 67, .45);
    white-space: nowrap;
}
/* v1.3.793：定位前的空距离占位不显示，不留空行 */
.alm-is-map-page .alm-nearby-list .row-km:empty { display: none; }
.alm-is-map-page .alm-nearby-list .row-l2 {
    display: flex;
    align-items: center;
    gap: 4px;
    /* v1.3.745：4→2（行与行贴紧） */
    margin-top: 2px;
    font-size: 11.5px;
    color: rgba(60, 60, 67, .66);
    white-space: nowrap;
    overflow: hidden;
}
.alm-is-map-page .alm-nearby-list .row-l2 svg { flex: 0 0 auto; }
.alm-is-map-page .alm-nearby-list .row-l2 > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.alm-is-map-page .alm-nearby-list .row-ft { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.alm-is-map-page .alm-nearby-list .row-money {
    font-size: 11px;
    font-weight: 700;
    color: #8A6400;
    background: rgba(184, 134, 11, .1);
    border-radius: 5px;
    padding: 2px 6px;
    white-space: nowrap;
}
.alm-is-map-page .alm-nearby-list .row--b .row-money,
.alm-is-map-page .alm-nearby-list .row--c .row-money { color: #C0392B; background: rgba(192, 57, 43, .09); }
.alm-is-map-page .alm-nearby-list .row-date { font-size: 10px; color: rgba(60, 60, 67, .45); white-space: nowrap; }
.alm-is-map-page .alm-nearby-list .row-acts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* v1.3.792：列表去掉「标的 · 悬赏中」那行，「查看」并入最后一行（摘要 / 属地 / 律师费） */
.alm-is-map-page .alm-nearby-list .row-l2.row-end > span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.alm-is-map-page .alm-nearby-list .row-l2.row-end .row-act { flex: 0 0 auto; margin-left: auto; }
.alm-is-map-page .alm-nearby-list .row-act { font-size: 12px; font-weight: 600; color: #0A5FCC; white-space: nowrap; cursor: pointer; text-decoration: none;
    /* v1.3.733：线上见过「导航」图标与文字挤压成两行（主题对 a 的伪元素/装饰渗进来），
       收成一块不可拆的行内块，并明确禁掉伪元素装饰。 */
    display: inline-block; line-height: 1.4; }
.alm-is-map-page .alm-nearby-list .row-act::before,
.alm-is-map-page .alm-nearby-list .row-act::after { content: none; }
.alm-is-map-page .alm-nearby-list .row-act--r { color: #B03A2E; }

/* ---------- ③ A 类气泡卡：纯文字卡（照用户给的目标图改） ----------
   原实现是「左图右文 + 标签行」，与 B/C 的字段密度差太多；目标图没有照片、
   没有标签行，字段自上而下：姓名 → 证件号·性别·年龄 → 法院 → 法官电话 → 赏金 → 底行。
   「被执行人：」前缀沿用 .a-name::before（:2269）。 */
.alm-is-map-page .lb-pop .card--a { padding: 12px 14px; }
.alm-is-map-page .lb-pop .card--a.card--click { min-height: 0; }
.alm-is-map-page .lb-pop .card--a .a-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1.35;
    /* v1.3.745：9→7（卡片整体收紧） */
    margin: 0 0 7px;
    white-space: normal;
}
.alm-is-map-page .lb-pop .card--a .a-name-row { display: block; }
.alm-is-map-page .lb-pop .a-idno {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    letter-spacing: .2px;
    color: rgba(60, 60, 67, .66);
}
.alm-is-map-page .lb-pop .a-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, .78);
    white-space: nowrap;
    overflow: hidden;
}
.alm-is-map-page .lb-pop .a-row svg { flex: 0 0 auto; }
.alm-is-map-page .lb-pop .a-row > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alm-is-map-page .lb-pop .a-row b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #0A5FCC;
    white-space: nowrap;
}
/* v1.3.743：行距收紧照效果图（只覆盖 A 卡，C 卡沿用通用 a-row/a-info 行距）
   v1.3.745：再收一档 —— 用户截图里地址/电话/赏金三行「隔得比较开」：
   行高 1.62→1.45（≈19.4→17.4px）、行上距 6→4、赏金上距 9→5、底行 10/9→7/7 */
.alm-is-map-page .lb-pop .card--a .a-info {
    line-height: 1.45;
}
.alm-is-map-page .lb-pop .card--a .a-row {
    margin-top: 4px;
}
/* v1.3.743：赏金行照效果图去掉米色底块 —— 单行金色文字（原先 padding+radius+
   rgba 底块满宽折两行，效果图是「赏金 ¥xx,xxx」一行金字）。 */
.alm-is-map-page .lb-pop .card--a .a-reward {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13.5px;
    font-weight: 700;
    color: #B8860B;
}
.alm-is-map-page .lb-pop .card--a .a-reward svg { flex: 0 0 auto; }
.alm-is-map-page .lb-pop .card--a .a-ft {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(60, 60, 67, .09);
    font-size: 11.5px;
    color: rgba(60, 60, 67, .45);
}
.alm-is-map-page .lb-pop .card--a .a-ft .lb-sep { margin: 0 1px; }
.alm-is-map-page .lb-pop .card--a .a-ft .acts { margin-left: auto; }

/* ---------- ③ A 类落标（ALM 老赖地图页共用同一份内容） ----------
   buildAlmMarkerContent 仍是全内联（地图短代码嵌在任意页面时 body 上可能没有
   .alm-is-map-page），这里只留跨页共用的少量增强，不依赖内联值。 */
.alm-is-map-page .alm-mrk-money {
    background: linear-gradient(180deg, #F0C75E, #D9A32B) !important;
    border: 0 !important;
    color: #5A3E00 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2) !important;
}

/* ==========================================================================
   T04 · 响应式（新起 @media，不改既有 :1807 那块）
   ========================================================================== */
@media (max-width: 768px) {
    .alm-is-map-page .lb-pop {
        width: 353px;
        max-width: calc(100vw - 22px);
    }

    /* 底部抽屉两态：收起 52px / 展开 462px（收起 52px / 展开 462px） */
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 50px;
        width: 100%;
        /* v1.3.730：补 border-box。原来 width:100% + padding:0 13px 是 content-box，
           抽屉实测宽 416px（390 视口 + 26px 内边距），右侧 26px 被 body 裁掉，
           行尾的「查看 / 提交线索 / 距离」全部少一截 —— 真 Chrome 截图才看得见。 */
        box-sizing: border-box;
        border-radius: 16px 16px 0 0;
        /* v1.3.829：白底 → 磨砂半透明（对齐子比「用户中心 · 我的订单 · 查看订单详情」抽屉观感）。
           滚动内容透过抽屉一点点，层级靠模糊而不是实色块。 */
        background: rgba(255, 255, 255, .82);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        backdrop-filter: blur(18px) saturate(180%);
        box-shadow: 0 -6px 22px rgba(0, 0, 0, .12);
        z-index: 999;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        /* v1.3.829：列表左右留白收紧（原抽屉 13px + 行 14px = 每侧 27px，双层重复）。 */
        padding: 0 8px;
        flex: none;
        transition: height .18s ease;
    }
    /* 不支持 backdrop-filter 的浏览器退回实色，避免半透明底下文字穿透看不清 */
    @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
        .alm-is-map-page .alm-nearby-sidebar.alm-sheet { background: #fff; }
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .alm-sidebar-drag-handle {
        display: none !important;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--min {
        height: 52px !important;
        max-height: 52px !important;
        padding: 6px 8px;
        justify-content: center;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--min .alm-sidebar-header,
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--min .alm-nearby-list,
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--min .alm-sidebar-pc-controls {
        display: none !important;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--min .sheet-grip {
        display: block;
        margin-bottom: 4px;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--min .ms-min {
        display: flex;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--list {
        height: 462px !important;
        max-height: 462px !important;
        /* v1.3.829：13px → 8px —— 抽屉自身横向留白与行内留白叠加（原 13+14=27px/侧） */
        padding: 10px 8px 9px;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--list .ms-min {
        display: none;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet.sheet--list .sheet-grip {
        display: block;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .sheet-grip {
        margin-top: 2px;
        cursor: pointer;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .ms-min {
        cursor: pointer;
        line-height: 22px;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .alm-sidebar-header {
        padding: 2px 0 8px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;
        /* v1.3.745：整行可点收起（委托在 lb-map-bounty.js 的 bindSheetEvents）。
           此前只有顶部 4px 细线能点，用户反馈「不是只点中间那条」。 */
        cursor: pointer;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .alm-sidebar-header h3 {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        font-weight: 700;
        color: rgba(0, 0, 0, .86);
        margin: 0;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .alm-sort-select {
        font-size: 11px;
        color: #0A5FCC;
        border: 1px solid rgba(10, 95, 204, .4);
        border-radius: 999px;
        padding: 3px 9px;
        font-weight: 600;
        background: #fff;
        max-width: 110px;
    }
    .alm-is-map-page .alm-nearby-sidebar.alm-sheet .alm-nearby-list {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 0;
    }
    /* 收起态时抽屉只有 52px 摘要行，列表整体隐藏 */

    /* v1.3.730：390 宽下三颗胶囊 + 共收录要挤得下（34px 高度会溢出换行） */
    .alm-is-map-page .mp-bar { gap: 6px; }
    .alm-is-map-page .mp-pill,
    .alm-is-map-page .mp-count {
        height: 28px;
        padding: 0 9px;
        border-radius: 8px;
        font-size: 11.5px;
    }
    .alm-is-map-page .mp-count b { font-size: 12.5px; }
    /* 统一行：手机端横向留白照效果图 ②（14px），A 类第三行也不会被压窄 */
    /* v1.3.745：纵向 11/13 → 9/10（与 PC 同步收紧） */
    /* v1.3.829：横向 14 → 8 —— 与抽屉 8px 合计 16px/侧（原 27px，用户反馈空白太多） */
    .alm-is-map-page .alm-nearby-list .row { padding: 9px 8px 10px; }
}
