/* 游戏交易平台前台样式 - 7881 风格 */
:root {
    --game-primary: #ff5722;
    --game-primary-dark: #e64a19;
    --game-primary-light: #ff8a65;
    --game-bg: #f5f5f5;
    --game-card: #ffffff;
    --game-text: #333;
    --game-muted: #999;
    --game-border: #eee;
    --game-radius: 4px;
}

.game-body {
    background: var(--game-bg);
    padding-top: 106px;
    min-height: 100vh;
    color: var(--game-text);
}

.theme-dnf {
    --game-primary: #ff5722;
    --game-primary-dark: #e64a19;
    --game-hero-start: #ff5722;
    --game-hero-end: #ff9800;
}

.theme-cf {
    --game-primary: #2e7d32;
    --game-primary-dark: #1b5e20;
    --game-primary-light: #66bb6a;
    --game-hero-start: #1b5e20;
    --game-hero-end: #43a047;
}

.theme-hall {
    --game-hero-start: #1a237e;
    --game-hero-end: #ff5722;
}

/* Header */
.game-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    height: 70px;
}

.game-header-inner {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 20px;
}

.game-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    background: linear-gradient(135deg, var(--game-primary), #ff9800);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--game-text);
}

.game-search {
    flex: 1;
    max-width: 420px;
    display: flex;
    gap: 0;
}

.game-search .form-control {
    border-radius: 4px 0 0 4px;
    border-color: var(--game-primary);
    height: 38px;
}

.game-search .btn {
    border-radius: 0 4px 4px 0;
    height: 38px;
    padding: 0 16px;
}

.game-nav {
    display: flex;
    gap: 4px;
}

.game-nav a {
    padding: 8px 14px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: color .2s;
}

.game-nav a:hover,
.game-nav a.active {
    color: var(--game-primary);
}

.game-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-game {
    background: var(--game-primary);
    border-color: var(--game-primary);
    color: #fff;
}

.btn-game:hover,
.btn-game:focus {
    background: var(--game-primary-dark);
    border-color: var(--game-primary-dark);
    color: #fff;
}

.btn-game-outline {
    background: transparent;
    border: 1px solid var(--game-primary);
    color: var(--game-primary);
}

.btn-game-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,.8);
    color: #fff;
}

.btn-game-outline-light:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.game-main {
    min-height: calc(100vh - 140px);
}

.game-footer {
    background: #333;
    color: #aaa;
    padding: 30px 0 20px;
    margin-top: 40px;
}

.game-footer a { color: #aaa; }

.footer-service {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

.footer-service i {
    color: var(--game-primary);
    margin-right: 8px;
}

/* Homepage Hero */
.home-hero {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 50%, #ffb74d 100%);
    color: #fff;
    padding: 50px 0 60px;
    margin-bottom: 0;
}

.home-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
}

.hero-desc {
    font-size: 16px;
    opacity: .9;
    margin-bottom: 24px;
}

.hero-search {
    display: flex;
    max-width: 520px;
    margin-bottom: 20px;
}

.hero-search .form-control {
    border: none;
    border-radius: 4px 0 0 4px;
    box-shadow: none;
}

.hero-search .btn {
    border-radius: 0 4px 4px 0;
    padding: 0 28px;
    background: #333;
    border-color: #333;
}

.hero-actions .btn {
    margin-right: 12px;
    padding: 10px 24px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}

.stat-item {
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 16px 20px;
    backdrop-filter: blur(4px);
}

.stat-item strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
}

.stat-item span {
    font-size: 13px;
    opacity: .85;
}

.home-service {
    background: #fff;
    padding: 30px 0;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.service-item i {
    font-size: 32px;
    color: var(--game-primary);
    margin-bottom: 10px;
}

.service-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
}

.service-item p {
    color: var(--game-muted);
    font-size: 13px;
    margin: 0;
}

.home-game-entry {
    margin-bottom: 24px;
}

.game-entry-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid var(--game-primary);
    border-radius: 8px;
    padding: 16px 24px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s;
}

.game-entry-card:hover,
.game-entry-card.active {
    box-shadow: 0 4px 16px rgba(255,87,34,.2);
    text-decoration: none;
    color: inherit;
}

.entry-icon {
    background: var(--game-primary);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
}

.entry-name {
    font-size: 16px;
    font-weight: 700;
}

