body.qbz-standalone-page {
    margin: 0;
    background: #f6f7f9;
}

.qbz-app {
    --qbz-accent: #e88402;
    --qbz-text: #202124;
    --qbz-muted: #737780;
    --qbz-line: #e9eaee;
    --qbz-soft: #f6f7f9;
    min-height: 100vh;
    color: var(--qbz-text);
    background:
        radial-gradient(circle at 8% 3%, rgba(232, 132, 2, .07), transparent 25rem),
        #f6f7f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.qbz-app,
.qbz-app * {
    box-sizing: border-box;
}

.qbz-app button,
.qbz-app input {
    font: inherit;
}

.qbz-app button,
.qbz-app a {
    -webkit-tap-highlight-color: transparent;
}

.qbz-app button {
    color: inherit;
}

.qbz-app a {
    color: inherit;
    text-decoration: none;
}

.qbz-app a:hover {
    text-decoration: none;
}

.qbz-app svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.qbz-svg-sprite {
    position: absolute;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
}

.qbz-shell {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.qbz-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid rgba(230, 231, 235, .85);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
}

.admin-bar .qbz-header {
    top: 32px;
}

.qbz-header-inner {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.qbz-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.qbz-brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--qbz-accent);
    box-shadow: 0 6px 16px rgba(232, 132, 2, .2);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.qbz-brand strong,
.qbz-brand small {
    display: block;
}

.qbz-brand strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
}

.qbz-brand small {
    margin-top: 1px;
    color: #a0a3aa;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 1.4;
}

.qbz-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.qbz-brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 40px;
    object-fit: contain;
}

.qbz-user {
    display: inline-flex;
    max-width: 190px;
    min-height: 38px;
    padding: 4px 12px 4px 4px;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border: 1px solid var(--qbz-line);
    border-radius: 999px;
    color: #4a4e56;
    background: #fff;
    font-size: 13px;
    cursor: default;
    transition: border-color .2s, color .2s, box-shadow .2s;
}

.qbz-user:hover {
    border-color: rgba(232, 132, 2, .5);
    color: var(--qbz-accent);
    box-shadow: 0 4px 12px rgba(232, 132, 2, .1);
}

.qbz-user img {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #f1f2f4;
    object-fit: cover;
}

.qbz-user-name {
    overflow: hidden;
    max-width: 120px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qbz-icon-button {
    display: inline-flex;
    min-height: 38px;
    padding: 7px 12px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #666b73 !important;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    transition: .2s ease;
}

.qbz-icon-button svg {
    width: 17px;
    height: 17px;
}

.qbz-icon-button:hover {
    border-color: var(--qbz-line);
    color: var(--qbz-accent) !important;
    background: #fff;
}

.qbz-main {
    padding-top: 44px;
    padding-bottom: 42px;
}

.qbz-hero {
    display: grid;
    padding: 0 0 34px;
    align-items: end;
    grid-template-columns: minmax(0, 1.4fr) minmax(370px, .9fr);
    gap: 40px;
}

.qbz-kicker {
    display: flex;
    margin: 0 0 10px;
    align-items: center;
    gap: 8px;
    color: var(--qbz-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
}

.qbz-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qbz-accent);
    box-shadow: 0 0 0 4px rgba(232, 132, 2, .1);
}

.qbz-hero h1 {
    margin: 0;
    color: var(--qbz-text);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.25;
}

.qbz-subtitle {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--qbz-muted);
    font-size: 15px;
    line-height: 1.9;
}

.qbz-stats {
    display: grid;
    padding: 22px 10px;
    border: 1px solid rgba(233, 234, 238, .85);
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    grid-template-columns: repeat(3, 1fr);
}

.qbz-stats div {
    padding: 0 18px;
    border-right: 1px solid var(--qbz-line);
}

.qbz-stats div:last-child {
    border-right: 0;
}

.qbz-stats strong,
.qbz-stats span {
    display: block;
}

.qbz-stats strong {
    overflow: hidden;
    color: #303238;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qbz-stats span {
    margin-top: 4px;
    color: #93969d;
    font-size: 11px;
    white-space: nowrap;
}

.qbz-discovery {
    margin-bottom: 22px;
}

.qbz-search {
    display: flex;
    max-width: 680px;
    margin: 0 auto 24px;
    padding: 5px 5px 5px 16px;
    align-items: center;
    border: 1px solid #e4e5e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(28, 31, 36, .04);
    transition: border-color .2s, box-shadow .2s;
}

.qbz-search:focus-within {
    border-color: var(--qbz-accent);
    box-shadow: 0 0 0 3px rgba(232, 132, 2, .09);
}

.qbz-search > svg {
    width: 19px;
    flex: 0 0 auto;
    color: #a1a4ab;
}

.qbz-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: var(--qbz-text);
    background: transparent;
    box-shadow: none;
    font-size: 14px;
}

.qbz-search input:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.qbz-search button,
.qbz-gate-form button {
    min-width: 104px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--qbz-accent);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: filter .2s, transform .2s;
}

.qbz-search button:hover,
.qbz-gate-form button:hover {
    filter: brightness(.96);
}

.qbz-search button:active,
.qbz-gate-form button:active {
    transform: translateY(1px);
}

.qbz-categories {
    display: flex;
    padding-bottom: 0;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
}

.qbz-categories button {
    display: inline-flex;
    min-height: 32px;
    padding: 5px 10px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    border: 1px solid #e6e7eb;
    border-radius: 9px;
    color: #646870;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: .2s ease;
}

.qbz-categories button em {
    min-width: 18px;
    padding: 0 4px;
    border-radius: 5px;
    color: #9a9da4;
    background: #f3f4f6;
    font-size: 10px;
    font-style: normal;
    line-height: 18px;
    text-align: center;
}

.qbz-categories button:hover {
    border-color: var(--qbz-accent);
    color: var(--qbz-accent);
    background: #fff4e5;
    box-shadow: 0 3px 10px rgba(232, 132, 2, .12);
}

.qbz-categories button.is-active {
    border-color: var(--qbz-accent);
    color: #fff;
    background: var(--qbz-accent);
    box-shadow: 0 4px 12px rgba(232, 132, 2, .14);
}

.qbz-categories button.is-active em {
    color: #fff;
    background: rgba(255, 255, 255, .18);
}

.qbz-toolbar {
    display: flex;
    min-height: 49px;
    margin-top: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--qbz-line);
}

.qbz-toolbar p {
    margin: 0;
    color: #95989f;
    font-size: 12px;
}

.qbz-toolbar p strong {
    color: var(--qbz-accent);
    font-weight: 600;
}

.qbz-sort {
    display: flex;
    align-items: center;
    gap: 3px;
}

.qbz-sort > span {
    margin-right: 6px;
    color: #a1a4aa;
    font-size: 12px;
}

.qbz-sort button {
    position: relative;
    padding: 8px 12px 12px;
    border: 0;
    color: #83868e;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.qbz-sort button::after {
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: transparent;
    content: "";
}

.qbz-sort button:hover,
.qbz-sort button.is-active {
    color: var(--qbz-accent);
}

