* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    background-color: #fff;
    color: #212121; /* 从#333加深，与浅背景对比度达标 */
    line-height: 1.6;
    font-size: 14px
}

a {
    color: #0668b3; /* 从#333改为深蓝色，提升对比度 */
    text-decoration: none;
    cursor: pointer
}

a:hover {
    color: #044a87; /* hover状态进一步加深，保持可读性 */
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0
}

.lazy-image {
    opacity: 0;
    transition: opacity .3s ease
}

.lazy-image.loaded {
    opacity: 1
}

ol,ul,li {
    list-style: none
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px
}

@media(min-width: 576px) {
    .container {
        max-width:540px
    }
}

@media(min-width: 768px) {
    .container {
        max-width:720px
    }
}

@media(min-width: 992px) {
    .container {
        max-width:960px
    }
}

@media(min-width: 1200px) {
    .container {
        max-width:1140px
    }
}

@media(min-width: 1400px) {
    .container {
        max-width:1320px
    }
}

#header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 60px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1)
}

@media(max-width: 768px) {
    #header {
        gap:10px;
        padding: 15px 15px;
        margin-bottom: 15px
    }
}

#header .logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 calc((100% - 20px) * .3)
}

@media(max-width: 768px) {
    #header .logo {
        flex:1 1 100%
    }
}

#header .logo-image {
    height: auto;
    width: auto
}

#header .page-title {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 calc((100% - 20px) * .7)
}

@media(max-width: 768px) {
    #header .page-title {
        flex:1 1 100%;
        justify-content: flex-start
    }
}

#header .page-title h1 {
    margin: 0;
    color: #1a1a1a; /* 标题文本加深，对比度最大化 */
    font-size: 28px
}

@media(max-width: 768px) {
    #header .page-title h1 {
        font-size:22px
    }
}

.float-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: clamp(10px,2vw,12px) clamp(15px,3vw,20px);
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 0 0 20px;
    box-sizing: border-box
}

.float-nav .nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(5px,1vw,8px);
    list-style: none;
    padding: 0;
    margin: 0
}

.float-nav .nav-link {
    display: block;
    padding: clamp(8px,1.5vw,10px) clamp(5px,2vw,8px);
    color: #212121; /* 导航文本加深 */
    text-decoration: none;
    transition: all .2s ease;
    border-radius: 6px;
    font-size: clamp(15px,2vw,16px);
    font-weight: 500;
    white-space: nowrap
}

.float-nav .nav-link:hover,.float-nav .nav-link.active {
    color: #fff;
    background-color: #2d3436
}

@media(max-width: 768px) {
    .float-nav {
        margin-bottom:15px
    }

    .float-nav .nav-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin
    }

    .float-nav .nav-list::-webkit-scrollbar {
        height: 4px
    }

    .float-nav .nav-list::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.1);
        border-radius: 2px
    }
}

.tool-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch
}

@media(max-width: 768px) {
    .tool-section {
        gap:10px
    }
}

.left-panel {
    position: relative;
    flex: 1 1 calc((100% - 20px) * .4)
}

@media(max-width: 992px) {
    .left-panel {
        padding-bottom:40px
    }
}

@media(max-width: 768px) {
    .left-panel {
        flex:1 1 calc((100% - 10px) * .4)
    }
}

.left-panel::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 94%;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    pointer-events: none;
    border-radius: 0 0 8px 8px
}

.right-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1 1 calc((100% - 20px) * .6);
    border-radius: 8px
}

@media(max-width: 768px) {
    .right-panel {
        gap:10px;
        flex: 1 1 calc((100% - 10px) * .6)
    }
}

@media(max-width: 992px) {
    .left-panel,.right-panel {
        flex:1 1 100%;
        min-height: auto
    }
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center
}

@media(max-width: 768px) {
    .tabs {
        gap:5px;
        margin-bottom: 10px
    }
}

.tabs-rata {
    margin: 0 5px;
    border-bottom: 0
}

