.jyy-nav {
    max-width: 1440px;
    width: 65%;
    display: flex;
    margin: auto;
}

.comprehensive-container .comprehensive-news-container .comprehensive-news-left-inner .comprehensive-news-left-inner-button {
    bottom: 28px;
}

.jyy_adv {
    display: inline-block;
    padding: 0 3px;
    border: 1px solid #0008ff;
    font-size: 12px !important;
    font-style: normal;
    line-height: 16px !important;
    border-radius: 2px;
    background: #fff;
    color: #0008ff !important;
    position: relative;
    float: right;
    margin-top: 5px;
}

table.tftable {
    font-size: 15px;
    color: #000;
    width: 100%;
    border-width: 0;
    border-color: #729ea5;
    border-collapse: collapse;
}

table.tftable td {
    font-size: 15px;
    border-width: 0;
    padding: 4px;
    border-style: solid;
    border-color: #729ea5;
}

.jyy_bq {
    background-color: #fcf1eb;
    color: #fe5f47 !important;
    margin-right: 2px;
    min-width: max-content;
    padding: 0 8px;
    height: 24px;
    line-height: 24px !important;
    font-size: 12px !important;
    font-weight: bold;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 8px;
}

/* 品牌配色：蓝色继承页面主色；红色取自官网 Logo。 */
.sky-productList {
    grid-template-columns: repeat(auto-fill, minmax(var(--productwidth_max, 260px), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--productwidth_max, 260px)), 1fr));
    gap: 20px;
    align-items: stretch;
}