.entry-count {
    font-size: 13px;
    color: var(--game-muted);
}

/* Section */
.game-section {
    margin-bottom: 32px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid var(--game-primary);
}

.section-more {
    color: var(--game-muted);
    font-size: 14px;
    text-decoration: none;
}

.section-more:hover {
    color: var(--game-primary);
    text-decoration: none;
}

/* Goods grid (homepage) */
.goods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.goods-card {
    background: var(--game-card);
    border-radius: var(--game-radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.goods-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    text-decoration: none;
    color: inherit;
}

.goods-card-cover {
    height: 150px;
    background: linear-gradient(135deg, #37474f, #546e7a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    overflow: hidden;
}

.goods-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-card-body {
    padding: 12px;
}

.goods-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin-bottom: 6px;
}

.goods-card-meta {
    font-size: 12px;
    color: var(--game-muted);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-card-price {
    color: var(--game-primary);
    font-size: 20px;
    font-weight: 700;
}

.goods-card-price small {
    font-size: 13px;
}

.goods-card-views {
    font-size: 12px;
    color: var(--game-muted);
}

/* Search / List page - 7881 style */
.search-page {
    padding-top: 16px;
    padding-bottom: 40px;
}

.search-breadcrumb {
    font-size: 13px;
    color: var(--game-muted);
    margin-bottom: 12px;
}

.search-breadcrumb a {
    color: var(--game-muted);
    text-decoration: none;
}

.search-breadcrumb a:hover {
    color: var(--game-primary);
}

.search-breadcrumb .current {
    color: var(--game-text);
}

.search-filter-box {
    background: #fff;
    border-radius: var(--game-radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.filter-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    align-items: flex-start;
}

.filter-row-select {
    align-items: center;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-label {
    width: 72px;
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
    line-height: 34px;
    font-weight: 600;
}

.filter-tags,
.filter-selects {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.filter-inline-label {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin: 0;
    flex-shrink: 0;
}

.filter-select {
    height: 34px;
    padding: 0 28px 0 10px;
    font-size: 13px;
    color: #333;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-color: #fafafa;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-width: 120px;
    max-width: 160px;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.filter-select:hover {
    border-color: #ffcbb8;
    background-color: #fff;
}

.filter-select:focus {
    border-color: var(--game-primary);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 87, 34, .12);
}

.filter-select-sep {
    color: #ddd;
    font-size: 14px;
    line-height: 34px;
    padding: 0 2px;
    flex-shrink: 0;
}

.filter-select-divider {
    width: 1px;
    height: 20px;
    background: #e8e8e8;
    margin: 0 4px;
    flex-shrink: 0;
}

.filter-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border-radius: 3px;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
    border: 1px solid transparent;
}

.filter-tag:hover {
    color: var(--game-primary);
    background: #fff3e0;
    text-decoration: none;
}

.filter-tag.active {
    color: #fff;
    background: var(--game-primary);
    border-color: var(--game-primary);
}

.filter-row-input .filter-inputs {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-row-input .form-control {
    width: 100px;
    display: inline-block;
}

.filter-keyword {
    width: 200px !important;
}

.filter-sep {
    color: #ccc;
}

.search-result-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border-radius: var(--game-radius);
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.sort-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.sort-tab {
    padding: 6px 14px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
}

.sort-tab:hover {
    color: var(--game-primary);
    text-decoration: none;
}

.sort-tab.active {
    color: var(--game-primary);
    background: #fff3e0;
    font-weight: 600;
}

.result-info {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-info strong {
    color: var(--game-primary);
}

/* List rows - 7881 style */
.goods-list-rows {
    background: #fff;
    border-radius: var(--game-radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.goods-list-row {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}

.goods-list-row:last-child {
    border-bottom: none;
}

.goods-list-row:hover {
    background: #fafafa;
    text-decoration: none;
    color: inherit;
}

.row-cover {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #eceff1;
    margin-right: 16px;
}

.row-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 14px;
    font-weight: 700;
}

.row-main {
    flex: 1;
    min-width: 0;
}

.row-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-sub {
    font-size: 13px;
    color: var(--game-muted);
    margin-bottom: 6px;
}

.row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.row-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 3px;
}

.row-tag.tag-fame {
    background: #fff3e0;
    color: #e65100;
}

.row-side {
    text-align: right;
    flex-shrink: 0;
    min-width: 120px;
    margin-left: 16px;
}

.row-price {
    color: var(--game-primary);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.row-price small {
    font-size: 14px;
}

.row-seller,
.row-time {
    font-size: 12px;
    color: var(--game-muted);
    margin-top: 4px;
}

.search-pagination {
    margin-top: 12px;
}

.pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: var(--game-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.pagination-info {
    font-size: 13px;
    color: #666;
}

.pagination-info strong {
    color: var(--game-primary);
    font-weight: 700;
}

.pagination-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pagination-btns .btn {
    min-width: 36px;
    margin: 0;
}

/* Detail */
.goods-detail {
    background: var(--game-card);
    border-radius: var(--game-radius);
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.detail-gallery {
    margin-bottom: 8px;
}

.detail-cover {
    width: 100%;
    max-height: 400px;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-cover img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.detail-cover-placeholder {
    padding: 80px;
    color: #999;
    font-size: 18px;
}

.detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.detail-thumbs .thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: .7;
}

.detail-thumbs .thumb.active,
.detail-thumbs .thumb:hover {
    border-color: var(--game-primary);
    opacity: 1;
}

.detail-price {
    color: var(--game-primary);
    font-size: 36px;
    font-weight: 800;
}

.detail-price small { font-size: 18px; }

.detail-title {
    font-size: 22px;
    font-weight: 700;
    margin: 16px 0 12px;
    line-height: 1.4;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.detail-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fafafa;
    border-radius: 8px;
}

.detail-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 12px;
    padding-left: 10px;
    border-left: 3px solid var(--game-primary);
}

.attr-table {
    width: 100%;
    margin-top: 20px;
}

.attr-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--game-border);
    font-size: 14px;
}

.attr-table td:first-child {
    width: 140px;
    color: var(--game-muted);
    background: #fafafa;
}

/* Publish / misc */
.filter-panel {
    background: var(--game-card);
    border-radius: var(--game-radius);
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.filter-panel h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--game-border);
}

.publish-panel {
    background: var(--game-card);
    border-radius: var(--game-radius);
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.publish-panel h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
}

.status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-pending { background: #fff3e0; color: #e65100; }
.status-normal { background: #e8f5e9; color: #2e7d32; }
.status-sold { background: #eceff1; color: #546e7a; }
.status-rejected { background: #ffebee; color: #c62828; }

.cf-field-panel {
    border: 1px solid var(--game-border);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}
.cf-field-panel-head {
    padding: 10px 14px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}
.cf-field-panel-head small { color: var(--game-muted); font-weight: normal; }
.cf-field-panel-body {
    padding: 10px 14px 14px;
    max-height: 200px;
    overflow-y: auto;
}
.cf-field-panel-body .checkbox-inline {
    display: inline-block;
    margin: 0 12px 8px 0;
    font-weight: normal;
    font-size: 13px;
}

.empty-tip {
    text-align: center;
    padding: 60px 20px;
    color: var(--game-muted);
    background: #fff;
    border-radius: var(--game-radius);
}

/* Legacy layout compat */
.game-layout {
    display: flex;
    gap: 20px;
}

.game-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.game-content {
    flex: 1;
    min-width: 0;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group label {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    display: block;
    margin-bottom: 6px;
}

/* ========== 游戏平台增强 ========== */
.platform-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 36px;
    line-height: 36px;
    background: linear-gradient(90deg, #263238, #37474f);
    color: rgba(255,255,255,.85);
    font-size: 12px;
}

.platform-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-topbar i { margin-right: 6px; color: #ffb74d; }

.platform-topbar-links a {
    color: rgba(255,255,255,.75);
    margin-left: 16px;
    text-decoration: none;
}

.platform-topbar-links a:hover { color: #fff; }

.game-header { top: 36px; }

.platform-game-switch {
    display: flex;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 3px;
    flex-shrink: 0;
}

.platform-game-switch .switch-item {
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-decoration: none;
    border-radius: 16px;
    transition: all .2s;
}

.platform-game-switch .switch-item.active,
.platform-game-switch .switch-item:hover {
    text-decoration: none;
}

.switch-dnf.active, .switch-dnf:hover { background: #ff5722; color: #fff; }
.switch-cf.active, .switch-cf:hover { background: #2e7d32; color: #fff; }

.btn-nav-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    padding: 8px;
    margin-right: 4px;
}

.game-nav-mobile {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.game-nav-mobile .game-nav,
.game-nav-mobile a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.mobile-switch { margin-bottom: 12px; }

/* Hero v2 */
.home-hero {
    background: linear-gradient(135deg, var(--game-hero-start, #ff5722) 0%, var(--game-hero-end, #ff9800) 55%, #ffb74d 100%);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.home-hero .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.35);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 12px;
}

/* 平台统计条 */
.platform-stats-bar {
    background: #fff;
    margin-top: -28px;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    padding: 24px 0;
    margin-bottom: 32px;
}

.platform-stats-bar .stat-col {
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.platform-stats-bar .stat-col:last-child { border-right: none; }

.platform-stats-bar strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--game-primary);
    line-height: 1.2;
}

.platform-stats-bar span {
    font-size: 13px;
    color: var(--game-muted);
}

/* 游戏目录卡片 */
.platform-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.catalog-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
    position: relative;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    text-decoration: none;
    color: inherit;
}

.catalog-card.disabled {
    opacity: .65;
    cursor: default;
    pointer-events: none;
}

.catalog-cover {
    height: 140px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    position: relative;
}

.catalog-cover.dnf { background: linear-gradient(135deg, #bf360c, #ff5722 60%, #ff9800); }
.catalog-cover.cf { background: linear-gradient(135deg, #1b5e20, #388e3c 60%, #66bb6a); }
.catalog-cover.soon { background: linear-gradient(135deg, #455a64, #78909c); }

.catalog-cover h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.catalog-body { padding: 16px 20px 20px; }

.catalog-body p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--game-muted);
    line-height: 1.5;
}

.catalog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--game-primary);
}

.catalog-arrow {
    color: var(--game-muted);
    font-size: 18px;
}

.catalog-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
}

.catalog-tag.hot { background: #f44336; }

/* 交易流程 */
.platform-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    position: relative;
}

.step-num {
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: var(--game-primary);
    color: #fff;
    font-weight: 800;
    margin: 0 auto 12px;
    font-size: 16px;
}

.step-item h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.step-item p { margin: 0; font-size: 13px; color: var(--game-muted); }

/* 快捷入口条 */
.quick-nav-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.quick-nav-strip a {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all .15s;
}

.quick-nav-strip a:hover,
.quick-nav-strip a.active {
    background: var(--game-primary);
    color: #fff;
    text-decoration: none;
}

/* 列表页顶栏 */
.page-hero-mini {
    background: linear-gradient(90deg, var(--game-hero-start, #ff5722), var(--game-hero-end, #ff9800));
    color: #fff;
    padding: 20px 0;
    margin: -16px 0 20px;
}

.page-hero-mini h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.page-hero-mini p { margin: 0; opacity: .9; font-size: 14px; }

/* 商品卡片角标 */
.goods-card { position: relative; }

.goods-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #f44336;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
}

.goods-card-badge.new { background: #2196f3; }

/* 详情购买侧栏 */
.buy-panel {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    position: sticky;
    top: 120px;
}

.buy-panel .detail-price { margin: 12px 0 20px; }

.buy-panel .btn-lg {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.buy-trust {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #eee;
    font-size: 12px;
    color: var(--game-muted);
}

.buy-trust li {
    list-style: none;
    padding: 4px 0;
}

.buy-trust i { color: var(--game-primary); margin-right: 6px; width: 16px; }

/* Footer 增强 */
.footer-grid { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #444; }

.footer-logo { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }

.footer-desc { font-size: 13px; line-height: 1.6; color: #999; }

.footer-grid h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a { color: #999; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--game-primary-light, #ff8a65); }

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badges span {
    background: #444;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #ccc;
}

.footer-badges i { color: var(--game-primary); margin-right: 4px; }

.footer-bottom { padding-top: 8px; }

.filter-collapse-toggle {
    display: none;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
}

.search-filter-box.collapsed .filter-form-body { display: none; }

/* ===== 7881 视觉增强：图片 / 动效 ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, .45); }
    50% { box-shadow: 0 0 0 8px rgba(255, 87, 34, 0); }
}
@keyframes particleDrift {
    0% { transform: translateY(0) scale(1); opacity: .5; }
    100% { transform: translateY(-120px) scale(1.2); opacity: 0; }
}
@keyframes shineMove {
    0% { left: -100%; }
    100% { left: 120%; }
}

.animate-fade-up { animation: fadeUp .7s ease both; }
.animate-fade-up.delay-1 { animation-delay: .12s; }
.animate-fade-up.delay-2 { animation-delay: .24s; }
.animate-float { animation: floatY 4s ease-in-out infinite; }

.home-hero-visual {
    background: linear-gradient(135deg, rgba(26,35,126,.92), rgba(255,87,34,.78)), var(--hero-bg) center/cover no-repeat !important;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 56px 0 64px !important;
    position: relative;
    overflow: hidden;
}

.theme-dnf .home-hero-visual {
    background: linear-gradient(135deg, rgba(191,54,12,.88), rgba(255,152,0,.75)), var(--hero-bg) center/cover no-repeat !important;
}

.theme-cf .home-hero-visual {
    background: linear-gradient(135deg, rgba(27,94,32,.9), rgba(67,160,71,.78)), var(--hero-bg) center/cover no-repeat !important;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    animation: particleDrift 6s linear infinite;
}

.hero-particles span:nth-child(1) { left: 10%; bottom: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 30%; bottom: 10%; animation-delay: 1.2s; width: 6px; height: 6px; }
.hero-particles span:nth-child(3) { left: 55%; bottom: 25%; animation-delay: 2.4s; }
.hero-particles span:nth-child(4) { left: 75%; bottom: 15%; animation-delay: .8s; width: 10px; height: 10px; }
.hero-particles span:nth-child(5) { left: 90%; bottom: 30%; animation-delay: 3.6s; }

.hero-row { align-items: center; }

.hero-figure-wrap { position: relative; }

.hero-figure-img {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    display: block;
    margin: 0 auto 16px;
    border: 3px solid rgba(255,255,255,.25);
}

.hero-stats-glass {
    background: rgba(255,255,255,.12) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 8px !important;
}

.hero-badge-icon {
    width: 22px;
    height: 22px;
    vertical-align: -4px;
    margin-right: 4px;
}

.hero-search-glass .form-control {
    background: rgba(255,255,255,.95);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.btn-glow {
    box-shadow: 0 4px 20px rgba(255,87,34,.45);
    animation: pulseGlow 2.5s ease infinite;
}

.theme-cf .btn-glow { box-shadow: 0 4px 20px rgba(46,125,50,.45); animation-name: pulseGlowCf; }
@keyframes pulseGlowCf {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46,125,50, .45); }
    50% { box-shadow: 0 0 0 8px rgba(46,125,50, 0); }
}

.home-service-visual {
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-top: 3px solid var(--game-primary);
}

.service-item-img img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    transition: transform .3s;
}

.service-item-img:hover img { transform: scale(1.12) rotate(-5deg); }

.platform-page-body { padding-bottom: 48px; }

.section-sub { font-size: 14px; }

/* 轮播 Banner */
.platform-banner-wrap { margin-bottom: 28px; }

.platform-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.platform-carousel .carousel-inner { max-height: 320px; }

.platform-carousel .item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.carousel-banner-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.platform-carousel-caption {
    left: 0;
    right: auto;
    bottom: 0;
    top: 0;
    width: 45%;
    padding: 40px 36px;
    text-align: left;
    background: linear-gradient(90deg, rgba(0,0,0,.72), transparent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.platform-carousel-caption h3 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.platform-carousel-caption p {
    font-size: 15px;
    opacity: .9;
    margin-bottom: 16px;
}

.carousel-btn {
    display: inline-block;
    background: var(--game-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

.platform-carousel .carousel-control {
    background: rgba(0,0,0,.25);
    width: 44px;
    height: 44px;
    top: 50%;
    margin-top: -22px;
    border-radius: 50%;
    line-height: 44px;
    text-align: center;
    font-size: 28px;
    opacity: .85;
}

.platform-carousel .carousel-indicators li {
    border-color: #fff;
    background: rgba(255,255,255,.4);
}

.platform-carousel .carousel-indicators .active {
    background: var(--game-primary);
    border-color: var(--game-primary);
}

/* 游戏目录图卡 */
.catalog-cover-img {
    height: 180px !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.catalog-cover-img > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.catalog-card-img:hover .catalog-cover-img > img:first-child {
    transform: scale(1.08);
}

.catalog-cover-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75));
}

.catalog-cover-img h3 {
    position: absolute;
    bottom: 16px;
    left: 20px;
    z-index: 2;
    margin: 0 !important;
}

.catalog-game-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 44px;
    height: 44px;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

.pulse-badge { animation: pulseGlow 2s ease infinite; }

/* 促销三图 */
.promo-triple { margin-bottom: 32px; }

.promo-card {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    text-decoration: none;
}

.promo-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.promo-card:hover img { transform: scale(1.06); }

.promo-card-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
}

.promo-card-text strong { display: block; font-size: 15px; }
.promo-card-text span { font-size: 12px; opacity: .85; }

.shine-hover { position: relative; overflow: hidden; }

.shine-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.shine-hover:hover::after { animation: shineMove .7s ease; }

/* 列表页顶栏背景 */
.page-hero-visual {
    background: linear-gradient(135deg, rgba(191,54,12,.88), rgba(255,152,0,.72)), var(--hero-bg) center/cover no-repeat !important;
    margin-bottom: 20px;
}

.theme-cf .page-hero-visual {
    background: linear-gradient(135deg, rgba(27,94,32,.9), rgba(67,160,71,.75)), var(--hero-bg) center/cover no-repeat !important;
}

/* 7881 悬浮工具栏 */
.float-toolbar {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 52px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    color: #666;
    text-decoration: none;
    font-size: 11px;
    transition: all .2s;
}

.float-btn i { font-size: 20px; margin-bottom: 2px; }

.float-btn:hover {
    background: var(--game-primary);
    color: #fff;
    text-decoration: none;
    transform: translateX(-4px);
}

.float-kf i { color: #2196f3; }
.float-kf:hover i { color: #fff; }
.float-sell { background: var(--game-primary); color: #fff; }
.float-sell i { color: #fff; }
.float-top { opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.float-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.goods-card-cover img { transition: transform .4s; }
.goods-card:hover .goods-card-cover img { transform: scale(1.06); }

.platform-page-body .goods-card {
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.scroll-reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== 左侧游戏分类栏 + Logo 墙 ===== */
.platform-layout-wrap { margin-bottom: 40px; }

.platform-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.platform-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
}

.sidebar-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
}

.sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #37474f, #455a64);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.sidebar-all {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.35);
}

.sidebar-all.active,
.sidebar-all:hover {
    background: var(--game-primary);
    border-color: var(--game-primary);
    color: #fff;
    text-decoration: none;
}

.sidebar-scroll {
    max-height: calc(100vh - 260px);
    overflow-y: auto;
}

.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.sidebar-group { padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.sidebar-group:last-of-type { border-bottom: none; }

.sidebar-group-title {
    padding: 6px 14px;
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.sidebar-game-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    transition: background .15s, color .15s;
    cursor: pointer;
}

a.sidebar-game-item:hover {
    background: #fff8f5;
    color: var(--game-primary);
    text-decoration: none;
}

.sidebar-game-item.active {
    background: linear-gradient(90deg, #fff3e0, #fff);
    color: var(--game-primary);
    font-weight: 700;
    border-left: 3px solid var(--game-primary);
    padding-left: 11px;
}

.sidebar-game-item.disabled {
    opacity: .55;
    cursor: default;
}

.sidebar-game-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-game-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-game-count {
    font-style: normal;
    font-size: 11px;
    background: var(--game-primary);
    color: #fff;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.sidebar-tag-soon {
    font-style: normal;
    font-size: 10px;
    color: #999;
    background: #f0f0f0;
    padding: 1px 5px;
    border-radius: 3px;
}

.sidebar-game-list-compact .sidebar-game-item { padding: 8px 14px; }

.sidebar-foot { padding: 12px; border-top: 1px solid #f0f0f0; }

.platform-main {
    flex: 1;
    min-width: 0;
}

/* Logo 墙 */
.game-logo-wall {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.logo-wall-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-wall-head .section-title { margin: 0; }

.logo-wall-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.logo-wall-tab {
    border: 1px solid #e8e8e8;
    background: #fafafa;
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all .15s;
}

.logo-wall-tab:hover,
.logo-wall-tab.active {
    background: var(--game-primary);
    border-color: var(--game-primary);
    color: #fff;
}

.logo-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.logo-wall-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px 10px;
    background: #fafafa;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s, background .2s;
    border: 1px solid transparent;
    text-align: center;
}

a.logo-wall-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,87,34,.15);
    background: #fff;
    border-color: #ffccbc;
    text-decoration: none;
    color: inherit;
}

.logo-wall-item.is-disabled {
    opacity: .5;
    cursor: default;
}

.logo-wall-item.is-hidden { display: none !important; }

.logo-wall-icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
}

.logo-wall-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: transform .3s;
}

.logo-wall-item:hover .logo-wall-icon { transform: scale(1.1); }

.logo-wall-hot {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #f44336;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.2;
}

.logo-wall-soon {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.logo-wall-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.logo-wall-full {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.logo-wall-count {
    font-size: 10px;
    color: var(--game-primary);
    margin-top: 4px;
    font-weight: 600;
}

/* 移动端分类横滑 */
.sidebar-mobile-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.sidebar-mobile-toggle {
    flex-shrink: 0;
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}

.sidebar-mobile-scroll {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.sidebar-mobile-scroll::-webkit-scrollbar { height: 0; }

.sidebar-mobile-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
}

.sidebar-mobile-item img { width: 20px; height: 20px; }

.sidebar-mobile-item.active,
.sidebar-mobile-item:hover {
    background: var(--game-primary);
    color: #fff;
    text-decoration: none;
}

.sidebar-mobile-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1002;
}

.sidebar-mobile-mask.show { display: block; }

body.sidebar-drawer-open .platform-sidebar {
    display: block !important;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 1003;
    padding-top: 60px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
    animation: slideInLeft .25s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@media (max-width: 768px) {
    .game-body { padding-top: 96px; }
    .platform-topbar { display: none !important; }
    .game-header { top: 0; }
    .platform-stats-bar { margin-top: -16px; }
    .platform-stats-bar .stat-col { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 12px 0; }
    .filter-collapse-toggle { display: block; }
    .buy-panel { position: static; margin-top: 20px; }
    .game-header { height: auto; }
    .game-header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
    .game-search { order: 3; max-width: 100%; width: 100%; }
    .home-hero h1 { font-size: 24px; }
    .hero-search { flex-direction: column; }
    .hero-search .btn { border-radius: 4px; margin-top: 8px; }
    .goods-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .filter-row { flex-direction: column; align-items: stretch; }
    .filter-row-select { align-items: stretch; }
    .filter-label { width: 100%; margin-bottom: 4px; line-height: 1.4; }
    .filter-selects { gap: 6px; }
    .filter-select { max-width: none; flex: 1 1 calc(50% - 8px); min-width: 0; }
    .filter-select-sep { display: none; }
    .filter-select-divider { display: none; }
    .filter-inline-label { width: 100%; flex: 0 0 100%; margin-top: 4px; }
    .filter-inline-label:first-child { margin-top: 0; }
    .search-result-bar { flex-direction: column; gap: 10px; align-items: flex-start; }
    .goods-list-row { flex-wrap: wrap; }
    .row-cover { width: 80px; height: 60px; }
    .row-side { width: 100%; text-align: left; margin-left: 96px; margin-top: -30px; }
    .game-layout { flex-direction: column; }
    .game-sidebar { width: 100%; }
    .platform-carousel .item img { height: 200px; }
    .platform-carousel-caption { width: 100%; padding: 20px; }
    .platform-carousel-caption h3 { font-size: 18px; }
    .hero-figure-wrap { display: none; }
    .float-toolbar { right: 8px; bottom: 60px; }
    .float-btn { width: 44px; min-height: 44px; font-size: 0; }
    .float-btn i { margin: 0; font-size: 18px; }
    .float-btn span { display: none; }
    .home-hero-visual { min-height: 320px; padding: 40px 0 !important; }
    .platform-layout { flex-direction: column; }
    .platform-sidebar { display: none; width: 100%; position: static; }
    .logo-wall-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .logo-wall-item { padding: 10px 4px; }
    .logo-wall-full { display: none; }
    .logo-wall-icon-wrap, .logo-wall-icon { width: 44px; height: 44px; }
}
