:root {
    --kc-primary: #078c83;
    --kc-primary-dark: #056d67;
    --kc-primary-soft: #e9f7f5;
    --kc-text: #17272a;
    --kc-muted: #748287;
    --kc-border: #e3eceb;
    --kc-surface: #ffffff;
    --kc-page: #f4f7f6;
    --kc-danger: #e44949;
    --kc-shadow: 0 8px 26px rgba(18, 68, 66, .08);
}

html,
body,
#app,
uni-page-body {
    background: var(--kc-page);
    color: var(--kc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Home: retain the original page structure and handlers, only improve layout. */
.swiper[data-v-6e833e50],
.swiper-item .swiper-img[data-v-6e833e50] {
    height: 128px !important;
}

.swiper-item .swiper-img[data-v-6e833e50] {
    display: block;
    width: 100% !important;
    object-fit: cover;
}

.tabs[data-v-6e833e50] {
    min-height: 58px;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 1px 0 rgba(24, 58, 58, .08) !important;
}

.tabs .item[data-v-6e833e50] {
    min-width: 88px;
    line-height: 48px !important;
    font-size: 17px !important;
    color: #4f5d60;
}

.tabs .active[data-v-6e833e50] {
    color: var(--kc-primary) !important;
}

.tabs .item .border[data-v-6e833e50] {
    width: 30px !important;
    height: 4px !important;
    margin-bottom: 6px !important;
    border-radius: 4px !important;
}

.tabs .active .border[data-v-6e833e50] {
    background: var(--kc-primary) !important;
}

.banban[data-v-6faa7c1a],
.banban[data-v-2daebfd2] {
    width: 100% !important;
    padding: 14px 15px 22px !important;
    box-sizing: border-box !important;
    background: var(--kc-surface) !important;
}

.number-box[data-v-6faa7c1a],
.number-box[data-v-2daebfd2] {
    width: 100% !important;
    height: 76px !important;
    margin: 0 0 14px !important;
    padding: 0 8px;
    box-sizing: border-box;
    border: 1px solid var(--kc-border);
    border-radius: 15px !important;
    background: #f4f7f8 !important;
}

.number-box .mobile_icon[data-v-6faa7c1a],
.number-box .mobile_icon[data-v-2daebfd2] {
    width: 54px !important;
}

.number-box .mobile_icon > uni-image[data-v-6faa7c1a],
.number-box .mobile_icon > uni-image[data-v-2daebfd2] {
    width: 30px !important;
    height: 30px !important;
}

.number-box .input[data-v-6faa7c1a],
.number-box .input[data-v-2daebfd2] {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
}

.number-box .input > uni-input[data-v-6faa7c1a] {
    font-size: 23px !important;
    font-weight: 600 !important;
}

.number-box .input > uni-input[data-v-2daebfd2] {
    font-size: 20px !important;
    font-weight: 560 !important;
}

.number-box .guishudi[data-v-6faa7c1a] {
    margin-top: 3px;
    color: var(--kc-primary) !important;
    font-size: 13px !important;
}

.number-box .del[data-v-6faa7c1a],
.number-box .del[data-v-2daebfd2] {
    width: 38px !important;
}

.number-box .txl[data-v-6faa7c1a],
.number-box .txl[data-v-2daebfd2] {
    width: 44px !important;
}

.number-box .txl > uni-image[data-v-6faa7c1a],
.number-box .txl > uni-image[data-v-2daebfd2] {
    width: 27px !important;
    height: 27px !important;
}

.balquery[data-v-6faa7c1a],
.balquery[data-v-2daebfd2] {
    width: 100% !important;
}

/* Electricity: keep the existing province/city controls, without redundant labels. */
.hang2[data-v-2daebfd2] {
    width: 100% !important;
    height: auto !important;
    min-height: 48px;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
    background: transparent !important;
}

.hang2 .city[data-v-2daebfd2] {
    width: auto !important;
    min-width: 0;
    min-height: 48px;
    padding: 0 38px 0 14px !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left !important;
    color: #26393b !important;
    background-color: #f5f8f8 !important;
    background-position: right 10px center !important;
    background-size: 18px 18px !important;
    border: 1px solid var(--kc-border);
    border-radius: 12px;
    outline: none;
}

.hang2 .city.kc-city-required[data-v-2daebfd2] {
    border-color: var(--kc-danger) !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(228, 73, 73, .12);
    animation: kcCityPulse .55s ease 2;
}

.kc-city-error {
    width: 100%;
    margin: -7px 0 14px;
    padding-left: 3px;
    box-sizing: border-box;
    color: var(--kc-danger);
    font-size: 13px;
    line-height: 20px;
}

@keyframes kcCityPulse {
    0%, 100% { transform: translateX(0); }
    35% { transform: translateX(-4px); }
    70% { transform: translateX(4px); }
}

/* Products remain three columns, including when only two products are present. */
.cates[data-v-6faa7c1a],
.cates[data-v-2daebfd2] {
    width: 100% !important;
    padding-bottom: 4px !important;
}

.cates .c[data-v-6faa7c1a],
.cates .c[data-v-2daebfd2] {
    width: 100% !important;
    margin-top: 9px !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600;
}

.content-box[data-v-6faa7c1a],
.content-box[data-v-2daebfd2] {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 8px !important;
}

.content-box .li[data-v-6faa7c1a],
.content-box .li[data-v-2daebfd2] {
    float: none !important;
    width: auto !important;
    min-width: 0;
    height: 66px !important;
    margin: 12px 0 0 !important;
    box-sizing: border-box;
    border: 1px solid #91c9c4 !important;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 3px 10px rgba(18, 77, 74, .04);
}

.content-box .li:active[data-v-6faa7c1a],
.content-box .li:active[data-v-2daebfd2] {
    transform: scale(.98);
    background: var(--kc-primary-soft);
}

.content-box .li > uni-view[data-v-6faa7c1a],
.content-box .li > uni-view[data-v-2daebfd2],
.active .li > uni-view[data-v-6faa7c1a],
.active .li > uni-view[data-v-2daebfd2] {
    color: var(--kc-primary) !important;
}

.content-box .li .name[data-v-6faa7c1a],
.content-box .li .name[data-v-2daebfd2] {
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px !important;
    line-height: 22px !important;
}

.content-box .li .price[data-v-6faa7c1a],
.content-box .li .price[data-v-2daebfd2] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px !important;
    line-height: 18px !important;
    margin-top: 1px !important;
}

/* Home redemption centre. Business handlers are deliberately not invented here. */
.kc-redeem-card {
    width: calc(100% - 30px);
    margin: 14px auto 0;
    padding: 16px;
    box-sizing: border-box;
    background: var(--kc-surface);
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    box-shadow: var(--kc-shadow);
}

.kc-redeem-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kc-redeem-title {
    font-size: 17px;
    line-height: 24px;
    font-weight: 650;
    color: var(--kc-text);
}

.kc-redeem-note {
    font-size: 12px;
    color: var(--kc-muted);
}

.kc-redeem-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 4px;
    border-radius: 12px;
    background: #f0f5f4;
}

