/* 二次元风格（无毛玻璃、无动画、注重可读与性能） */

:root {
    --acg-bg-overlay: rgba(10, 12, 28, 0.45);
    --acg-primary: #7a8cff;
    --acg-secondary: #b88cff;
    --acg-danger: #ff6b88;
    --acg-text-strong: #111319;
    --acg-text-muted: #6b7280;
    --acg-card-bg: rgba(255, 255, 255);
    --acg-border: #e5e7eb;
}

html {
    font-size: 13px;
}

a {
    text-decoration: none;
}

/* 背景直接铺图 + 颜色叠加（不使用 fixed，避免闪烁） */
body {
    background-image: linear-gradient(180deg, var(--acg-bg-overlay), rgba(10, 12, 28, 0.6)), url('/assets/admin/images/login/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* 导航：渐变条 + 细边框 */
.navbar-acg {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
    z-index: 999999;
}

.navbar-acg .navbar-brand {
    font-size: 1.45rem;
}

.navbar-acg .nav-link {
    color: #898989;
    font-size: 1.2rem;
}

.navbar-acg .nav-link.active {
    color: #479afb;
}

.navbar-acg .nav-link.active {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .user-info-box {
        position: absolute;
        right: 64px;
        top: 8px;
    }
    .user-login-box {
        position: absolute;
        right: 68px;
        top: 14px;
    }
}


/* Hero 文案块（纯色卡片） */
.hero-acg {
    background: var(--acg-card-bg);
    border: 1px solid var(--acg-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.hero-title {
    font-weight: 800;
    letter-spacing: .3px;
}

.hero-sub {
    color: var(--acg-text-muted);
}

.accent-bar {
    height: 4px;
    width: 64px;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    border-radius: 4px;
}

/* 分类 Chip */
.chip-list {
    display: flex;
    gap: .5rem;
    overflow-x: visible;
    overflow-y: visible;
    padding: 2px 0 .25rem;
    flex-wrap: wrap;
}

.chip-list::-webkit-scrollbar {
    height: 6px;
}

.chip-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .15);
    border-radius: 999px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: rgb(255 248 248 / 23%);
    color: #707070;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    transform-origin: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 1.231rem;
}

.chip.is-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    border-color: transparent;
}

/* 商品卡片（简洁，无动态特效） */
.acg-card {
    background: var(--acg-card-bg);
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.acg-thumb {
    height: 160px;
    position: relative;
    transition: transform .25s ease;
}

/* 内容容器弹性布局，底部元素对齐 */
.acg-card > .p-3 {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* 价格行靠近底部，库存/已售置底对齐 */
.acg-card > .p-3 .stat-row {
    margin-top: auto;
}

.goods-title {
    font-weight: 700;
    color: #1f1f1f;
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em; /* 2 行占位，保证一行与两行卡片对齐 */
}

.price {
    color: var(--acg-danger);
    font-weight: 800;
    font-size: 20px;
}

.price .unit {
    font-weight: 600;
    font-size: 16px;
    color: #ef7d93;
}

.meta {
    color: var(--acg-text-muted);
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.stat-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--acg-text-muted);
}

.badge-soft {
    display: inline-block;
    padding: .15rem .45rem;
    border-radius: 999px;
    font-size: 12px;
}

.badge-soft-primary {
    background: rgba(122, 140, 255, .12);
    color: #5b6ce6;
    border: 1px solid rgba(122, 140, 255, .25);
}

.badge-soft-success {
    background: rgba(80, 200, 120, .12);
    color: #3aa76d;
    border: 1px solid rgba(80, 200, 120, .25);
}

.badge-soft-danger {
    background: rgba(255, 0, 0, 0.12);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.25);
}

.badge-soft-muted {
    background: rgba(31, 41, 55, 0.12);
    color: rgba(31, 41, 55);
    border: 1px solid rgba(31, 41, 55, 0.25);
}

.badge-soft-warning {
    background: rgba(254, 243, 199, 0.12);
    color: #fef3c7;
    border: 1px solid rgba(254, 243, 199, 0.25);
}


.badge-soft-info {
    background: rgba(186, 149, 251, 0.12);
    color: #ba95fb;
    border: 1px solid rgba(186, 149, 251, 0.25);
}

.shared-button {
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.shared-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.tags {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    margin-bottom: .4rem;
}

.acg-card.soldout {
    filter: grayscale(1) contrast(.92) brightness(.98);
}

.acg-card.soldout:hover {
    transform: none;
    box-shadow: rgba(100, 100, 111, .2) 0 7px 29px 0;
}

.soldout-ribbon {
    position: absolute;
    top: 12px;
    left: -36px;
    transform: rotate(-45deg);
    background: linear-gradient(90deg, #ff8080, #ff6b88);
    color: #fff;
    padding: 4px 46px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(255, 107, 136, .35);
}

/* 分类图标（演示使用统一图片） */
.chip .chip-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

/* 布局微调 */
.section-title {
    color: #111827;
    font-weight: 700;
}

.notice {
    color: #374151;
}

@media (min-width: 992px) {
    .hero-acg {
        padding: 32px;
    }
}

/* 响应式卡片封面高度调整 */
@media (max-width: 575.98px) {
    .acg-thumb {
        height: 120px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .acg-thumb {
        height: 140px;
    }
}

/* 移动端 chip 紧凑化，保持单行显示 */
@media (max-width: 575.98px) {
    .chip {
        padding: .35rem .6rem;
        font-size: 13px;
    }

    .chip .chip-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }

    /* 隐藏移动端横向滚动条但可滑动 */
    .chip-list {
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .chip-list::-webkit-scrollbar {
        display: none;
    }
}

/* 仅在支持 hover 的设备启用动效，避免手机耗电与误触 */
@media (hover: hover) and (pointer: fine) {
    .chip:hover {
        transform: scale(1.02);
    }

    .sku:hover {
        transform: scale(1.02);
    }

    .acg-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    }

    .acg-card:hover .acg-thumb {
        transform: scale(1.03);
    }
}

/* 系统减少动态时，弱化动效 */
@media (prefers-reduced-motion: reduce) {
    .chip, .acg-card, .acg-thumb, .sku {
        transition-duration: .001ms !important;
    }
}

/* 顶部图标与输入组微调 */
.navbar-acg .nav-link .nav-icon {
    margin-right: .35rem;
    font-size: 1.15rem;
}

.navbar-acg .btn .nav-icon {
    margin-right: .35rem;
}

.brand-logo {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.search-input {
    max-width: 360px;
}

.search-input .input-group-text {
    border: 1px solid #90909075;
    background: transparent;
    border-right: 0;
    padding: 0 0 0 10px;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
}

.search-input .form-control {
    border: 1px solid #90909075;
    border-left: 0;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;

}

.search-input .form-control:focus {
    border: var(--bs-border-width) solid #90909075 !important;
    border-left: none !important;
    box-shadow: none;
}

/* 通用 panel 样式（公告/购买区） */
.panel {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
}

.panel + .panel {
    margin-top: 16px;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 16px;

}

.panel-header .icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.panel-title {
    margin: 0;
    color: #111827;
    font-size: 1.2rem;
}

.panel-body {
    color: #1f2937;
    padding: 0 16px 16px 16px;
}

.muted {
    color: var(--acg-text-muted);
}

.item-message {
    text-align: center;
    margin-top: 12px;
    color: grey;
    font-size: 14px;
}


/* SKU LIST */
.sku-list {
    display: flex;
    gap: .5rem;
    overflow-x: visible;
    overflow-y: visible;
    flex-wrap: wrap;
    margin-top: 2px;
}

.sku-list::-webkit-scrollbar {
    height: 6px;
}

.sku-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .15);
    border-radius: 16px;
}

.sku {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: .2rem .6rem;
    border-radius: 16px;
    background: rgba(255, 248, 248, 0.63);
    color: #929292;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    transform-origin: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 14px;
}

/* 价格加价徽标（悬浮在 SKU 右上角） */
.sku .badge-money,
.sku .badge-moeny {
    position: absolute;
    top: -15px;
    right: -12px;
    z-index: 1;
    padding: 1px 4px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    background: linear-gradient(90deg, #ffb84d, #ff6b88);
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(255, 107, 136, .35);
    pointer-events: none; /* 不干扰点击 SKU */
}

/* 在选中/主色 SKU 上同样清晰可见 */
.sku.is-primary .badge-money,
.sku.is-primary .badge-moeny,
.pay-list .pay.is-primary .badge-money,
.pay-list .pay.active .badge-money,
.pay-list .pay.selected .badge-money {
    border-color: rgba(255, 255, 255, 0.95);
}

@media (hover: hover) and (pointer: fine) {
    .sku:hover .badge-money,
    .sku:hover .badge-moeny,
    .optional-card:hover {
        transform: translateY(-1px) scale(1.05);
        transition: transform .12s ease;
    }
}

@media (max-width: 575.98px) {
    .sku .badge-money,
    .sku .badge-moeny {
        transform: scale(.94);
        transform-origin: top right;
    }
}

.sku.is-primary {
    color: #fff;
    background: linear-gradient(90deg, #ffb1b1, #ab57ff);
    border-color: transparent;
}

.vstack label {
    color: grey;
    font-size: 14px;
}

.vstack .form-control {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.49);
    border: var(--bs-border-width) solid #ababab47;
}

.captcha-input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: none;
}

.captcha-img {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left: none;
    background: rgba(255, 255, 255, 0.49);
    padding: 0;
    height: 100%;
    cursor: pointer;
    margin-left: 2px;
}

/* 容器（外层白底圆角、淡粉描边与光晕） */
.input-group.qty-group {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 8px;
    border-radius: 0.375rem;
    width: 140px; /* 可按需要调整 */
    background: linear-gradient(180deg, #ffffff, #fff4f8);
    border: 2px solid #ffd6e5;
    box-shadow: 0 14px 24px rgba(255, 105, 135, .18),
    0 0 0 6px rgba(255, 214, 229, .35) inset;
}

/* 左右按钮（粉色圆角方块） */
.input-group.qty-group > button {
    width: 32px;
    height: 24px;
    border: 0;
    border-radius: 0.375rem;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(180deg, #ff74a9, #ff5c8e);
    box-shadow: 0 8px 18px rgba(255, 92, 142, .35);
    transition: transform .12s ease, filter .12s ease;
}

.input-group.qty-group > button:hover {
    filter: brightness(1.06);
}

.input-group.qty-group > button:active {
    transform: scale(.98);
}

/* 中间数字输入（透明背景、无边框、大号数字） */
.input-group.qty-group > input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    text-align: center;
    color: #ff5c8e;
    font-size: 14px;
    font-weight: 700;
    padding: 0;
}

/* 去掉数字输入的上下小箭头 */
.input-group.qty-group > input[type="number"]::-webkit-outer-spin-button,
.input-group.qty-group > input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-group.qty-group > input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* 结账分区（高阶分隔卡片） */
.cash-pay {
    position: relative;
    border-radius: 16px;
    padding: 12px;
    background: #ffffff70;
    border: none;
    box-shadow: 0 10px 28px rgba(149, 157, 165, 0.25),
    0 0 0 6px rgba(122, 140, 255, .06) inset;
}

.cash-pay .form-label {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin: 4px 0 8px 4px;
    font-weight: 800;
    font-size: 1rem;
    color: #9d93f7;
}

.cash-pay .form-label i {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    box-shadow: 0 6px 14px rgba(122, 140, 255, .35);
}

.cash-pay .pay-list {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed #eceff3;
}

/* 强化在结账区域内的支付按钮视觉分组 */
.cash-pay .pay-list .pay {
    background: rgba(255, 248, 248, 0.3);
    border: none;
    cursor: pointer;
}

.cash-pay .pay-list .pay.is-primary,
.cash-pay .pay-list .pay.active,
.cash-pay .pay-list .pay.selected {
    box-shadow: 0 10px 22px rgba(122, 140, 255, .28);
}

@media (max-width: 575.98px) {
    .cash-pay {
        padding: 10px;
        border-radius: 14px;
    }

    .cash-pay .form-label {
        margin-bottom: 6px;
    }
}

.pay-list .pay {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: .4rem .75rem;
    border-radius: 12px;
    background: rgba(255, 248, 248, 0.15);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    text-decoration: none;
    user-select: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, filter .12s ease;
}

.pay-list .pay img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.pay-list .pay span {
    font-size: 14px;
    font-weight: 700;
    color: #a3a3a3;
}

/* 选中态，可通过添加 .active / .selected / .is-primary 类控制 */
.pay-list .pay.is-primary,
.pay-list .pay.active,
.pay-list .pay.selected {
    color: #fff;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(122, 140, 255, .25);
}

.pay-list .pay.is-primary span,
.pay-list .pay.active span,
.pay-list .pay.selected span {
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .pay-list .pay:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
        filter: brightness(1.02);
    }
}

/* 商品详情块微调（置于左侧商品图下） */
.item-detail {
    margin-top: 12px;
}

.item-detail .panel-header .icon {
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    color: #fff;
}

.item-detail .panel-body img {
    max-width: 100%;
}

.item-detail .panel-body p {
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .item-detail {
        margin-top: 10px;
    }
}

/* 移动端：标题不强制占两行 */
@media (max-width: 575.98px) {
    .goods-title {
        -webkit-line-clamp: 1;
        line-clamp: 1;
        min-height: 1.35em;
    }

    .chip-list {
        flex-wrap: wrap;
    }
}


.wholesale-table {
    width: 140px;
    background: transparent;
}

.wholesale-table > * > * > * {
    background: transparent !important;
}

.wholesale-table thead th {
    color: #ff70a6 !important;
    font-size: 14px;
}

.wholesale-table tbody td {
    color: #ff70a6 !important;
    font-size: 14px;
}

/* 用户头像样式 */
#user-avatar {
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease;
}

#user-avatar:hover {
    border-color: #139655;
}

