/* Landing design values shared by public lists, checkout and the client area. */
:root {
    --gamespy-surface: #1e1e1e;
    --gamespy-raised: #252525;
    --gamespy-border: #2a2a2a;
    --gamespy-divider: #303036;
    --gamespy-text: #e4e4e7;
    --gamespy-muted: #a1a1aa;
    --gamespy-accent: #3b82f6;
    --gamespy-radius: 4px;
    --gamespy-panel-radius: 6px;
}

/* Keep navigation on the same container grid as the landing page content. */
.gamespy-topbar__main {
    gap: 2.5rem;
}

.gamespy-topbar__desktop {
    display: none;
    gap: 2rem;
}

.gamespy-topbar__links {
    gap: 1rem;
    white-space: nowrap;
}

.gamespy-topbar__toggle {
    display: flex;
}

.gamespy-account-avatar {
    height: 2.25rem;
}

.gamespy-account-details {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Wallet balance in the profile menus (x-account.wallet-balance). */
.gamespy-wallet-amount {
    color: #60a5fa;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gamespy-wallet-amount[data-held] {
    color: #fcd34d;
}

.gamespy-topbar a:focus-visible,
.gamespy-topbar button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
}

@media (min-width: 1280px) {
    .gamespy-topbar__desktop {
        display: flex;
    }

    .gamespy-topbar__toggle,
    .gamespy-topbar__mobile {
        display: none !important;
    }
}

.gamespy-account-chart-empty {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding-top: .25rem;
}

.gamespy-account-empty {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 200px;
    padding: 2rem 1rem;
    text-align: center;
}

.gamespy-account-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: .25rem;
    border: 1px solid #354466;
    border-radius: .75rem;
    background: #242d42;
    color: #c5d5ff;
    font-size: 1.5rem;
}

.gamespy-account-empty__description {
    max-width: 28rem;
    line-height: 1.5;
}

.gamespy-account-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid #2a2a2a;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.gamespy-account-header__identity,
.gamespy-account-header__network {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .gamespy-account-header__network {
        margin-left: auto;
        text-align: right;
    }
}

.gamespy-account-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.gamespy-account-overview > * {
    min-width: 0;
}

.gamespy-account-server {
    overflow-wrap: anywhere;
}

.gamespy-network-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.gamespy-network-row__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gamespy-network-row__details {
    flex: 1 1 14rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gamespy-network-row__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

.gamespy-network-status--active,
.gamespy-network-status--disabled {
    border: 1px solid;
    border-radius: .25rem;
    white-space: nowrap;
}

.gamespy-network-status--active {
    background: #213c2b;
    border-color: #365b40;
    color: #a6e9b8;
}

.gamespy-network-status--disabled {
    background: #292929;
    border-color: #444;
    color: #b3b3b3;
}

.gamespy-key-guide {
    padding: 1rem;
    border: 1px solid #393939;
    border-radius: .25rem;
    background: #252525;
}

.gamespy-permission-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.gamespy-permission-badge {
    border: 1px solid #354466;
    border-radius: .25rem;
    background: #242d42;
    color: #c5d5ff;
}

.gamespy-timezone {
    position: relative;
}

.gamespy-content-overflow-visible {
    overflow: visible;
}

.gamespy-timezone__control {
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #2a2a2a;
    background: #1e1e1e;
    color: #fff;
    font-size: .875rem;
}

.gamespy-timezone__control:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.gamespy-timezone__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    text-align: left;
}

.gamespy-timezone__dropdown {
    position: absolute;
    top: calc(100% + .25rem);
    left: 0;
    right: 0;
    z-index: 30;
    padding: .5rem;
    background: #1e1e1e;
    border: 1px solid #3b3b3b;
    border-radius: .25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.gamespy-timezone__options {
    max-height: 15rem;
    margin-top: .5rem;
    overflow-y: auto;
}

.gamespy-timezone--inline .gamespy-timezone__dropdown {
    position: static;
    margin-top: .25rem;
}

.gamespy-timezone__option,
.gamespy-timezone__empty {
    padding: .5rem .75rem;
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.gamespy-timezone__option {
    cursor: pointer;
}

.gamespy-timezone__option--active {
    background: #283c75;
    color: #fff;
}

.gamespy-timezone__empty {
    color: #9ca3af;
}

@media (min-width: 1024px) {
    .gamespy-account-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#popup-container {

  	z-index: 999;

	position: fixed;

    background: rgba(17, 20, 23, 0.7);

    background-image: url("https://i.imgur.com/BXMC7OR.png");

    background-size: 40% 100%;

    background-position: right;

    background-repeat: no-repeat;

	color: #fff;

    bottom: 15px;

    left: 15px;

    padding: 7px 9px;

    width: 360px;

    height: 120px;

    border-radius: 25px;

    border: 3px solid rgba(255, 255, 255, 0.1);

}



#popup-container .popup-title {

	font-size: 17px;

    margin: 0;

}



#popup-container .popup-message {

	font-size: 12px;

    width: 205px;

}



