/*
Theme Name: Play4Geek Theme
Description: Thème personnalisé optimisé et responsive pour Play4Geek
Version: 1.0
Author: Jérémy Mathéossian
Text Domain: play4geek
*/

:root {
    --bg-dark: #0e2038;
    --bg-blue: #1e73be;
    --bg-light: #ebf2f8;
    --text-light: #f7f9fc;
    --text-dark: #111827;
    --border: rgba(255,255,255,0.08);
}

body.theme-dark {
    --bg-light: #07172b;
    --text-dark: #dbe8ff;
    --surface-card: #10233f;
    --surface-panel: #0b1d35;
    --border-color: #1f3d63;
    --muted-text: #90a7c5;
    --badge-bg: #173556;
    --badge-text: #dbe8ff;
    background: #07172b;
    color: #dbe8ff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-header {
    background: var(--bg-dark);
    color: var(--text-light);
    position: relative;
}

.header-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left {
    justify-content: flex-start;
    min-width: 0;
}

.header-right {
    justify-content: flex-end;
}

.header-brand {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle,
.search-toggle,
.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
}

.topbar-menu,
.category-menu,
.drawer-menu,
.header-right .social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-menu li,
.category-menu li,
.drawer-menu li {
    margin: 0;
}

.topbar-menu a,
.category-menu a,
.drawer-menu a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.topbar-menu a:hover,
.category-menu a:hover,
.drawer-menu a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.custom-logo-link img,
.logo-mark {
    max-height: 56px;
    width: auto;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-blue);
    font-weight: 700;
}

.logo-text {
    margin-left: 0.85rem;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
}

.header-secondary {
    background: var(--bg-blue);
    padding: 0.75rem 1.5rem;
}

.header-secondary .category-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.header-secondary .category-menu a {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    transition: background 0.2s ease;
}

.header-secondary .category-menu a:hover {
    background: rgba(255,255,255,0.16);
}

.header-drawer {
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 35, 0.92);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.header-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.drawer-panel {
    width: min(320px, 90vw);
    height: 100%;
    padding: 1.5rem;
    background: var(--bg-dark);
    box-shadow: 24px 0 80px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

.drawer-close {
    margin-bottom: 1.25rem;
}

.drawer-brand {
    margin-bottom: 2rem;
}

.drawer-nav {
    display: grid;
    gap: 1rem;
}

.drawer-menu {
    flex-direction: column;
    gap: 0.85rem;
    list-style: disc inside;
}

.drawer-menu.secondary {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.drawer-menu li {
    margin-left: 0.5rem;
}

.drawer-menu li a {
    display: block;
    padding: 0.95rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
}

.drawer-menu.secondary li a {
    background: transparent;
}

.header-right .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .header-topbar {
        grid-template-columns: auto 1fr auto;
    }

    .header-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .topbar-menu {
        display: none;
    }
}

@media (max-width: 720px) {
    .header-topbar {
        display: flex;
        justify-content: space-between;
    }

    .header-secondary {
        padding: 0.65rem 1rem;
    }

    .category-menu {
        overflow-x: auto;
        white-space: nowrap;
    }

    .category-menu li {
        display: inline-flex;
    }

    .category-menu a {
        white-space: nowrap;
    }
}

.category-menu {
    flex-wrap: wrap;
}

.category-menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-menu li {
    list-style: none;
}

.category-menu a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
}

.header-right .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    font-size: 0.75rem;
}

.site-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 4rem;
}

.error-404-page {
    max-width: 920px;
}

.error-404-card {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
}

.error-404-code {
    margin: 0;
    font-size: clamp(2.4rem, 8vw, 4.4rem);
    line-height: 1;
    font-weight: 800;
    color: var(--bg-blue);
}

.error-404-card h1 {
    margin: 0.4rem 0 0.6rem;
}

.error-404-text {
    margin: 0 auto;
    max-width: 620px;
    color: rgba(14, 32, 56, 0.78);
}

.error-404-actions {
    margin-top: 1rem;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.error-404-btn {
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    color: #1f2937;
    font-weight: 700;
}

.error-404-btn.is-primary {
    border-color: rgba(30, 115, 190, 0.35);
    background: rgba(30, 115, 190, 0.12);
    color: #0f3f76;
}

.error-404-search {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 89, 130, 0.12);
}

.error-404-search h2 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.error-404-search form {
    display: inline-flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
}

.single-article-page .article-layout,
.game-term-page .game-term-posts-inner {
    display: grid;
    grid-template-columns: 1.8fr 0.9fr;
    gap: 2.5rem;
}

.single-article-page .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.7rem;
}

.single-article {
    background: var(--text-light);
    border-radius: 30px;
    box-shadow: 0 32px 100px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.single-article-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: block;
}

.featured-image-figure {
    margin: 0;
    position: relative;
}

.article-cover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.6rem 1.8rem 1.2rem;
    background: linear-gradient(180deg, rgba(4, 10, 21, 0) 0%, rgba(4, 10, 21, 0.9) 80%);
}

.article-cover-overlay .single-article-title {
    margin: 0;
    color: #fff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.single-article-header {
    padding: 2.2rem 2rem 1.8rem;
}

.single-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.article-game-label {
    display: inline-block;
    color: var(--bg-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.article-game-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
    color: var(--bg-blue);
    font-size: 0.88rem;
}

.single-article-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
}

.single-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    color: rgba(15, 23, 42, 0.66);
    font-size: 0.95rem;
}

.single-article-content {
    padding: 0 2rem 2.5rem;
    line-height: 1.95;
    color: rgba(15, 23, 42, 0.88);
    font-size: 1rem;
}

.single-article-content p {
    margin-bottom: 1.3rem;
}

.related-articles {
    padding: 0 2rem 2rem;
}

.related-articles h2 {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.related-card {
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.related-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.related-card-body {
    padding: 1rem;
}

.related-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
}

.related-card-body p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-sidebar {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.game-sidebar-cover {
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 1rem;
}

.game-sidebar-cover img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.game-sidebar-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.game-sidebar-card-header {
    margin-bottom: 1.25rem;
}

.game-sidebar-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.game-sidebar-card h2 {
    margin: 0.75rem 0 0;
    font-size: 1.6rem;
    line-height: 1.15;
}

.game-sidebar-description {
    margin: 0 0 1.4rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.85;
}

.game-sidebar-meta {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.game-sidebar-meta li {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.game-sidebar-meta li strong {
    font-weight: 700;
}

.game-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 999px;
    background: var(--bg-blue);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.game-sidebar-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.game-term-hero {
    background: var(--text-light);
    padding: 2.5rem 0;
}

.game-term-hero-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-term-hero-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.game-term-hero-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-term-cover-featured {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

.game-term-cover-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.game-term-hero-content {
    padding: 1rem;
}

.game-term-hero-title {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.game-term-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    opacity: 0.8;
}

.game-term-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.game-term-badge {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-term-badge-hype {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(239, 68, 68, 0.16));
    color: #c2410c;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

.game-term-hero-description {
    margin-bottom: 1.5rem;
    color: rgba(15, 23, 42, 0.8);
    line-height: 1.85;
}

/* Info Cards Grid */
.game-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem;
    background: rgba(30, 115, 190, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(30, 115, 190, 0.1);
}

.info-card-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.6);
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.9);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    text-transform: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-blue);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(15,23,42,0.08);
    color: rgba(15,23,42,0.9);
}

@media (max-width: 1200px) {
    .game-term-hero-grid {
        grid-template-columns: 1fr;
    }
    .game-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.game-term-posts {
    padding: 2.5rem 0;
}

.game-term-posts-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-term-posts h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.section-subtitle {
    color: rgba(15, 23, 42, 0.68);
    margin-bottom: 1.5rem;
}

.game-term-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.game-term-post-card {
    background: var(--text-light);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.game-term-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 50px rgba(15, 23, 42, 0.12);
}

.post-card-image {
    position: relative;
    overflow: hidden;
    background: #f0f4f8;
    width: 100%;
    height: 200px;
}

.post-card-image img,
.post-card-image a {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.post-card-meta-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: rgba(30, 115, 190, 0.9);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-term-post-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-term-post-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.game-term-post-body h3 a {
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.game-term-post-card .post-read-more.game-term-post-read-more {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bg-accent);
}

.game-term-post-body h3 a:hover {
    color: var(--bg-blue);
}

.post-excerpt {
    margin: 0 0 1rem;
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.85rem;
    margin-top: auto;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.7);
}

.post-author img {
    border-radius: 50%;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-blue);
    color: var(--text-light);
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.read-more:hover {
    opacity: 0.9;
}

.no-posts-message {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    color: rgba(15, 23, 42, 0.6);
}

.game-term-gallery,
.game-term-videos {
    padding: 2rem 0 0;
}

.game-term-gallery-inner,
.game-term-videos-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Media Featured Section */
.game-term-media-featured {
    padding: 2.5rem 0;
    background: var(--bg-light);
}

.game-term-media-featured h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.game-gallery-grid,
.game-video-grid {
    display: grid;
    gap: 1rem;
}

.game-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-gallery-item {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.game-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

.game-video-card {
    border-radius: 20px;
    overflow: hidden;
    background: #141c2d;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    min-height: 260px;
}

/* Media collection styles */
.game-term-media-collection {
    padding: 2rem 0 0;
}
.media-gallery-grid,
.media-video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
}
.media-thumb {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.media-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}
.media-thumb .video-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.12));
    overflow: hidden;
}
.media-thumb .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-thumb .video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(12, 18, 32, 0.9);
    text-shadow: 0 1px 4px rgba(255,255,255,0.35);
}
.media-thumb .video-url-label {
    display: block;
    font-size: 0.75rem;
    text-align: center;
    color: #334155;
    padding: 0.35rem 0 0.25rem;
}

/* Lightbox modal */
.p4g-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(7, 12, 20, 0.78);
    z-index: 99999;
}
.p4g-lightbox.is-open { display: flex; }
.p4g-lightbox .lb-content {
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    background: transparent;
}
.p4g-lightbox img,
.p4g-lightbox iframe {
    width: 100%;
    max-height: 80vh;
    display: block;
}
.p4g-lightbox img {
    height: auto;
}
.p4g-lightbox iframe {
    aspect-ratio: 16 / 9;
    height: min(72vh, calc(92vw * 0.5625));
}
.p4g-lightbox .lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .media-gallery-grid, .media-video-grid { grid-template-columns: repeat(3, 1fr); }
}

.game-video-card iframe,
.game-video-card embed,
.game-video-card object {
    width: 100%;
    height: 100%;
}

@media (max-width: 1080px) {
    .game-gallery-grid,
    .game-video-grid {
        grid-template-columns: 1fr;
    }
}

.game-module-section {
    width: 100%;
    background: var(--bg-light);
    padding: 2rem 0 1.5rem;
}

.game-module-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.game-card {
    background: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.game-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.game-card-body {
    padding: 1.2rem 1.25rem 1.5rem;
}

.game-card-meta {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #1e73be;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.game-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    line-height: 1.35;
}

.game-card-body p {
    margin: 0;
    color: #526675;
    line-height: 1.7;
    font-size: 0.95rem;
}

.hero-fullpage {
    width: 100%;
    background: var(--bg-light);
    padding: 1.5rem 0 1.5rem;
}

.hero-fullpage-inner {
    max-width: 1600px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-intro-bar {
    text-align: center;
    margin: 0 auto 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.home-footer-quote {
    padding: 0.8rem 1rem 1.25rem;
}

.home-footer-quote .hero-intro-bar {
    margin-bottom: 0;
}

.footer-quote-share-form {
    margin-top: 0.7rem;
}

.footer-quote-share-btn {
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.24);
    background: rgba(20, 89, 130, 0.08);
    color: #1f2937;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    cursor: pointer;
}

.footer-quote-share-btn:hover {
    background: rgba(20, 89, 130, 0.16);
}

.hero-quote {
    display: inline-grid;
    flex-direction: column;
    gap: 0.4rem;
    max-width: min(980px, 95vw);
    padding: 1.05rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(255,255,255,0.72));
    border: 1px solid rgba(20, 89, 130, 0.15);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    justify-items: center;
}

.hero-quote-text {
    margin: 0;
    color: #0e2038;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.02rem, 2.2vw, 1.22rem);
    font-weight: 600;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 0 2rem;
    position: relative;
    text-align: center;
    max-width: 60ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-quote-author {
    color: #355477;
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
    position: relative;
    padding-top: 0.55rem;
}

.hero-quote-author::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(20, 89, 130, 0), rgba(20, 89, 130, 0.65), rgba(20, 89, 130, 0));
}

.hero-quote-text::before,
.hero-quote-text::after {
    position: absolute;
    top: -0.15rem;
    color: rgba(20, 89, 130, 0.3);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    line-height: 1;
}

.hero-quote-text::before {
    content: "“";
    left: 0;
}

.hero-quote-text::after {
    content: "”";
    right: 0;
}

.hero-article-module {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 2.4rem;
    width: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
    min-height: 460px;
}

.hero-main-card,
.hero-side-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-dark);
    color: var(--text-light);
}

.hero-main-card {
    min-height: 520px;
}

.hero-side-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    padding: 0.75rem 0 0.25rem;
    justify-content: space-between;
}

.hero-side-card {
    width: calc(50% - 1.2rem);
    min-height: 260px;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    display: block;
    padding: 0;
}

.hero-side-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-main-image,
.hero-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-side-card .hero-side-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.hero-main-meta,
.hero-side-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7,21,35,0.95) 85%);
}

.hero-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.45rem 0.85rem;
    background: var(--bg-blue);
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-main-meta h1,
.hero-side-meta h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.9rem, 2vw, 2.5rem);
    line-height: 1.08;
}

.hero-main-meta p {
    margin: 0;
    max-width: 620px;
    color: rgba(255,255,255,0.88);
}

.hero-side-meta span {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-side-meta h3 {
    margin: 0;
    font-size: 1.05rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading span {
    display: block;
    font-size: 0.8rem;
    color: #1e73be;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.news-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.9fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.news-main {
    display: grid;
    gap: 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: #0e2038;
    color: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card-body {
    padding: 1.5rem;
}

.post-card .post-category {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.95);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
}

.post-promo-code {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    margin: 0 0 0.7rem;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 88, 12, 0.26);
    background: rgba(251, 146, 60, 0.14);
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 700;
}

.post-game-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    color: var(--bg-blue);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.post-card h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
}

.post-card p {
    margin: 0.9rem 0 1.2rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.post-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.post-meta i {
    margin-right: 0.32rem;
    opacity: 0.85;
}

.post-views {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.post-views i {
    margin-right: 0.32rem;
    opacity: 0.85;
}

.news-sidebar {
    display: grid;
    gap: 1rem;
}

.post-card {
    background: #0e2038;
    color: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.post-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.post-card-body {
    padding: 1.25rem;
}

.post-card .post-category {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.95);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

.post-card h2 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.post-card p {
    margin: 0.8rem 0 1rem;
    color: rgba(255,255,255,0.75);
}

.post-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.meta-separator {
    color: rgba(255,255,255,0.3);
}

.blog-sidebar {
    display: grid;
    gap: 1rem;
}

.sidebar-panel {
    background: #1e73be;
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 24px;
}

.sidebar-live {
    background: linear-gradient(180deg, #0f2142 0%, #145982 100%);
}

.sidebar-live h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.streamer-live-player {
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-live.has-open-player .streamer-list {
    display: none;
}

.streamer-inline-player {
    margin-top: 0.2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.play4geek-ad-slot {
    margin: 1rem auto;
    display: block;
    max-width: 100%;
    text-align: center;
}

.play4geek-ad-label {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--muted-text);
}

.play4geek-ad-inner {
    display: inline-block;
    max-width: 100%;
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 0.4rem;
    background: var(--surface-panel);
    width: min(100%, 100%);
    overflow: hidden;
}

.play4geek-ad-slot iframe,
.play4geek-ad-slot img,
.play4geek-ad-slot ins {
    max-width: 100%;
}

.play4geek-ad-slot iframe,
.play4geek-ad-slot img {
    width: 100%;
    height: auto;
}

.play4geek-ad-slot ins {
    display: block;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .play4geek-ad-slot {
        margin: 0.85rem auto;
        width: min(100%, calc(100% - 1rem));
    }

    .play4geek-ad-inner {
        padding: 0.3rem;
        border-radius: 8px;
    }
}

@media (max-width: 560px) {
    .play4geek-ad-label {
        font-size: 0.62rem;
        letter-spacing: 0.09em;
    }

    .play4geek-ad-slot {
        width: calc(100% - 0.6rem);
    }
}

.ad-slot-under-header,
.ad-slot-above-footer {
    width: min(1200px, 100% - 2rem);
    margin-left: auto;
    margin-right: auto;
}

.ad-slot-sidebar {
    margin-top: 0.9rem;
}

.streamer-live-player.is-collapsed .streamer-live-embed,
.streamer-live-player.is-collapsed .streamer-live-stats {
    display: none;
}

.streamer-live-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
}

.streamer-live-select {
    width: 100%;
    min-height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    padding: 0.4rem 0.55rem;
    font-size: 0.86rem;
}

.streamer-live-toggle {
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.streamer-live-player-head strong {
    color: #fff;
}

.streamer-live-channel {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.streamer-live-channel img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.streamer-live-platform {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.streamer-live-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #060d18;
}

.streamer-live-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.streamer-live-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem 0.7rem;
}

.streamer-live-stats .streamer-status.is-live {
    color: #ff7b7b;
    font-weight: 700;
}

.streamer-viewers,
.streamer-viewers-inline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.86);
}

.streamer-item {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.streamer-item:last-child {
    border-bottom: none;
}

.streamer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.streamer-meta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.streamer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

.streamer-meta strong {
    font-size: 1rem;
}

.streamer-meta span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.streamer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.streamer-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 1rem 1rem 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.streamer-item.is-live {
    border-color: rgba(30, 115, 190, 0.3);
    background: linear-gradient(180deg, rgba(30, 115, 190, 0.12), rgba(255,255,255,0.04));
}

.streamer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.streamer-meta strong {
    color: #ffffff;
    font-size: 1rem;
}

.streamer-status {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.streamer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.streamer-info span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
}

.streamer-button,
.streamer-offline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.streamer-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.5rem 0.82rem;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.streamer-button {
    background: #1e73be;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
}

.streamer-button:hover {
    background: #1661a5;
}

.streamer-offline {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
}

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

.live-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.live-list li:last-child {
    border-bottom: none;
}

.live-list strong {
    font-size: 1rem;
}

.live-list span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.sidebar-newsletter h3 {
    margin-top: 0;
}

.sidebar-newsletter p {
    color: rgba(255,255,255,0.92);
}

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

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

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

.sidebar-highlight {
    background: linear-gradient(180deg, #145982 0%, #1e73be 100%);
}

.sidebar-panel h3 {
    margin-top: 0;
}

.sidebar-panel ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.sidebar-panel li {
    margin-bottom: 0.85rem;
}

.sidebar-panel:not(.sidebar-poll):not(.sidebar-hype-widget) li a {
    color: #ffffff;
    opacity: 0.95;
}

@media (max-width: 1080px) {
    .hero-article-module,
    .home-layout {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .header-topbar,
    .header-secondary,
    .site-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 720px) {
    .header-topbar,
    .header-secondary {
        flex-direction: row;
        align-items: center;
    }

    .header-left,
    .header-right {
        justify-content: flex-start;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-main-meta h1 {
        font-size: 1.6rem;
    }

    .hero-main-card,
    .hero-side-card {
        min-height: auto;
    }
}

.hero-intro {
    background: #ffffff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.hero-intro .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--bg-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-intro h2 {
    font-size: clamp(2rem, 2.4vw, 3.2rem);
    margin: 0 0 1rem;
    line-height: 1.05;
}

.hero-intro p {
    margin: 0;
    color: #4b5563;
}

.hero-highlights {
    display: grid;
    gap: 1rem;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: #111827;
    color: var(--text-light);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85));
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-content {
    position: relative;
    padding: 1.5rem;
    z-index: 1;
}

.hero-card-content span {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-card-content h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

.home-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.post-card,
.card-panel {
    background: #0e2038;
    color: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.post-card:hover,
.card-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
}

.post-card img,
.card-panel img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card h2,
.post-card h3,
.card-panel h3 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--text-light);
}

.post-card h3 a {
    color: var(--text-light);
}

.post-card p {
    margin: 0 0 1.1rem;
    color: rgba(255,255,255,0.82);
}

.post-card-body {
    padding: 1.5rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2.2fr 0.9fr;
    gap: 1.5rem;
}

.blog-sidebar {
    display: grid;
    gap: 1rem;
}

.sidebar-panel {
    background: #1e73be;
    color: var(--text-light);
    padding: 1.5rem;
}

.sidebar-panel h3,
.sidebar-panel h4 {
    margin-top: 0;
}

.sidebar-panel ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.sidebar-panel li {
    margin-bottom: 0.85rem;
}

.sidebar-panel:not(.sidebar-poll):not(.sidebar-hype-widget) li a {
    color: var(--text-light);
}

.sidebar-highlight {
    background: linear-gradient(180deg, #154b88 0%, #1e73be 100%);
}

.promo-section {
    margin-top: 2rem;
}

.promo-section h2 {
    margin-bottom: 1rem;
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.promo-card {
    background: #0e2038;
    color: var(--text-light);
    border-radius: 20px;
    padding: 1.5rem;
}

.promo-card h3 {
    margin-bottom: 0.75rem;
}

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

.site-footer a {
    color: var(--footer-text);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand-col {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
}

.footer-brand .custom-logo-link img,
.footer-brand img {
    max-height: 54px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-links-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links-menu li {
    margin: 0;
    list-style: none;
}

.footer-links a {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.9;
}

.footer-description {
    max-width: 760px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(247, 249, 252, 0.86);
}

.footer-social-col h4 {
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(247, 249, 252, 0.92);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--footer-text);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-social a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: rgba(247, 249, 252, 0.72);
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.76rem;
    opacity: 0.9;
}

.legal-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem 1rem 2.6rem;
}

.legal-page.legal-page-no-sidebar {
    display: block;
}

.legal-page-hero {
    margin-bottom: 1.2rem;
}

.legal-page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.legal-page-content {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    color: var(--text-dark);
    line-height: 1.75;
}

.legal-page-content h2,
.legal-page-content h3,
.legal-page-content h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.legal-page-content p,
.legal-page-content ul,
.legal-page-content ol {
    margin: 0.8rem 0;
}

.legal-page-content a {
    color: var(--bg-blue);
}

.single-article-excerpt {
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.76);
    line-height: 1.9;
}

.single-article-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.24rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 88, 12, 0.3);
    background: rgba(251, 146, 60, 0.14);
    color: #9a3412;
    font-weight: 700;
    margin: 0 0 0.9rem;
}

.single-article-promo-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.single-article-promo-bottom {
    margin: 1.6rem 0 1.2rem;
    padding: 1.15rem;
    border-radius: 18px;
    border: 1px dashed rgba(234, 88, 12, 0.45);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.16), rgba(254, 215, 170, 0.36));
    text-align: center;
}

.single-article-promo-bottom-label {
    margin: 0 0 0.55rem;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9a3412;
}

.single-article-promo-bottom-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0.5rem 1.25rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(234, 88, 12, 0.35);
    color: #7c2d12;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.single-article-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.9fr;
    gap: 2rem;
}

.single-article-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.article-sidebar {
    display: grid;
    gap: 1.5rem;
}

.sidebar-panel {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 24px;
}

.game-sidebar-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.game-sidebar-card-header {
    margin-bottom: 1.25rem;
}

.game-sidebar-card h2 {
    margin: 1rem 0 0.75rem;
    font-size: 1.55rem;
    line-height: 1.15;
}

.game-sidebar-meta li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}

