/* STYLE-DIET-PHASE4-GAME-SHEET — extrait de style.css (phase 4 route taxonomy game) */
/* 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: color-mix(in srgb, var(--bg-blue) 18%, transparent);
    border-color: rgba(30, 115, 190, 0.6);
}

.game-tab-button.is-active {
    background: var(--theme-gradient-hero);
    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;
}

/* Bannière fiche jeu — typo & badges (base hors .game-term-page legacy) */
.game-sheet-hero {
    padding: 1.25rem 0 0;
}

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

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

.game-term-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-term-badge-hype {
    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-title {
    margin: 0.35rem 0 0.75rem;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    line-height: 1.1;
    font-weight: 800;
}

.game-sheet-banner-content .game-term-badge-hype {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.35), rgba(239, 68, 68, 0.28));
}

.game-term-page {
    background: var(--bg-light);
}

/* Pas de padding horizontal sur site-main : alignement via les conteneurs 1280px (*-inner) */
.game-term-page.site-main,
main.site-main.game-term-page {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem 0 4rem;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .game-term-page.site-main,
    main.site-main.game-term-page {
        padding-left: 0;
        padding-right: 0;
    }
}

.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 var(--border-color);
    background: var(--surface-card);
    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(--text-dark);
    margin-top: 0.4rem;
    margin-bottom: 0.9rem;
}

.game-term-page .game-term-hero-description {
    color: var(--muted-text);
    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: color-mix(in srgb, var(--bg-blue) 12%, transparent);
    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: var(--surface-panel);
    border: 1px solid var(--border-color);
    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: var(--muted-text);
}

.game-term-page .info-value {
    color: var(--text-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: var(--surface-card);
    color: var(--muted-text);
    border-color: var(--border-color);
}

.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: var(--border-color);
    background: var(--surface-card);
    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(--text-dark);
}

.game-term-page .section-subtitle {
    color: var(--muted-text);
}

.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 var(--border-color);
    border-radius: 18px;
    background: var(--surface-panel);
    padding: 1rem;
}

.game-term-page .review-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface-card);
    padding: 0.95rem;
}

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

.game-term-page .review-rating {
    background: color-mix(in srgb, var(--bg-blue) 12%, transparent);
    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 var(--border-color);
    background: var(--surface-panel);
    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: var(--muted-text);
}

.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: var(--muted-text);
    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 var(--border-color);
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    background: var(--surface-card);
    color: var(--text-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: var(--muted-text);
}

.user-review-composer {
    display: grid;
    gap: 0.85rem;
}

.user-review-editor-wrap {
    display: grid;
    gap: 0.45rem;
}

.user-review-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 10px 10px 0 0;
    background: var(--surface-panel);
}

.user-review-editor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
}

.user-review-editor-btn:hover,
.user-review-editor-btn:focus-visible {
    border-color: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    background: color-mix(in srgb, var(--bg-blue) 10%, transparent);
    color: var(--bg-blue);
}

.user-review-editor-sep {
    width: 1px;
    height: 22px;
    background: var(--border-color);
    margin: 0 0.15rem;
}

.user-review-editor {
    min-height: 160px;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-color);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.65;
}

.user-review-editor:empty::before {
    content: attr(data-placeholder);
    color: var(--muted-text);
    pointer-events: none;
}

.user-review-editor ul,
.user-review-editor ol {
    margin: 0.5rem 0 0.5rem 1.2rem;
    padding: 0;
}

.user-review-editor-source {
    display: none !important;
}

