html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    color: var(--common_level1_base_color);
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* 语义化HTML标签基础样式 - 确保不影响现有布局 */
main,
section,
article,
header,
nav,
section[aria-labelledby],
article,
[role="table"],
[role="row"],
[role="cell"],
[role="columnheader"],
[role="rowheader"] {
    display: block;
}

figure {
    display: block;
    margin: 0;
}

/* H标签重置样式 - 确保语义化H标签不影响现有样式 */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}


* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--common_level1_base_color);
}

.overflow-visible {
    overflow: visible !important;
}

.container {
    min-width: 1300px;
    margin-bottom: 120px;
}

.gray-container {
    margin-bottom: 0;
    padding-top: 120px;
    background: var(--common_bg_color);
}

.common-content {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    height: 100%;
}


.common-content-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 500;
    line-height: 42px;
}

.common-content-title>*+* {
    margin-left: 8px;
}

.common-content-title .text-gray {
    font-size: 14px;
}

/* Layout utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-16>*+* {
    margin-left: 16px;
}

/* Margin utilities */
.mr-2 {
    margin-right: 12px;
}

/* Button styles */
.btn {
    height: 32px;
    line-height: 32px;
    padding: 0 16px;
    border-radius: 8px;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.02);
    cursor: default;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pointer,
a.btn {
    cursor: pointer;
}

.btn-outline {
    color: var(--common_blue1_color);
    border: 1px solid var(--common_blue2_color);
    line-height: 30px;
}

.btn-outline:hover {
    background-color: var(--common_blue3_color);
}

.btn-default {
    border: 1px solid var(--common_line_hard_color);
    background: var(--common_fg_color);
    line-height: 30px;
}

.btn-default:hover {
    background-color: var(--common_fg_press_color);
}

.btn-default:active {
    background-color: var(--common_fg_press_color);
}

.btn-primary {
    background: var(--theme_primary1_color);
    color: var(--common_fg_color);
}

.btn-primary:hover {
    background: var(--theme_primary_hover_color);
}

.btn-buy {
    color: #492D0A;
    background: linear-gradient(278deg, #FFD5B5 0%, #FFE9D5 96%);
}

.btn-40 {
    height: 40px;
    line-height: 40px;
}

.btn-40.btn-default {
    line-height: 38px;
}

.btn-buy:hover {
    background: linear-gradient(284deg, #f7c8a3 0%, #ffe0c4 100%);
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.text-gray {
    color: var(--common_level3_base_color);
}

.fs-s {
    font-size: 12px;
}

/* Icon base styles
------------------------------------------ */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: middle;
}


.icon-loading {
    animation: spin 1s ease-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
