/* =====================================================
   今日查 · 全球地理 geo.jinricha.com 主题增补 v2
   与主站完全同源：朱砂红 + 宣纸米白 + 中式纸墨美学
   基础复用主站 /view/wannianli/style/style.css
   ===================================================== */

/* ---------- 主题变量：与主站同源 ---------- */
.geo-main {
    --color-primary: #b83324;
    --color-primary-hover: #97271a;
    --color-primary-light: #fbf2f0;
    --color-primary-border: #f3d4d0;
    --color-primary-soft: rgba(184, 51, 36, 0.08);
    --color-gold: #b7791f;
    --color-gold-light: #fefbf3;
    --geo-shadow-hover: 0 6px 18px rgba(184, 51, 36, 0.10);
    --geo-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);

    padding: 24px 0 48px;
    min-height: calc(100vh - 300px);
}

.geo-main a { color: var(--color-primary); }

.geo-main ::selection {
    background: var(--color-primary);
    color: #fff;
}

.geo-main :focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ---------- Header 补充（基础样式由主站 style.css 提供） ---------- */

/* 搜索框（主站红系） */
.geo-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    max-width: 340px;
    flex: 1 1 220px;
}
.geo-search-form input {
    flex: 1;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    background: var(--color-surface-subtle);
    color: var(--color-text-main);
    min-width: 0;
    transition: border-color .15s ease, background .15s ease;
}
.geo-search-form input::placeholder { color: var(--color-text-muted); }
.geo-search-form input:focus {
    border-color: var(--color-primary);
    background: #fff;
}
.geo-search-form button {
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    padding: 8px 12px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background .15s ease;
}
.geo-search-form button:hover { background: var(--color-primary-hover); }
@media (max-width: 900px) {
    .geo-search-form { display: none; }
}

/* 地球图标（保留兼容；品牌现已统一使用主站 calendar.svg） */
.geo-globe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    flex-shrink: 0;
}
.geo-globe-sm { width: 30px; height: 30px; }

/* 品牌副标题（主站 brand-subtitle 同款） */
.geo-brand-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-left: 6px;
    white-space: nowrap;
}

/* 主站入口胶囊 */
.nav-menu .geo-nav-main {
    border: 1px solid var(--color-primary-border);
    border-radius: 16px;
    padding: 4px 12px;
    color: var(--color-primary);
    font-size: 14px;
}
.nav-menu .geo-nav-main:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
}

/* 移动端导航内搜索 */
.mobile-nav .geo-search-form {
    display: flex;
    max-width: none;
    margin-left: 0;
}

/* ---------- 首页 Hero（宣纸 + 朱砂） ---------- */
.geo-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(184, 51, 36, 0.055), rgba(184, 51, 36, 0.015) 55%),
        var(--color-surface);
    border: 1px solid var(--color-primary-border);
    border-radius: var(--radius-md);
    padding: 40px 32px 36px;
    margin-bottom: 28px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--geo-shadow-card);
}
.geo-hero::before,
.geo-hero::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 51, 36, 0.05), transparent 70%);
    pointer-events: none;
}
.geo-hero::before { top: -40px; left: -40px; }
.geo-hero::after { bottom: -50px; right: -40px; }

.geo-hero h1 {
    font-size: 32px;
    margin: 0 0 10px;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
}
.geo-hero p {
    margin: 0 auto 22px;
    color: var(--color-text-regular);
    max-width: 660px;
    font-size: 15px;
    line-height: 1.8;
}

