/* =====================================================
   今日查 · 全球地理 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-card: 0 1px 2px rgba(26, 20, 16, 0.04), 0 4px 16px rgba(26, 20, 16, 0.05);
    --geo-shadow-hover: 0 2px 4px rgba(26, 20, 16, 0.05), 0 10px 28px rgba(26, 20, 16, 0.09), 0 16px 40px rgba(26, 20, 16, 0.05);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    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:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E"),
        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: clamp(30px, 4.5vw, 44px);
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.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: 12px;
    position: relative;
}
.geo-section-h h2 {
    padding-left: 0;
    padding-bottom: 9px;
}
.geo-section-h h2::before {
    content: "";
    position: absolute;
    left: 1px;
    bottom: 0;
    top: auto;
    width: 2.6em;
    height: 2px;
    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-bottom: 8px;
    position: relative;
    color: var(--color-text-main);
    line-height: 1.4;
}
.geo-region-title::after {
    content: "";
    position: absolute;
    left: 1px;
    bottom: 0;
    width: 2.6em;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}
.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,
.geo-sub-block h2,
.geo-about h2 {
    padding-left: 0;
    padding-bottom: 8px;
}
.geo-card h2::before,
.geo-sub-block h2::before,
.geo-about h2::before {
    content: "";
    position: absolute;
    left: 1px;
    top: auto;
    bottom: 0;
    height: 2px;
    bottom: 3px;
    width: 4px;
    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: 1px solid var(--color-primary-border);
    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-bottom: 8px;
    position: relative;
    line-height: 1.4;
}
.geo-art-body h2::after {
    content: "";
    position: absolute;
    left: 1px;
    bottom: 0;
    width: 2.6em;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}
.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; }
}
/* =====================================================
   今日查 · IP 归属地 ip.jinricha.com 专属样式
   基于 tel.css（geo 同源）追加
   ===================================================== */

/* ---------- 首页 hero 查询表单 ---------- */
.ip-hero-form {
    display: flex;
    max-width: 560px;
    margin: 20px auto 0;
    gap: 0;
}
.ip-hero-form input {
    flex: 1;
    border: 1px solid var(--color-primary-border);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: 12px 16px;
    font-size: 15px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    outline: none;
    background: #fff;
    color: var(--color-text-main);
    min-width: 0;
}
.ip-hero-form input:focus { border-color: var(--color-primary); }
.ip-hero-form button {
    border: none;
    background: var(--color-primary);
    color: #fff;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background .15s ease;
    white-space: nowrap;
}
.ip-hero-form button:hover { background: var(--color-primary-hover); }

/* ---------- 我的 IP 大卡 ---------- */
.ip-my-card {
    background: linear-gradient(135deg, var(--color-primary-light), #fff 65%);
    border: 1px solid var(--color-primary-border);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    box-shadow: var(--geo-shadow-hover);
    max-width: 640px;
    margin: 0 auto;
}
.ip-my-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 12px; margin-bottom: 12px;
    border-bottom: 1px dashed var(--color-border);
}
.ip-my-head .lab {
    font-size: 13px;
    color: var(--color-text-muted);
}
.ip-my-head .val {
    font-size: 24px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--color-primary);
    word-break: break-all;
}
.ip-my-head .ver {
    font-size: 12px;
    color: var(--color-gold);
    background: var(--color-gold-light);
    border-radius: 999px;
    padding: 2px 10px;
}
.ip-my-body {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.ip-my-body .flag { font-size: 26px; line-height: 1; }
.ip-my-body .loc { font-size: 16px; font-weight: 600; color: var(--color-text-main); }
.ip-my-body .isp {
    font-size: 13px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border-radius: 999px;
    padding: 3px 12px;
}
.ip-my-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.ip-mini-btn {
    font-size: 13px;
    color: var(--color-primary);
    border: 1px solid var(--color-primary-border);
    background: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    transition: all .15s ease;
}
.ip-mini-btn:hover { background: var(--color-primary-light); }

/* ---------- 热门 IP 卡 ---------- */
.ip-hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}
.ip-hot-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    transition: all .15s ease;
}
.ip-hot-card:hover {
    border-color: var(--color-primary-border);
    box-shadow: var(--geo-shadow-hover);
    transform: translateY(-1px);
}
.ip-hot-card .flag { font-size: 22px; line-height: 1.2; }
.ip-hot-card .ip {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    color: var(--color-primary);
    word-break: break-all;
}
.ip-hot-card .name { font-size: 13px; color: var(--color-text-main); font-weight: 600; }
.ip-hot-card .meta { font-size: 12px; color: var(--color-text-muted); }