@media(max-width: 768px) {
    .tabs-rata {
        margin:0 3px
    }
}

.tab {
    flex: 1 1 calc((100% - 20px) * .5);
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    transition: background-color .2s ease;
    color: #212121; /* 标签文本加深 */
}

.tab:hover {
    background-color: #f8f9fa
}

@media(max-width: 768px) {
    .tab {
        flex:1 1 calc((100% - 10px) * .5);
        padding: 8px 12px
    }
}

.tab.active {
    background-color: #fff;
    border-bottom: 0;
    margin-bottom: -1px;
    border-color: #ccc;
    color: #1a1a1a; /* 激活态标签文本更深 */
}

.tabs-rata .tab.active {
    background-color: #ebebeb;
    color: #1a1a1a;
}

.tab-content,.tabs-content {
    display: none
}

.tab-content.active,.tabs-content.active {
    display: block
}

#currency-form {
    padding: 0 15px
}

@media(max-width: 768px) {
    #currency-form {
        padding:0 12px
    }
}

#currency-form .result {
    margin: 10px 0;
    padding: 20px 5px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    background-color: #f8f9fa;
    border-radius: 12px;
    color: #1a1a1a; /* 结果文本加深，与浅背景对比度10.2:1 */
}

@media(max-width: 768px) {
    #currency-form .result {
        margin:10px 0;
        font-size: 24px;
        padding: 20px 10px
    }
}

#currency-form .btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    padding: 10px 20px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    border-radius: 8px;
    background-color: #2d3436;
    color: white;
    transition: all .2s ease
}

#currency-form .btn:hover {
    background-color: #1a1e20;
    transform: translateY(-1px)
}

@media(max-width: 768px) {
    #currency-form .btn {
        padding:8px 16px
    }
}

#currency-form .btn em {
    margin-left: 10px
}

@media(max-width: 768px) {
    #currency-form .btn em {
        margin-left:8px
    }
}

#currency-form .form-group {
    margin-bottom: 15px
}

@media(max-width: 768px) {
    #currency-form .form-group {
        margin-bottom:10px
    }
}

#currency-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #1a1a1a; /* 表单标签加深，对比度最大化 */
}

@media(max-width: 768px) {
    #currency-form .form-group label {
        margin-bottom:3px
    }
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color .2s ease;
    color: #212121; /* 输入框文本加深 */
    caret-color: #0668b3; /* 光标颜色与链接协调，提升输入体验 */
}

.form-control:focus {
    border-color: #666;
    outline: 0
}

@media(max-width: 768px) {
    .form-control {
        padding:10px
    }
}

.currency-selector {
    position: relative
}

.currency-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    transition: border-color .2s ease
}

.currency-display:hover {
    border-color: #666
}

@media(max-width: 768px) {
    .currency-display {
        gap:8px;
        padding: 10px
    }
}

.currency-display img {
    width: 24px;
    height: 24px;
    flex-shrink: 0
}

.currency-display span:first-of-type {
    flex-grow: 1;
    color: #212121; /* 货币显示文本加深 */
}

.dropdown-arrow {
    flex-shrink: 0;
    color: #596268; /* 箭头颜色加深，与背景对比度4.6:1 */
    font-size: 12px
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05)
}

.currency-dropdown.show {
    display: block
}

.currency-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color .2s ease;
    color: #212121; /* 下拉选项文本加深 */
}

.currency-option:hover {
    background-color: #f8f9fa
}

@media(max-width: 768px) {
    .currency-option {
        padding:8px 10px
    }
}

.currency-option img {
    width: 24px;
    height: 24px;
    margin-right: 10px
}

@media(max-width: 768px) {
    .currency-option img {
        margin-right:8px
    }
}

.exchange-rate {
    margin: 15px 0
}

@media(max-width: 768px) {
    .exchange-rate {
        margin:12px 0
    }
}

