/* ============================================================
   前台商城 · iOS 液态玻璃（复用会员中心 _glass.css 令牌，日夜自适应）
   仅样式层：布局栅格沿用 bootstrap；组件类与旧版一致，行为不变。
   ============================================================ */

/* ---------- 基底 / 背景 ---------- */
body.uc-body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    color: var(--uc-ink);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}

body.uc-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .34) 0, rgba(255, 255, 255, .24) 42%, rgba(255, 255, 255, .42) 100%);
}

:root[data-theme="dark"] body.uc-body::before {
    background: linear-gradient(180deg, rgba(8, 10, 16, .54) 0, rgba(8, 10, 16, .46) 42%, rgba(8, 10, 16, .62) 100%);
}

/* 只给「内容容器」定位以压在 ::before 遮罩之上；绝不用 `body.uc-body > *`——
   那会把 position:fixed 的抽屉/遮罩/全局加载层一起改成 relative，令其错位/失效。 */
.uc-topbar,
#pjax-container,
body.uc-body > footer {
    position: relative;
}

.container {
    max-width: 1180px;
}

main.container {
    padding-top: 22px;
    padding-bottom: 48px;
}

a {
    text-decoration: none;
}

/* ---------- 悬浮胶囊导航 ---------- */
.uc-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 14px 16px 4px;
}

.uc-topbar__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.shop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 0 8px 0 14px;
    border-radius: 999px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-hi);
}

.shop-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    color: var(--uc-ink);
    font-weight: 700;
    font-size: 16px;
    padding-right: 4px;
}

.shop-brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    object-fit: cover;
}

.shop-brand__name {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--uc-ink-med);
    font-size: 14px;
    font-weight: 500;
    transition: background .16s, color .16s;
}

.shop-nav__item i,
.shop-nav__item .nav-icon {
    font-size: 15px;
}

.shop-nav__item:hover {
    color: var(--uc-ink);
    background: rgba(var(--md-primary-rgb), .08);
}

.shop-nav__item.active {
    color: var(--md-on-primary);
    background: var(--md-primary);
    box-shadow: 0 4px 14px rgba(var(--md-primary-rgb), .28);
}

/* 搜索 */
.shop-search {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    padding: 0 6px;
}

.shop-search__box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--uc-field-bg);
    border: 1px solid var(--glass-border-soft);
    color: var(--uc-ink-med);
    transition: border-color .16s, box-shadow .16s;
}

.shop-search__box:focus-within {
    border-color: var(--uc-focus);
    box-shadow: 0 0 0 3px rgba(var(--uc-focus-rgb), .18);
}

.shop-search__box i {
    font-size: 15px;
    flex: 0 0 auto;
}

.shop-search__box input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--uc-ink);
    font-size: 14px;
}

.shop-search__box input::placeholder {
    color: var(--uc-ink-dis);
}

.shop-nav__right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
}

/* 圆形工具按钮（主题 / 语言 / 铃铛） */
.shop-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--uc-ink-med);
    background: transparent;
    transition: background .16s, color .16s;
}

.shop-icon-btn:hover {
    color: var(--uc-ink);
    background: rgba(var(--md-primary-rgb), .1);
}

.shop-icon-btn .material-icons-outlined {
    font-size: 21px;
}

.shop-icon-btn i {
    font-size: 17px;
}

/* 语言下拉 */
.shop-lang {
    position: relative;
}

.shop-lang__menu,
.shop-user__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 176px;
    padding: 8px;
    border-radius: 16px;
    /* 菜单要不透明，否则背后的面板/背景会透出来把选项冲淡（iOS 菜单是磨砂但可读的实底） */
    background: rgba(252, 252, 253, 0.97);
    -webkit-backdrop-filter: var(--glass-filter-strong);
    backdrop-filter: var(--glass-filter-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 320;
}

:root[data-theme="dark"] .shop-lang__menu,
:root[data-theme="dark"] .shop-user__menu {
    background: rgba(32, 36, 45, 0.97);
}

.shop-lang.is-open .shop-lang__menu,
.shop-user.is-open .shop-user__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--uc-ink);
    font-size: 13.5px;
    cursor: pointer;
}

.shop-menu__item i,
.shop-menu__item .material-icons-outlined {
    font-size: 18px;
    color: var(--uc-ink-dis);
}

.shop-menu__item:hover {
    background: rgba(var(--md-primary-rgb), .1);
}

.shop-menu__item.is-danger {
    color: #e05656;
}

.shop-menu__item.is-danger i {
    color: #e05656;
}

.shop-menu__sep {
    height: 1px;
    margin: 6px 4px;
    background: var(--glass-border-soft);
}

/* 用户胶囊 */
.shop-user {
    position: relative;
}

.shop-user__btn {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 6px 0 14px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(var(--md-primary-rgb), .06);
    color: var(--uc-ink);
    transition: background .16s;
}

.shop-user__btn:hover {
    background: rgba(var(--md-primary-rgb), .12);
}

.shop-user__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.shop-user__name {
    font-size: 13px;
    font-weight: 600;
}

.shop-user__balance {
    font-size: 11px;
    color: var(--uc-ink-dis);
}

.shop-user__balance b {
    color: #1fa971;
    font-weight: 600;
}

.shop-user__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.shop-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .16s;
}

.shop-btn--ghost {
    color: var(--uc-ink-med);
    border-color: var(--glass-border);
    background: transparent;
}

.shop-btn--ghost:hover {
    color: var(--uc-ink);
    border-color: var(--uc-focus);
}

.shop-btn--primary {
    color: var(--md-on-primary);
    background: var(--md-primary);
    box-shadow: 0 4px 14px rgba(var(--md-primary-rgb), .28);
}

.shop-btn--primary:hover {
    filter: brightness(1.06);
}

/* 汉堡 + 抽屉（窄屏 / 溢出时收起） */
.shop-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(var(--md-primary-rgb), .1);
    color: var(--uc-primary-deep);
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.shop-burger .material-icons-outlined {
    font-size: 24px;
}

.shop-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 82%;
    max-width: 320px;
    padding: 18px 14px;
    overflow-y: auto;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: var(--glass-filter-strong);
    backdrop-filter: var(--glass-filter-strong);
    border-right: 1px solid var(--glass-border);
    transform: translateX(-104%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: none;
}

.shop-drawer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--uc-ink);
    padding: 6px 8px 16px;
}

.shop-drawer__brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}

.shop-drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    color: var(--uc-ink);
    font-size: 14.5px;
    font-weight: 500;
}

.shop-drawer__link i {
    font-size: 18px;
    color: var(--uc-ink-dis);
    width: 20px;
    text-align: center;
}

.shop-drawer__link.active {
    background: rgba(var(--md-primary-rgb), .14);
    color: var(--uc-primary-deep);
}

.shop-drawer__shade {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(20, 22, 30, .32);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s;
    display: none;
}

body.shop-drawer-open .shop-drawer {
    transform: translateX(0);
}

body.shop-drawer-open .shop-drawer__shade {
    opacity: 1;
    visibility: visible;
}

/* 收起模式：窄屏或内容放不下时（英文长标签），收进汉堡抽屉 */
html.shop-compact .shop-nav__list,
html.shop-compact .shop-search,
html.shop-compact .shop-auth {
    display: none !important;
}

html.shop-compact .shop-burger {
    display: inline-flex;
}

html.shop-compact .shop-drawer,
html.shop-compact .shop-drawer__shade {
    display: block;
}

html.shop-compact .shop-nav__right {
    margin-left: auto;
}

@media (max-width: 768px) {
    .shop-user__meta { display: none; }
    .shop-user__btn { padding: 0 4px; }
    .uc-topbar { padding: 10px 12px 2px; }
}

/* ---------- 面板（公告 / 购买 等） ---------- */
.panel {
    position: relative;
    border-radius: 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-hi);
    overflow: hidden;
}

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

/* 订单查询页：结果/无结果/加载面板包在这些容器里，不是「订单查询」面板的相邻兄弟，
   吃不到上面的 `.panel + .panel` 间距，会和上面面板贴在一起。给容器补同样的顶距。 */
.order-results,
.no-results,
.loading-state {
    margin-top: 18px;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 0;
}

.panel-header .icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(var(--md-primary-rgb), .1);
    color: var(--uc-primary-deep);
    font-size: 15px;
}

.panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-ink);
}

.panel-body {
    padding: 16px 20px 20px;
    color: var(--uc-ink-med);
    line-height: 1.8;
    font-size: 14px;
}

.panel-body img {
    max-width: 100%;
    border-radius: 12px;
}

/* ---------- 分类 Chip ---------- */
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--uc-ink-med);
    background: var(--uc-field-bg);
    border: 1px solid var(--glass-border-soft);
    cursor: pointer;
    transition: all .16s;
    white-space: nowrap;
}

.chip:hover {
    color: var(--uc-ink);
    border-color: var(--uc-focus);
}

.chip.is-primary {
    color: var(--md-on-primary);
    background: var(--md-primary);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(var(--md-primary-rgb), .26);
}

.chip .chip-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    flex: 0 0 auto;
}

/* ---------- 商品网格 ----------
   小卡密集：手机 2 列、平板 3 列、桌面 5 列，卡片 1fr 铺满整行、列间距 10px。 */
.item-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    /* bootstrap `.row` 自带 -.5gutter 的负左右外边距（本靠 cell padding 抵销）。
       下面清掉 cell padding 后，这负边距会让最左/右的卡片凸出容器、与上方分类不对齐——一并归零。 */
    margin-left: 0;
    margin-right: 0;
}

