/* ==================== 通用样式 ==================== */
.page-header-taptap {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.page-header-left {
    flex: 1;
    min-width: 0;
}

.page-header-taptap h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.page-header-taptap p {
    color: #71717a;
    font-size: 14px;
    margin: 0;
}

.page-header-right {
    flex-shrink: 0;
    width: 360px;
}

.search-filter-box {
    position: relative;
}

.search-filter-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #fff;
    border: 1px solid #e8e9eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s;
    color: #333;
}

.search-filter-input::placeholder {
    color: #999;
}

.search-filter-input:focus {
    outline: none;
    border-color: #00c3ff;
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.1);
}

.search-filter-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

/* ==================== 游戏卡片网格 ==================== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e9eb;
    text-decoration: none;
    display: block;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    text-decoration: none;
}

.game-card-image {
    width: 100%;
    padding-top: 100%;
    background: #f5f6f7;
    position: relative;
    overflow: hidden;
}

.game-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 16px;
}

.game-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.game-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #909399;
}

.game-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e9eb;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state-text {
    color: #909399;
    font-size: 16px;
}

/* ==================== 交易类型导航 ==================== */
.trade-type-nav {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e9eb;
    margin-bottom: 20px;
    overflow: hidden;
}

.trade-type-title {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f1f2;
}

.trade-type-menu {
    padding: 8px 0;
}

.trade-type-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #606266;
    text-decoration: none;
    transition: all 0.15s;
    font-size: 14px;
    font-weight: 500;
}

.trade-type-item:hover {
    background: #f5f7fa;
    color: #00c3ff;
    text-decoration: none;
}

.trade-type-item.active {
    background: #ecf5ff;
    color: #00c3ff;
}

.trade-type-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
}

/* ==================== 游戏信息横幅 ==================== */
.game-info-card {
    margin-bottom: 32px;
}

.game-info-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
}

.game-info-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center 30%;
    z-index: 1;
}

.game-info-banner-frost {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.game-info-banner-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
    z-index: 3;
}

.game-info-banner-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.game-info-left-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: center;
}

.game-info-left-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.game-info-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.15);
}

.game-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 12px;
}

.game-info-subcats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.game-info-subcat-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255,255,255,0.32);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
}

.game-info-subcat-tag:hover {
    background: rgba(255,255,255,0.45);
    transform: translateY(-2px);
}

.game-info-follow {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 20px;
    height: 38px;
    background: #00c3ff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}

.follow-btn:hover {
    background: #00d5ff;
    color: #fff;
    text-decoration: none;
}

.follow-btn i {
    font-size: 16px;
}

/* ==================== 游戏卡片列表样式 ==================== */
.game-card-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e9eb;
    text-decoration: none;
    display: flex;
    padding: 16px;
    align-items: flex-start;
    gap: 20px;
}

.game-card-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-decoration: none;
}

.game-card-list:hover .game-card-title {
    color: #00c3ff !important;
}

.game-card-list .game-card-image {
    background: #f5f6f7;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    border-radius: 8px;
    padding-top: 0;
}

.game-card-list .game-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
}

.game-card-seller {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== 商品列表布局 ==================== */
.goods-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.goods-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.goods-list-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.game-card-meta {
    margin-bottom: 12px !important;
}

.goods-attributes {
    font-size: 13px;
    color: #606266;
    margin-bottom: 16px !important;
    line-height: 1.8 !important;
}

.game-card-seller {
    margin-top: 8px !important;
}

.goods-price {
    color: #ff4d4f;
    font-size: 20px;
    font-weight: 700;
}

.goods-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.seller-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.seller-name {
    font-size: 13px;
    color: #606266;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pagination-container {
    text-align: center;
    margin-top: 24px;
}

.empty-state-compact {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e9eb;
}

/* ==================== 横幅内布局 ==================== */
.banner-content-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-content-right {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.15);
}

.banner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-game-name {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 12px;
}

.banner-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==================== 商品详情样式 ==================== */
.goods-detail-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e9eb;
    padding: 24px;
    margin-bottom: 24px;
}