/* 用户信息按钮样式 */
#userDropdown {
    padding: 4px 8px;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

#userDropdown:hover {
    background-color: rgba(19, 150, 85, 0.1);
    border-radius: 8px;
}

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 4px 0;
    backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.7);
}

.dropdown-item {
    padding: 6px 16px;
    transition: background-color 0.2s ease;
    font-size: 14px;
    line-height: 1.3;
}

.dropdown-item:hover {
    background-color: rgba(19, 150, 85, 0.1);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* 用户名和余额样式 */
#username {
    color: #212529;
    font-weight: 600;
}

#user-balance {
    color: #6c757d;
    font-weight: 500;
}

.optional-card {
    display: flex;
    align-items: center;
    position: relative;
    padding: .2rem .6rem;
    border-radius: 16px;
    background: rgba(255, 248, 248, 0.63);
    color: #929292;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    transform-origin: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 14px;
}

.optional-card.is-primary {
    color: #fff;
    background: linear-gradient(90deg, #ffb1b1, #ab57ff);
    border-color: transparent;
}

.bootstrap-table.bootstrap5 .table-switch-state button.active, .table-switch-state button:focus {
    background-color: #ffa3ad82 !important;
}

.bootstrap-table.bootstrap5 .table-switch-state button:hover {
    background-color: rgba(255, 163, 173, 0.29) !important;
}

.table {
    --bs-table-bg: rgba(255, 255, 255, 0) !important;
    --bs-table-border-color: transparent;
}

.btn-group-sm > .btn, .btn-sm {
    font-size: 1rem;
}

/* 订单查询页面样式 */
.order-query-form {

}

.order-results, .no-results, .loading-state {
    margin-top: 12px;
}

.order-query-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.order-query-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    height: 48px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-query-form .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--acg-primary);
    box-shadow: 0 0 0 4px rgba(122, 140, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.order-query-form .btn-primary {
    background: linear-gradient(135deg, var(--acg-primary), var(--acg-secondary));
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    height: 48px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.order-query-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.order-query-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 140, 255, 0.35);
}