/* ---------- 保留段表 ---------- */
.ip-reserved-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ip-reserved-col {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px 20px 14px;
    box-shadow: var(--geo-shadow-card);
}
.ip-reserved-col h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 4px;
    padding-bottom: 10px;
    position: relative;
}
.ip-reserved-col h3::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 2.4em; height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}
.ip-reserved-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.ip-reserved-tbl th {
    text-align: left; font-weight: 600;
    font-size: 12px; color: var(--color-text-muted);
    padding: 8px 8px 6px; border-bottom: 1px solid var(--color-border);
    letter-spacing: 0.04em;
}
.ip-reserved-tbl td {
    padding: 7px 8px;
    border-bottom: 1px solid var(--color-border-light, rgba(0, 0, 0, 0.04));
    color: var(--color-text-regular);
}
.ip-reserved-tbl tbody tr:last-child td { border-bottom: 0; }
.ip-reserved-tbl tbody tr { transition: background-color 0.15s var(--ease, ease); }
.ip-reserved-tbl tbody tr:hover { background: var(--color-primary-soft); }
.ip-reserved-tbl .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: nowrap; font-size: 12.5px; font-weight: 600;
    color: var(--color-text-main);
    background: var(--color-surface-subtle, rgba(0, 0, 0, 0.03));
    border-radius: 5px; padding: 2px 8px;
    display: inline-block;
}
.ip-reserved-tbl .dim {
    color: var(--color-text-muted);
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

/* ---------- FAQ 手风琴 ---------- */
.ip-faq { margin-top: 8px; }
.ip-faq h2 {
    font-size: 20px;
    color: var(--color-text-main);
    margin-bottom: 14px;
}
.ip-faq-list { display: flex; flex-direction: column; gap: 8px; }
.ip-faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.ip-faq-item summary {
    cursor: pointer;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
    list-style: none;
    position: relative;
    padding-right: 40px;
}
.ip-faq-item summary::-webkit-details-marker { display: none; }
.ip-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 400;
}
.ip-faq-item[open] summary::after { content: '−'; }
.ip-faq-item[open] summary { color: var(--color-primary); }
.ip-faq-item p {
    padding: 0 16px 14px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* ---------- 交叉链接 ---------- */
.ip-cross {
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 16px;
}
.ip-cross p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.ip-cross-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ip-cross-links a { font-size: 14px; font-weight: 600; }

/* ---------- 查询详情页 ---------- */
.ip-query-hero { padding-bottom: 8px; }
.ip-result-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--color-primary-border);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    box-shadow: var(--geo-shadow-hover);
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}
.ip-result-flag { font-size: 52px; line-height: 1; }
.ip-result-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ip-result-ip {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 26px;
    color: var(--color-text-main);
    word-break: break-all;
}
.ip-result-ver {
    align-self: flex-start;
    font-size: 12px;
    color: var(--color-gold);
    background: var(--color-gold-light);
    border-radius: 999px;
    padding: 2px 10px;
}
.ip-result-loc { font-size: 15px; color: var(--color-text-secondary); }

.ip-detail-tbl th {
    width: 130px;
    text-align: left;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    vertical-align: top;
}
.ip-detail-tbl td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-main);
}
.ip-detail-tbl tr:last-child th, .ip-detail-tbl tr:last-child td { border-bottom: none; }
.ip-detail-tbl .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ip-detail-note { margin-top: 10px; }
.ip-detail-note p { font-size: 12.5px; color: var(--color-text-muted); line-height: 1.7; }

/* 关联查询 */
.ip-rel { margin-top: 20px; }
.ip-rel h2 {
    font-size: 18px;
    color: var(--color-text-main);
    margin-bottom: 12px;
}
.ip-rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.ip-rel-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 13px 16px;
    transition: all .15s ease;
}
.ip-rel-link:hover { border-color: var(--color-primary-border); box-shadow: var(--geo-shadow-hover); }
.ip-rel-link .n { font-size: 19px; line-height: 1.2; }
.ip-rel-link .meta { font-size: 13px; color: var(--color-text-secondary); }

/* 同网段 */
.ip-same24 { margin-top: 20px; }
.ip-same24 h2 { font-size: 18px; color: var(--color-text-main); margin-bottom: 10px; }
.ip-same-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ip-same-links a {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border-radius: 999px;
    padding: 5px 13px;
    transition: background .15s ease;
}
.ip-same-links a:hover { background: var(--color-primary-light); }

/* 文章页 */
.geo-article h2 {
    font-size: 18px;
    color: var(--color-text-main);
    margin: 22px 0 10px;
}
.geo-article h2:first-child { margin-top: 0; }
.geo-article p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}
.geo-article code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    background: var(--color-surface-subtle, #f7f4ef);
    border-radius: 4px;
    padding: 2px 7px;
    color: var(--color-primary);
}

