@charset "utf-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    min-height: 100%;
    font-size: min(13.333333vw, 100px);
    /* !important：阻止 iOS / 微信「字体大小」设置放大根字号，
       否则整套 rem 布局（含图片、卡片宽度）会被撑大导致横向溢出与文字重叠 */
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    background: #eaf7fb;
}

body {
    min-height: 100%;
    overflow-x: hidden;
    color: #050505;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

input {
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

.bank_main {
    width: 100%;
    max-width: 7.5rem;
    min-height: 28.5rem;
    margin: 0 auto;
    overflow: hidden;
    background: #eaf7fb url("../images/bg.png") center top / 100% auto no-repeat;
}

.hero {
    position: relative;
    height: 6.72rem;
    overflow: hidden;
    background: #4dc4e7;
    z-index: 1;
}

.hero_slider {
    position: absolute;
    inset: 0;
    height: 7.38rem;
    overflow: hidden;
    z-index: 1;
}

.hero_slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .55s ease;
    cursor: pointer;
    pointer-events: none;
}

.hero_slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero_slide img {
    width: 100%;
    height: 7.38rem;
    object-fit: cover;
    object-position: center top;
}

.search_box {
    position: absolute;
    top: .52rem;
    left: .3rem;
    right: .3rem;
    z-index: 4;
    display: flex;
    align-items: center;
    height: .82rem;
    padding: 0 .24rem;
    border: .01rem solid rgba(255, 255, 255, .95);
    border-radius: .3rem;
    background: rgba(255, 255, 255, .12);
}

.search_icon {
    width: .31rem;
    height: .31rem;
    margin-right: .17rem;
    border: .035rem solid #fff;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
}

.search_icon::after {
    content: "";
    position: absolute;
    right: -.08rem;
    bottom: -.06rem;
    width: .12rem;
    height: .035rem;
    border-radius: .02rem;
    background: #fff;
    transform: rotate(45deg);
}

.search_box input {
    width: 100%;
    color: #fff;
    font-size: .24rem;
    line-height: .56rem;
    letter-spacing: 0;
}

.search_box input::placeholder {
    color: rgb(255 255 255);
    opacity: 1;
}

.top_info_group {
    position: absolute;
    top: 1.82rem;
    left: 0;
    width: 100%;
    height: 1.35rem;
    z-index: 5;
}

.date_panel,
.limit_panel {
    position: absolute;
    top: 0;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}

.date_panel {
    left: .3rem;
    width: 2.6rem;
    height: 1.35rem;
    background: url("../images/date_box.png") center / 100% 100% no-repeat;
    text-align: center;
}

.date_value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    height: .89rem;
    padding-top: .20rem;
    line-height: 1;
}

.date_num {
    font-size: .59rem;
}

.date_unit {
    margin: 0 .04rem;
    font-size: .29rem;
}

.date_year {
    color: #595959;
    font-size: .31rem;
    line-height: .43rem;
}

.limit_panel {
    left: 3.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.1rem;
    height: 1.35rem;
    padding: .1rem .18rem 0;
    background: url("../images/limit_box.png") center / 100% 100% no-repeat;
    white-space: nowrap;
}

.limit_label {
    padding-top: .08rem;
    font-size: .28rem;
}

.limit_num {
    margin-left: .08rem;
    font-size: .58rem;
    line-height: 1;
}

.hero_dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .76rem;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: .11rem;
}

.hero_dots span {
    width: .08rem;
    height: .08rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
}

.hero_dots span.is-active {
    width: .22rem;
    border-radius: .08rem;
    background: rgba(255, 255, 255, .95);
}

.quick_nav {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: .43rem;
    width: 6.9rem;
    margin: -.58rem auto .36rem;
    padding: .47rem .2rem .45rem;
    border-radius: .28rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 .12rem .22rem rgba(27, 84, 111, .1);
}

