/* 限时 / 周限购商城注入样式 r1 */
.mall-extras-ui-active > .nc-console-header,
.mall-extras-ui-active > .nc-console-stats { display: none !important; }
.mall-extras-ui-active > .nc-console-body > :not(.mall-extras-ui-panel) { display: none !important; }
.mall-extras-ui-panel { display: none; }
.mall-extras-ui-active .mall-extras-ui-panel { display: block; }

.mall-extras-ui-panel { display: none; padding: 16px 18px 22px; color: #1f2937; font-family: inherit; }
.mall-extras-ui-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mall-extras-ui-heading h2 { margin: 0; font-size: 18px; font-weight: 700; color: #111827; }
.mall-extras-ui-heading p { margin: 4px 0 0; font-size: 12px; color: #6b7280; }
.mall-extras-ui-refresh { padding: 6px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #374151; font-size: 12px; cursor: pointer; }
.mall-extras-ui-refresh:hover { background: #f3f4f6; }
.mall-extras-ui-refresh:disabled { opacity: .55; cursor: default; }

.mall-extras-ui-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mall-extras-ui-slot { padding: 6px 14px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; color: #4b5563; font-size: 12px; cursor: pointer; }
.mall-extras-ui-slot:hover { border-color: #93c5fd; }
.mall-extras-ui-slot.is-active { border-color: #2864e8; background: rgba(40, 100, 232, .1); color: #1d4ed8; font-weight: 600; }

.mall-extras-ui-note { margin-bottom: 14px; padding: 9px 12px; border: 1px solid #fde68a; border-radius: 9px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.6; }
.mall-extras-ui-toast { margin-bottom: 12px; padding: 8px 12px; border-radius: 9px; background: #ecfdf5; color: #047857; font-size: 12px; }

.mall-extras-ui-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.mall-extras-ui-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 10px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; text-align: center; }
.mall-extras-ui-item.is-sold-out { opacity: .62; }
.mall-extras-ui-image { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 96px; aspect-ratio: 1; border-radius: 10px; background: #f9fafb; overflow: hidden; }
.mall-extras-ui-image img { width: 100%; height: 100%; object-fit: contain; }
.mall-extras-ui-image span { color: #9ca3af; font-size: 26px; }
.mall-extras-ui-item strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #111827; }
.mall-extras-ui-item small { font-size: 11px; color: #6b7280; }
.mall-extras-ui-price { color: #b45309 !important; font-weight: 600; }
.mall-extras-ui-item em { margin-top: 2px; padding: 1px 7px; border-radius: 999px; background: rgba(40, 100, 232, .1); color: #1d4ed8; font-size: 10px; font-style: normal; }
.mall-extras-ui-buy { display: flex; align-items: center; gap: 5px; margin-top: 6px; }
.mall-extras-ui-buy input { width: 46px; padding: 3px 5px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 11px; text-align: center; }
.mall-extras-ui-buy button { padding: 4px 10px; border: none; border-radius: 6px; background: #2864e8; color: #fff; font-size: 11px; cursor: pointer; }
.mall-extras-ui-buy button:hover { background: #1d4ed8; }
.mall-extras-ui-buy button:disabled { opacity: .55; cursor: default; }
.mall-extras-ui-state { padding: 26px 12px; border: 1px dashed #d1d5db; border-radius: 12px; color: #6b7280; font-size: 12px; text-align: center; }

/* r4：官方已上架但账号侧未下发的藏品礼包占位卡 */
.mall-extras-ui-item.is-official-only { opacity: .74; border-style: dashed; }
.mall-extras-ui-item em.mall-extras-ui-official { display: block; font-style: normal; font-size: 11px; line-height: 1.5; color: #8a6d3b; background: rgba(255, 186, 64, .14); border-radius: 6px; padding: 4px 6px; margin-top: 6px; }