.kc-redeem-tab {
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    color: #5d6b6e;
    background: transparent;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.kc-redeem-tab.is-active {
    color: var(--kc-primary-dark);
    background: #fff;
    box-shadow: 0 2px 9px rgba(20, 63, 61, .09);
    font-weight: 600;
}

.kc-redeem-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 9px;
    margin-top: 11px;
}

.kc-redeem-input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid var(--kc-border);
    border-radius: 11px;
    outline: none;
    color: var(--kc-text);
    background: #fbfdfd;
    font-size: 15px;
}

.kc-redeem-input:focus {
    border-color: var(--kc-primary);
    box-shadow: 0 0 0 3px rgba(7, 140, 131, .1);
}

.kc-redeem-submit {
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #0a9a90, var(--kc-primary));
    box-shadow: 0 5px 14px rgba(7, 140, 131, .18);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.kc-redeem-status {
    min-height: 18px;
    margin-top: 8px;
    color: var(--kc-muted);
    font-size: 12px;
    line-height: 18px;
}

/* Keep the original customer-service entry without depending on a compiled data-v hash. */
.back-first-page .img-box.kc-customer-service {
    position: fixed !important;
    left: auto !important;
    right: 8px !important;
    top: auto !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    width: 82px !important;
    height: 38px !important;
    z-index: 180 !important;
    border: 1px solid rgba(7, 140, 131, .16) !important;
    color: var(--kc-primary-dark) !important;
    box-shadow: 0 7px 20px rgba(18, 68, 66, .13) !important;
    transition: top .18s ease, bottom .18s ease, left .18s ease, opacity .14s ease, transform .14s ease;
}

.back-first-page .img-box.kc-customer-service.kc-float-safe {
    bottom: auto !important;
}

.back-first-page .img-box.kc-customer-service.kc-float-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(110%) !important;
}