.game-sidebar-card .game-sidebar-button {
    margin-top: 1.3rem;
}

.game-directory-page {
    padding: 2rem 0;
    overflow-x: hidden;
}

.game-directory-hero {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 2rem;
}

.game-directory-hero h1 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    margin: 0.85rem 0 0;
}

.game-directory-description {
    max-width: 860px;
    color: rgba(255,255,255,0.82);
    margin-top: 1rem;
    line-height: 1.85;
}

.game-directory-search {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(2, minmax(160px, 1fr)) auto;
    gap: 0.65rem;
    align-items: end;
}

.game-directory-search-field {
    display: grid;
    gap: 0.3rem;
}

.game-directory-search-field label {
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-directory-search-field input,
.game-directory-search-field select {
    min-height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(8, 20, 35, 0.5);
    color: #fff;
    padding: 0.35rem 0.55rem;
    width: 100%;
    min-width: 0;
}

.game-directory-search-actions {
    display: inline-flex;
    gap: 0.45rem;
}

.game-directory-search-actions button,
.game-directory-search-actions a {
    min-height: 38px;
    padding: 0.3rem 0.85rem;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.game-directory-search-actions button {
    background: var(--bg-blue);
    border-color: rgba(125, 211, 252, 0.4);
}

.game-directory-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.game-directory-count {
    margin: 0.8rem 0 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.84rem;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-link.is-active {
    background: var(--bg-blue);
    color: var(--text-light);
}

.game-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 185px));
    gap: 1rem;
    justify-content: start;
}

@media (max-width: 1024px) {
    .game-directory-hero,
    .game-directory-grid-wrapper {
        overflow-x: hidden;
    }

    .game-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
        justify-content: stretch;
    }
}

@media (max-width: 820px) {
    .game-directory-page {
        padding-left: 0;
        padding-right: 0;
    }

    .game-directory-hero {
        margin-left: 0;
        margin-right: 0;
        border-radius: 18px;
    }

    .game-directory-grid-wrapper {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        overflow-x: hidden;
    }

    .game-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.game-directory-card {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.18s ease;
}

.game-directory-card:hover {
    transform: translateY(-2px);
}

.game-directory-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent !important;
}

.game-directory-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px;
    display: block;
    background: #0f172a;
}

.game-directory-card-cover {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
}

.game-directory-card-cover::after {
    content: none;
}

.game-directory-card-content {
    padding: 0.5rem 0.2rem 0;
    background: transparent !important;
}

.game-directory-card h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: #0f172a;
    font-weight: 800;
}

@media (max-width: 640px) {
    .game-directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 160px));
        gap: 0.8rem;
    }

    .game-directory-card-cover {
        aspect-ratio: 2 / 3;
    }
}

.game-directory-release-date {
    margin: 0.22rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.76rem;
    color: rgba(15, 23, 42, 0.64);
    font-weight: 600;
}

.game-directory-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 24px;
    text-align: center;
    color: var(--text-dark);
}

.game-community-section {
    margin-top: 1.4rem;
}

.game-community-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.55rem;
}