/* .item-list 带了 bootstrap 的 `row` class，格子会吃到 `.row>*` 的左右 gutter padding
   （calc(var(--bs-gutter-x)*.5)），这才是商品卡「左右间距偏大」的真凶。强制清零，
   卡片之间只留上面的 grid gap；配合上面 margin 归零，最左卡片即与分类/标题左缘对齐。 */
.item-list > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 768px) {
    .item-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .item-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .item-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.item-list .item-message {
    grid-column: 1 / -1;
    color: var(--uc-ink-dis);
    font-size: 14px;
    padding: 18px 4px;
}

.item-card-cell {
    display: block;
    color: inherit;
}

.acg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    background: var(--glass-bg-soft);
    border: 1px solid var(--glass-border-soft);
    box-shadow: 0 4px 16px rgba(31, 45, 70, .07);
    overflow: hidden;
    transition: transform .18s cubic-bezier(.4, 0, .2, 1), box-shadow .18s, border-color .18s;
}

.item-card-cell:hover .acg-card {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-lg);
    border-color: var(--glass-border);
}

.acg-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: rgba(var(--md-primary-rgb), .06);
}

.acg-card > .acg-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 6px 11px 8px;
    gap: 4px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.goods-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.28;
    color: var(--uc-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stat-row {
    display: flex;
    align-items: baseline;
    margin-top: auto;
}

.price {
    color: #f0435f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.price .unit {
    font-size: 12px;
    margin-right: 1px;
}

:root[data-theme="dark"] .price {
    color: #ff8095;
}

.stat-bottom {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: var(--uc-ink-dis);
}

.meta {
    font-size: 11px;
    color: var(--uc-ink-dis);
}

/* 徽章 */
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
}

.badge-soft-primary {
    color: #4c7ef0;
    background: rgba(76, 126, 240, .14);
}

.badge-soft-success {
    color: #1fa971;
    background: rgba(31, 169, 113, .14);
}

.badge-soft-danger {
    color: #e5484d;
    background: rgba(229, 72, 77, .14);
}

.badge-soft-muted {
    color: var(--uc-ink-dis);
    background: rgba(125, 125, 135, .16);
}

.badge-soft-warning {
    color: #d98a00;
    background: rgba(217, 138, 0, .16);
}

.badge-soft-info {
    color: #4c96e0;
    background: rgba(76, 150, 224, .16);
}

.acg-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.acg-tag--red { color: #e5484d; background: rgba(229, 72, 77, .14); }
.acg-tag--blue { color: #4c7ef0; background: rgba(76, 126, 240, .14); }
.acg-tag--green { color: #1fa971; background: rgba(31, 169, 113, .14); }
.acg-tag--orange { color: #d98a00; background: rgba(217, 138, 0, .16); }
.acg-tag--purple { color: #8b5cf6; background: rgba(139, 92, 246, .16); }

.shared-button {
    cursor: pointer;
    transition: filter .15s;
}

.shared-button:hover {
    filter: brightness(1.1);
}

/* 售罄 */
.acg-card.soldout {
    opacity: .62;
    filter: grayscale(.3);
}

.item-card-cell:has(.soldout) {
    cursor: not-allowed;
}

.soldout-ribbon {
    position: absolute;
    top: 10px;
    right: -30px;
    transform: rotate(45deg);
    background: #e5484d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 34px;
    box-shadow: 0 4px 12px rgba(229, 72, 77, .4);
}

/* ---------- 商品详情页 ---------- */
.acg-cover {
    border-radius: 18px;
    overflow: hidden;
    background: var(--glass-bg-soft);
    border: 1px solid var(--glass-border-soft);
}

.item-cover {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.item-detail .panel-body :is(h1, h2, h3, h4, h5, h6) {
    color: var(--uc-ink);
}

h4 {
    color: var(--uc-ink);
    font-weight: 700;
}

.abacus .price {
    font-size: 26px;
}

.sku-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sku {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--uc-ink-med);
    background: var(--uc-field-bg);
    border: 1px solid var(--glass-border-soft);
    cursor: pointer;
    transition: all .16s;
}

.sku:hover {
    border-color: var(--uc-focus);
    color: var(--uc-ink);
}

.sku.is-primary {
    color: var(--md-on-primary);
    background: var(--md-primary);
    border-color: transparent;
}

.badge-money {
    font-size: 12px;
    opacity: .85;
}

.optional-card {
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px dashed var(--glass-border);
    background: var(--uc-field-bg);
    color: var(--uc-ink-med);
    cursor: pointer;
    font-size: 13.5px;
}

.optional-card:hover {
    border-color: var(--uc-focus);
    color: var(--uc-ink);
}

/* 数量 */
.qty-group {
    display: inline-flex;
    align-items: stretch;
    width: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--uc-field-bg);
}

.qty-group .change-num-sub,
.qty-group .change-num-add {
    width: 38px;
    border: 0;
    background: transparent;
    color: var(--uc-ink-med);
    font-size: 16px;
    cursor: pointer;
}

.qty-group .change-num-sub:hover,
.qty-group .change-num-add:hover {
    background: rgba(var(--md-primary-rgb), .1);
    color: var(--uc-ink);
}

.qty-group .form-control {
    width: 66px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
}

/* 付款方式 */
.cash-pay {
    border-radius: 14px;
    background: var(--uc-field-bg);
    border: 1px solid var(--glass-border-soft);
}

.pay-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 8px;
}

.pay-list > * {
    cursor: pointer;
}

/* ---------- 表单 / 输入（玻璃化，覆盖 bootstrap 默认） ---------- */
.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--uc-ink-med);
    font-size: 13px;
    font-weight: 500;
}

/* 变量都来自 _glass.css。秋叶原 / 西雅图 / 旧版纽约也加载这份文件却没有 _glass.css：
   不给回退值的话，变量失效 + !important 会把它们的输入框边框和底色整个吃掉 */
.form-control {
    height: 40px;
    border-radius: 11px;
    background: var(--uc-field-bg, transparent) !important;
    border: 1px solid var(--glass-border, rgba(128, 128, 128, .42)) !important;
    color: var(--uc-ink, inherit) !important;
    box-shadow: none !important;
    transition: border-color .16s, box-shadow .16s;
}

textarea.form-control {
    height: auto;
}

.form-control::placeholder {
    color: var(--uc-ink-dis, rgba(128, 128, 128, .9)) !important;
}

.form-control:focus {
    border-color: var(--uc-focus, currentColor) !important;
    box-shadow: 0 0 0 3px rgba(var(--uc-focus-rgb, 128, 128, 128), .18) !important;
}

.captcha-img {
    border-radius: 10px;
    cursor: pointer;
    height: 40px;
}

/* 图形验证码：输入框 + 验证码图合成一个玻璃控件——验证码做成嵌在框内右侧的白色小卡片
   （验证码笔画是深色，需要常亮底色，暗色模式也读得清），不再是两个分离的圆角盒子。
   作用域限定在 .captcha-group，不影响查单页等其它 input-group。 */
.captcha-group {
    display: flex;
    align-items: center;
    height: 40px;
    padding-right: 5px;
    border-radius: 11px;
    border: 1px solid var(--glass-border, rgba(128, 128, 128, .42));
    background: var(--uc-field-bg, transparent);
    overflow: hidden;
    transition: border-color .16s, box-shadow .16s;
}

.captcha-group:focus-within {
    border-color: var(--uc-focus, currentColor);
    box-shadow: 0 0 0 3px rgba(var(--uc-focus-rgb, 128, 128, 128), .18);
}

/* 输入框交出自己的边框/圆角/底色，由外层容器统一呈现 */
.captcha-group .captcha-input.form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.captcha-group .input-group-append {
    display: flex;
    align-items: center;
    margin: 0;
}

/* 验证码图：框内白底小卡片，去掉 Bootstrap input-group-text 的灰底/边框/内距 */
.captcha-group .captcha-img {
    display: block;
    height: 30px;
    width: auto;
    padding: 0 5px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(10, 8, 30, .14), inset 0 0 0 1px rgba(10, 8, 30, .06);
    cursor: pointer;
}

.btn-search-query {
    height: 40px;
    padding: 0 22px;
    white-space: nowrap;
    border-radius: 12px;
    border: 0;
    color: var(--md-on-primary);
    background: var(--md-primary);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(var(--md-primary-rgb), .28);
}

.btn-search-query:hover {
    filter: brightness(1.06);
    color: var(--md-on-primary);
}

/* 查询页文字 */
.text-muted {
    color: var(--uc-ink-dis) !important;
}

.no-results h6,
.no-results p,
.loading-state p {
    color: var(--uc-ink-dis) !important;
}

/* ---------- 页脚 ---------- */
footer {
    text-align: center;
    padding: 26px 16px 34px;
    color: var(--uc-ink-dis);
    font-size: 12.5px;
}

footer a {
    color: var(--uc-ink-med);
}

/* ---------- 加载遮罩（沿用） ---------- */
.net-loading {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
}

/* ============================================================
   补齐：JS 动态渲染的组件（付款方式 / 订单查询结果 / 卡密展示）
   —— 这些类由 item.js、query.js 注入，重写样式时要一并玻璃化
   ============================================================ */

/* ---------- 付款方式（item 页 .pay-list .pay） ---------- */
.pay-list .pay {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px 11px;
    border-radius: 12px;
    background: var(--glass-bg-soft);
    border: 1px solid var(--glass-border-soft);
    color: var(--uc-ink);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .16s;
}

.pay-list .pay img {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.pay-list .pay span {
    color: var(--uc-ink);
}

.pay-list .pay:hover {
    border-color: var(--uc-focus);
    background: rgba(var(--uc-focus-rgb), .08);
    transform: translateY(-1px);
    box-shadow: var(--glass-shadow);
}

.pay-list .pay.selected {
    border-color: transparent;
    background: var(--md-primary);
}

.pay-list .pay.selected span {
    color: var(--md-on-primary);
}

/* ---------- 订单查询结果（query.js .order-item） ---------- */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-item {
    border-radius: 16px;
    background: var(--glass-bg-soft);
    border: 1px solid var(--glass-border-soft);
    padding: 18px 20px;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}

.order-item:hover {
    box-shadow: var(--glass-shadow-lg);
    border-color: var(--glass-border);
}

.order-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.order-left {
    flex: 1 1 auto;
    min-width: 0;
}

.order-right {
    flex: 0 0 auto;
    text-align: right;
}

.order-status {
    margin-bottom: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.status-pending,
.status-waiting-shipment {
    color: #d98a00;
    background: rgba(217, 138, 0, .15);
}

.status-paid,
.status-completed,
.status-shipped {
    color: #1fa971;
    background: rgba(31, 169, 113, .15);
}

.status-cancelled {
    color: #e5484d;
    background: rgba(229, 72, 77, .15);
}

.order-basic {
    font-size: 13px;
    color: var(--uc-ink-med);
    line-height: 2;
}

.order-no {
    font-weight: 600;
    color: var(--uc-ink);
}

.payment-dst .payment-method {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    vertical-align: middle;
}

.payment-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
}

.order-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.amount-label {
    font-size: 12px;
    color: var(--uc-ink-dis);
}

.amount-value {
    font-size: 20px;
    font-weight: 700;
    color: #f0435f;
    line-height: 1.1;
}

:root[data-theme="dark"] .amount-value {
    color: #ff8095;
}

.goods-section {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border-soft);
}

.goods-thumb {
    flex: 0 0 auto;
}

.goods-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(var(--md-primary-rgb), .06);
}

