:root {
    --bg: #f3f6f4;
    --bg-deep: #e8efea;
    --ink: #143028;
    --muted: #5f746a;
    --line: rgba(20, 48, 40, 0.08);
    --accent: #0ea57a;
    --accent-2: #17c3a2;
    --accent-soft: rgba(14, 165, 122, 0.12);
    --warn: #b45309;
    --panel: rgba(255, 255, 255, 0.88);
    --shadow: 0 10px 30px rgba(20, 48, 40, 0.08);
    --radius: 16px;
    --font-display: "Outfit", "Noto Sans SC", sans-serif;
    --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 55% at 10% -10%, rgba(23, 195, 162, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 45% at 100% 5%, rgba(56, 189, 248, 0.18), transparent 50%),
        linear-gradient(180deg, #eef7f3 0%, #f3f6f4 42%, #e9f0ec 100%);
}

.body-active { overflow: hidden; }

.page-hero {
    padding: 5vw 5vw 2vw;
}

.brand {
    font-family: var(--font-display);
    font-size: 8.2vw;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.15;
}

.brand-sub {
    margin-top: 1.5vw;
    font-size: 3.4vw;
    color: var(--muted);
}

.account-panel {
    margin: 2vw 4vw 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: visible;
    backdrop-filter: blur(10px);
}

.account-search-row {
    padding: 3.5vw 3vw 2vw;
    border-bottom: 1px solid var(--line);
}

.account-search-form {
    display: flex;
    align-items: center;
    gap: 2.5vw;
    padding: 3.5vw 3vw 2.5vw;
    border-bottom: 1px solid var(--line);
}

.account-search-form .user_id_input {
    flex: 1;
    height: 11vw;
    padding: 0 4vw;
    border: 1.5px solid rgba(14, 165, 122, 0.28);
    border-radius: 999px;
    background: #fff;
    font-size: 3.8vw;
    color: var(--ink);
    outline: none;
}

.account-search-form .input-clear,
.input-clear.is-visible {
    position: static;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 18vw;
    height: 11vw;
    padding: 0 4vw;
    line-height: 11vw;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    font-size: 3.6vw;
    font-weight: 700;
    cursor: pointer;
}

.user-result-row {
    margin: 0 3vw 3vw;
    padding: 2.5vw 0 1vw;
    border-radius: 14px;
    border: 1.5px dashed rgba(20, 48, 40, 0.18);
    background: rgba(255, 255, 255, 0.55);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.user-result-row.is-selected {
    border: 1.5px solid rgba(14, 165, 122, 0.55);
    background: linear-gradient(180deg, rgba(14, 165, 122, 0.1), rgba(255, 255, 255, 0.92));
    box-shadow: 0 8px 20px rgba(14, 165, 122, 0.12);
}

.account-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3vw 1.5vw;
}

.account-status-label {
    font-size: 3.1vw;
    font-weight: 600;
    color: var(--muted);
}

.user-result-row.is-selected .account-status-label {
    color: var(--accent);
}

.account-confirm-tag {
    display: none;
    font-size: 2.8vw;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    padding: 1vw 2.8vw;
    border-radius: 999px;
}

.user-result-row.is-selected .account-confirm-tag {
    display: inline-flex;
    align-items: center;
}

.flex {
    display: flex;
    padding: 0 3vw;
    align-items: center;
}

.account-main-row {
    position: relative;
    padding-bottom: 2vw;
}

.top-bg {
    background: transparent;
    min-height: 16vw;
}

.uni-text {
    width: 12vw;
    font-size: 3.6vw;
    font-weight: 600;
    color: var(--muted);
}

.user_id {
    flex: 1;
    min-width: 0;
    min-height: 15vw;
    display: flex;
    align-items: center;
}

.user-id-left { width: 14vw; display: none; }
.user-result-row.is-selected .user-id-left { display: block; }
.user-id-left img {
    width: 11vw;
    height: 11vw;
    border-radius: 50%;
    margin: 1.5vw 1vw;
    object-fit: cover;
    border: 2px solid rgba(14, 165, 122, 0.35);
    box-sizing: border-box;
}

.user-id-meta {
    flex: 1;
    min-width: 0;
}

.user_id-p {
    font-size: 3.8vw;
    color: var(--ink);
    line-height: 1.35;
    padding: 1vw 0;
    font-weight: 600;
}

.user-result-row.is-selected #user-id {
    color: var(--ink);
    font-size: 4vw;
}

.user-id-height { line-height: 15vw; height: 15vw; padding: 0; color: var(--muted); font-weight: 500; }

