/* Responsive layout only; existing routes, requests and account state are unchanged. */
html {
    font-size: clamp(8px, 2.133333vw, 10.24px) !important;
    --front-screen: 100vh;
    --front-viewport: calc(var(--front-screen) - env(safe-area-inset-top, 0px));
    --front-nav-height: calc(50px + env(safe-area-inset-bottom, 0px));
}
@supports (height: 100dvh) {
    html { --front-screen: 100dvh; }
}
#app {
    box-sizing: border-box;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}

/* The main route already has a real navigation spacer: do not reserve it twice. */
#app .main[data-v-43023995] { height: var(--front-viewport); min-height: 0; }
#app .main[data-v-43023995] > .content {
    flex: 1 1 0; min-height: 0; min-width: 0; padding-bottom: 0;
}
#app .nav[data-v-8adb3680] { flex: 0 0 var(--front-nav-height); height: var(--front-nav-height); }
#app .van-tabbar[data-v-8adb3680] {
    box-sizing: border-box; height: var(--front-nav-height);
    padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
#app .van-tabbar[data-v-8adb3680] .van-tabbar-item { min-width: 0; }
#app .van-tabbar[data-v-8adb3680] .van-tabbar-item__text { text-align: center; line-height: 1.15; overflow-wrap: anywhere; }

/* These three pages live inside the main route's available content height. */
#app .home[data-v-16d354ab],
#app .zichan[data-v-9be2c3b2],
#app .dating[data-v-b3d91032] {
    display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0; width: 100%;
}
#app .home[data-v-16d354ab] > .logo {
    flex-shrink: 0; box-sizing: border-box; min-height: 56px;
}
#app .home[data-v-16d354ab] > .main-content,
#app .zichan[data-v-9be2c3b2] > .content,
#app .dating[data-v-b3d91032] > .content {
    flex: 1 1 0; height: auto; min-height: 0; min-width: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
#app .home[data-v-16d354ab] .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#app .home[data-v-16d354ab] .nav_item { min-width: 0; padding-inline: clamp(12px, 3vw, 32px); overflow-wrap: anywhere; }
#app .dating[data-v-b3d91032] .cardItem { box-sizing: border-box; max-width: 100%; }
#app .zichan[data-v-9be2c3b2] .item { height: auto; min-height: 20rem; box-sizing: border-box; padding: 2px; }
#app .zichan[data-v-9be2c3b2] .itemWrap {
    position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: calc(20rem - 4px);
}
#app .zichan[data-v-9be2c3b2] .itemBox {
    box-sizing: border-box; height: auto; min-height: calc(20rem - 4px); padding-block: 1px 12px;
}
#app .zichan[data-v-9be2c3b2] .value {
    font-size: clamp(22px, 4.2vw, 5rem); line-height: 1.2; white-space: normal; overflow-wrap: anywhere;
}
#app .zichan[data-v-9be2c3b2] .info_heade_bottom { flex-wrap: wrap; gap: 8px; }
#app .zichan[data-v-9be2c3b2] .info_heade_bottom .money,
#app .zichan[data-v-9be2c3b2] .header_right { min-width: 0; overflow-wrap: anywhere; }

/* Standalone forms/records use a scrollable middle, not a fixed 100vh subtraction. */
#app .recharge[data-v-08e44dd1],
#app .withdraw[data-v-638234fb],
#app .rechargeRecord[data-v-bd5d02e0],
#app .description[data-v-04508e16],
#app .trade[data-v-517467fe],
#app .tradeRecord[data-v-fd187280],
#app .zhanghao[data-v-2f9beb5e],
#app .zijin[data-v-7779f068] {
    display: flex; flex-direction: column; box-sizing: border-box;
    height: var(--front-viewport); min-height: 0; min-width: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