.goods-details {
    flex: 1 1 auto;
    min-width: 0;
}

.goods-name {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--uc-ink);
}

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

.goods-sku {
    display: inline-flex;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
}

/* ---------- 卡密 / 发货区块（已付款订单） ---------- */
.card-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border-soft);
}

.card-title.shipment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.shipment-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--uc-ink);
}

.shipment-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}

.shipment-waiting,
.shipment-pending {
    color: #d98a00;
    background: rgba(217, 138, 0, .16);
}

.shipment-paid,
.shipment-shipped {
    color: #1fa971;
    background: rgba(31, 169, 113, .15);
}

.card-content-no-password {
    margin-top: 6px;
}

.card-display {
    white-space: pre-line;
    word-break: break-all;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--uc-field-bg);
    border: 1px solid var(--glass-border-soft);
    color: var(--uc-ink);
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
}

/* ---------- File-card download rows (acgDelivery, ready.js): query page + purchase dialog ---------- */
body.uc-body {
    --acg-delivery-accent: var(--md-primary);
    --acg-delivery-accent-soft: rgba(var(--md-primary-rgb), .07);
    --acg-delivery-on-accent: var(--md-on-primary);
    --acg-delivery-surface: var(--uc-field-bg);
    --acg-delivery-border: var(--glass-border-soft);
    --acg-delivery-radius: 12px;
    --acg-delivery-success: #1fa971;
}

:root[data-theme="dark"] body.uc-body {
    --acg-delivery-success: #4fd39b;
}

body.uc-body .acg-delivery__file {
    margin: 0;
    line-height: 1.5;
    box-shadow: var(--glass-hi);
}

body.uc-body .acg-delivery__icon {
    box-shadow: inset 0 0 0 1px rgba(var(--md-primary-rgb), .06);
}

body.uc-body .acg-delivery__name {
    color: var(--uc-ink);
}

body.uc-body .acg-delivery__sub,
body.uc-body .acg-delivery__url {
    color: var(--uc-ink-med);
    opacity: 1;
}

body.uc-body .acg-delivery__url {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.uc-body .card-section .acg-delivery__download,
body.uc-body .card-section .acg-delivery__copy {
    min-height: 36px;
    border-radius: 11px;
}

body.uc-body .card-section .acg-delivery__download {
    box-shadow: 0 4px 14px rgba(var(--md-primary-rgb), .22);
}

@media (pointer: coarse) {
    body.uc-body .card-section .acg-delivery__download,
    body.uc-body .card-section .acg-delivery__copy {
        min-height: 40px;
    }
}

body.uc-body .acg-delivery__copy {
    color: var(--uc-ink);
    border-color: rgba(var(--md-primary-rgb), .16);
    background: var(--glass-bg-soft);
}

body.uc-body .acg-delivery__copy:hover {
    background: rgba(var(--md-primary-rgb), .07);
}

body.uc-body .acg-delivery__copy.is-done {
    color: var(--acg-delivery-success);
    border-color: currentColor;
}

body.uc-body .acg-delivery__download:focus-visible,
body.uc-body .acg-delivery__copy:focus-visible {
    outline-color: var(--uc-focus);
}

@media (max-width: 520px) {
    body.uc-body .acg-delivery__file {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        column-gap: 12px;
        row-gap: 10px;
    }

    body.uc-body .acg-delivery__icon {
        width: 40px;
        height: 40px;
    }

    body.uc-body .acg-delivery__actions {
        grid-column: 2;
    }
}

/* Purchase dialog (treasure.show): glass card that stays readable in dark mode */
body.uc-body .layui-layer-page:has(.acg-secret) {
    color: var(--uc-ink);
    background: var(--glass-bg-strong) !important;
    -webkit-backdrop-filter: var(--glass-filter-strong);
    backdrop-filter: var(--glass-filter-strong);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--glass-shadow-lg), var(--glass-hi);
    overflow: hidden;
}

:root[data-theme="dark"] body.uc-body .layui-layer-page:has(.acg-secret) {
    background: rgba(28, 32, 41, .9) !important;
}

body.uc-body .layui-layer-page:has(.acg-secret) .layui-layer-title {
    color: var(--uc-ink);
    font-weight: 600;
    box-shadow: none;
    border-bottom: 1px solid var(--glass-border-soft) !important;
}

body.uc-body .layui-layer-page:has(.acg-secret) .layui-layer-title i {
    color: var(--uc-ink-med);
}

:root[data-theme="dark"] body.uc-body .layui-layer-page:has(.acg-secret) .layui-layer-close {
    filter: invert(1);
}

.password-form .input-group,
.card-password-section .input-group {
    display: flex;
    gap: 8px;
}

.card-loading .loading-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 2px;
    color: var(--uc-ink-med);
    font-size: 13px;
}

/* ---------- 通用主按钮（查看卡密 / 复制 等） ---------- */
.btn-primary,
.view-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    color: var(--md-on-primary);
    background: var(--md-primary);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(var(--md-primary-rgb), .28);
    white-space: nowrap;
}

.btn-primary:hover,
.view-card-btn:hover {
    filter: brightness(1.06);
    color: var(--md-on-primary);
}

/* ---------- 批发价格表 ---------- */
.wholesale-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 12px;
    overflow: hidden;
}

.wholesale-table th,
.wholesale-table td {
    padding: 8px 14px;
    border: 1px solid var(--glass-border-soft);
    color: var(--uc-ink-med);
    text-align: center;
}

.wholesale-table th {
    background: rgba(var(--md-primary-rgb), .08);
    color: var(--uc-ink);
    font-weight: 600;
}

/* ---------- 杂项 ---------- */
.acg-tag--cyan { color: #0891b2; background: rgba(8, 145, 178, .14); }
.acg-tag--gray { color: var(--uc-ink-dis); background: rgba(125, 125, 135, .16); }
.acg-tag--pink { color: #ec4899; background: rgba(236, 72, 153, .14); }

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-ink);
}

.muted {
    color: var(--uc-ink-dis);
}

/* ---------- 全局加载转圈（Loading 组件 .chahuo-ring）玻璃化 ---------- */
/* 仅覆写 CSS 变量 + 给卡片加磨砂，不动核心 loading.js 结构；日夜自适应 */
:root[data-theme] {
    --chahuo-ring-card: var(--glass-bg-strong);
    --chahuo-ring-color: var(--uc-focus);
    --chahuo-ring-rgb: var(--uc-focus-rgb);
    --chahuo-ring-track: rgba(125, 125, 135, .22);
    --chahuo-ring-overlay: rgba(255, 255, 255, .16);
}

:root[data-theme="dark"] {
    --chahuo-ring-overlay: rgba(8, 10, 16, .34);
}

.chahuo-ring-overlay .chahuo-ring {
    -webkit-backdrop-filter: var(--glass-filter-strong);
    backdrop-filter: var(--glass-filter-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg) !important;
}

/* 无商品的分类：置灰 + 不可点击 */
.chip.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
    color: var(--uc-ink-dis);
    background: rgba(125, 125, 135, .1);
    border-color: transparent;
    filter: grayscale(1);
}


/* ---------- 商品详情右栏精修（小而精致，不放大） ---------- */
.item-buy > h4 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .2px;
    margin: 0 0 9px;
}

.item-buy .abacus {
    margin: 0 !important;
    min-height: 0;
}

.item-buy .abacus .price {
    font-size: 22px;
    font-weight: 700;
}

.item-buy .abacus .price .unit {
    font-size: 13px;
    font-weight: 700;
    margin-right: 1px;
}