.geo-stat-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.geo-stat {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    min-width: 116px;
    box-shadow: var(--geo-shadow-card);
    transition: transform .15s ease, box-shadow .15s ease;
}
.geo-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--geo-shadow-hover);
}
.geo-stat b {
    display: block;
    font-size: 24px;
    color: var(--color-primary);
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
.geo-stat span {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ---------- 区块标题 ---------- */
.geo-section { margin-top: 32px; }
.geo-section-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}
.geo-section-h h2 {
    font-size: 20px;
    margin: 0;
    color: var(--color-text-main);
    padding-left: 0;
    position: relative;
}
.geo-section-h h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 2.6em;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
}
.geo-section-h .geo-more {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ---------- 国家卡片网格 ---------- */
.geo-country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.geo-country-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    text-decoration: none;
    box-shadow: var(--geo-shadow-card);
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
    min-width: 0;
}
.geo-country-card:hover {
    border-color: var(--color-primary-border);
    box-shadow: var(--geo-shadow-hover);
    transform: translateY(-2px);
}
.geo-country-card .flag {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
    transition: transform .15s ease;
}
.geo-country-card:hover .flag { transform: scale(1.12); }
.geo-country-card .cc-name {
    font-size: 14px;
    color: var(--color-text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.geo-country-card .cc-code {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-left: auto;
    flex-shrink: 0;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    padding: 1px 5px;
    font-variant-numeric: tabular-nums;
}

/* ---------- 大洲分组标题 ---------- */
.geo-region-title {
    font-size: 17px;
    margin: 28px 0 12px;
    padding-left: 0;
    padding-bottom: 8px;
    position: relative;
    color: var(--color-text-main);
    line-height: 1.4;
}
.geo-region-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.6em;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
}
.geo-region-title small {
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 8px;
    font-size: 13px;
}

/* ---------- 面包屑 ---------- */
.crumb,
.geo-crumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}
.crumb a,
.geo-crumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color .15s ease;
}
.crumb a:hover,
.geo-crumb a:hover { color: var(--color-primary); }
.crumb .sep,
.geo-crumb .sep { margin: 0 6px; color: var(--color-border); }

/* ---------- 详情页头部 ---------- */
.geo-detail-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}
.geo-detail-head .geo-flag,
.geo-page-head .flag {
    font-size: 52px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.14));
}
.geo-detail-head h1,
.geo-page-head h1 {
    font-size: 26px;
    margin: 0;
    color: var(--color-text-main);
    letter-spacing: 0.3px;
}
.geo-detail-head .geo-sub,
.geo-page-head .en {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.geo-lead,
.geo-intro {
    color: var(--color-text-regular);
    font-size: 14px;
    line-height: 1.85;
    margin: 12px 0 20px;
}

/* ---------- 键值信息网格 ---------- */
.geo-info-grid,
.geo-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 18px 0;
}
.geo-info-item,
.geo-fact {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    background: var(--color-surface);
    box-shadow: var(--geo-shadow-card);
    transition: border-color .15s ease;
}
.geo-info-item:hover,
.geo-fact:hover { border-color: var(--color-primary-border); }
.geo-info-item .k,
.geo-fact .k {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}
.geo-info-item .v,
.geo-fact .v {
    font-size: 15px;
    color: var(--color-text-main);
    font-weight: 600;
    overflow-wrap: break-word;
}
.geo-info-item .v small {
    font-weight: 400;
    color: var(--color-text-muted);
}

/* ---------- 日出日落卡 ---------- */
.geo-sun .sun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.geo-sun .sun-cell {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    padding: 12px 14px;
    box-shadow: var(--geo-shadow-card);
}
.geo-sun .sun-time {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
}

/* ---------- 卡片容器 ---------- */
.geo-card { padding: 20px 22px; }
.geo-card h2,
.geo-sub-block h2,
.geo-about h2 {
    font-size: 18px;
    margin: 0 0 14px;
    color: var(--color-text-main);
    padding-left: 11px;
    position: relative;
}
.geo-card h2::before,
.geo-sub-block h2::before,
.geo-about h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: auto;
    bottom: -7px;
    width: 2.6em;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
}