.goods-detail-row {
    margin-bottom: 24px;
}

.goods-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.goods-meta-row {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.goods-meta-text {
    color: #909399;
    font-size: 14px;
}

.goods-meta-divider {
    color: #e8e9eb;
}

.goods-tags-row {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.goods-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.goods-tag-success {
    background: #e6f7f0;
    color: #52c41a;
}

.goods-tag-error {
    background: #fff1f0;
    color: #ff4d4f;
}

.goods-tag-warning {
    background: #fffbe6;
    color: #faad14;
}

.goods-tag-default {
    background: #f5f5fa;
    color: #909399;
}

.goods-tag-info {
    background: #f0f5ff;
    color: #597ef7;
}

.goods-tag-icon {
    width: 14px;
    height: 14px;
}

.goods-attributes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.goods-attribute-item {
    flex: 0 0 calc(50% - 6px);
    min-width: 0;
}

.goods-attribute-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e8e9eb;
}

.goods-attribute-icon {
    width: 16px;
    height: 16px;
    color: #00c3ff;
    flex-shrink: 0;
}

.goods-attribute-content {
    min-width: 0;
    flex: 1;
}

.goods-attribute-label {
    font-size: 12px;
    color: #909399;
    margin-bottom: 2px;
}

.goods-attribute-value {
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-price-card {
    background: linear-gradient(135deg, #fff7f7 0%, #fff1f0 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #ffe0e0;
    margin: 12px 0px;
}

.goods-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.goods-price-label {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: 500;
}

.goods-price-main {
    font-size: 36px;
    font-weight: 800;
    color: #ff4d4f;
    line-height: 1;
}

.goods-price-suffix {
    font-size: 16px;
    font-weight: 500;
    color: #ff7875;
}

.goods-original-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.goods-original-price-label {
    font-size: 13px;
    color: #909399;
}

.goods-original-price {
    font-size: 16px;
    color: #909399;
    font-weight: 500;
    text-decoration: line-through;
}

.goods-discount-tag {
    background: #ff4d4f;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.goods-spec-area {
    background: #fff;
    border: 1px solid #e8e9eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.goods-spec-group {
    margin-bottom: 16px;
}

.goods-spec-title {
    margin-bottom: 16px;
}

.goods-spec-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.goods-spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.goods-spec-btn {
    flex: 0 0 calc(50% - 4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e8e9eb;
    background: #fff;
    color: #606266;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 400;
}

.goods-spec-btn:hover {
    border-color: #00c3ff;
    color: #00c3ff;
}

.goods-spec-btn.active {
    border-color: #00c3ff;
    background: #f0f9ff;
    color: #00c3ff;
}

.goods-selected-info {
    margin-top: 12px;
    display: none;
    padding: 12px;
    background: #f5f7fa;
    border-radius: 6px;
}

.goods-selected-row {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
}

.goods-selected-label {
    color: #909399;
    font-size: 13px;
    flex-shrink: 0;
}

.goods-selected-text {
    color: #00c3ff;
    font-weight: 500;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-selected-price {
    color: #ff4d4f;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

.goods-selected-stock {
    color: #909399;
    font-size: 13px;
    flex-shrink: 0;
}

.goods-seller-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.goods-seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.goods-seller-info {
    flex: 1;
}

.goods-seller-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.goods-seller-name {
    font-size: 15px;
    color: #303133;
    font-weight: 600;
}

.goods-seller-badge {
    width: 16px;
    height: 16px;
    color: #00c3ff;
}

.goods-seller-meta {
    font-size: 12px;
    color: #909399;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.goods-seller-meta-icon {
    width: 12px;
    height: 12px;
}

.goods-follow-card {
    background: #e6f7ff;
    padding: 6px 12px;
    border-radius: 8px;
}

.goods-follow-text {
    font-size: 12px;
    color: #1890ff;
    font-weight: 500;
}

.goods-sidebar-card {
}

.goods-sidebar-game {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
}

.goods-sidebar-game-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.goods-sidebar-game-info {
    flex: 1;
    min-width: 0;
}

.goods-sidebar-game-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-order-card {
    background: #f8f9fa;
    border: 1px solid #e8e9eb;
    border-radius: 8px;
    padding: 16px;
}

.goods-order-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.goods-form-group {
    margin-bottom: 16px;
}

.goods-form-label {
    display: block;
    font-size: 14px;
    color: #303133;
    margin-bottom: 8px;
}

.goods-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e9eb;
    border-radius: 6px;
    font-size: 14px;
}

.goods-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e9eb;
    border-radius: 6px;
    font-size: 14px;
}

.goods-form-hint {
    font-size: 12px;
    color: #909399;
    margin-top: 6px;
}

.goods-form-hint-icon {
    color: #00c3ff;
}

.goods-submit-btn {
    width: 100%;
    padding: 14px;
    background: #00c3ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.goods-owner-notice {
    padding: 16px;
    background: #e6f7ff;
    border: 1px solid #00c3ff;
    border-radius: 8px;
    color: #00c3ff;
    margin-bottom: 16px;
}

/* ==================== 支付页面样式 ==================== */
.pay-order-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e8e9eb;
}

.pay-order-top {
    display: flex;
    gap: 16px;
    align-items: center;
}

.pay-order-image {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

.pay-order-info {
    flex: 1;
    min-width: 0;
}

.pay-order-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pay-order-no {
    font-size: 13px;
    color: #909399;
}

.pay-price-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.pay-price-label {
    font-size: 14px;
    color: #606266;
    font-weight: 500;
}

.pay-price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ff4d4f;
    letter-spacing: -0.5px;
}

.pay-receive-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e8e9eb;
}

.pay-receive-title {
    margin-bottom: 16px;
}

.pay-receive-text {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.pay-receive-item {
    margin-bottom: 16px;
}

.pay-receive-item-last {
    margin-bottom: 0;
}

.pay-receive-label {
    font-size: 13px;
    color: #909399;
    margin-bottom: 6px;
}

.pay-receive-value {
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    line-height: 1.6;
}

.pay-receive-value-empty {
    color: #c0c4cc;
}

.pay-receive-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    border: 1px solid #e8e9eb;
}

.pay-methods-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e8e9eb;
}

.pay-methods-title {
    margin-bottom: 16px;
}

.pay-method {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border: 2px solid #e8e9eb;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.pay-method-last {
    margin-bottom: 0;
}

.pay-method-disabled {
    opacity: 0.5;
}

.pay-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.pay-method-icon-wechat {
    background: #07c160;
}

.pay-method-icon-alipay {
    background: #1677ff;
}

.pay-method-icon-balance {
    background: #ff9800;
}

.pay-method-info {
    margin-left: 14px;
    flex: 1;
}

.pay-method-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.pay-method-desc {
    font-size: 13px;
    color: #909399;
}

.pay-method-balance {
    color: #303133;
    font-weight: 600;
}

.pay-method-balance-error {
    font-size: 13px;
    color: #ff4d4f;
    margin-top: 4px;
}

.pay-method-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #dcdfe6;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.pay-method-radio input {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.pay-method-radio-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #00c3ff;
    border-radius: 50%;
    display: none;
    transition: all 0.2s;
}