.game-community-card {
    border: 0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.game-community-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.game-community-thumb {
    display: block;
    aspect-ratio: auto;
    background: transparent;
    overflow: hidden;
}

.game-community-thumb img {
    width: 100%;
    height: auto;
    object-fit: initial;
    display: block;
}

.game-community-card h3 {
    margin: 0;
    padding: 0.42rem 0.5rem 0.16rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.game-community-card p {
    margin: 0;
    padding: 0 0.5rem 0.5rem;
    font-size: 0.68rem;
    color: rgba(14, 32, 56, 0.66);
}

.post-card h3 a,
.hero-main-meta h1 a,
.hero-side-meta h3 a {
    color: var(--text-light);
}

.post-card p,
.hero-main-meta p,
.hero-side-meta span {
    color: rgba(255,255,255,0.8);
}

.game-term-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.game-term-details {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
    color: rgba(255,255,255,0.82);
}

.game-term-details span {
    display: block;
}

.game-sidebar-meta li span {
    color: rgba(255,255,255,0.85);
}

.game-image-preview img {
    max-width: 100%;
    border-radius: 14px;
    margin-top: 0.75rem;
}

.game-term-cover img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    margin-top: 1rem;
}

/* ============================================
   IMPROVED SINGLE ARTICLE DESIGN
   ============================================ */

/* Breadcrumb Navigation */
.article-breadcrumb {
    background: var(--text-light);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb-item {
    color: #6b7280;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: var(--bg-blue);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-separator {
    color: #d1d5db;
    margin: 0 0.25rem;
}

/* Featured Image with Caption */
.single-article-cover {
    margin-bottom: 2rem;
}

.featured-image-figure {
    margin: 0;
    position: relative;
}

.featured-image-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.image-caption {
    margin-top: 0.75rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Enhanced Article Header */
.single-article-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Game Tags with Icons */
.single-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.article-game-label {
    display: inline-block;
    color: var(--bg-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.article-game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
    color: var(--bg-blue);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.article-game-link:hover {
    background: rgba(30, 115, 190, 0.15);
    transform: translateY(-1px);
}

.game-icon {
    font-size: 1rem;
}

/* Title */
.single-article-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1.1;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Excerpt */
.single-article-excerpt {
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.76);
    line-height: 1.9;
}

/* New Author & Meta Bar */
.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    overflow: hidden;
    border: 3px solid var(--bg-blue);
}

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

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-name a {
    color: var(--bg-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-name a:hover {
    color: #1558a0;
    text-decoration: underline;
}

.article-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #6b7280;
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-item i {
    margin-right: 0.35rem;
    opacity: 0.8;
}

.stat-separator {
    color: #d1d5db;
}

/* Share Buttons Horizontal */
.share-buttons-horizontal {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-icon:hover {
    border-color: var(--bg-blue);
    color: var(--bg-blue);
    transform: translateY(-2px);
}

.share-icon svg {
    width: 20px;
    height: 20px;
}

.share-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-icon.twitter:hover {
    background: #000000;
    color: white;
}

.share-icon.linkedin:hover {
    background: #0a66c2;
    color: white;
}

.share-icon.copy-link:hover {
    background: var(--bg-blue);
    color: white;
}

/* Enhanced Article Content */
.single-article-content {
    padding: 2.5rem;
    line-height: 2;
    color: #374151;
    font-size: 1.05rem;
}

.single-article-content p {
    margin-bottom: 1.5rem;
}

.single-article-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.single-article-content h3 {
    margin: 1.5rem 0 0.85rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.single-article-content ul,
.single-article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-article-content li {
    margin-bottom: 0.75rem;
}

.single-article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 0.5rem;
    border-left: 4px solid var(--bg-blue);
    background: rgba(30, 115, 190, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.single-article-content blockquote p {
    margin: 0;
}

.single-article-content code {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #d32f2f;
}

.single-article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.single-article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.article-internal-links {
    margin: 0 2.5rem 2rem;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: #f3f8ff;
    border: 1px solid rgba(20, 89, 130, 0.14);
}

.article-internal-links h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.article-internal-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.article-internal-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: #fff;
    color: #134577;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-internal-link:hover,
.article-internal-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 115, 190, 0.45);
    box-shadow: 0 8px 18px rgba(20, 89, 130, 0.18);
    outline: none;
}

.article-internal-link.is-game {
    background: rgba(30, 115, 190, 0.09);
}

.article-internal-link.is-tag {
    font-weight: 500;
}

.single-article-content .wp-block-embed,
.single-article-content .wp-block-video,
.single-article-content .wp-video,
.single-article-content iframe,
.single-article-content video {
    width: 100% !important;
    max-width: 100% !important;
}

.single-article-content .wp-block-embed,
.single-article-content .wp-block-video {
    margin: 1.4rem 0;
}

.single-article-content .wp-block-embed__wrapper iframe,
.single-article-content iframe,
.single-article-content video {
    display: block;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    min-height: 520px;
    border: 0;
    border-radius: 12px;
}

/* Related Articles Section */
.related-articles {
    padding: 2.5rem;
    border-top: 2px solid #e5e7eb;
    margin-top: 2rem;
    background: var(--bg-light);
}

.related-articles-header {
    margin-bottom: 2rem;
}

.related-articles-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.related-articles-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px);
}

.related-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.related-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.related-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image-link img {
    transform: scale(1.05);
}

.related-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: var(--bg-blue);
    color: white;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.related-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.related-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-dark);
}

.related-card-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-card-body h3 a:hover {
    color: var(--bg-blue);
}

.related-card-excerpt {
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.related-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    gap: 1rem;
}

.related-card-date {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.read-more-link {
    color: var(--bg-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: #1558a0;
}

/* Associated game hero banner under article content */
.article-game-hero {
    margin: 1.25rem auto 0;
    width: min(940px, 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 89, 130, 0.16);
    background: linear-gradient(160deg, #0f1f39, #122747);
    color: #f2f7ff;
    position: relative;
    min-height: 220px;
}

.article-game-hero-score {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.88);
    z-index: 2;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.article-game-hero-score.is-high { background: #1faa5c; }
.article-game-hero-score.is-mid { background: #f5a623; }
.article-game-hero-score.is-low { background: #dd4b39; }

.article-game-hero.has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--article-game-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.62;
}

.article-game-hero.has-bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(6, 14, 27, 0.45), rgba(11, 27, 50, 0.64));
}

.article-game-hero-content {
    padding: 0.9rem 1rem;
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.article-game-hero-jacket {
    float: left;
    width: 88px;
    margin: 0 0.75rem 0.45rem 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 20px rgba(3, 10, 20, 0.28);
}

.article-game-hero-jacket img {
    width: 100%;
    height: 122px;
    object-fit: cover;
    display: block;
}

.article-game-hero-kicker {
    display: inline-flex;
    padding: 0.2rem 0.52rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.22);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-game-hero-content h2 {
    margin: 0.52rem 0 0.42rem;
    font-size: clamp(1.3rem, 2.1vw, 1.8rem);
    color: #fff;
}

.article-game-hero-content h2 a {
    color: inherit;
}

.article-game-hero-content p {
    margin: 0 0 0.62rem;
    color: rgba(236, 243, 255, 0.86);
    line-height: 1.62;
}

.article-game-hero-meta {
    margin: 0 0 0.75rem;
    padding: 0.7rem 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.article-game-hero-meta li {
    display: grid;
    grid-template-columns: minmax(88px, 1fr) auto;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.article-game-hero-meta li strong {
    color: rgba(229, 239, 255, 0.9);
}

.article-game-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    background: #ff8f5c;
    color: #2a1a22;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
}

.article-game-hero-btn:hover {
    background: #ffa776;
    color: #2a1a22;
}

/* Dedicated author card above article rating */
.article-author-box {
    margin: 1.25rem auto 0;
    width: min(940px, 100%);
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.9rem;
    align-items: center;
    background: #fff;
}

.article-author-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(30, 115, 190, 0.28);
}

.article-author-kicker {
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    color: rgba(14, 32, 56, 0.65);
}

.article-author-content h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.article-author-content p {
    margin: 0 0 0.45rem;
    color: rgba(14, 32, 56, 0.74);
}

.article-author-content a {
    font-weight: 700;
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--bg-blue);
    color: white;
}

.nav-previous a,
.nav-next a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.nav-arrow {
    display: block;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.nav-previous:hover .nav-arrow,
.nav-next:hover .nav-arrow {
    color: white;
}

/* Enhanced Sidebar */
.article-sidebar {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    align-self: start;
    position: sticky;
    top: 2rem;
}

.game-sidebar-card {
    background: linear-gradient(170deg, #3c1622, #4a1d2c 58%, #2e1220);
    color: var(--text-light);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 14px 34px rgba(22, 15, 24, 0.24);
    border: 1px solid rgba(255,255,255,0.08);
}

.game-sidebar-cover {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.game-sidebar-cover img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.game-sidebar-card-header {
    margin-bottom: 0.95rem;
}

.game-sidebar-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.2);
    color: #d8e8ff;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
}

.game-sidebar-card h2 {
    margin: 0.45rem 0 0;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 700;
}

.game-sidebar-card h2 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.game-sidebar-card h2 a:hover {
    color: #ff9b6f;
}

.game-sidebar-description {
    margin: 0 0 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-size: 0.88rem;
}

.game-sidebar-meta {
    margin: 0 0 1rem;
    padding: 0.85rem 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.game-sidebar-meta li {
    display: grid;
    grid-template-columns: 20px minmax(80px, 1fr) auto;
    align-items: center;
    gap: 0.48rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    padding: 0.14rem 0;
}

.game-sidebar-meta li .meta-label {
    color: rgba(237, 243, 255, 0.92);
    font-weight: 600;
}

.game-sidebar-meta li .meta-value {
    color: rgba(255, 255, 255, 0.92);
    text-align: right;
}

.meta-icon-small {
    font-size: 0.72rem;
    opacity: 0.9;
    color: rgba(255, 180, 139, 0.95);
}

.game-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    background: #ff8f5c;
    color: #2a1a22;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.78rem;
}

.game-sidebar-button:hover {
    background: #ffa776;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 143, 92, 0.25);
}

/* Newsletter Box */
.sidebar-newsletter {
    background: var(--sidebar-bg, linear-gradient(135deg, var(--bg-blue) 0%, #1558a0 100%));
    color: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 16px 48px rgba(30, 115, 190, 0.16);
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-newsletter h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-newsletter p {
    margin: 0 0 1.25rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.newsletter-form button:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

/* Article Rating Section */
.article-rating-section {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(30, 115, 190, 0.05) 100%);
    border: 1px solid rgba(30, 115, 190, 0.1);
    border-radius: 0;
    margin: 2rem 0;
    text-align: center;
}

.article-inline-widgets {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.article-inline-widget {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem;
}

.article-inline-widget .widget-title {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.rating-container {
    max-width: 600px;
    margin: 0 auto;
}

.rating-title {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.rating-subtitle {
    margin: 0 0 1.75rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.smiley-rating {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.smiley-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    font-family: inherit;
}

.smiley-btn:hover {
    border-color: var(--bg-blue);
    background: #f0f7ff;
    transform: translateY(-4px);
}

.smiley-btn.active {
    border-color: var(--bg-blue);
    background: var(--bg-blue);
    color: white;
}

.smiley-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.smiley-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.smiley-btn.active .smiley-label {
    color: white;
}

.rating-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    color: #065f46;
    font-weight: 600;
}

.rating-message p {
    margin: 0;
}

/* Responsive for Rating */
@media (max-width: 768px) {
    .article-rating-section {
        padding: 1.5rem;
    }

    .smiley-btn {
        min-width: 85px;
        padding: 0.75rem;
    }

    .smiley-emoji {
        font-size: 2rem;
    }

    .smiley-label {
        font-size: 0.8rem;
    }

    .rating-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .smiley-rating {
        gap: 0.75rem;
    }

    .smiley-btn {
        min-width: 70px;
        padding: 0.6rem;
    }

    .smiley-emoji {
        font-size: 1.8rem;
    }

    .smiley-label {
        font-size: 0.75rem;
    }
}

/* Responsive for Meta Bar */
@media (max-width: 768px) {
    .article-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .author-info {
        flex: 1;
        width: 100%;
    }

    .share-buttons-horizontal {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .article-meta-bar {
        padding: 1rem;
    }

    .author-avatar {
        width: 64px;
        height: 64px;
    }

    .article-stats {
        font-size: 0.85rem;
    }

    .share-buttons-horizontal {
        gap: 0.5rem;
    }

    .share-icon {
        width: 36px;
        height: 36px;
    }

    .share-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive layout for single article (tablet) */
@media (max-width: 1024px) {
    .single-article-page .article-layout {
        grid-template-columns: 1.6fr 0.95fr;
        gap: 2rem;
    }

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

    .article-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .single-article-page .article-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .single-article-cover img {
        max-height: 280px;
    }

    .article-cover-overlay {
        padding: 1rem 1rem 0.85rem;
    }

    .breadcrumb-wrapper {
        padding: 0 1rem;
    }

    .single-article-header {
        padding: 1.5rem;
    }

    .single-article-title {
        font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    }

    .single-article-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .article-share-buttons {
        gap: 0.75rem;
    }

    .single-article-content {
        padding: 1.5rem;
    }

    .article-internal-links {
        margin: 0 1.5rem 1.5rem;
        padding: 1rem;
    }

    .related-articles {
        padding: 1.5rem;
    }

    .single-article-page .single-article .single-article-comments {
        padding: 0 clamp(1.5rem, 5vw, 2.25rem) 1.5rem;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-game-hero {
        min-height: 200px;
    }

    .article-game-hero-score {
        width: 46px;
        height: 46px;
        font-size: 0.9rem;
    }

    .article-game-hero-jacket {
        width: 72px;
    }

    .article-game-hero-jacket img {
        height: 100px;
    }

    .article-author-box {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .article-sidebar {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .single-article-title {
        font-size: clamp(1.5rem, 2vw, 1.8rem);
    }

    .single-article-meta {
        flex-direction: column;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .article-share-buttons {
        flex-wrap: wrap;
    }

    .breadcrumb-wrapper {
        gap: 0.3rem;
        font-size: 0.85rem;
    }

    .single-article-content {
        padding: 1.1rem;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .single-article-content .wp-block-embed__wrapper iframe,
    .single-article-content iframe,
    .single-article-content video {
        min-height: 220px;
    }

    .single-article-page .article-sidebar .newsletter-form {
        grid-template-columns: 1fr;
    }

    .single-article-page .article-sidebar .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 1080px) {
    .hero-section,
    .home-layout,
    .blog-layout,
    .promo-cards,
    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .topbar,
    .main-navigation,
    .site-main {
        padding: 1rem;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .main-menu {
        justify-content: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .search-form-wrapper {
        min-width: auto;
    }
}

/* AJAX tabs for game sheets */
.game-term-tabs-section {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1.25rem 3rem;
}

.game-term-tabs-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.game-tab-button {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(17, 24, 39, 0.7);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.game-tab-button:hover {
    background: rgba(30, 115, 190, 0.18);
    border-color: rgba(30, 115, 190, 0.6);
}

.game-tab-button.is-active {
    background: linear-gradient(135deg, #1e73be, #145982);
    color: #fff;
    border-color: transparent;
}

.game-tabs-content {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
    min-height: 220px;
}

.game-tabs-content .tab-panel-content {
    margin-top: 0;
    padding-top: 0;
}

.game-tab-loading,
.game-tab-error {
    padding: 2rem 1.25rem;
    color: #e5e7eb;
    text-align: center;
}

.game-tab-error {
    color: #fecaca;
}

.media-video-section {
    margin-top: 2rem;
}

/* Pro redesign: game sheet */
.game-term-page {
    background: var(--bg-light);
}

.game-term-page .game-term-hero {
    background: transparent;
    padding-top: 2.75rem;
}

.game-term-page .game-term-hero-inner {
    max-width: 1280px;
}

.game-term-page .game-term-hero-grid {
    grid-template-columns: minmax(250px, 340px) 1fr;
    gap: 2rem;
    padding: 1.35rem;
    border-radius: 24px;
    border: 1px solid rgba(20, 89, 130, 0.16);
    background: linear-gradient(150deg, #ffffff, #f5f9ff);
    box-shadow: 0 24px 60px rgba(14, 32, 56, 0.12);
}

.game-term-page .game-term-cover-featured {
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.game-term-page .game-term-cover-featured img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.game-term-page .game-term-hero-content {
    padding: 0.25rem 0.5rem;
}

.game-term-page .game-term-label {
    color: var(--bg-accent);
    font-weight: 700;
}

.game-term-page .game-term-hero-title {
    color: var(--bg-dark);
    margin-top: 0.4rem;
    margin-bottom: 0.9rem;
}

.game-term-page .game-term-hero-description {
    color: rgba(14, 32, 56, 0.88);
    font-size: 1.03rem;
}

.game-term-page .game-term-badges {
    margin-bottom: 1rem;
}

.game-term-page .game-term-badge {
    background: rgba(20, 89, 130, 0.11);
    color: var(--bg-accent);
    border: 1px solid rgba(20, 89, 130, 0.2);
}

.game-term-page .game-term-badge-release {
    background: rgba(30, 115, 190, 0.12);
    color: var(--bg-blue);
}

.game-term-page .game-term-badge-hype {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(248, 113, 113, 0.16));
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.34);
}

.game-term-page .game-info-cards {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.game-term-page .info-card {
    background: #f9fcff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 16px;
}

.game-term-page .info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(20, 89, 130, 0.1);
    font-size: 1.2rem;
}

.game-term-page .info-label {
    color: rgba(14, 32, 56, 0.58);
}

.game-term-page .info-value {
    color: var(--bg-dark);
}

.game-term-page .game-term-tabs-section {
    max-width: 1280px;
    margin-top: 1.25rem;
    padding-bottom: 3.5rem;
}

.game-term-page .game-term-tabs-nav {
    gap: 0.6rem;
}

.game-term-page .game-tab-button {
    background: #ffffff;
    color: rgba(14, 32, 56, 0.8);
    border-color: rgba(20, 89, 130, 0.2);
}

.game-term-page .game-tab-button.is-active {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    box-shadow: 0 10px 28px rgba(30, 115, 190, 0.33);
}

.game-term-page .game-tabs-content {
    border-color: rgba(20, 89, 130, 0.18);
    background: #ffffff;
    box-shadow: 0 22px 52px rgba(14, 32, 56, 0.09);
}

.game-term-page .game-tabs-content h2,
.game-term-page .game-tabs-content h3 {
    color: var(--bg-dark);
}

.game-term-page .section-subtitle {
    color: rgba(14, 32, 56, 0.7);
}

.game-term-page .reviews-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.game-term-page .reviews-column {
    border: 1px solid rgba(20, 89, 130, 0.12);
    border-radius: 18px;
    background: #f9fcff;
    padding: 1rem;
}

.game-term-page .review-item {
    border: 1px solid rgba(20, 89, 130, 0.1);
    border-radius: 14px;
    background: #fff;
    padding: 0.95rem;
}

.game-term-page .review-header h3,
.game-term-page .review-header h3 a {
    font-size: 1rem;
    color: var(--bg-dark);
}

.game-term-page .review-rating {
    background: rgba(30, 115, 190, 0.12);
    color: var(--bg-blue);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-weight: 700;
}

.game-term-page .submit-review-section {
    margin-top: 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(20, 89, 130, 0.16);
    background: linear-gradient(145deg, #ffffff, #f3f8ff);
    padding: 1.2rem;
}

.game-term-page .review-form-header h3 {
    margin-bottom: 0.3rem;
}

.game-term-page .review-form-header p {
    margin: 0 0 1rem;
    color: rgba(14, 32, 56, 0.7);
}

.game-term-page .review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.game-term-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.game-term-page .form-group-full {
    grid-column: 1 / -1;
}

.game-term-page .submit-review-form label {
    font-size: 0.86rem;
    font-weight: 700;
    color: rgba(14, 32, 56, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.game-term-page .submit-review-form input,
.game-term-page .submit-review-form select,
.game-term-page .submit-review-form textarea {
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    background: #ffffff;
    color: var(--bg-dark);
}

.game-term-page .submit-review-form textarea {
    resize: vertical;
    min-height: 130px;
}

.game-term-page .submit-review-form input:focus,
.game-term-page .submit-review-form select:focus,
.game-term-page .submit-review-form textarea:focus {
    outline: none;
    border-color: rgba(30, 115, 190, 0.6);
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.16);
}

.game-term-page .review-form-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.game-term-page .review-form-note {
    font-size: 0.85rem;
    color: rgba(14, 32, 56, 0.66);
}

.game-term-page .btn-primary {
    border-radius: 12px;
    padding: 0.72rem 1.25rem;
}

@media (max-width: 980px) {
    .game-term-page .reviews-container,
    .game-term-page .review-form-grid {
        grid-template-columns: 1fr;
    }

    .game-term-page .game-term-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Game sheet model (no tab containers) */
.game-sheet-hero-inner,
.game-sheet-overview-inner,
.game-sheet-news-inner,
.game-sheet-reviews .game-term-reviews-inner,
.game-sheet-media .game-term-media-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.game-sheet-banner {
    min-height: 230px;
    border-radius: 16px;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 20px 45px rgba(8, 14, 29, 0.3);
    position: relative;
}

.game-sheet-pegi-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 74px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 18, 32, 0.55);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.game-sheet-pegi-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.game-sheet-banner-cover img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.game-sheet-banner-content .game-term-label,
.game-sheet-banner-content .game-term-hero-title {
    color: #fff;
}

.game-sheet-banner-content .game-term-badge {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.game-collection-form {
    margin-top: 0.45rem;
    display: grid;
    gap: 0.4rem;
    max-width: 320px;
}

.game-collection-panel {
    margin-top: 0.6rem;
    max-width: 360px;
}

.game-collection-summary {
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 14, 29, 0.56);
    color: #fff;
    min-height: 38px;
    padding: 0.35rem 0.62rem;
    border-radius: 11px;
    display: grid;
    gap: 0.2rem;
    cursor: pointer;
}

.game-collection-summary::-webkit-details-marker {
    display: none;
}

.game-collection-summary-main {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
}

.game-collection-summary-platforms {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.82);
}

.game-collection-platform-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
}

.game-collection-platform-select {
    min-height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 14, 29, 0.55);
    color: #fff;
    padding: 0.3rem 0.45rem;
}

.game-collection-platform-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.game-collection-platform-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(8, 14, 29, 0.55);
    color: #fff;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
}

.game-collection-platform-option input[type="checkbox"] {
    margin: 0;
}

.game-collection-owned-platform {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 700;
}

.game-collection-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    min-height: 34px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.game-collection-btn.is-in-collection {
    background: rgba(34, 197, 94, 0.24);
    border-color: rgba(34, 197, 94, 0.38);
}

.game-collection-btn:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.game-hype-form {
    margin-top: 0.55rem;
}

.game-hype-btn {
    border: 1px solid rgba(251, 146, 60, 0.58);
    background: rgba(251, 146, 60, 0.18);
    color: #fff;
    min-height: 34px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.game-hype-btn.is-active {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(248, 113, 113, 0.62);
}

.game-collection-remove-btn {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.55);
    color: #fff;
    min-height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.25rem 0.68rem;
    font-weight: 700;
}

.game-collection-notification {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(8, 14, 29, 0.52);
    color: #fff;
    max-width: min(calc(100vw - 28px), 420px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.game-collection-notification.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.game-collection-notification.is-success {
    background: rgba(22, 101, 52, 0.78);
    border-color: rgba(187, 247, 208, 0.4);
}

.game-collection-notification.is-error {
    background: rgba(127, 29, 29, 0.8);
    border-color: rgba(254, 202, 202, 0.45);
}

.game-collection-notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.76rem;
}

.game-collection-notification-text {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .game-collection-notification {
        top: 12px;
        right: 12px;
    }
}

.game-sheet-platform-icons {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.game-sheet-platform-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-height: 30px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
}

.game-sheet-platform-icon i {
    font-size: 0.88rem;
}

.game-sheet-platform-icons.is-compact {
    margin-top: 0.45rem;
    gap: 0.3rem;
    justify-content: center;
    width: 100%;
}

.game-sheet-platform-icons.is-compact .game-sheet-platform-icon {
    min-height: 24px;
    padding: 0.15rem 0.38rem;
    font-size: 0.68rem;
    border-color: rgba(20, 89, 130, 0.22);
    background: rgba(20, 89, 130, 0.08);
    color: var(--bg-dark);
}

.game-sheet-platform-icons.is-compact .game-sheet-platform-icon span {
    display: none;
}

.game-sheet-anchor-nav {
    margin-top: 0.8rem;
    background: linear-gradient(145deg, rgba(6, 12, 26, 0.95), rgba(12, 32, 58, 0.92));
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 14px;
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    box-shadow: 0 12px 30px rgba(5, 10, 24, 0.26);
}

.game-sheet-tab-link {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.45rem 0.68rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.game-sheet-tab-link.is-active {
    color: #fff;
    background: rgba(30, 115, 190, 0.3);
    border-color: rgba(125, 211, 252, 0.42);
}

.game-sheet-tab-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.game-sheet-tab-link i {
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .game-sheet-anchor-nav {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
}

.game-sheet-tab-panels {
    margin-top: 0.4rem;
}

.game-sheet-panel {
    display: none;
}

.game-sheet-panel.is-active {
    display: block;
}

.game-sheet-overview {
    margin-top: 1rem;
}

.game-sheet-overview-grid {
    background: var(--surface-card);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.4rem;
}

.game-sheet-description p {
    margin: 0;
    line-height: 1.7;
    color: rgba(14, 32, 56, 0.86);
}

.game-sheet-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(20, 89, 130, 0.16);
}

.game-sheet-meta-row span {
    color: rgba(14, 32, 56, 0.62);
    font-size: 0.9rem;
}

.game-sheet-meta-row strong {
    color: var(--bg-dark);
    text-align: right;
    font-size: 0.9rem;
}

.game-sheet-news {
    margin-top: 2rem;
}

.game-featured-test-card {
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: linear-gradient(145deg, #ffffff, #f3f8ff);
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 0.9rem;
    padding: 0.85rem;
}

.game-featured-test-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    min-height: 170px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
}

.game-featured-test-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-featured-test-score {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: rgba(8, 14, 29, 0.78);
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
}

.game-featured-test-score span {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.game-featured-test-score small {
    display: block;
    font-size: 0.68rem;
    opacity: 0.86;
}

.game-featured-test-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(14, 32, 56, 0.58);
}

.game-featured-test-body h3 {
    margin: 0 0 0.35rem;
    color: var(--bg-dark);
    font-size: 1.2rem;
    line-height: 1.3;
}

.game-featured-test-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.8);
    line-height: 1.65;
}

.game-featured-test-meta {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.game-featured-test-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
    font-size: 0.72rem;
    color: rgba(14, 32, 56, 0.72);
}

.game-featured-test-link {
    margin-top: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
}

@media (max-width: 820px) {
    .game-featured-test-card {
        grid-template-columns: 1fr;
    }

    .game-featured-test-thumb {
        min-height: 180px;
    }
}

.game-sheet-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-sheet-all-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-sheet-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.game-sheet-news-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(20, 89, 130, 0.14);
    overflow: hidden;
}

.game-sheet-news-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.game-sheet-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-sheet-news-content {
    padding: 0.8rem;
}

.game-sheet-news-content h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    line-height: 1.35;
}

.game-sheet-news-content p {
    margin: 0;
    color: rgba(14, 32, 56, 0.72);
    font-size: 0.86rem;
}

.game-related-section {
    margin-top: 1.5rem;
}

.game-related-section h3 {
    margin-bottom: 0.9rem;
    color: var(--bg-dark);
}

.game-related-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.game-related-card {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.game-related-link {
    display: block;
    text-align: center;
}

.game-related-thumb {
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0.35rem;
}

.game-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    border-radius: 8px;
}

.game-related-card h4 {
    margin: 0;
    padding: 0.6rem 0.55rem 0.75rem;
    font-size: 0.84rem;
    line-height: 1.35;
    color: var(--bg-dark);
}

.game-sheet-reviews,
.game-sheet-media {
    margin-top: 2rem;
}

.game-sheet-reviews .tab-panel-content,
.game-sheet-media .tab-panel-content {
    background: transparent;
}

@media (max-width: 1024px) {
    .game-sheet-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 820px) {
    .game-sheet-banner,
    .game-sheet-overview-grid {
        grid-template-columns: 1fr;
    }

    .game-featured-test-card {
        grid-template-columns: 1fr;
    }

    .game-sheet-banner-cover {
        max-width: 180px;
    }
}

@media (max-width: 640px) {
    .game-sheet-anchor-nav {
        flex-wrap: wrap;
        border-radius: 12px;
    }

    .game-sheet-news-grid {
        grid-template-columns: 1fr;
    }

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

/* Home critiques block */
.home-critiques-section {
    margin-top: 2rem;
    padding: 0 1rem 2rem;
}

.home-critiques-inner {
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(170deg, var(--bg-dark), #08172d);
    border: 1px solid rgba(30, 115, 190, 0.24);
    border-radius: 14px;
    padding: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-critique-column {
    background: var(--reviews-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.9rem;
}

.home-critique-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-critique-head h2 {
    color: #e8f1ff;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.home-critique-head a {
    color: rgba(214, 231, 255, 0.8);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-critique-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.home-critique-card {
    background: rgba(6, 17, 33, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 0.8rem;
    align-items: start;
}

.home-critique-media {
    position: relative;
}

.home-critique-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.3;
}

.home-critique-thumb {
    width: 112px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 14, 29, 0.8);
    display: block;
}

.home-critique-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-critique-score {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    color: var(--reviews-score-text);
    background: var(--reviews-score-bg);
    font-size: 1rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.home-critique-body h3 a {
    color: #f2f7ff;
}

.home-critique-body p {
    margin: 0;
    color: rgba(214, 231, 255, 0.76);
    font-size: 0.76rem;
    line-height: 1.45;
}

.home-critique-meta {
    margin-top: 0.45rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home-critique-meta span {
    font-size: 0.7rem;
    color: rgba(214, 231, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
}

.home-critique-cta {
    display: inline-flex;
    margin-top: 0.65rem;
    font-size: 0.86rem;
    font-weight: 600;
}

.home-critique-empty {
    color: rgba(214, 231, 255, 0.7);
    font-size: 0.85rem;
    margin: 0.35rem 0;
}

@media (max-width: 1100px) {
    .home-critiques-inner,
    .home-critique-grid {
        grid-template-columns: 1fr;
    }

    .home-critique-card {
        grid-template-columns: 96px 1fr;
    }

    .home-critique-thumb {
        width: 96px;
        height: 122px;
    }
}

/* Navigation pro: submenu + mega menu + no bullets */
.topbar-menu ul,
.category-menu,
.category-menu ul,
.drawer-menu,
.drawer-menu ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.category-menu-nav {
    width: 100%;
}

.category-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    position: relative;
}

.category-menu > li {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.topbar-menu > li {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.category-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.72rem;
    border-radius: 8px;
}

.topbar-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.topbar-menu .menu-item-has-children > a::after,
.category-menu .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 0.45rem;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.category-menu .sub-menu {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 220px;
    background: #0f1d33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.35rem;
    z-index: 60;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    transition: opacity 0.16s ease, transform 0.16s ease;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    pointer-events: none;
}

.topbar-menu .sub-menu {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 210px;
    background: #0f1d33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.35rem;
    z-index: 70;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    transition: opacity 0.16s ease, transform 0.16s ease;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    pointer-events: none;
}

.category-menu .sub-menu::before,
.topbar-menu .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.category-menu .sub-menu li a {
    display: block;
    padding: 0.5rem 0.62rem;
    border-radius: 7px;
    white-space: nowrap;
}

.topbar-menu .sub-menu li a {
    display: block;
    padding: 0.5rem 0.62rem;
    border-radius: 7px;
    white-space: nowrap;
}

.category-menu li:hover > .sub-menu,
.category-menu li:focus-within > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.topbar-menu li:hover > .sub-menu,
.topbar-menu li:focus-within > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.topbar-menu .menu-item-has-children:hover > a::after,
.topbar-menu .menu-item-has-children:focus-within > a::after,
.category-menu .menu-item-has-children:hover > a::after,
.category-menu .menu-item-has-children:focus-within > a::after {
    transform: rotate(225deg) translateY(1px);
    opacity: 1;
}

.category-menu .sub-menu .sub-menu {
    left: 100%;
    top: -2px;
}

/* Add "mega-menu" class on top-level item in WP menu */
.category-menu > li.mega-menu {
    position: static;
}

.category-menu > li.mega-menu > .sub-menu {
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
}

.category-menu > li.mega-menu:hover > .sub-menu,
.category-menu > li.mega-menu:focus-within > .sub-menu {
    visibility: visible;
    pointer-events: auto;
}

.category-menu > li.mega-menu > .sub-menu > li > a {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-menu {
    display: grid;
    gap: 0.25rem;
}

.drawer-menu li {
    position: relative;
}

.drawer-menu a {
    display: block;
    padding: 0.55rem 2rem 0.55rem 0.15rem;
}

.drawer-menu .menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.45rem;
}

.drawer-menu .menu-item-has-children > a {
    padding-right: 0.5rem;
}

.drawer-menu .sub-menu {
    display: none;
    margin-left: 0.6rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 0.6rem;
    grid-column: 1 / -1;
}

.drawer-menu li.is-open > .sub-menu {
    display: grid;
    gap: 0.15rem;
}

.submenu-toggle {
    position: static;
    width: 28px;
    height: 28px;
    margin-right: 0.15rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

/* Drawer submenu visual refinement */
.header-drawer .drawer-menu {
    gap: 0.5rem;
}

.header-drawer .drawer-menu > li > a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
}

.header-drawer .drawer-menu .menu-item-has-children > a {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.header-drawer .submenu-toggle {
    width: 32px;
    height: 32px;
    margin-right: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    font-size: 0.78rem;
}

.header-drawer .drawer-menu .sub-menu {
    margin-left: 0.45rem;
    padding-left: 0.55rem;
    border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.header-drawer .drawer-menu .sub-menu li > a {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.62rem 0.75rem;
    font-size: 0.82rem;
}

.header-drawer .drawer-menu li.is-open > .submenu-toggle {
    background: rgba(30, 115, 190, 0.28);
}

/* Drawer visual style inspired by editorial mockup */
.header-drawer .drawer-panel {
    width: min(370px, 92vw);
    padding: 0.7rem 0.8rem 1.35rem;
    background: linear-gradient(170deg, #031327, #041126 55%, #031022);
}

.header-drawer .drawer-topbar {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.header-drawer .drawer-close,
.header-drawer .drawer-theme-toggle {
    margin: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(236, 243, 255, 0.94);
}

.header-drawer .drawer-brand {
    margin: 0;
    display: grid;
    place-items: center;
}

.header-drawer .drawer-brand .custom-logo {
    max-height: 34px;
    width: auto;
}

.header-drawer .drawer-search {
    margin-bottom: 0.9rem;
}

.header-drawer .drawer-search-form {
    position: relative;
}

.header-drawer .drawer-search-input {
    width: 100%;
    min-height: 42px;
    border-radius: 9px;
    border: 1px solid rgba(95, 143, 191, 0.22);
    background: #ffffff;
    color: #1f2937;
    padding: 0.55rem 2.4rem 0.55rem 0.75rem;
    font-size: 0.95rem;
}

.header-drawer .drawer-search-input::placeholder {
    color: rgba(31, 41, 55, 0.72);
}

/* Force readable colors when browser autofill applies custom styling. */
.header-drawer .drawer-search-input:-webkit-autofill,
.header-drawer .drawer-search-input:-webkit-autofill:hover,
.header-drawer .drawer-search-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1f2937;
    box-shadow: 0 0 0 1000px #ffffff inset;
    transition: background-color 9999s ease-out 0s;
}

.header-drawer .drawer-search-submit {
    position: absolute;
    right: 0.3rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: rgba(236, 243, 255, 0.92);
    width: 30px;
    height: 30px;
}

.header-drawer .drawer-nav {
    gap: 0.48rem;
}

.header-drawer .drawer-menu > li {
    margin-left: 0;
}

.header-drawer .drawer-menu > li > a {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.34rem 0.1rem 0.24rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 1.02rem;
    font-weight: 800;
    color: #f1f6ff;
}

.header-drawer .drawer-menu .menu-item-has-children > a {
    border-radius: 0;
}

.header-drawer .submenu-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    color: rgba(108, 180, 255, 0.95);
}

.header-drawer .drawer-menu .sub-menu {
    margin-top: 0.08rem;
    margin-left: 0;
    padding-left: 0.72rem;
    border-left: 1px solid rgba(78, 163, 255, 0.35);
}

.header-drawer .drawer-menu .sub-menu li > a {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.45rem 0.3rem;
    font-size: 0.86rem;
    color: rgba(215, 232, 255, 0.95);
    text-transform: none;
    letter-spacing: 0;
    position: relative;
}

.header-drawer .drawer-menu .sub-menu li > a::before {
    content: "";
    position: absolute;
    left: -0.72rem;
    top: 50%;
    width: 0.58rem;
    height: 1px;
    background: rgba(78, 163, 255, 0.48);
}

.header-drawer .drawer-menu.secondary {
    padding-top: 0;
    border-top: 0;
}

.header-drawer .drawer-socials {
    margin-top: 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(78, 163, 255, 0.24);
    display: flex;
    justify-content: center;
    gap: 0.78rem;
}

.header-drawer .drawer-socials a {
    color: rgba(236, 243, 255, 0.9);
    font-size: 1.02rem;
}

/* Pro reviews page */
.pro-reviews-page {
    max-width: 1260px;
    margin: 0 auto;
    padding: clamp(1rem, 2.2vw, 1.8rem);
}

.pro-reviews-hero {
    margin-bottom: 1.2rem;
    padding: 1.12rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(128deg, #10243f 0%, var(--bg-dark) 45%, var(--bg-blue) 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.1rem;
    align-items: center;
    color: var(--text-light);
    box-shadow: 0 14px 32px rgba(11, 22, 39, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 132px;
}

.pro-reviews-hero::before {
    content: "";
    position: absolute;
    inset: -50% auto auto -12%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.pro-reviews-hero-copy {
    position: relative;
    z-index: 1;
}

.pro-reviews-hero-copy h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.2rem;
}

.pro-reviews-hero-copy h1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.pro-reviews-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin: 0 0 0.28rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.pro-reviews-hero h1 {
    margin: 0 0 0.32rem;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.pro-reviews-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    max-width: 56ch;
}

.pro-reviews-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pro-reviews-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.pro-reviews-filters a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
}

.pro-reviews-filters a.is-active {
    background: var(--bg-blue);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Recent articles header aligned with review hero */
.editorial-hero-heading {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.12rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(128deg, #10243f 0%, var(--bg-dark) 45%, var(--bg-blue) 100%);
    color: #fff;
    min-height: 132px;
}

.editorial-hero-heading::before {
    content: "";
    position: absolute;
    inset: -70% auto auto -18%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.recent-heading-main {
    position: relative;
    z-index: 1;
}

.recent-heading-main > span,
.recent-heading-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin: 0 0 0.3rem;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.recent-heading-main h2 {
    margin: 0 0 0.32rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.editorial-hero-heading h1 {
    margin: 0 0 0.32rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.recent-heading-main p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 56ch;
}

.recent-heading-cta {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.recent-heading-cta:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Front recent articles line header */
.recent-articles-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.news-main > .recent-articles-heading {
    margin-bottom: 0;
}

.recent-articles-heading h2 {
    margin: 0;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(14, 32, 56, 0.82);
    white-space: nowrap;
}

.recent-articles-head-line {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: var(--bg-blue);
    opacity: 0.9;
}

.recent-articles-heading .recent-heading-cta {
    border: 0;
    background: transparent;
    color: rgba(14, 32, 56, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
    white-space: nowrap;
}

.recent-articles-heading .recent-heading-cta:hover {
    color: var(--bg-dark);
    background: transparent;
}

.search-page-header {
    margin-bottom: 1rem;
}

.category-mag-hero {
    margin-bottom: 1rem;
}

.pro-review-featured {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.1rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 10px 24px rgba(15, 25, 43, 0.08);
}

.pro-review-featured-media {
    position: relative;
    padding: 0.85rem 0 0.85rem 0.85rem;
}

.pro-review-featured-thumb.home-critique-thumb {
    width: 148px;
    height: 186px;
    display: block;
}

.pro-review-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-review-featured-media .home-critique-score {
    right: -6px;
    top: -2px;
}

.pro-review-featured-body {
    padding: 0.95rem 1rem;
    display: grid;
    align-content: start;
}

.pro-review-featured-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.14);
    color: #123865;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pro-review-featured-body h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.2rem, 1.9vw, 1.7rem);
}

.pro-review-featured-body p {
    margin: 0 0 0.72rem;
    color: #51647c;
}

.pro-review-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.6rem;
}

.pro-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

/* Cartes liste archive : même logique que le bloc Critiques (jaquette + note) */
.pro-review-card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 6px 16px rgba(15, 25, 43, 0.06);
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.75rem;
}

.pro-review-media {
    position: relative;
}

.pro-review-thumb-link.home-critique-thumb {
    display: block;
}

.pro-review-thumb-link .pro-review-thumb-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(8, 14, 29, 0.85);
    color: rgba(232, 241, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0.35rem;
}

/* Pages dédiées (tests jeux / matériel / avis pro) : ancienne mise en page bannière */
.pro-review-thumb {
    display: block;
    aspect-ratio: 21 / 10;
    background: #dce6f0;
    position: relative;
    overflow: hidden;
}

.pro-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-review-thumb-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #4f5f73;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pro-review-body {
    padding: 0.78rem 0.82rem 0.85rem;
}

.pro-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.pro-review-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6a3d, #f9b233);
    color: #171b25;
    font-weight: 700;
}

.pro-review-image-score {
    position: absolute;
    right: 0.62rem;
    bottom: 0.62rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.pro-review-image-score.is-high {
    background: #1faa5c;
}

.pro-review-image-score.is-mid {
    background: #f5a623;
}

.pro-review-image-score.is-low {
    background: #dd4b39;
}

.pro-review-platform {
    opacity: 0.9;
    font-size: 0.8rem;
    color: #49586d;
}

.pro-review-body h2 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    line-height: 1.35;
}

.pro-review-body p {
    margin: 0 0 0.52rem;
    color: #586b82;
}

.pro-review-meta {
    margin-bottom: 0.5rem;
    color: #677b92;
    font-size: 0.82rem;
}

.pro-review-link {
    font-weight: 600;
    color: var(--bg-blue);
}

.pro-reviews-pagination {
    margin-top: 1.1rem;
}

.pro-reviews-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pro-reviews-pagination a,
.pro-reviews-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: #fff;
    color: var(--bg-accent);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pro-reviews-pagination a:hover,
.pro-reviews-pagination a:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 115, 190, 0.45);
    box-shadow: 0 10px 22px rgba(30, 115, 190, 0.2);
    outline: none;
}

.pro-reviews-pagination .current {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(16, 86, 156, 0.28);
}

@media (max-width: 980px) {
    .pro-reviews-hero {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: 0;
    }

    .recent-articles-heading,
    .editorial-hero-heading {
        min-height: 0;
    }

    .pro-reviews-filters {
        justify-content: flex-start;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 0.7rem;
    }

    .pro-review-featured {
        grid-template-columns: 1fr;
    }

    .pro-review-featured-media {
        display: flex;
        justify-content: center;
        padding: 0.85rem 0.85rem 0;
    }

    .pro-review-featured-thumb.home-critique-thumb {
        width: min(148px, 42vw);
        height: calc(min(148px, 42vw) * (140 / 112));
    }

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

@media (max-width: 620px) {
    .pro-reviews-grid {
        grid-template-columns: 1fr;
    }

    .pro-review-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.65rem;
    }
}

/* Global responsive pass */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1280px) {
    .hero-fullpage-inner,
    .news-grid,
    .home-critiques-inner,
    .home-releases-inner,
    .releases-page-grid,
    .single-review-page {
        max-width: 100%;
    }
}

@media (max-width: 980px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .header-topbar {
        gap: 0.5rem;
    }

    .header-right .social-links {
        display: none;
    }

    .header-secondary {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.2rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .header-secondary::-webkit-scrollbar {
        display: none;
    }

    .category-menu {
        flex-wrap: nowrap;
        width: auto;
        min-width: max-content;
        overflow-y: hidden;
    }

    .category-menu::-webkit-scrollbar {
        display: none;
    }

    .category-menu > li > .sub-menu,
    .category-menu > li.mega-menu > .sub-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: auto;
        transform: translateY(0);
    }

    .news-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-article-module {
        grid-template-columns: 1fr !important;
    }

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

    .home-critiques-inner {
        padding: 0.85rem;
    }
}

@media (max-width: 680px) {
    .header-brand .custom-logo {
        max-height: 34px;
        width: auto;
    }

    .topbar-menu {
        display: none;
    }

    .cards-grid,
    .home-critique-grid,
    .releases-page-grid {
        grid-template-columns: 1fr;
    }

    .post-card,
    .home-critique-card,
    .release-page-card {
        border-radius: 10px;
    }

    .single-review-page,
    .releases-page,
    .home-critiques-section,
    .home-releases-section {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .site-main {
        overflow-x: clip;
    }

    /* Home hero mobile: avoid text clipping/overlap */
    .hero-article-module {
        gap: 0.9rem;
    }

    .hero-main-card {
        min-height: 300px;
        border-radius: 18px;
    }

    .hero-side-grid {
        gap: 0.7rem;
        padding: 0;
    }

    .hero-side-card {
        width: calc(50% - 0.35rem);
        min-height: 120px;
        border-radius: 14px;
    }

    .hero-main-meta,
    .hero-side-meta {
        z-index: 2;
        padding: 0.75rem;
    }

    .hero-main-meta h1 {
        font-size: 1.02rem;
        line-height: 1.18;
        margin: 0 0 0.45rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-main-meta p {
        margin: 0;
        font-size: 0.86rem;
        line-height: 1.34;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-side-meta h3 {
        font-size: 0.88rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Search panel + Font Awesome icon integration */
.header-right .social-links a,
.footer-social a {
    font-size: 0.92rem;
}

.search-toggle i,
.header-right .social-links i,
.footer-social i {
    pointer-events: none;
}

.header-search-panel {
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 35, 0.58);
    z-index: 120;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 1rem 1rem;
}

.header-search-panel.is-open {
    display: flex;
}

.header-search-panel-inner {
    width: min(920px, 100%);
    background: #ffffff;
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(8, 14, 29, 0.24);
    padding: 0.8rem;
}

.header-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    align-items: center;
}

.header-search-input {
    width: 100%;
    border: 1px solid rgba(20, 89, 130, 0.23);
    border-radius: 10px;
    min-height: 46px;
    padding: 0 0.9rem;
    font-size: 1rem;
    color: var(--bg-dark);
}

.header-search-input:focus {
    outline: none;
    border-color: rgba(30, 115, 190, 0.66);
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.14);
}

.header-search-submit {
    min-height: 46px;
    min-width: 46px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    cursor: pointer;
}

.header-search-submit:hover {
    filter: brightness(1.05);
}

@media (max-width: 680px) {
    .header-search-panel {
        padding-top: 72px;
    }

    .header-search-panel-inner {
        border-radius: 12px;
        padding: 0.65rem;
    }

    .header-search-input {
        min-height: 42px;
        font-size: 0.95rem;
    }

    .header-search-submit {
        min-height: 42px;
        min-width: 42px;
    }
}

/* Search results page */
.search-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.1rem 1rem 2rem;
}

.search-page-header h1 {
    margin: 0;
}

.search-page-header p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.search-result-card {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.search-result-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-body {
    padding: 0.8rem;
}

.search-result-type {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    font-size: 0.72rem;
    color: var(--bg-accent);
}

.search-result-body h2 {
    margin: 0.5rem 0 0.35rem;
    font-size: 1.05rem;
}

.search-result-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.74);
}

.search-result-link {
    margin-top: 0.5rem;
    display: inline-block;
}

.search-pagination {
    margin-top: 1rem;
}

@media (max-width: 820px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Category magazine page */
.category-mag-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
}

.category-mag-hero {
    margin-bottom: 1rem;
}

.category-mag-hero-inner {
    background: linear-gradient(150deg, #0e2038, #145982);
    border-radius: 16px;
    padding: 1.2rem;
    color: #fff;
}

.category-mag-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: 0.82;
}

.category-mag-hero h1 {
    margin: 0;
    color: #fff;
}

.category-mag-hero p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.category-featured-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    overflow: hidden;
}

.category-featured-thumb {
    background: #0f172a;
    min-height: 320px;
}

.category-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-featured-body {
    padding: 1rem;
}

.category-featured-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(14, 32, 56, 0.62);
}

.category-featured-body h2 {
    margin: 0.45rem 0 0.55rem;
}

.category-featured-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.78);
}

.category-featured-link {
    margin-top: 0.7rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    padding: 0.35rem 0.8rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-mag-content {
    margin-top: 1rem;
}

.category-mag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.category-mag-card {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.category-mag-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.category-mag-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-mag-card-body {
    padding: 0.75rem;
}

.category-mag-card-date {
    font-size: 0.72rem;
    color: rgba(14, 32, 56, 0.62);
}

.category-mag-card-body h3 {
    margin: 0.35rem 0;
    font-size: 1rem;
}

.category-mag-card-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.74);
    font-size: 0.92rem;
}

.category-mag-pagination {
    margin-top: 1rem;
}

.category-mag-empty {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    padding: 1rem;
}

/* Newsletter block refinements */
.sidebar-newsletter {
    background: linear-gradient(150deg, #0e2038, #145982) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-discord {
    background: linear-gradient(145deg, #5865f2, #3a45b7) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eef2ff;
}

.sidebar-discord h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-discord-server {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.sidebar-discord-subtitle {
    margin: 0 0 0.55rem;
    font-size: 0.83rem;
    color: rgba(235, 240, 255, 0.9);
}

.sidebar-discord-meta {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
    color: rgba(235, 240, 255, 0.92);
}

.sidebar-discord-meta .is-online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.sidebar-discord-meta .is-online::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.sidebar-discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
}

.sidebar-discord-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.sidebar-discord-embed {
    margin-top: 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 12, 24, 0.36);
}

.sidebar-discord-embed iframe {
    display: block;
    border: 0;
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments {
    color: var(--text-dark);
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments ul.sidebar-recent-comments-list {
    margin-top: 0;
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments li.sidebar-recent-comments-item {
    margin-bottom: 0;
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments .sidebar-recent-comments-link {
    color: var(--text-dark);
}

.sidebar-recent-comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.sidebar-recent-comments-link {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.45rem;
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.16s ease;
}

.sidebar-recent-comments-link:hover {
    background: rgba(20, 89, 130, 0.08);
    color: var(--text-dark);
}

.sidebar-recent-comments-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

.sidebar-recent-comments-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-recent-comments-body {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.sidebar-recent-comments-author {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-recent-comments-text {
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.sidebar-recent-comments-post {
    font-size: 0.72rem;
    color: var(--muted-text);
}

.sidebar-recent-comments-empty {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-text);
}

.sidebar-poll {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.sidebar-poll h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-poll-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin: 0 0 0.6rem;
}

.sidebar-poll-nav-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bg-blue);
    text-decoration: none;
}

.sidebar-poll-nav-btn:hover {
    text-decoration: underline;
}

.sidebar-poll-nav-current {
    font-size: 0.78rem;
    color: var(--muted-text);
}

.sidebar-poll-nav-select-wrap {
    margin: 0 0 0.7rem;
}

.sidebar-poll-select-label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-poll-nav-select {
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
    color: var(--text-dark);
    font-size: 0.84rem;
    padding: 0.3rem 0.55rem;
}

.sidebar-poll-question {
    margin: 0 0 0.75rem;
    color: var(--muted-text);
    font-size: 0.94rem;
}

.sidebar-poll-form {
    display: grid;
    gap: 0.6rem;
}

.sidebar-poll-option {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.sidebar-poll-form button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--button-bg);
    color: var(--button-text);
    font-weight: 700;
}

.sidebar-poll-meta {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-poll-results-link,
.sidebar-poll-back-to-vote-btn {
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--bg-blue);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.sidebar-poll-results-link:hover,
.sidebar-poll-back-to-vote-btn:hover {
    text-decoration: underline;
}

.sidebar-poll-form-wrap.is-hidden,
.sidebar-poll-results-wrap.is-hidden {
    display: none;
}

.sidebar-poll-results {
    display: grid;
    gap: 0.55rem;
}

.sidebar-poll-result-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.sidebar-poll-result-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(20, 89, 130, 0.15);
    overflow: hidden;
}

.sidebar-poll-result-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
}

.sidebar-poll-total {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.sidebar-poll-back-to-vote {
    margin: 0.2rem 0 0;
}

.sidebar-hype-widget {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.2rem;
    color: var(--text-dark);
}

.sidebar-hype-widget h3 {
    margin: 0;
    padding: 0.7rem 0.8rem 0.25rem;
    color: var(--text-dark);
}

.sidebar-hype-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.sidebar-hype-item {
    margin: 0;
}

.sidebar-hype-link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem;
    border-radius: 12px;
    color: inherit;
    transition: background 0.16s ease;
}

.sidebar-hype-link:hover {
    background: rgba(20, 89, 130, 0.08);
}

.sidebar-hype-widget h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-hype-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

.sidebar-hype-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-hype-content {
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.sidebar-hype-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-hype-meta {
    font-size: 0.74rem;
    color: var(--muted-text);
}

.sidebar-hype-score {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.14rem 0.36rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 88, 12, 0.28);
    color: #c2410c;
    background: rgba(251, 146, 60, 0.16);
    font-size: 0.72rem;
    font-weight: 700;
}

.sidebar-hype-score.is-neutral {
    color: #4b5563;
    border-color: rgba(75, 85, 99, 0.22);
    background: rgba(148, 163, 184, 0.14);
}

.sidebar-newsletter h3,
.sidebar-newsletter p {
    color: #f2f8ff;
}

.sidebar-newsletter h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.newsletter-form input[type="email"] {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 0.75rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(242, 248, 255, 0.76);
}

.newsletter-form button {
    border: none;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #ff3f64, #ff6a8c);
    font-weight: 700;
}

.newsletter-feedback {
    margin-top: 0.55rem;
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
}

.newsletter-feedback.is-success {
    background: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
}

.newsletter-feedback.is-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fee2e2;
}

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

@media (max-width: 820px) {
    .category-featured-card,
    .category-mag-grid,
    .newsletter-form {
        grid-template-columns: 1fr;
    }
}

/* Ensure readable text on recent articles */
.news-section .post-card-body h3 a,
.news-section .post-card-body h2 a {
    color: var(--text-dark) !important;
}

.news-section .post-card .post-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    background: var(--badge-bg) !important;
    color: var(--badge-text) !important;
    border: 1px solid var(--badge-text) !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-section .post-card-body p,
.news-section .post-meta,
.news-section .post-meta span {
    color: var(--muted-text) !important;
}

.news-section .post-read-more {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--bg-accent);
}

.home-news-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Enhanced recent articles header */
.recent-heading-main p {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
}

@media (max-width: 820px) {
    .editorial-hero-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .recent-articles-heading {
        gap: 0.5rem;
    }

    .recent-articles-heading h2 {
        font-size: 0.86rem;
    }

    .recent-articles-head-line {
        height: 3px;
    }
}

/* Home articles layout switcher */
.news-section .cards-grid.is-horizontal {
    grid-template-columns: 1fr;
}

.news-section .cards-grid.is-horizontal .post-card {
    display: grid;
    grid-template-columns: minmax(190px, 260px) 1fr;
    align-items: stretch;
    min-height: 190px;
}

.news-section .cards-grid.is-horizontal .post-card-image {
    height: 100%;
}

.news-section .cards-grid.is-horizontal .post-card-image img {
    height: 100%;
    object-fit: cover;
}

.news-section .cards-grid.is-horizontal .post-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 820px) {
    .news-section .cards-grid.is-horizontal .post-card {
        grid-template-columns: 1fr;
    }
}

/* Blog/index pagination */
.blog-posts-header {
    margin-bottom: 1rem;
}

.blog-posts-header h1 {
    margin: 0 0 0.3rem;
}

.blog-posts-header p {
    margin: 0;
    color: rgba(14, 32, 56, 0.66);
}

.blog-pagination,
.category-mag-pagination,
.search-pagination {
    margin-top: 1.1rem;
}

.blog-pagination .nav-links,
.category-mag-pagination .nav-links,
.search-pagination .nav-links {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog-pagination .page-numbers,
.category-mag-pagination .page-numbers,
.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: #fff;
    color: var(--bg-accent);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.blog-pagination a.page-numbers:hover,
.blog-pagination a.page-numbers:focus-visible,
.category-mag-pagination a.page-numbers:hover,
.category-mag-pagination a.page-numbers:focus-visible,
.search-pagination a.page-numbers:hover,
.search-pagination a.page-numbers:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 115, 190, 0.45);
    box-shadow: 0 10px 22px rgba(30, 115, 190, 0.2);
    outline: none;
}

.blog-pagination .page-numbers.current,
.category-mag-pagination .page-numbers.current,
.search-pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(16, 86, 156, 0.28);
}

/* Front page upcoming releases */
.home-releases-section {
    padding: 0 1rem 1.35rem;
}

.home-releases-inner {
    max-width: 1600px;
    margin: 0 auto;
    background: #f6f9ff;
    border: 1px solid rgba(20, 89, 130, 0.13);
    border-radius: 12px;
    padding: 0.9rem;
}

.home-releases-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.7rem;
    gap: 0.75rem;
}

.home-releases-head h2 {
    margin: 0;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(14, 32, 56, 0.86);
    white-space: nowrap;
}

.home-releases-head-line {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: var(--bg-blue);
    opacity: 0.9;
}

.home-releases-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.home-releases-nav-btn {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: rgba(14, 32, 56, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

.home-releases-nav-btn:hover {
    background: rgba(20, 89, 130, 0.1);
    color: var(--bg-dark);
}

.home-releases-nav-btn.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.home-releases-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (5 * 0.7rem)) / 6);
    gap: 0.7rem;
    overflow-x: hidden;
    padding-bottom: 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.home-releases-track::-webkit-scrollbar {
    display: none;
}

.home-release-card {
    min-width: 0;
    scroll-snap-align: start;
}

@media (max-width: 980px) {
    .home-releases-track {
        grid-auto-columns: calc((100% - (4 * 0.7rem)) / 5);
    }
}

@media (max-width: 640px) {
    .home-releases-track {
        grid-auto-columns: calc((100% - (3 * 0.7rem)) / 4);
    }
}

@media (max-width: 420px) {
    .home-releases-track {
        grid-auto-columns: calc((100% - (2 * 0.7rem)) / 3);
    }
}

.home-release-card-link {
    display: block;
}

.home-release-thumb {
    border-radius: 9px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0;
    position: relative;
}

.home-release-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 9px;
}

.home-release-card h3 {
    margin: 0.4rem 0 0.2rem;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--bg-dark);
}

.home-release-card p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(14, 32, 56, 0.65);
}

.home-release-empty {
    margin: 0.4rem 0;
    color: rgba(14, 32, 56, 0.7);
}

@media (max-width: 680px) {
    .home-releases-head {
        gap: 0.45rem;
    }

    .home-releases-head h2 {
        font-size: 0.78rem;
    }

    .home-releases-head-line {
        height: 3px;
    }
}

/* Releases page */
.releases-page {
    padding: 0 1rem 2rem;
}

.releases-page-hero-inner,
.releases-page-grid {
    max-width: 1600px;
    margin: 0 auto;
}

.releases-page-hero {
    padding: 1rem 0 0.5rem;
}

.releases-page-hero h1 {
    margin-bottom: 0.4rem;
}

.releases-page-hero p {
    color: rgba(14, 32, 56, 0.7);
}

.releases-page-filters {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 0.65rem;
    align-items: end;
}

.releases-filter-field {
    display: grid;
    gap: 0.3rem;
}

.releases-filter-field label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(14, 32, 56, 0.72);
}

.releases-filter-field input,
.releases-filter-field select {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    background: #fff;
    color: var(--text-dark);
    padding: 0.35rem 0.55rem;
}

.releases-filter-actions {
    display: inline-flex;
    gap: 0.45rem;
}

.releases-filter-actions button,
.releases-filter-actions a {
    min-height: 38px;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
}

.releases-filter-actions button {
    background: var(--bg-blue);
    border-color: rgba(20, 89, 130, 0.2);
    color: #fff;
}

.releases-page-count {
    margin: 0.8rem 0 0;
    font-size: 0.85rem;
    color: rgba(14, 32, 56, 0.68);
}

.releases-page-grid-wrap {
    padding-top: 0.4rem;
}

.releases-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.9rem;
}

.release-page-card {
    border: 1px solid rgba(20, 89, 130, 0.15);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.release-page-card-link {
    display: block;
}

.release-page-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0;
}

.release-page-thumb-hype-badge {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff7ed;
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(255, 159, 64, 0.55);
    backdrop-filter: blur(2px);
}

.release-page-thumb-hype-badge i {
    color: #ff8b38;
}

.release-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    display: block;
}

.release-page-content {
    padding: 0.65rem;
}

.release-page-content h2 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
}

.release-page-date {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    color: rgba(14, 32, 56, 0.66);
}

.release-page-genre {
    display: inline-block;
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.72rem;
    color: var(--bg-accent);
}

.release-page-platforms {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.release-page-platforms span {
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 999px;
    padding: 0.12rem 0.44rem;
    font-size: 0.7rem;
    color: rgba(14, 32, 56, 0.74);
}

.release-page-empty {
    grid-column: 1 / -1;
    border: 1px dashed rgba(20, 89, 130, 0.25);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: rgba(14, 32, 56, 0.72);
}

@media (max-width: 980px) {
    .releases-page-filters,
    .game-directory-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .game-directory-search-field {
        min-width: 0;
    }
    .game-directory-search-actions {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .game-community-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .releases-page-filters,
    .game-directory-search {
        grid-template-columns: 1fr;
    }

    .releases-filter-actions,
    .game-directory-search-actions {
        width: 100%;
    }

    .releases-filter-actions button,
    .releases-filter-actions a,
    .game-directory-search-actions button,
    .game-directory-search-actions a {
        flex: 1;
    }

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

/* Single review full-width */
.single-review-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2.5rem;
}

.single-review-layout {
    display: grid;
    gap: 1rem;
}

.single-review-hero {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    background: linear-gradient(160deg, #0e2038, #102845);
    border: 1px solid rgba(30, 115, 190, 0.26);
    border-radius: 16px;
    padding: 1rem;
    color: #fff;
}

.single-review-rating {
    border: 3px solid var(--bg-blue);
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    min-height: 96px;
}

.single-review-rating-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.single-review-rating-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.single-review-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(232, 241, 255, 0.8);
}

.single-review-hero h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    color: #fff;
}

.single-review-verdict {
    margin: 0 0 0.6rem;
    color: rgba(232, 241, 255, 0.9);
}

.single-review-meta {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.single-review-meta span {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.16rem 0.55rem;
    font-size: 0.76rem;
    color: rgba(232, 241, 255, 0.9);
}

.single-review-game-link {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 0.9rem;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
    padding: 0.75rem;
}

.single-review-game-link img {
    width: 84px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.single-review-game-link span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(14, 32, 56, 0.58);
}

.single-review-game-link h2 {
    margin: 0.25rem 0 0;
    font-size: 1.1rem;
}

.single-review-content {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
    padding: 1.2rem;
    line-height: 1.8;
    color: rgba(14, 32, 56, 0.88);
}

.single-review-proscons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.single-review-list {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
    padding: 1rem;
}

.single-review-list.pros h3 {
    color: #177645;
}

.single-review-list.cons h3 {
    color: #b4233d;
}

.single-review-list h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.single-review-list ul {
    margin: 0;
    padding-left: 1.05rem;
}

.single-review-list li {
    margin-bottom: 0.4rem;
}

@media (max-width: 760px) {
    .single-review-hero,
    .single-review-proscons {
        grid-template-columns: 1fr;
    }

    .single-review-rating {
        min-height: 78px;
    }
}

/* Pro review layout overrides */
.single-review-page {
    max-width: 1180px;
}

.single-review-breadcrumb {
    font-size: 0.86rem;
    color: rgba(14, 32, 56, 0.64);
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.single-review-breadcrumb a {
    color: var(--bg-accent);
}

.single-review-hero {
    grid-template-columns: 112px 1fr;
    border-radius: 20px;
    padding: 1.25rem;
    background: linear-gradient(160deg, #0d1b32, #142e52 72%);
}

.single-review-cover {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 89, 130, 0.22);
    position: relative;
}

.single-review-cover img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    display: block;
}

.single-review-cover-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.05rem 1.1rem;
    background: linear-gradient(180deg, rgba(5, 12, 22, 0.05), rgba(5, 12, 22, 0.86) 68%);
    color: #fff;
}

.single-review-cover-overlay h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.1;
    color: #fff;
}

.single-review-cover-fallback {
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 16px;
    background: linear-gradient(160deg, #0d1b32, #142e52 72%);
    padding: 1rem 1.1rem;
}

.single-review-game-link {
    border-radius: 16px;
}

.single-review-game-content h2 {
    margin: 0.25rem 0 0.45rem;
}

.single-review-game-meta {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.single-review-game-meta span {
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.75rem;
    color: rgba(14, 32, 56, 0.74);
}

.single-review-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.single-review-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.single-review-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-height: 32px;
    padding: 0.2rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: rgba(20, 89, 130, 0.08);
    color: rgba(14, 32, 56, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
}

.single-review-highlight.rating.is-high {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.3);
    color: #166534;
}

.single-review-highlight.rating.is-mid {
    background: rgba(234, 179, 8, 0.16);
    border-color: rgba(234, 179, 8, 0.3);
    color: #92400e;
}

.single-review-highlight.rating.is-low {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

.single-review-content {
    border-radius: 16px;
    padding: 1.35rem;
}

.single-review-content > *:first-child {
    margin-top: 0;
}

/* Comments full width on single review (native + wpDiscuz) */
.single-review-page .comments-area,
.single-review-page #comments,
.single-review-page #wpdcom,
.single-review-page .wpdiscuz_unauth,
.single-review-page .wpd-thread-wrapper,
.single-review-page .wpd-comment-form-wrap,
.single-review-page .wpd-form-wrapper,
.single-review-page .wpd-thread-list,
.single-review-page .wpdiscuz-comment-form,
.single-review-page .wpdiscuz-comments {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.single-review-page #comments,
.single-review-page #wpdcom {
    margin-top: 1rem;
}

.single-review-page .comment-respond textarea,
.single-review-page .wpdiscuz-textarea-wrap textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Commentaires / wpDiscuz : restent dans la carte article (pas de débordement hors grille) */
.single-article-page .single-article .single-article-comments {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 0.35rem;
    /* Léger retrait par rapport aux bords de la carte article */
    padding: 0 clamp(1.75rem, 4vw, 3rem) 2rem;
    overflow-x: hidden;
}

/* wpDiscuz impose #wpdcom { max-width: 750px } — on étire jusqu’au bord du conteneur parent uniquement */
body.single-post .single-article-page .single-article .single-article-comments #comments {
    max-width: 100% !important;
    width: 100% !important;
    margin: 1rem 0 2rem !important;
    box-sizing: border-box;
}

body.single-post .single-article-page .single-article .single-article-comments #wpdcom,
body.single-post .single-article-page .single-article .single-article-comments #comments #wpdcom {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.single-article-page .single-article .single-article-comments .comments-area,
.single-article-page .single-article .single-article-comments #comments,
.single-article-page .single-article .single-article-comments #wpdcom,
.single-article-page .single-article .single-article-comments .wpdiscuz_unauth,
.single-article-page .single-article .single-article-comments .wpd-thread-wrapper,
.single-article-page .single-article .single-article-comments .wpd-comment-form-wrap,
.single-article-page .single-article .single-article-comments .wpd-form-wrapper,
.single-article-page .single-article .single-article-comments .wpd-thread-list,
.single-article-page .single-article .single-article-comments .wpdiscuz-comment-form,
.single-article-page .single-article .single-article-comments .wpdiscuz-comments {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.single-article-page .single-article .single-article-comments .comment-respond textarea,
.single-article-page .single-article .single-article-comments .wpdiscuz-textarea-wrap textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.single-review-subscores {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 89, 130, 0.18);
}

.single-review-subscores h3 {
    margin: 0 0 0.75rem;
    font-size: 1.02rem;
}

.single-review-subscores-grid {
    display: grid;
    gap: 0.65rem;
}

.single-review-subscore-item {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: rgba(20, 89, 130, 0.04);
}

.single-review-subscore-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.single-review-subscore-head strong {
    color: var(--bg-dark);
}

.single-review-subscore-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(20, 89, 130, 0.14);
    overflow: hidden;
}

.single-review-subscore-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1e73be, #38bdf8);
}

.single-review-summary {
    position: sticky;
    top: 90px;
    border: 1px solid rgba(20, 89, 130, 0.17);
    border-radius: 16px;
    background: #ffffff;
    padding: 1rem;
}

.single-review-summary h3 {
    margin: 0 0 0.35rem;
}

.single-review-summary-text {
    margin: 0 0 0.75rem;
    color: rgba(14, 32, 56, 0.78);
}

.single-review-summary-score {
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: rgba(20, 89, 130, 0.08);
}

.single-review-summary-score strong {
    color: var(--bg-dark);
    font-size: 1.28rem;
}

.single-review-summary-badge {
    margin: 0 0 0.65rem;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.16rem 0.58rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.single-review-summary-badge.is-high {
    background: rgba(34, 197, 94, 0.16);
    color: #166534;
}

.single-review-summary-badge.is-mid {
    background: rgba(234, 179, 8, 0.16);
    color: #92400e;
}

.single-review-summary-badge.is-low {
    background: rgba(239, 68, 68, 0.14);
    color: #991b1b;
}

.single-review-summary .single-review-list {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.single-review-summary .single-review-list h4 {
    margin: 0.7rem 0 0.45rem;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .single-review-main-grid {
        grid-template-columns: 1fr;
    }

    .single-review-summary {
        position: static;
    }
}

/* Single review dark mode */
body.theme-dark .single-review-breadcrumb {
    color: #96afd0;
}

body.theme-dark .single-review-breadcrumb a {
    color: #9fcfff;
}

body.theme-dark .single-review-cover,
body.theme-dark .single-review-game-link,
body.theme-dark .single-review-content,
body.theme-dark .single-review-summary {
    background: var(--surface-panel);
    border-color: var(--border-color);
}

body.theme-dark .single-review-cover-fallback {
    border-color: var(--border-color);
    background: linear-gradient(160deg, #0d1b32, #142e52 72%);
}

body.theme-dark .single-review-game-meta span {
    border-color: rgba(77, 163, 255, 0.26);
    color: #bdd5f5;
    background: rgba(77, 163, 255, 0.12);
}

body.theme-dark .single-review-highlight {
    background: rgba(77, 163, 255, 0.14);
    border-color: rgba(77, 163, 255, 0.26);
    color: #dbe8ff;
}

body.theme-dark .single-review-highlight.rating.is-high {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(74, 222, 128, 0.36);
    color: #bbf7d0;
}

body.theme-dark .single-review-highlight.rating.is-mid {
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(250, 204, 21, 0.36);
    color: #fde68a;
}

body.theme-dark .single-review-highlight.rating.is-low {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(248, 113, 113, 0.36);
    color: #fecaca;
}

body.theme-dark .single-review-summary-text {
    color: #bdd5f5;
}

body.theme-dark .single-review-summary-score {
    background: rgba(77, 163, 255, 0.16);
}

body.theme-dark .single-review-summary-score strong {
    color: #e8f3ff;
}

body.theme-dark .single-review-summary-badge.is-high {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
}

body.theme-dark .single-review-summary-badge.is-mid {
    background: rgba(234, 179, 8, 0.2);
    color: #fde68a;
}

body.theme-dark .single-review-summary-badge.is-low {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

body.theme-dark .single-review-subscores {
    border-top-color: rgba(77, 163, 255, 0.24);
}

body.theme-dark .single-review-subscore-item {
    background: rgba(77, 163, 255, 0.12);
    border-color: rgba(77, 163, 255, 0.22);
}

body.theme-dark .single-review-subscore-head {
    color: #dbe8ff;
}

body.theme-dark .single-review-subscore-head strong {
    color: #ffffff;
}

body.theme-dark .single-review-subscore-bar {
    background: rgba(191, 219, 254, 0.18);
}

/* Member space */
.member-space-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.2rem 1rem 2rem;
}

.member-messages-page {
    max-width: 1380px;
}

.member-space-hero {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(130deg, #10243f, #1e73be);
}

.member-space-hero h1 {
    margin: 0 0 0.35rem;
}

.member-space-hero p {
    margin: 0;
    color: rgba(239, 246, 255, 0.9);
}

.member-space-notice {
    margin: 0 0 1rem;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

.member-space-notice.is-success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.member-space-notice.is-error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
}

.member-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.member-space-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1rem;
}

.member-space-nav {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    padding: 0.9rem;
    align-self: start;
    position: sticky;
    top: 84px;
}

.member-space-nav h3 {
    margin: 0 0 0.6rem;
}

.member-space-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.member-space-nav a,
.member-nav-logout {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.8);
    background: transparent;
    border: 1px solid rgba(20, 89, 130, 0.14);
    text-align: left;
    cursor: pointer;
}

.member-space-nav a.is-active {
    background: rgba(30, 115, 190, 0.12);
    border-color: rgba(30, 115, 190, 0.35);
    color: var(--bg-blue);
}

.member-nav-logout {
    cursor: pointer;
}

.member-auth-card,
.member-profile-card {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    padding: 1.85rem 1.35rem 2rem;
    /* Texte lisible sur carte blanche (sans hériter du corps / thème sombre) */
    color: #1f2937;
}

.member-auth-card.is-active {
    border-color: rgba(30, 115, 190, 0.5);
}

.member-auth-card h2 {
    margin: 0 0 0.75rem;
    color: #111827;
}

.member-auth-form label:not(.member-auth-check) {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.member-auth-form,
.member-profile-form {
    display: grid;
    gap: 0.5rem;
}

.member-auth-form input[type="text"],
.member-auth-form input[type="email"],
.member-auth-form input[type="password"],
.member-profile-form input[type="text"],
.member-profile-form input[type="email"],
.member-profile-form input[type="password"],
.member-profile-form textarea {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    padding: 0.55rem 0.7rem;
    color: #111827;
}

.member-auth-form input::placeholder {
    color: #6b7280;
}

.member-profile-form textarea {
    min-height: 110px;
}

.member-about-consoles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.8rem;
}

.member-public-about {
    display: grid;
    gap: 0.6rem;
}

.member-public-about h3 {
    margin: 0.2rem 0 0;
}

.member-about-handles-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.member-about-handles-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.member-about-consoles-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.member-about-consoles-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    background: rgba(20, 89, 130, 0.08);
}

.member-banner-preview {
    width: 100%;
    max-width: 520px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    display: block;
}

.member-profile-form select {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    padding: 0.55rem 0.7rem;
    background: #fff;
}

.member-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.2rem;
    color: #374151;
}

.member-auth-check span {
    color: #374151;
}

.member-auth-form button,
.member-profile-form button:not(.member-composer-icon),
.member-logout-btn {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
    color: #fff;
    background: var(--bg-blue);
}

.member-profile-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.member-profile-avatar img {
    border-radius: 50%;
}

.member-profile-head h2 {
    margin: 0;
}

.member-profile-head p {
    margin: 0.2rem 0 0;
    color: rgba(14, 32, 56, 0.7);
}

.member-oauth-card {
    margin-bottom: 1rem;
}

.member-oauth-card h2 {
    margin: 0 0 0.4rem;
}

.member-oauth-intro {
    margin: 0 0 0.9rem;
    color: rgba(14, 32, 56, 0.7);
    font-size: 0.9rem;
    line-height: 1.45;
}

.member-oauth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

@media (max-width: 640px) {
    .member-oauth-grid {
        grid-template-columns: 1fr;
    }
}

.member-oauth-item {
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    background: rgba(246, 250, 255, 0.6);
}

.member-oauth-item h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.member-oauth-status {
    margin: 0 0 0.5rem;
    font-size: 0.86rem;
    color: rgba(14, 32, 56, 0.65);
}

.member-oauth-status.is-linked {
    color: rgba(14, 32, 56, 0.88);
    font-weight: 600;
}

.member-oauth-status.member-oauth-disabled {
    font-style: italic;
}

.member-oauth-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.35rem 0.85rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    background: var(--bg-blue);
    color: #fff !important;
}

.member-auth-linkline-oauth {
    margin-top: 0.6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.member-auth-linkline-oauth .member-oauth-connect-btn,
.member-auth-form .member-oauth-connect-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    align-self: stretch;
    min-height: 42px;
    justify-content: center !important;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(14, 32, 56, 0.12);
}

.member-auth-form .member-auth-linkline-oauth {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
}

.member-auth-panel .member-auth-form .member-auth-linkline-oauth {
    width: 100% !important;
    margin: 0.5rem 0 0 !important;
    justify-items: stretch !important;
}

.member-auth-panel .member-auth-form .member-auth-linkline-oauth .member-oauth-connect-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
}

.member-auth-form .member-oauth-connect-btn + .member-oauth-connect-btn {
    margin-top: 0.5rem;
}

.member-oauth-item .member-oauth-connect-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

.member-oauth-connect-btn.is-discord {
    background: #5865f2;
    border-color: #4d5add;
    color: #ffffff !important;
}

.member-oauth-connect-btn.is-discord:hover {
    background: #4f5bda;
    color: #ffffff !important;
    text-decoration: none;
}

.member-oauth-connect-btn.is-twitch {
    background: #9146ff;
    border-color: #7f3fe0;
    color: #ffffff !important;
}

.member-oauth-connect-btn.is-twitch:hover {
    background: #7f3ee0;
    color: #ffffff !important;
    text-decoration: none;
}

.member-oauth-disconnect-form {
    margin: 0;
}

.member-oauth-disconnect {
    min-height: 34px;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(20, 89, 130, 0.35);
    background: #fff;
    color: rgba(14, 32, 56, 0.85);
    font-weight: 600;
    cursor: pointer;
}

.member-space-content {
    min-width: 0;
}

.member-public-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.2rem 1rem 2rem;
}

.member-public-card {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    padding: 1rem;
}

.member-public-banner {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.9rem;
}

.member-public-head {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.member-public-avatar img {
    border-radius: 50%;
    width: 96px;
    height: 96px;
}

.member-public-head h1 {
    margin: 0 0 0.35rem;
}

.member-public-head p {
    margin: 0;
    color: rgba(14, 32, 56, 0.75);
}

.member-public-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.member-public-socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 36px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
}

.member-social-stats {
    display: flex;
    gap: 0.85rem;
    margin-top: 0.35rem;
    color: rgba(14, 32, 56, 0.7);
    font-size: 0.86rem;
}

.member-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.member-social-action-btn {
    border: 1px solid rgba(20, 89, 130, 0.24);
    background: #145982;
    color: #fff;
    border-radius: 999px;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
}

.member-social-action-btn.is-secondary {
    background: #fff;
    color: #145982;
}

.member-friend-requests {
    margin-top: 0.95rem;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.14);
    background: rgba(246, 250, 255, 0.95);
}

.member-friend-request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
}

.header-notifications {
    position: relative;
}

.header-notifications-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

.header-notifications-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #fff;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
}

.header-notifications-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    width: min(360px, 92vw);
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    z-index: 120;
    color: #0e2038;
}

.header-notifications-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(20, 89, 130, 0.1);
}

.header-notifications-head form button {
    border: 0;
    background: transparent;
    color: #145982;
    font-weight: 600;
    cursor: pointer;
}

.header-notifications-list {
    max-height: 320px;
    overflow: auto;
}

.header-notification-item {
    display: block;
    padding: 0.68rem 0.75rem;
    border-bottom: 1px solid rgba(20, 89, 130, 0.08);
}

.header-notification-item.is-unread {
    background: rgba(20, 89, 130, 0.06);
}

.header-notification-item small {
    display: block;
    margin-top: 0.2rem;
    color: rgba(14, 32, 56, 0.62);
}

.header-notifications-empty {
    margin: 0;
    padding: 0.75rem;
    color: rgba(14, 32, 56, 0.7);
}

.member-feed-composer {
    margin-top: 1rem;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 12px;
    padding: 0.8rem;
    background: rgba(246, 250, 255, 0.9);
}

.member-feed-composer h2 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.member-feed-video {
    margin-top: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.06);
    line-height: 0;
}

.member-feed-video iframe {
    width: 100%;
    display: block;
    border: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 200px;
}

.member-feed-video .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.member-feed-video .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    min-height: unset;
}

.member-feed-composer .member-profile-form textarea {
    border-radius: 14px;
    min-height: 110px;
    margin-bottom: 0.35rem;
}

.member-composer-tools {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.member-composer-icon {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    color: rgba(14, 32, 56, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.member-composer-icon:hover {
    background: #f6fbff;
    border-color: rgba(20, 89, 130, 0.32);
}

.member-composer-icon:focus-visible {
    outline: 2px solid rgba(20, 89, 130, 0.35);
    outline-offset: 2px;
}

.member-composer-file {
    display: none;
}

.member-gif-picker {
    display: none;
    margin-bottom: 0.45rem;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 10px;
    padding: 0.5rem;
    background: #fff;
}

.member-emoji-picker {
    display: none;
    margin-bottom: 0.45rem;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 10px;
    padding: 0.45rem;
    background: #fff;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.3rem;
}

.member-emoji-picker.is-open {
    display: grid;
}

.member-emoji-choice {
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 8px;
    background: #f6fbff;
    min-height: 36px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.member-emoji-choice:hover {
    background: #e8f3ff;
}

.member-gif-picker.is-open {
    display: block;
}

.member-gif-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    gap: 0.5rem;
}

.member-gif-picker-head strong {
    font-size: 0.86rem;
}

.member-gif-picker-search {
    width: 100%;
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    padding: 0.35rem 0.55rem;
    margin-bottom: 0.45rem;
}

.member-gif-picker-clear {
    border: 0;
    background: rgba(20, 89, 130, 0.08);
    border-radius: 999px;
    min-height: 30px;
    padding: 0 0.55rem;
    font-size: 0.78rem;
}

.member-gif-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
}

.member-gif-choice {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: #d9e8f4;
    cursor: pointer;
}

.member-gif-choice img {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: cover;
}

.member-gif-choice.is-selected {
    border-color: var(--bg-blue);
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.2);
}

.member-gif-picker-empty {
    margin: 0;
    grid-column: 1 / -1;
    font-size: 0.82rem;
    color: rgba(14, 32, 56, 0.68);
}

.member-gif-preview {
    display: none;
    margin-bottom: 0.45rem;
}

.member-gif-preview.is-visible {
    display: block;
}

.member-gif-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.member-media-upload-preview {
    display: none;
    margin: 0.5rem 0 0.65rem;
}

.member-media-upload-preview.is-visible {
    display: block;
}

.member-media-upload-preview img,
.member-media-upload-preview video {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: rgba(15, 23, 42, 0.04);
}

.member-messages-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1rem;
}

.member-messages-threads {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    padding: 0.75rem;
    background: #f8fbff;
}

.member-messages-threads h3 {
    margin: 0 0 0.6rem;
}

.member-messages-new {
    margin: 0 0 0.7rem;
}

.member-messages-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.38rem 0.72rem;
    border-radius: 9px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #ffffff;
    color: #1f2937;
    font-weight: 700;
}