.order-query-form .btn-primary:hover::before {
    left: 100%;
}

.order-query-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(122, 140, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .order-query-form .btn-primary {
        width: 120px;
    }
}

/* 订单项样式 - 重新设计 */
.order-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 订单头部 */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.order-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.order-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-badge.status-pending {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: none;
}

.status-badge.status-paid {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.status-badge.status-completed {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.status-badge.status-cancelled {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
}

.status-badge.status-shipped {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
}

.status-badge.status-waiting-shipment {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.shipment-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 发货状态徽章样式 */
.shipment-status {

}

.shipment-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.shipment-badge.shipment-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #d97706;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.shipment-badge.shipment-paid {
    background: rgba(34, 197, 94, 0.2);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.shipment-badge.shipment-shipped {
    background: rgba(139, 92, 246, 0.2);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.shipment-badge.shipment-waiting {
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.order-basic {
    flex: 1;
}

.order-no {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.order-time,
.payment-time,
.payment-dst {
    font-size: 14px;
    color: #374151;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.order-time:last-child,
.payment-time:last-child,
.payment-dst:last-child {
    margin-bottom: 0;
}

.order-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    gap: 12px;
}

.order-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.amount-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.amount-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--acg-danger);
    line-height: 1;
}

/* 商品信息 */
.goods-section {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.goods-thumb {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.goods-image {
    width: 72px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.goods-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.goods-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.goods-meta {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.goods-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--acg-danger);
}

.payment-dst {
    display: flex;
    align-items: center;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    /*background: #bdbdbd3b;*/

    /*box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;*/
    /*padding: 3px 6px;*/
    cursor: pointer;
    box-shadow: inset rgb(255 197 249 / 24%) -20px 0px 2px 2px;
    border-radius: 4px;

}

.payment-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.payment-name {
    font-size: 1rem;
    color: #21c44d;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
    .order-header {
        flex-direction: column;
        gap: 12px;
    }

    .order-meta {
        margin-left: 0;
    }

    .order-content {
        flex-direction: column;
        gap: 16px;
    }

    .goods-info {
        flex-direction: column;
        gap: 12px;
    }

    .goods-thumb {
        align-self: center;
    }

    .payment-info {
        text-align: center;
        min-width: auto;
    }
}

/* 加载状态样式 */
.loading-state .icon-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 无结果状态样式 */
.no-results .fa-search {
    opacity: 0.6;
}

/* 验证码输入组样式调整 */
.order-query-form .captcha-input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: none;
}

.order-query-form .captcha-img {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left: none;
    background: rgba(255, 255, 255, 0.8);
    padding: 0;
    height: 100%;
    cursor: pointer;
    margin-left: 2px;
    border-radius: 0 8px 8px 0;
}

/* 虚拟卡密样式 - 重新设计 */
.card-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.card-header {
    margin-bottom: 16px;
}

.card-title {
    margin: 0;
    font-weight: 700;
    color: #1f2937;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.password-input-group {
    margin-bottom: 16px;
}

.password-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.card-password-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
    padding: 10px 12px;
    height: 42px;
    transition: all 0.2s ease;
}

.card-password-input:focus {
    border-color: var(--acg-primary);
    box-shadow: 0 0 0 3px rgba(122, 140, 255, 0.1);
}

.view-card-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    background: linear-gradient(135deg, var(--acg-primary), var(--acg-secondary));
    color: white;
    border: 2px solid var(--acg-primary);
    border-radius: 0 8px 8px 0;
    padding: 10px 16px;
    height: 42px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.view-card-btn:hover {
    background: linear-gradient(135deg, var(--acg-secondary), var(--acg-primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.3);
}

.card-content,
.card-content-no-password {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.card-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--acg-primary);
    box-shadow: 0 2px 8px rgba(122, 140, 255, 0.1);
}

.card-info {
    flex: 1;
}

.card-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-size: 14px;
}

.card-value {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    color: #495057;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-all;
    user-select: all;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
}

.card-value:hover {
    background: #e9ecef;
    border-color: var(--acg-primary);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.copy-card-btn {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.2s ease;
}

.copy-card-btn:hover {
    background: var(--acg-primary);
    color: white;
    border-color: var(--acg-primary);
}

.card-loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.card-loading .icon-spin {
    color: var(--acg-primary);
    font-size: 1.5rem;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .card-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .view-card-btn {
        font-size: 13px;
        padding: 10px 12px;
    }
}

.card-display {
    white-space: pre-line;
}

/* 新的卡密显示样式 */
.card-display-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.card-text {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1f2937;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
    word-break: break-all;
    user-select: all;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    min-height: 80px;
    max-height: 300px;
    overflow-y: auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.card-text:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.copy-all-btn {
    background: linear-gradient(135deg, var(--acg-primary), var(--acg-secondary));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.25);
}

.copy-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(122, 140, 255, 0.35);
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .order-item {
        padding: 20px;
    }

    .goods-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .goods-meta {
        justify-content: center;
    }

    .order-header {
        flex-direction: column;
        gap: 16px;
    }

    .order-right {
        align-self: flex-start;
    }

    .card-display-content {
        padding: 16px;
    }

    .card-text {
        font-size: 13px;
        padding: 12px;
    }
}

/* 加载更多状态样式 */
.load-more-loading,
.load-more-end {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 16px;
}

.load-more-loading .icon-spin {
    color: var(--acg-primary);
    font-size: 1.2rem;
}

.load-more-loading span {
    color: #374151;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.load-more-end {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.load-more-end span {
    color: #6b7280;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.load-more-end .fa-check-circle {
    color: #10b981;
}

/* 滚动条样式优化 */
.order-list::-webkit-scrollbar {
    width: 6px;
}

.order-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.order-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.order-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.item-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acg-cover {
    position: relative;
    overflow: hidden;
}

.flex-fill {
    flex: 1 1 auto;
}

.br-12 {
    border-radius: 12px;
}

footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    color: #858585;
}

/* AI theme override */
body.ai-shop-theme {
    min-height: 100vh;
    color: #e8f3ff;
    background-color: #050817;
    background-image:
        linear-gradient(120deg, rgba(0, 255, 213, 0.12), transparent 24%),
        linear-gradient(240deg, rgba(255, 61, 172, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(6, 10, 30, 0.88), rgba(4, 7, 20, 0.98)),
        repeating-linear-gradient(90deg, rgba(86, 230, 255, 0.08) 0 1px, transparent 1px 76px),
        repeating-linear-gradient(0deg, rgba(184, 255, 97, 0.05) 0 1px, transparent 1px 76px);
    background-attachment: fixed;
    overflow-x: hidden;
}

body.ai-shop-theme::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 18%, rgba(0, 229, 255, 0.16) 18.2%, transparent 18.8% 100%),
        linear-gradient(35deg, transparent 0 66%, rgba(190, 255, 77, 0.12) 66.2%, transparent 66.7% 100%),
        linear-gradient(160deg, transparent 0 42%, rgba(255, 61, 172, 0.13) 42.2%, transparent 42.9% 100%);
    opacity: 0.85;
}

body.ai-shop-theme::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
                repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
    mix-blend-mode: screen;
    opacity: 0.35;
}