.pay-submit-btn {
    width: 100%;
    padding: 16px;
    background: #00c3ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.pay-cancel-row {
    text-align: center;
    margin-top: 20px;
}

.pay-cancel-link {
    color: #909399;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

/* ==================== 支付方式样式 ==================== */
.pay-method:hover {
    border-color: #00c3ff !important;
    background: #fafbff !important;
}

.pay-method.active {
    border-color: #00c3ff !important;
    background: #f0f9ff !important;
}

.pay-method.active .radio-inner {
    display: block !important;
}

.pay-method.active > div:last-child {
    border-color: #00c3ff !important;
    background: #00c3ff !important;
}

#btn-pay:hover {
    background: #00b0e6 !important;
}

#btn-pay:disabled {
    background: #c9cdd4 !important;
    cursor: not-allowed !important;
}

/* ==================== 规格按钮 ==================== */
.spec-btn {
    flex: 0 0 calc(50% - 4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e8e9eb;
    background: #fff;
    color: #606266;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 400;
}

.spec-btn:hover {
    border-color: #00c3ff;
    color: #00c3ff;
}

.spec-btn.active {
    border-color: #00c3ff;
    background: #f0f9ff;
    color: #00c3ff;
}

/* ==================== 分类筛选 ==================== */
.category-filter-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255,255,255,0.32);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
}