.quick_item {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.quick_icon {
    position: relative;
    width: .66rem;
    height: .66rem;
    margin-bottom: .18rem;
}

.quick_icon img {
    width: .66rem;
    height: .66rem;
    object-fit: contain;
}

.quick_item.has_badge::after {
    content: attr(data-badge);
    position: absolute;
    top: -.08rem;
    left: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: .29rem;
    height: .29rem;
    border-radius: 50%;
    background: #e20d1b;
    color: #fff;
    font-size: .2rem;
    line-height: .29rem;
    font-weight: 700;
}

.quick_item.badge_hidden::after {
    display: none;
}

.quick_text {
    color: #050505;
    font-size: .3rem;
    line-height: .34rem;
    letter-spacing: 0;
    white-space: nowrap;
}

.notice_bar {
    display: flex;
    align-items: center;
    width: 6.9rem;
    margin: 0 auto .41rem;
    min-height: .36rem;
    color: #30343b;
}

.notice_bar img {
    width: 1.48rem;
    height: .31rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.notice_bar span {
    flex: 1;
    min-width: 0;
    margin-left: .31rem;
    font-size: .27rem;
    line-height: .36rem;
    white-space: nowrap;
}

.notice_bar i {
    width: .14rem;
    height: .14rem;
    margin-left: .12rem;
    border-top: .025rem solid #9aa2a7;
    border-right: .025rem solid #9aa2a7;
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.image_card {
    position: relative;
    width: 6.9rem;
    margin: 0 auto .31rem;
    overflow: hidden;
    border-radius: .08rem;
}

.image_card img {
    width: 100%;
    height: auto;
}

.content_section {
    width: 6.9rem;
    margin: .5rem auto 0;
}

.content_section h2 {
    margin-bottom: .29rem;
    color: #050505;
    font-size: .42rem;
    line-height: .54rem;
    font-weight: 900;
    letter-spacing: 0;
}

.installment_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .15rem;
}

.installment_item {
    display: block;
    overflow: hidden;
    border-radius: .08rem;
}

.installment_item img {
    width: 100%;
    height: auto;
}

.points_section {
    margin-top: .58rem;
    padding-bottom: .77rem;
}

@media (min-width: 751px) {
    .bank_main {
        box-shadow: 0 0 .3rem rgba(0, 0, 0, .08);
    }
}

.search_overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    padding-top: 1.56rem;
    background: rgba(16, 72, 104, .32);
}

.search_overlay.is-visible {
    display: block;
}

.search_popup {
    width: 6.9rem;
    max-width: calc(100vw - .6rem);
    margin: 0 auto;
    padding: .24rem .24rem .28rem;
    border: .01rem solid rgba(255, 255, 255, .75);
    border-radius: .22rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 .16rem .32rem rgba(38, 105, 139, .22);
    backdrop-filter: blur(.12rem);
}

.search_block {
    padding: .04rem 0 .22rem;
}

.search_block + .search_block {
    padding-top: .22rem;
    border-top: .01rem solid rgba(109, 176, 207, .24);
}

.hot_search {
    margin-top: .04rem;
    padding: .18rem .16rem .16rem;
    border-radius: .18rem;
    background: #eef8fc;
}

.search_block_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .16rem;
}

.search_block_head h3 {
    color: #111;
    font-size: .24rem;
    line-height: .32rem;
    font-weight: 700;
}

.search_block_head span {
    color: #5b91aa;
    font-size: .2rem;
    line-height: .28rem;
}

.search_clear {
    position: relative;
    height: .32rem;
    padding: 0 0 0 .28rem;
    border: 0;
    background: transparent;
    color: #8a8f99;
    font-size: .2rem;
    line-height: .32rem;
}

.search_clear::before {
    content: "";
    position: absolute;
    left: .02rem;
    top: .08rem;
    width: .15rem;
    height: .16rem;
    border: .018rem solid #9aa0aa;
    border-top: 0;
    border-radius: 0 0 .025rem .025rem;
}

.search_clear::after {
    content: "";
    position: absolute;
    left: 0;
    top: .045rem;
    width: .19rem;
    height: .025rem;
    border-radius: .02rem;
    background: #9aa0aa;
    box-shadow: .055rem -.035rem 0 -.015rem #9aa0aa;
}

.search_tags {
    display: flex;
    flex-wrap: wrap;
    gap: .12rem .14rem;
    min-height: .4rem;
}