body.ai-shop-theme a {
    color: inherit;
}

body.ai-shop-theme .container {
    position: relative;
}

body.ai-shop-theme .navbar-acg {
    border-bottom: 1px solid rgba(116, 238, 255, 0.18);
    background: rgba(5, 9, 27, 0.78);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
}

body.ai-shop-theme .brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(115, 238, 255, 0.4), 0 0 22px rgba(0, 229, 255, 0.3);
}

body.ai-shop-theme .brand-title {
    color: #f8fbff;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

body.ai-shop-theme .navbar-acg .nav-link {
    color: #98a8c6;
    border-radius: 12px;
    padding-inline: 0.9rem;
}

body.ai-shop-theme .navbar-acg .nav-link.active,
body.ai-shop-theme .navbar-acg .nav-link:hover {
    color: #65f0ff;
    background: rgba(101, 240, 255, 0.08);
}

body.ai-shop-theme .navbar-toggler {
    border: 1px solid rgba(101, 240, 255, 0.22);
    border-radius: 12px;
    color: #65f0ff;
    box-shadow: none;
}

body.ai-shop-theme .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(101, 240, 255, 0.12);
}

body.ai-shop-theme .navbar-toggler-icon {
    background-image: linear-gradient(180deg, #65f0ff 0 2px, transparent 2px 8px, #65f0ff 8px 10px, transparent 10px 16px, #65f0ff 16px 18px, transparent 18px);
    background-size: 20px 20px;
}

body.ai-shop-theme .search-input .input-group {
    border-radius: 14px;
    background: rgba(10, 17, 43, 0.84);
    box-shadow: inset 0 0 0 1px rgba(121, 240, 255, 0.2);
}

body.ai-shop-theme .search-input .input-group-text,
body.ai-shop-theme .search-input .form-control {
    color: #dceaff;
    border-color: transparent !important;
    background: transparent;
}

body.ai-shop-theme .search-input .form-control::placeholder,
body.ai-shop-theme .form-control::placeholder {
    color: rgba(220, 234, 255, 0.48);
}

body.ai-shop-theme .btn {
    border-radius: 12px;
    font-weight: 700;
}

body.ai-shop-theme .btn-primary {
    color: #03111c;
    border: 0;
    background: linear-gradient(135deg, #65f0ff, #b8ff61 52%, #ff5cc8);
    box-shadow: 0 12px 32px rgba(0, 229, 255, 0.24);
}

body.ai-shop-theme .btn-outline-secondary {
    color: #dceaff;
    border: 1px solid rgba(126, 238, 255, 0.26);
    background: rgba(12, 19, 48, 0.58);
}

body.ai-shop-theme .btn-outline-secondary:hover {
    color: #03111c;
    background: #65f0ff;
    border-color: #65f0ff;
}

body.ai-shop-theme .ai-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    gap: 24px;
    min-height: 238px;
    overflow: hidden;
    border: 1px solid rgba(116, 238, 255, 0.22);
    border-radius: 18px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(13, 22, 55, 0.96), rgba(7, 12, 31, 0.9)),
        repeating-linear-gradient(90deg, rgba(101, 240, 255, 0.08) 0 1px, transparent 1px 44px);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.ai-shop-theme .ai-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(101, 240, 255, 0.26), transparent 36%),
        linear-gradient(270deg, rgba(255, 92, 200, 0.18), transparent 36%);
    opacity: 0.6;
    pointer-events: none;
}