.category-filter-item:hover {
    background: rgba(255,255,255,0.45);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.category-filter-item.active {
    background: #fff;
    color: #00c3ff;
}



/* ==================== 响应式设计 ==================== */
@media (max-width: 1400px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .page-header-right {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .search-section {
        display: none;
    }
    
    .nav-links-section {
        display: none;
    }
    
    .page-header-right {
        display: none;
    }
    
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-info-banner {
        height: 200px;
    }
    
    .game-info-banner-inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-info-banner {
        height: auto;
        min-height: 220px;
    }
    
    .game-info-banner-inner {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
        text-align: center;
    }
    
    .game-info-left-section {
        align-items: center;
    }
    
    .game-info-left-main {
        flex-direction: column;
        gap: 12px;
    }
    
    .game-info-image {
        width: 70px;
        height: 70px;
    }
    
    .game-info-title {
        font-size: 22px;
    }
    
    .game-info-subcats {
        justify-content: center;
    }
    
    .follow-btn {
        height: 44px;
        padding: 0 24px;
        font-size: 14px;
        border-radius: 8px;
    }
}

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

/* ==================== 商品详情页样式 ==================== */
.goods-detail-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e9eb;
    padding: 24px;
    margin-bottom: 24px;
}

.goods-detail-row {
    margin-bottom: 24px;
}

.goods-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.goods-meta-row {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.goods-meta-text {
    color: #909399;
    font-size: 14px;
}

.goods-meta-divider {
    color: #e8e9eb;
}

.goods-tags-row {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.goods-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.goods-tag-success {
    background: #e6f7f0;
    color: #52c41a;
}

.goods-tag-error {
    background: #fff1f0;
    color: #ff4d4f;
}

.goods-tag-warning {
    background: #fffbe6;
    color: #faad14;
}

.goods-tag-default {
    background: #f5f5fa;
    color: #909399;
}

.goods-tag-info {
    background: #f0f5ff;
    color: #597ef7;
}

.goods-tag-icon {
    width: 14px;
    height: 14px;
}

.goods-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.goods-status-normal {
    background: #e6f7f0;
    color: #52c41a;
}

.goods-status-sold {
    background: #fff1f0;
    color: #ff4d4f;
}

.goods-status-offline {
    background: #f5f5f5;
    color: #909399;
}

.goods-status-bargain {
    background: #fffbe6;
    color: #faad14;
}

.goods-status-urgent {
    background: #fff2f0;
    color: #ff4d4f;
}

.goods-status-multi-spec {
    background: #f0f5ff;
    color: #597ef7;
}

.goods-status-kami {
    background: #e6f7f0;
    color: #52c41a;
}

.goods-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f5f5fa;
    color: #909399;
    font-weight: 500;
}

.goods-attributes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.goods-attribute-item {
    flex: 0 0 calc(50% - 6px);
    min-width: 0;
}

.goods-attribute-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e8e9eb;
}

.goods-attribute-icon {
    width: 16px;
    height: 16px;
    color: #00c3ff;
    flex-shrink: 0;
}

.goods-attribute-content {
    min-width: 0;
    flex: 1;
}

.goods-attribute-label {
    font-size: 12px;
    color: #909399;
    margin-bottom: 2px;
}

.goods-attribute-value {
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-price-section {
    background: linear-gradient(135deg, #fff7f7 0%, #fff1f0 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #ffe0e0;
    margin: 12px 0px;
}

.goods-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.goods-price-label {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: 500;
}

.goods-price-value {
    font-size: 36px;
    font-weight: 800;
    color: #ff4d4f;
    line-height: 1;
}

.goods-price-suffix {
    font-size: 16px;
    font-weight: 500;
    color: #ff7875;
}

.goods-original-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.goods-original-price-label {
    font-size: 13px;
    color: #909399;
}

.goods-original-price-value {
    font-size: 16px;
    color: #909399;
    font-weight: 500;
    text-decoration: line-through;
}

.goods-discount-tag {
    background: #ff4d4f;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.goods-spec-section {
    background: #fff;
    border: 1px solid #e8e9eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.goods-spec-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.goods-spec-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-btn {
    flex: 0 0 calc(50% - 4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e8e9eb;
    background: #fff;
    color: #606266;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 400;
}

.spec-btn:hover {
    border-color: #00c3ff;
    color: #00c3ff;
}

.spec-btn.active {
    background: #00c3ff;
    border-color: #00c3ff;
    color: #fff;
}

.goods-spec-info {
    margin-top: 12px;
    display: none;
    padding: 12px;
    background: #f5f7fa;
    border-radius: 6px;
}

.goods-spec-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
}

.goods-spec-info-label {
    color: #909399;
    font-size: 13px;
    flex-shrink: 0;
}

.goods-spec-info-text {
    color: #00c3ff;
    font-weight: 500;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-spec-info-price {
    color: #ff4d4f;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

.goods-spec-info-stock {
    color: #909399;
    font-size: 13px;
    flex-shrink: 0;
}

.goods-seller-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.goods-seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.goods-seller-info {
    flex: 1;
}

.goods-seller-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.goods-seller-name {
    font-size: 15px;
    color: #303133;
    font-weight: 600;
}

.goods-seller-badge {
    width: 16px;
    height: 16px;
    color: #00c3ff;
}

.goods-seller-meta {
    font-size: 12px;
    color: #909399;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.goods-seller-meta-icon {
    width: 12px;
    height: 12px;
}

.goods-seller-follow {
    background: #e6f7ff;
    padding: 6px 12px;
    border-radius: 8px;
}

.goods-seller-follow-text {
    font-size: 12px;
    color: #1890ff;
    font-weight: 500;
}

.goods-current-game {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
}

.goods-current-game-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.goods-current-game-info {
    flex: 1;
    min-width: 0;
}

.goods-current-game-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-order-section {
    background: #f8f9fa;
    border: 1px solid #e8e9eb;
    border-radius: 8px;
    padding: 16px;
}

.goods-order-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.goods-form-group {
    margin-bottom: 16px;
}

.goods-form-label {
    display: block;
    font-size: 14px;
    color: #303133;
    margin-bottom: 8px;
}

.goods-form-label-required {
    color: #ff4d4f;
}

.goods-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e9eb;
    border-radius: 6px;
    font-size: 14px;
}

.goods-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e9eb;
    border-radius: 6px;
    font-size: 14px;
}

.goods-form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e9eb;
    border-radius: 6px;
    font-size: 14px;
}

.goods-form-hint {
    font-size: 12px;
    color: #909399;
    margin-top: 6px;
}

.goods-form-hint-icon {
    color: #00c3ff;
}

.goods-submit-btn {
    width: 100%;
    padding: 14px;
    background: #00c3ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.goods-owner-notice {
    padding: 16px;
    background: #e6f7ff;
    border: 1px solid #00c3ff;
    border-radius: 8px;
    color: #00c3ff;
    margin-bottom: 16px;
}

.goods-icon {
    width: 18px;
    height: 18px;
    color: #909399;
}

.goods-icon-small {
    width: 14px;
    height: 14px;
}

/* ==================== 游戏欢迎区块 ==================== */
.game-welcome-section {
    margin-bottom: 24px;
}

.game-welcome-card {
    background: #fff;
    border: 1px solid #e8e9eb;
    border-radius: 12px;
    padding: 24px;
}

.game-welcome-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-welcome-title-icon {
    color: #00c3ff;
    font-size: 20px;
}

.game-welcome-desc {
    font-size: 14px;
    color: #606266;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.game-welcome-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0 0 20px 0;
}

.game-welcome-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}

.game-welcome-item-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.game-welcome-item-text {
    font-size: 14px;
    color: #303133;
    line-height: 1.6;
}

.game-welcome-xai {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #bae7ff;
    border-radius: 8px;
}

.game-welcome-xai-icon {
    color: #1890ff;
    font-size: 24px;
    flex-shrink: 0;
}

.game-welcome-xai-text {
    font-size: 14px;
    color: #1890ff;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .game-welcome-card {
        padding: 20px 16px;
    }
    
    .game-welcome-title {
        font-size: 16px;
    }
    
    .game-welcome-grid {
        grid-template-columns: 1fr;
    }
    
    .game-welcome-item-text {
        font-size: 13px;
    }
    
    .game-welcome-xai-text {
        font-size: 13px;
    }
}