.member-messages-new-btn:hover {
    background: #edf4ff;
}

.member-messages-thread-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.member-messages-thread-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.55rem;
    border-radius: 9px;
    border: 1px solid rgba(20, 89, 130, 0.14);
    color: #1f2937;
    background: #fff;
}

.member-messages-thread-main {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.member-messages-thread-avatar img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: block;
}

.member-messages-thread-avatar {
    position: relative;
    display: inline-flex;
}

.member-messages-thread-avatar.is-online::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    border: 2px solid #ffffff;
}

.member-messages-thread-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-messages-thread-name em {
    margin-left: 0.35rem;
    font-style: normal;
    font-size: 0.72rem;
    color: #6b7280;
}

.member-messages-thread-link.is-active {
    border-color: rgba(30, 115, 190, 0.35);
    background: rgba(30, 115, 190, 0.1);
}

.member-messages-thread-link.is-archived {
    opacity: 0.88;
}

.member-messages-thread-link strong {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    line-height: 20px;
    text-align: center;
    padding: 0 4px;
}

.member-messages-panel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.member-messages-conversation {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    padding: 0.85rem;
    background: #fbfdff;
}

.member-messages-conversation h3 {
    margin: 0 0 0.7rem;
}

.member-messages-presence {
    margin: -0.4rem 0 0.6rem;
    font-size: 0.8rem;
    color: #4b5563;
}