.qbz-sort button.is-active::after {
    background: var(--qbz-accent);
}

.qbz-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.qbz-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9eaed;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 28, 33, .025);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    animation: qbz-fade-in .35s both;
}

.qbz-card:hover {
    border-color: rgba(232, 132, 2, .35);
    box-shadow: 0 14px 34px rgba(28, 31, 36, .08);
    transform: translateY(-3px);
}

.qbz-card:focus-visible {
    border-color: var(--qbz-accent);
    box-shadow: 0 0 0 3px rgba(232, 132, 2, .12);
}

.qbz-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f2f4;
}

.qbz-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.qbz-card:hover .qbz-card-media img {
    transform: scale(1.025);
}

.qbz-card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 25px;
    align-items: center;
    justify-content: center;
    color: rgba(32, 33, 36, .25);
    background:
        linear-gradient(135deg, rgba(232, 132, 2, .08), transparent 60%),
        repeating-linear-gradient(135deg, #f6f7f9, #f6f7f9 12px, #f1f2f4 12px, #f1f2f4 13px);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: .05em;
}

.qbz-card-number,
.qbz-card-lock {
    position: absolute;
    top: 12px;
    display: inline-flex;
    min-height: 25px;
    padding: 3px 8px;
    align-items: center;
    border-radius: 6px;
    font-size: 11px;
    backdrop-filter: blur(8px);
}

.qbz-card-number {
    left: 12px;
    color: #fff;
    background: rgba(23, 25, 29, .65);
    font-weight: 600;
    letter-spacing: .05em;
}

.qbz-card-lock {
    right: 12px;
    gap: 4px;
    color: #fff;
    background: rgba(23, 25, 29, .65);
}

.qbz-card-lock.is-open {
    color: #246b43;
    background: rgba(239, 251, 244, .9);
}

.qbz-card-lock svg {
    width: 12px;
    height: 12px;
}

.qbz-card-body {
    padding: 17px 18px 16px;
}

.qbz-card-tag {
    margin: 0 0 6px;
    color: var(--qbz-accent);
    font-size: 11px;
    font-weight: 600;
}

.qbz-card-title {
    display: -webkit-box;
    min-height: 48px;
    margin: 0;
    overflow: hidden;
    color: #292b30;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qbz-card-metrics {
    display: grid;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f1f3;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.qbz-card-metrics div:last-child {
    text-align: right;
}

.qbz-card-metrics span,
.qbz-card-metrics strong {
    display: block;
}

.qbz-card-metrics span {
    margin-bottom: 2px;
    color: #9a9da4;
    font-size: 10px;
}

.qbz-card-metrics strong {
    color: #4c5058;
    font-size: 15px;
    font-weight: 650;
}

.qbz-card-metrics .qbz-revenue {
    color: var(--qbz-accent);
    font-size: 18px;
}

.qbz-card-footer {
    display: flex;
    margin-top: 14px;
    align-items: center;
    justify-content: space-between;
    color: #9a9da4;
    font-size: 11px;
}

.qbz-card-footer span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #737780;
}

.qbz-card-footer svg {
    width: 14px;
    height: 14px;
}

.qbz-skeleton {
    overflow: hidden;
    padding-bottom: 20px;
    border: 1px solid #eceef0;
    border-radius: 12px;
    background: #fff;
}

.qbz-skeleton i,
.qbz-skeleton span {
    display: block;
    background: linear-gradient(90deg, #f0f1f3 25%, #f7f8f9 50%, #f0f1f3 75%);
    background-size: 200% 100%;
    animation: qbz-loading 1.4s infinite;
}

.qbz-skeleton i {
    height: 190px;
}

.qbz-skeleton span {
    width: calc(100% - 36px);
    height: 13px;
    margin: 16px 18px 0;
    border-radius: 4px;
}

.qbz-skeleton span:nth-child(3) {
    width: 65%;
}

.qbz-skeleton span:nth-child(4) {
    width: 45%;
}

.qbz-empty,
.qbz-error {
    padding: 70px 20px;
    border: 1px dashed #dfe1e5;
    border-radius: 12px;
    color: #888c94;
    background: rgba(255, 255, 255, .6);
    text-align: center;
    grid-column: 1 / -1;
}

.qbz-empty strong,
.qbz-empty span {
    display: block;
}

.qbz-empty strong {
    margin-bottom: 6px;
    color: #4b4e55;
    font-size: 17px;
}

.qbz-error button {
    margin-top: 14px;
    padding: 7px 18px;
    border: 1px solid var(--qbz-accent);
    border-radius: 8px;
    color: var(--qbz-accent);
    background: #fff;
    cursor: pointer;
}

.qbz-pagination {
    display: flex;
    margin-top: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.qbz-pagination:empty {
    display: none;
}

.qbz-pagination button,
.qbz-pagination span {
    display: grid;
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    place-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    color: #71757d;
    background: #fff;
    font-size: 12px;
}

.qbz-pagination button {
    cursor: pointer;
}

.qbz-pagination button:hover:not(:disabled),
.qbz-pagination button.is-active {
    border-color: var(--qbz-accent);
    color: #fff;
    background: var(--qbz-accent);
}

.qbz-pagination button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.qbz-pagination span {
    border-color: transparent;
    background: transparent;
}

.qbz-cta {
    position: relative;
    display: grid;
    margin-top: 38px;
    padding: 27px 30px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(232, 132, 2, .15);
    border-radius: 12px;
    background:
        radial-gradient(circle at 95% 10%, rgba(232, 132, 2, .11), transparent 20rem),
        #fff;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
}

.qbz-cta-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 12px;
    color: var(--qbz-accent);
    background: #fff5e8;
}

.qbz-cta-icon svg {
    width: 26px;
    height: 26px;
}

.qbz-cta-copy > span {
    color: var(--qbz-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.qbz-cta h2 {
    margin: 1px 0 4px;
    font-size: 19px;
    line-height: 1.5;
}

.qbz-cta p {
    margin: 0;
    color: #858890;
    font-size: 12px;
}

.qbz-cta > a {
    display: flex;
    min-width: 130px;
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
}

.qbz-cta > a strong {
    color: var(--qbz-accent);
    font-size: 15px;
}

.qbz-cta > a span {
    display: inline-flex;
    padding: 8px 15px;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    color: #fff;
    background: var(--qbz-accent);
    font-size: 12px;
}

.qbz-cta > a svg {
    width: 15px;
    height: 15px;
    transition: transform .2s;
}

.qbz-cta > a:hover svg {
    transform: translateX(3px);
}

.qbz-footer {
    padding: 25px 0 30px;
    border-top: 1px solid var(--qbz-line);
    color: #a0a3aa;
    background: #fff;
    text-align: center;
    font-size: 11px;
}

.qbz-footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #737780;
    font-size: 12px;
}

.qbz-footer a:hover {
    color: var(--qbz-accent);
}

.qbz-footer svg {
    width: 14px;
    height: 14px;
}

.qbz-footer p {
    margin: 7px 0 0;
}

.qbz-modal[hidden],
.qbz-lightbox[hidden] {
    display: none;
}

.qbz-modal {
    position: fixed;
    z-index: 99990;
    inset: 0;
    display: grid;
    padding: 28px 20px;
    place-items: center;
}

.qbz-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 26, .62);
    backdrop-filter: blur(4px);
    animation: qbz-fade-in .2s both;
}