/* 价格与分隔线之间不要太空 */
.buy-divider {
    height: 1px;
    background: var(--glass-border-soft);
    margin: 10px 0 14px;
}

.item-buy form.vstack {
    gap: 12px;
}

.item-buy .form-label {
    font-size: 12.5px;
    margin-bottom: 6px;
}

.cash-pay {
    padding: 11px 13px;
}

.cash-pay > label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--uc-ink);
}

.cash-pay > label i {
    color: var(--uc-ink-med);
    font-size: 14px;
}

/* ---------- 自选卡密弹窗（自助选号）精修 ---------- */
/* 1) 标题小一点 */
.layui-layer-title {
    font-size: 15px !important;
    height: 40px !important;
    line-height: 40px !important;
}

.layui-layer-title i,
.layui-layer-title .fa-duotone {
    font-size: 15px !important;
}

/* 2) 搜索浮动标签要盖住输入框描边（前台未加载 _glass.js 的 fieldset notch，
   _glass.css 把标签背景设成透明会让描边穿过标签，这里补回实底背景形成缺口） */
:root[data-theme] .table-search .mui-sf__label {
    background: #fff !important;
    padding: 0 6px !important;
}

/* ===== 机甲主视觉 HERO ===== */
.mc-hero{
  position:relative;margin:0 0 18px;border-radius:16px;overflow:hidden;
  background:#070b12 url('/assets/cache/general/hero-mecha.png') right center/cover no-repeat;
  border:1px solid rgba(34,211,238,.30);
  box-shadow:0 0 0 1px rgba(168,85,247,.12), 0 18px 60px rgba(0,0,0,.55), inset 0 0 80px rgba(34,211,238,.06);
  clip-path:polygon(22px 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%,0 22px);
  min-height:230px;
}
.mc-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg, rgba(5,8,14,.92) 0%, rgba(5,8,14,.72) 46%, rgba(5,8,14,.18) 72%, rgba(5,8,14,.05) 100%);
}
.mc-hero::after{
  content:"";position:absolute;left:0;right:0;top:0;height:2px;pointer-events:none;
  background:linear-gradient(90deg,#22d3ee,#a855f7,transparent);
  animation:mc-heroline 4s linear infinite;
}
@keyframes mc-heroline{0%{opacity:.35}50%{opacity:1}100%{opacity:.35}}
.mc-hero__inner{position:relative;z-index:2;padding:34px 38px 30px}
.mc-hero__badge{
  display:inline-block;font-size:11px;letter-spacing:2px;color:#7ef0ff;
  border:1px solid rgba(34,211,238,.55);border-radius:999px;padding:4px 12px;margin-bottom:14px;
  background:rgba(34,211,238,.08);box-shadow:0 0 18px rgba(34,211,238,.25) inset;
}
.mc-hero__title{
  margin:0 0 10px;font-size:34px;line-height:1.25;font-weight:800;color:#eafcff;
  text-shadow:0 0 18px rgba(34,211,238,.45),0 2px 0 rgba(0,0,0,.5);
}
.mc-hero__title span{color:#ff5c9d;text-shadow:0 0 16px rgba(255,92,157,.6)}
.mc-hero__sub{margin:0 0 16px;font-size:14px;color:#a9c3d8;letter-spacing:.3px}
.mc-hero__chips span{
  display:inline-block;margin:0 8px 8px 0;padding:5px 12px;font-size:12px;color:#cfeaff;
  border:1px solid rgba(34,211,238,.28);border-radius:8px;background:rgba(10,18,30,.72);
}
/* 商品卡片：价格更醒目（参考同类站） */
.item-card-cell .amount-value,.item-card-cell .price{font-size:19px!important;font-weight:800}
.item-card-cell .item-title,.item-card-cell .goods-name{font-size:13px;line-height:1.5}
@media (max-width:768px){
  .mc-hero{min-height:180px}
  .mc-hero__inner{padding:20px 18px 16px}
  .mc-hero__title{font-size:22px}
  .mc-hero__sub{font-size:12px}
}

/* ===== 左侧分类树 + 右侧商品列表 ===== */
.mc-shop{display:flex;gap:18px;align-items:flex-start}
.mc-shop__side{flex:0 0 206px;max-width:206px}
.mc-shop__side-title{font-size:12px;letter-spacing:1.5px;color:#8fb6cc;margin:0 0 10px;padding-left:2px}
.mc-shop__side-title i{margin-right:6px;color:#22d3ee}
.mc-shop__side .chip-list{display:flex;flex-direction:column;gap:6px}
.mc-shop__side .chip{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:9px;
  border-radius:10px;padding:8px 10px;font-size:13px;text-align:left}
.mc-shop__side .chip-icon{width:24px;height:24px;border-radius:7px;flex:0 0 24px;
  box-shadow:0 0 10px rgba(34,211,238,.25)}
.mc-shop__side .chip.is-primary{border-color:rgba(34,211,238,.75)!important;
  box-shadow:0 0 0 1px rgba(34,211,238,.35),0 0 18px rgba(34,211,238,.18)}
.mc-shop__main{flex:1;min-width:0}
/* 商品标签徽章 */
.item-card-cell .commodity-tag,.item-card-cell .item-tag{border-radius:6px;font-size:11px;padding:1px 7px;font-weight:600}
/* 商品卡片价格行 */
.item-card-cell .item-price-row,.item-card-cell .amount-label{font-size:12px;color:#8fb6cc}
@media (max-width:900px){
  .mc-shop{flex-direction:column;gap:10px}
  .mc-shop__side{flex:none;max-width:none;width:100%}
  .mc-shop__side .chip-list{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:8px;
    scrollbar-width:none}
  .mc-shop__side .chip-list::-webkit-scrollbar{display:none}
  .mc-shop__side .chip{width:auto;white-space:nowrap;flex:0 0 auto;font-size:12px;padding:6px 10px}
  .mc-shop__side .chip-icon{width:20px;height:20px;flex:0 0 20px}
}

/* ===== 卡片细节优化（参考同类站） ===== */
.item-card-cell .price{font-size:20px!important;font-weight:800;letter-spacing:.3px;
  color:#22d3ee!important;text-shadow:0 0 12px rgba(34,211,238,.45)}
.item-card-cell .price .unit{font-size:12px;font-weight:600;margin-right:1px;color:#8fd8e8}
.item-card-cell .goods-title{font-size:13px;line-height:1.45;color:#dbeafe!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item-card-cell .stat-bottom{font-size:11px;color:#7d94a8}
.item-card-cell .acg-tag{font-size:11px;line-height:1.6;padding:0 7px;border-radius:6px;font-weight:700}
.item-card-cell .badge-soft{font-size:11px;padding:0 7px;line-height:1.6;border-radius:6px}
.mc-shop__side .chip.is-disabled{opacity:.45}

/* ===== 站名彩色渐变 ===== */
@keyframes mc-brandflow{0%{background-position:0% 50%}100%{background-position:300% 50%}}
.shop-brand__name{
  background:linear-gradient(90deg,#22d3ee 0%,#38bdf8 20%,#a855f7 45%,#ff5c9d 65%,#fbbf24 85%,#22d3ee 100%)!important;
  background-size:300% 100%!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important;
  animation:mc-brandflow 8s linear infinite!important;
  font-weight:900!important;letter-spacing:1.4px!important;
  text-shadow:none!important;
  filter:drop-shadow(0 0 10px rgba(34,211,238,.5));
}
.shop-brand img{border-radius:12px!important;box-shadow:0 0 0 1px rgba(34,211,238,.65),0 0 16px rgba(34,211,238,.55)!important}

/* ===== v3 · 玻璃拟态（参考哲风壁纸） ===== */
@keyframes mc-aurora1{0%{transform:translate3d(-4%,-2%,0) scale(1)}50%{transform:translate3d(6%,4%,0) scale(1.12)}100%{transform:translate3d(-4%,-2%,0) scale(1)}}
@keyframes mc-aurora2{0%{transform:translate3d(3%,2%,0) scale(1.06)}50%{transform:translate3d(-5%,-3%,0) scale(1)}100%{transform:translate3d(3%,2%,0) scale(1.06)}}
body.uc-body{
  background-color:#070a11!important;
  background-image:
    radial-gradient(1100px 620px at 8% -10%, rgba(34,211,238,.16), transparent 62%),
    radial-gradient(1000px 560px at 94% -6%, rgba(168,85,247,.15), transparent 60%),
    radial-gradient(900px 640px at 50% 110%, rgba(56,189,248,.10), transparent 62%),
    linear-gradient(180deg,#070a11 0%,#0a0e18 50%,#070a11 100%)!important;
  background-size:200% 200%,200% 200%,200% 200%,100% 100%!important;
  background-attachment:fixed!important;
  animation:mc-aurora1 26s ease-in-out infinite, mc-aurora2 34s ease-in-out infinite!important;
  color:#e8f2fb;
}
/* 面板：玻璃 + 大圆角，去掉锐利切角与呼吸边框 */
.panel,.acg-card,.card-section{
  background:rgba(18,23,34,.55)!important;
  backdrop-filter:blur(22px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(130%)!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:20px!important;
  box-shadow:0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05)!important;
  clip-path:none!important;
  animation:none!important;
}
.panel-header{border-bottom:1px solid rgba(255,255,255,.06)!important;background:transparent!important}
.panel-title{color:#f2f8ff!important;font-weight:700!important;letter-spacing:.3px}
.panel-title::before{background:linear-gradient(180deg,#38e8ff,#a855f7)!important;border-radius:3px;height:16px}
.panel-title::after{opacity:.45!important}
.panel-body{color:#c7d7e6}
/* 分类：胶囊，柔和 */
.mc-shop__side .chip,.chip-list .chip{
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:14px!important;
  color:#c6d8e8!important;
  transition:all .2s ease;
}
.mc-shop__side .chip:hover,.chip-list .chip:hover{
  background:rgba(56,189,248,.10)!important;border-color:rgba(56,189,248,.35)!important;color:#eaf7ff!important;
}
.mc-shop__side .chip.is-primary,.chip-list .chip.is-primary{
  background:linear-gradient(135deg,rgba(56,189,248,.20),rgba(168,85,247,.16))!important;
  border-color:rgba(56,189,248,.55)!important;color:#fff!important;
  box-shadow:0 0 18px rgba(56,189,248,.18)!important;
}
/* 商品卡：圆角 + 悬浮 */
.item-card-cell .acg-card{
  border-radius:18px!important;overflow:hidden;
  border:1px solid rgba(255,255,255,.06)!important;
  background:rgba(18,23,34,.62)!important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation:none!important;
}
.item-card-cell:hover .acg-card{
  transform:translateY(-4px);
  border-color:rgba(56,189,248,.38)!important;
  box-shadow:0 22px 48px rgba(0,0,0,.55),0 0 0 1px rgba(56,189,248,.18)!important;
}
.item-card-cell .acg-thumb{border-radius:14px 14px 0 0}
.item-card-cell .goods-title{color:#e9f4ff!important}
.item-card-cell .price{color:#5ee7ff!important;text-shadow:0 0 14px rgba(56,189,248,.35)}
.item-card-cell .stat-bottom{color:rgba(200,220,235,.5)!important}
/* 顶栏：更克制的玻璃 */
.uc-topbar{
  background:rgba(8,11,18,.62)!important;
  backdrop-filter:blur(24px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(140%)!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  box-shadow:0 8px 32px rgba(0,0,0,.42)!important;
}
/* HERO 保持机甲感，但边缘柔化 */
.mc-hero{border-radius:22px!important;border-color:rgba(255,255,255,.10)!important;
  box-shadow:0 26px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06)!important;
  clip-path:polygon(26px 0,100% 0,100% calc(100% - 26px),calc(100% - 26px) 100%,0 100%,0 26px)!important;}
.mc-hero::before{background:linear-gradient(90deg,rgba(6,9,15,.94) 0%,rgba(6,9,15,.78) 44%,rgba(6,9,15,.22) 74%,rgba(6,9,15,.06) 100%)!important}
.mc-hero__chips span{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.10)!important;color:#d5e8f7!important;border-radius:10px}
/* 按钮：更精致 */
.btn-primary,.item-buy{background:linear-gradient(135deg,#2ee6ff,#7c3aed)!important;border-radius:12px!important;
  box-shadow:0 10px 26px rgba(46,230,255,.24)!important;animation:none!important;color:#03121a!important}
.btn-primary:hover,.item-buy:hover{filter:brightness(1.10);transform:translateY(-1px)}
/* 输入框 */
.form-control,.item-search-input,input[type=search]{background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;color:#e8f2fb!important}
/* 滚动条 */
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#2ee6ff,#7c3aed);border-radius:8px}

/* ===== v4 · 静止版（无动画，背景固定） ===== */
@keyframes none-unused{}
body.uc-body,html::after,.panel,.acg-card,.item-card-cell,.btn-primary,.item-buy,
.shop-brand__name,.mc-hero,.chip,.mc-shop__side .chip{animation:none!important}
html::after{display:none!important}
#mc-fx-canvas{display:none!important}
.item-card-cell:hover .acg-card{transform:none!important}
.item-card-cell .acg-card{transition:border-color .18s ease, box-shadow .18s ease!important}

/* 背景：专业团队照片 + 暗化遮罩（固定不滚动） */
body.uc-body{
  background-color:#05080f!important;
  background-image:
    linear-gradient(180deg, rgba(4,7,12,.90) 0%, rgba(4,7,12,.84) 38%, rgba(4,7,12,.92) 100%),
    url('/assets/cache/general/bg-team.jpg')!important;
  background-size:100% 100%, cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}

/* 面板：更实一点，保证文字与商品清晰 */
.panel,.acg-card,.card-section{
  background:rgba(16,21,31,.86)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.uc-topbar{background:rgba(7,10,16,.90)!important;backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;border-bottom:1px solid rgba(255,255,255,.09)!important}

/* 商品卡：高对比、看得清 */
.item-card-cell .acg-card{
  background:rgba(22,29,42,.95)!important;
  border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.42)!important;
}
.item-card-cell .acg-thumb{filter:brightness(1.05) contrast(1.02)}
.item-card-cell .goods-title{color:#ffffff!important;font-size:13.5px!important;font-weight:600!important;line-height:1.45}
.item-card-cell .price{color:#67e8ff!important;font-size:21px!important;font-weight:800!important;text-shadow:0 0 12px rgba(56,189,248,.35)}
.item-card-cell .price .unit{font-size:12px;color:#a5e8f7}
.item-card-cell .stat-bottom{color:rgba(220,236,248,.66)!important;font-size:11px!important}
.item-card-cell .acg-tag{filter:saturate(115%)}
.item-card-cell .badge-soft{background:rgba(16,185,129,.16)!important;color:#7ef0c6!important}

/* 左分类：更清晰 */
.mc-shop__side .chip{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.10)!important;color:#d6e6f4!important;font-weight:500}
.mc-shop__side .chip.is-primary{background:linear-gradient(135deg,rgba(56,189,248,.26),rgba(168,85,247,.22))!important;
  border-color:rgba(56,189,248,.65)!important;color:#fff!important;font-weight:700}
.mc-shop__side-title{color:#9fc0d6!important}

/* 公告：文字对比提高 */
.panel-body{color:#d5e4f2!important}
.panel-body a{color:#ff6fae!important}
.panel-title{color:#f5faff!important}

/* 站名保持彩色但静止 */
.shop-brand__name{background-size:100% 100%!important}

/* ===== v4.1 · 背景可见度 & 对比调优 ===== */
body.uc-body{
  background-image:
    linear-gradient(180deg, rgba(4,7,12,.62) 0%, rgba(4,7,12,.30) 26%, rgba(4,7,12,.55) 62%, rgba(4,7,12,.80) 100%),
    url('/assets/cache/general/bg-team.jpg')!important;
  background-size:100% 100%, cover!important;
  background-position:center top!important;
  background-attachment:fixed!important;
}
/* 面板略加不透明度，保证照片透出来时文字仍然清晰 */
.panel,.card-section{background:rgba(14,19,29,.90)!important}
.item-card-cell .acg-card{background:rgba(24,31,45,.97)!important}
.uc-topbar{background:rgba(6,9,14,.92)!important}
/* 公告文字加一点阴影，压在任何底上都清楚 */
.panel-body{text-shadow:0 1px 2px rgba(0,0,0,.65)}

/* ===== v5 · 新拟态细节（参考哲风壁纸） =====
   要点：软双阴影 + 大圆角 + 极淡描边 + 胶囊 + 弱化辅助文字 */
:root{
  --mc-radius-lg:22px;
  --mc-radius-md:16px;
  --mc-radius-sm:12px;
  --mc-border:rgba(255,255,255,.075);
  --mc-border-strong:rgba(255,255,255,.14);
  --mc-ink:#eef6ff;
  --mc-ink-2:rgba(226,240,252,.72);
  --mc-ink-3:rgba(200,220,238,.46);
  --mc-elev:6px 6px 20px rgba(0,0,0,.55), -6px -6px 20px rgba(255,255,255,.028);
  --mc-elev-inset:inset 2px 2px 6px rgba(0,0,0,.45), inset -2px -2px 6px rgba(255,255,255,.035);
  --mc-accent:#4fd1e8;
}
/* 面板：新拟态 */
.panel,.card-section{
  background:linear-gradient(160deg,rgba(24,31,44,.94),rgba(16,21,31,.94))!important;
  border:1px solid var(--mc-border)!important;
  border-radius:var(--mc-radius-lg)!important;
  box-shadow:var(--mc-elev)!important;
}
.panel-header{border-bottom:1px solid rgba(255,255,255,.055)!important}
.panel-title{color:var(--mc-ink)!important;font-size:15px!important;font-weight:700!important}
.panel-title::before{width:3px;height:15px;background:linear-gradient(180deg,#5ee7ff,#a855f7)!important}
.panel-title::after{content:"" !important}
.panel-body{color:var(--mc-ink-2)!important}

/* 商品卡：新拟态 + 大圆角 + 胶囊标签 */
.item-card-cell .acg-card{
  background:linear-gradient(165deg,rgba(28,36,51,.97),rgba(19,25,36,.97))!important;
  border:1px solid var(--mc-border)!important;
  border-radius:var(--mc-radius-lg)!important;
  box-shadow:var(--mc-elev)!important;
  overflow:hidden;
}
.item-card-cell:hover .acg-card{
  border-color:rgba(94,231,255,.36)!important;
  box-shadow:var(--mc-elev),0 0 0 1px rgba(94,231,255,.16)!important;
  transform:none!important;
}
.item-card-cell .acg-thumb{border-radius:0!important}
.item-card-cell .acg-body{padding:12px 13px 13px!important}
.item-card-cell .goods-title{
  color:var(--mc-ink)!important;font-size:13.5px!important;font-weight:600!important;
  line-height:1.5!important;min-height:40px;
}
.item-card-cell .price{color:#6ff0ff!important;font-size:22px!important;font-weight:800!important;letter-spacing:.2px}
.item-card-cell .stat-bottom{color:var(--mc-ink-3)!important;font-size:11px!important}
.item-card-cell .stat-bottom span{display:inline-flex;align-items:center;gap:3px}
/* 胶囊标签 */
.item-card-cell .acg-tag,.item-card-cell .badge-soft{
  border-radius:999px!important;font-size:10.5px!important;line-height:1.7!important;
  padding:0 8px!important;border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.055)!important;
  color:#dcecf8!important;font-weight:600!important;
}
.item-card-cell .badge-soft-success{background:rgba(52,211,153,.14)!important;border-color:rgba(52,211,153,.28)!important;color:#8ff0c4!important}

/* 分类胶囊（左栏） */
.mc-shop__side .chip{
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid var(--mc-border)!important;
  color:var(--mc-ink-2)!important;
  box-shadow:var(--mc-elev-inset)!important;
  font-size:12.5px!important;
  padding:8px 12px!important;
}
.mc-shop__side .chip.is-primary{
  background:linear-gradient(135deg,rgba(94,231,255,.22),rgba(168,85,247,.18))!important;
  border-color:rgba(94,231,255,.45)!important;color:#fff!important;
  box-shadow:0 0 0 1px rgba(94,231,255,.18),0 6px 18px rgba(0,0,0,.35)!important;
}
.mc-shop__side .chip-icon{border-radius:8px!important}
.mc-shop__side-title{color:var(--mc-ink-3)!important;font-size:11.5px!important;letter-spacing:2px!important;text-transform:uppercase}

/* 顶栏：胶囊导航 + 新拟态搜索框 */
.uc-topbar__inner{max-width:1280px}
.shop-nav__item{border-radius:999px!important;padding:8px 14px!important;color:var(--mc-ink-2)!important}
.shop-nav__item.is-primary,.shop-nav__item.active{
  background:rgba(255,255,255,.08)!important;color:#fff!important;
  box-shadow:var(--mc-elev-inset)!important;
}
.shop-search__box{border-radius:999px!important;background:rgba(10,14,22,.72)!important;
  border:1px solid var(--mc-border)!important;box-shadow:var(--mc-elev-inset)!important}
.item-search-input{background:transparent!important;border:none!important;border-radius:999px!important}

/* 按钮：胶囊 */
.btn-primary,.item-buy{border-radius:999px!important;padding:11px 22px!important;letter-spacing:.5px}

/* 公告：行距更松 + 分组感 */
.panel-body{line-height:1.95!important;font-size:13px!important}
.panel-body b{color:#fff}

/* 图片自适应圆形头像 */
.shop-brand img{border-radius:14px!important}

/* 输入框统一 */
.form-control,input,textarea,select{border-radius:var(--mc-radius-sm)!important}

/* ===== v6 · 库存状态 / 搜索按钮 / 排版细化 ===== */

/* 搜索框：胶囊 + 右侧圆形搜索按钮 */
.shop-search__box{display:flex!important;align-items:center!important;gap:8px!important;
  padding:5px 6px 5px 14px!important;border-radius:999px!important}
.shop-search__box .item-search-input{flex:1 1 auto!important;min-width:0!important;background:transparent!important;border:none!important}
.shop-search__btn{
  flex:0 0 auto;width:34px;height:34px;border-radius:999px;border:none;cursor:pointer;
  background:linear-gradient(135deg,#5ee7ff,#7c3aed);color:#04121c;
  display:inline-flex;align-items:center;justify-content:center;font-size:14px;
  box-shadow:0 4px 14px rgba(94,231,255,.28);
  transition:filter .18s ease, transform .18s ease;
}
.shop-search__btn:hover{filter:brightness(1.10);transform:none}
.shop-search__btn i{font-size:14px}

/* 库存徽章 */
.mc-stock{
  display:inline-flex;align-items:center;gap:5px;border-radius:999px;
  font-size:10.5px;line-height:1.75;padding:0 8px;font-weight:700;letter-spacing:.2px;
  border:1px solid transparent;
}
.mc-stock::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 7px currentColor}
.mc-stock--in{background:rgba(52,211,153,.15);border-color:rgba(52,211,153,.30);color:#8ff0c4}
.mc-stock--low{background:rgba(251,191,36,.15);border-color:rgba(251,191,36,.32);color:#ffd98a}
.mc-stock--out{background:rgba(148,163,184,.14);border-color:rgba(148,163,184,.28);color:#c3cfdd}
/* 售罄卡片整体压暗 + 角标 */
.item-card-cell .acg-card.soldout{filter:saturate(.55) brightness(.85)}
.item-card-cell .acg-card.soldout::after{
  content:"SOLD OUT";position:absolute;top:12px;right:-34px;transform:rotate(38deg);
  background:rgba(148,163,184,.22);color:#e7eef7;font-size:10px;letter-spacing:2px;
  padding:3px 40px;font-weight:800;border-top:1px solid rgba(255,255,255,.14);
  border-bottom:1px solid rgba(255,255,255,.14);
}

/* 排版细化：留白、层级 */
.panel-body{padding:16px 18px!important}
.panel-header{padding:14px 18px!important}
.panel-title{font-size:14.5px!important;letter-spacing:.4px}
/* 公告：条目更紧凑，行首数字用色块 */
.panel-body br{line-height:1.6}
/* 商品网格间隙 */
.item-list{gap:0}
.item-card-cell{padding:8px!important}
.item-card-cell .acg-body{padding:12px 12px 14px!important}
.item-card-cell .tags{gap:5px!important;margin-bottom:8px}
.item-card-cell .goods-title{margin:2px 0 8px!important}
.item-card-cell .stat-row{margin-bottom:2px!important}
.item-card-cell .stat-bottom{opacity:.85}
/* 左栏 */
.mc-shop__side{gap:8px!important}
.mc-shop__side .chip{padding:9px 12px!important;line-height:1.35}
/* 卡片右上角推荐角标（保持原样但放正） */
.item-card-cell .acg-card{position:relative}
/* 滚动条更细 */
::-webkit-scrollbar{width:8px;height:8px}

/* ===== v7 · 详情页 / 公告折叠 / 排序筛选 / 热门推荐 ===== */

.mc-notice{position:relative;overflow:hidden;transition:max-height .28s ease}
.mc-notice.is-clamped{max-height:210px}
.mc-notice.is-clamped::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;pointer-events:none;background:linear-gradient(180deg,rgba(16,21,31,0),rgba(16,21,31,.98))}
.mc-notice__more{display:block;margin:10px auto 0;padding:7px 18px;border-radius:999px;cursor:pointer;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);color:#cfe4f6;font-size:12.5px;font-weight:600}
.mc-notice__more:hover{background:rgba(94,231,255,.12);border-color:rgba(94,231,255,.35);color:#eaf7ff}

.mc-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 14px}
.mc-tools__sorts{display:flex;flex-wrap:wrap;gap:6px}
.mc-sort{padding:7px 14px;border-radius:999px;cursor:pointer;font-size:12.5px;font-weight:600;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);color:rgba(226,240,252,.75);box-shadow:inset 1px 1px 3px rgba(0,0,0,.35),inset -1px -1px 3px rgba(255,255,255,.02)}
.mc-sort:hover{color:#eaf7ff;border-color:rgba(94,231,255,.30)}
.mc-sort.is-primary{background:linear-gradient(135deg,rgba(94,231,255,.20),rgba(168,85,247,.16));border-color:rgba(94,231,255,.45);color:#fff}
.mc-tools__countries{display:flex;flex-wrap:wrap;gap:6px;width:100%}
.mc-cchip{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;cursor:pointer;font-size:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);color:rgba(210,228,244,.72)}
.mc-cchip i{font-style:normal;font-size:10.5px;opacity:.55}
.mc-cchip:hover{color:#eaf7ff;border-color:rgba(94,231,255,.28)}
.mc-cchip.is-primary{background:rgba(94,231,255,.16);border-color:rgba(94,231,255,.42);color:#fff}

.mc-hot__track{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px}
.mc-hot__track::-webkit-scrollbar{height:6px}
.mc-hot__track::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#2ee6ff,#7c3aed);border-radius:6px}
.mc-hot__card{flex:0 0 208px;border-radius:16px;overflow:hidden;text-decoration:none;background:linear-gradient(165deg,rgba(28,36,51,.96),rgba(19,25,36,.96));border:1px solid rgba(255,255,255,.075);box-shadow:6px 6px 18px rgba(0,0,0,.45),-4px -4px 14px rgba(255,255,255,.02)}
.mc-hot__card:hover{border-color:rgba(94,231,255,.35);box-shadow:0 10px 26px rgba(0,0,0,.5),0 0 0 1px rgba(94,231,255,.16)}
.mc-hot__thumb{height:104px;background-size:cover!important}
.mc-hot__body{padding:10px 12px 12px}
.mc-hot__name{color:#eef6ff;font-size:12.5px;font-weight:600;line-height:1.45;height:36px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mc-hot__meta{margin:7px 0 6px}
.mc-hot__price{color:#6ff0ff;font-size:18px;font-weight:800}
.mc-hot__msg{color:rgba(200,220,238,.5);font-size:13px;padding:14px 4px}

.acg-cover{background:linear-gradient(165deg,rgba(28,36,51,.96),rgba(19,25,36,.96))!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:22px!important;box-shadow:8px 8px 26px rgba(0,0,0,.5),-6px -6px 22px rgba(255,255,255,.025)!important;overflow:hidden;padding:10px!important;display:flex;align-items:center;justify-content:center}
.acg-cover .item-cover{width:100%;height:auto;border-radius:16px;display:block;box-shadow:0 12px 34px rgba(0,0,0,.45)}
.item-buy h4{color:#f4faff!important;font-size:22px!important;font-weight:800!important;line-height:1.45;margin-bottom:12px!important}
.item-buy .badge-soft{border-radius:999px!important;font-size:11.5px!important;padding:2px 10px!important;border:1px solid rgba(255,255,255,.10)!important}
.item-buy .abacus .price{color:#6ff0ff!important;font-size:34px!important;font-weight:900!important;text-shadow:0 0 18px rgba(56,189,248,.35)}
.item-buy .abacus .price .unit,.item-buy .abacus .price small{font-size:15px}
.buy-divider{height:1px;background:linear-gradient(90deg,rgba(255,255,255,.14),rgba(255,255,255,.02));margin:14px 0 16px}
.item-buy .form-label{color:rgba(214,232,246,.72)!important;font-size:12.5px!important}
.item-buy .sku-list{display:flex;flex-wrap:wrap;gap:8px}
.item-buy .sku{border-radius:14px!important;padding:10px 14px!important;font-size:13px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.09)!important;color:rgba(226,240,252,.85)!important;text-decoration:none;display:inline-flex;align-items:center;gap:8px;box-shadow:inset 1px 1px 3px rgba(0,0,0,.32),inset -1px -1px 3px rgba(255,255,255,.02)}
.item-buy .sku:hover{border-color:rgba(94,231,255,.32)!important;color:#fff!important}
.item-buy .sku.is-primary{background:linear-gradient(135deg,rgba(94,231,255,.20),rgba(168,85,247,.16))!important;border-color:rgba(94,231,255,.5)!important;color:#fff!important}
.item-buy .sku .badge-money{color:#8ff0ff!important;font-weight:800;font-size:12.5px}
.item-buy .form-control,.item-buy input[type=text],.item-buy input[type=number],.item-buy input[type=password]{background:rgba(10,14,22,.7)!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;color:#eaf6ff!important;padding:11px 14px!important}
.item-buy .qty-group{border-radius:12px;overflow:hidden}
.item-buy .qty-group button{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.09)!important;color:#dbeaf8!important;width:46px;font-size:16px;font-weight:700}
.item-buy .qty-group button:hover{background:rgba(94,231,255,.14)!important;color:#fff!important}
.item-detail .panel-body{color:rgba(226,240,252,.86)!important;font-size:13.5px!important;line-height:1.95!important}
.item-detail .panel-body img{max-width:100%;border-radius:12px}
.item-detail .panel-body h1,.item-detail .panel-body h2,.item-detail .panel-body h3{color:#f4faff!important;margin:16px 0 8px;font-size:15px!important}
.item-detail .panel-body li{margin:5px 0}
@media (max-width:768px){
  .item-buy h4{font-size:18px!important}
  .item-buy .abacus .price{font-size:28px!important}
  .mc-hot__card{flex:0 0 168px}
  .mc-hot__thumb{height:88px}
}
/* ===== v8 · 一键分享 / 复制网址 ===== */
.mc-share-btn{color:#9fd8ea!important}
.mc-share-btn:hover{color:#6ff0ff!important}
.mc-share{
  margin-top:14px;padding:12px 14px;border-radius:14px;
  background:rgba(94,231,255,.055);
  border:1px solid rgba(94,231,255,.16);
  display:flex;align-items:center;flex-wrap:wrap;gap:10px;
}
.mc-share__label{font-size:12px;color:rgba(200,222,240,.62);letter-spacing:1px}
.mc-share__url{
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;font-weight:700;
  color:#8ff0ff;background:rgba(6,12,20,.6);padding:4px 10px;border-radius:8px;
  border:1px solid rgba(94,231,255,.18);user-select:all;
}
.mc-share__btn{
  margin-left:auto;display:inline-flex;align-items:center;gap:6px;cursor:pointer;
  padding:7px 16px;border-radius:999px;font-size:12.5px;font-weight:700;
  background:linear-gradient(135deg,rgba(94,231,255,.22),rgba(168,85,247,.18));
  border:1px solid rgba(94,231,255,.42);color:#eafcff;
  box-shadow:0 6px 16px rgba(94,231,255,.16);
}
.mc-share__btn:hover{filter:brightness(1.12)}
.mc-share__btn i{font-size:12px}

#mc-toast{
  position:fixed;left:50%;bottom:40px;transform:translate(-50%,20px);
  background:rgba(12,20,30,.96);color:#eafcff;font-size:13.5px;font-weight:600;
  padding:12px 22px;border-radius:999px;border:1px solid rgba(94,231,255,.35);
  box-shadow:0 16px 40px rgba(0,0,0,.6),0 0 24px rgba(94,231,255,.18);
  opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease;
  z-index:99999;max-width:86vw;text-align:center;
}
#mc-toast.is-show{opacity:1;transform:translate(-50%,0)}
@media (max-width:600px){
  .mc-share{gap:8px}
  .mc-share__btn{margin-left:0;width:100%;justify-content:center}
}
/* ===== v9 · 苹果式半透明（透感升级） ===== */
body.uc-body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif!important;
  -webkit-font-smoothing:antialiased;
}
/* 顶栏：更像 iOS 工具栏 */
.uc-topbar{
  background:rgba(10,14,22,.55)!important;
  backdrop-filter:blur(34px) saturate(180%)!important;
  -webkit-backdrop-filter:blur(34px) saturate(180%)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.04),0 10px 34px rgba(0,0,0,.35)!important;
}
/* 主面板：更透、更亮边、更柔的投影 */
.panel,.card-section{
  background:rgba(20,26,38,.42)!important;
  backdrop-filter:blur(34px) saturate(180%)!important;
  -webkit-backdrop-filter:blur(34px) saturate(180%)!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:26px!important;
  box-shadow:0 28px 70px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.panel-header{
  background:rgba(255,255,255,.03)!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  border-radius:26px 26px 0 0!important;
}
.panel-body{background:transparent!important}
.panel-title{font-weight:600!important;letter-spacing:.2px;color:rgba(255,255,255,.94)!important}
.panel-title::before{width:2px!important;height:14px!important;background:linear-gradient(180deg,#7fe9ff,#a78bfa)!important;border-radius:2px}
/* 商品卡：只做半透明，不加模糊（性能） */
.item-card-cell .acg-card{
  background:rgba(26,33,47,.62)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:22px!important;
  box-shadow:0 14px 36px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.item-card-cell:hover .acg-card{
  background:rgba(32,40,56,.72)!important;
  border-color:rgba(120,230,255,.42)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.45),0 0 0 1px rgba(120,230,255,.18)!important;
}
/* 左栏分类：iOS 分段控件感 */
.mc-shop__side .chip{
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  font-weight:500!important;
}
.mc-shop__side .chip.is-primary{
  background:linear-gradient(180deg,rgba(126,233,255,.26),rgba(126,233,255,.14))!important;
  border-color:rgba(126,233,255,.48)!important;
  box-shadow:0 6px 18px rgba(90,200,255,.18)!important;
}
/* 按钮：iOS 磨砂白 */
.mc-sort,.mc-cchip,.mc-share__btn,.mc-notice__more{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:none!important;
  color:rgba(255,255,255,.86)!important;
  font-weight:500!important;
}
.mc-sort.is-primary,.mc-cchip.is-primary,.mc-share__btn{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.26)!important;
  color:#fff!important;
}
.mc-sort:hover,.mc-cchip:hover,.mc-share__btn:hover,.mc-notice__more:hover{
  background:rgba(255,255,255,.14)!important;color:#fff!important;
}
/* 文字层级更"苹果" */
.panel-body{color:rgba(255,255,255,.72)!important;font-weight:400!important}
.item-card-cell .goods-title{color:rgba(255,255,255,.96)!important;font-weight:600!important}
.item-card-cell .price{color:#86ecff!important;font-weight:700!important;text-shadow:none!important}
.item-card-cell .stat-bottom{color:rgba(255,255,255,.45)!important}
/* 搜索框 */
.shop-search__box{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:none!important;
}
/* 二维码弹窗 */
.mc-qr{position:fixed;inset:0;z-index:99998;display:none;align-items:center;justify-content:center}
.mc-qr.is-open{display:flex}
.mc-qr__mask{position:absolute;inset:0;background:rgba(4,7,12,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.mc-qr__panel{
  position:relative;z-index:2;width:300px;padding:24px 22px 20px;border-radius:26px;
  background:rgba(26,32,46,.86);backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 40px 90px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.14);
  text-align:center;color:#eaf6ff;
}
.mc-qr__title{font-size:15px;font-weight:600;margin-bottom:16px;color:rgba(255,255,255,.94)}
.mc-qr__box{
  width:236px;height:236px;margin:0 auto 14px;background:#fff;border-radius:18px;
  display:flex;align-items:center;justify-content:center;padding:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.mc-qr__box img,.mc-qr__box canvas{display:block;border-radius:10px}
.mc-qr__fallback{color:#0b1220;font-size:12px;word-break:break-all}
.mc-qr__url{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;color:#8ff0ff;font-weight:600}
.mc-qr__tip{margin-top:6px;font-size:11.5px;color:rgba(255,255,255,.45)}
.mc-qr__close{
  margin-top:16px;width:100%;padding:11px;border-radius:999px;cursor:pointer;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);
  color:#fff;font-size:13.5px;font-weight:600;
}
.mc-qr__close:hover{background:rgba(255,255,255,.20)}
/* 分享行按钮自适应 */
.mc-share__btn--ghost{background:rgba(255,255,255,.06)!important;color:rgba(255,255,255,.82)!important}
.mc-share__btn--ghost:hover{background:rgba(255,255,255,.13)!important;color:#fff!important}
@media (max-width:640px){
  .panel,.card-section{border-radius:20px!important}
  .item-card-cell .acg-card{border-radius:18px!important}
  .mc-qr__panel{width:88vw;max-width:320px}
  .mc-qr__box{width:214px;height:214px}
}
/* ===== v10 · 公告分组 / 订单页 / 卡密复制 ===== */
.mc-nsec{margin:0 0 16px}
.mc-nsec:last-child{margin-bottom:2px}
.mc-nsec__t{
  display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;
  color:#eaf6ff;letter-spacing:.5px;margin:0 0 8px;
}
.mc-nsec__dot{width:7px;height:7px;border-radius:50%;display:inline-block;box-shadow:0 0 10px currentColor}
.mc-nsec__dot.d1{background:#5ee7ff;color:#5ee7ff}
.mc-nsec__dot.d2{background:#ffb020;color:#ffb020}
.mc-nsec__dot.d3{background:#7cf7b0;color:#7cf7b0}
.mc-nsec__dot.d4{background:#ff7ab8;color:#ff7ab8}
.mc-nitem{
  position:relative;padding:5px 0 5px 14px;font-size:12.8px;line-height:1.75;
  color:rgba(230,242,252,.74);
}
.mc-nitem::before{content:"";position:absolute;left:2px;top:13px;width:4px;height:4px;border-radius:50%;background:rgba(120,200,230,.45)}
.mc-nitem b{color:#f2faff;font-weight:700;margin-right:8px}
.mc-nitem a{color:#7fe6ff;text-decoration:none;border-bottom:1px dashed rgba(127,230,255,.35)}
.mc-nitem a:hover{color:#aef4ff}

/* 订单查询页 */
.order-query-form .form-control{
  background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.13)!important;
  border-radius:14px!important;color:#eaf6ff!important;padding:12px 16px!important;font-size:14px;
}
.order-query-form .btn-search-query{
  border-radius:999px!important;padding:12px 26px!important;font-weight:700;
  background:linear-gradient(135deg,#5ee7ff,#7c3aed)!important;border:none!important;color:#04121c!important;
  box-shadow:0 10px 26px rgba(94,231,255,.24);
}
.order-item{
  background:rgba(24,31,44,.62)!important;border:1px solid rgba(255,255,255,.12)!important;
  border-radius:22px!important;padding:18px!important;margin-bottom:16px;
  box-shadow:0 16px 40px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.07);
}
.order-header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-start}
.order-no{font-family:ui-monospace,Menlo,Consolas,monospace;color:#8ff0ff;font-size:13px;font-weight:700}
.order-time,.payment-time,.payment-dst{font-size:12px;color:rgba(210,228,244,.55);margin-top:3px}
.status-badge{
  display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:3px 11px;
  font-size:11.5px;font-weight:700;border:1px solid transparent;
}
.status-pending{background:rgba(251,191,36,.14);border-color:rgba(251,191,36,.3);color:#ffd98a}
.status-paid,.status-shipped{background:rgba(52,211,153,.14);border-color:rgba(52,211,153,.3);color:#8ff0c4}
.status-waiting-shipment{background:rgba(94,231,255,.14);border-color:rgba(94,231,255,.3);color:#9fe9ff}
.amount-label{display:block;font-size:11px;color:rgba(210,228,244,.5);text-align:right}
.amount-value{display:block;font-size:22px;font-weight:800;color:#6ff0ff;text-align:right}
.goods-section{display:flex;gap:14px;align-items:center;margin:16px 0 12px;padding:12px;border-radius:14px;background:rgba(255,255,255,.035)}
.goods-thumb{flex:0 0 62px}
.goods-image{width:62px;height:62px;border-radius:12px;object-fit:cover}
.goods-name{color:#f2faff!important;font-size:14px!important;font-weight:700;margin:0 0 6px}
.goods-meta{display:flex;flex-wrap:wrap;gap:6px}
.a-badge{border-radius:999px!important;font-size:11px!important;padding:2px 9px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.06)!important;color:rgba(235,245,255,.85)!important}
.card-section{border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(12,18,28,.55);padding:14px;position:relative}
.card-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.card-title{color:#eaf6ff!important;font-size:13px!important}
.shipment-badge{border-radius:999px;font-size:11px;padding:2px 9px;font-weight:700}
.shipment-waiting{background:rgba(251,191,36,.16);color:#ffd98a}
.shipment-paid{background:rgba(52,211,153,.16);color:#8ff0c4}
.card-display{
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:1.85;color:#eaf6ff;
  background:rgba(6,10,18,.6);border:1px solid rgba(255,255,255,.08);border-radius:12px;
  padding:12px 14px;word-break:break-all;user-select:all;
}
.card-password-input{border-radius:12px!important}
.view-card-btn{border-radius:999px!important}
.card-loading{color:rgba(210,228,244,.6);font-size:12.5px}

/* 卡密一键复制 */
.mc-copy-secret{
  display:inline-flex;align-items:center;gap:6px;cursor:pointer;
  padding:6px 14px;border-radius:999px;font-size:12px;font-weight:700;
  background:rgba(94,231,255,.14);border:1px solid rgba(94,231,255,.38);color:#cdf6ff;
  box-shadow:0 4px 14px rgba(94,231,255,.14);
}
.mc-copy-secret:hover{background:rgba(94,231,255,.24);color:#fff}
.mc-copy-secret.is-done{background:rgba(52,211,153,.2);border-color:rgba(52,211,153,.45);color:#a9f7d0}

@media (max-width:640px){
  .order-item{padding:14px!important;border-radius:18px!important}
  .amount-value{font-size:19px}
  .goods-thumb,.goods-image{flex-basis:52px;width:52px;height:52px}
}
/* ===== v11 fix item-buy panel ===== */
.item-buy{
  background:linear-gradient(165deg,rgba(24,31,44,.88),rgba(15,20,30,.92))!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:26px!important;
  padding:24px 26px!important;
  color:#eaf6ff!important;
  box-shadow:0 22px 56px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(22px) saturate(150%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%)!important;
  animation:none!important;
}
.item-buy h4{
  color:#f6fbff!important;font-size:21px!important;font-weight:800!important;line-height:1.5!important;
  letter-spacing:.2px;margin-bottom:14px!important;
  padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08);
}
.item-buy .abacus{
  padding:16px 18px!important;border-radius:18px!important;margin:0 0 16px!important;
  background:linear-gradient(135deg,rgba(94,231,255,.10),rgba(124,58,237,.08))!important;
  border:1px solid rgba(94,231,255,.20)!important;
}
.item-buy .abacus .price{color:#7ff0ff!important;font-size:36px!important;font-weight:900!important;text-shadow:0 0 20px rgba(94,231,255,.35)!important}
.item-buy .badge-soft{background:rgba(255,255,255,.07)!important;color:rgba(235,245,255,.85)!important}
.item-buy .form-label{color:rgba(214,232,246,.68)!important;font-size:12px!important;letter-spacing:.6px;margin-bottom:6px!important}
.item-buy .sku{
  background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.13)!important;
  border-radius:14px!important;padding:11px 16px!important;font-size:13px!important;
}
.item-buy .sku:hover{background:rgba(255,255,255,.10)!important;border-color:rgba(127,240,255,.4)!important}
.item-buy .sku.is-primary{
  background:linear-gradient(135deg,rgba(94,231,255,.22),rgba(124,58,237,.20))!important;
  border-color:rgba(127,240,255,.55)!important;
  box-shadow:0 8px 20px rgba(94,231,255,.16)!important;
}
.item-buy .form-control,.item-buy input[type=text],.item-buy input[type=number],.item-buy input[type=password]{
  background:rgba(8,12,20,.72)!important;border:1px solid rgba(255,255,255,.12)!important;
  border-radius:12px!important;color:#eef8ff!important;padding:12px 15px!important;font-size:13.5px;
}
.item-buy .form-control:focus{border-color:rgba(127,240,255,.45)!important;box-shadow:0 0 0 3px rgba(127,240,255,.10)!important}
.item-buy .qty-group{border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.10)}
.item-buy .qty-group button{background:rgba(255,255,255,.06)!important;border:none!important;color:#dbeaf8!important;width:48px;font-size:17px;font-weight:700}
.item-buy .qty-group button:hover{background:rgba(127,240,255,.16)!important;color:#fff!important}
.item-buy .qty-group input{border:none!important;border-radius:0!important;background:transparent!important;font-size:15px!important;font-weight:700}
.item-buy .cash-pay{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}
.item-buy .pay-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.item-buy .pay-list > *{
  border-radius:14px!important;padding:12px 18px!important;
  background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;
  color:#eaf6ff!important;font-size:13.5px!important;font-weight:600!important;
}
.item-buy .pay-list > *:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(127,240,255,.4)!important}
.item-buy .captcha-img{background:#fff;border-radius:10px;height:44px}
.acg-cover{
  background:linear-gradient(165deg,rgba(24,31,44,.86),rgba(15,20,30,.9))!important;
  border:1px solid rgba(255,255,255,.11)!important;border-radius:26px!important;padding:14px!important;
  box-shadow:0 22px 56px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
@media (max-width:768px){
  .item-buy{padding:18px!important;border-radius:20px!important}
  .item-buy h4{font-size:17px!important}
  .item-buy .abacus .price{font-size:29px!important}
}