/* ---------- 列表（州/城市/邮编区） ---------- */
.geo-list,
.geo-city-list,
.geo-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.geo-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 14px;
    background: var(--color-surface);
    transition: border-color .15s ease, background .15s ease;
    min-width: 0;
}
.geo-list-item:hover {
    border-color: var(--color-primary-border);
    background: var(--color-primary-light);
}
.geo-list-item .n {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.geo-list-item .meta {
    font-size: 12px;
    color: var(--color-text-muted);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ---------- 邮编列表 ---------- */
.geo-zips { display: grid; gap: 8px; }

/* ---------- 分页 ---------- */
.geo-pager {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 18px;
    justify-content: center;
}
.geo-pager a,
.geo-pager span {
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text-regular);
    font-size: 13px;
    text-decoration: none;
    transition: all .15s ease;
    font-variant-numeric: tabular-nums;
}
.geo-pager a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.geo-pager span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
}

/* ---------- 空态 ---------- */
.geo-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    background: var(--color-surface-subtle);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
}

/* ---------- 关于页 ---------- */
.geo-about { line-height: 1.85; }
.geo-about h2 { margin-top: 22px; }
.geo-about a { color: var(--color-primary); }
.geo-odbl {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ---------- 搜索结果分组 ---------- */
.geo-search-group { margin-top: 26px; }
.geo-search-group h2 {
    font-size: 17px;
    margin: 0 0 12px;
    color: var(--color-text-main);
}

/* ---------- 邮编格式解读区块 ---------- */
.geo-fmt,
.geo-sub-block {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--geo-shadow-card);
}
.geo-sub-block h2 { margin: 0 0 12px; font-size: 16px; }
.fmt-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.fmt-desc {
    color: var(--color-text-regular);
    font-size: 13px;
}
.zip-format {
    display: inline-flex;
    gap: 3px;
    flex-wrap: wrap;
    align-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 700;
}
.zip-format .zf-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 26px;
    padding: 0 4px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid var(--color-primary-border);
    border-radius: 5px;
}
.zip-format .zf-a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 26px;
    padding: 0 4px;
    background: var(--color-gold-light);
    color: var(--color-gold);
    border: 1px solid rgba(183, 121, 31, 0.35);
    border-radius: 5px;
}
.zip-format .zf-s {
    color: var(--color-text-muted);
    padding: 0 1px;
}
.fmt-rows { margin-top: 12px; display: grid; gap: 8px; }
.fmt-row {
    display: flex;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
    padding: 7px 10px;
    background: var(--color-surface-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-light);
}
.fmt-pos {
    min-width: 110px;
    font-weight: 600;
    color: var(--color-primary);
}
.fmt-cn {
    color: var(--color-text-regular);
    flex: 1;
    min-width: 180px;
}
.fmt-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ---------- 邮编直接答案 ---------- */
.pc-answer {
    margin: 0 0 14px;
    padding: 12px 16px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-main);
}
.pc-answer b { color: var(--color-primary); }

/* ---------- 热门城市邮编内链 ---------- */
.geo-hot-zips { display: flex; flex-wrap: wrap; gap: 10px; }
.geo-hot-zips a {
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 14px;
    background: var(--color-surface);
    color: var(--color-text-regular);
    text-decoration: none;
    box-shadow: var(--geo-shadow-card);
    transition: border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.geo-hot-zips a:hover {
    border-color: var(--color-primary-border);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--geo-shadow-hover);
}

/* ---------- FAQ ---------- */
.geo-faq { display: grid; gap: 10px; }
.geo-faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    overflow: hidden;
    transition: border-color .15s ease;
}
.geo-faq-item:hover { border-color: var(--color-primary-border); }
.geo-faq-item summary {
    cursor: pointer;
    padding: 13px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-main);
    list-style: none;
    position: relative;
    padding-right: 40px;
}
.geo-faq-item summary::-webkit-details-marker { display: none; }
.geo-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}
.geo-faq-item[open] {
    border-color: var(--color-primary-border);
}
.geo-faq-item[open] summary::after { content: '\2212'; }
.geo-faq-a {
    padding: 0 16px 14px;
    color: var(--color-text-regular);
    font-size: 14px;
    line-height: 1.75;
}