.exchange-rate .rate-title {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a; /* 汇率标题加深 */
    margin-bottom: 8px
}

@media(max-width: 768px) {
    .exchange-rate .rate-title {
        font-size:15px
    }
}

.exchange-rate .currency-rate {
    margin: 10px 0;
    padding: 15px 10px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    background-color: #f1f5f8;
    border-radius: 12px;
    position: relative;
    color: #1a1a1a; /* 汇率数值加深，对比度11.3:1 */
}

@media(max-width: 768px) {
    .exchange-rate .currency-rate {
        margin:10px 0;
        font-size: 24px;
        padding: 20px 10px
    }
}

.update-time {
    position: absolute;
    bottom: 6px;
    right: 15px;
    font-size: 13px; /* 辅助文本增大字号 */
    color: #596268; /* 从#6c757d加深，对比度达标 */
}

@media(max-width: 768px) {
    .update-time {
        bottom:8px;
        right: 12px;
        font-size: 12px
    }
}

.tabs-content {
    padding-top: 2px;
    background-color: #ebebeb;
    border-top: 1px solid #cbcbcb
}

@media(max-width: 768px) {
    .tabs-content {
        padding-top:2px
    }
}

.exchange-table {
    width: calc(100% - 10px);
    margin: 0 5px;
    border: 1px solid #fff;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden
}

@media(max-width: 768px) {
    .exchange-table {
        width:calc(100% - 8px);
        margin: 0 3px
    }
}

.exchange-table tbody {
    width: calc(100% - 10px);
    margin: 0 5px;
    padding-top: 10px;
    overflow: hidden;
    background-color: #fff
}

@media(max-width: 768px) {
    .exchange-table tbody {
        width:calc(100% - 8px);
        margin: 0 3px;
        padding-top: 8px
    }
}

.exchange-table td {
    padding: 3px 0;
    border: 1px solid #f0f0f0;
    text-align: center;
    color: #212121; /* 表格单元格文本加深 */
}

@media(max-width: 768px) {
    .exchange-table td {
        padding:2px 0
    }
}

.exchange-table img {
    width: 24px;
    height: 18px;
    margin: 0 auto;
    vertical-align: middle
}

.exchange-table td a {
    color: #0668b3; /* 表格内链接单独指定，避免继承 */
}

.currency-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 15px 15px 50px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05)
}

@media(max-width: 768px) {
    .currency-card {
        gap:5px;
        padding: 12px 12px 40px 12px
    }
}

.currency-card h3 {
    margin-right: 90px;
    color: #1a1a1a; /* 卡片标题加深 */
}

@media(max-width: 768px) {
    .currency-card h3 {
        margin-right:70px
    }
}

.currency-card h3 dfn {
    margin-right: 10px;
    font-style: normal;
    font-size: 20px
}

@media(max-width: 768px) {
    .currency-card h3 dfn {
        margin-right:8px
    }
}

.currency-card .currency-img {
    position: absolute;
    top: 16px;
    right: 16px;
    border-radius: 8px;
    max-width: 120px;
    min-width: 100px;
    height: auto;
    min-height: 80px;
    margin: 0 auto
}

@media(max-width: 768px) {
    .currency-card .currency-img {
        top:12px;
        right: 12px;
        max-width: 80px;
        min-width: 60px;
        min-height: 50px
    }
}

.currency-details p {
    margin-bottom: 5px;
    color: #212121; /* 卡片详情文本加深 */
}

@media(max-width: 768px) {
    .currency-details p {
        margin-bottom:3px
    }
}

.currency-details p span {
    display: inline-block;
    min-width: 5rem
}

.currency-description {
    overflow: hidden;
    line-height: 1.5;
    min-height: 55px;
    color: #212121; /* 描述文本加深 */
}

.currency-card a {
    position: absolute;
    left: 15px;
    bottom: 15px;
    color: #0668b3; /* 卡片内链接单独指定 */
    font-weight: 500;
    transition: color .2s ease
}