.user-review-images-help {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.user-review-points-field textarea {
    min-height: 110px;
    resize: vertical;
}

.user-review-editor .user-review-inline-image,
.single-review-content .user-review-inline-image {
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
}

.user-review-editor .user-review-inline-image img,
.single-review-content .user-review-inline-image img,
.user-review-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.user-review-editor .user-review-inline-image--pending {
    max-width: 280px;
}

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

@media (max-width: 820px) {
    .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-term-page .game-sheet-hero-inner,
.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 {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
}

/* Conteneur onglets : même largeur que le hero, sans padding horizontal (déjà sur *-inner) */
.game-term-page .game-sheet-tab-panels,
.game-sheet-tab-panels {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.game-term-page .game-sheet-banner,
.game-term-page .game-sheet-nav-bar {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.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-banner-platforms {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    overflow: visible;
}

.game-sheet-banner-platforms__main {
    flex: 1 1 auto;
    min-width: 0;
}

.game-sheet-banner-platforms__main .game-sheet-platform-icons {
    margin-top: 0;
}

.game-sheet-banner-platforms__subscriptions {
    flex: 0 0 auto;
    margin-left: auto;
    overflow: visible;
}

.game-sheet-subscription-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.game-sheet-subscription-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 11px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    cursor: default;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.game-sheet-subscription-badge:hover,
.game-sheet-subscription-badge:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    outline: none;
}

.game-sheet-subscription-badge__icon {
    width: 38px;
    height: 38px;
    max-width: 38px;
    border-radius: 11px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.game-sheet-subscription-badge__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    min-width: 168px;
    max-width: 220px;
    padding: 0.42rem 0.62rem;
    border-radius: 8px;
    background: rgba(8, 14, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 30;
}

.game-sheet-subscription-badge__tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(8, 14, 29, 0.96);
}

.game-sheet-subscription-badge:hover .game-sheet-subscription-badge__tooltip,
.game-sheet-subscription-badge:focus-visible .game-sheet-subscription-badge__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge {
    width: 34px;
    min-width: 34px;
    height: 34px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge__icon,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge__icon {
    width: 34px;
    height: 34px;
    max-width: 34px;
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge__tooltip,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge__tooltip {
    background: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
    color: #f8fafc;
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge__tooltip::after,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge__tooltip::after {
    border-top-color: #0f172a;
}

.game-sheet-meta-row--subscriptions .game-sheet-meta-subscriptions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: 400;
}

.post-card-image > a,
.post-card-image > a.post-card-image-link {
    display: block;
    height: 100%;
}

.post-card-image-placeholder {
    display: block;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 720 / 495;
    max-height: 280px;
    background: linear-gradient(135deg, #dce6f2 0%, #eef3f9 48%, #d4e0ec 100%);
}

.pro-review-platform--legacy {
    opacity: 0.9;
    font-size: 0.8rem;
    color: #49586d;
}

.game-sheet-anchor-nav {
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
    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-nav-bar {
    margin-top: 0.8rem;
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
}

.game-sheet-nav-side {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.game-sheet-collection-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.28rem 0.62rem 0.28rem 0.68rem;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: linear-gradient(145deg, rgba(6, 12, 26, 0.95), rgba(12, 32, 58, 0.92));
    box-shadow: 0 12px 28px rgba(5, 10, 24, 0.22);
}

.game-sheet-hype-social {
    border-color: rgba(251, 146, 60, 0.32);
    background: linear-gradient(145deg, rgba(18, 12, 8, 0.95), rgba(58, 32, 12, 0.88));
}

.game-sheet-hype-social .game-sheet-collection-social-count {
    color: #fdba74;
}

.game-sheet-hype-social .game-sheet-collection-social-more {
    background: rgba(251, 146, 60, 0.48);
}

.game-sheet-hype-social .game-sheet-collection-social-avatar {
    background: rgba(251, 146, 60, 0.35);
}

.game-sheet-collection-social-label {
    display: flex;
    flex-direction: column;
    gap: 0.04rem;
    line-height: 1.05;
}

.game-sheet-collection-social-count {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.game-sheet-collection-social-caption {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
    text-transform: lowercase;
    white-space: nowrap;
}

.game-sheet-collection-social-avatars {
    display: inline-flex;
    align-items: center;
}

.game-sheet-collection-social-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(8, 18, 36, 0.95);
    margin-left: -0.42rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(30, 115, 190, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease, z-index 0s;
    position: relative;
}

.game-sheet-collection-social-avatar:first-child {
    margin-left: 0;
}

.game-sheet-collection-social-avatar:hover,
.game-sheet-collection-social-avatar:focus-visible {
    transform: translateY(-2px) scale(1.06);
    z-index: 2;
}

.game-sheet-collection-social-avatar-img,
.game-sheet-collection-social-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.game-sheet-collection-social-more {
    margin-left: -0.38rem;
    min-width: 30px;
    height: 30px;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.48);
    border: 2px solid rgba(8, 18, 36, 0.95);
    font-size: 0.64rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
}

.game-sheet-nav-actions {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    gap: 0.45rem;
}

.game-sheet-hype-form {
    margin: 0;
    display: flex;
}

.game-sheet-collection-trigger {
    min-width: 48px;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: linear-gradient(145deg, rgba(30, 115, 190, 0.35), rgba(8, 18, 36, 0.92));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(5, 10, 24, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-sheet-collection-trigger:hover,
.game-sheet-collection-trigger:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.5);
    color: #fff;
}

.game-sheet-collection-trigger.is-in-collection {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.42), rgba(8, 18, 36, 0.92));
    border-color: rgba(74, 222, 128, 0.45);
}

.game-sheet-hype-trigger {
    min-width: 48px;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(251, 146, 60, 0.45);
    background: linear-gradient(145deg, rgba(251, 146, 60, 0.38), rgba(8, 18, 36, 0.92));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(5, 10, 24, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-sheet-hype-trigger:hover,
.game-sheet-hype-trigger:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(251, 146, 60, 0.65);
    color: #fff;
}

.game-sheet-hype-trigger.is-active {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.45), rgba(8, 18, 36, 0.92));
    border-color: rgba(248, 113, 113, 0.55);
}

.game-collection-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.game-collection-modal[hidden] {
    display: none !important;
}

.game-collection-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 12, 26, 0.72);
    backdrop-filter: blur(4px);
}

.game-collection-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(90vh, 760px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    background: linear-gradient(165deg, #ffffff 0%, #f4f8fc 100%);
    box-shadow: 0 28px 60px rgba(8, 14, 29, 0.35);
    padding: 1.15rem 1.15rem 1.25rem;
}

.game-collection-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 14, 29, 0.08);
    color: rgba(14, 32, 56, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.game-collection-modal__close:hover {
    background: rgba(30, 115, 190, 0.12);
    color: var(--bg-blue);
}

.game-collection-modal__hero {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.9rem;
    padding-right: 2rem;
}

.game-collection-modal__cover {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    box-shadow: 0 8px 18px rgba(8, 14, 29, 0.16);
}

.game-collection-modal__cover--fallback {
    display: grid;
    place-items: center;
    background: rgba(30, 115, 190, 0.12);
    color: var(--bg-blue);
    font-size: 1.4rem;
}

.game-collection-modal__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg-blue);
}

.game-collection-modal__hero-text h2 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--bg-dark);
}