/* ---------- 页脚补充 ---------- */
.footer-bottom {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 13px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .geo-main { padding: 16px 0 36px; }
    .geo-hero { padding: 28px 18px 26px; }
    .geo-hero h1 { font-size: 25px; }
    .geo-hero p { font-size: 14px; }
    .geo-stat { padding: 10px 16px; min-width: 96px; }
    .geo-stat b { font-size: 20px; }
    .geo-country-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
    .geo-detail-head h1,
    .geo-page-head h1 { font-size: 21px; }
    .geo-detail-head .geo-flag,
    .geo-page-head .flag { font-size: 40px; }
    .geo-list,
    .geo-city-list,
    .geo-state-grid,
    .geo-info-grid,
    .geo-facts { grid-template-columns: 1fr 1fr; }
    .geo-card { padding: 16px; }
    .geo-sub-block { padding: 14px; }
    .fmt-row { flex-direction: column; gap: 2px; }
    .fmt-pos { min-width: 0; }
}

@media (max-width: 480px) {
    .geo-list,
    .geo-city-list,
    .geo-state-grid,
    .geo-info-grid,
    .geo-facts { grid-template-columns: 1fr; }
    .geo-hero { padding: 24px 14px 22px; }
    .geo-stat-row { gap: 8px; }
    .geo-stat { min-width: 84px; padding: 8px 12px; }
}

/* ---------- v9.21 信封示意图 ---------- */
.env-wrap { margin-top: 16px; }
.env-note { font-size: 13px; color: var(--color-text-muted); margin: 0 0 10px; }
.env {
    position: relative;
    aspect-ratio: 107 / 66;
    background: linear-gradient(160deg, #fdfaf3 0%, #f7f1e4 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--geo-shadow-card);
    color: #4a4238;
    overflow: hidden;
}
.env:before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 40%;
    border-bottom: 1px dashed #c9bda9;
    background: linear-gradient(135deg, rgba(184, 51, 36, 0.03), transparent 60%);
}
.env-from {
    position: absolute;
    left: 5%; top: 10%;
    font-size: 11px;
    line-height: 1.55;
    max-width: 44%;
    font-family: "Noto Serif SC", serif;
}
.env-lab { font-size: 10px; letter-spacing: 2px; color: #8a7f6f; }
.env-line { display: block; }
.env-stamp {
    position: absolute;
    right: 4%; top: 9%;
    width: 13%; min-width: 58px;
    aspect-ratio: 4 / 3;
    border: 1.5px dashed #b8a98e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    color: #b8a98e;
    letter-spacing: 2px;
}
.env-to {
    position: absolute;
    left: 36%; right: 5%; top: 52%;
    font-size: 12.5px;
    line-height: 1.6;
    font-family: "Noto Serif SC", serif;
}
.env-code { font-weight: 700; font-size: 14px; letter-spacing: 1px; }

/* ---------- v9.21 文章页 ---------- */
.geo-art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.geo-art-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.geo-art-card:hover { box-shadow: var(--geo-shadow-hover); transform: translateY(-2px); }
.geo-art-card-t { font-size: 15.5px; font-weight: 600; color: var(--color-text-main); line-height: 1.4; }
.geo-art-card-d {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.geo-art-card-m { font-size: 12px; color: var(--color-text-muted); opacity: 0.8; }
.geo-art-meta { font-size: 12.5px; color: var(--color-text-muted); margin-top: 6px; }
.geo-art-body { line-height: 1.85; font-size: 15px; color: var(--color-text-main); }
.geo-art-body h2 {
    font-size: 18px;
    margin: 24px 0 10px;
    padding-left: 0;
    padding-bottom: 8px;
    position: relative;
    line-height: 1.4;
}
.geo-art-body h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.6em;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
}
.geo-art-body p { margin: 10px 0; }
.geo-art-body ul, .geo-art-body ol { padding-left: 22px; margin: 10px 0; }
.geo-art-body li { margin: 4px 0; }
.geo-art-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.geo-art-body th, .geo-art-body td { border: 1px solid var(--color-border); padding: 7px 10px; text-align: left; }
.geo-art-body th { background: var(--color-primary-light); font-weight: 600; }
.geo-art-body a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.geo-art-mini {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--color-text-main);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.geo-art-mini:hover { border-color: var(--color-primary); color: var(--color-primary); }
/* ============================================================
   tel.jinricha.com 专属样式（追加于 geo.css 同源主题之上）
   同源设计语言：朱砂红 --geo-primary / 宣纸底 --geo-paper
   ============================================================ */

/* ---------- Hero：国家/区号页旗帜角标 ---------- */
.tel-hero-flag {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 14px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12));
}

