/* 二次元风格（无毛玻璃、无动画、注重可读与性能） */
: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, 182, 193, 0.25);
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: saturate(200%) blur(30px);
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.08);
    z-index: 999999;
}
.navbar-acg .navbar-brand {
    font-size: 1.45rem;
}
/* 导航链接 */
.navbar-acg .nav-link {
    color: #4a4a6a;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.navbar-acg .nav-link:hover {
    color: #ff5292;
}
/* 导航激活状态 */
.navbar-acg .nav-link.active {
    color: #ff5292;
}
.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: rgba(255, 255, 255, 0.35);
    color: #3a3a5a;
    font-weight: 600;
    border: 1px solid rgba(255, 182, 193, 0.2);
    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(135deg, #ff5292, #ff8fab);
    border-color: transparent;
}
/* 商品卡片（简洁，无动态特效） */
.acg-card {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
    border: 1px solid rgba(255, 182, 193, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s 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: #1a1a2e;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
    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 .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s 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(-6px);
        border-color: rgba(255, 82, 146, 0.5);
        box-shadow: 0 12px 40px rgba(255, 82, 146, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .acg-card:hover .acg-thumb {
        transform: scale(1.06);
    }
}
/* 系统减少动态时，弱化动效 */
@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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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%;
    color: #ff5292;
}
/* 面板标题 */
.panel-title {
    margin: 0;
    color: #b84a7a;
    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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.wholesale-table > * > * > * {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
}
.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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.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;
}
.main-footer .footer-content {
    color: #8a8a9a;
    font-size: 0.9rem;
    line-height: 1.8;
}
.main-footer a {
    color: #ff5292;
    text-decoration: none;
}
.main-footer a:hover {
    color: #ff1493;
    text-decoration: underline;
}
.main-footer .footer-icp {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 8px;
}
/* ===== 分类标签居中 ===== */
.chip-list.text-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
/* ===== 公告下拉菜单 ===== */
.notice-dropdown {
    border: 1px solid rgba(255, 182, 193, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px !important;
}
.notice-dropdown-text {
    font-size: 0.9rem;
    color: #4a3550;
    line-height: 1.7;
}
.notice-dropdown-text p {
    margin-bottom: 0.5rem;
}
/* 公告导航项激活样式 */
.navbar-acg .dropdown-toggle {
    color: #4a4a6a;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.navbar-acg .dropdown-toggle:hover {
    color: #ff69b4;
}
.navbar-acg .dropdown-toggle .nav-icon {
    margin-right: 6px;
    font-size: 1rem;
    color: #ff5292 !important;
}
/* ===== 页脚 ===== */
.main-footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    margin-top: 30px;
    border-top: 1px solid rgba(255, 182, 193, 0.2);
}
.main-footer .footer-line1 {
    color: #4a4a6a;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 2;
}
.main-footer .footer-line2 {
    color: #4a4a6a;
    font-size: 0.88rem;
    line-height: 2;
}
.main-footer .footer-line2 a {
    color: #ff5292;
    text-decoration: none;
}
/* ===== 右侧功能按钮（回到顶部/AI客服） ===== */
.side-right {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.sidebar-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 182, 193, 0.3);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    font-size: 18px;
    color: #4a4a6a;
    text-decoration: none;
    position: relative;
}
.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.1);
    color: #ff5292;
    border-color: #ff5292;
    box-shadow: 0 6px 20px rgba(255, 82, 146, 0.2);
}
.sidebar-btn .tooltip {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}
.sidebar-btn:hover .tooltip {
    opacity: 1;
}
/* ===== 右下角猫咪 ===== */
.cat-box {
    cursor: pointer;
    transition: all 0.3s;
    line-height: 0;
    display: inline-block;
}
.cat-box:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255,82,146,0.2);
}
.cat-img {
    height: 110px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    display: block;
}
/* ===== AI客服弹窗 ===== */
.ai-chat-footer input:focus {
    border-color: #ff5292;
}
.ai-chat-footer button {
    background: #ff5292;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
}
.ai-chat-footer button:hover {
    background: #ff3d7a;
}
.ai-chat-loading {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    align-self: flex-start;
    background: #f0f0f5;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
}
.ai-chat-loading span {
    width: 8px;
    height: 8px;
    background: #ffb6c1;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.ai-chat-loading span:nth-child(1) { animation-delay: -0.32s; }
.ai-chat-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
/* ===== 黑夜模式 - 全站暗色玻璃 ===== */
body.night-filter::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 9999;
    transition: background 0.3s;
}
body.night-filter .side-right,
body.night-filter .ai-chat-overlay,
body.night-filter .cat-box {
    z-index: 10000;
}
body.night-filter .navbar-acg {
    background: rgba(20, 20, 30, 0.75) !important;
}
body.night-filter .navbar-acg .nav-link,
body.night-filter .navbar-acg .dropdown-toggle {
    color: #aaa !important;
}
body.night-filter .navbar-acg .navbar-brand span {
    color: #ff6ba0 !important;
}
body.night-filter .sidebar-btn,
body.night-filter .cat-box {
    color: #aaa;
}
body.night-filter .sidebar-btn:hover {
    color: #ff5292;
    border-color: #ff5292;
}
* 二次元风格（无毛玻璃、无动画、注重可读与性能） */
: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, 182, 193, 0.25);
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: saturate(200%) blur(30px);
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.08);
    z-index: 999999;
}
.navbar-acg .navbar-brand {
    font-size: 1.45rem;
}
/* 导航链接 */
.navbar-acg .nav-link {
    color: #4a4a6a;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.navbar-acg .nav-link:hover {
    color: #ff5292;
}
/* 导航激活状态 */
.navbar-acg .nav-link.active {
    color: #ff5292;
}
.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: rgba(255, 255, 255, 0.35);
    color: #3a3a5a;
    font-weight: 600;
    border: 1px solid rgba(255, 182, 193, 0.2);
    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(135deg, #ff5292, #ff8fab);
    border-color: transparent;
}
/* 商品卡片（简洁，无动态特效） */
.acg-card {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
    border: 1px solid rgba(255, 182, 193, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s 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: #1a1a2e;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
    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 .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s 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(-6px);
        border-color: rgba(255, 82, 146, 0.5);
        box-shadow: 0 12px 40px rgba(255, 82, 146, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .acg-card:hover .acg-thumb {
        transform: scale(1.06);
    }
}
/* 系统减少动态时，弱化动效 */
@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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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%;
    color: #ff5292;
}
/* 面板标题 */
.panel-title {
    margin: 0;
    color: #b84a7a;
    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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.wholesale-table > * > * > * {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
}
.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: rgba(255, 255, 255, 0.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    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.25);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.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;
}
.main-footer .footer-content {
    color: #8a8a9a;
    font-size: 0.9rem;
    line-height: 1.8;
}
.main-footer a {
    color: #ff5292;
    text-decoration: none;
}
.main-footer a:hover {
    color: #ff1493;
    text-decoration: underline;
}
.main-footer .footer-icp {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 8px;
}
/* ===== 分类标签居中 ===== */
.chip-list.text-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
/* ===== 公告下拉菜单 ===== */
.notice-dropdown {
    border: 1px solid rgba(255, 182, 193, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px !important;
}
.notice-dropdown-text {
    font-size: 0.9rem;
    color: #4a3550;
    line-height: 1.7;
}
.notice-dropdown-text p {
    margin-bottom: 0.5rem;
}
/* 公告导航项激活样式 */
.navbar-acg .dropdown-toggle {
    color: #4a4a6a;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.navbar-acg .dropdown-toggle:hover {
    color: #ff69b4;
}
.navbar-acg .dropdown-toggle .nav-icon {
    margin-right: 6px;
    font-size: 1rem;
    color: #ff5292 !important;
}
/* ===== 页脚 ===== */
.main-footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    margin-top: 30px;
    border-top: 1px solid rgba(255, 182, 193, 0.2);
}
.main-footer .footer-line1 {
    color: #4a4a6a;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 2;
}
.main-footer .footer-line2 {
    color: #4a4a6a;
    font-size: 0.88rem;
    line-height: 2;
}
.main-footer .footer-line2 a {
    color: #ff5292;
    text-decoration: none;
}
/* ===== 右侧功能按钮（回到顶部/AI客服） ===== */
.side-right {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.sidebar-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 182, 193, 0.3);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    font-size: 18px;
    color: #4a4a6a;
    text-decoration: none;
    position: relative;
}
.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.1);
    color: #ff5292;
    border-color: #ff5292;
    box-shadow: 0 6px 20px rgba(255, 82, 146, 0.2);
}
.sidebar-btn .tooltip {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}
.sidebar-btn:hover .tooltip {
    opacity: 1;
}
/* ===== 右下角猫咪 ===== */
    cursor: pointer;
    transition: all 0.3s;
    line-height: 0;
    display: inline-block;
}
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255,82,146,0.2);
}
/* ===== AI客服弹窗 ===== */
.ai-chat-footer input:focus {
    border-color: #ff5292;
}
.ai-chat-footer button {
    background: #ff5292;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
}
.ai-chat-footer button:hover {
    background: #ff3d7a;
}
.ai-chat-loading {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    align-self: flex-start;
    background: #f0f0f5;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
}
.ai-chat-loading span {
    width: 8px;
    height: 8px;
    background: #ffb6c1;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.ai-chat-loading span:nth-child(1) { animation-delay: -0.32s; }
.ai-chat-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
/* ===== 黑夜模式 - 全站暗色玻璃 ===== */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 9999;
    transition: background 0.3s;
}
    z-index: 10000;
}
    background: rgba(20, 20, 30, 0.75) !important;
}
    color: #aaa !important;
}
    color: #ff6ba0 !important;
}
    background: rgba(30, 30, 40, 0.8);
    border-color: rgba(255, 182, 193, 0.15);
    color: #aaa;
}
    color: #ff5292;
    border-color: #ff5292;
}
/* ===== 自定义鼠标指针 ===== */
html {
    cursor: url('/assets/user/css/cursor_left.png') 16 16, default !important;
}
body {
    cursor: url('/assets/user/css/cursor_left.png') 16 16, default !important;
}
a, a *, button, .btn, .chip, .nav-link, .dropdown-toggle, .sidebar-btn, .cat-box, [onclick], [role="button"] {
    cursor: url('/assets/user/css/cursor_hover.png') 16 16, pointer !important;
}
/* 点击/右键 - 使用同一张图 */
a:active, button:active, .btn:active, .chip:active, .nav-link:active, .dropdown-toggle:active, .sidebar-btn:active, .cat-box:active,
a:focus, button:focus, .btn:focus, .chip:focus {
    cursor: url('/assets/user/css/cursor_right.png') 16 16, pointer !important;
}
/* ===== 异次元美化增强 - 2026-06-06 ===== */
/* 面板标题装饰线 */
.panel-header::after {
    content: '';
    position: absolute;
    left: 16px;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff5292, #ff8fab);
    border-radius: 2px;
}
.panel-header {
    position: relative;
    padding-bottom: 20px;
}
/* 更好的商家名称阴影 */
.navbar-acg .navbar-brand span {
    text-shadow: 0 1px 4px rgba(255,255,255,0.5);
    letter-spacing: 1px;
}
/* LOGO 圆角增强 */
.brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}
/* 激活分类 chip 毛玻璃 */
.chip.is-primary {
    backdrop-filter: none;
}
/* 商品卡片图片区域装饰 */
.acg-thumb {
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 182, 193, 0.15);
}
/* 商品卡片价格突出 */
.price {
    text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

/* 面板和卡片文字变白 */
body.night-filter .panel-header,
body.night-filter .panel-title,
body.night-filter .panel-body,
body.night-filter .section-title {
    color: #eee !important;
}

/* 商品标题变白 */
body.night-filter .goods-title {
    color: #f0f0f0 !important;
    text-shadow: none;
}

/* 商品价格 */
body.night-filter .price {
    color: #ff8a9e !important;
}
body.night-filter .price .unit {
    color: #ffb3c1 !important;
}

/* 库存/已售文字 */
body.night-filter .meta,
body.night-filter .stat-row,
body.night-filter .stat-bottom {
    color: #ccc !important;
}

/* 分类标签（未选中）变白 */
body.night-filter .chip {
    background: rgba(40, 40, 60, 0.5) !important;
    color: #e0e0e0 !important;
    border-color: rgba(200, 200, 220, 0.2) !important;
}
body.night-filter .chip:hover {
    color: #ff8aab !important;
}

/* 页脚文字变白 */
body.night-filter .main-footer .footer-line1,
body.night-filter .main-footer .footer-line2 {
    color: #ddd !important;
}
body.night-filter .main-footer .footer-line2 a {
    color: #ff8aab !important;
}

/* 导航所有文字变白 */
body.night-filter .navbar-acg .nav-link,
body.night-filter .navbar-acg .dropdown-toggle {
    color: #eee !important;
}

/* 用户名和余额变白 */
body.night-filter #username {
    color: #eee !important;
}
body.night-filter #user-balance {
    color: #bbb !important;
}