.member-messages-presence.is-typing {
    color: #1d4ed8;
    font-weight: 700;
}

.member-message-thread-actions {
    display: flex;
    gap: 0.5rem;
    margin: -0.15rem 0 0.7rem;
}

.member-message-thread-actions button {
    min-height: 34px;
    padding: 0.35rem 0.7rem;
    border-radius: 9px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    font-weight: 700;
    color: #1f2937;
}

.member-message-thread-actions button:hover {
    background: #edf4ff;
}

.member-message-thread-actions button.is-danger {
    border-color: rgba(185, 28, 28, 0.32);
    color: #b91c1c;
}

.member-messages-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 520px;
    overflow: auto;
    padding-right: 0.25rem;
}

.member-message-item {
    border: 1px solid rgba(20, 89, 130, 0.12);
    border-radius: 14px;
    padding: 0.6rem 0.7rem;
    background: #fff;
    max-width: min(78%, 560px);
    align-self: flex-start;
}

.member-message-item.is-mine {
    background: rgba(30, 115, 190, 0.14);
    border-color: rgba(30, 115, 190, 0.35);
    align-self: flex-end;
}

.member-message-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.35rem;
}

.member-message-author {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.member-message-author-avatar {
    position: relative;
    display: inline-flex;
}

.member-message-author img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: block;
}