/* ---------- 热门区号卡（首页/搜索共用） ---------- */
.tel-hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.tel-hot-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tel-hot-card:hover {
    border-color: var(--geo-primary, #b83324);
    box-shadow: 0 6px 18px rgba(184, 51, 36, .10);
    transform: translateY(-2px);
}
.tel-hot-card .flag {
    font-size: 24px;
    line-height: 1;
}
.tel-hot-card .code {
    font-size: 22px;
    font-weight: 800;
    color: var(--geo-primary, #b83324);
    font-variant-numeric: tabular-nums;
    letter-spacing: .5px;
    line-height: 1.1;
}
.tel-hot-card .name {
    font-size: 13px;
    color: var(--geo-ink, #2d2a26);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ---------- 数字分区导航 ---------- */
.tel-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.tel-group-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 12px;
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tel-group-card:hover {
    border-color: var(--geo-primary, #b83324);
    box-shadow: 0 6px 18px rgba(184, 51, 36, .10);
    transform: translateY(-2px);
}
.tel-group-card .d {
    font-size: 26px;
    font-weight: 800;
    color: var(--geo-primary, #b83324);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.tel-group-card .n {
    font-size: 12px;
    color: var(--geo-muted, #8a8577);
}

/* ---------- 区号总表 ---------- */
.tel-table-wrap {
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}
.tel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.tel-table th,
.tel-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--geo-border-soft, #f1ebe1);
    vertical-align: middle;
}
.tel-table thead th {
    background: var(--geo-head, #faf6ef);
    font-size: 12px;
    font-weight: 700;
    color: var(--geo-muted, #8a8577);
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
}
.tel-table tbody tr:last-child td { border-bottom: none; }
.tel-table tbody tr:hover td { background: rgba(184, 51, 36, .035); }
.tel-table a {
    color: var(--geo-primary, #b83324);
    text-decoration: none;
    font-weight: 700;
}
.tel-table a:hover { text-decoration: underline; }
.tel-code-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tel-code-link .fl { font-size: 18px; line-height: 1; }
.tel-tbl-shared {
    font-size: 13px;
    color: var(--geo-muted, #8a8577);
}
.tel-g-title {
    font-size: 18px;
    margin: 26px 0 12px;
    color: var(--geo-ink, #2d2a26);
}
.tel-g-title small {
    font-size: 13px;
    font-weight: 400;
    color: var(--geo-muted, #8a8577);
    margin-left: 8px;
}

/* ---------- 国家页：共享国家列表 ---------- */
.tel-shared-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}
.tel-shared-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    color: var(--geo-ink, #2d2a26);
    transition: border-color .18s ease;
}
.tel-shared-item:hover { border-color: var(--geo-primary, #b83324); }
.tel-shared-item .flag { font-size: 20px; line-height: 1; }

/* ---------- 区号列表（国家页） ---------- */
.tel-area-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}
.tel-area-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.tel-area-item:hover {
    border-color: var(--geo-primary, #b83324);
    box-shadow: 0 4px 14px rgba(184, 51, 36, .08);
}
.tel-area-item .n {
    font-weight: 800;
    font-size: 15px;
    color: var(--geo-primary, #b83324);
    font-variant-numeric: tabular-nums;
}
.tel-area-item .meta {
    font-size: 12px;
    color: var(--geo-muted, #6d685c);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 覆盖地名（区号页） ---------- */
.tel-place-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tel-place {
    display: inline-block;
    padding: 6px 12px;
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 999px;
    font-size: 13px;
    color: var(--geo-ink, #2d2a26);
}
.tel-place-empty {
    border-style: dashed;
    color: var(--geo-muted, #8a8577);
}

/* ---------- 同国其他区号 ---------- */
.tel-peer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
.tel-peer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 9px 13px;
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .18s ease;
}
.tel-peer:hover { border-color: var(--geo-primary, #b83324); }
.tel-peer b {
    font-weight: 800;
    color: var(--geo-primary, #b83324);
    font-variant-numeric: tabular-nums;
}
.tel-peer span {
    font-size: 12px;
    color: var(--geo-muted, #6d685c);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- geo 交叉引导卡 ---------- */
.tel-cross {
    background: var(--geo-head, #faf6ef);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 6px 0 28px;
}
.tel-cross p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--geo-ink, #2d2a26);
}
.tel-cross a {
    font-weight: 700;
    color: var(--geo-primary, #b83324);
    text-decoration: none;
}
.tel-cross a:hover { text-decoration: underline; }

/* ---------- 拨打方式三卡 ---------- */
.tel-dial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}
.tel-dial-card {
    background: var(--geo-card, #fff);
    border: 1px solid var(--geo-border, #ece5da);
    border-radius: 14px;
    padding: 18px 20px;
}
.tel-dial-card h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--geo-muted, #6d685c);
}
.tel-dial-card code {
    display: block;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--geo-primary, #b83324);
    background: var(--geo-head, #faf6ef);
    border: 1px dashed var(--geo-primary-soft, #e3c1ba);
    border-radius: 10px;
    padding: 11px 13px;
    letter-spacing: .5px;
    word-break: break-all;
    margin-bottom: 9px;
}
.tel-dial-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--geo-muted, #6d685c);
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 720px) {
    .tel-hero-flag { font-size: 48px; }
    .tel-hot-grid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
    .tel-group-grid { grid-template-columns: repeat(3, 1fr); }
    .tel-area-list { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
    .tel-table th, .tel-table td { padding: 9px 10px; font-size: 13px; }
    .tel-dial-card code { font-size: 14px; }
}
/* ============================================================
   phone.jinricha.com append (tel.css 基础上叠加)
   ============================================================ */

/* --- 查询表单 --- */
.ip-hero-form { display: flex; gap: .6rem; max-width: 560px; margin: 1.4rem auto 0; }
.ip-hero-form input { flex: 1; padding: .8rem 1rem; border: 1px solid var(--geo-border, #e3dcd4); border-radius: 10px; font-size: 1rem; background: #fff; }
.ip-hero-form button { padding: .8rem 1.4rem; background: #b83324; color: #fff; border: 0; border-radius: 10px; font-size: .95rem; cursor: pointer; white-space: nowrap; }
.ip-hero-form button:hover { background: #992a1d; }
.ph-search-tip { color: #992a1d; font-size: .92rem; margin-top: .8rem; }

/* --- 运营商分组 --- */
.ph-opgroup { margin-bottom: 1.4rem; }
.ph-opgroup-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .6rem; }
.ph-opgroup-h b { font-size: 1rem; color: #2b2118; }
.ph-opgroup-h span { font-size: .82rem; color: #8d8175; }
.ph-p3-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.ph-p3-cell { display: block; text-align: center; padding: .55rem .3rem; border: 1px solid #e8e0d5; border-radius: 8px; background: #fff; font-weight: 600; color: #2b2118; font-size: .95rem; transition: all .15s; }
.ph-p3-cell:hover { border-color: #b83324; color: #b83324; background: #fdf5f3; }

/* --- 省份区块 --- */
.ph-region { margin-bottom: 1.2rem; }
.ph-region-h { font-size: .85rem; font-weight: 700; color: #b83324; letter-spacing: .1em; margin-bottom: .5rem; }
.ph-prov-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.ph-prov-link { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; background: #fff; border: 1px solid #e8e0d5; border-radius: 8px; color: #2b2118; font-size: .9rem; }
.ph-prov-link:hover { border-color: #b83324; color: #b83324; }
.ph-prov-link span { font-size: .78rem; color: #8d8175; }

/* --- 号段详情卡 --- */
.ph-seg-flag { font-size: 2.4rem; }
.ph-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ph-tel-link { color: #b83324; font-weight: 600; }
.ph-tel-link .dim { color: #8d8175; font-weight: 400; font-size: .85rem; }
.ph-near-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.ph-near { display: inline-flex; align-items: baseline; gap: .4rem; padding: .45rem .8rem; background: #fff; border: 1px solid #e8e0d5; border-radius: 8px; color: #2b2118; font-weight: 600; font-size: .9rem; }
.ph-near:hover { border-color: #b83324; color: #b83324; }
.ph-near span { font-size: .8rem; color: #8d8175; font-weight: 400; }
.ph-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.ph-stat-card { background: #fff; border: 1px solid #e8e0d5; border-radius: 10px; padding: .9rem 1rem; }
.ph-stat-card b { display: block; font-size: 1rem; color: #2b2118; }
.ph-stat-card span { font-size: .82rem; color: #8d8175; }
.geo-article p { line-height: 1.9; margin-bottom: .8rem; }

@media (max-width: 640px) {
    .ip-hero-form { flex-direction: column; }
    .ph-p3-grid { grid-template-columns: repeat(3, 1fr); }
}


/* =====================================================
   v2026110802 深度美化：表格卡片化 / 区号 chip / FAQ 动效
   ===================================================== */
.geo-detail-card {
    background: #fff;
    border: 1px solid #e8e0d5;
    border-radius: 14px;
    box-shadow: var(--geo-shadow-card, 0 1px 3px rgba(0, 0, 0, .04));
    padding: 4px 18px;
    overflow-x: auto;
}
.geo-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.geo-tbl th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    color: #8d8175;
    background: #faf6f0;
    padding: 11px 14px;
    border-bottom: 1px solid #f0e9df;
    white-space: nowrap;
}
.geo-tbl td {
    padding: 12px 14px;
    border-top: 1px solid #f0e9df;
    color: #2b2118;
    font-variant-numeric: tabular-nums;
}
.geo-tbl tbody tr:first-child td { border-top: 0; }
.geo-tbl tbody tr:nth-child(even) { background: #fbf8f4; }
.geo-tbl tbody tr { transition: background .15s cubic-bezier(.22, 1, .36, 1); }
.geo-tbl tbody tr:hover { background: var(--color-primary-soft); }
.geo-tbl td:first-child { font-weight: 600; }
.ph-tbl th:nth-child(2) { text-align: right; }
.ph-tbl td.num { text-align: right; color: #5a4f44; }
.ph-tel-link {
    display: inline-flex;
    align-items: center;
    padding: 2px 11px;
    background: var(--color-primary-soft);
    border-radius: 999px;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}
.ph-tel-link:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.geo-faq h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 12px;
    padding-bottom: 9px;
    position: relative;
}
.geo-faq h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.2em;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
}
.geo-faq-item { transition: border-color .15s ease, box-shadow .15s ease; }
.geo-faq-item:hover { box-shadow: var(--geo-shadow-hover, 0 6px 18px rgba(184, 51, 36, .10)); }
.geo-faq-item summary { transition: background .15s ease; }
.geo-faq-item summary:hover { background: var(--color-primary-soft); }
.geo-faq-item[open] .geo-faq-a { animation: phFaqIn .22s cubic-bezier(.22, 1, .36, 1); }
@keyframes phFaqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .geo-faq-item[open] .geo-faq-a { animation: none; }
    .geo-tbl tbody tr { transition: none; }
}

.geo-faq-list { display: grid; gap: 10px; }
