﻿/* Accueil — hub tests (extrait style.css pour bundle audit PSI). */
/* Home tests hub (magazine UI + tabs Jeux / Materiels) */
.home-tests-section {
    --home-tests-surface: var(--reviews-score-bg, #ff4d00);
    --home-tests-heading: #fff;
    --home-tests-tab: rgba(255, 255, 255, 0.62);
    --home-tests-tab-hover: rgba(255, 255, 255, 0.92);
    --home-tests-tab-active: #fff;
    --home-tests-tab-border: #fff;
    --home-tests-toolbar-line: rgba(255, 255, 255, 0.92);
    --home-tests-empty: rgba(255, 255, 255, 0.88);
    --home-tests-more-bg: #fff;
    --home-tests-more-text: var(--home-tests-surface);
    --home-tests-more-hover-bg: rgba(255, 255, 255, 0.92);
    --home-test-compact-bg: rgba(255, 255, 255, 0.96);
    --home-test-compact-shadow: rgba(7, 21, 35, 0.12);
    --home-test-featured-height: clamp(420px, 38vw, 560px);
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(1.35rem, 2.5vw, 2rem) 0 clamp(1.75rem, 3vw, 2.5rem);
    background: var(--home-tests-surface);
    box-sizing: border-box;
}

.site-main--home-tail {
    padding-top: 0;
}

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

.home-tests-inner {
    max-width: none;
    margin: 0;
}

.home-after-tests-section {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.home-after-tests-inner {
    max-width: 1600px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.home-after-tests-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.9fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 0;
}

.home-after-tests-cell {
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-after-tests-cell--community {
    grid-column: 1;
    grid-row: 1;
}

.home-after-tests-cell--comments {
    grid-column: 2;
    grid-row: 1;
}

.home-after-tests-cell--releases {
    grid-column: 1;
    grid-row: 2;
}

.home-after-tests-cell--collection {
    grid-column: 2;
    grid-row: 2;
}

.home-after-tests-cell .home-releases-section,
.home-after-tests-cell .home-community-posts-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.home-after-tests-cell .home-releases-inner,
.home-after-tests-cell .home-community-posts-inner,
.home-after-tests-sidebar-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

.home-after-tests-cell .home-community-posts-section {
    --home-community-slide-width: min(420px, calc(100% - 0.5rem));
}

.home-after-tests-cell .home-releases-track,
.home-after-tests-cell .home-community-posts-track {
    flex: 1;
    min-height: 0;
    max-width: 100%;
}

.home-after-tests-sidebar-box .sidebar-panel,
.home-after-tests-sidebar-box .sidebar-collection-widget {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-after-tests-sidebar-box .sidebar-collection-widget h3 {
    padding-top: 0;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-list,
.home-after-tests-sidebar-box .sidebar-collection-list {
    flex: 0 1 auto;
    align-content: start;
    grid-auto-rows: auto;
    max-height: 100%;
    overflow-y: auto;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-item,
.home-after-tests-sidebar-box .sidebar-collection-item {
    align-self: start;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-list {
    gap: 0.25rem;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-link {
    padding: 0.35rem 0.4rem;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-body {
    gap: 0.08rem;
}

.home-after-tests-sidebar-box .sidebar-collection-more {
    margin-top: auto;
    padding-top: 0.45rem;
}

@media (max-width: 1024px) {
    .home-after-tests-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .home-after-tests-cell--community {
        order: 1;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell--comments {
        order: 2;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell--releases {
        order: 3;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell--collection {
        order: 4;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell .home-community-posts-section {
        --home-community-slide-width: min(360px, 100%);
    }
}

@media (max-width: 680px) {
    .home-after-tests-cell .home-community-posts-section {
        --home-community-slide-width: 100%;
    }
}

.home-tests-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.home-tests-toolbar h2 {
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--home-tests-heading);
    line-height: 1.1;
}

.home-tests-toolbar-line {
    height: 4px;
    flex: 1;
    min-width: 1.25rem;
    border-radius: 999px;
    background: var(--home-tests-toolbar-line);
    opacity: 0.95;
}

.home-tests-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.home-tests-toolbar h2 i {
    margin-right: 0.45rem;
    font-size: 0.92em;
    opacity: 0.95;
}

.home-tests-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    background: transparent;
    padding: 0.2rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--home-tests-tab);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.home-tests-tab i {
    font-size: 0.88em;
    opacity: 0.92;
}

.home-tests-tab:hover {
    color: var(--home-tests-tab-hover);
}

.home-tests-tab.is-active {
    color: var(--home-tests-tab-active);
    border-bottom-color: var(--home-tests-tab-border);
}

.home-tests-panel[hidden] {
    display: none !important;
}

.home-tests-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 1.15fr) minmax(0, 1.3fr);
    gap: 0.85rem 1rem;
    align-items: start;
}

.home-tests-col-featured,
.home-tests-col-middle,
.home-tests-col-right {
    min-width: 0;
}

.home-tests-col-right {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-tests-right-list {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    height: var(--home-test-featured-height);
    min-height: var(--home-test-featured-height);
}

.home-tests-col-right .home-tests-foot {
    margin-top: 0;
    justify-content: stretch;
}

.home-tests-col-right .home-tests-more-btn {
    width: 100%;
    font-size: 0.88rem;
}

.home-tests-side,
.home-tests-col,
.home-tests-right {
    display: none;
}

.home-test-featured {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-dark, #071523);
    color: var(--text-light, #fff);
    isolation: isolate;
    width: 100%;
    height: var(--home-test-featured-height);
    min-height: var(--home-test-featured-height);
    max-height: var(--home-test-featured-height);
}

.home-test-featured-media-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    margin: 0;
}

.home-test-featured-media-link::after,
.home-test-secondary-media-link::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(
            farthest-side ellipse at 50% 42%,
            rgba(8, 14, 29, 0) 28%,
            rgba(8, 14, 29, 0.38) 62%,
            rgba(8, 14, 29, 0.72) 100%
        ),
        linear-gradient(to top, rgba(8, 14, 29, 0.5) 0%, transparent 52%);
}

.home-test-featured-image,
.home-test-featured-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-test-featured-placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.home-test-secondary {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-dark, #071523);
    color: var(--text-light, #fff);
    isolation: isolate;
    width: 100%;
    height: var(--home-test-featured-height);
    min-height: var(--home-test-featured-height);
    max-height: var(--home-test-featured-height);
}

.home-test-secondary-media-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
}

.home-test-secondary-image,
.home-test-secondary-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-test-secondary-placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.home-test-secondary-platform-top {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    pointer-events: none;
}

.home-test-secondary-platform-top .game-sheet-platform-icon,
.home-test-secondary-platform-top .pro-review-platform {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.home-test-secondary-platform-top .game-sheet-platform-icon__label {
    display: none !important;
}

.home-test-secondary-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1rem 0.85rem 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 35, 0.95) 85%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.home-test-secondary-title {
    margin: 0;
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    font-weight: 800;
    line-height: 1.25;
}

.home-test-secondary-title a {
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-test-secondary--spacer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.55));
}

.home-test-secondary-title a:hover {
    color: rgba(255, 255, 255, 0.88);
}

.home-test-featured .home-critique-score-ring.is-featured-badge,
.home-test-secondary .home-critique-score-ring.is-featured-badge {
    --score: 0;
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    left: auto;
    transform: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow: none;
    z-index: 2;
    pointer-events: none;
}

.home-test-featured .home-critique-score-ring.is-featured-badge::before,
.home-test-secondary .home-critique-score-ring.is-featured-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--reviews-score-bg, #ff4d00) calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
    -webkit-mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    z-index: 0;
}

.home-test-featured .home-critique-score-ring.is-featured-badge.is-perfect::before,
.home-test-secondary .home-critique-score-ring.is-featured-badge.is-perfect::before {
    background: conic-gradient(
        #f5b301 calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
}

.home-test-featured .home-critique-score-ring.is-featured-badge::after,
.home-test-secondary .home-critique-score-ring.is-featured-badge::after {
    content: none;
    display: none;
}

.home-test-featured .home-critique-score-ring.is-featured-badge strong,
.home-test-secondary .home-critique-score-ring.is-featured-badge strong {
    position: relative;
    z-index: 1;
    font-size: clamp(1.15rem, 2.4vw, 1.42rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.55);
    paint-order: stroke fill;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 10px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(0, 0, 0, 0.75);
}

.home-test-secondary .home-critique-score-ring.is-featured-badge {
    top: 0.65rem;
    right: 0.65rem;
    width: 56px;
    height: 56px;
}

.home-test-secondary .home-critique-score-ring.is-featured-badge strong {
    font-size: 0.95rem;
}

.home-test-meta-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
}

.home-test-secondary .home-test-meta-badges .home-test-badge {
    padding: 0.38em 0.72em;
    min-height: 1.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.home-test-featured-platform-top {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
    max-width: calc(100% - 6rem);
    pointer-events: none;
}

.home-tests-section .home-test-featured-platform-top .game-sheet-platform-icons,
.home-tests-section .home-test-featured-platform-top .pro-review-platform {
    margin: 0;
    gap: 0.3rem;
}

.home-test-featured-platform-top .game-sheet-platform-icon,
.home-test-featured-platform-top .pro-review-platform {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.home-test-featured-platform-top .game-sheet-platform-icon__label {
    display: none !important;
}

.home-test-featured-platform-top .game-sheet-platform-icon i,
.home-test-featured-platform-top .game-sheet-platform-icon .mdi,
.home-test-featured-platform-top .game-sheet-platform-icon .p4g-platform-icon-glyph,
.home-test-featured-platform-top .game-sheet-platform-icon .p4g-platform-icon-img {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.home-test-featured-platform-top .game-sheet-platform-icon .p4g-platform-icon-img {
    width: 1.15em;
    height: 1.15em;
}

.home-test-featured-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1.35rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 35, 0.95) 85%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.home-test-featured-title {
    margin: 0;
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    font-weight: 800;
    line-height: 1.22;
    max-width: 100%;
}

.home-test-featured-title a {
    color: #fff;
    text-decoration: none;
}

.home-test-featured-title a:hover {
    color: rgba(255, 255, 255, 0.88);
}

.home-test-featured-date {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-test-compact {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    min-width: 0;
    padding: 0.65rem;
    border-radius: 16px;
    background: var(--home-test-compact-bg);
    box-shadow: 0 10px 28px var(--home-test-compact-shadow);
}

.home-test-compact.is-stack-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.45rem 0.5rem;
    height: 100%;
    min-height: 0;
    align-self: stretch;
}

.home-test-compact.is-stack-item .home-test-compact-title {
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.home-test-compact.is-stack-item .home-test-meta--compact {
    gap: 0.18rem;
}

.home-test-compact.is-stack-item .home-test-stats,
.home-test-compact.is-stack-item .home-test-date {
    font-size: 0.75rem;
    line-height: 1.3;
}

.home-test-compact.is-stack-item .home-test-compact-body {
    padding-right: 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-test-compact.is-stack-item .home-test-stats i {
    font-size: 0.72rem;
}

.home-test-compact.is-stack-item .home-test-compact-platform-top {
    top: 0.35rem;
    right: 0.35rem;
}

.home-test-compact.is-stack-item .home-test-compact-platform-top .game-sheet-platform-icon,
.home-test-compact.is-stack-item .home-test-compact-platform-top .pro-review-platform {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    padding: 0;
}

.home-test-compact-platform-top {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
}

.home-tests-section .home-test-compact-platform-top .game-sheet-platform-icons,
.home-tests-section .home-test-compact-platform-top .pro-review-platform {
    margin: 0;
}

.home-test-compact-body {
    min-width: 0;
    padding-right: 2rem;
}

.home-test-compact-media-wrap {
    position: relative;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    min-width: 0;
}

.home-test-compact-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #0f172a;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
}

.home-test-compact-media img,
.home-test-compact-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.home-test-compact.is-stack-item .home-test-compact-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(
            farthest-side ellipse at 50% 42%,
            rgba(8, 14, 29, 0) 22%,
            rgba(8, 14, 29, 0.42) 58%,
            rgba(8, 14, 29, 0.78) 100%
        ),
        linear-gradient(to top, rgba(8, 14, 29, 0.55) 0%, transparent 55%);
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge {
    --score: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    pointer-events: none;
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--reviews-score-bg, #ff4d00) calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
    -webkit-mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    z-index: 0;
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge.is-perfect::before {
    background: conic-gradient(
        #f5b301 calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge strong {
    position: relative;
    z-index: 1;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.55);
    paint-order: stroke fill;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 0.85);
}

.home-test-compact-placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.home-test-compact-title {
    margin: 0 0 0.35rem;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.32;
}

.home-test-compact-title a {
    color: #111827;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-test-compact-title a:hover {
    color: var(--bg-blue);
}

.home-test-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.home-test-meta--compact {
    gap: 0.28rem;
}

.home-test-meta--compact .home-test-stats {
    width: auto;
}

.home-test-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.35rem;
    width: 100%;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #8b93a1;
}

.home-test-stats span {
    display: inline-flex;
    align-items: center;
}

.home-test-stats i {
    margin-right: 0.28rem;
    opacity: 0.85;
}

.home-test-stats .meta-separator {
    opacity: 0.55;
    user-select: none;
}

.home-test-featured-stats {
    color: rgba(255, 255, 255, 0.72);
}

.home-test-date {
    color: #8b93a1;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-test-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.home-test-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45em 0.95em;
    min-height: 2rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    box-sizing: border-box;
    background: var(--reviews-score-bg, #ff4d00);
}

.home-test-badge i {
    font-size: 0.88em;
    line-height: 1;
    opacity: 0.95;
}

.home-test-badge--type.is-game,
.home-test-badge--type.is-hardware,
.home-test-badge--type.is-accessory,
.home-test-badge--tests {
    background: var(--reviews-score-bg, #ff4d00);
}

.home-tests-section .home-test-badge.hero-label,
.home-test-meta-badges .home-test-badge.hero-label {
    background: var(--reviews-score-bg, #ff4d00) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.home-test-platform-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icons,
.home-tests-section .home-test-platform-badges .pro-review-platform {
    margin: 0;
    gap: 0.3rem;
    width: auto;
    justify-content: flex-start;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icons.is-compact {
    margin-top: 0;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon,
.home-tests-section .home-test-platform-badges .pro-review-platform {
    min-height: 22px;
    padding: 0.12rem 0.42rem;
    border-radius: 2px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
    gap: 0.28rem;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon i,
.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .mdi,
.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .p4g-platform-icon-glyph,
.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .p4g-platform-icon-img {
    display: inline-block !important;
    font-size: 0.82rem;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .p4g-platform-icon-img {
    width: 0.95em;
    height: 0.95em;
    object-fit: contain;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon__label {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon.is-compact:not([style]) {
    border-color: rgba(20, 89, 130, 0.35);
    background: rgba(20, 89, 130, 0.12);
    color: #0f172a;
    box-shadow: none;
}

.home-tests-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.home-tests-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.72rem 1.45rem;
    background: var(--home-tests-more-bg);
    color: var(--home-tests-more-text);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: filter 0.18s ease, background 0.18s ease;
}

.home-tests-more-btn:hover {
    filter: brightness(0.98);
    background: var(--home-tests-more-hover-bg);
    color: var(--home-tests-more-text);
}

.home-tests-empty {
    margin: 0.5rem 0 0;
    color: var(--home-tests-empty);
    font-size: 0.92rem;
}

@media (max-width: 1180px) {
    .home-tests-layout {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .home-tests-right-list {
        height: auto;
        min-height: 0;
        grid-template-rows: none;
        display: grid;
        gap: 0.75rem;
    }

    .home-test-compact.is-stack-item {
        height: auto;
        min-height: auto;
        grid-template-columns: 96px minmax(0, 1fr);
        padding: 0.65rem;
    }

    .home-test-compact.is-stack-item .home-test-compact-title {
        -webkit-line-clamp: 3;
        font-size: 0.86rem;
    }

    .home-test-featured,
    .home-test-secondary {
        --home-test-featured-height: clamp(320px, 56vw, 460px);
    }

    .home-tests-col-right .home-tests-foot {
        justify-content: flex-end;
    }

    .home-tests-col-right .home-tests-more-btn {
        width: auto;
    }
}

@media (max-width: 680px) {
    .home-tests-fullpage-inner {
        padding: 0 1rem;
    }

    .home-test-compact {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.6rem;
    }

    .home-test-featured-meta {
        padding: 1rem 1rem 0.95rem;
    }

    .home-test-featured-platform-top {
        top: 0.65rem;
        left: 0.65rem;
        max-width: calc(100% - 5rem);
    }

    .home-tests-foot {
        justify-content: stretch;
    }

    .home-tests-more-btn {
        width: 100%;
    }
}