.qbz-dialog {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: calc(100vh - 56px);
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .22);
    animation: qbz-modal-in .25s both;
    overscroll-behavior: contain;
}

.qbz-modal-close {
    position: absolute;
    z-index: 5;
    top: 13px;
    right: 13px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(230, 231, 235, .85);
    border-radius: 50%;
    color: #777b83;
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
}

.qbz-modal-close:hover {
    color: var(--qbz-accent);
}

.qbz-modal-close svg {
    width: 17px;
    height: 17px;
}

.qbz-detail-head {
    display: grid;
    padding: 30px;
    gap: 28px;
    grid-template-columns: 280px minmax(0, 1fr);
}

.qbz-detail-image {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #f2f3f5;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
}

.qbz-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qbz-detail-image .qbz-card-placeholder {
    font-size: 40px;
}

.qbz-detail-heading {
    padding: 7px 25px 0 0;
}

.qbz-detail-label {
    display: flex;
    margin-bottom: 9px;
    align-items: center;
    gap: 8px;
    color: var(--qbz-accent);
    font-size: 11px;
    font-weight: 600;
}

.qbz-detail-label span {
    padding: 2px 7px;
    border-radius: 5px;
    background: #fff4e5;
}

.qbz-detail-heading h2 {
    margin: 0;
    color: #25272c;
    font-size: 23px;
    line-height: 1.5;
}

.qbz-detail-price {
    display: flex;
    margin-top: 20px;
    align-items: flex-end;
    gap: 22px;
}

.qbz-detail-price div span,
.qbz-detail-price div strong {
    display: block;
}

.qbz-detail-price div span {
    color: #9a9da4;
    font-size: 10px;
}

.qbz-detail-price div strong {
    margin-top: 2px;
    font-size: 17px;
}

.qbz-detail-price .is-revenue strong {
    color: var(--qbz-accent);
    font-size: 25px;
}

.qbz-detail-note {
    margin: 14px 0 0;
    color: #a0a3aa;
    font-size: 10px;
    line-height: 1.7;
}

.qbz-detail-body {
    padding: 4px 30px 30px;
}

.qbz-detail-section {
    padding: 20px 0;
    border-top: 1px solid #eff0f2;
}

.qbz-detail-section h3 {
    display: flex;
    margin: 0 0 9px;
    align-items: center;
    gap: 8px;
    color: #36383e;
    font-size: 14px;
    font-weight: 650;
}

.qbz-detail-section h3::before {
    width: 3px;
    height: 14px;
    border-radius: 3px;
    background: var(--qbz-accent);
    content: "";
}

.qbz-detail-section p {
    margin: 0;
    color: #696d75;
    font-size: 13px;
    line-height: 1.9;
    white-space: pre-line;
}

.qbz-detail-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.qbz-detail-two > div {
    min-width: 0;
}

.qbz-buyers {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
}

.qbz-buyers li {
    padding: 5px 10px;
    border: 1px solid #ebecef;
    border-radius: 6px;
    color: #666a72;
    background: #f8f9fa;
    font-size: 12px;
}

.qbz-detail-meta {
    display: flex;
    padding-top: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #eff0f2;
    color: #9699a0;
    font-size: 11px;
}

.qbz-detail-meta a {
    display: inline-flex;
    padding: 7px 12px;
    align-items: center;
    gap: 5px;
    border: 1px solid #e5e6e9;
    border-radius: 7px;
    color: #646870;
}

.qbz-detail-meta a:hover {
    border-color: var(--qbz-accent);
    color: var(--qbz-accent);
}

.qbz-detail-meta svg {
    width: 14px;
    height: 14px;
}

.qbz-gate-dialog {
    width: min(440px, 100%);
    padding: 38px 35px 32px;
    overflow: visible;
    text-align: center;
}

.qbz-gate-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    place-items: center;
    border-radius: 18px;
    color: var(--qbz-accent);
    background: #fff4e5;
}

.qbz-gate-icon svg {
    width: 28px;
    height: 28px;
}

.qbz-gate-dialog h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.5;
}

.qbz-gate-dialog > div > p {
    margin: 10px 0 22px;
    color: #858990;
    font-size: 13px;
    line-height: 1.8;
}

.qbz-gate-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.qbz-gate-actions a,
.qbz-gate-actions button {
    display: inline-flex;
    min-height: 41px;
    padding: 8px 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--qbz-accent);
    border-radius: 8px;
    color: #fff;
    background: var(--qbz-accent);
    cursor: pointer;
    font-size: 13px;
}

.qbz-gate-actions a.is-secondary {
    color: #737780;
    border-color: #e2e4e8;
    background: #fff;
}

.qbz-gate-form {
    display: flex;
    margin-top: 18px;
    gap: 8px;
}

.qbz-gate-form input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dedfe3;
    border-radius: 8px;
    outline: 0;
    color: #33363c;
    background: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.qbz-gate-form input:focus {
    border-color: var(--qbz-accent);
    box-shadow: 0 0 0 3px rgba(232, 132, 2, .08);
}

.qbz-gate-form button {
    min-width: 96px;
    height: 42px;
}

.qbz-gate-form button:disabled {
    opacity: .65;
    cursor: wait;
}

.qbz-gate-error {
    min-height: 18px;
    margin: 9px 0 0 !important;
    color: #c43d3d !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
}

.qbz-gate-help {
    display: block;
    margin-top: 6px;
    color: #aaadb3;
    font-size: 10px;
}

.qbz-gate-divider {
    display: flex;
    margin: 16px 0 14px;
    align-items: center;
    gap: 10px;
    color: #b3b6bc;
    font-size: 10px;
}

.qbz-gate-divider::before,
.qbz-gate-divider::after {
    height: 1px;
    flex: 1;
    background: #eff0f2;
    content: "";
}

.qbz-gate-tip {
    display: block;
    margin: 16px -35px -32px;
    padding: 13px 24px;
    border-top: 1px solid #f0f1f3;
    border-radius: 0 0 14px 14px;
    color: #9a9da4;
    background: #fafbfc;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

a.qbz-gate-tip:hover {
    color: var(--qbz-accent);
}

.qbz-lightbox {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    padding: 55px 25px 25px;
    align-items: center;
    justify-content: center;
    background: rgba(12, 13, 15, .92);
    cursor: zoom-out;
}

.qbz-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, .35);
    object-fit: contain;
}

.qbz-lightbox .qbz-modal-close {
    position: fixed;
    top: 18px;
    right: 20px;
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .1);
}

.qbz-toast {
    position: fixed;
    z-index: 100010;
    bottom: 30px;
    left: 50%;
    max-width: calc(100% - 40px);
    padding: 10px 18px;
    border-radius: 9px;
    color: #fff;
    background: rgba(28, 30, 34, .92);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: .25s ease;
    font-size: 12px;
    text-align: center;
}