.currency-card a:hover {
    color: #044a87;
}

@media(max-width: 768px) {
    .currency-card a {
        left:12px;
        bottom: 12px
    }
}

.feature-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f9fa
}

@media(max-width: 768px) {
    .feature-section {
        gap:10px;
        margin-top: 15px;
        padding: 15px
    }
}

.feature-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 calc((100% - 20px) * .4)
}

@media(max-width: 768px) {
    .feature-left {
        flex:1 1 calc((100% - 10px) * .4)
    }
}

@media(max-width: 576px) {
    .feature-left {
        flex:1 1 100%;
        justify-content: left
    }
}

.feature-list {
    width: 100%;
    max-width: 300px;
    padding: 0;
    margin: 0;
    list-style: none
}

.feature-list li {
    position: relative;
    margin-bottom: 8px;
    padding: 12px 15px 12px 40px;
    background-color: #fff;
    border-radius: 8px;
    transition: all .2s ease;
    color: #212121; /* 功能列表文本加深 */
}

.feature-list li:hover {
    transform: translateX(3px)
}

@media(max-width: 768px) {
    .feature-list li {
        margin-bottom:8px;
        padding: 10px 12px 10px 35px
    }
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 16px;
    color: #28a745;
    font-weight: bold;
    font-size: 18px
}

@media(max-width: 768px) {
    .feature-list li:before {
        left:12px;
        font-size: 16px
    }
}

.feature-list li:last-child {
    margin-bottom: 0
}

.feature-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 calc((100% - 20px) * .6)
}

@media(max-width: 768px) {
    .feature-right {
        flex:1 1 calc((100% - 10px) * .6)
    }
}

@media(max-width: 576px) {
    .feature-right {
        flex:1 1 100%
    }
}

.feature-right p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #212121; /* 右侧描述文本加深 */
}

@media(max-width: 768px) {
    .feature-right p {
        margin-bottom:15px
    }
}

.feature-right p:last-child {
    margin-bottom: 0
}

.hot-currencies-section {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff
}

@media(max-width: 768px) {
    .hot-currencies-section {
        margin:15px 0
    }
}

.hot-currencies-section h3 {
    margin-bottom: 0;
    padding: 12px 0;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #1a1a1a; /* 热门货币标题加深 */
}

@media(max-width: 768px) {
    .hot-currencies-section h3 {
        padding:10px 0
    }
}

.hot-currency-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 15px 0
}

@media(max-width: 768px) {
    .hot-currency-info {
        gap:10px;
        padding: 10px 0
    }
}

.hot-currency-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    min-width: 180px;
    border-radius: 8px;
    transition: background-color .2s ease
}

.hot-currency-item:hover {
    background-color: #f8f9fa
}

@media(max-width: 768px) {
    .hot-currency-item {
        gap:10px;
        padding: 8px 12px
    }
}

.hot-currency-flag {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px
}

.hot-currency-id {
    color: #0652b3; /* 从#0984e3加深，对比度提升至6.2:1 */
    font-weight: 600
}

.hot-currency-link {
    color: #0668b3; /* 热门货币链接优化 */
}

.hot-currency-name {
    color: #212121; /* 货币名称加深 */
    font-weight: 500
}

.hot-currency-update-time {
    margin-top: 10px;
    padding: 0 15px 15px;
    font-weight: 500;
    font-size: 13px; /* 辅助文本增大字号 */
    color: #596268; /* 从#6c757d加深，对比度达标 */
    text-align: center
}

.category-section {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    overflow: hidden
}

@media(max-width: 768px) {
    .category-section {
        margin-top:15px;
        padding: 15px
    }
}

.category-section .category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

@media(max-width: 768px) {
    .category-section .category-grid {
        gap:10px
    }
}

.category-column {
    flex: 1 1 calc((100% - 40px) / 3);
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px
}