#app .recharge[data-v-08e44dd1] > .header,
#app .withdraw[data-v-638234fb] > .header,
#app .rechargeRecord[data-v-bd5d02e0] > .header,
#app .description[data-v-04508e16] > .header,
#app .trade[data-v-517467fe] > .header,
#app .tradeRecord[data-v-fd187280] > .header {
    flex-shrink: 0; box-sizing: border-box; min-height: 56px;
}
#app .recharge[data-v-08e44dd1] > .content,
#app .withdraw[data-v-638234fb] > .content,
#app .rechargeRecord[data-v-bd5d02e0] > .content,
#app .description[data-v-04508e16] > .content,
#app .tradeRecord[data-v-fd187280] > .content,
#app .zhanghao[data-v-2f9beb5e] > .content,
#app .zijin[data-v-7779f068] > .content {
    flex: 1 1 0; height: auto; min-height: 0; min-width: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch; scroll-padding-block: 16px;
}
#app .trade[data-v-517467fe] > .content { min-height: 0; min-width: 0; }
#app .trade[data-v-517467fe] > .remainBox,
#app .tradeRecord[data-v-fd187280] > .tab { flex-shrink: 0; }
#app .trade[data-v-517467fe] > .content > div { -webkit-overflow-scrolling: touch; }
#app .recharge[data-v-08e44dd1] > .bottom,
#app .withdraw[data-v-638234fb] > .bottom {
    flex-shrink: 0; min-height: 44px; box-sizing: border-box;
    height: auto; line-height: 1.4; padding: 12px 16px; margin-bottom: 8px;
}
#app .recharge[data-v-08e44dd1] .net { --front-card-height: 20rem; }
#app .recharge[data-v-08e44dd1] .form { --front-card-height: 30rem; }
#app .withdraw[data-v-638234fb] .net { --front-card-height: 15rem; }
#app .withdraw[data-v-638234fb] .form { --front-card-height: 10rem; }
#app .recharge[data-v-08e44dd1] .content > :is(.net, .form),
#app .withdraw[data-v-638234fb] .content > :is(.net, .form) {
    box-sizing: border-box; height: auto; min-height: var(--front-card-height); padding: 2px;
}
#app .recharge[data-v-08e44dd1] .content .wrap,
#app .withdraw[data-v-638234fb] .content .wrap {
    position: relative; left: auto; top: auto; display: flow-root;
    width: 100%; height: auto; min-height: calc(var(--front-card-height) - 4px);
}
#app .recharge[data-v-08e44dd1] .trc { gap: 8px; align-items: center; }
#app .recharge[data-v-08e44dd1] .trc > span { min-width: 0; overflow-wrap: anywhere; }
#app .recharge[data-v-08e44dd1] .form .top .trc > .input { flex: 1; min-width: 0; }
#app .recharge[data-v-08e44dd1] .form .top .trc > span { flex-shrink: 0; white-space: nowrap; }
#app .recharge[data-v-08e44dd1] button[aria-haspopup="dialog"] { min-width: 44px; min-height: 44px; }
#app .recharge[data-v-08e44dd1] .header .record,
#app .withdraw[data-v-638234fb] .header .record { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
#app .recharge[data-v-08e44dd1] .van-uploader__preview-delete { width: 24px; height: 24px; }
#app .zhanghao[data-v-2f9beb5e] > .header,
#app .zijin[data-v-7779f068] > .header { position: static; flex-shrink: 0; min-height: 56px; }
#app .zhanghao[data-v-2f9beb5e] > .content,
#app .zijin[data-v-7779f068] > .content { top: auto; }
#app .zhanghao[data-v-2f9beb5e] > .confirm {
    position: static; flex-shrink: 0; box-sizing: border-box;
    min-height: 44px; height: auto; line-height: 1.4; padding: 12px 16px;
}
#app .zijin[data-v-7779f068] .listBox { height: auto; overflow-y: visible; }
#app .zijin[data-v-7779f068] .info { height: auto; min-height: 18rem; padding: 2px; }
#app .zijin[data-v-7779f068] .infoBox {
    position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: calc(18rem - 4px);
}
#app .zijin[data-v-7779f068] .infoWrap { height: auto; min-height: calc(18rem - 4px); display: flow-root; }
#app .zijin[data-v-7779f068] .money { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
#app .zijin[data-v-7779f068] .money-value {
    min-width: 0; max-width: 100%; font-size: clamp(22px, 4.2vw, 5rem); line-height: 1.2; overflow-wrap: anywhere;
}
#app .rechargeRecord[data-v-bd5d02e0] > .header > .tab { min-width: 0; margin-inline: 8px; }

/* Natural-height pages remain reachable in landscape and with the keyboard open. */
#app .login[data-v-f0ac4bdc], #app .login[data-v-040c6b27] {
    box-sizing: border-box; min-height: var(--front-viewport); max-width: 560px;
    margin-inline: auto; padding: clamp(16px, 4vw, 40px);
}
#app .login[data-v-f0ac4bdc] .wrap, #app .login[data-v-040c6b27] .wrap { padding: 32px 20px; }
#app .login[data-v-040c6b27] .page-bc { right: 0; max-width: 100%; }
#app .yaoqing[data-v-7d55bd24], #app .language[data-v-1d6e5248] {
    box-sizing: border-box; height: auto; min-height: var(--front-viewport);
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
#app .yaoqing[data-v-7d55bd24] .infoBox { height: auto; min-height: 46rem; }
#app .yaoqing[data-v-7d55bd24] .infoBox canvas { max-width: 100%; height: auto; }
#app .yaoqing[data-v-7d55bd24] .bottom { gap: 12px; flex-wrap: wrap; }
#app .blank[data-v-07edae18] { height: var(--front-viewport); width: 100%; }
#app .blank[data-v-07edae18] > iframe { display: block; }
#app .user[data-v-3491eb2d] .item { gap: 12px; }
#app .user[data-v-3491eb2d] .item > span:last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }

