.game-card[data-game-launchable="true"] {
    cursor: pointer;
}

.game-card[data-game-launchable="true"]:focus-visible {
    outline: 2px solid #78a8ff;
    outline-offset: 3px;
}

.provider-tabs {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.provider-tabs::-webkit-scrollbar {
    display: none;
}

.provider-tabs.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.provider-tabs.is-dragging .provider-tab {
    pointer-events: none;
}

.provider-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}

.provider-tab img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: contain;
}

.auth-gate-modal {
    position: relative;
    width: min(100%, 360px);
    max-height: min(90vh, 720px);
    overflow-y: auto;
    padding: 28px 24px 22px;
    border: 1px solid rgba(202, 221, 255, .24);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(48, 101, 190, .23), transparent 58%),
        linear-gradient(155deg, #07153b, #050526 70%, #071b31);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .66), inset 0 1px rgba(255, 255, 255, .08);
    color: #f5f7ff;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .76);
    pointer-events: auto;
}

.modal-backdrop[hidden] {
    display: none !important;
}

.modal-backdrop > [role="dialog"]:not([hidden]) {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.auth-gate-modal a,
.auth-gate-modal button {
    pointer-events: auto;
}

.auth-gate-modal .gate-logo {
    margin-bottom: 24px;
}

.auth-gate-modal .telegram-login,
.auth-gate-modal .gate-register {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-weight: 800;
}

.auth-gate-modal .telegram-login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: linear-gradient(135deg, #249bd7, #1478b8);
    color: #fff;
}

.auth-gate-modal .telegram-recommended {
    position: absolute;
    top: -10px;
    right: 9px;
    padding: 4px 8px;
    border: 1px solid rgba(206, 230, 205, .4);
    border-radius: 999px;
    background: linear-gradient(135deg, #d8c38b, #9dc9b7);
    box-shadow: 0 0 12px rgba(157, 201, 183, .28);
    color: #10243a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.2;
}

.auth-gate-modal .gate-register {
    border: 1px solid rgba(236, 196, 103, .55);
    background: linear-gradient(135deg, #b78a3e, #755323);
    color: #fff9eb;
    cursor: pointer;
}