/* 公告文字 */
body.night-filter .notice {
    color: #ddd !important;
}

/* 搜索输入框 */
body.night-filter .form-control {
    background: rgba(30, 30, 50, 0.6) !important;
    color: #eee !important;
    border-color: rgba(200, 200, 220, 0.2) !important;
}

/* 一般文本 */
body.night-filter .muted {
    color: #bbb !important;
}

/* 导航里未激活状态 */
body.night-filter .navbar-acg .nav-link:hover {
    color: #ff8aab !important;
}

/* 用户面板下拉菜单 */
body.night-filter .dropdown-menu {
    background: rgba(25, 25, 40, 0.95) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
body.night-filter .dropdown-item {
    color: #ddd !important;
}
body.night-filter .dropdown-item:hover {
    background: rgba(255, 82, 146, 0.2) !important;
    color: #fff !important;
}

/* 页脚背景透明 */
body.night-filter .main-footer {
    border-top-color: rgba(200, 200, 220, 0.1) !important;
}


/* 所有面板文字变亮 + 加文字阴影防模糊 */
body.night-filter .panel-header,
body.night-filter .panel-title,
body.night-filter .panel-body,
body.night-filter .section-title {
    color: #fff !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
}

/* 商品标题纯白 + 阴影 */
body.night-filter .goods-title {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35) !important;
}