.sky-productList .product-card,
.sky-productList .product-card * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.sky-productList > .product-card {
    --cart-accent: var(--Original, #0052d9);
    --cart-accent-dark: var(--darker2, #003ec5);
    --cart-brand-red: #eb0727;
    --cart-red-text: #b81937;
    --cart-ink: #24344a;
    --cart-muted: #64748b;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    height: 100%;
    border: 1px solid #dce4ef;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(23, 43, 69, 0.035);
    cursor: default;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

/* 细红蓝识别线，呼应 Logo 左侧图形与蓝色文字。 */
.sky-productList > .product-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(90deg, var(--cart-brand-red) 0%, var(--cart-brand-red) 18%, var(--cart-accent) 18%, var(--cart-accent) 100%);
    pointer-events: none;
}

.sky-productList > .product-card > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.sky-productList > .product-card:focus-within {
    border-color: #8daee6;
    box-shadow: 0 3px 12px rgba(0, 82, 217, 0.075);
}

.product-card .product-card-header {
    padding: 23px 22px 18px;
    border-bottom: 1px solid #e7ecf4;
    border-radius: 5px 5px 0 0;
    background: #fff;
}

.product-card .product-card-header .header-title {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.product-card .product-card-header .header-title h5 {
    margin: 0;
    color: #1e2c40;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1px;
    overflow-wrap: anywhere;
}

.product-card .product-card-header .header-title .stock-info {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--cart-muted);
    font-size: 12px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.product-card .product-card-header .header-title .stock-info::after {
    content: none;
}

/* 简介位于 product-description，product-Parameters 是价格和按钮区 */
.product-card .product-card-body .product-description {
    box-sizing: border-box;
    min-width: 0;
    padding: 20px 22px 14px;
    color: var(--cart-muted);
    font-size: 14px;
    line-height: 2.1;
    overflow-wrap: anywhere;
}

.product-card .product-card-body .product-description b {
    color: var(--cart-ink);
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}

.product-card .product-description hr {
    clear: both;
    height: 0;
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #e7ecf4;
}

/* 铂金等等级标识 */
.product-card .jyy_adv {
    box-sizing: border-box;
    max-width: 100%;
    float: none;
    margin: 0 0 0 7px;
    padding: 0 6px;
    border: 1px solid #d5e2f8;
    border-radius: 3px;
    background: #eff5ff;
    color: #2155b9 !important;
    font-size: 11px !important;
    font-weight: 500;
    line-height: 20px !important;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

/* 卖点标签：浅红底与深红文字呼应 Logo，控制面积与饱和度。 */
.product-card .jyy_bq {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 24px;
    margin: 0 5px 6px 0;
    padding: 1px 7px;
    border: 1px solid #f3d7de;
    border-radius: 3px;
    background: #fff4f6;
    color: var(--cart-red-text) !important;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 20px !important;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
}

.product-card table.tftable,
.product-card table.tftable td {
    color: var(--cart-ink);
    font-size: 14px;
    line-height: 1.8;
}

.product-card table.tftable td {
    padding: 5px 4px;
}

/* 常规商品价格；保留试用价、原价及折扣的原有结构 */
.product-card .product-Parameters {
    margin-top: 4px;
    border-top: 1px solid #e7ecf4;
    border-radius: 0 0 5px 5px;
    background: #fafbfe;
}

.product-card .product-Parameters .pricing-info {
    padding: 18px 22px 0;
}

.product-card .product-Parameters .price .amount,
.product-card .product-Parameters .sale-price .amount {
    color: var(--cart-brand-red);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.product-card .product-Parameters .price .currency,
.product-card .product-Parameters .sale-price .currency {
    color: var(--cart-red-text);
    font-size: 14px;
}

.product-card .product-Parameters .price .period,
.product-card .product-Parameters .sale-price .period {
    color: var(--cart-muted);
    font-size: 12px;
}

/* 购买按钮 */
.product-card .product-Parameters .buy-now-button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    height: auto;
    margin: 12px 22px 22px;
    padding: 11px 14px;
    width: auto !important;
    border: 1px solid var(--cart-accent);
    border-radius: 4px;
    background: var(--cart-accent);
    color: #fff !important;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transform: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.product-card .product-Parameters .buy-now-button:hover {
    transform: none;
}

.product-card .product-Parameters .buy-now-button:focus-visible {
    outline: 2px solid #6b98e8;
    outline-offset: 3px;
}

.product-card .product-Parameters .buy-now-button:disabled,
.product-card .product-Parameters .buy-now-button[aria-disabled="true"],
.product-card .product-Parameters .buy-now-button.SellOut {
    background: #e8edf2;
    border-color: #e0e5eb;
    color: #687789 !important;
    box-shadow: none;
    text-shadow: none;
    transform: none;
    cursor: not-allowed;
}

@media (hover: hover) and (pointer: fine) {
    .sky-productList > .product-card:hover {
        border-color: #8daee6;
        box-shadow: 0 4px 14px rgba(0, 82, 217, 0.075);
    }

    .product-card .product-Parameters .buy-now-button:not(:disabled):not([aria-disabled="true"]):not(.SellOut):hover {
        background: var(--cart-accent-dark);
        border-color: var(--cart-accent-dark);
        box-shadow: none;
        transform: none;
    }
}

@media (max-width: 600px) {
    .sky-productList > .product-card {
        border-radius: 6px;
    }

    .product-card .product-card-header {
        padding: 21px 18px 16px;
        border-radius: 5px 5px 0 0;
    }

    .product-card .product-card-header .header-title h5 {
        font-size: 15px;
    }

    .product-card .product-card-body .product-description {
        padding: 18px 18px 12px;
        font-size: 14px;
        line-height: 2.1;
    }

    .product-card .product-Parameters .pricing-info {
        padding: 16px 18px 0;
    }

    .product-card .jyy_adv {
        margin-left: 7px;
        padding-inline: 5px;
    }

    .product-card .product-Parameters .buy-now-button {
        margin: 12px 18px 18px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sky-productList > .product-card,
    .product-card .product-Parameters .buy-now-button {
        transition: none !important;
    }
}

/* 弹窗 CSS：保留原设置 */
.bt-image {
    max-width: 150%;
    max-height: 150%;
}

.swal2-popup {
    width: 50% !important;
    height: auto !important;
}

.game_center {
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.bt_num {
    border: 1px solid #6d6df7;
    margin: 5px 10px;
    background: white;
    color: blue;
    padding-left: 3px;
    padding-right: 3px;
}

@media (max-width: 600px) {
    .swal2-popup {
        width: 80% !important;
    }

    .swal2-title {
        font-size: 1.2em !important;
    }
}