/* Constrain overlays themselves; never disable interaction on page content. */
.modal[data-v-09516e96] {
    box-sizing: border-box; width: 100%; height: var(--front-screen);
    padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.modal[data-v-09516e96] > .content {
    box-sizing: border-box; width: min(560px, 100%);
    max-height: 100%; overflow-y: auto; overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch; overflow-wrap: anywhere;
}
.modal[data-v-09516e96] .sub { gap: 12px; flex-wrap: wrap; }
.modal[data-v-09516e96] .set,
.modal[data-v-09516e96] .footer > span { box-sizing: border-box; min-height: 44px; }
.van-dialog { max-width: calc(100% - 32px); max-height: calc(var(--front-screen) - 32px); overflow-y: auto; }
.van-dialog__message { max-height: calc(var(--front-screen) - 160px); }
.van-popup--bottom { max-height: calc(var(--front-screen) - env(safe-area-inset-top, 0px)); }
.van-toast { width: auto; min-width: 88px; max-width: min(320px, calc(100% - 64px)); word-break: normal; overflow-wrap: anywhere; }

/* Preserve every amount; long identifiers wrap instead of widening card flex rows. */
#app .tradeRecord[data-v-fd187280] .list-item > :last-child,
#app .zhanghao[data-v-2f9beb5e] .input { min-width: 0; overflow-wrap: anywhere; }
#app .description[data-v-04508e16] .content :is(img, video, iframe) { max-width: 100%; }
#app .recharge[data-v-08e44dd1] .header .back,
#app .withdraw[data-v-638234fb] .header .back,
#app .zhanghao[data-v-2f9beb5e] .header .back,
#app .zijin[data-v-7779f068] .header .back,
#app .yaoqing[data-v-7d55bd24] .header .back,
#app .description[data-v-04508e16] .header .back,
#app .rechargeRecord[data-v-bd5d02e0] .header .back {
    flex-shrink: 0; min-width: 36px; min-height: 36px; object-fit: contain;
}
@media (max-width: 380px) {
    #app .zhanghao[data-v-2f9beb5e] .item { flex-wrap: wrap; gap: 8px; }
    #app .zhanghao[data-v-2f9beb5e] .item .label { width: 100%; margin-right: 0; }
}

/* Only these captured decorative nodes have no event handler; controls are untouched. */
#app .login[data-v-040c6b27] > .page-bc,
#app .yaoqing[data-v-7d55bd24] > .rent,
#app .tradeRecord[data-v-fd187280] .card_bg,
#app .rechargeRecord[data-v-bd5d02e0] .card_bg,
#app .zijin[data-v-7779f068] .card_bg { pointer-events: none; }

/* Keep mobile gestures native; expose a narrow scroll affordance to desktop pointers. */
@media (hover: hover) and (pointer: fine) {
    #app :is(.main-content[data-v-16d354ab], .content[data-v-9be2c3b2], .content[data-v-b3d91032],
        .content[data-v-08e44dd1], .content[data-v-638234fb], .content[data-v-bd5d02e0],
        .content[data-v-04508e16], .content[data-v-fd187280], .content[data-v-2f9beb5e],
        .content[data-v-7779f068], .content[data-v-517467fe] > div),
    .modal[data-v-09516e96] > .content { scrollbar-width: thin; scrollbar-color: auto; }
    #app :is(.main-content[data-v-16d354ab], .content[data-v-9be2c3b2], .content[data-v-b3d91032],
        .content[data-v-08e44dd1], .content[data-v-638234fb], .content[data-v-bd5d02e0],
        .content[data-v-04508e16], .content[data-v-fd187280], .content[data-v-2f9beb5e],
        .content[data-v-7779f068], .content[data-v-517467fe] > div)::-webkit-scrollbar,
    .modal[data-v-09516e96] > .content::-webkit-scrollbar { width: 8px; height: 8px; }
    #app :is(.main-content[data-v-16d354ab], .content[data-v-9be2c3b2], .content[data-v-b3d91032],
        .content[data-v-08e44dd1], .content[data-v-638234fb], .content[data-v-bd5d02e0],
        .content[data-v-04508e16], .content[data-v-fd187280], .content[data-v-2f9beb5e],
        .content[data-v-7779f068], .content[data-v-517467fe] > div)::-webkit-scrollbar-thumb,
    .modal[data-v-09516e96] > .content::-webkit-scrollbar-thumb { background-color: rgba(128, 128, 128, .45); border-radius: 8px; }
}