#popup-container .download-button {

	display: block;

    width: 205px;

	background: rgb(28, 164, 233);

    border: 2px solid transparent;

    font-size: 14px;

    text-decoration: none;

   	text-transform: uppercase;

    text-align: center;

    color: #fff;

    height: 35px;

    line-height: 32px;

    margin-top: 5px;

    border-radius: 10px;

    transition: all 200ms;

}



#popup-container .download-button:hover {

	background: rgba(32, 32, 32, 0.4);

    border-color: rgba(255, 255, 255, 0.3);

}



#popup-container .close-button {

	cursor: pointer;

	float: right;

}



#popup-container .close-button:hover {

  	color: rgb(28, 164, 233);

}



#popup-container .popup-inside {

	margin-top: 7px;

}

/* Auth feedback stays within reserved space so validation does not move the form. */
.auth-notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.auth-field-error {
    height: 16px;
    overflow-y: auto;
    line-height: 16px;
}
.auth-input-field {
    position: relative;
    margin-bottom: 24px;
}
.auth-input-field > .auth-field-error {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}
@media (max-width: 479px) {
    .auth-field-error {
        height: 32px;
    }
    .auth-input-field {
        margin-bottom: 40px;
    }
}

/* One contact dialog is available from navigation and contextual actions. */
.gamespy-contact-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border: 1px solid #3b82f6;
    color: #fff;
    background: transparent;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
}
.gamespy-contact-trigger:hover {
    background: rgba(59, 130, 246, .12);
}
.gamespy-contact-trigger--nav {
    padding: 0;
    border: 0;
    font-weight: 700;
}
.gamespy-contact-trigger--nav:hover {
    color: #60a5fa;
    background: transparent;
}
.gamespy-contact-trigger--nav > i {
    color: #3b82f6;
}
.gamespy-contact-trigger--mobile {
    width: 100%;
    justify-content: flex-start;
    padding: .5rem .75rem;
    border: 0;
    border-left: 4px solid transparent;
    font-size: 1rem;
}
.gamespy-contact-trigger:focus-visible,
.gamespy-contact-channel:focus-visible,
.gamespy-contact-dialog__close:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 4px;
}
html:has(.gamespy-contact-dialog[open]) {
    overflow: hidden;
}
.gamespy-contact-dialog {
    margin: auto;
    padding: 0;
    width: min(30rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border: 1px solid #353535;
    border-radius: .75rem;
    background: #18181b;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.gamespy-contact-dialog::backdrop {
    background: rgba(0, 0, 0, .75);
}
.gamespy-contact-dialog__content {
    position: relative;
    padding: 2rem;
}
.gamespy-contact-dialog__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: .375rem;
    color: #a1a1aa;
    font-size: 1.25rem;
    cursor: pointer;
}
.gamespy-contact-dialog__close:hover {
    color: #fff;
    background: #27272a;
}
.gamespy-contact-dialog__eyebrow {
    color: #60a5fa;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
}
.gamespy-contact-dialog h2 {
    margin: .5rem 0;
    font-size: 2rem;
    font-weight: 700;
}
#gamespy-contact-description {
    color: #a1a1aa;
    font-size: .875rem;
    line-height: 1.6;
}
.gamespy-contact-channels {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    margin-top: 1.5rem;
}
.gamespy-contact-channel {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    border: 1px solid #353535;
    border-radius: .5rem;
    color: #f4f4f5;
    background: #202023;
    font-size: .875rem;
    font-weight: 600;
}
.gamespy-contact-channel:hover {
    border-color: #3b82f6;
    background: #27272a;
}
.gamespy-contact-channel > i,
.gamespy-contact-whatsapp {
    width: 1.25rem;
    font-size: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}
.gamespy-contact-whatsapp {
    height: 1.25rem;
    fill: #22c55e;
}
.gamespy-contact-channel > .gamespy-contact-channel__arrow {
    margin-left: auto;
    color: #71717a;
    font-size: 1rem;
}
.gamespy-contact-channels--inline {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.gamespy-auth-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #353535;
    text-align: center;
    font-size: .875rem;
}
.gamespy-auth-contact p {
    margin-bottom: .5rem;
    color: #a1a1aa;
}
@media (max-width: 479px) {
    .gamespy-contact-dialog__content {
        padding: 1.5rem;
    }
}
.gamespy-impersonation-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gamespy-divider, #3f3f46);
    background: var(--gamespy-surface, #18181b);
    color: var(--gamespy-text, #fafafa);
}
.gamespy-impersonation-banner div { min-width: 0; overflow-wrap: anywhere; }
.gamespy-impersonation-banner strong, .gamespy-impersonation-banner span { display: block; }
.gamespy-impersonation-banner span { font-size: 14px; color: var(--gamespy-muted, #a1a1aa); }
