.stake-home .stake-nav-tabs {
    display: none;
}

.home-guest-banner,.home-guest-destinations { display:none; }
.guest-view .home-guest-banner { display:grid; place-items:center; min-height:375px; border-radius:14px; overflow:hidden; background:#152b3f url('../images/games/guest-registration.png') center / cover; padding:35px 20px; }
.home-guest-signup { display:flex; flex-direction:column; align-items:center; width:min(350px,100%); text-align:center; }
.home-guest-signup h1 { color:#f4f6f7; font-size:30px; line-height:1.35; font-weight:650; margin:0 0 14px; text-shadow:0 2px 10px #09131a; }
.home-guest-signup > .stake-btn { width:100%; min-height:44px; border-radius:12px; }
.home-guest-signup p { color:#c1d0da; font-size:12px; margin:12px 0 7px; }
.home-guest-signin { background:#303e46; border:0; border-radius:11px; padding:10px 36px; color:#f0f6fa; font:600 14px inherit; }
.home-guest-signin:hover { background:#41545f; }
.guest-view .home-guest-destinations { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.home-guest-destinations > :is(a,div) { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; border-radius:14px; padding:10px 14px; background:var(--stake-bg-secondary); color:var(--stake-text-primary); text-decoration:none; }
.home-guest-destinations .game-card-status { margin:0; }
.home-guest-destinations i { color:var(--stake-text-muted); margin-right:4px; }
.home-lobby.guest-view :is(.home-hero-grid,#home-vip,#home-recent) { display:none; }
.stake-body:has(.home-lobby.guest-view) .stake-nav-center { position:static; transform:none; margin-left:auto; margin-right:0; flex:0 0 auto; max-width:none; justify-content:flex-end; }
.stake-body:has(.home-lobby.guest-view) .stake-auth-buttons .stake-btn-secondary { background:var(--stake-bg-tertiary); border-color:transparent; }
.stake-body:has(.home-lobby.guest-view) .stake-nav-far-right > :not(#chatToggle) { display:none!important; }
.stake-body:has(.home-lobby.guest-view):has(.stake-chat-panel.open) .stake-nav-far-right { display:none; }
@media(max-width:768px) {
    .guest-view .home-guest-banner { min-height:310px; background-size:auto 100%; }
    .home-guest-signup { width:min(280px,90%); background:#10202b8a; padding:18px; border-radius:16px; }
    .home-guest-signup h1 { font-size:25px; }
    .guest-view .home-guest-destinations { gap:10px; }
    .home-guest-destinations > :is(a,div) { padding:9px; font-size:12px; }
    .home-guest-destinations .game-card-status { font-size:10px; }
}
@media(max-width:480px) {
    .stake-body:has(.home-lobby.guest-view) { --stake-navbar-height:70px; }
    .stake-body:has(.home-lobby.guest-view) .stake-nav-container { display:flex; }
    .stake-body:has(.home-lobby.guest-view) .stake-nav-center { margin:0 4px 0 auto; }
    .stake-body:has(.home-lobby.guest-view) .stake-auth-buttons .stake-btn { min-height:36px; padding:8px 11px; font-size:12px; }
    .stake-body:has(.home-lobby.guest-view) .stake-sidebar { top:79px; height:calc(100dvh - 89px); }
}


.home-lobby {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-hero-card {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--stake-bg-secondary);
    color: var(--stake-text-primary);
    text-decoration: none;
}

a.home-hero-card:hover,
a.home-hero-card:focus-visible {
    color: #fff;
    background: var(--stake-bg-tertiary);
}

.home-hero-art {
    position: relative;
    aspect-ratio: 3.28 / 1;
    background: var(--stake-action);
}

.home-hero-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: right center;
}

.home-hero-art h2 {
    position: absolute;
    inset: 16px auto auto 16px;
    margin: 0;
    font-size: clamp(16px, 2.5vw, 23px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #071b43;
}

.home-hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 600;
}

.home-hero-footer i,
.home-section-heading i,
.home-search i {
    color: var(--stake-text-muted);
}

.home-hero-footer .game-card-status {
    margin: 0;
    font-weight: 400;
}

.home-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-inline: 14px;
    min-height: 56px;
    border: 1px solid var(--stake-border);
    border-radius: 8px;
    background: var(--stake-bg-inset);
}

.home-search:focus-within {
    border-color: var(--stake-accent);
}

.home-search input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--stake-text-primary);
    font: inherit;
    font-size: 14px;
}

.home-search input::placeholder {
    color: var(--stake-text-secondary);
}

.home-search kbd {
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--stake-border);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
}

.home-section {
    min-width: 0;
    scroll-margin-top: calc(var(--stake-navbar-height) + 16px);
}

.home-section-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 650;
    line-height: 24px;
}

.home-vip-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 12px;
    border-radius: 8px;
    background: var(--stake-bg-secondary);
}

.home-vip-emblem {
    flex: 0 0 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid var(--stake-border);
    border-radius: 16px;
    color: var(--stake-text-primary);
    background: linear-gradient(145deg, var(--stake-action), var(--stake-bg-secondary));
    font-size: 30px;
}

.home-vip-details {
    flex: 1;
    min-width: 0;
}

.home-vip-summary,
.home-vip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.home-vip-summary {
    font-size: 14px;
    font-weight: 600;
}

.home-vip-summary button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--stake-accent);
    font: inherit;
}

.home-vip-track {
    height: 8px;
    margin-block: 8px 6px;
    border-radius: 999px;
    background: var(--stake-bg-inset);
}

.home-vip-meta,
.home-no-results {
    color: var(--stake-text-secondary);
    font-size: 13px;
}

.home-no-results {
    margin: 8px 0 0;
}

.home-lobby [hidden] {
    display: none;
}

.home-lobby .stake-originals-grid {
    grid-auto-columns: minmax(110px, calc((100% - 98px) / 8));
}

@media (max-width: 768px) {
    .home-lobby {
        gap: 20px;
    }

    .home-hero-grid {
        gap: 10px;
    }

    .home-hero-art {
        aspect-ratio: 1.8 / 1;
    }

    .home-hero-art h2 {
        inset: 10px auto auto 10px;
    }

    .home-hero-footer {
        font-size: 12px;
        min-height: 40px;
        padding-inline: 8px;
    }

    .home-hero-footer .game-card-status {
        font-size: 10px;
    }

    .home-search kbd {
        display: none;
    }
}
