.game-detail { --game-gutter: clamp(14px, 2.7vw, 46px); padding: 16px var(--game-gutter) 38px; }
.game-crumbs { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .91rem; }
.game-crumbs a:hover, .game-recommendations a:hover { text-decoration: underline; }
.game-detail-title {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: clamp(1.8rem, 3.3vw, 3rem);
    line-height: 1.35;
    margin: 12px 0 18px;
}
.game-detail-title span, .game-recommendations a span {
    flex: none;
    display: grid;
    place-items: center;
    width: 1.45em;
    aspect-ratio: 1;
    border-radius: 13px;
    background: var(--game-ink);
}
.game-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(270px, 25%, 390px);
    grid-template-areas: "player sidebar" "information sidebar";
    align-items: start;
    gap: 22px;
}
.game-player {
    grid-area: player;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}
.game-screen { position: relative; background: #071b18; overflow: hidden; }
.game-poster {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    aspect-ratio: 2.48;
    min-height: 245px;
    background: radial-gradient(ellipse at center, #0b2b26, transparent 68%), linear-gradient(135deg, var(--game-ink), #071b18);
    color: #f4fff7;
    text-align: center;
    overflow: hidden;
}
.game-poster img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.game-poster-fruit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse, #071b1852, transparent 73%); }
.game-poster-symbol {
    position: absolute;
    inset-inline-start: 6%;
    font-size: clamp(70px, 13vw, 195px);
    transform: rotate(-12deg);
    opacity: .65;
}
.game-poster-action { position: relative; padding: 18px; }
.game-poster-action p { margin: 12px 0 0; font-weight: 650; text-shadow: 0 1px 4px #051612; }
.game-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: 11px 28px;
    min-height: 48px;
    border-radius: 40px;
    background: #d9f6df;
    color: #0b382d;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    font-weight: 850;
}
.game-launch:hover { background: #ecfff0; }
.game-launch:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.game-toolbar { display: flex; align-items: center; gap: 8px; padding: 3px 12px; border-top: 1px solid var(--line); }
.game-toolbar button {
    padding: 4px 12px;
    min-height: 44px;
    font: inherit;
    font-weight: 700;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}
.game-toolbar button:hover { background: var(--bg); }
.game-player [hidden] { display: none; }
.game-frame { display: block; width: 100%; height: clamp(500px, 72vh, 840px); border: 0; }
.game-player:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; }
.game-player:fullscreen .game-screen { flex: 1; min-height: 0; }
.game-player:fullscreen .game-frame { height: 100%; }
.game-information { grid-area: information; min-width: 0; }
.game-section-links { display: flex; border-bottom: 1px solid var(--line); }
.game-section-links a {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 8px 5px;
    min-height: 46px;
    color: var(--muted);
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.game-section-links a[aria-current], .game-section-links a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.game-information .game-text {
    padding: 17px 3px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    scroll-margin-top: 20px;
}
.game-detail :is(.game-information, .game-side) h2 { margin: 0 0 12px; font-size: 1.22rem; }
.game-information .game-text p { margin: 0 0 9px; }
.game-information .game-text article + article { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 8px; }
.game-information .game-text button { justify-self: start; min-height: 44px; }
.game-side { grid-area: sidebar; min-width: 0; }
.game-side .scoreboard, .game-recommendations {
    margin: 0 0 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.game-side .scoreboard caption { margin-block: 9px; color: var(--muted); font-size: .8rem; text-align: start; }
.game-side .scoreboard th { overflow-wrap: anywhere; }
.game-side .scoreboard td:last-child, .game-side .scoreboard thead th:last-child { text-align: end; }
.game-side .scoreboard tbody tr:last-child > * { border-bottom: 0; }
.game-side .scoreboard tbody tr:first-child > :last-child { font-weight: 800; }
.game-side .player-score-summary {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    padding: 8px 6px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
}
.game-side .player-score-summary div { padding: 4px; text-align: center; border: 0; background: transparent; }
.game-side .player-score-summary dt { color: var(--muted); font-size: .8rem; }
.game-side .player-score-summary dd { color: var(--accent); margin: 3px 0 0; font-size: 1.3rem; font-weight: 850; }
.game-recommendations a {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 7px;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.game-recommendations a span { width: 64px; border-radius: 8px; font-size: 1.65rem; }
@media (max-width: 860px) {
    .game-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "player" "sidebar" "information";
        gap: 15px;
    }
    .game-poster { aspect-ratio: 1.8; min-height: 190px; }
    .game-recommendations a span { width: 48px; }
    .game-section-links a { font-size: .92rem; }
}