.search_tags a {
    display: block;
    max-width: 100%;
    height: .4rem;
    padding: 0 .22rem;
    overflow: hidden;
    border: 0;
    border-radius: .2rem;
    background: #f5f6f8;
    color: #505968;
    font-size: .2rem;
    line-height: .4rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search_tags.is-empty::before {
    content: "暂无最近搜索";
    color: #8aa7b5;
    font-size: .22rem;
    line-height: .4rem;
}

.search_result_empty {
    height: .56rem;
    border-radius: .14rem;
    background: #f6f8fa;
    color: #8a96a3;
    font-size: .22rem;
    line-height: .56rem;
    text-align: center;
}

.search_result_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: .01rem solid rgba(88, 156, 190, .18);
    border-radius: .14rem;
    background: #fff;
}

.search_result_item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: .68rem;
    padding: 0 .52rem 0 .18rem;
    overflow: hidden;
    border-bottom: .01rem solid rgba(88, 156, 190, .14);
    background: #fff;
}

.search_result_item:last-child {
    border-bottom: 0;
}

.search_result_item::before {
    content: "";
    flex: 0 0 auto;
    width: .12rem;
    height: .12rem;
    margin-right: .13rem;
    border-radius: 50%;
    background: #45a8dc;
    box-shadow: 0 0 0 .06rem rgba(69, 168, 220, .1);
}

.search_result_item::after {
    content: "";
    position: absolute;
    right: .22rem;
    top: 50%;
    width: .1rem;
    height: .1rem;
    border-top: .02rem solid #a0acb6;
    border-right: .02rem solid #a0acb6;
    transform: translateY(-50%) rotate(45deg);
}

.search_result_content {
    display: flex;
    align-items: baseline;
    min-width: 0;
    flex: 1;
}

.search_result_item strong,
.search_result_item em {
    display: block;
    overflow: hidden;
    letter-spacing: 0;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search_result_item strong {
    max-width: 2.7rem;
    color: #172b3a;
    font-size: .24rem;
    line-height: .68rem;
    font-weight: 800;
    flex: 0 1 auto;
}

.search_result_item em {
    margin-left: .12rem;
    color: #82909c;
    font-size: .2rem;
    line-height: .68rem;
    flex: 1;
}

.search_result_hit {
    color: #e7372f;
    font-weight: 800;
}

.hot_activity_list {
    overflow: hidden;
    padding: .1rem;
    border: .01rem solid #d7edf7;
    border-radius: .14rem;
    background: #dff2fa;
}

.hot_activity_item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: .58rem;
    padding: 0 .42rem 0 .18rem;
    overflow: hidden;
    border-bottom: .01rem solid #edf1f5;
    background: #fff;
}

.hot_activity_item:first-child {
    border-radius: .1rem .1rem 0 0;
}

.hot_activity_item:last-child {
    border-bottom: 0;
    border-radius: 0 0 .1rem .1rem;
}

.hot_activity_item:only-child {
    border-radius: .1rem;
}

.hot_activity_item::before {
    content: "";
    flex: 0 0 auto;
    width: .1rem;
    height: .1rem;
    margin-right: .14rem;
    border-radius: 50%;
    background: #ff0018;
}

.hot_activity_item::after {
    content: "";
    position: absolute;
    right: .18rem;
    top: 50%;
    width: .085rem;
    height: .085rem;
    border-top: .018rem solid #b5c0c9;
    border-right: .018rem solid #b5c0c9;
    transform: translateY(-50%) rotate(45deg);
}

.hot_activity_content {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.hot_activity_item strong,
.hot_activity_item em {
    display: block;
    letter-spacing: 0;
    font-style: normal;
}

.hot_activity_item strong {
    flex: 0 1 auto;
    max-width: 2.65rem;
    overflow: hidden;
    color: #1f2d3d;
    font-size: .23rem;
    line-height: .58rem;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot_activity_item em {
    flex: 1;
    min-width: 0;
    margin-left: .12rem;
    overflow: hidden;
    color: #8b98a5;
    font-size: .19rem;
    line-height: .58rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}