body.ai-shop-theme .ai-hero-copy,
body.ai-shop-theme .ai-hero-visual {
    position: relative;
    z-index: 1;
}

body.ai-shop-theme .ai-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(184, 255, 97, 0.34);
    border-radius: 999px;
    color: #b8ff61;
    background: rgba(184, 255, 97, 0.08);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

body.ai-shop-theme .ai-hero h1 {
    margin: 18px 0 10px;
    color: #ffffff;
    font-size: clamp(2rem, 4.2vw, 4.1rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 0 34px rgba(101, 240, 255, 0.35);
}

body.ai-shop-theme .ai-hero p {
    max-width: 620px;
    margin: 0;
    color: #aab8d8;
    font-size: 1.08rem;
    line-height: 1.7;
}

body.ai-shop-theme .ai-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

body.ai-shop-theme .ai-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 184px;
}

body.ai-shop-theme .ai-chip {
    position: relative;
    width: 176px;
    height: 176px;
    border-radius: 18px;
    border: 1px solid rgba(101, 240, 255, 0.38);
    background:
        linear-gradient(135deg, rgba(101, 240, 255, 0.16), rgba(255, 92, 200, 0.08)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 22px),
        rgba(6, 12, 32, 0.94);
    box-shadow: 0 0 46px rgba(0, 229, 255, 0.26), inset 0 0 34px rgba(101, 240, 255, 0.08);
}