.game-collection-modal__lead {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted-text);
}

.game-collection-modal__alert {
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
}

.game-collection-modal__alert.is-success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.game-collection-modal__alert.is-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.24);
}

.game-collection-modal__status {
    margin-bottom: 0.9rem;
}

.game-collection-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.82rem;
    font-weight: 700;
}

.game-collection-modal__badge.is-owned {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.game-collection-modal__owned {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.game-collection-modal__platforms {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

.game-collection-modal__platforms legend {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-text);
    margin-bottom: 0.55rem;
}

.game-collection-modal__platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.game-collection-modal__platform {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.game-collection-modal__platform input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.game-collection-modal__platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.game-collection-modal__platform-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-dark);
}

.game-collection-modal__platform.is-selected,
.game-collection-modal__platform:has(input:checked) {
    border-color: rgba(30, 115, 190, 0.45);
    background: rgba(30, 115, 190, 0.08);
    box-shadow: 0 8px 18px rgba(30, 115, 190, 0.12);
}

.game-collection-modal__platform.is-selected .game-collection-modal__platform-icon,
.game-collection-modal__platform:has(input:checked) .game-collection-modal__platform-icon {
    background: var(--bg-blue);
    color: #fff;
}

.game-collection-modal__empty-platforms {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    color: var(--muted-text);
}

.game-collection-modal__actions {
    display: grid;
    gap: 0.55rem;
}

.game-collection-modal__submit,
.game-collection-modal__remove {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.game-collection-modal__submit {
    background: var(--bg-blue);
    color: #fff;
    border-color: var(--bg-blue);
}

.game-collection-modal__submit.is-update {
    background: #15803d;
    border-color: #15803d;
}

.game-collection-modal__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.game-collection-modal__form.is-submitting {
    pointer-events: none;
}

.game-collection-modal__form.is-submitting .game-collection-modal__submit span,
.game-collection-modal__form.is-submitting .game-collection-modal__remove span {
    opacity: 0.85;
}

.game-collection-modal__remove {
    background: transparent;
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.35);
}

.game-collection-modal__remove:hover {
    background: rgba(239, 68, 68, 0.08);
}

.game-collection-modal__guest {
    display: grid;
    gap: 0.75rem;
    text-align: center;
}

.game-collection-modal__guest p {
    margin: 0;
    color: var(--muted-text);
}

.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,
.game-sidebar-description p,
.article-sidebar-game-card .game-sidebar-description p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted-text);
}