/* header 查询框（IP 版） */
.ip-query-form input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
    .ip-reserved-grid { grid-template-columns: 1fr; }
    .ip-hero-form { flex-direction: column; gap: 10px; }
    .ip-hero-form input {
        border-right: 1px solid var(--color-primary-border);
        border-radius: var(--radius-md);
        text-align: center;
    }
    .ip-hero-form button { border-radius: var(--radius-md); }
    .ip-result-card { flex-direction: column; text-align: center; align-items: center; }
    .ip-result-ver { align-self: center; }
    .ip-my-card { padding: 18px; }
    .ip-my-head { justify-content: center; }
    .ip-my-head .val { font-size: 19px; }
    .ip-my-body { justify-content: center; }
}

/* ---------- 网段页 v9.24 ---------- */
.ip-ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ip-ex-cell {
    display: flex; flex-direction: column; gap: 4px; padding: 12px 14px;
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.ip-ex-cell:hover { border-color: var(--color-primary-border); box-shadow: var(--shadow-sm); }
.ip-ex-cell b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: var(--color-text); }
.ip-ex-cell span { font-size: 12.5px; color: var(--color-text-3, #8a8f99); }
.ip-net-link { font-weight: 600; }
.ip-hot-groups {
    display: block;
}
.ip-hot-group {
    margin: 24px 0 10px; font-size: 13px; font-weight: 600; color: var(--color-text-3, #8a8f99);
    letter-spacing: .02em;
}
@media (max-width: 760px) {
    .ip-ex-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- v9.25 批量查询 / 详情操作条 / 访客卡 ---------- */
.ip-ops { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ip-ops .ip-mini-btn { cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.ip-ops .ip-mini-btn.ok { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-soft); }
.ip-ops .ip-mini-btn:hover { background: var(--color-primary-light); }

.ip-batch-form { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.ip-batch-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--color-border);
    border-radius: var(--radius-md); background: var(--color-surface-subtle); color: var(--color-text-main);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7;
    resize: vertical; min-height: 120px; outline: none;
    transition: border-color .15s ease;
}
.ip-batch-form textarea:focus { border-color: var(--color-primary); }
.ip-batch-form button {
    align-self: flex-start; padding: 10px 28px; border: none; border-radius: 999px;
    background: var(--color-primary); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background .15s ease;
}
.ip-batch-form button:hover { background: var(--color-primary-hover); }
.ip-batch-tbl td a { font-weight: 600; }
.ip-vcard .ip-my-body { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ip-vcard .ip-my-body a { font-weight: 600; }
.ip-vcard[hidden] { display: none; }

/* ---------- v9.25 暗色模式（跟随系统） ---------- */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --color-bg: #17130f;
        --color-surface: #221c16;
        --color-surface-subtle: #282119;
        --color-text-main: #f0eae0;
        --color-text-regular: #cfc7ba;
        --color-text-muted: #958d80;
        --color-border: #3a332b;
        --color-border-light: #2c2620;
    }
    body { background: #17130f; }
    .site-header { background: #1d1813; }
    .site-footer { background: #1d1813; }
    .geo-main {
        --color-primary: #e0654e;
        --color-primary-hover: #ea7d68;
        --color-primary-light: #331d15;
        --color-primary-border: #54291d;
        --color-primary-soft: rgba(224, 101, 78, 0.16);
        --color-gold: #d9a44c;
        --color-gold-light: #2b2113;
        --geo-shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.45);
        --geo-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
    }
    .geo-stat, .ip-result-card, .ip-rel-link, .ip-faq-item, .ip-mini-btn,
    .ip-hot-card, .ip-ex-cell, .ip-detail-note, .geo-detail-card, .ip-my-card {
        background: var(--color-surface);
    }
    .env { background: linear-gradient(160deg, #262019 0%, #1c1712 100%); color: #b8ab99; }
    .geo-hero { background: radial-gradient(circle, rgba(224, 101, 78, 0.10), transparent 70%); }
    .geo-tbl tbody tr:hover td { background: var(--color-primary-soft); }
    .geo-search-form input, .ip-hero-form input {
        background: var(--color-surface-subtle);
        color: var(--color-text-main);
        border-color: var(--color-border);
    }
}

/* ---------- v9.26 我的IP 页 / API 文档页 ---------- */
.ip-my-hero {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    max-width: 640px; margin: 0 auto; padding: 30px 22px;
    background: linear-gradient(160deg, var(--color-primary-light), var(--color-surface));
    border: 1px solid var(--color-primary-border); border-radius: var(--radius-lg);
    box-shadow: var(--geo-shadow-card); text-align: center;
}
.mip-lab { font-size: 14px; color: var(--color-text-muted); letter-spacing: 2px; }
.mip-big {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(26px, 5.2vw, 40px); font-weight: 800; color: var(--color-primary);
    word-break: break-all; line-height: 1.2;
}
.mip-meta { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--color-text-regular); }
.mip-meta .isp { color: var(--color-text-muted); }
.mip-meta .flag { font-size: 18px; }

.ip-api-code {
    margin: 0 0 14px; padding: 14px 16px; overflow-x: auto;
    background: var(--color-surface-subtle); border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px; line-height: 1.75; color: var(--color-text-main); white-space: pre;
}
.ip-detail-tbl td.mono { font-size: 13px; }

@media (max-width: 640px) {
    .ip-my-hero { padding: 24px 14px; }
    .ip-api-code { font-size: 12.5px; padding: 12px; }
}

/* ---------- v9.27 视觉精修：国旗降级 / 出现动画 / FAQ 动效 / 滚动条 ---------- */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--color-primary, #b83324); color: #fff;
    padding: 10px 18px; border-radius: 0 0 10px 0; font-size: 14px;
}
.skip-link:focus { left: 0; }
.flag-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; line-height: 1; overflow: hidden; }
.flag-wrap .flag-img {
    display: block; position: relative; z-index: 1;
    max-width: 40px; max-height: 30px; object-fit: cover;
    border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.10);
}
.flag-wrap .flag-emoji {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 14px; line-height: 1; letter-spacing: -1px; z-index: 0;
}
.ip-hot-card .flag-wrap .flag-img { width: 24px; height: auto; }

@keyframes ipFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.ip-vcard, .ip-my-hero, #mip-env, .ip-ops { animation: ipFadeUp .45s ease both; }
@media (prefers-reduced-motion: reduce) {
    .ip-vcard, .ip-my-hero, #mip-env, .ip-ops { animation: none; }
}

.ip-faq-item summary { transition: background .15s ease; }
.ip-faq-item summary:hover { background: var(--color-primary-soft); }
.ip-faq-item[open] summary::after { content: '\2212'; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--color-border); border-radius: 999px;
    border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }
html { scrollbar-color: var(--color-border) transparent; }

@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-thumb { background: #453c33; }
    ::-webkit-scrollbar-thumb:hover { background: #5a5045; }
    html { scrollbar-color: #453c33 transparent; }
}


/* =====================================================
   v930 深度美化：入场序列/按钮渐变/焦点环/斑马纹/徽章
   ===================================================== */
.geo-hero > h1,
.geo-hero > p,
.geo-hero > .ip-hero-form,
.geo-hero > .geo-stat-row {
    animation: ipFadeUp 0.55s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.geo-hero > p { animation-delay: 0.07s; }
.geo-hero > .ip-hero-form { animation-delay: 0.14s; }
.geo-hero > .geo-stat-row { animation-delay: 0.21s; }

.ip-hero-form input {
    transition: border-color 0.2s var(--ease, ease), box-shadow 0.2s var(--ease, ease);
}
.ip-hero-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}
.ip-hero-form button {
    background: linear-gradient(180deg, #c43c2b, #b03022);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 6px rgba(26, 20, 16, 0.20);
    transition: transform 0.2s var(--ease, ease), box-shadow 0.2s var(--ease, ease), filter 0.2s var(--ease, ease);
}
.ip-hero-form button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(26, 20, 16, 0.24);
}
.ip-hero-form button:active { transform: translateY(0); filter: brightness(0.98); }

.geo-tbl tbody tr { transition: background-color 0.15s var(--ease, ease); }
.geo-tbl tbody tr:nth-child(even) { background: var(--color-surface-subtle, rgba(0, 0, 0, 0.015)); }
.geo-tbl tbody tr:hover { background: var(--color-primary-soft); }

.ip-faq-item[open] .ip-faq-a,
.ip-faq-item[open] p { animation: ipFadeUp 0.3s var(--ease, ease) both; }

.geo-hot-card:hover { transform: translateY(-3px); }
.ip-mini-btn { transition: transform 0.15s var(--ease, ease), box-shadow 0.15s var(--ease, ease); }
.ip-mini-btn:hover { transform: translateY(-1px); }

.ip-my-body2 {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px dashed var(--color-border-light, var(--color-border));
}
.ip-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
}
.ip-badge.gold { background: var(--color-gold-light, rgba(183, 121, 31, 0.08)); color: var(--color-gold); }
.ip-my-body2 a.ip-badge { text-decoration: none; transition: transform 0.15s var(--ease, ease), background 0.15s; }
.ip-my-body2 a.ip-badge:hover { transform: translateY(-1px); background: var(--color-primary-light); }

@media (prefers-reduced-motion: reduce) {
    .geo-hero > h1, .geo-hero > p, .geo-hero > .ip-hero-form, .geo-hero > .geo-stat-row { animation: none; }
    .ip-faq-item[open] .ip-faq-a, .ip-faq-item[open] p { animation: none; }
}