body.ai-shop-theme .ai-chip span {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(101, 240, 255, 0.82), transparent);
}

body.ai-shop-theme .ai-chip span:nth-child(1),
body.ai-shop-theme .ai-chip span:nth-child(2) {
    left: -58px;
    right: -58px;
    height: 1px;
}

body.ai-shop-theme .ai-chip span:nth-child(1) {
    top: 44px;
}

body.ai-shop-theme .ai-chip span:nth-child(2) {
    bottom: 44px;
}

body.ai-shop-theme .ai-chip span:nth-child(3),
body.ai-shop-theme .ai-chip span:nth-child(4) {
    top: -58px;
    bottom: -58px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 92, 200, 0.72), transparent);
}

body.ai-shop-theme .ai-chip span:nth-child(3) {
    left: 44px;
}

body.ai-shop-theme .ai-chip span:nth-child(4) {
    right: 44px;
}

body.ai-shop-theme .ai-chip-core {
    position: absolute;
    inset: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #061120;
    font-size: 3.2rem;
    background: linear-gradient(135deg, #65f0ff, #b8ff61 56%, #ff5cc8);
    box-shadow: 0 0 28px rgba(101, 240, 255, 0.35);
}

body.ai-shop-theme .ai-signal {
    position: absolute;
    width: 150px;
    height: 34px;
    border: 1px solid rgba(101, 240, 255, 0.3);
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(101, 240, 255, 0.12), transparent);
}

body.ai-shop-theme .ai-signal-one {
    top: 32px;
    right: 22px;
}

body.ai-shop-theme .ai-signal-two {
    bottom: 30px;
    left: 28px;
    border-color: rgba(255, 92, 200, 0.28);
}