.article-sidebar-game-card .game-sidebar-description p {
    color: color-mix(in srgb, var(--text-light) 85%, transparent);
}

.game-term-franchise-description {
    margin: 0 0 1.2rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--text-dark) 78%, transparent);
}

.game-term-franchise-description p {
    margin: 0 0 0.75rem;
}

.game-term-franchise-description p:last-child {
    margin-bottom: 0;
}

.game-term-franchise-description strong,
.game-sheet-description strong,
.game-sidebar-description strong,
.article-sidebar-game-card .game-sidebar-description strong {
    font-weight: 700;
}

.game-term-franchise-description em,
.game-sheet-description em,
.game-sidebar-description em,
.article-sidebar-game-card .game-sidebar-description em {
    font-style: italic;
}

.game-term-franchise-description ul,
.game-term-franchise-description ol,
.game-sheet-description ul,
.game-sheet-description ol,
.game-sidebar-description ul,
.game-sidebar-description ol {
    margin: 0.5rem 0 0.75rem 1.1rem;
    padding: 0;
}

.game-sheet-description-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-top: 1rem;
}

.game-sheet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
    background: transparent;
}

.game-sheet-link--site {
    color: var(--bg-blue);
    border-color: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    background: rgba(30, 115, 190, 0.08);
}

.game-sheet-link--site:hover {
    background: rgba(30, 115, 190, 0.16);
    border-color: rgba(30, 115, 190, 0.5);
}

.game-sheet-link-external {
    font-size: 0.85em;
    opacity: 0.85;
}

.game-sheet-link--trailer {
    color: #fff;
    background: var(--bg-blue);
    border-color: var(--bg-blue);
}

.game-sheet-link--trailer:hover {
    filter: brightness(1.06);
}

.game-sheet-link--trailer i {
    font-size: 0.85em;
}

.p4g-ig-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    min-height: 0;
    padding: 0.42rem 0.85rem 0.42rem 0.55rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.p4g-ig-buy:hover,
.p4g-ig-buy:focus-visible {
    background: #1a1a1a;
    color: #fff;
    border-color: #ff6a00;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 106, 0, 0.28);
}

.p4g-ig-buy__logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
    padding-right: 0.65rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.p4g-ig-buy__label {
    color: #fff;
    line-height: 1.15;
    white-space: nowrap;
}

.p4g-ig-buy__price {
    color: #ff6a00;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    line-height: 1.15;
}

.p4g-ig-buy__price:not(:empty)::before {
    content: '·';
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0.35rem 0 0.12rem;
    font-weight: 600;
}

.p4g-ig-buy--unavailable {
    opacity: 0.78;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.p4g-ig-buy--unavailable:hover,
.p4g-ig-buy--unavailable:focus-visible {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.28);
    transform: none;
    box-shadow: none;
}

.p4g-ig-buy--unavailable .p4g-ig-buy__label {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 700;
}

.p4g-ig-buy--unavailable .p4g-ig-buy__price,
.p4g-ig-buy__price[hidden] {
    display: none !important;
}