.qbz-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.qbz-backtop {
    position: fixed;
    z-index: 35;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid #e4e5e8;
    border-radius: 10px;
    color: #777b83;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 18px rgba(25, 28, 33, .08);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transform: translateY(8px);
    transition: .2s ease;
}

.qbz-backtop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.qbz-backtop:hover {
    color: var(--qbz-accent);
}

.qbz-app button:focus-visible,
.qbz-app a:focus-visible {
    outline: 2px solid var(--qbz-accent);
    outline-offset: 2px;
}

@keyframes qbz-loading {
    to { background-position: -200% 0; }
}

@keyframes qbz-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes qbz-modal-in {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1020px) {
    .qbz-hero {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .qbz-stats {
        max-width: 560px;
    }

    .qbz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qbz-user {
        max-width: 150px;
    }

    .qbz-user-name {
        max-width: 88px;
    }
}

@media (max-width: 782px) {
    .admin-bar .qbz-header {
        top: 46px;
    }
}

@media (max-width: 680px) {
    .qbz-shell {
        width: min(100% - 28px, 1180px);
    }

    .qbz-header-inner {
        min-height: 62px;
    }

    .qbz-brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 19px;
    }

    .qbz-brand-logo {
        max-width: 150px;
        max-height: 32px;
    }

    .qbz-brand strong {
        font-size: 14px;
    }

    .qbz-brand small,
    .qbz-icon-button span {
        display: none;
    }

    .qbz-icon-button {
        width: 36px;
        min-height: 36px;
        padding: 0;
    }

    .qbz-header-actions {
        gap: 4px;
    }

    .qbz-user {
        max-width: 40px;
        min-height: 36px;
        padding: 3px;
    }

    .qbz-user img {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .qbz-user-name {
        display: none;
    }

    .qbz-main {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .qbz-hero {
        padding-bottom: 24px;
        gap: 22px;
    }

    .qbz-hero h1 {
        font-size: 30px;
    }

    .qbz-subtitle {
        font-size: 13px;
    }

    .qbz-stats {
        padding: 17px 3px;
    }

    .qbz-stats div {
        padding: 0 11px;
    }

    .qbz-stats strong {
        font-size: 16px;
    }

    .qbz-stats span {
        font-size: 9px;
    }

    .qbz-categories {
        padding-bottom: 0;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 7px;
    }

    .qbz-categories button {
        padding: 5px 10px;
        font-size: 12px;
    }

    .qbz-search {
        margin-bottom: 18px;
    }

    .qbz-search button {
        min-width: 78px;
        padding: 0 12px;
    }

    .qbz-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        padding-bottom: 7px;
    }

    .qbz-sort {
        width: 100%;
        justify-content: flex-end;
    }

    .qbz-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qbz-card-body {
        padding: 15px 16px;
    }

    .qbz-card-title {
        min-height: auto;
    }

    .qbz-cta {
        padding: 22px;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 15px;
    }

    .qbz-cta > a {
        align-items: center;
        flex-direction: row;
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .qbz-cta-icon {
        width: 44px;
        height: 44px;
    }

    .qbz-cta h2 {
        font-size: 17px;
    }

    .qbz-modal {
        padding: 12px;
    }

    .qbz-dialog {
        max-height: calc(100vh - 24px);
        border-radius: 12px;
    }

    .qbz-detail-head {
        padding: 22px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qbz-detail-image {
        aspect-ratio: 16 / 9;
    }

    .qbz-detail-heading {
        padding: 0;
    }

    .qbz-detail-heading h2 {
        font-size: 20px;
    }

    .qbz-detail-body {
        padding: 0 22px 24px;
    }

    .qbz-detail-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .qbz-detail-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .qbz-gate-dialog {
        padding: 35px 22px 25px;
    }

    .qbz-gate-tip {
        margin: 16px -22px -25px;
        border-radius: 0 0 12px 12px;
    }

    .qbz-gate-form {
        flex-direction: column;
    }

    .qbz-backtop {
        right: 15px;
        bottom: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qbz-app *,
    .qbz-app *::before,
    .qbz-app *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ===== v1.5 日夜模式切换 ===== */
.qbz-theme-toggle {
    position: fixed;
    right: 20px;
    bottom: 70px;
    z-index: 90;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--qbz-line);
    border-radius: 50%;
    color: #5b5f67;
    background: #fff;
    box-shadow: 0 8px 22px rgba(33, 35, 38, .1);
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s;
}

.qbz-theme-toggle:hover {
    border-color: rgba(232, 132, 2, .45);
    color: var(--qbz-accent);
}

.qbz-theme-toggle svg {
    width: 19px;
    height: 19px;
}

.qbz-theme-toggle .qbz-theme-sun,
.qbz-app.qbz-dark .qbz-theme-toggle .qbz-theme-moon {
    display: none;
}

.qbz-app.qbz-dark .qbz-theme-toggle .qbz-theme-sun {
    display: block;
}

body.qbz-dark-body {
    background-color: #0f1114;
}

.qbz-app.qbz-dark {
    color-scheme: dark;
    color: #e3e5e9;
    background: #0f1114;
}

.qbz-app.qbz-dark .qbz-header {
    border-color: #262930;
    background: rgba(20, 22, 26, .94);
}

.qbz-app.qbz-dark .qbz-brand strong,
.qbz-app.qbz-dark .qbz-hero h1,
.qbz-app.qbz-dark .qbz-detail-heading h2,
.qbz-app.qbz-dark .qbz-detail-section h3,
.qbz-app.qbz-dark .qbz-cta h2,
.qbz-app.qbz-dark .qbz-gate-dialog h2 {
    color: #f1f2f5;
}

.qbz-app.qbz-dark .qbz-brand small,
.qbz-app.qbz-dark .qbz-kicker,
.qbz-app.qbz-dark .qbz-hero p,
.qbz-app.qbz-dark .qbz-gate-dialog p,
.qbz-app.qbz-dark .qbz-footer {
    color: #9aa0aa;
}

.qbz-app.qbz-dark .qbz-icon-button {
    border-color: #2b2e35;
    color: #c7ccd4;
    background: #1b1d22;
}

.qbz-app.qbz-dark .qbz-icon-button:hover {
    border-color: #4a3a22;
    color: #f0a548;
    background: #23262c;
}

.qbz-app.qbz-dark .qbz-user {
    border-color: #2b2e35;
    color: #c7ccd4;
    background: #1b1d22;
}

.qbz-app.qbz-dark .qbz-user:hover {
    border-color: rgba(232, 132, 2, .5);
    color: #f0a548;
}

.qbz-app.qbz-dark .qbz-stats,
.qbz-app.qbz-dark .qbz-search,
.qbz-app.qbz-dark .qbz-card,
.qbz-app.qbz-dark .qbz-pagination button {
    border-color: #282b32;
    background: #1b1d22;
}

.qbz-app.qbz-dark .qbz-stats > div {
    border-color: #282b32;
}

.qbz-app.qbz-dark .qbz-stat strong,
.qbz-app.qbz-dark .qbz-card-title,
.qbz-app.qbz-dark .qbz-search input {
    color: #eef0f3;
}

.qbz-app.qbz-dark .qbz-stat span,
.qbz-app.qbz-dark .qbz-card p,
.qbz-app.qbz-dark .qbz-pagination span {
    color: #9299a3;
}

.qbz-app.qbz-dark .qbz-search {
    box-shadow: none;
}

.qbz-app.qbz-dark .qbz-categories button {
    border-color: #2b2e35;
    color: #b7bdc6;
    background: #1b1d22;
}

.qbz-app.qbz-dark .qbz-categories button.is-active {
    border-color: transparent;
    color: #fff;
    background: var(--qbz-accent);
}

.qbz-app.qbz-dark .qbz-card:hover {
    border-color: #4a3a22;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
}

.qbz-app.qbz-dark .qbz-cta {
    border-color: #3a2f20;
    background: linear-gradient(135deg, #241d14, #1b1d22);
}

.qbz-app.qbz-dark .qbz-dialog {
    color: #e3e5e9;
    background: #1b1d22;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.qbz-app.qbz-dark .qbz-modal-close {
    color: #c7ccd4;
    background: #262930;
}

.qbz-app.qbz-dark .qbz-detail-head {
    border-color: #2b2e35;
    background: linear-gradient(180deg, #221d16, #1b1d22);
}

.qbz-app.qbz-dark .qbz-detail-price {
    border-color: #2b2e35;
    background: #17191e;
}

.qbz-app.qbz-dark .qbz-detail-price > div {
    border-color: #2b2e35;
}

.qbz-app.qbz-dark .qbz-detail-price strong {
    color: #f1f2f5;
}

.qbz-app.qbz-dark .qbz-detail-section p,
.qbz-app.qbz-dark .qbz-detail-body {
    color: #b9bec7;
}

.qbz-app.qbz-dark .qbz-detail-meta {
    border-color: #2b2e35;
    background: #17191e;
}

.qbz-app.qbz-dark .qbz-gate-form input {
    border-color: #2b2e35;
    color: #eef0f3;
    background: #15171b;
}

.qbz-app.qbz-dark .qbz-gate-tip {
    border-color: #262930;
    color: #8b909a;
    background: #17191e;
}

.qbz-app.qbz-dark .qbz-theme-toggle,
.qbz-app.qbz-dark .qbz-backtop {
    border-color: #2b2e35;
    color: #c7ccd4;
    background: #1b1d22;
}

.qbz-app.qbz-dark .qbz-pagination button.is-active {
    border-color: transparent;
    color: #fff;
    background: var(--qbz-accent);
}

/* ===== v1.5 详情弹窗视觉优化 ===== */
.qbz-detail-head {
    border-bottom: 1px solid #f2ede6;
    background: linear-gradient(180deg, #fffaf3, #fff 78%);
}

.qbz-detail-heading h2 {
    font-size: 23px;
    line-height: 1.42;
    font-weight: 700;
    letter-spacing: -.015em;
}

.qbz-detail-price {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    padding: 13px 6px;
    border: 1px solid #f2ede6;
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
}

.qbz-detail-price > div {
    padding: 0 14px;
    border-right: 1px solid #f2ede6;
}

.qbz-detail-price > div:last-child {
    border-right: 0;
}

.qbz-detail-price strong {
    font-size: 19px;
}

.qbz-detail-section h3 {
    font-size: 14.5px;
}

.qbz-detail-section p {
    color: #4a4e56;
    font-size: 13.5px;
    line-height: 1.95;
}

.qbz-detail-meta {
    border-radius: 9px;
}

@media (max-width: 680px) {
    .qbz-theme-toggle {
        right: 15px;
        bottom: 68px;
        width: 40px;
        height: 40px;
    }

    .qbz-detail-heading h2 {
        font-size: 19px;
    }

    .qbz-detail-price {
        padding: 10px 2px;
    }

    .qbz-detail-price > div {
        padding: 0 8px;
    }

    .qbz-detail-price strong {
        font-size: 16px;
    }
}

/* ===== v1.6 卡片样式 ===== */
.qbz-grid {
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .qbz-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .qbz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .qbz-grid {
        grid-template-columns: 1fr;
    }
}

.qbz-card {
    overflow: hidden;
    border: 1px solid #e9eaee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.qbz-card:hover {
    border-color: #f0d9bb;
    box-shadow: 0 14px 30px rgba(50, 38, 20, .1);
    transform: translateY(-3px);
}

.qbz-card-media {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 3;
    padding: 12px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    background: #f2f3f5;
}

.qbz-card-media img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: transparent;
    object-fit: contain;
    object-position: center;
}

.qbz-card-number {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
    background: rgba(37, 41, 50, .74);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
}

.qbz-card-lock {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    padding: 3px 7px;
    align-items: center;
    gap: 3px;
    border-radius: 6px;
    color: #6b7078;
    background: rgba(255, 255, 255, .9);
    font-size: 10px;
}

.qbz-card-lock.is-open {
    color: #e07800;
    background: rgba(255, 247, 235, .94);
}

.qbz-card-lock svg {
    width: 11px;
    height: 11px;
}

.qbz-card-body {
    padding: 14px 16px 16px;
}

.qbz-card-title {
    margin: 0 0 12px;
    min-height: 44px;
    color: #1f2328;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.qbz-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.qbz-card-metrics > .qbz-metric {
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: #f5f6f8;
}

.qbz-card-metrics > .qbz-metric span {
    display: block;
    color: #8d929b;
    font-size: 10.5px;
    line-height: 1.4;
}

.qbz-card-metrics > .qbz-metric strong {
    display: block;
    margin-top: 2px;
    color: #22262c;
    font-size: 14px;
    font-weight: 700;
}

.qbz-card-revenue {
    display: flex;
    margin-top: 8px;
    padding: 9px 11px;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background: #f5f6f8;
}

.qbz-card-revenue span {
    color: #8d929b;
    font-size: 10.5px;
}

.qbz-card-revenue strong {
    color: #f08a00;
    font-size: 15px;
    font-weight: 700;
}

/* ===== v1.6 详情弹窗两栏布局 ===== */
.qbz-detail-dialog {
    position: relative;
    width: min(1080px, calc(100vw - 48px));
    max-width: 1080px;
    max-height: 88vh;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

.qbz-detail-dialog > .qbz-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #5b5f67;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.qbz-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    max-height: 88vh;
    min-height: 0;
}

.qbz-detail-visual {
    display: flex;
    padding: 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    background: #f4f5f7;
}

.qbz-detail-image {
    display: flex;
    width: 100%;
    max-height: calc(88vh - 110px);
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 24, 32, .08);
    cursor: zoom-in;
}

.qbz-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(88vh - 110px);
    border-radius: 12px;
    object-fit: contain;
}

.qbz-detail-visual-bar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: #7d838d;
    font-size: 11px;
}

.qbz-detail-panel {
    min-height: 0;
    padding: 30px 36px 36px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.qbz-detail-kicker {
    margin: 0 0 6px;
    color: #8d929b;
    font-size: 11px;
    letter-spacing: .06em;
}

.qbz-detail-panel h2 {
    margin: 0 0 8px;
    color: #1e2228;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -.015em;
}

.qbz-detail-tags {
    margin: 0 0 20px;
    color: #8d929b;
    font-size: 12px;
}

.qbz-detail-tags span {
    color: #e8890a;
}

.qbz-detail-section {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid #eef0f3;
}

.qbz-detail-section h3 {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    color: #1e2228;
    font-size: 14px;
    font-weight: 700;
}

.qbz-detail-section h3::before {
    display: none;
}

.qbz-detail-price {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.qbz-detail-price > div {
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    background: #f5f6f8;
}

.qbz-detail-price > div span {
    display: block;
    color: #8d929b;
    font-size: 10.5px;
}

.qbz-detail-price > div strong {
    display: block;
    margin-top: 4px;
    color: #1e2228;
    font-size: 18px;
    font-weight: 700;
}

.qbz-detail-price .is-revenue strong {
    color: #f08a00;
}

.qbz-detail-panel .qbz-detail-note {
    margin: 10px 0 0;
    color: #9aa0aa;
    font-size: 10.5px;
    line-height: 1.7;
}

.qbz-detail-rows {
    margin: 0;
}

.qbz-detail-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
}

.qbz-detail-row dt {
    color: #8d929b;
    font-size: 12px;
    line-height: 1.9;
}

.qbz-detail-row dd {
    margin: 0;
    color: #3a3f47;
    font-size: 13px;
    line-height: 1.9;
}

.qbz-buyers {
    margin: 0;
    padding: 0;
    list-style: none;
}

.qbz-buyers li {
    position: relative;
    margin: 0 0 6px;
    padding-left: 13px;
    color: #3a3f47;
    font-size: 13px;
    line-height: 1.8;
}

.qbz-buyers li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f08a00;
    content: "";
}

.qbz-detail-meta {
    display: flex;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #eef0f3;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #9aa0aa;
    font-size: 11px;
}

/* 非 VIP 兑换码弹窗禁止关闭 */
#qbz-gate.is-locked .qbz-modal-close {
    display: none;
}

#qbz-gate.is-locked .qbz-modal-backdrop {
    pointer-events: none;
}

/* ===== v1.6 深色模式对比度 ===== */
.qbz-app.qbz-dark .qbz-card {
    border-color: #262a32;
    background: #171922;
    box-shadow: none;
}

.qbz-app.qbz-dark .qbz-card:hover {
    border-color: #4a3a22;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
}

.qbz-app.qbz-dark .qbz-card-media {
    background: #f2f3f5;
}

.qbz-app.qbz-dark .qbz-card-title {
    color: #f0f1f4;
}

.qbz-app.qbz-dark .qbz-card-metrics > .qbz-metric,
.qbz-app.qbz-dark .qbz-card-revenue {
    background: #21242d;
}

.qbz-app.qbz-dark .qbz-metric span,
.qbz-app.qbz-dark .qbz-card-revenue span {
    color: #8b909a;
}

.qbz-app.qbz-dark .qbz-metric strong {
    color: #f0f1f4;
}

.qbz-app.qbz-dark .qbz-card-revenue strong {
    color: #ff9f2e;
}

.qbz-app.qbz-dark .qbz-card-lock {
    color: #c3c8d0;
    background: rgba(30, 34, 42, .92);
}

.qbz-app.qbz-dark .qbz-card-lock.is-open {
    color: #ffb35c;
    background: rgba(58, 42, 21, .94);
}

.qbz-app.qbz-dark .qbz-detail-dialog {
    background: #15171f;
}

.qbz-app.qbz-dark .qbz-detail-visual {
    background: #1b1d24;
}

.qbz-app.qbz-dark .qbz-detail-image {
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.qbz-app.qbz-dark .qbz-detail-panel {
    background: #15171f;
}

.qbz-app.qbz-dark .qbz-detail-panel h2 {
    color: #f0f1f4;
}

.qbz-app.qbz-dark .qbz-detail-kicker,
.qbz-app.qbz-dark .qbz-detail-tags {
    color: #8b909a;
}

.qbz-app.qbz-dark .qbz-detail-tags span {
    color: #ffb35c;
}

.qbz-app.qbz-dark .qbz-detail-section {
    border-color: #262a32;
}

.qbz-app.qbz-dark .qbz-detail-section h3 {
    color: #eef0f3;
}

.qbz-app.qbz-dark .qbz-detail-price > div {
    background: #20232b;
}

.qbz-app.qbz-dark .qbz-detail-price span {
    color: #8b909a;
}

.qbz-app.qbz-dark .qbz-detail-price strong {
    color: #f0f1f4;
}

.qbz-app.qbz-dark .qbz-detail-price .is-revenue strong {
    color: #ff9f2e;
}

.qbz-app.qbz-dark .qbz-detail-row dt {
    color: #8b909a;
}

.qbz-app.qbz-dark .qbz-detail-row dd,
.qbz-app.qbz-dark .qbz-buyers li {
    color: #c3c8d0;
}

.qbz-app.qbz-dark .qbz-detail-meta {
    border-color: #262a32;
    color: #8b909a;
}

.qbz-app.qbz-dark .qbz-detail-dialog > .qbz-modal-close {
    color: #dfe3e8;
    background: rgba(38, 42, 50, .92);
}

.qbz-app.qbz-dark .qbz-hero h1 {
    color: #f4f5f7;
}

.qbz-app.qbz-dark .qbz-hero p {
    color: #a7adb6;
}

.qbz-app.qbz-dark .qbz-kicker {
    color: #f0a548;
}

.qbz-app.qbz-dark .qbz-toast {
    color: #f0f1f4;
    background: #262a32;
}

@media (max-width: 900px) {
    .qbz-detail-layout {
        grid-template-columns: 1fr;
        max-height: 88vh;
        overflow-y: auto;
    }

    .qbz-detail-visual {
        padding: 18px;
    }

    .qbz-detail-image,
    .qbz-detail-image img {
        max-height: 38vh;
    }

    .qbz-detail-panel {
        padding: 22px 22px 28px;
        overflow: visible;
    }
}

@media (max-width: 680px) {
    .qbz-detail-dialog {
        width: calc(100vw - 20px);
        max-height: 92vh;
    }

    .qbz-detail-layout {
        max-height: 92vh;
    }

    .qbz-detail-panel h2 {
        font-size: 19px;
    }

    .qbz-detail-price {
        gap: 7px;
    }

    .qbz-detail-price > div {
        padding: 9px 10px;
    }

    .qbz-detail-price strong {
        font-size: 15px;
    }

    .qbz-detail-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .qbz-card-title {
        min-height: 42px;
        font-size: 14px;
    }
}

/* ===== v1.7 头部主题按钮与标题渐变 ===== */
.qbz-header .qbz-theme-toggle {
    position: static;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 10px;
    box-shadow: none;
}

.qbz-header .qbz-theme-toggle svg {
    width: 18px;
    height: 18px;
}

.qbz-title-gradient .qbz-hero h1 {
    background-image: linear-gradient(92deg, var(--qbz-title-from, #e88402), var(--qbz-title-to, #ff7a18));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ===== v1.7 深色模式对比度增强 ===== */
.qbz-app.qbz-dark .qbz-stats {
    border-color: #343a45;
    background: #1c1f27;
}

.qbz-app.qbz-dark .qbz-stats > div {
    border-color: #343a45;
}

.qbz-app.qbz-dark .qbz-stats strong {
    color: #ffffff;
}

.qbz-app.qbz-dark .qbz-stats span {
    color: #a6acb7;
}

.qbz-app.qbz-dark .qbz-icon-button {
    border-color: #3d434e;
    color: #eef0f3;
    background: #242830;
}

.qbz-app.qbz-dark .qbz-icon-button:hover {
    border-color: #e88402;
    color: #ffb35c;
    background: #2d313a;
}

.qbz-app.qbz-dark .qbz-icon-button svg {
    color: inherit;
}

.qbz-app.qbz-dark .qbz-footer {
    border-color: #262a32;
    color: #9aa0aa;
    background: #12141a;
}

.qbz-app.qbz-dark .qbz-footer a {
    color: #e6e9ed;
}

.qbz-app.qbz-dark .qbz-footer a:hover {
    color: #ffb35c;
}

.qbz-buyers li {
    border: 0;
    background: none;
}

.qbz-app.qbz-dark .qbz-buyers li {
    border: 0;
    color: #c3c8d0;
    background: none;
}

/* ===== v1.7 详情左侧图片优化 ===== */
.qbz-detail-visual {
    padding: 20px 22px;
    background: #eef0f3;
}

.qbz-detail-image {
    max-height: calc(88vh - 96px);
    padding: 6px;
    box-shadow: 0 16px 34px rgba(20, 24, 32, .12);
}

.qbz-detail-image img {
    width: auto;
    max-width: 100%;
    max-height: calc(88vh - 108px);
}

.qbz-app.qbz-dark .qbz-detail-visual {
    background: #20232b;
}

.qbz-app.qbz-dark .qbz-detail-image {
    background: #fff;
}

@media (max-width: 900px) {
    .qbz-detail-visual {
        padding: 16px;
    }

    .qbz-detail-image,
    .qbz-detail-image img {
        max-height: 38vh;
    }
}

@media (max-width: 680px) {
    .qbz-header .qbz-theme-toggle {
        width: 34px;
        height: 34px;
        min-height: 34px;
    }

    .qbz-header-actions {
        gap: 6px;
    }

    .qbz-brand-logo {
        max-width: 112px;
        max-height: 30px;
    }
}

/* ===== v1.8 深色层次、标题渐变与统计卡 ===== */
body.qbz-dark-body {
    background: #0b0e14;
}

.qbz-app.qbz-dark {
    --qbz-text: #f2f4f8;
    --qbz-muted: #aab2c0;
    --qbz-line: #343b49;
    --qbz-soft: #171b24;
    background:
        radial-gradient(circle at 8% 0, rgba(232, 132, 2, .09), transparent 28rem),
        linear-gradient(180deg, #11151d 0, #0d1017 36rem, #0b0e14 100%);
}

.qbz-app.qbz-dark .qbz-header {
    border-color: #323947;
    background: rgba(18, 22, 30, .96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.qbz-app.qbz-dark .qbz-stats {
    border-color: #414a5a;
    background: linear-gradient(145deg, #202633, #181d27);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

.qbz-app.qbz-dark .qbz-stats > div {
    border-color: #414a5a;
}

.qbz-app.qbz-dark .qbz-stats strong {
    color: #fff;
    text-shadow: 0 1px 8px rgba(255, 255, 255, .06);
}

.qbz-app.qbz-dark .qbz-stats span {
    color: #b9c1ce;
}

.qbz-app.qbz-dark .qbz-search,
.qbz-app.qbz-dark .qbz-categories button,
.qbz-app.qbz-dark .qbz-pagination button {
    border-color: #394151;
    background: #1a202b;
}

.qbz-app.qbz-dark .qbz-categories button,
.qbz-app.qbz-dark .qbz-sort button,
.qbz-app.qbz-dark .qbz-toolbar p {
    color: #b7bfcc;
}

.qbz-app.qbz-dark .qbz-categories button em {
    color: #c3cad5;
    background: #2a313e;
}

.qbz-app.qbz-dark .qbz-categories button.is-active {
    border-color: var(--qbz-accent);
    color: #fff;
    background: var(--qbz-accent);
}

.qbz-app.qbz-title-gradient .qbz-hero h1 {
    display: inline-block;
    padding-bottom: .06em;
    background-image: linear-gradient(105deg, var(--qbz-title-from, #e88402) 0%, var(--qbz-title-to, #ff7a18) 58%, var(--qbz-title-from, #e88402) 125%);
    background-position: left center;
    background-size: 140% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.qbz-stats div {
    text-align: center;
}

.qbz-stats strong {
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

/* 详情左图完整铺满怀左栏，信息条悬浮于图片底部 */
.qbz-detail-visual {
    position: relative;
    display: block;
    min-height: 430px;
    padding: 0;
    overflow: hidden;
    background: #e9edf2;
}

.qbz-detail-image {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    border-radius: 0;
    background: #e9edf2;
    box-shadow: none;
    aspect-ratio: auto;
    inset: 0;
}

.qbz-detail-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    object-fit: cover;
}

.qbz-detail-image .qbz-card-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.qbz-detail-visual-bar {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 34px 18px 14px;
    color: #fff;
    background: linear-gradient(transparent, rgba(8, 12, 18, .76));
    pointer-events: none;
}

.qbz-app.qbz-dark .qbz-detail-visual,
.qbz-app.qbz-dark .qbz-detail-image {
    background: #202632;
}

/* 多条兑换码引导，链接使用醒目的独立行动条 */
.qbz-gate-tips {
    display: grid;
    margin: 20px -35px -32px;
    padding: 14px 22px 18px;
    border-top: 1px solid #eceff3;
    border-radius: 0 0 14px 14px;
    background: #f8f9fb;
    gap: 8px;
}

.qbz-gate-tips .qbz-gate-tip {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #7c8491;
    background: transparent;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.qbz-gate-tips a.qbz-gate-tip {
    display: flex;
    min-height: 40px;
    padding: 9px 13px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(232, 132, 2, .3);
    border-radius: 8px;
    color: #b96500;
    background: #fff2df;
    font-size: 13px;
    font-weight: 650;
    transition: border-color .2s, background .2s, transform .2s;
}

.qbz-gate-tips a.qbz-gate-tip::after {
    font-size: 16px;
    line-height: 1;
    content: "↗";
}

.qbz-gate-tips a.qbz-gate-tip:hover {
    border-color: var(--qbz-accent);
    color: #9d5200;
    background: #ffe8c7;
    transform: translateY(-1px);
}

.qbz-app.qbz-dark .qbz-gate-tips {
    border-color: #343b47;
    background: #141922;
}

.qbz-app.qbz-dark .qbz-gate-tips .qbz-gate-tip {
    color: #aab3c1;
    background: transparent;
}

.qbz-app.qbz-dark .qbz-gate-tips a.qbz-gate-tip {
    border-color: #77501e;
    color: #ffc177;
    background: #352817;
}

.qbz-app.qbz-dark .qbz-gate-tips a.qbz-gate-tip:hover {
    border-color: #e99a38;
    color: #ffd39e;
    background: #44311a;
}

/* 游客必须登录时，隐藏子比系统登录框的全部关闭入口 */
#u_sign.qbz-login-required .close,
#u_sign.qbz-login-required .modal-close,
#u_sign.qbz-login-required [data-dismiss="modal"] {
    display: none !important;
}

@media (max-width: 900px) {
    .qbz-detail-visual {
        width: 100%;
        height: 38vh;
        min-height: 250px;
        padding: 0;
    }

    .qbz-detail-image,
    .qbz-detail-image img {
        height: 100%;
        max-height: none;
    }
}

@media (max-width: 680px) {
    .qbz-gate-tips {
        margin: 18px -22px -25px;
        padding: 12px 14px 15px;
        border-radius: 0 0 12px 12px;
    }

    .qbz-detail-visual {
        height: 34vh;
        min-height: 220px;
    }
}

@media (max-width: 560px) {
    .qbz-stats strong {
        font-size: 14px;
    }

    .qbz-stats span {
        font-size: 9px;
    }
}

/* ===== v1.9 卡片密度、统计字号与标题渐变统一 ===== */
.qbz-kicker em {
    font-style: normal;
}

.qbz-kicker-gradient .qbz-kicker em {
    background-image: linear-gradient(96deg, var(--qbz-kicker-from, #e88402), var(--qbz-kicker-to, #ff7a18));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.qbz-stats div {
    padding: 0 12px;
}

.qbz-stats strong {
    font-size: 24px;
    letter-spacing: -.03em;
}

@media (min-width: 1021px) {
    .qbz-hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(470px, 1fr);
    }
}

.qbz-stats span {
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
}

.qbz-title-gradient .qbz-stats strong {
    background-image: linear-gradient(105deg, var(--qbz-title-from, #e88402) 0%, var(--qbz-title-to, #ff7a18) 70%, var(--qbz-title-from, #e88402) 130%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qbz-grid {
    gap: 13px;
}

.qbz-card-media {
    padding: 9px;
}

.qbz-card-body {
    padding: 12px 13px 12px;
}

.qbz-card-title {
    min-height: 42px;
    font-size: 14px;
    line-height: 1.45;
}

.qbz-card-metrics {
    gap: 6px;
}

.qbz-card-metrics > .qbz-metric {
    padding: 6px 8px;
}

.qbz-metric span {
    font-size: 10px;
}

.qbz-metric strong {
    font-size: 14px;
}

.qbz-card-revenue {
    margin-top: 6px;
    padding: 7px 9px;
}

.qbz-card-revenue span {
    font-size: 10px;
}

.qbz-card-revenue strong {
    font-size: 13.5px;
}

/* 详情：标题与标题渐变一致，三个数据卡片等高 */
.qbz-title-gradient .qbz-detail-panel h2,
.qbz-title-gradient .qbz-detail-section h3 {
    background-image: linear-gradient(105deg, var(--qbz-title-from, #e88402) 0%, var(--qbz-title-to, #ff7a18) 70%, var(--qbz-title-from, #e88402) 130%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qbz-detail-section h3::before {
    flex: 0 0 auto;
}

.qbz-detail-price {
    align-items: stretch;
}

.qbz-detail-price > div {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
}

.qbz-detail-price > div span {
    font-size: 11px;
}

/* 深色模式下页头图标按钮文字提亮 */
.qbz-app.qbz-dark .qbz-icon-button {
    color: #e9edf3 !important;
}

.qbz-app.qbz-dark .qbz-icon-button:hover {
    color: #ffb35c !important;
}

@media (max-width: 680px) {
    .qbz-stats strong {
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .qbz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .qbz-card {
        border-radius: 11px;
    }

    .qbz-card-media {
        padding: 7px;
        border-radius: 10px 10px 0 0;
    }

    .qbz-card-body {
        padding: 9px 9px 10px;
    }

    .qbz-card-title {
        min-height: 38px;
        font-size: 12.5px;
        line-height: 1.42;
    }

    .qbz-card-metrics {
        gap: 4px;
    }

    .qbz-card-metrics > .qbz-metric {
        padding: 5px 6px;
    }

    .qbz-metric span {
        font-size: 9px;
    }

    .qbz-metric strong {
        font-size: 12.5px;
    }

    .qbz-card-revenue {
        padding: 6px 7px;
    }

    .qbz-card-revenue span {
        font-size: 9px;
    }

    .qbz-card-revenue strong {
        font-size: 12px;
    }

    .qbz-stats strong {
        font-size: 16px;
    }

    .qbz-stats span {
        font-size: 12px;
    }
}

/* ===== v2.2 分类悬浮、详情滚动与目标用户序号 ===== */
.qbz-app.qbz-dark .qbz-categories button:hover {
    border-color: var(--qbz-accent);
    color: #ffb35c;
    background: rgba(232, 132, 2, .16);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

/* 详情弹窗：左右两栏各自受高度约束，右栏内容多时内部滚动 */
.qbz-detail-layout {
    grid-template-rows: minmax(0, 1fr);
}

.qbz-detail-dialog {
    overflow: hidden;
}

.qbz-detail-panel {
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccd2da transparent;
}

.qbz-detail-panel::-webkit-scrollbar {
    width: 8px;
}

.qbz-detail-panel::-webkit-scrollbar-track {
    background: transparent;
}

.qbz-detail-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #ccd2da;
}

.qbz-detail-panel::-webkit-scrollbar-thumb:hover {
    background: #b3bac5;
}

.qbz-app.qbz-dark .qbz-detail-panel {
    scrollbar-color: #3a4150 transparent;
}

.qbz-app.qbz-dark .qbz-detail-panel::-webkit-scrollbar-thumb {
    background: #3a4150;
}

/* 目标用户：按序号排列，行距收紧 */
.qbz-detail-panel .qbz-buyers {
    display: block;
    margin: 0;
    padding-left: 20px;
    list-style: decimal;
}

.qbz-detail-panel .qbz-buyers li {
    display: list-item;
    margin: 0 0 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #3a3f47;
    background: none;
    font-size: 13px;
    line-height: 1.65;
}

.qbz-detail-panel .qbz-buyers li::before {
    display: none;
    content: none;
}

.qbz-detail-panel .qbz-buyers li::marker {
    color: var(--qbz-accent);
    font-weight: 700;
}

.qbz-app.qbz-dark .qbz-detail-panel .qbz-buyers li::marker {
    color: #ffb35c;
}

@media (max-width: 900px) {
    .qbz-detail-layout {
        grid-template-rows: auto;
    }

    .qbz-detail-panel {
        overflow: visible;
        scrollbar-width: auto;
    }
}