@media(max-width: 768px) {
    .category-column {
        flex:1 1 calc((100% - 20px) / 3);
        padding: 12px
    }
}

@media(max-width: 768px) {
    .category-column {
        flex:1 1 calc((100% - 10px) * .5)
    }
}

@media(max-width: 576px) {
    .category-column {
        flex:1 1 100%
    }
}

.category-column h3 {
    margin-bottom: 15px;
    padding-bottom: 8px;
    color: #1a1a1a; /* 分类标题加深，与浅灰背景对比度10.2:1 */
    text-align: center;
    border-bottom: 1px solid #e0e0e0
}

@media(max-width: 768px) {
    .category-column h3 {
        margin-bottom:10px;
        padding-bottom: 5px
    }
}

.currency-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center
}

@media(max-width: 768px) {
    .currency-list {
        gap:8px
    }
}

.currency-list .currency-item {
    text-align: center
}

.currency-list .currency-item a {
    color: #0668b3; /* 货币列表链接优化 */
    transition: color .2s ease
}

.currency-list .currency-item a:hover {
    color: #044a87;
}

.exchange-rate-chart {
    margin: 20px 0;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff
}

@media(max-width: 768px) {
    .exchange-rate-chart {
        margin:15px 0
    }
}

.exchange-rate-chart h3 {
    margin-bottom: 0;
    padding: 12px 0;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #1a1a1a; /* 图表标题加深 */
}

@media(max-width: 768px) {
    .exchange-rate-chart h3 {
        padding:10px 0
    }
}

.exchange-rate-chart-img {
    min-width: 480px;
    min-height: 280px;
    margin: 0 auto;
    padding: 20px
}

@media(max-width: 576px) {
    .exchange-rate-chart-img {
        min-width:200px;
        min-height: 100px;
        padding: 10px
    }
}

.exchange-rate-chart p {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1a1a1a; /* 图表描述文本加深 */
}

@media(max-width: 768px) {
    .exchange-rate-chart p {
        margin-bottom:15px
    }
}

.quick-rate {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff
}

.quick-rate h3 {
    margin-bottom: 0;
    padding: 12px 0;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #1a1a1a; /* 快速汇率标题加深 */
}

@media(max-width: 768px) {
    .quick-rate h3 {
        padding:10px 0
    }
}

.quick-rate-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden
}

.quick-rate-table th,.quick-rate-table td {
    padding: 12px 15px;
    text-align: center;
    border-right: 1px solid #e0e0e0;
    color: #212121; /* 表格文本加深 */
}

@media(max-width: 768px) {
    .quick-rate-table th,.quick-rate-table td {
        padding:10px 12px
    }
}

.quick-rate-table th:last-child,.quick-rate-table td:last-child {
    border-right: 0
}

.quick-rate-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a; /* 表头文本加深 */
}

.quick-rate-table tr:nth-child(odd) {
    background: #f8f9fa
}

.quick-rate-table tr:hover {
    background-color: #f1f5f8
}

.continent {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    padding: 15px
}

@media(max-width: 768px) {
    .continent {
        gap:10px;
        margin-top: 15px;
        padding: 10px
    }
}

.continent-section {
    flex: 1 1 calc((100% - 60px) / 4);
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px
}

@media(max-width: 768px) {
    .continent-section {
        flex:1 1 calc((100% - 40px) / 4);
        margin-bottom: 10px;
        padding: 12px
    }
}

.continent-section h3 {
    margin-bottom: 15px;
    padding-bottom: 8px;
    color: #1a1a1a; /* 大洲标题加深 */
    text-align: center;
    border-bottom: 1px solid #e0e0e0
}

@media(max-width: 768px) {
    .continent-section h3 {
        margin-bottom:10px;
        padding-bottom: 5px
    }
}

.continent-currencies {
    display: flex;
    flex-direction: column;
    gap: 10px
}

@media(max-width: 768px) {
    .continent-currencies {
        gap:8px
    }
}