.p4g-ig-buy--hero,
.game-sheet-hero .p4g-ig-buy,
.game-sheet-banner .p4g-ig-buy,
.game-sheet-banner-content .p4g-ig-buy {
    display: none !important;
}

.p4g-ig-buy--sheet,
.game-sheet-description-links .p4g-ig-buy {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0.42rem 0.85rem 0.42rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
}

.game-sheet-description-links .p4g-ig-buy__logo {
    height: 22px;
    max-width: 88px;
}

.p4g-game-trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.p4g-game-trailer-modal[hidden] {
    display: none;
}

.p4g-game-trailer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 29, 0.72);
    cursor: pointer;
}

.p4g-game-trailer-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.p4g-game-trailer-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.p4g-game-trailer-modal__close:hover {
    background: rgba(30, 41, 59, 0.95);
}

.p4g-game-trailer-modal__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.p4g-game-trailer-modal__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.game-sheet-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-color);
}

.game-sheet-meta-row span {
    color: var(--muted-text);
    font-size: 0.9rem;
}

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

.game-sheet-meta-row--platforms .game-sheet-meta-platform-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.22rem;
    max-width: min(100%, 16rem);
    margin-left: auto;
}

.game-sheet-meta-platform-tags > span[title],
.game-sheet-meta-platform-tags span[title] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.38rem;
    border-radius: 5px;
    background: color-mix(in srgb, var(--bg-blue, #1e73be) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--bg-blue, #1e73be) 28%, transparent);
    color: var(--text-dark);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.game-sheet-meta-platform-tags-empty {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

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

.game-featured-test-card {
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
    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: var(--muted-text);
}

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

.game-featured-test-body p {
    margin: 0;
    color: var(--muted-text);
    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 var(--border-color);
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
    font-size: 0.72rem;
    color: var(--muted-text);
}

.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: var(--surface-card);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    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: var(--muted-text);
    font-size: 0.86rem;
}

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

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

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

.game-related-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-card);
    overflow: hidden;
}

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

.game-related-thumb {
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    overflow: hidden;
    position: relative;
}

.game-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

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

.game-term-franchise-inner {
    padding: 0 0 1.5rem;
}

.game-term-franchise-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--text-dark) 58%, transparent);
}

.game-term-franchise-head h2 {
    margin: 0;
}

.game-term-franchise-intro,
.game-term-franchise-empty {
    margin: 0 0 1rem;
    color: color-mix(in srgb, var(--text-dark) 72%, transparent);
}

.game-franchise-card-release {
    margin: -0.35rem 0.55rem 0.65rem;
    font-size: 0.72rem;
    color: color-mix(in srgb, var(--text-dark) 62%, transparent);
}

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

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

/* Galerie & vidéos (onglet Médias) */
.game-term-media-featured {
    padding: 1.5rem 0 0;
}

.game-term-media-featured h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    color: var(--text-dark);
}

.game-term-media-featured h3 {
    margin: 1.25rem 0 0.65rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.game-term-media-inner .section-subtitle {
    margin: 0 0 1rem;
}

.media-gallery-grid,
.media-video-grid {
    display: grid;
    gap: 0.85rem;
}

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

.media-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
}

.media-video-card {
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 1px solid var(--border-color, #d6e3f3);
    border-radius: 14px;
    background: var(--surface-card, #fff);
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.media-video-card:hover,
.media-video-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: color-mix(in srgb, var(--bg-accent, #145982) 30%, transparent);
}

.media-thumb {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
}

.media-gallery-grid .media-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

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

.media-video .video-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    aspect-ratio: 405 / 200;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.18));
    overflow: hidden;
    border-radius: 0;
}

.media-video .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-video .video-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

.media-video .video-play-icon {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.media-video .video-play-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--bg-accent, #145982);
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
    padding-left: 0.12rem;
}

.media-video:hover .video-play-icon i,
.media-video:focus-visible .video-play-icon i {
    background: var(--bg-accent, #145982);
    color: #fff;
}

.media-video-card__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.8rem 0.9rem 0.95rem;
    text-align: left;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    background: linear-gradient(180deg, rgba(246, 249, 255, 0.65), rgba(255, 255, 255, 0));
}

.media-video-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--bg-accent, #145982);
}