.member-message-author-avatar.is-online::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    border: 2px solid #ffffff;
}

.member-message-head span {
    font-size: 0.78rem;
    color: #6b7280;
}

.member-message-item.is-mine .member-message-head span {
    color: rgba(30, 64, 175, 0.78);
}

.member-message-read-state {
    margin: 0.45rem 0 0;
    font-size: 0.74rem;
    color: #2563eb;
    font-weight: 700;
}

.member-message-item {
    position: relative;
}

.member-message-bubble-reactions {
    position: absolute;
    right: 0.5rem;
    bottom: -0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 80%;
}

.member-message-bubble-reaction {
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #ffffff;
    padding: 0.12rem 0.48rem;
    font-size: 0.96rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
    line-height: 1.1;
}

.member-message-bubble-reaction.is-mine {
    border-color: rgba(30, 115, 190, 0.42);
    background: #ffffff;
}

.member-message-bubble-reaction small {
    opacity: 0.75;
    font-size: 0.78rem;
}

.member-message-action-rail {
    position: absolute;
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.member-message-item.is-mine .member-message-action-rail {
    right: auto;
    left: -70px;
}

.member-message-react-toggle,
.member-message-hide-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    font-size: 0.9rem;
}

.member-message-react-toggle:hover,
.member-message-hide-btn:hover {
    background: #edf4ff;
}