/* Confirmation/payment popups: appearance only. */
.boxs[data-v-1cc40c02] {
    width: calc(100vw - 34px) !important;
    max-width: 430px;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(10, 36, 36, .2);
}

.btns .btn[data-v-1cc40c02] {
    background: var(--kc-primary) !important;
}

/* My page: keep every existing destination and condition, only restyle. */
uni-page-body[data-v-6987c5f6] {
    padding-bottom: 18px;
    background: var(--kc-page) !important;
}

.header-box[data-v-6987c5f6] {
    width: calc(100% - 30px) !important;
    height: 148px !important;
    margin: 15px auto 12px;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 20px;
    background: linear-gradient(135deg, #087f78 0%, #08a097 100%);
    box-shadow: 0 12px 30px rgba(7, 126, 119, .2);
}

.header-box .l[data-v-6987c5f6] {
    width: 86px !important;
}

.header-box .l .head-img[data-v-6987c5f6] {
    width: 66px !important;
    height: 66px !important;
    border: 3px solid rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .28) !important;
}

.header-box .c[data-v-6987c5f6] {
    width: auto !important;
    flex: 1 1 auto;
}

.header-box .username[data-v-6987c5f6] {
    color: #fff !important;
    font-size: 20px !important;
}

.header-box .id[data-v-6987c5f6],
.header-box .grade[data-v-6987c5f6] {
    color: rgba(255, 255, 255, .84) !important;
    font-size: 13px !important;
    line-height: 23px !important;
}

.kuai[data-v-6987c5f6],
.list-row[data-v-6987c5f6] {
    width: calc(100% - 30px);
    margin: 0 auto 13px !important;
    overflow: hidden;
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(18, 68, 66, .05);
}

.kuai .kuai-title[data-v-6987c5f6] {
    align-items: center !important;
    padding: 16px 17px 3px !important;
}

.kuai .kuai-title .title[data-v-6987c5f6] {
    color: var(--kc-text);
    font-size: 17px !important;
}

.kuai .kuai-title .desc[data-v-6987c5f6] {
    padding-right: 9px !important;
    color: var(--kc-muted) !important;
    font-size: 12px !important;
}

.kuai .xiang[data-v-6987c5f6] {
    height: 92px !important;
}

.kuai .xiang .item[data-v-6987c5f6] + .item[data-v-6987c5f6] {
    border-left: 1px solid #edf2f1;
}

.kuai .xiang .item .value[data-v-6987c5f6] {
    color: var(--kc-text);
    font-size: 21px !important;
    line-height: 34px !important;
}

.kuai .xiang .item .name[data-v-6987c5f6] {
    color: var(--kc-muted) !important;
    font-size: 13px !important;
}

.list-row .row[data-v-6987c5f6] {
    min-height: 57px !important;
}

.list-row .row .row-left[data-v-6987c5f6] {
    width: 55px !important;
}

.list-row .row .row-left .icon[data-v-6987c5f6] {
    width: 24px !important;
    height: 24px !important;
}

.list-row .row .row-title[data-v-6987c5f6] {
    padding-right: 15px !important;
    border-bottom-color: #edf2f1 !important;
}

.list-row .row:last-child .row-title[data-v-6987c5f6] {
    border-bottom: 0 !important;
}

.list-row .row .row-title .name[data-v-6987c5f6] {
    color: var(--kc-text);
    font-size: 16px !important;
}

@media (max-width: 350px) {
    .content-box[data-v-6faa7c1a],
    .content-box[data-v-2daebfd2] {
        gap: 7px;
    }

    .content-box .li .name[data-v-6faa7c1a],
    .content-box .li .name[data-v-2daebfd2] {
        font-size: 14px !important;
    }

    .content-box .li .price[data-v-6faa7c1a],
    .content-box .li .price[data-v-2daebfd2] {
        font-size: 12px !important;
    }

    .kc-redeem-form {
        grid-template-columns: minmax(0, 1fr) 76px;
    }
}

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