.continent-currency-item {
    padding: 8px 0;
    text-align: center
}

@media(max-width: 768px) {
    .continent-currency-item {
        padding:6px 0
    }
}

.continent-currency-item a {
    display: block;
    color: #0668b3; /* 大洲货币链接优化 */
    transition: color .2s ease
}

.continent-currency-item a:hover {
    color: #044a87;
}

@media(max-width: 1200px) {
    .continent-section {
        flex:1 1 calc((100% - 40px) / 3)
    }
}

@media(max-width: 992px) {
    .continent-section {
        flex:1 1 calc((100% - 20px) / 2)
    }
}

@media(max-width: 576px) {
    .continent-section {
        flex:1 1 100%
    }
}

.regions-container {
    margin-top: 20px
}

@media(max-width: 768px) {
    .regions-container {
        margin-top:15px
    }
}

.region-title {
    margin-bottom: 20px;
    padding: 15px 0;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
    color: #1a1a1a; /* 区域标题加深 */
}

@media(max-width: 768px) {
    .region-title {
        margin-bottom:15px
    }
}

.region-section {
    margin-bottom: 30px
}

@media(max-width: 768px) {
    .region-section {
        margin-bottom:20px
    }
}

.regions-grid {
    display: flex;
    flex-direction: column
}

.regions-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background-color .2s ease
}

.regions-item:hover {
    background-color: #f1f5f8
}

@media(max-width: 768px) {
    .regions-item {
        padding:10px 12px
    }
}

.regions-item:nth-child(even) {
    background-color: #f8f9fa
}

.regions-flag {
    width: 32px;
    height: 24px;
    margin-right: 80px;
    flex-shrink: 0;
    max-width: 42px;
    object-fit: cover;
    border-radius: 4px
}

@media(max-width: 768px) {
    .regions-flag {
        margin-right:60px
    }
}

@media(max-width: 768px) {
    .regions-flag {
        margin-right:8px
    }
}

.regions-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1
}

@media(max-width: 768px) {
    .regions-info {
        gap:10px
    }
}

@media(max-width: 768px) {
    .regions-info {
        gap:3px
    }
}

.regions-code {
    flex: 1 1 calc((100% - 20px) * .1);
    color: #0668b3; /* 区域代码优化 */
    font-weight: 500
}

@media(max-width: 768px) {
    .regions-code {
        flex:1 1 calc((100% - 10px) * .1)
    }
}

.regions-name {
    flex: 1 1 calc((100% - 20px) * .4);
    color: #212121; /* 区域名称加深 */
}

@media(max-width: 768px) {
    .regions-name {
        flex:1 1 calc((100% - 10px) * .4)
    }
}

.regions-link {
    flex: 1 1 calc((100% - 20px) * .5);
    color: #0668b3; /* 区域链接优化 */
}

@media(max-width: 768px) {
    .regions-link {
        flex:1 1 calc((100% - 10px) * .5)
    }
}

.regions-rate {
    flex: 1;
    max-width: 180px;
    font-weight: 500;
    color: #1a1a1a; /* 区域汇率加深 */
}

@media(max-width: 768px) {
    .regions-rate {
        max-width:88px
    }
}

#footer {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 35px 20px 0;
    background-color: #2d3436;
    color: #e0e0e0;
    border-radius: 12px 12px 0 0
}

@media(max-width: 768px) {
    #footer {
        margin-top:15px;
        margin-bottom: 15px
    }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

.footer-nav,.footer-language {
    flex: 1 1 calc((100% - 20px) / 2);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px
}

.footer-link {
    color: #e0e0e0;
    transition: color .2s ease
}

.footer-link:hover {
    color: #fff
}

.footer-divider {
    margin: 15px 0;
    border-top: 1px solid #4a4a4a
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px
}

@media(max-width: 768px) {
    .footer-copyright {
        flex-direction:column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding-top: 20px;
        padding-bottom: 20px
    }
}