:root {
    color-scheme: light;
    --h5-ink: #172a3d;
    --h5-muted: #667689;
    --h5-paper: #f7f9fc;
    --h5-white: #fff;
    --h5-green: #175b9a;
    --h5-accent: #2584d8;
    --h5-line: #e1e8ef;
    --h5-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--h5-ink);
    background: var(--h5-paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button,
a,
summary {
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid #2584d8;
    outline-offset: 3px;
}

.h5-bottom-nav {
    position: fixed;
    z-index: 1000;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(7px + var(--h5-safe-bottom));
    border-top: 1px solid rgba(23, 42, 61, .1);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -5px 22px rgba(23, 42, 61, .05);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.h5-bottom-nav a {
    display: flex;
    width: 33.3333%;
    flex: 0 0 33.3333%;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: #727f8e;
    font-size: 10px;
}

.h5-bottom-nav-spacer {
    height: 72px;
}

.h5-bottom-nav a.is-active {
    color: var(--h5-green);
    font-weight: 650;
}

.h5-bottom-nav a.h5-bottom-nav__call {
    width: 40%;
    flex-basis: 40%;
    min-height: 42px;
    margin: 0 8px;
    border-radius: 7px;
    color: #fff;
    background: var(--h5-green);
    font-size: 12px;
    font-weight: 650;
    flex-direction: row;
    gap: 7px;
}

.h5-bottom-nav a.h5-bottom-nav__call svg {
    width: 17px;
    height: 17px;
}

.h5-bottom-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (min-width: 681px) {
    .h5-bottom-nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