.member-message-reaction-popover {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.35rem;
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
    z-index: 3;
}

.member-message-item.is-mine .member-message-reaction-popover {
    right: auto;
    left: 36px;
}

.member-message-reaction-popover.is-open {
    display: inline-flex;
}

.member-message-react-btn {
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #ffffff;
    border-radius: 999px;
    min-width: 34px;
    height: 34px;
    cursor: pointer;
    line-height: 1;
    font-size: 1.18rem;
}

.member-message-react-btn.is-mine {
    border-color: rgba(30, 115, 190, 0.45);
    background: rgba(30, 115, 190, 0.12);
}

.member-hidden-messages {
    margin-top: 0.9rem;
}

.member-hidden-messages details {
    border: 1px dashed rgba(20, 89, 130, 0.28);
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    background: rgba(255, 255, 255, 0.7);
}

.member-hidden-messages summary {
    cursor: pointer;
    font-weight: 700;
}

.member-hidden-messages-list {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.member-hidden-message-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 9px;
    padding: 0.4rem 0.5rem;
    background: #ffffff;
}

.member-hidden-message-item p {
    margin: 0.18rem 0 0;
    font-size: 0.82rem;
    color: #4b5563;
}

.member-message-unhide-btn {
    min-height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(30, 115, 190, 0.28);
    background: rgba(30, 115, 190, 0.08);
    color: #1e40af;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
}

.member-message-unhide-btn:hover {
    background: rgba(30, 115, 190, 0.16);
}

.member-message-item h4 {
    margin: 0 0 0.3rem;
    font-size: 0.94rem;
}

.member-message-body p {
    margin: 0.25rem 0;
}

.member-message-gif {
    margin: 0.5rem 0 0;
}

.member-message-image {
    margin: 0.5rem 0 0;
}

.member-message-image img {
    max-width: min(360px, 100%);
    border-radius: 10px;
    display: block;
}

.member-message-gif img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

.member-message-compose-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: -0.1rem;
}

#member-message-image {
    display: none;
}

#member-message-content {
    min-height: 88px;
    resize: none;
    overflow: hidden;
}

.member-message-image-preview {
    display: none;
    margin-top: 0.45rem;
}

.member-message-image-preview.is-visible {
    display: block;
}

.member-message-image-preview img {
    max-width: min(260px, 100%);
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(20, 89, 130, 0.18);
}

.member-message-recipient-suggest {
    position: relative;
    z-index: 5;
    margin-top: 0.15rem;
    max-height: 230px;
    overflow: auto;
}

.member-message-recipient-suggest .member-composer-suggest-item {
    width: 100%;
    justify-content: space-between;
}

.member-message-recipient-suggest .member-composer-suggest-item small {
    color: #6b7280;
    margin-left: 0.45rem;
    font-size: 0.78rem;
}

@media (max-width: 820px) {
    .member-message-item {
        max-width: 94%;
    }
}

.member-public-posts {
    margin-top: 1rem;
}

.member-public-posts h2 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.member-public-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.member-public-post-card {
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    background: rgba(248, 251, 255, 0.9);
}

.member-public-post-card a {
    font-weight: 600;
}

.member-public-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.member-public-tab {
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    padding: 0.3rem 0.72rem;
    font-weight: 700;
}

.member-public-tab.is-active {
    background: rgba(30, 115, 190, 0.14);
    border-color: rgba(30, 115, 190, 0.45);
    color: var(--bg-blue);
}

.member-public-tab-panel {
    display: none;
}

.member-public-tab-panel.is-active {
    display: block;
}

.member-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem;
}

.member-collection-card {
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(8, 20, 35, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(8, 20, 35, 0.12);
}

.member-collection-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.member-collection-thumb {
    display: block;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0;
}

.member-collection-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
}

.member-collection-card h3 {
    margin: 0;
    padding: 0.68rem 0.68rem 0.75rem;
    font-size: 0.92rem;
    line-height: 1.32;
}

.member-collection-platform {
    display: inline-flex;
    margin: 0 0.68rem 0.75rem;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.74rem;
    font-weight: 700;
}

@media (max-width: 680px) {
    .member-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
}

.member-feed-list {
    display: grid;
    gap: 0.75rem;
}

.member-feed-card {
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 12px;
    padding: 0.75rem;
    background: #fff;
}

.member-feed-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
    align-items: center;
}

.member-feed-author {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.member-feed-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.member-feed-author strong {
    display: block;
    line-height: 1.2;
}

.member-feed-author span {
    display: block;
}

.member-feed-type {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.46rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    font-size: 0.72rem;
    color: rgba(14, 32, 56, 0.68);
}

.member-feed-meta span {
    color: rgba(14, 32, 56, 0.66);
    font-size: 0.82rem;
}

.member-feed-content {
    color: rgba(14, 32, 56, 0.85);
}

.member-feed-shared-quote.hero-quote {
    width: 100%;
    max-width: 100%;
    justify-items: start;
    text-align: left;
    margin: 0.2rem 0 0.15rem;
    padding: 0.85rem 0.95rem;
}

.member-feed-shared-quote .hero-quote-text {
    padding: 0 1.5rem;
    text-align: left;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.member-feed-content a {
    color: rgba(20, 89, 130, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.member-feed-content a:hover {
    color: rgba(15, 70, 110, 1);
}

.member-feed-content a.member-mention {
    font-weight: 700;
    text-decoration: none;
    background: rgba(20, 89, 130, 0.1);
    padding: 0.05rem 0.25rem;
    border-radius: 6px;
}

.member-feed-content .member-mention.member-mention-everyone {
    display: inline-block;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(234, 88, 12, 0.14));
    color: rgba(91, 33, 182, 0.98);
    padding: 0.06rem 0.35rem;
    border-radius: 6px;
    border: 1px solid rgba(124, 58, 237, 0.35);
}

.member-composer-hint-mod {
    font-weight: 600;
    color: rgba(91, 33, 182, 0.92);
}

.member-feed-content a.member-hashtag {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    color: rgba(124, 58, 237, 0.98);
}

.member-feed-content a.member-hashtag:hover {
    color: rgba(91, 33, 182, 1);
    text-decoration: underline;
}

/* Renfort si class="member-hashtag" est absente après filtrage HTML */
.member-feed-content a[href*="keyword="] {
    font-weight: 700;
    color: rgba(124, 58, 237, 0.98);
    text-underline-offset: 2px;
}

.member-composer-hint {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    color: var(--muted-text);
    line-height: 1.35;
}

.member-composer-suggest {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    background: #fff;
    box-shadow: 0 12px 28px rgba(14, 32, 56, 0.14);
}

.member-composer-suggest[hidden] {
    display: none !important;
}

.member-composer-suggest-item {
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.86rem;
    color: rgba(14, 32, 56, 0.88);
}

.member-composer-suggest-item:hover,
.member-composer-suggest-item.is-active {
    background: rgba(20, 89, 130, 0.1);
}

.member-feed-media {
    margin-top: 0.65rem;
}

.member-feed-media img {
    width: 100%;
    border-radius: 10px;
}

.member-feed-gif img {
    max-height: 320px;
    object-fit: cover;
}

.member-feed-actions {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(20, 89, 130, 0.12);
    padding-top: 0.45rem;
}

.member-feed-actions form {
    margin: 0;
}

.member-feed-action {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(20, 89, 130, 0.08);
    color: rgba(14, 32, 56, 0.78);
    font-weight: 600;
}

.member-feed-action.is-active {
    background: rgba(30, 115, 190, 0.2);
    color: var(--bg-blue);
}

.member-post-manage {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.member-post-manage form {
    margin: 0;
}

.member-post-edit-form {
    display: none;
    margin-top: 0.55rem;
    gap: 0.45rem;
}

.member-post-edit-form.is-open {
    display: grid;
}

.member-post-edit-form textarea {
    min-height: 86px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    padding: 0.55rem 0.65rem;
}

.member-post-delete {
    background: rgba(153, 27, 27, 0.9) !important;
    color: #fff !important;
}

.member-feed-action.is-done {
    background: rgba(34, 197, 94, 0.2);
    color: #166534;
}

.member-share-wrap {
    position: relative;
}

.member-share-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(8, 20, 35, 0.16);
    padding: 0.35rem;
}

.member-share-menu a,
.member-share-menu .member-share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    border-radius: 7px;
    padding: 0;
    font-size: 0.95rem;
    text-decoration: none;
}

.member-share-menu a:hover,
.member-share-menu .member-share-copy:hover {
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
}

.member-comments-box {
    display: none;
    margin-top: 0.5rem;
    border-top: 1px dashed rgba(20, 89, 130, 0.16);
    padding-top: 0.5rem;
}

.member-comments-box.is-open {
    display: block;
}

.member-comments-list {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

.member-comment-item {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
}

.member-comment-item img {
    border-radius: 50%;
}

.member-comment-item strong {
    display: block;
    font-size: 0.85rem;
    line-height: 1.2;
}

.member-comment-item p {
    margin: 0.1rem 0 0;
    font-size: 0.9rem;
}

.member-comment-item .member-comments-list {
    margin-top: 0.4rem;
    margin-left: 0.6rem;
    padding-left: 0.55rem;
    border-left: 1px solid rgba(20, 89, 130, 0.2);
}

.member-comment-reply-action {
    margin-top: 0.2rem;
    border: 0;
    background: transparent;
    color: var(--bg-blue);
    font-size: 0.78rem;
    padding: 0;
}

.member-comment-form {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.member-comment-form input[type="text"] {
    flex: 1;
    min-width: 0;
    min-height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    padding: 0.42rem 0.58rem;
}

.member-comment-form button {
    min-height: 36px;
    border: 0;
    border-radius: 9px;
    padding: 0 0.72rem;
    background: var(--bg-blue);
    color: #fff;
    font-weight: 700;
}

.member-comment-reply-cancel {
    background: rgba(20, 89, 130, 0.08) !important;
    color: rgba(14, 32, 56, 0.78) !important;
}

@media (max-width: 640px) {
    .member-gif-picker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-emoji-picker {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.member-auth-trigger {
    min-height: 34px;
    border: 1px solid rgba(20, 89, 130, 0.3);
    background: #fff;
    border-radius: 999px;
    padding: 0 0.7rem;
    font-weight: 700;
    color: rgba(14, 32, 56, 0.86);
}

.member-auth-trigger.is-register {
    background: var(--bg-blue);
    color: #fff;
    border-color: var(--bg-blue);
}

.member-auth-shortcuts {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.member-auth-trigger.is-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.member-auth-trigger.is-icon i {
    font-size: 0.9rem;
    line-height: 1;
    pointer-events: none;
}

.drawer-member-menu .member-auth-trigger {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1100px) {
    .header-topbar {
        grid-template-columns: auto 1fr auto;
        gap: 0.65rem;
    }

    .header-left,
    .header-right {
        gap: 0.5rem;
    }

    .header-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .header-brand .custom-logo-link img,
    .header-brand .custom-logo {
        max-height: 44px;
        width: auto;
    }

    .header-right .social-links {
        display: none;
    }
}

@media (max-width: 760px) {
    .header-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 0.35rem;
        padding: 0.55rem 0.85rem;
        align-items: center;
    }

    .header-left,
    .header-right {
        display: inline-flex;
        min-width: 0;
        gap: 0.35rem;
        flex-wrap: nowrap;
        width: auto;
    }

    .header-right {
        justify-content: flex-end;
    }

    .header-brand {
        position: relative;
        left: auto;
        transform: none;
        justify-self: center;
    }

    .header-brand .custom-logo-link img,
    .header-brand .custom-logo {
        max-height: 36px;
        width: auto;
    }

    .member-auth-shortcuts {
        gap: 0.28rem;
    }

    .member-auth-trigger.is-icon,
    .search-toggle {
        width: 33px;
        min-width: 33px;
        height: 33px;
        min-height: 33px;
    }
}

.member-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(5, 14, 26, 0.62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.member-auth-modal.is-open {
    display: flex;
}

.member-auth-modal-panel {
    width: min(100%, 460px);
    background: #fff;
    /* Pas d’héritage du header (texte clair) : le panneau reste lisible sur fond blanc */
    color: #1f2937;
    border-radius: 16px;
    padding: 1.85rem 1.35rem 2rem;
    border: 1px solid rgba(20, 89, 130, 0.16);
    position: relative;
}

.member-auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.member-auth-logo img {
    max-height: 72px;
    width: auto;
    display: block;
}

.member-auth-logo .logo-mark {
    width: 34px;
    height: 34px;
}

.member-auth-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    border: 0;
    background: transparent;
    font-size: 1.15rem;
    line-height: 1;
    min-width: 34px;
    min-height: 34px;
    border-radius: 8px;
    color: #1f2937;
    z-index: 2;
}

.member-auth-modal-close:hover {
    background: rgba(20, 89, 130, 0.08);
}

.member-auth-tabs {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    padding-right: 2.5rem;
}

.member-auth-tab {
    flex: 1;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #f6f9fd;
    font-weight: 700;
    color: #1f2937;
}

.member-auth-tab.is-active {
    background: rgba(30, 115, 190, 0.14);
    border-color: rgba(30, 115, 190, 0.46);
    color: var(--bg-blue);
}

.member-auth-notice {
    margin: 0 0 0.7rem;
    border-radius: 8px;
    padding: 0.55rem 0.6rem;
    font-size: 0.9rem;
}

.member-auth-notice.is-success {
    background: rgba(22, 163, 74, 0.12);
    color: #14532d;
}

.member-auth-notice.is-error {
    background: rgba(220, 38, 38, 0.11);
    color: #7f1d1d;
}

.member-auth-panel {
    display: none;
}

.member-auth-panel.is-active {
    display: block;
}

.member-auth-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 0.75rem;
    align-items: center;
}

.member-auth-panel form > input[type="hidden"] {
    display: none;
}

.member-auth-panel form > input[type="text"],
.member-auth-panel form > input[type="email"],
.member-auth-panel form > input[type="password"],
.member-auth-panel form > button[type="submit"] {
    grid-column: 1 / -1;
}

.member-auth-panel input[type="text"],
.member-auth-panel input[type="email"],
.member-auth-panel input[type="password"] {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.24);
    padding: 0.45rem 0.62rem;
    color: #111827;
}

.member-auth-panel input::placeholder {
    color: #6b7280;
}

.member-auth-panel button[type="submit"] {
    min-height: 42px;
    border-radius: 10px;
    border: 0;
    background: var(--bg-blue);
    color: #fff;
    font-weight: 700;
}

.member-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    color: #374151;
    justify-self: start;
}

.member-auth-lost-link {
    font-size: 0.86rem;
    color: var(--bg-blue);
    text-decoration: none;
    justify-self: end;
}

.member-auth-lost-link:hover {
    text-decoration: underline;
}

.sitemap-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.sitemap-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem;
}

.sitemap-card h2 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
}

.sitemap-card ul {
    margin: 0;
    padding-left: 1rem;
}

.sitemap-card li + li {
    margin-top: 0.3rem;
}

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

.header-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.header-secondary .category-menu-nav {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
}

.header-secondary .category-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: max-content;
    scrollbar-width: none;
}

.header-secondary .category-menu li {
    flex: 0 0 auto;
}

.header-secondary .category-menu a {
    display: inline-flex;
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.1;
}

.header-tendances-shortcut a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.15rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-light);
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    opacity: 0.95;
}

.footer-tendances-band {
    background: #513628;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.footer-tendances-inner {
    max-width: 1400px;
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.footer-tendances-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: #f7f1ea;
    background: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.footer-tendances-pill.is-title {
    padding: 0.35rem 0.15rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.68rem;
    font-weight: 800;
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    color: #f7f1ea;
    opacity: 0.95;
}

.footer-tendances-nav {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding-right: 0.55rem;
    scroll-padding-right: 0.55rem;
}

.footer-tendances-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: visible;
    scrollbar-width: none;
    width: max-content;
    max-width: none;
    padding-right: 0.55rem;
}

.footer-tendances-menu::-webkit-scrollbar {
    display: none;
}

.footer-tendances-nav::-webkit-scrollbar {
    display: none;
}

.footer-tendances-menu li {
    margin: 0;
    list-style: none;
    flex: 0 0 auto;
}

.footer-tendances-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: #f7f1ea;
    background: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.1;
}

@media (max-width: 720px) {
    .header-secondary {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .header-secondary::-webkit-scrollbar {
        display: none;
    }

    .footer-tendances-inner {
        padding: 0.55rem 1rem;
    }
}

.member-og-list {
    display: grid;
    gap: 0.6rem;
}

.member-og-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 0.6rem;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.member-og-card-inline {
    margin-top: 0.35rem;
    text-decoration: none;
    color: inherit;
}

.member-og-thumb {
    display: block;
    background: #0c1b33;
}

.member-og-thumb img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
}

.member-og-body {
    padding: 0.6rem 0.65rem;
}

.member-og-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.member-og-body p {
    margin: 0 0 0.45rem;
    color: rgba(14, 32, 56, 0.74);
}

.member-og-site {
    font-size: 0.78rem;
    color: rgba(14, 32, 56, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-public-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.member-public-media-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.member-auth-linkline {
    margin: 0.35rem 0 0;
}

.member-auth-linkline a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bg-blue);
}

.member-auth-linkline a:hover {
    text-decoration: underline;
}

.member-privacy-requests {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(20, 89, 130, 0.12);
}

.member-privacy-requests h3 {
    margin: 0 0 0.35rem;
}

.member-privacy-requests p {
    margin: 0 0 0.55rem;
    color: rgba(14, 32, 56, 0.72);
}

.member-privacy-requests-actions {
    display: grid;
    gap: 0.45rem;
}

.member-privacy-danger {
    background: #991b1b !important;
}

.member-lost-card {
    margin-top: 1rem;
}

.member-space-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.member-space-link-profile {
    width: auto;
    height: 44px;
    border-radius: 999px;
    padding: 0 0.65rem 0 0.28rem;
    gap: 0.45rem;
    text-decoration: none;
}

.member-profile-menu {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: -6px;
}

.member-space-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.member-space-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.member-space-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-profile-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--bg-dark);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    display: none;
    z-index: 120;
}

.member-profile-submenu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.member-profile-submenu li {
    margin: 0;
}

.member-profile-submenu a {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
}

.member-profile-submenu a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.member-profile-menu:hover .member-profile-submenu,
.member-profile-menu:focus-within .member-profile-submenu {
    display: block;
}

.drawer-member-menu {
    margin-bottom: 0.35rem;
}

.drawer-member-menu > li > a {
    font-weight: 700;
}