.media-video-card__eyebrow i {
    font-size: 0.82rem;
    line-height: 1;
}

.media-video .video-title-label {
    display: -webkit-box;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.42;
    font-weight: 650;
    color: var(--text-dark);
    text-align: left;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media-thumb .video-url-label {
    display: none;
}

.no-posts-message {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted-text);
}

.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 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .media-video-card {
        width: 100%;
    }

    .media-video .video-placeholder {
        max-width: none;
        width: 100%;
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    .media-gallery-grid .media-thumb img {
        height: 156px;
    }

    .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-tab-panels {
        padding-left: 0;
        padding-right: 0;
    }

    .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;
    }
}

@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-banner-platforms {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .game-sheet-banner-platforms__main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .game-sheet-banner-platforms__main .game-sheet-platform-icons {
        justify-content: flex-start;
    }

    .game-sheet-banner-platforms__subscriptions {
        margin-left: auto;
        flex-shrink: 0;
    }

    .game-sheet-nav-bar {
        flex-direction: column;
    }

    .game-sheet-nav-side {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .game-sheet-collection-social {
        min-height: 44px;
        padding: 0.24rem 0.5rem 0.24rem 0.55rem;
    }

    .game-sheet-collection-social-caption {
        display: none;
    }

    .game-sheet-nav-actions {
        justify-content: flex-end;
    }

    .game-sheet-collection-trigger,
    .game-sheet-hype-trigger {
        min-width: 44px;
        min-height: 44px;
    }

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

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

/* Onglet Clubs — cartes pleine largeur, alignées sur Aperçu (pas de marge/padding en double) */
.game-term-page #clubs.game-sheet-panel,
.game-term-page #clubs .game-sheet-clubs,
.game-term-page #clubs .game-sheet-overview-inner,
.game-term-page #clubs .game-sheet-overview-grid,
.game-term-page #clubs .p4g-club-game-sheet-list {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.game-term-page #clubs .game-sheet-clubs.game-sheet-overview {
    margin-top: 1rem;
    padding: 0;
}

.game-term-page #clubs .game-sheet-overview-grid {
    display: block;
    grid-template-columns: none;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    gap: 0;
}

.game-term-page #clubs .p4g-club-game-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.game-term-page #clubs .p4g-club-game-sheet-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
}

.game-term-page #clubs .p4g-club-game-sheet-card__link {
    display: grid;
    grid-template-columns: minmax(220px, 34%) 1fr;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 190px;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color, #d6e3f3);
    background: var(--surface-card, #fff);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 26px rgba(8, 18, 32, 0.06);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.game-term-page #clubs .p4g-club-game-sheet-card__link:hover {
    border-color: color-mix(in srgb, var(--bg-blue, #1e73be) 45%, var(--border-color, #d6e3f3));
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(8, 18, 32, 0.1);
}

.game-term-page #clubs .p4g-club-game-sheet-card__visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.game-term-page #clubs .p4g-club-game-sheet-card__cover {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
}

.game-term-page #clubs .p4g-club-game-sheet-card__cover.p4g-club-banner--placeholder {
    background: linear-gradient(120deg, #0a1628 0%, #145982 100%);
}

.game-term-page #clubs .p4g-club-game-sheet-card--type-community .p4g-club-game-sheet-card__cover.p4g-club-banner--placeholder {
    background: linear-gradient(120deg, #0a1628 0%, #2e7d5a 100%);
}

.game-term-page #clubs .p4g-club-game-sheet-card--type-streamer .p4g-club-game-sheet-card__cover.p4g-club-banner--placeholder {
    background: linear-gradient(120deg, #0a1628 0%, #7c3aed 100%);
}

.game-term-page #clubs .p4g-club-game-sheet-card--type-organization .p4g-club-game-sheet-card__cover.p4g-club-banner--placeholder {
    background: linear-gradient(120deg, #0a1628 0%, #1e73be 100%);
}

.game-term-page #clubs .p4g-club-game-sheet-card--type-developer .p4g-club-game-sheet-card__cover.p4g-club-banner--placeholder {
    background: linear-gradient(120deg, #0a1628 0%, #b45f14 100%);
}

.game-term-page #clubs .p4g-club-game-sheet-card__cover .p4g-club-banner-placeholder__pattern {
    opacity: 0.28;
}