/* ==================== AI对话按钮和模态框 ==================== */
.xai-chat-btn-inline {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.xai-chat-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.xai-chat-btn-inline i {
    font-size: 16px;
}

.xai-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998;
}

.xai-chat-modal-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    max-width: calc(100vw - 48px);
    height: 800px;
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

.xai-chat-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xai-chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xai-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xai-chat-avatar i {
    font-size: 20px;
}

.xai-chat-title {
    font-size: 16px;
    font-weight: 600;
}

.xai-chat-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.xai-chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.xai-chat-close:hover {
    background: rgba(255,255,255,0.3);
}

.xai-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8f9fa;
}

.xai-chat-message {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.xai-chat-message.user {
    flex-direction: row-reverse;
}

.xai-chat-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xai-chat-message-avatar.ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.xai-chat-message-avatar.user {
    background: #00c3ff;
    color: #fff;
}

.xai-chat-message-content {
    max-width: 450px;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.xai-chat-message.ai .xai-chat-message-content {
    background: #fff;
    border: 1px solid #e8e9eb;
}

.xai-chat-message.user .xai-chat-message-content {
    background: #00c3ff;
    color: #fff;
}

.xai-chat-quick-questions {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e8e9eb;
}

.xai-chat-quick-title {
    font-size: 12px;
    color: #909399;
    margin-bottom: 8px;
}

.xai-chat-quick-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xai-chat-quick-btn {
    padding: 6px 12px;
    background: #f0f9ff;
    border: 1px solid #bae7ff;
    border-radius: 16px;
    font-size: 13px;
    color: #1890ff;
    cursor: pointer;
    transition: all 0.2s;
}

.xai-chat-quick-btn:hover {
    background: #e6f7ff;
}

.xai-chat-input-area {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e8e9eb;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.xai-chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e8e9eb;
    border-radius: 20px;
    font-size: 14px;
    resize: none;
    max-height: 100px;
    line-height: 1.5;
}

.xai-chat-input:focus {
    outline: none;
    border-color: #00c3ff;
}

.xai-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.xai-chat-send:hover {
    transform: scale(1.05);
}

.xai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.xai-chat-remain {
    font-size: 11px;
    color: #909399;
    text-align: center;
    padding: 4px 16px 12px;
    background: #fff;
}

.xai-chat-remain span {
    color: #667eea;
    font-weight: 600;
}

@media (max-width: 768px) {
    .xai-chat-btn {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    
    .xai-chat-btn i {
        font-size: 24px;
    }
    
    .xai-chat-modal {
        bottom: 84px;
        right: 16px;
        left: 16px;
        width: auto;
        height: 500px;
    }
}

/* Loading动画样式 */
.loading-dots {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.loading-dots .dot {
    animation: dotPulse 1.4s infinite ease-in-out;
    animation-fill-mode: both;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        opacity: 0.3;
    }
    40% {
        opacity: 1;
    }
}
