/* =============================================================================
   CPT games 单页（.dwtj-single-game 浅色资料站）
   ============================================================================= */
body.single-games {
    background: #f8fafc !important;
    color: #0f172a;
    overflow-x: hidden;
}

body.single-games .site,
body.single-games .site-content,
body.single-games #page,
body.single-games #content,
body.single-games .content-area,
body.single-games .site-main,
body.single-games article,
body.single-games .inside-article {
    background: transparent !important;
}

body.single-games .site-content {
    max-width: 1120px;
    margin: 0 auto;
}

body.single-games .inside-article {
    padding: 32px 20px 48px;
}

body.single-games .entry-title,
body.single-games .entry-content > p:first-child:last-child {
    display: none;
}

.dwtj-single-game {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dwtj-single-game-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    box-sizing: border-box;
}

.dwtj-game-hero {
    padding: 28px 0 32px;
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #eef2ff 100%);
    border-bottom: 1px solid #e8eef5;
}

.dwtj-game-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 28px 36px;
    align-items: center;
}

.dwtj-game-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #64748b;
}

.dwtj-game-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
}

.dwtj-game-breadcrumb a:hover {
    color: #0f172a;
}

.dwtj-game-hero-text h1 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.dwtj-game-hero-lead {
    margin: 14px 0 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.68;
    color: #475569;
}

.dwtj-game-hero-note {
    margin: 10px 0 0;
    max-width: 620px;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
}

.dwtj-game-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.dwtj-game-hero-tags li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.dwtj-game-hero-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e8eef5;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.dwtj-game-hero-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: transparent;
}

.dwtj-game-content-section {
    padding: 36px 0;
    background: #fff;
    border-bottom: 1px solid #e8eef5;
}

.dwtj-game-content-section--meta {
    background: #f8fafc;
}

.dwtj-game-content-section h2 {
    margin: 0 0 18px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 900;
    color: #0f172a;
}

.dwtj-game-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dwtj-game-meta-card {
    padding: 16px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8eef5;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.dwtj-game-meta-card span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.dwtj-game-meta-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: #0f172a;
}

.dwtj-game-prose p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

.dwtj-game-prose p:last-child {
    margin-bottom: 0;
}

.dwtj-game-risk-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.dwtj-game-risk-box p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #78350f;
}

.dwtj-game-risk-box p:last-child {
    margin-bottom: 0;
}

.dwtj-game-related {
    padding: 36px 0 40px;
    background: #f8fafc;
}

.dwtj-game-related h2 {
    margin: 0 0 18px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 900;
    color: #0f172a;
}

.dwtj-game-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dwtj-game-related-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8eef5;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: inherit;
}

.dwtj-game-related-card.is-coming-soon {
    background: #f8fafc;
    border-style: dashed;
}

.dwtj-game-related-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: transparent;
}

.dwtj-game-related-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: transparent;
}

.dwtj-game-related-meta {
    padding: 10px 12px 12px;
}

.dwtj-game-related-meta h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.dwtj-game-related-meta p {
    margin: 4px 0 0;
    font-size: 12px;
    color: #64748b;
}

.dwtj-game-faq {
    padding-bottom: 48px;
    background: #fff;
}

.dwtj-game-faq-list {
    border-radius: 18px;
    border: 1px solid #e8eef5;
    overflow: hidden;
    background: #fff;
}

.dwtj-game-faq-list details {
    padding: 0 18px;
    border-bottom: 1px solid #e8eef5;
}

.dwtj-game-faq-list details:last-child {
    border-bottom: none;
}

.dwtj-game-faq-list summary {
    cursor: pointer;
    padding: 15px 4px 15px 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    list-style: none;
}

.dwtj-game-faq-list summary::-webkit-details-marker {
    display: none;
}

.dwtj-game-faq-list details p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.dwtj-game-card.is-coming-soon {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.dwtj-game-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 14px;
}

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

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

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

@media (max-width: 520px) {
    body.single-games .inside-article {
        padding: 20px 12px 36px;
    }

    .dwtj-single-game-shell {
        width: min(1120px, calc(100% - 24px));
    }

    .dwtj-game-meta-grid,
    .dwtj-game-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- 旧版深色样式（.game-info-wrap）保留兼容，新模板不再使用 ----- */
.game-info-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.game-hero-box {
    background: linear-gradient(135deg, #111936, #1b2455, #30135a);
    border: 1px solid rgba(122, 92, 255, 0.35);
    border-radius: 22px;
    padding: 42px;
    margin-bottom: 28px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.game-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(86, 120, 255, 0.18);
    color: #9eb7ff;
    font-size: 14px;
    margin-bottom: 16px;
}

.game-hero-box h1 {
    font-size: 46px;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #ffffff;
}

.game-hero-box p {
    font-size: 18px;
    color: #cbd5ff;
    margin: 0;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.game-info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 20px;
}

.game-info-card span {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 8px;
}

.game-info-card strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
}

.game-section {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 22px;
}

.game-section h2 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 14px;
}

.game-section p {
    color: #d6dcff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

.game-section.warning {
    border-color: rgba(255, 190, 80, 0.35);
}

.game-section.disclaimer {
    border-color: rgba(90, 140, 255, 0.35);
}