.user-name {
    font-size: 3.2vw;
    color: var(--muted);
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-result-row.is-selected .user-name {
    color: #2f5a4c;
    font-weight: 500;
}

.account-pay-hint {
    margin-top: 0.6vw;
    font-size: 2.9vw;
    color: var(--accent);
    font-weight: 600;
}

.account-check-mark {
    display: none;
    width: 6.5vw;
    height: 6.5vw;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
    flex-shrink: 0;
    margin-left: 2vw;
}

.account-check-mark::after {
    content: "";
    position: absolute;
    left: 2vw;
    top: 1.4vw;
    width: 1.8vw;
    height: 3.2vw;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.user-result-row.is-selected .account-check-mark {
    display: block;
}

.user_id_enter {
    flex: 1;
    height: 15vw;
    display: none;
    position: relative;
}

.input-clear {
    position: absolute;
    top: 3.8vw;
    right: 1vw;
    width: 14vw;
    height: 7vw;
    line-height: 7vw;
    text-align: center;
    font-size: 3.4vw;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    border-radius: 999px;
    display: none;
}

.arrow_div {
    width: 8vw;
    height: 15vw;
    background-image: url('../image/arrow.png');
    background-size: 4vw;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45;
    filter: invert(1) brightness(0.35);
}

.history-list-content {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: auto;
    margin-top: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 100;
    display: none;
    box-shadow: var(--shadow);
}

.body-marquee .history-list-content {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line);
}

.history-list {
    padding-left: 14vw;
    border-top: none;
}

.history-item { display: flex; align-items: center; padding: 2vw 0; }
.history-item-left-div { width: 16vw; }
.history-item-left-div img {
    width: 11vw;
    height: 11vw;
    border-radius: 50%;
    margin: 1vw 2vw;
    object-fit: cover;
}
.clear-history {
    height: 10vw;
    line-height: 10vw;
    text-align: center;
    font-size: 3.4vw;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.recharge-content {
    width: 100%;
    padding: 4vw 4vw 28vw;
}

.section-label {
    font-size: 3.6vw;
    font-weight: 600;
    color: var(--muted);
    margin: 1vw 0 3vw;
}

.recharge-item {
    width: 100%;
    height: 15vw;
    line-height: 15vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding-right: 4vw;
    margin-bottom: 2.4vw;
    position: relative;
    box-shadow: 0 4px 14px rgba(20, 48, 40, 0.04);
}

.item-bg-2 {
    border-color: rgba(14, 165, 122, 0.35);
    background: linear-gradient(90deg, #fff, rgba(14, 165, 122, 0.06));
}

.new-zuan-img {
    float: left;
    width: 14vw;
    height: 15vw;
    background-image: url('../image/zuan-bg.png');
    background-size: 6vw;
    background-position: center;
    background-repeat: no-repeat;
}

.left-text {
    float: left;
    font-size: 3.8vw;
    color: var(--ink);
    font-weight: 600;
}

.right-money {
    float: right;
    font-size: 4vw;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent);
    line-height: 15vw;
}

.clear { clear: both; }

#recharge-div-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5vw;
}

.recharge-item-content {
    width: calc((100% - 5vw) / 3);
    min-height: 24vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 3.5vw 2vw;
    text-align: center;
    box-shadow: 0 4px 14px rgba(20, 48, 40, 0.04);
}

.recharge-item-content1 {
    border-color: rgba(14, 165, 122, 0.4);
    background: linear-gradient(180deg, #fff 0%, rgba(14, 165, 122, 0.08) 100%);
}

.zuan-shi-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    font-size: 4.2vw;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-display);
}

.img-zuan-shi {
    width: 4.5vw;
    height: 4.5vw;
}

.money-text {
    margin-top: 2vw;
    font-size: 3.4vw;
    color: var(--accent);
    font-weight: 600;
}

.money-text1 {
    margin-top: 1vw;
    font-size: 2.8vw;
    color: var(--muted);
}

.ran { color: var(--accent); font-weight: 700; }