body.ai-shop-theme .panel {
    overflow: hidden;
    border: 1px solid rgba(116, 238, 255, 0.18);
    border-radius: 18px;
    background: rgba(7, 12, 31, 0.78);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

body.ai-shop-theme .panel + .panel {
    margin-top: 18px;
}

body.ai-shop-theme .panel-header {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(116, 238, 255, 0.13);
    background: linear-gradient(90deg, rgba(101, 240, 255, 0.1), rgba(255, 92, 200, 0.06), transparent);
    box-shadow: none;
}

body.ai-shop-theme .panel-header .icon {
    width: 30px;
    height: 30px;
    color: #061120;
    background: linear-gradient(135deg, #65f0ff, #b8ff61);
    box-shadow: 0 0 20px rgba(101, 240, 255, 0.28);
}

body.ai-shop-theme .panel-title {
    color: #f8fbff;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.ai-shop-theme .panel-body {
    color: #dceaff;
    padding: 18px;
    overflow-wrap: anywhere;
}

body.ai-shop-theme .notice-panel .panel-body {
    color: #aab8d8;
}

body.ai-shop-theme .notice-panel font[color] {
    color: #ffd166 !important;
}

body.ai-shop-theme .chip-list {
    gap: 0.7rem;
}

body.ai-shop-theme .chip,
body.ai-shop-theme .sku,
body.ai-shop-theme .optional-card,
body.ai-shop-theme .pay-list .pay {
    color: #c8d7f2;
    border: 1px solid rgba(119, 240, 255, 0.18);
    background: rgba(10, 17, 43, 0.78);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 28px rgba(0, 0, 0, 0.18);
}

body.ai-shop-theme .chip.is-primary,
body.ai-shop-theme .sku.is-primary,
body.ai-shop-theme .optional-card.is-primary,
body.ai-shop-theme .pay-list .pay.is-primary,
body.ai-shop-theme .pay-list .pay.active,
body.ai-shop-theme .pay-list .pay.selected {
    color: #061120;
    border-color: transparent;
    background: linear-gradient(135deg, #65f0ff, #b8ff61 54%, #ff5cc8);
    box-shadow: 0 12px 26px rgba(101, 240, 255, 0.22);
}

body.ai-shop-theme .chip .chip-icon {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

body.ai-shop-theme .item-message,
body.ai-shop-theme .muted,
body.ai-shop-theme .meta,
body.ai-shop-theme .stat-bottom {
    color: #91a1c2;
}

body.ai-shop-theme .acg-card {
    border: 1px solid rgba(116, 238, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 24, 58, 0.92), rgba(8, 13, 34, 0.92));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

body.ai-shop-theme .acg-cover {
    min-height: 320px;
}

body.ai-shop-theme .acg-thumb::after,
body.ai-shop-theme .acg-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 52%, rgba(5, 8, 23, 0.62));
}

body.ai-shop-theme .goods-title,
body.ai-shop-theme .goods-name,
body.ai-shop-theme h1,
body.ai-shop-theme h2,
body.ai-shop-theme h3,
body.ai-shop-theme h4,
body.ai-shop-theme h5,
body.ai-shop-theme h6 {
    color: #f8fbff;
}

body.ai-shop-theme .price,
body.ai-shop-theme .amount-value,
body.ai-shop-theme .goods-price {
    color: #ff73d7;
    text-shadow: 0 0 18px rgba(255, 92, 200, 0.28);
}

body.ai-shop-theme .price .unit {
    color: #65f0ff;
}

body.ai-shop-theme .badge-soft {
    color: #dceaff;
    border: 1px solid rgba(116, 238, 255, 0.2);
    background: rgba(13, 21, 50, 0.72);
}

body.ai-shop-theme .badge-soft-primary {
    color: #65f0ff;
    border-color: rgba(101, 240, 255, 0.38);
    background: rgba(101, 240, 255, 0.1);
}

body.ai-shop-theme .badge-soft-success {
    color: #b8ff61;
    border-color: rgba(184, 255, 97, 0.34);
    background: rgba(184, 255, 97, 0.1);
}

body.ai-shop-theme .badge-soft-danger {
    color: #ff8ccf;
    border-color: rgba(255, 92, 200, 0.34);
    background: rgba(255, 92, 200, 0.1);
}

body.ai-shop-theme .badge-soft-info {
    color: #d6b6ff;
    border-color: rgba(214, 182, 255, 0.32);
    background: rgba(214, 182, 255, 0.1);
}

body.ai-shop-theme .vstack label,
body.ai-shop-theme .form-label,
body.ai-shop-theme .order-query-form .form-label {
    color: #aab8d8;
}

body.ai-shop-theme .vstack .form-control,
body.ai-shop-theme .form-control,
body.ai-shop-theme .order-query-form .form-control,
body.ai-shop-theme .card-password-input {
    color: #f8fbff;
    border: 1px solid rgba(116, 238, 255, 0.18);
    background: rgba(7, 12, 31, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body.ai-shop-theme .vstack .form-control:focus,
body.ai-shop-theme .form-control:focus,
body.ai-shop-theme .order-query-form .form-control:focus {
    border-color: rgba(101, 240, 255, 0.74) !important;
    background: rgba(11, 18, 45, 0.94);
    box-shadow: 0 0 0 4px rgba(101, 240, 255, 0.12);
}

body.ai-shop-theme .input-group.qty-group {
    width: 146px;
    border: 1px solid rgba(116, 238, 255, 0.22);
    background: rgba(8, 14, 36, 0.86);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

body.ai-shop-theme .input-group.qty-group > button {
    color: #061120;
    background: linear-gradient(135deg, #65f0ff, #b8ff61);
    box-shadow: 0 8px 18px rgba(101, 240, 255, 0.22);
}

body.ai-shop-theme .input-group.qty-group > input[type="number"] {
    color: #f8fbff;
}

body.ai-shop-theme .sku .badge-money,
body.ai-shop-theme .sku .badge-moeny {
    color: #061120;
    border-color: rgba(5, 8, 23, 0.82);
    background: linear-gradient(135deg, #ffd166, #ff5cc8);
}

body.ai-shop-theme .cash-pay {
    border: 1px solid rgba(116, 238, 255, 0.2);
    background: rgba(6, 12, 32, 0.82);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 32px rgba(0, 0, 0, 0.22);
}

body.ai-shop-theme .cash-pay .form-label i {
    color: #061120;
    background: linear-gradient(135deg, #65f0ff, #b8ff61);
}

body.ai-shop-theme .cash-pay .pay-list {
    border-top-color: rgba(116, 238, 255, 0.16);
}

body.ai-shop-theme .pay-list .pay span,
body.ai-shop-theme .pay-list .pay.active span,
body.ai-shop-theme .pay-list .pay.selected span,
body.ai-shop-theme .pay-list .pay.is-primary span {
    color: inherit;
}

body.ai-shop-theme .dropdown-menu {
    border: 1px solid rgba(116, 238, 255, 0.16);
    background: rgba(7, 12, 31, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

body.ai-shop-theme .dropdown-item {
    color: #dceaff;
}

body.ai-shop-theme .dropdown-item:hover {
    color: #061120;
    background: #65f0ff;
}

body.ai-shop-theme #username,
body.ai-shop-theme #user-balance {
    color: #dceaff !important;
}

body.ai-shop-theme #user-avatar {
    border-color: rgba(101, 240, 255, 0.45);
}

body.ai-shop-theme .order-item,
body.ai-shop-theme .goods-section,
body.ai-shop-theme .card-display-content,
body.ai-shop-theme .card-text,
body.ai-shop-theme .card-content,
body.ai-shop-theme .card-content-no-password,
body.ai-shop-theme .card-item,
body.ai-shop-theme .load-more-loading,
body.ai-shop-theme .load-more-end {
    color: #dceaff;
    border-color: rgba(116, 238, 255, 0.16);
    background: rgba(7, 12, 31, 0.72);
    text-shadow: none;
}

body.ai-shop-theme .order-no,
body.ai-shop-theme .order-time,
body.ai-shop-theme .payment-time,
body.ai-shop-theme .payment-dst,
body.ai-shop-theme .amount-label,
body.ai-shop-theme .card-title,
body.ai-shop-theme .password-label,
body.ai-shop-theme .card-name,
body.ai-shop-theme .card-value,
body.ai-shop-theme .card-text,
body.ai-shop-theme .load-more-loading span,
body.ai-shop-theme .load-more-end span {
    color: #dceaff;
    text-shadow: none;
}

body.ai-shop-theme .table {
    color: #dceaff;
}

body.ai-shop-theme .captcha-img {
    border-color: rgba(116, 238, 255, 0.18);
    background: rgba(7, 12, 31, 0.82);
}

body.ai-shop-theme footer {
    color: #7f8eb0;
}

body.ai-shop-theme .item-list {
    --bs-gutter-x: 1rem;
    margin-left: 0;
    margin-right: 0;
}

@media (hover: hover) and (pointer: fine) {
    body.ai-shop-theme .acg-card:hover,
    body.ai-shop-theme .order-item:hover,
    body.ai-shop-theme .shared-button:hover {
        transform: translateY(-5px);
        border-color: rgba(101, 240, 255, 0.42);
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), 0 0 28px rgba(101, 240, 255, 0.12);
    }

    body.ai-shop-theme .chip:hover,
    body.ai-shop-theme .sku:hover,
    body.ai-shop-theme .pay-list .pay:hover,
    body.ai-shop-theme .optional-card:hover {
        transform: translateY(-2px);
        border-color: rgba(101, 240, 255, 0.4);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
    }
}

@media (max-width: 991.98px) {
    body.ai-shop-theme .ai-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    body.ai-shop-theme .ai-hero-visual {
        min-height: 128px;
        justify-content: flex-start;
    }

    body.ai-shop-theme .ai-chip {
        width: 126px;
        height: 126px;
    }

    body.ai-shop-theme .ai-chip-core {
        inset: 30px;
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    body.ai-shop-theme {
        overflow-x: hidden;
    }

    body.ai-shop-theme .container,
    body.ai-shop-theme main.container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    body.ai-shop-theme .ai-hero,
    body.ai-shop-theme .panel,
    body.ai-shop-theme .buy-panel,
    body.ai-shop-theme .notice-panel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.ai-shop-theme .navbar-acg {
        padding: 8px 0;
    }

    body.ai-shop-theme .navbar-acg .navbar-brand {
        font-size: 1.12rem;
        max-width: 42vw;
    }

    body.ai-shop-theme .brand-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.ai-shop-theme .user-login-box {
        top: 10px;
        right: 52px;
        display: flex;
        gap: 6px;
    }

    body.ai-shop-theme .user-login-box .btn-primary {
        display: none !important;
    }

    body.ai-shop-theme .user-login-box .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 30px;
        padding: 0;
        font-size: 0;
        white-space: nowrap;
    }

    body.ai-shop-theme .user-login-box .btn .nav-icon {
        margin: 0;
        font-size: 1rem;
    }

    body.ai-shop-theme main.container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.ai-shop-theme .ai-hero {
        padding: 18px;
        border-radius: 16px;
    }

    body.ai-shop-theme .ai-hero h1 {
        font-size: 1.92rem;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    body.ai-shop-theme .ai-hero p {
        font-size: 0.96rem;
    }

    body.ai-shop-theme .ai-hero-actions .btn {
        flex: 1 1 100%;
    }

    body.ai-shop-theme .ai-hero-visual {
        display: none;
    }

    body.ai-shop-theme .panel-header,
    body.ai-shop-theme .panel-body {
        padding: 14px;
    }
}
