/* ==========================================================================
   tokens.css — 伴途「纯白极简 · 高级深灰器物 · 苹果毛玻璃 · 衬线大字」底座
   ========================================================================== */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../assets/fonts/CormorantGaramond-VF-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    size-adjust: 112%;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../assets/fonts/CormorantGaramond-VF-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    size-adjust: 112%;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../assets/fonts/CormorantGaramond-Italic-VF-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
    size-adjust: 112%;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../assets/fonts/CormorantGaramond-Italic-VF-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
    size-adjust: 112%;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond Italic';
    src: url('../../assets/fonts/CormorantGaramond-Italic-VF-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    size-adjust: 112%;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond Italic';
    src: url('../../assets/fonts/CormorantGaramond-Italic-VF-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    size-adjust: 112%;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cinzel';
    src: url('../../assets/fonts/Cinzel-VF-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cinzel';
    src: url('../../assets/fonts/Cinzel-VF-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Serif SC';
    src: url('../../assets/fonts/NotoSerifSC-VF.ttf') format('truetype');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* 黄金衬线三剑客字体家族 */
    --font-editorial: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    --font-italic-mix: 'Cormorant Garamond Italic', 'Noto Serif SC', Georgia, serif;
    --font-display: 'Cinzel', 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;

    /* 温润白瓷主屏与高级深灰器物色阶（全站去金色与刺眼死白） */
    --c-screen: #F9F9F7;
    --c-stage-outer: #ECEDF0;
    --c-btn-top: #F7F8FA;
    --c-btn-bottom: #ECEEF2;
    --c-btn-flat: #F2F3F6;
    --c-field-bg: #F5F6F8;
    --c-surface-soft: #F8F9FA;

    /* 深灰器物核心色系 */
    --c-accent: #2E3138;
    --c-accent-solid: #353840;
    --c-accent-deep: #1E2025;
    --c-accent-tint: rgba(46, 49, 56, 0.08);
    --c-divider-line: #CFD3DC;

    /* 墨色字阶 */
    --c-ink-1: #1E2025;
    --c-ink-2: #3A3D45;
    --c-ink-3: #6C707A;
    --c-ink-4: #9BA0AA;

    /* 克制语义色 */
    --c-route-walk: #2B7E52;
    --c-route-transit: #346094;
    --c-route-cycle: #353840;
    --c-success: #24784B;
    --c-danger: #B33A2E;

    /* 苹果毛玻璃与下方景深多层阴影 */
    --glass-bg: rgba(255, 255, 255, 0.80);
    --glass-bg-strong: rgba(255, 255, 255, 0.90);
    --glass-border: rgba(255, 255, 255, 0.96);
    --shadow-float-down:
        0 26px 54px -10px rgba(18, 22, 33, 0.24),
        0 12px 24px -6px rgba(46, 49, 56, 0.14),
        0 2px 6px rgba(18, 22, 33, 0.08);
    --shadow-circle-btn:
        0 8px 18px -6px rgba(24, 28, 38, 0.15),
        0 2px 6px -1px rgba(46, 49, 56, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);

    /* 苹果弹簧曲线 */
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: rgba(53, 56, 64, 0.16);
    color: var(--c-ink-1);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-editorial);
    color: var(--c-ink-1);
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
}

button,
input,
select,
textarea {
    font-family: var(--font-editorial);
    color: var(--c-ink-1);
}

button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    user-select: none;
}

/* 定制极细滚动条 */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(46, 49, 56, 0.24);
    border-radius: 999px;
}

::-webkit-scrollbar-button {
    display: none;
}