.recharge-input-div {
    width: 100%;
    margin-top: 4vw;
    min-height: 13vw;
    border: 1.5px solid rgba(14, 165, 122, 0.35);
    background: #fff;
    border-radius: 14px;
    line-height: 13vw;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.recharge-input {
    width: 40%;
    float: left;
    height: 13vw;
    font-size: 3.8vw;
    padding: 0 4vw;
    background: transparent;
    color: var(--ink);
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.user_id_input::placeholder,
.recharge-input::placeholder { color: #8aa197; }

.right-recharge-input-btn {
    display: block;
    width: 60%;
    float: right;
    height: 13vw;
    line-height: 13vw;
}

.left-zuan-tips {
    width: 58%;
    float: left;
    color: var(--muted);
    font-size: 3.2vw;
    text-align: right;
    padding-right: 2vw;
}

.chongzhi-btn {
    width: 18vw;
    float: right;
    height: 9vw;
    line-height: 9vw;
    margin: 2vw 2.5vw;
    text-align: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    font-size: 3.5vw;
    font-weight: 700;
    color: #fff;
}

.active-enter .recharge-input { width: 40%; }
.active-enter .right-recharge-input-btn { display: block; }

.pay-submit-btn {
    display: block;
    width: 100%;
    margin-top: 4vw;
    height: 12vw;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    font-size: 4.2vw;
    font-weight: 700;
    font-family: var(--font-body);
    box-shadow: 0 8px 20px rgba(14, 165, 122, 0.28);
}

.error-tips {
    width: 100%;
    min-height: 8vw;
    line-height: 8vw;
    text-align: left;
    font-size: 3.2vw;
    color: var(--accent);
    display: block;
    padding: 1vw 1vw 0;
}

.tips-block {
    margin-top: 6vw;
    padding: 4vw;
    border-radius: var(--radius);
    background: var(--accent-soft);
    border: 1px solid rgba(14, 165, 122, 0.12);
}

.footer-tips-p {
    font-size: 3.2vw;
    line-height: 1.7;
    color: var(--muted);
}

.footer-tips-p.color1,
.color1 {
    color: var(--accent) !important;
    font-weight: 600;
}

.to-link { text-decoration: underline; }
.red { color: inherit; }

.mark-content {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 25, 0.45);
    z-index: 50;
    display: none;
}

.input-focus-mask {
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
}

.footer-fixed, .modal-tips {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: none;
    box-shadow: 0 -8px 30px rgba(20, 48, 40, 0.12);
}

.footer-fixed-tips {
    text-align: center;
    height: 12vw;
    line-height: 12vw;
    font-size: 4vw;
    color: var(--ink);
    font-weight: 700;
}

.flex-item {
    flex: 1;
    height: 34vw;
    display: flex;
    background-position: center 18%;
    background-repeat: no-repeat;
    background-size: 16vw;
    position: relative;
    align-items: center;
    justify-content: center;
}

.d-weixin { background-image: url('../image/weixin.png'); }
.d-zhifubao { background-image: url('../image/zfb.png'); }

.zhifu-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 3.6vw;
    color: var(--ink);
    bottom: 18%;
    font-weight: 500;
}

.cancel-btn {
    height: 13vw;
    line-height: 13vw;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 3.8vw;
}

.open_web {
    width: 100%;
    height: 100%;
    z-index: 200;
    position: fixed;
    background: rgba(15, 30, 25, 0.72);
    display: none;
}
.open_web.active { display: block; }
.open_web img {
    float: right;
    margin: 20px 24px 0 0;
    width: 110px;
    height: 92px;
}
.open_web p {
    clear: both;
    float: right;
    margin: 12px 24px 0 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-align: right;
}

.ios-tips-mark {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 25, 0.92);
    padding: 30vh 5vw 0;
    z-index: 1000;
    text-align: center;
    color: #fff;
    display: none;
}

#url-copy {
    width: 36vw;
    height: 10vw;
    line-height: 10vw;
    text-align: center;
    font-size: 3.5vw;
    border-radius: 999px;
    margin: 5vw auto;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    font-weight: 600;
}

.marquee {
    font-size: 3vw;
    background: rgba(180, 83, 9, 0.1);
    border-bottom: 1px solid rgba(180, 83, 9, 0.15);
}

#affiche {
    height: 8vw;
    line-height: 8vw;
    position: relative;
    overflow: hidden;
}

.marquee-view {
    width: 100%;
    color: var(--warn);
    font-weight: 600;
    white-space: nowrap;
    animation: move 18s linear infinite;
}

@keyframes move {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-220vw); }
}

.cha {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 2.5vw;
    height: 8vw;
    line-height: 8vw;
    font-size: 4.5vw;
    color: var(--warn);
    background: #f8efe4;
}

.loading {
    width: 100%;
    height: 100%;
    background: rgba(15, 30, 25, 0.35);
    z-index: 1000;
    position: fixed;
    display: none;
}

.loadEffect {
    width: 100px;
    height: 100px;
    position: relative;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}

