*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    font-size: calc(100vw / 7.5);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (min-width: 500px) {
    html {
        font-size: 66.6667px;
    }
}

body {
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    margin: 0;
    color: #0f2430;
    background: #d9e5ec;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

button,
input,
select,
textarea {
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

input,
select,
textarea {
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px !important;
}

textarea {
    resize: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.page {
    position: relative;
    width: 100%;
    max-width: var(--page-max, 7.5rem);
    min-height: 100vh;
    margin: 0 auto;
    background: #d9e5ec;
    overflow-x: hidden;
}

.page-with-tab {
    padding-bottom: calc(var(--nav-h, 1.12rem) + .16rem + env(safe-area-inset-bottom, 0px));
}

.scroll-lock {
    overflow: hidden;
}

.hide {
    display: none !important;
}

.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