.game-term-page #clubs .p4g-club-game-sheet-card__cover .p4g-club-banner-placeholder__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.game-term-page #clubs .p4g-club-game-sheet-card__cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 32, 0.08) 0%, rgba(8, 18, 32, 0.55) 100%);
    pointer-events: none;
}

.game-term-page #clubs .p4g-club-game-sheet-card__avatar {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(8, 18, 32, 0.18);
    background: #fff;
}

.game-term-page #clubs .p4g-club-game-sheet-card__avatar img,
.game-term-page #clubs .p4g-club-game-sheet-card__avatar .p4g-club-avatar,
.game-term-page #clubs .p4g-club-game-sheet-card__avatar .p4g-club-avatar-img,
.game-term-page #clubs .p4g-club-game-sheet-card__avatar .p4g-club-avatar-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.game-term-page #clubs .p4g-club-game-sheet-card__avatar .p4g-club-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    background: color-mix(in srgb, var(--p4g-club-accent, #1e73be) 28%, #0e2038);
    color: #fff;
}

.game-term-page #clubs .p4g-club-game-sheet-card__avatar .p4g-club-avatar-initials {
    font-size: 1rem;
    font-weight: 800;
}

.game-term-page #clubs .p4g-club-game-sheet-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
    padding: 1.25rem 1.35rem;
}

.game-term-page #clubs .p4g-club-game-sheet-card__type {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bg-accent, #145982);
}

.game-term-page #clubs .p4g-club-game-sheet-card__title {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark, #111827);
}

.game-term-page #clubs .p4g-club-game-sheet-card__tagline {
    color: var(--muted-text, rgba(14, 32, 56, 0.68));
    line-height: 1.45;
}

.game-term-page #clubs .p4g-club-game-sheet-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 0.15rem;
}

.game-term-page #clubs .p4g-club-game-sheet-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    color: var(--muted-text, rgba(14, 32, 56, 0.72));
}

.game-term-page #clubs .p4g-club-game-sheet-card__stat span {
    font-weight: 800;
    color: var(--text-dark, #111827);
}

.game-term-page #clubs .p4g-club-game-sheet-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bg-blue, #1e73be);
}

.game-term-page #clubs .game-sheet-clubs-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.game-term-page #clubs .game-sheet-clubs-head h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.game-term-page #clubs .game-sheet-clubs-head p {
    margin: 0;
    color: rgba(14, 32, 56, 0.68);
}

.game-term-page #clubs .game-sheet-clubs-directory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--bg-blue, #1e73be);
    text-decoration: none;
}

.game-term-page #clubs .game-sheet-clubs-directory-link:hover,
.game-term-page #clubs .game-sheet-clubs-directory-link:focus-visible {
    color: var(--bg-accent, #145982);
}

.game-term-page #clubs .game-sheet-clubs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 220px;
    padding: 2rem 1rem;
    border: 1px dashed var(--border-color, #d6e3f3);
    border-radius: 16px;
    text-align: center;
}

.game-term-page #clubs .game-sheet-clubs-empty__icon {
    font-size: 2rem;
    line-height: 1;
}

.game-term-page #clubs .game-sheet-clubs-empty__title {
    margin: 0;
    font-weight: 700;
}

.game-term-page #clubs .game-sheet-clubs-empty__text {
    margin: 0;
    max-width: 34rem;
    color: rgba(14, 32, 56, 0.65);
}

@media (max-width: 720px) {
    .game-term-page #clubs .p4g-club-game-sheet-card__link {
        grid-template-columns: 1fr;
    }

    .game-term-page #clubs .p4g-club-game-sheet-card__visual {
        min-height: 140px;
    }

    .game-term-page #clubs .game-sheet-clubs-head {
        flex-direction: column;
        align-items: stretch;
    }
}