.loadEffect span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.2;
    position: absolute;
    animation: load 1.04s ease infinite;
}

@keyframes load {
    0% { opacity: 1; }
    100% { opacity: 0.2; }
}

.loadEffect span:nth-child(1) { left: 0; top: 50%; margin-top: -7px; animation-delay: 0.13s; }
.loadEffect span:nth-child(2) { left: 14px; top: 14px; animation-delay: 0.26s; }
.loadEffect span:nth-child(3) { left: 50%; top: 0; margin-left: -7px; animation-delay: 0.39s; }
.loadEffect span:nth-child(4) { top: 14px; right: 14px; animation-delay: 0.52s; }
.loadEffect span:nth-child(5) { right: 0; top: 50%; margin-top: -7px; animation-delay: 0.65s; }
.loadEffect span:nth-child(6) { right: 14px; bottom: 14px; animation-delay: 0.78s; }
.loadEffect span:nth-child(7) { bottom: 0; left: 50%; margin-left: -7px; animation-delay: 0.91s; }
.loadEffect span:nth-child(8) { bottom: 14px; left: 14px; animation-delay: 1.04s; }

.modal-card-content {
    position: fixed;
    left: 6vw;
    right: 6vw;
    top: 22vh;
    z-index: 120;
    background: #fff;
    border-radius: 18px;
    padding: 5vw;
    display: none;
    box-shadow: var(--shadow);
}

.modal-zhang-title {
    font-size: 4.4vw;
    font-weight: 700;
    margin-bottom: 2vw;
}

.modal-tips {
    font-size: 3.3vw;
    color: var(--muted);
    margin-bottom: 4vw;
    line-height: 1.5;
}

.modal-user-list-item {
    display: flex;
    align-items: center;
    padding: 3.2vw 3vw;
    margin-bottom: 2vw;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}

.modal-user-list-item.is-active {
    border-color: rgba(14, 165, 122, 0.65);
    background: rgba(14, 165, 122, 0.08);
}

.modal-user-id {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
}

.modal-user-id-left img,
.modal-user-img-head {
    width: 11vw;
    height: 11vw;
    border-radius: 50%;
    margin-right: 3vw;
    object-fit: cover;
}

.right-modal-btn {
    width: 5.2vw;
    height: 5.2vw;
    border: 1.5px solid rgba(20, 48, 40, 0.25);
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
}

.modal-user-list-item.is-active .right-modal-btn {
    border-color: var(--accent);
    background: var(--accent);
}

.modal-user-list-item.is-active .right-modal-btn::after {
    content: "";
    position: absolute;
    left: 1.5vw;
    top: 0.9vw;
    width: 1.4vw;
    height: 2.4vw;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-select-hint {
    margin-top: 2vw;
    font-size: 3vw;
    color: var(--muted);
    text-align: center;
}

.share-content {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
    top: 27vw;
    display: none;
}
.share-img { width: 100%; }
.down-load {
    position: absolute;
    width: 10vw;
    height: 10vw;
    left: 45vw;
    top: 107vw;
    display: block;
    background-image: url('../image/down.png');
    background-position: center;
    background-size: 10vw;
    background-repeat: no-repeat;
}

.first-tips {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0.8vw 3vw;
    font-size: 2.8vw;
    color: #fff;
    background: var(--accent);
    border-radius: 0 14px 0 10px;
}

.left-text .zhe-money { line-height: 15vw; }
.line-height-zhe .zhe-money { height: 8vw; line-height: 11vw; }
.line-height-zhe .zhe-tips {
    line-height: 4vw;
    display: block;
    color: var(--accent);
    font-size: 2.8vw;
}

.cz-banner { display: none; width: 93%; margin: 2vw auto; }
.cz-banner img { width: 100%; }

.ali-tips {
    position: absolute;
    top: 2vw;
    right: 4vw;
    font-size: 2.8vw;
    color: var(--accent);
}

.top-input-enter .user_id { display: none; }
.top-input-enter .user_id_enter { display: block; }
.top-input-enter .arrow_div { display: none; }

.remove-margin { margin-top: 0; }

.card-bg {
    padding: 4vw;
    border-radius: var(--radius);
    background: #fff;
    margin-top: 3vw;
}

.show-message {
    padding: 3vw;
    border-radius: var(--radius);
    margin-top: 4vw;
    background: #fff;
}

.loading-tips {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-tips-text {
    background: rgba(20, 48, 40, 0.85);
    color: #fff;
    padding: 3vw 5vw;
    border-radius: 10px;
    font-size: 3.6vw;
}