/* 商品价格 */
body.night-filter .price {
    color: #ff6b88 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}
body.night-filter .price .unit {
    color: #ff8fa5 !important;
}

/* 库存/已售/meta */
body.night-filter .meta,
body.night-filter .stat-row,
body.night-filter .stat-bottom {
    color: #ddd !important;
}

/* 商品角标文字（"在线发货"等） */
body.night-filter .badge-soft-info,
body.night-filter .badge-soft-primary,
body.night-filter .badge-soft-success,
body.night-filter .badge-soft-danger,
body.night-filter .badge-soft-muted,
body.night-filter .badge-soft-warning {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
}

/* 努力加载中.. */
body.night-filter .item-message {
    color: #ccc !important;
}

/* 上架时间等小字 */
body.night-filter .acg-card .text-muted {
    color: #bbb !important;
}

/* 分类标签 - 未选中 */
body.night-filter .chip {
    background: rgba(40, 40, 60, 0.5) !important;
    color: #eee !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
body.night-filter .chip:hover {
    color: #ff8aab !important;
}

/* 分类标签 - 选中状态：保持白天一样的粉色背景 */
body.night-filter .chip.is-primary {
    background: linear-gradient(135deg, #ff5292, #ff8fab) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* 页脚文字 */
body.night-filter .main-footer .footer-line1,
body.night-filter .main-footer .footer-line2 {
    color: #eee !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}
body.night-filter .main-footer .footer-line2 a {
    color: #ff8aab !important;
}

/* 导航文字纯白 */
body.night-filter .navbar-acg .nav-link,
body.night-filter .navbar-acg .dropdown-toggle {
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}

/* 用户名和余额 */
body.night-filter #username {
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}
body.night-filter #user-balance {
    color: #ddd !important;
}

/* 公告文字 */
body.night-filter .notice {
    color: #eee !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}

/* 搜索输入框 */
body.night-filter .form-control {
    background: rgba(30, 30, 50, 0.7) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* 一般文本 */
body.night-filter .muted {
    color: #ccc !important;
}

/* 商品卡片容器 */
body.night-filter .acg-card {
    background: rgba(20, 20, 35, 0.5) !important;
}

/* 导航里悬停 */
body.night-filter .navbar-acg .nav-link:hover {
    color: #ff8aab !important;
}

/* 用户面板下拉菜单 */
body.night-filter .dropdown-menu {
    background: rgba(20, 20, 40, 0.95) !important;
    backdrop-filter: saturate(180%) blur(20px);
}
body.night-filter .dropdown-item {
    color: #eee !important;
}
body.night-filter .dropdown-item:hover {
    background: rgba(255, 82, 146, 0.25) !important;
    color: #fff !important;
}

/* 页脚背景 */
body.night-filter .main-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}


/* ===== 夜间模式文字颜色统一 ===== */
/* 目标：所有黑色/灰色文字变纯白，不清晰的地方加阴影 */

/* 1. 导航栏 */
body.night-filter .navbar-acg .nav-link,
body.night-filter .navbar-acg .dropdown-toggle {
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4) !important;
}
body.night-filter .navbar-acg .nav-link:hover {
    color: #ff8aab !important;
}

/* 2. 页脚 */
body.night-filter .main-footer .footer-line1,
body.night-filter .main-footer .footer-line2 {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}
body.night-filter .main-footer .footer-line2 a {
    color: #ff8aab !important;
}

/* 3. 回到顶部 + 客服按钮图标和文字 */
body.night-filter .sidebar-btn {
    color: #ffffff !important;
}
body.night-filter .sidebar-btn i {
    color: #ffffff !important;
}
body.night-filter .sidebar-btn:hover {
    color: #ff5292 !important;
}
body.night-filter .sidebar-btn:hover i {
    color: #ff5292 !important;
}
body.night-filter .sidebar-btn .tooltip {
    color: #ffffff !important;
    background: rgba(0,0,0,0.85) !important;
}

/* 4. 搜索框 */
body.night-filter .form-control {
    background: rgba(30, 30, 50, 0.7) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
body.night-filter .form-control::placeholder {
    color: #cccccc !important;
    opacity: 1 !important;
}
/* 搜索图标 */
body.night-filter .search-input .input-group-text {
    background: rgba(30, 30, 50, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* 5. 公告弹窗文字 */
body.night-filter .notice-dropdown {
    background: rgba(20, 20, 40, 0.95) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
}
body.night-filter .notice-dropdown-text,
body.night-filter .notice-dropdown-text p,
body.night-filter .notice-dropdown-text font,
body.night-filter .notice-dropdown-text span {
    color: #eeeeee !important;
}

/* 6. 登录/注册按钮 */
body.night-filter .btn-outline-secondary {
    color: #dddddd !important;
    border-color: rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.1) !important;
}
body.night-filter .btn-outline-secondary:hover {
    color: #ffffff !important;
    border-color: #ff5292 !important;
    background: rgba(255,82,146,0.2) !important;
}
body.night-filter .btn-primary {
    background: linear-gradient(135deg, #ff5292, #ff8fab) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

/* 7. 面板和卡片文字 - 加阴影防模糊 */
body.night-filter .panel-title,
body.night-filter .panel-body,
body.night-filter .section-title,
body.night-filter .panel-header {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35) !important;
}

/* 8. 商品标题 */
body.night-filter .goods-title {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35) !important;
}

/* 9. 商品价格 */
body.night-filter .price {
    color: #ff6b88 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}
body.night-filter .price .unit {
    color: #ff8fa5 !important;
}

/* 10. 库存/已售 */
body.night-filter .meta,
body.night-filter .stat-row,
body.night-filter .stat-bottom,
body.night-filter .muted {
    color: #dddddd !important;
}

/* 11. 商品角标 */
body.night-filter .badge-soft-info,
body.night-filter .badge-soft-primary,
body.night-filter .badge-soft-success,
body.night-filter .badge-soft-danger,
body.night-filter .badge-soft-muted,
body.night-filter .badge-soft-warning {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
}
body.night-filter .item-message {
    color: #cccccc !important;
}

/* 12. 分类标签 - 未选中 */
body.night-filter .chip {
    background: rgba(40, 40, 60, 0.5) !important;
    color: #eeeeee !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
body.night-filter .chip:hover {
    color: #ff8aab !important;
}
/* 分类标签 - 选中状态保持白天粉色背景 */
body.night-filter .chip.is-primary {
    background: linear-gradient(135deg, #ff5292, #ff8fab) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}
body.night-filter .chip.is-primary:hover {
    color: #ffffff !important;
}

/* 13. 用户名和余额 */
body.night-filter #username {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}
body.night-filter #user-balance {
    color: #dddddd !important;
}

/* 14. 公告按钮 */
body.night-filter .navbar-acg .dropdown-toggle {
    color: #ffffff !important;
}

/* 15. 下拉菜单 */
body.night-filter .dropdown-menu {
    background: rgba(20, 20, 40, 0.95) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
}
body.night-filter .dropdown-item {
    color: #eee !important;
}
body.night-filter .dropdown-item:hover {
    background: rgba(255, 82, 146, 0.25) !important;
    color: #ffffff !important;
}

/* 16. 商品卡片背景 */
body.night-filter .acg-card {
    background: rgba(20, 20, 35, 0.5) !important;
}

/* 17. 页脚边框 */
body.night-filter .main-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}


/* ===== AI客服弹窗 - 全面响应式重写 ===== */

/* 弹窗容器 */
.ai-chat-overlay {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 80px;
    width: 360px;
    height: 500px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255,182,193,0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 99999;
    flex-direction: column;
    overflow: hidden;
}
.ai-chat-overlay.active {
    display: flex;
}

/* 手机端适配 */
@media (max-width: 576px) {
    .ai-chat-overlay {
        right: 10px !important;
        bottom: 80px !important;
        width: calc(100vw - 20px) !important;
        height: 60vh !important;
        max-height: 500px !important;
    }
}

.ai-chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,182,193,0.2);
    font-weight: 700;
    color: #ff5292;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.ai-chat-close {
    cursor: pointer;
    font-size: 22px;
    color: #999;
    line-height: 1;
}
.ai-chat-close:hover {
    color: #ff5292;
}

/* 对话区域 */
.ai-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 消息气泡 */
.ai-chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}

/* 用户消息 - 右侧粉底白字 */
.ai-chat-msg.user {
    align-self: flex-end;
    background: #ff5292;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* 客服消息 - 左侧灰底深色字 */
.ai-chat-msg.bot {
    align-self: flex-start;
    background: #f0f0f5;
    color: #333;
    border-bottom-left-radius: 4px;
}

/* 底部输入区 */
.ai-chat-footer {
    padding: 10px 15px;
    border-top: 1px solid rgba(255,182,193,0.2);
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.ai-chat-footer input {
    flex: 1;
    border: 1px solid #f0d4e0;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
    font-size: 13px;
}
.ai-chat-footer input:focus {
    border-color: #ff5292;
    box-shadow: 0 0 0 2px rgba(255,82,146,0.1);
}
.ai-chat-footer button {
    background: #ff5292;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.ai-chat-footer button:hover {
    background: #ff6ba3;
}

/* 加载动画 */
.ai-chat-loading {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #f0f0f5;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
}
.ai-chat-loading span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    animation: chatDots 1.4s infinite ease-in-out both;
}
.ai-chat-loading span:nth-child(1) { animation-delay: -0.32s; }
.ai-chat-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes chatDots {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}


/* 夜间模式 - 页脚背景与导航栏统一 */
body.night-filter .main-footer {
    background: rgba(20, 20, 30, 0.75) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    color: #ffffff !important;
}
body.night-filter .main-footer .footer-line1,
body.night-filter .main-footer .footer-line2 {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3) !important;
}