@media (max-width: 760px) {
    .member-auth-grid,
    .member-space-layout {
        grid-template-columns: 1fr;
    }

    .member-messages-layout {
        grid-template-columns: 1fr;
    }

    .member-about-consoles-grid {
        grid-template-columns: 1fr;
    }

    .member-space-nav {
        position: static;
    }

    .member-profile-head {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .member-public-head {
        grid-template-columns: 1fr;
    }

    .member-public-posts-grid {
        grid-template-columns: 1fr;
    }

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

    .member-og-card {
        grid-template-columns: 1fr;
    }

    .member-space-link-profile {
        padding-right: 0.35rem;
    }

    .member-space-name {
        display: none;
    }

    .member-profile-submenu {
        right: auto;
        left: 0;
    }
}

/* Game pages responsive polish */
@media (max-width: 900px) {
    .game-sheet-hero-inner,
    .game-sheet-overview-inner,
    .game-sheet-news-inner,
    .game-sheet-reviews .game-term-reviews-inner,
    .game-sheet-media .game-term-media-inner {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .game-sheet-banner {
        padding: 1rem;
        grid-template-columns: 112px 1fr;
        gap: 0.9rem;
    }

    .game-sheet-banner-cover {
        max-width: 112px;
    }

    .game-sheet-pegi-badge {
        width: 56px;
        height: 72px;
        top: 10px;
        right: 10px;
    }

    .game-collection-panel,
    .game-collection-form {
        max-width: 100%;
    }

    .game-sheet-meta-row {
        gap: 0.7rem;
    }

    .game-directory-hero {
        border-radius: 18px;
        padding: 1.4rem 0.9rem;
        margin-bottom: 1.1rem;
    }

    .game-directory-filter {
        gap: 0.45rem;
        margin-top: 1rem;
    }

    .filter-link {
        min-width: 38px;
        padding: 0.45rem 0.7rem;
        font-size: 0.78rem;
    }
}

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

    .game-sheet-banner-cover {
        max-width: 150px;
    }

    .game-sheet-anchor-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.32rem;
    }

    .game-sheet-tab-link {
        white-space: nowrap;
        min-width: max-content;
        font-size: 0.78rem;
        padding: 0.42rem 0.62rem;
    }

    .game-sheet-meta-row {
        grid-template-columns: 1fr;
        gap: 0.14rem;
    }

    .game-sheet-meta-row span,
    .game-sheet-meta-row strong {
        text-align: left;
    }

    .home-releases-track {
        grid-auto-columns: 96px;
        gap: 0.55rem;
    }

    .releases-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .release-page-content {
        padding: 0.55rem;
    }

    .release-page-content h2 {
        font-size: 0.86rem;
    }

    .game-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.68rem;
    }

    .game-directory-card h2 {
        font-size: 0.9rem;
    }

    .game-community-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }
}

@media (max-width: 420px) {
    .home-releases-track {
        grid-auto-columns: 88px;
    }

    .releases-page-grid {
        grid-template-columns: 1fr;
    }

    .game-directory-grid,
    .member-collection-grid {
        grid-template-columns: 1fr;
    }

    .game-collection-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* Front page dark mode text contrast fixes */
body.theme-dark .recent-articles-heading h2,
body.theme-dark .recent-articles-heading .recent-heading-cta,
body.theme-dark .home-releases-head h2,
body.theme-dark .home-release-card h3,
body.theme-dark .home-critique-body h3 a,
body.theme-dark .home-critique-meta,
body.theme-dark .home-critique-empty {
    color: #dbe8ff;
}

body.theme-dark .recent-articles-heading .recent-heading-cta:hover,
body.theme-dark .home-release-card-link:hover h3,
body.theme-dark .home-critique-body h3 a:hover {
    color: #ffffff;
}

body.theme-dark .recent-articles-head-line,
body.theme-dark .home-releases-head-line {
    background: #4da3ff;
}

body.theme-dark .home-releases-inner {
    background: var(--surface-panel);
    border-color: var(--border-color);
}

body.theme-dark .home-release-card p,
body.theme-dark .home-release-empty,
body.theme-dark .home-critique-body p {
    color: #9fb5d3;
}

body.theme-dark .home-releases-nav-btn {
    color: #bdd5f5;
}

body.theme-dark .home-releases-nav-btn:hover {
    background: rgba(77, 163, 255, 0.16);
    color: #ffffff;
}

body.theme-dark .news-section .post-read-more {
    color: #8fc7ff !important;
}

body.theme-dark .news-section .post-read-more:hover {
    color: #ffffff !important;
}

/* Single article dark mode polish */
body.theme-dark.single-post .single-article-page,
body.theme-dark.single-post .single-article {
    color: #dbe8ff;
}

body.theme-dark.single-post .article-breadcrumb,
body.theme-dark.single-post .single-article-header,
body.theme-dark.single-post .single-article-content,
body.theme-dark.single-post .article-internal-links,
body.theme-dark.single-post .related-articles,
body.theme-dark.single-post .article-author-box,
body.theme-dark.single-post .article-rating-section,
body.theme-dark.single-post .article-navigation,
body.theme-dark.single-post .nav-previous,
body.theme-dark.single-post .nav-next {
    background: var(--surface-panel);
    border-color: var(--border-color);
}

body.theme-dark.single-post .breadcrumb-item,
body.theme-dark.single-post .single-article-excerpt,
body.theme-dark.single-post .article-stats,
body.theme-dark.single-post .single-article-content p,
body.theme-dark.single-post .single-article-content li,
body.theme-dark.single-post .related-articles-subtitle,
body.theme-dark.single-post .related-card-excerpt,
body.theme-dark.single-post .related-card-date,
body.theme-dark.single-post .article-author-kicker,
body.theme-dark.single-post .article-author-content p,
body.theme-dark.single-post .nav-arrow,
body.theme-dark.single-post .rating-subtitle {
    color: #9fb5d3;
}

body.theme-dark.single-post .single-article-title,
body.theme-dark.single-post .single-article-content h2,
body.theme-dark.single-post .single-article-content h3,
body.theme-dark.single-post .single-article-content h4,
body.theme-dark.single-post .article-internal-links h2,
body.theme-dark.single-post .related-articles-header h2,
body.theme-dark.single-post .related-card-body h3,
body.theme-dark.single-post .related-card-body h3 a,
body.theme-dark.single-post .article-author-content h3,
body.theme-dark.single-post .rating-title,
body.theme-dark.single-post .article-navigation a {
    color: #eaf3ff;
}

body.theme-dark.single-post .single-article-content blockquote {
    background: #0f2745;
    border-left-color: #4da3ff;
}

body.theme-dark.single-post .single-article-content code {
    background: #0f2745;
    color: #d9e9ff;
}

body.theme-dark.single-post .single-article-content pre {
    background: #08172b;
    color: #d9e9ff;
    border: 1px solid #1f3d63;
}

body.theme-dark.single-post .article-internal-link {
    background: #0f2745;
    color: #dbe8ff;
    border-color: #2a4f7a;
}

body.theme-dark.single-post .related-card {
    background: #10233f;
    border: 1px solid rgba(77, 163, 255, 0.18);
    box-shadow: 0 10px 26px rgba(2, 8, 20, 0.35);
}

body.theme-dark.single-post .related-card-footer {
    border-top-color: rgba(77, 163, 255, 0.2);
}

body.theme-dark.single-post .read-more-link {
    color: #8fc7ff;
}

body.theme-dark.single-post .read-more-link:hover {
    color: #ffffff;
}

.back-to-top-btn {
    position: fixed;
    right: 18px;
    bottom: 84px;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(20, 89, 130, 0.28);
    border-radius: 999px;
    background: rgba(20, 89, 130, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(7, 16, 32, 0.3);
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.back-to-top-btn i {
    font-size: 1.28rem;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--bg-accent);
}

@media (max-width: 640px) {
    .back-to-top-btn {
        width: 54px;
        height: 54px;
        right: 12px;
        bottom: 72px;
    }
}

/* Keep reCAPTCHA visible but less intrusive near floating actions. */
.grecaptcha-badge {
    bottom: 10px !important;
    right: 10px !important;
    z-index: 9997;
    transform: scale(0.92);
    transform-origin: right bottom;
}

/* Review front layout refresh */
.pro-reviews-page {
    max-width: 1320px;
    padding: clamp(1rem, 2.5vw, 2rem);
}

.pro-reviews-hero {
    border-radius: 18px;
    padding: 1.3rem 1.35rem;
    gap: 1.2rem;
    box-shadow: 0 18px 36px rgba(7, 18, 34, 0.2);
}

.pro-review-featured {
    border-radius: 18px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0;
    box-shadow: 0 16px 34px rgba(7, 18, 34, 0.12);
}

.pro-review-featured-thumb {
    min-height: 0;
}

.pro-review-featured-body {
    padding: 1.2rem 1.25rem;
}

.pro-review-featured-body h2 {
    font-size: clamp(1.22rem, 1.8vw, 1.72rem);
    line-height: 1.18;
}

.pro-review-featured-body p {
    line-height: 1.65;
}

.pro-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pro-review-card {
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.09);
    box-shadow: 0 12px 24px rgba(7, 18, 34, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pro-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(7, 18, 34, 0.14);
}

/* .pro-review-thumb : bannière sur pages dédiées ; l'archive utilise .pro-review-thumb-link */

.pro-review-body {
    padding: 0.95rem 1rem 1rem;
}

.pro-review-body h2 {
    font-size: 1.08rem;
    line-height: 1.33;
}

.pro-review-link {
    font-weight: 800;
    letter-spacing: 0.01em;
}

.single-review-page {
    max-width: 1240px;
    padding: 1.3rem 1rem 2.8rem;
}

.single-review-layout {
    gap: 1.1rem;
}

.single-review-hero {
    border-radius: 22px;
    padding: 1.35rem;
}

.single-review-rating {
    min-height: 108px;
}

.single-review-rating-value {
    font-size: 2rem;
}

.single-review-meta span {
    font-weight: 600;
}

.single-review-highlights {
    gap: 0.55rem;
}

.single-review-main-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 1.1rem;
}

.single-review-content {
    border-radius: 18px;
    padding: 1.55rem;
    line-height: 1.78;
}

.single-review-summary {
    border-radius: 18px;
    padding: 1.1rem;
}

body.theme-dark .pro-review-featured,
body.theme-dark .pro-review-card,
body.theme-dark .pro-reviews-pagination a,
body.theme-dark .pro-reviews-pagination span {
    background: var(--surface-panel);
    border-color: var(--border-color);
}

body.theme-dark .blog-pagination .page-numbers,
body.theme-dark .category-mag-pagination .page-numbers,
body.theme-dark .search-pagination .page-numbers {
    background: var(--surface-panel);
    border-color: var(--border-color);
    color: #dbe8ff;
}

body.theme-dark .pro-review-featured-label {
    background: rgba(77, 163, 255, 0.2);
    color: #dbe8ff;
}

body.theme-dark .pro-review-featured-body p,
body.theme-dark .pro-review-platform,
body.theme-dark .pro-review-meta {
    color: #9fb5d3;
}

body.theme-dark .pro-review-body h2 a,
body.theme-dark .pro-review-featured-body h2 a,
body.theme-dark .pro-review-link {
    color: #e8f3ff;
}

body.theme-dark .pro-review-link:hover {
    color: #9fcfff;
}

@media (max-width: 1024px) {
    .pro-review-featured {
        grid-template-columns: 1fr;
    }

    .pro-review-featured-media {
        display: flex;
        justify-content: center;
    }

    .single-review-main-grid {
        grid-template-columns: 1fr;
    }

    .single-review-summary {
        position: static;
    }
}

@media (max-width: 680px) {
    .pro-reviews-grid {
        grid-template-columns: 1fr;
    }

    .single-review-hero {
        grid-template-columns: 1fr;
    }
}

/* Single review conclusion block (magazine style) */
.single-review-conclusion {
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.single-review-conclusion > h2 {
    margin: 0;
    padding: 1.2rem 1.35rem;
    font-size: 2rem;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
}

.single-review-conclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}

.single-review-conclusion-col {
    padding: 1rem 1.35rem 1.15rem;
}

.single-review-conclusion-col + .single-review-conclusion-col {
    border-left: 1px solid #e5e7eb;
}

.single-review-conclusion-col h3 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
}

.single-review-conclusion-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.single-review-conclusion-col li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.55rem;
    align-items: start;
    font-size: 1rem;
    line-height: 1.4;
}

.single-review-conclusion-col.is-pros li i {
    color: #4caf50;
    margin-top: 0.18rem;
}

.single-review-conclusion-col.is-cons li i {
    color: #e53935;
    margin-top: 0.18rem;
}

.single-review-editor-note {
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid #e5e7eb;
}

.single-review-editor-note h3 {
    margin: 0 0 0.7rem;
    font-size: 1.95rem;
}

.single-review-editor-score-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.single-review-editor-score-ring {
    --score: 0;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#ff4d00 calc(var(--score) * 1%), #e5e7eb 0);
    position: relative;
}

.single-review-editor-score-ring::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: #fff;
}

.single-review-editor-score-ring strong {
    position: relative;
    z-index: 1;
    font-size: 1.85rem;
    color: #1f2937;
}

.single-review-editor-text {
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid #e5e7eb;
    font-size: 1.03rem;
    line-height: 1.75;
}

.single-review-reader-note {
    padding: 1rem 1.35rem;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.8rem;
    align-items: center;
}

.single-review-reader-score-ring {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 6px solid #5b6d84;
    border-right-color: #e5e7eb;
    border-bottom-color: #e5e7eb;
    display: grid;
    place-items: center;
    color: #2b3d54;
}

.single-review-reader-score-ring strong {
    font-size: 1.95rem;
}

.single-review-reader-note h4 {
    margin: 0;
    font-size: 1.8rem;
}

.single-review-reader-note a {
    display: inline-block;
    margin-top: 0.2rem;
    font-weight: 700;
    color: var(--bg-blue);
}

.single-review-reader-note p {
    margin: 0.22rem 0 0;
    color: #51647c;
}

body.theme-dark .single-review-conclusion {
    background: var(--surface-panel);
    border-color: var(--border-color);
}

body.theme-dark .single-review-conclusion > h2,
body.theme-dark .single-review-conclusion-grid,
body.theme-dark .single-review-conclusion-col + .single-review-conclusion-col,
body.theme-dark .single-review-editor-note,
body.theme-dark .single-review-editor-text {
    border-color: rgba(159, 181, 211, 0.22);
}

body.theme-dark .single-review-conclusion > h2,
body.theme-dark .single-review-conclusion-col h3,
body.theme-dark .single-review-reader-note h4 {
    color: #eaf3ff;
}

body.theme-dark .single-review-conclusion-col li,
body.theme-dark .single-review-editor-text {
    color: #bdd5f5;
}

body.theme-dark .single-review-editor-score-ring::after {
    background: #0d2039;
}

body.theme-dark .single-review-editor-score-ring strong,
body.theme-dark .single-review-reader-score-ring {
    color: #eaf3ff;
}

body.theme-dark .single-review-reader-score-ring {
    border-color: #7389a8;
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.theme-dark .single-review-reader-note p {
    color: #9fb5d3;
}

@media (max-width: 860px) {
    .single-review-conclusion-grid {
        grid-template-columns: 1fr;
    }

    .single-review-conclusion-col + .single-review-conclusion-col {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    body.theme-dark .single-review-conclusion-col + .single-review-conclusion-col {
        border-top-color: rgba(159, 181, 211, 0.22);
    }

    .single-review-reader-note {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

/* Community page */
.community-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.community-main {
    min-width: 0;
}

.community-sidebar {
    position: sticky;
    top: 90px;
}

.community-page .member-public-card {
    margin-bottom: 1rem;
}

.community-member-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.community-member-avatar img {
    border-radius: 999px;
}

.community-member-head strong {
    display: block;
}

.community-member-head p {
    margin: 0.15rem 0 0;
    color: var(--muted-text);
    font-size: 0.86rem;
}

.community-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.community-settings-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.community-page .member-feed-card {
    scroll-margin-top: 84px;
}

.community-keyword-banner {
    margin-bottom: 1rem;
}

.community-keyword-banner p {
    margin: 0;
    font-size: 0.92rem;
}

.community-keywords-card h3 {
    margin: 0 0 0.75rem;
}

.community-keyword-cloud {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.community-keyword-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: rgba(246, 250, 255, 0.95);
    color: rgba(91, 33, 182, 0.95);
}

.community-keyword-pill:hover {
    border-color: rgba(124, 58, 237, 0.45);
    color: rgba(76, 29, 149, 1);
}

.community-keyword-pill.is-current {
    border-color: rgba(124, 58, 237, 0.55);
    background: rgba(237, 233, 254, 0.9);
}

.community-keyword-count {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.75;
}

.community-keywords-empty {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted-text);
}

.community-online-card h3 {
    margin: 0 0 0.75rem;
}

.community-online-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.community-online-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.35rem;
    border-radius: 8px;
    background: rgba(20, 89, 130, 0.06);
}

.community-online-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.community-online-item a,
.community-online-item span {
    font-weight: 600;
    color: var(--bg-dark);
}

.community-online-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .community-layout {
        grid-template-columns: 1fr;
    }

    .community-sidebar {
        position: static;
    }
}

/* Member directory page */
.member-directory-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}

.member-directory-head h1 {
    margin: 0 0 0.3rem;
}

.member-directory-head p {
    margin: 0;
    color: var(--muted-text);
}

.member-directory-results-count {
    margin: 0.65rem 0 0;
    font-size: 0.86rem;
    color: #4b5f77;
    font-weight: 600;
}

.member-directory-search {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}

.member-directory-search input {
    min-height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    background: #fff;
}

.member-directory-search button {
    min-height: 42px;
    border-radius: 10px;
    border: 0;
    padding: 0.55rem 0.9rem;
    background: var(--button-bg);
    color: var(--button-text);
    font-weight: 700;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.member-directory-card {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    background: #fff;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
    overflow: hidden;
}

.member-directory-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(7, 18, 34, 0.08);
}

.member-directory-card-link {
    display: grid;
    gap: 0.55rem;
    padding: 0.95rem;
    color: inherit;
}

.member-directory-profile-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    color: inherit;
}

.member-directory-avatar {
    display: inline-flex;
}

.member-directory-avatar img {
    border-radius: 999px;
    width: 66px;
    height: 66px;
    object-fit: cover;
}

.member-directory-card h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #13263f;
}

.member-directory-card p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.member-directory-meta {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    color: #41556f;
    font-size: 0.75rem;
}

.member-directory-socials {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    flex-wrap: wrap;
}

.member-directory-socials a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.16);
    background: rgba(30, 115, 190, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #20466e;
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.member-directory-socials a svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.member-directory-socials a:hover {
    transform: translateY(-1px);
    background: rgba(30, 115, 190, 0.16);
    border-color: rgba(30, 115, 190, 0.42);
    color: #1e73be;
}

.member-directory-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.15rem;
    color: var(--bg-blue);
    font-weight: 700;
}

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

@media (max-width: 620px) {
    .member-directory-search {
        grid-template-columns: 1fr;
    }

    .member-directory-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    /* Remonte légèrement le contenu sur mobile. */
    .hero-fullpage {
        padding-top: 1.2rem;
    }

    .site-main,
    .member-space-page,
    .member-public-page,
    .game-directory-page,
    .releases-page,
    .single-review-page {
        padding-top: 0.9rem;
    }
}
