/* Compact purchase dialog with the original light-blue frosted glass palette. */
.layui-layer.neon-purchase-layer[type=page] {
    background: linear-gradient(145deg, rgba(237,242,255,.92), rgba(249,251,255,.94) 62%, rgba(246,248,255,.94)) !important;
    -webkit-backdrop-filter: blur(44px) saturate(1.6);
    backdrop-filter: blur(44px) saturate(1.6);
    border: 1px solid rgba(255,255,255,.84);
    border-radius: 18px !important;
    box-shadow: 0 20px 65px rgba(61,76,120,.18), inset 0 1px 0 rgba(255,255,255,.8) !important;
    color: #1c1d21;
    opacity: 1 !important;
    filter: none !important;
    font-family: HarmonyOS, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    text-shadow: none;
}
.neon-purchase-layer .layui-layer-content { border-radius: inherit; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9c1cf transparent; background: transparent; opacity: 1; filter: none; }
.neon-purchase-layer .layui-layer-content::-webkit-scrollbar { width: 5px; }
.neon-purchase-layer .layui-layer-content::-webkit-scrollbar-thumb { background: #b9c1cf; border-radius: 8px; box-shadow: none; }
.neon-purchase-layer .layui-layer-content::-webkit-scrollbar-track { background: transparent; box-shadow: none; }
.neon-purchase-layer .layui-layer-setwin { right: 17px; top: 17px; z-index: 4; }
.neon-purchase-layer .layui-layer-setwin .layui-layer-close {
    display: block; width: 27px; height: 27px; border-radius: 50%; background: #8d9095; color: white; text-decoration: none;
}
.neon-purchase-layer .layui-layer-setwin .layui-layer-close { position: static; margin: 0; }
.neon-purchase-layer .layui-layer-setwin .layui-layer-close:before { content: '×'; display: block; font: 25px/25px Arial,sans-serif; text-align: center; }
.neon-purchase-layer .layui-layer-setwin .layui-layer-close:hover { background: #70747b; }
.neon-purchase-layer .layui-layer-close:focus-visible { outline: 3px solid #1677ff; outline-offset: 3px; }
.neon-purchase.open-commodity { padding: 22px 24px 20px; box-sizing: border-box; color: #1c1d21; opacity: 1; filter: none; text-shadow: none; }
.neon-purchase .layout { display: block; }
.neon-purchase .commodity-form { margin: 0; }
.neon-purchase .commodity_name { margin: 0 0 10px; padding: 4px 30px 12px; border-bottom: 1px solid rgba(255,255,255,.9); color: #1c1d21; font-size: 21px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; text-align: center; }
.neon-purchase .neon-share-line { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; text-align: center; }
.neon-purchase .neon-share { appearance: none; border: 0; padding: 3px 6px; background: transparent; color: #0a84ff; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.7; cursor: pointer; }
.neon-purchase .neon-share:hover { color: #0069dd; }
.neon-purchase .neon-share-status { flex-basis: 100%; color: #52637a; font-size: 12px; text-align: center; }
.neon-purchase .neon-share-status:empty { display: none; }
.neon-purchase .neon-share-fallback { margin: 0 0 15px; }
.neon-purchase .neon-share-fallback[hidden] { display: none; }
.neon-purchase .neon-share-fallback input { width: 100% !important; font-size: 12px; }
.neon-purchase .description { max-height: 144px; overflow: auto; scrollbar-width: thin; margin: 0 0 10px; color: #5b5f68; font-size: 13px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
.neon-purchase .description p, .neon-purchase .description li { margin: 4px 0 !important; font-size: 13px !important; line-height: 1.65 !important; }
.neon-purchase .description ul, .neon-purchase .description ol { margin: 6px 0 !important; padding-left: 24px; }
.neon-purchase .description ol { list-style: decimal outside; }
.neon-purchase .description ul { list-style: disc outside; }
.neon-purchase .description li { display: list-item; }
.neon-purchase .description p:empty { display: none; }
.neon-purchase .description img { max-width: 100%; height: auto; }
.neon-purchase .description table { max-width: 100%; }
.neon-purchase .description pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.neon-purchase .general { margin: 9px 0; line-height: 1.6; font-size: 14px; color: #5b5f68; }
.neon-purchase .neon-price-line { margin: 10px 0 8px; }
.neon-purchase .price { color: #0a84ff; font-size: 24px; font-weight: 800; line-height: 1.4; }
.neon-purchase .price_tips { color: #0a84ff; font-size: 12px; font-weight: 500; line-height: 1.7; }
.neon-purchase .price_tips a { color: #3878ce !important; }
.neon-purchase .neon-delivery-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.neon-purchase .delivery_way, .neon-purchase .stock { display: inline-block; padding: 2px 6px; border-radius: 6px; line-height: 1.5; font-size: 12px; font-weight: 600; color: white; }
.neon-purchase .delivery_way_auto { border-radius: 999px; background: #2caa65; }
.neon-purchase .delivery_way_hand { border-radius: 999px; background: #ff9f0a; }
.neon-purchase .neon-purchase-notice { margin: 0 0 12px; padding: 8px 10px; background: #fff7e8; border: 1px solid #ffdba1; border-radius: 9px; color: #8c5817; font-size: 12px; font-weight: 550; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-line; }
.neon-purchase .neon-purchase-notice .fa { color: #ed941c; }
.neon-purchase .neon-form-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 36px; margin: 9px 0; }
.neon-purchase .neon-field-label { flex: 0 0 78px; margin: 0; font-size: 14px; color: #5b5f68; font-weight: 400; white-space: nowrap; }
.neon-purchase-layer .neon-purchase .acg-input,
.neon-purchase .widget input:not([type=checkbox]):not([type=radio]),
.neon-purchase .widget select,
.neon-purchase .widget textarea,
.neon-purchase .neon-share-fallback input {
    height: 36px !important; max-width: 100%; width: 280px; padding: 6px 10px !important; border: 1px solid rgba(255,255,255,.94) !important; border-radius: 999px !important;
    background: rgba(255,255,255,.58) !important; color: #252932; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 22px; box-sizing: border-box;
}
.neon-purchase .acg-input:focus, .neon-purchase .widget input:focus, .neon-purchase .widget textarea:focus { outline: 2px solid rgba(10,132,255,.45); outline-offset: 1px; }
.neon-purchase .acg-input::placeholder { color: #7f8591 !important; opacity: 1; }
.neon-purchase .purchase_num { width: 92px !important; }
.neon-purchase .captcha-input { width: 154px !important; }
.neon-purchase .captcha { position: static; max-width: 112px; height: 36px; object-fit: contain; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; cursor: pointer; }
.neon-purchase .neon-choice-list { flex: 1; min-width: 0; }
.neon-purchase .race-click { margin: 3px 5px 3px 0; padding: 4px 10px; border-radius: 7px; background: white; border: 1px solid #e6dfe8; box-shadow: none; font-size: 13px; }
.neon-purchase .race-click.checked { background: #eff5ff; border-color: #6ba2f5; color: #3477c9; }
.neon-purchase .widget p { margin: 15px 0; line-height: 2; }
.neon-purchase .widget textarea { width: 100%; min-height: 90px !important; height: auto !important; border-radius: 12px !important; }
.neon-purchase .sku-view .general { line-height: 2.4; }
.neon-purchase .qq-service, .neon-purchase .web-service { padding: 4px 10px; margin: 0 2px 0 0; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,255,255,.45); font-size: 13px; font-weight: 500; text-decoration: none; }
.neon-purchase .qq-service { color: #0a84ff; }
.neon-purchase .web-service { color: #ed4b96; }
.neon-purchase .pay-content { border-top: 1px solid rgba(255,255,255,.9); margin-top: 14px; padding-top: 12px; }
.neon-purchase .neon-pay-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; color: #4f545f; font-size: 15px; font-weight: 600; }
.neon-purchase .neon-pay-total { font-size: 13px; color: #5b5f68; font-weight: 400; }
.neon-purchase .trade_amount { color: #0a84ff; font-size: 18px; font-weight: 750; }
.neon-purchase .pay_list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 0; }
.neon-purchase .pay-button { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; margin: 0; padding: 5px 10px; border: 1px solid rgba(255,255,255,.95); border-radius: 999px; background: rgba(255,255,255,.62); color: #303640; font-size: 13px; font-weight: 500; box-shadow: 0 2px 6px rgba(97,151,217,.08); text-decoration: none; line-height: 24px; }
.neon-purchase .pay-button:hover { color: #096dda; background: rgba(255,255,255,.9); border-color: #aad1ff; }
.neon-purchase .pay-button img { width: 23px; height: 23px; border-radius: 6px; object-fit: contain; }
.neon-purchase .neon-pay-empty { margin: 0; color: #656d7b; font-size: 13px; }
.neon-purchase .need-login { margin: 18px 0 0; padding: 13px; background: #fff4df; color: #a66d30; border-radius: 9px; }
.neon-purchase .neon-share:focus-visible, .neon-purchase .pay-button:focus-visible { outline: 2px solid #458ae8; outline-offset: 3px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .layui-layer.neon-purchase-layer[type=page] { background: linear-gradient(145deg, #edf2ff, #f9fbff 62%, #f6f8ff) !important; }
}
@media (max-width: 600px) {
    .layui-layer.neon-purchase-layer[type=page] { border-radius: 16px !important; }
    .neon-purchase.open-commodity { padding: 20px 16px 16px; }
    .neon-purchase .commodity_name { font-size: 18px; padding: 4px 30px 10px; margin-bottom: 10px; }
    .neon-purchase .description, .neon-purchase .general { font-size: 13px; }
    .neon-purchase .neon-field-label { flex-basis: 68px; font-size: 13px; }
    .neon-purchase .neon-form-row { gap: 7px; margin: 9px 0; }
    .neon-purchase .description { max-height: min(144px, 23vh); }
    .neon-purchase .neon-form-row > .acg-input { width: calc(100% - 75px) !important; min-width: 0; }
    .neon-purchase .neon-form-row > .purchase_num { width: 83px !important; }
    .neon-purchase .captcha_status > .captcha-input { width: calc(100% - 75px) !important; }
    .neon-purchase .captcha_status > .captcha { margin-left: 75px; max-width: 120px; }
    .neon-purchase .neon-purchase-notice { padding: 8px 10px; margin-bottom: 12px; font-size: 12px; }
    .neon-purchase .price { font-size: 23px; }
    .neon-purchase .neon-pay-heading { font-size: 14px; }
    .neon-purchase .pay-button { font-size: 12px; padding: 4px 8px; }
    .neon-purchase .widget input:not([type=checkbox]):not([type=radio]), .neon-purchase .widget select { width: 100%; }
}
