/* Compact game banners, shared red accents and period standings. */
.home-games { --games-red: var(--f24-red, var(--lime)); --games-purple: var(--f24-purple, var(--club-brand, #61358b)); }
.home-games-grid { align-items: start; }
body.public-site .home-games .home-games-quiz.f24-band {
    min-height: 190px;
    grid-template-columns: minmax(0, 1fr) minmax(110px, .48fr);
    border-inline-start: 4px solid var(--games-red);
    background: radial-gradient(ellipse at 100% 0, #dd32243d, transparent 65%), linear-gradient(115deg, #44215f, var(--games-purple));
}
.home-games .home-games-quiz-copy { padding: 18px 0 18px 20px; }
.home-games .home-games-quiz :is(h2,h3) { margin-block: 7px; font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.12; }
.home-games .home-games-quiz-copy > p:not(.home-games-kicker) { font-size: .82rem; line-height: 1.45; }
.home-games .home-games-quiz-copy > a { min-height: 42px; margin-top: 11px; padding: 9px 14px; background: var(--games-red); color: #fff; }
.home-games .home-games-quiz-art { padding: 8px; background: transparent; }
.home-games .home-games-quiz-art img { width: 100%; max-width: 182px; }
.home-games .home-games-more > a {
    --game-border: color-mix(in srgb, var(--games-red) 38%, var(--games-purple));
    --game-label: #ffd5d0;
    border-inline-start: 3px solid var(--games-red);
    background: radial-gradient(ellipse at 100% 0, #dd322438, transparent 75%), linear-gradient(120deg, #361b4c, var(--games-purple));
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-games .home-games-more .home-games-kicker { color: #ffd5d0; }
.home-games .home-games-arrow { background: var(--games-red); color: #fff; }
.home-games .home-games-more > a:hover { transform: translateY(-2px); border-color: var(--games-red); box-shadow: 0 8px 20px #61358b1a; }
.home-games .home-games-more img { transition: transform .2s ease; }
.home-games .home-games-more > a:hover img { transform: translateX(2px) rotate(-2deg); }
#home-games .home-games-more > a {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 82px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 7px 12px;
    min-height: 112px;
    padding: 15px 16px;
}
#home-games .home-games-more .home-games-kicker { grid-column: 1; grid-row: 1; align-self: end; }
#home-games .home-games-more > a > strong { grid-column: 1; grid-row: 2; align-self: start; font-size: 1rem; line-height: 1.24; max-width: none; min-height: 0; }
#home-games .home-games-more img { grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: 82px; max-height: 88px; object-fit: contain; margin: 0; }
#home-games .home-games-more .home-games-arrow { position: absolute; inset: auto 11px 9px auto; width: 21px; font-size: .8rem; }
#home-games .home-games-more > .home-games-memory { grid-template-columns: 96px minmax(0, 1fr); min-height: 108px; }
#home-games .home-games-memory .home-games-kicker { grid-column: 2; }
#home-games .home-games-more > .home-games-memory > strong { grid-column: 2; }
#home-games .home-games-memory img { grid-column: 1; width: 96px; max-height: 88px; }
.home-games .home-games-leaders { align-self: start; box-shadow: 0 8px 24px #61358b0b; overflow: hidden; }
body.public-site .home-games .home-games-leaders header {
    padding: 10px 16px;
    border-top: 3px solid var(--games-red);
    background: radial-gradient(ellipse at 100% 0, #dd322438, transparent 75%), var(--games-purple);
    color: #fff;
}
.home-games .home-games-leaders header img { width: 56px; }
.home-games .home-games-leaders :is(h2,h3) { font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.2; }
.home-games .home-games-leaders-body { flex: initial; padding: 5px 10px 4px; }
.home-games .home-games-leaders li { min-height: 43px; font-size: .86rem; }
.home-games .home-games-leader-tabs { display: flex; gap: 5px; padding: 10px 10px 5px; }
.home-games .home-games-leader-tabs a {
    display: flex; flex: 1; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 5px; border-radius: 7px; background: var(--f24-tint);
    color: var(--text); font-size: .78rem; font-weight: 750; text-decoration: none;
}
.home-games .home-games-leader-tabs a[aria-selected="true"] { background: var(--games-red); color: #fff; }
.home-games .home-games-leader-tabs a:hover { box-shadow: inset 0 0 0 1px var(--games-red); }
.home-games .home-games-leader-panel[hidden] { display: none; }
.home-games .home-games-leader-panel > a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 6px 7px; color: var(--ui-link); font-size: .84rem; font-weight: 750; }
.home-games .home-games-leader-panel > a:hover { text-decoration: underline; }
.home-games .home-games-leader-panel .home-games-empty { padding: 12px 7px; }
@media(max-width: 600px) {
    #home-games .home-games-more { grid-template-columns: 1fr; }
    #home-games .home-games-more > a { min-height: 96px; grid-template-columns: minmax(0, 1fr) 78px; padding: 12px 15px; }
    #home-games .home-games-more img { width: 74px; max-height: 78px; }
    #home-games .home-games-more > .home-games-memory { grid-template-columns: 80px minmax(0, 1fr); }
    #home-games .home-games-memory img { grid-column: 1; width: 80px; }
    .home-games .home-games-quiz-copy { padding: 16px 0 16px 16px; }
    .home-games .home-games-quiz-art { padding: 4px; }
}
@media(prefers-reduced-motion: reduce) {
    .home-games .home-games-more > a, .home-games .home-games-more img { transition: none; }
    .home-games .home-games-more > a:hover, .home-games .home-games-more > a:hover img { transform: none; }
}
