/* =====================================================================
 * 34 · 多语言日期金额格式 intl-format-compare.css —— 护照对照页
 * 主色：藏蓝 + 金箔；母题：护照页 / 钢印章
 * ===================================================================== */

.hc--passport {
    --hc-a: #1d4f8f;
    --hc-a-soft: #e3ecf8;
    --ifc-navy: #16324f;
    --ifc-gold: #b48a2f;
    --ifc-stamp: #c0392b;
}
:root[data-theme="dark"] .hc--passport {
    --hc-a: #7fb0e8;
    --hc-a-soft: #17233a;
    --ifc-navy: #d7e4f5;
    --ifc-gold: #d9b45f;
    --ifc-stamp: #e08a80;
}

/* ---------- 首屏 ---------- */
.ifc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 34px;
    align-items: center;
    padding-top: 26px;
}
.ifc-hero h1 { margin: 14px 0 12px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 780; letter-spacing: -.02em; }

/* 护照卡 */
.ifc-passport {
    position: relative;
    background: var(--ifc-navy);
    color: #f2f6fb;
    border-radius: 14px;
    padding: 22px 24px 26px;
    box-shadow: 0 18px 40px rgba(22, 50, 79, .35);
    overflow: hidden;
    max-width: 340px;
    justify-self: end;
}
.ifc-pass-top {
    letter-spacing: .38em; font-size: 11px; color: var(--ifc-gold);
    border-bottom: 1px solid rgba(255, 255, 255, .18); padding-bottom: 10px; margin-bottom: 12px;
    font-family: var(--hc-serif);
}
.ifc-pass-row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 14px; }
.ifc-pass-row em { font-style: normal; font-size: 11px; letter-spacing: .18em; color: rgba(255, 255, 255, .55); font-family: var(--hc-serif); }
.ifc-pass-row b { font-variant-numeric: tabular-nums; font-weight: 650; }
.ifc-pass-stamp {
    position: absolute; right: 14px; bottom: 12px;
    width: 58px; height: 58px; border: 2px solid var(--ifc-stamp); border-radius: 50%;
    display: grid; place-items: center; color: var(--ifc-stamp);
    font-family: var(--hc-serif); font-weight: 800; font-size: 15px; letter-spacing: .08em;
    transform: rotate(-14deg); opacity: .85;
}

/* 输入区 */
.hc-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.ifc-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ifc-lang {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px; border: 1px solid var(--hc-line-2); border-radius: 999px;
    background: var(--hc-card-2); font-size: 13px;
}
.ifc-lang.is-off { opacity: .45; text-decoration: line-through; }
.ifc-lang b { font-family: var(--hc-serif); font-size: 11px; color: var(--ifc-gold); letter-spacing: .08em; }
.ifc-lang button { border: none; background: none; cursor: pointer; color: var(--hc-muted); font-size: 13px; padding: 0; line-height: 1; }
.ifc-lang button:hover { color: var(--hc-danger); }

/* 结果 */
.hc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.hc-grid2 .hc-card { margin: 0; }
.hc-grid2 .hc-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.hc-grid2 .hc-card-head h3 { margin: 0; font-size: 16.5px; font-weight: 720; }
.hc-grid2 .hc-card-head small { color: var(--hc-muted); font-size: 12px; }
#hc--passport .hc-table-wrap,
.hc--passport .hc-table-wrap { border-color: var(--hc-line-2); }
.ifc-loc { font-family: var(--hc-serif); font-weight: 700; }
.ifc-loc small { display: block; font-family: var(--hc-sans); font-weight: 400; font-size: 11.5px; color: var(--hc-muted); }

@media (max-width: 880px) {
    .ifc-hero { grid-template-columns: 1fr; }
    .ifc-passport { justify-self: start; }
    .hc-grid2 { grid-template-columns: 1fr; }
}
