/* ==========================================================================
   AUTENTICAÇÃO — BASE
   ========================================================================== */

.auth-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(246, 184, 58, .08),
            transparent 34rem
        ),
        var(--bg);
}

.auth-shell {
    width: min(100% - 2rem, 34rem);
    margin: 0 auto;
    padding: clamp(2rem, 7vw, 5rem) 0;
}

.auth-logo {
    width: max-content;
    margin: 0 auto 2rem;
}

.auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-topbar .auth-logo {
    margin: 0;
}

.auth-back {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.auth-back:hover {
    color: var(--gold-light);
}

.auth-guest {
    margin-top: 1.75rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: .85rem;
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.auth-divider span {
    white-space: nowrap;
}

.auth-guest-intro {
    margin: 1rem 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
    text-align: center;
}

.auth-guest-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.auth-guest-links a {
    display: grid;
    gap: .2rem;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: .85rem;
    padding: .8rem .9rem;
    background: rgba(8, 17, 30, .65);
    color: var(--text);
    text-decoration: none;
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.auth-guest-links a:hover {
    border-color: rgba(246, 184, 58, .5);
    background: rgba(246, 184, 58, .06);
    transform: translateY(-1px);
}

.auth-guest-links strong {
    color: var(--gold-light);
    font-size: .9rem;
}

.auth-guest-links span {
    overflow: hidden;
    color: var(--muted);
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================================================
   CARD DE AUTENTICAÇÃO
   ========================================================================== */

.auth-card {
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 1.75rem;
    background: rgba(14, 25, 42, .94);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, .35);
}

.auth-card h1 {
    margin: .5rem 0 1rem;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 9vw, 4.2rem);
    font-weight: 500;
    line-height: .98;
}

.auth-intro {
    margin: 0 0 2rem;
    color: var(--muted);
    line-height: 1.7;
}

.auth-card form {
    display: grid;
    gap: 1.15rem;
}

.auth-card label:not(.check-row) {
    display: grid;
    gap: .55rem;
    color: var(--text);
    font-weight: 700;
}

.auth-card input[type="email"],
.auth-card input[type="text"],
.auth-card input[type="password"] {
    width: 100%;
    min-height: 3.4rem;
    box-sizing: border-box;
    border: 1px solid var(--line-strong);
    border-radius: .85rem;
    padding: .85rem 1rem;
    background: #08111e;
    color: var(--text);
    font: inherit;
}

.auth-card input:focus {
    border-color: var(--gold);
    outline: 3px solid rgba(246, 184, 58, .12);
}

.auth-card label small,
.auth-switch {
    color: var(--muted);
    font-weight: 400;
    line-height: 1.5;
}

.check-row {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    color: var(--muted);
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: .5rem;
}

.auth-switch {
    margin: 1.5rem 0 0;
    text-align: center;
}

.auth-switch a {
    color: var(--gold-light);
    font-weight: 800;
}

.auth-message {
    margin: 0 0 1.25rem;
    border-radius: .8rem;
    padding: .9rem 1rem;
    line-height: 1.5;
}

.auth-message.is-success {
    border: 1px solid rgba(70, 226, 156, .25);
    background: rgba(70, 226, 156, .08);
    color: var(--green);
}

.auth-message.is-error {
    border: 1px solid rgba(255, 112, 112, .3);
    background: rgba(255, 112, 112, .08);
    color: #ffaaaa;
}

.auth-result {
    text-align: center;
}


/* ==========================================================================
   ELEMENTOS ANTIGOS DA CONTA
   ========================================================================== */

.account-facts {
    display: grid;
    margin: 2rem 0;
}

.account-facts div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding: 1rem 0;
}

.account-facts dt {
    color: var(--muted);
}

.account-facts dd {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    text-align: right;
}

.account-notice {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(70, 225, 165, .35);
    border-radius: 14px;
    color: #73efbd;
    background: rgba(70, 225, 165, .08);
}

.account-notice.is-error {
    border-color: rgba(255, 112, 112, .35);
    color: #ff9d9d;
    background: rgba(255, 112, 112, .08);
}


/* ==========================================================================
   MINHA CONTA — ESTRUTURA GERAL
   ========================================================================== */

.account-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% -12rem,
            rgba(246, 184, 58, .10),
            transparent 34rem
        ),
        radial-gradient(
            circle at 5% 35%,
            rgba(26, 105, 184, .055),
            transparent 35rem
        ),
        #050b13;
    color: var(--text);
}

.account-site {
    min-height: 100vh;
}

.account-main {
    display: grid;
    gap: 1rem;
    width: min(calc(100% - 3rem), 1180px);
    margin: 0 auto;
    padding: 1.5rem 0 2rem;
}


/* ==========================================================================
   CABEÇALHO DO SITE
   ========================================================================== */

.account-site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(121, 151, 183, .14);
    background: rgba(5, 11, 19, .92);
    box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .15);
}

.account-site-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    width: min(calc(100% - 3rem), 1180px);
    min-height: 72px;
    margin: 0 auto;
}

.account-site-logo {
    width: max-content;
    margin: 0;
}

.account-site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.7rem;
}

.account-site-nav a {
    position: relative;
    padding: .75rem 0;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .2s ease;
}

.account-site-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: .35rem;
    left: 50%;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
    transition:
        right .2s ease,
        left .2s ease;
}

.account-site-nav a:hover {
    color: var(--text);
}

.account-site-nav a:hover::after {
    right: 0;
    left: 0;
}

.account-site-back {
    white-space: nowrap;
}


/* ==========================================================================
   PERFIL
   ========================================================================== */

.account-profile-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(430px, .9fr);
    gap: 2rem;
    align-items: center;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid rgba(118, 151, 185, .22);
    border-radius: 1.3rem;
    padding: 2rem 2.25rem;
    background:
        radial-gradient(
            circle at 87% 30%,
            rgba(246, 184, 58, .09),
            transparent 17rem
        ),
        linear-gradient(
            135deg,
            rgba(15, 30, 50, .98),
            rgba(8, 17, 29, .98)
        );
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, .20);
}

.account-profile-panel::after {
    content: "TL";
    position: absolute;
    top: 50%;
    right: 2.5rem;
    transform: translateY(-50%);
    color: rgba(246, 184, 58, .045);
    font-family: var(--font-display);
    font-size: 9rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.account-profile-main {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    min-width: 0;
}

.account-avatar {
    display: grid;
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 1px solid rgba(246, 184, 58, .55);
    border-radius: 1.25rem;
    background:
        linear-gradient(
            145deg,
            rgba(246, 184, 58, .15),
            rgba(246, 184, 58, .035)
        );
    box-shadow:
        inset 0 0 0 1px rgba(246, 184, 58, .04),
        0 0 2rem rgba(246, 184, 58, .06);
    color: var(--gold-light);
    font-size: 1.35rem;
    font-weight: 900;
}

.account-profile-copy {
    min-width: 0;
}

.account-profile-copy .kicker {
    margin: 0 0 .35rem;
}

.account-profile-copy h1 {
    margin: 0;
    color: var(--text);
    font-family: inherit;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1;
}

.account-profile-email {
    overflow: hidden;
    margin: .65rem 0 .8rem;
    color: #91bde6;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-active-badge {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    width: max-content;
    border: 1px solid rgba(72, 225, 164, .25);
    border-radius: 999px;
    padding: .38rem .7rem;
    background: rgba(72, 225, 164, .075);
    color: #70eab7;
    font-size: .72rem;
    font-weight: 800;
}

.account-profile-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin: 0;
}

.account-profile-facts div {
    min-width: 0;
    border: 1px solid rgba(122, 153, 185, .18);
    border-radius: .85rem;
    padding: .85rem 1rem;
    background: rgba(4, 12, 22, .52);
}

.account-profile-facts dt {
    margin-bottom: .35rem;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.account-profile-facts dd {
    overflow: hidden;
    margin: 0;
    color: var(--text);
    font-size: .9rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================================================
   SEÇÕES
   ========================================================================== */

.account-content-section,
.account-account-actions {
    border: 1px solid rgba(118, 151, 185, .20);
    border-radius: 1.15rem;
    padding: 1.55rem;
    background:
        linear-gradient(
            145deg,
            rgba(14, 28, 47, .96),
            rgba(8, 18, 31, .96)
        );
    box-shadow: 0 .8rem 2.5rem rgba(0, 0, 0, .12);
}

.account-section-heading {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.account-section-heading .kicker {
    margin: 0 0 .35rem;
}

.account-section-heading h2,
.account-account-actions h2 {
    margin: 0;
    color: var(--text);
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: .01em;
}

.account-section-description {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
    text-align: right;
}


/* ==========================================================================
   CARDS
   ========================================================================== */

.account-dashboard-grid {
    display: grid;
    gap: .85rem;
}

.account-coins-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-activity-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.account-rewards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 132px;
    overflow: hidden;
    border: 1px solid rgba(124, 157, 192, .22);
    border-radius: .9rem;
    padding: 1rem;
    background:
        linear-gradient(
            145deg,
            rgba(15, 32, 53, .95),
            rgba(7, 17, 30, .97)
        );
    text-align: center;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.account-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 184, 58, .32);
    box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .18);
}

.account-stat::after {
    content: "";
    position: absolute;
    right: -2.4rem;
    bottom: -3.8rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgba(56, 143, 219, .05);
    pointer-events: none;
}

.account-stat-featured {
    border-color: rgba(246, 184, 58, .65);
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(246, 184, 58, .13),
            transparent 10rem
        ),
        linear-gradient(
            145deg,
            rgba(53, 39, 12, .86),
            rgba(13, 23, 34, .98)
        );
    box-shadow:
        inset 0 0 0 1px rgba(246, 184, 58, .05),
        0 0 1.5rem rgba(246, 184, 58, .05);
}

.account-stat-label {
    position: relative;
    z-index: 2;
    margin-bottom: .55rem;
    color: var(--gold-light);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.35;
    text-transform: uppercase;
}

.account-stat-value {
    position: relative;
    z-index: 2;
    max-width: 100%;
    color: var(--text);
    font-size: clamp(1.6rem, 2.7vw, 2.15rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.account-stat-unit {
    position: relative;
    z-index: 2;
    margin-top: .45rem;
    color: var(--muted);
    font-size: .72rem;
}


/* ==========================================================================
   RECOMPENSAS
   ========================================================================== */

.account-reward-card {
    min-height: 150px;
}

.account-reward-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-bottom: .55rem;
    border-radius: .55rem;
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    font-size: .8rem;
    font-weight: 900;
}

.account-reward-card.is-live {
    border-color: rgba(255, 83, 96, .32);
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255, 67, 85, .08),
            transparent 10rem
        ),
        linear-gradient(
            145deg,
            rgba(50, 19, 28, .62),
            rgba(8, 18, 31, .97)
        );
}

.account-reward-card.is-chat {
    border-color: rgba(54, 154, 255, .38);
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(40, 145, 255, .08),
            transparent 10rem
        ),
        linear-gradient(
            145deg,
            rgba(9, 47, 78, .62),
            rgba(8, 18, 31, .97)
        );
}

.account-reward-card.is-other {
    border-color: rgba(246, 184, 58, .38);
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(246, 184, 58, .09),
            transparent 10rem
        ),
        linear-gradient(
            145deg,
            rgba(53, 40, 13, .62),
            rgba(8, 18, 31, .97)
        );
}


/* ==========================================================================
   HISTÓRICO
   ========================================================================== */

.account-history-table {
    overflow: hidden;
    border: 1px solid rgba(123, 154, 186, .20);
    border-radius: .9rem;
    background: rgba(3, 11, 20, .58);
}

.account-history {
    max-height: 315px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(246, 184, 58, .32)
        rgba(255, 255, 255, .025);
}

.account-history::-webkit-scrollbar {
    width: 7px;
}

.account-history::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .02);
}

.account-history::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(246, 184, 58, .30);
}

.account-history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    min-height: 62px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(123, 154, 186, .15);
    padding: .75rem 1rem;
}

.account-history-item:last-child {
    border-bottom: 0;
}

.account-history-item:hover {
    background: rgba(255, 255, 255, .018);
}

.account-history-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-width: 0;
}

.account-history-main strong {
    overflow: hidden;
    color: var(--text);
    font-size: .82rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-history-main span {
    color: var(--muted);
    font-size: .72rem;
    white-space: nowrap;
}

.account-history-value {
    min-width: 4rem;
    font-size: .9rem;
    font-weight: 900;
    text-align: right;
}

.account-history-value.is-credit {
    color: #55e9a6;
}

.account-history-value.is-debit {
    color: #ff8585;
}

.account-history-empty {
    margin: 0;
    padding: 2rem;
    color: var(--muted);
    text-align: center;
}


/* ==========================================================================
   CONTAS VINCULADAS
   ========================================================================== */

.account-linked-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.account-linked-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 86px;
    box-sizing: border-box;
    border: 1px solid rgba(123, 154, 186, .20);
    border-radius: .9rem;
    padding: 1rem 1.1rem;
    background:
        linear-gradient(
            145deg,
            rgba(14, 30, 50, .88),
            rgba(5, 15, 26, .94)
        );
}

.account-linked-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: .8rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.account-linked-twitch {
    border: 1px solid rgba(160, 110, 255, .38);
    background: rgba(145, 70, 255, .16);
    color: #c7a7ff;
}

.account-linked-discord {
    border: 1px solid rgba(100, 123, 255, .38);
    background: rgba(88, 101, 242, .16);
    color: #aab4ff;
}

.account-linked-info {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.account-linked-info span {
    color: var(--muted);
    font-size: .72rem;
}

.account-linked-info strong {
    overflow: hidden;
    color: var(--text);
    font-size: .92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-linked-status {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    border: 1px solid rgba(71, 225, 162, .22);
    border-radius: 999px;
    padding: .35rem .65rem;
    background: rgba(71, 225, 162, .07);
    color: #6eeab7;
    font-size: .68rem;
    font-weight: 850;
    white-space: nowrap;
}

.account-discord-link {
    width: max-content;
    margin-top: 1rem;
}

.account-content-section .account-notice {
    margin: 1rem 0 0;
}


/* ==========================================================================
   AÇÕES
   ========================================================================== */

.account-account-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.account-account-actions .kicker {
    margin: 0 0 .3rem;
}

.account-actions-buttons {
    display: flex;
    gap: .7rem;
    align-items: center;
}

.account-actions-buttons .button {
    min-width: 160px;
    justify-content: center;
}

.account-logout {
    border-color: rgba(255, 113, 113, .24);
    color: #ffb1b1;
}

.account-logout:hover {
    border-color: rgba(255, 113, 113, .45);
    background: rgba(255, 113, 113, .06);
}


/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.account-footer {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(121, 151, 183, .15);
    background:
        linear-gradient(
            180deg,
            rgba(7, 15, 26, .90),
            rgba(3, 8, 14, .98)
        );
}

.account-footer-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 3rem), 1180px);
    margin: 0 auto;
    padding: 2rem 0 1.5rem;
}

.account-footer-brand {
    max-width: 420px;
}

.account-footer-brand .logo {
    width: max-content;
}

.account-footer-brand p {
    margin: .9rem 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.6;
}

.account-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    justify-content: flex-end;
}

.account-footer-nav a {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.account-footer-nav a:hover {
    color: var(--gold-light);
}

.account-footer-bottom {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: min(calc(100% - 3rem), 1180px);
    margin: 0 auto;
    border-top: 1px solid rgba(121, 151, 183, .11);
    padding: 1rem 0 1.4rem;
    color: rgba(145, 168, 193, .65);
    font-size: .7rem;
}


/* ==========================================================================
   RESPONSIVO — TABLET
   ========================================================================== */

@media (max-width: 1000px) {

    .account-profile-panel {
        grid-template-columns: 1fr;
    }

    .account-profile-panel::after {
        top: 4rem;
        transform: none;
    }

    .account-profile-facts {
        max-width: 650px;
    }

    .account-coins-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-activity-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .account-rewards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ==========================================================================
   RESPONSIVO — MOBILE / TABLET PEQUENO
   ========================================================================== */

@media (max-width: 760px) {

    .account-main,
    .account-site-header-inner,
    .account-footer-inner,
    .account-footer-bottom {
        width: min(calc(100% - 1.25rem), 1180px);
    }

    .account-site-header-inner {
        grid-template-columns: 1fr auto;
        min-height: 64px;
        gap: 1rem;
    }

    .account-site-nav {
        display: none;
    }

    .account-site-back {
        font-size: .74rem;
    }

    .account-main {
        padding-top: .8rem;
    }

    .account-profile-panel {
        gap: 1.5rem;
        min-height: 0;
        padding: 1.35rem;
    }

    .account-profile-panel::after {
        right: 1rem;
        font-size: 6rem;
    }

    .account-avatar {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
        border-radius: 1rem;
    }

    .account-profile-copy h1 {
        font-size: 2.2rem;
    }

    .account-profile-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-content-section,
    .account-account-actions {
        padding: 1.1rem;
    }

    .account-section-heading {
        display: grid;
        gap: .5rem;
        align-items: initial;
    }

    .account-section-description {
        max-width: none;
        text-align: left;
    }

    .account-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-rewards-grid {
        grid-template-columns: 1fr;
    }

    .account-linked-grid {
        grid-template-columns: 1fr;
    }

    .account-account-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-actions-buttons {
        width: 100%;
    }

    .account-actions-buttons .button {
        flex: 1;
        min-width: 0;
    }

    .account-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem;
    }

    .account-footer-nav {
        justify-content: flex-start;
    }

}


/* ==========================================================================
   RESPONSIVO — CELULAR
   ========================================================================== */

@media (max-width: 520px) {

    .auth-topbar {
        align-items: flex-start;
    }

    .auth-back {
        padding-top: .65rem;
    }

    .auth-guest-links {
        grid-template-columns: 1fr;
    }

    .account-site-back {
        padding-right: .7rem;
        padding-left: .7rem;
    }

    .account-profile-main {
        align-items: flex-start;
    }

    .account-avatar {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        border-radius: .85rem;
        font-size: .95rem;
    }

    .account-profile-copy h1 {
        font-size: 1.85rem;
    }

    .account-profile-email {
        max-width: 210px;
        font-size: .78rem;
    }

    .account-profile-facts {
        grid-template-columns: 1fr;
    }

    .account-coins-grid,
    .account-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-stat {
        min-height: 112px;
        padding: .8rem .55rem;
    }

    .account-stat-value {
        font-size: 1.55rem;
    }

    .account-stat-label {
        font-size: .62rem;
    }

    .account-history {
        max-height: 300px;
    }

    .account-history-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .5rem;
        padding: .7rem .75rem;
    }

    .account-history-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .account-history-main strong {
        white-space: normal;
    }

    .account-history-main span {
        font-size: .65rem;
    }

    .account-linked-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .account-linked-status {
        grid-column: 2;
        width: max-content;
    }

    .account-discord-link {
        width: 100%;
        justify-content: center;
    }

    .account-actions-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .account-footer-bottom {
        flex-direction: column;
        gap: .35rem;
    }

}


/* ==========================================================================
   CELULARES MUITO ESTREITOS
   ========================================================================== */

@media (max-width: 380px) {

    .account-coins-grid,
    .account-activity-grid {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================================
   DADOS DO JOGO — organização visual
   Escopo exclusivo de #dados-jogo para não alterar o restante da conta.
   ========================================================================== */

#dados-jogo {
    --game-border: rgba(129, 168, 207, 0.18);
    --game-border-strong: rgba(129, 168, 207, 0.28);
    --game-surface: rgba(4, 17, 31, 0.42);
    --game-surface-soft: rgba(8, 27, 47, 0.54);
    --game-green: #43e59b;
    --game-gold: #ffc84d;
}

#dados-jogo .account-game-data-block {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--game-border);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(8, 28, 49, 0.34), rgba(3, 15, 28, 0.22));
}

#dados-jogo .account-game-data-block + .account-game-data-block {
    margin-top: 16px;
}

#dados-jogo .account-game-data-block > .account-section-heading {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

#dados-jogo .account-game-data-block > .account-section-heading h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

#dados-jogo .account-game-data-block > .account-section-heading h3 span {
    color: var(--game-gold);
}

#dados-jogo .account-game-data-block > .account-section-heading .account-section-description {
    margin: 0;
}

/* Servidores: transforma a lista atual em cards discretos */

#dados-jogo [data-servers-list] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

#dados-jogo [data-servers-list] .account-history-item {
    min-height: 78px;
    padding: 15px 14px;
    border: 1px solid rgba(67, 229, 155, 0.30);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(8, 39, 42, 0.42), rgba(4, 25, 31, 0.36));
}

#dados-jogo [data-servers-list] .account-history-item:hover {
    border-color: rgba(67, 229, 155, 0.48);
    background:
        linear-gradient(180deg, rgba(9, 47, 48, 0.48), rgba(4, 28, 33, 0.40));
}

#dados-jogo [data-servers-list] .account-history-main {
    width: 100%;
    gap: 5px;
}

#dados-jogo [data-servers-list] .account-history-main strong {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
}

#dados-jogo [data-servers-list] .account-history-main strong::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(67, 229, 155, 0.72);
    border-radius: 50%;
    color: var(--game-green);
    font-size: 0.68rem;
    font-weight: 900;
    background: rgba(18, 94, 68, 0.28);
}

#dados-jogo [data-servers-list] .account-history-main span {
    padding-left: 24px;
    color: var(--game-green);
    font-size: 0.74rem;
}

/* Formulário de servidor */

#dados-jogo [data-server-form] {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--game-border);
}

#dados-jogo [data-server-form] > label,
#dados-jogo [data-game-id-form] > label {
    display: block;
    margin-bottom: 8px;
    color: #f2f7fd;
    font-size: 0.86rem;
    font-weight: 700;
}

#dados-jogo [data-server-form] .account-actions-buttons,
#dados-jogo [data-game-id-form] .account-actions-buttons {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#dados-jogo [data-server-select],
#dados-jogo [data-game-id-input] {
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--game-border-strong);
    border-radius: 10px;
    outline: none;
    background: #07182a;
    color: #e8f2fc;
    font: inherit;
    font-size: 0.88rem;
    box-shadow: none;
}

#dados-jogo [data-server-select] {
    width: min(100%, 330px);
    cursor: pointer;
}

#dados-jogo [data-game-id-input] {
    width: min(100%, 380px);
}

#dados-jogo [data-server-select]:focus,
#dados-jogo [data-game-id-input]:focus {
    border-color: rgba(255, 200, 77, 0.72);
    box-shadow: 0 0 0 3px rgba(255, 200, 77, 0.08);
}

#dados-jogo [data-server-submit],
#dados-jogo [data-game-id-submit] {
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border-radius: 10px;
    white-space: nowrap;
}

#dados-jogo [data-server-submit]:disabled {
    opacity: 0.55;
    cursor: default;
}

/* IDs: tabela compacta e alinhada */

#dados-jogo .account-game-data-block:nth-of-type(2) .account-history-table {
    margin-top: 0;
}

#dados-jogo [data-game-ids-list] {
    max-height: 315px;
    border: 1px solid var(--game-border);
    border-radius: 12px;
    background: rgba(2, 13, 25, 0.38);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(246, 184, 58, .32)
        rgba(255, 255, 255, .025);
}

#dados-jogo [data-game-ids-list]::-webkit-scrollbar {
    width: 7px;
}

#dados-jogo [data-game-ids-list]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .02);
}

#dados-jogo [data-game-ids-list]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(246, 184, 58, .30);
}

#dados-jogo [data-game-ids-list] .account-history-item {
    min-height: 48px;
    padding: 11px 14px;
    background: transparent;
}

#dados-jogo [data-game-ids-list] .account-history-item:hover {
    background: rgba(15, 42, 67, 0.30);
}

#dados-jogo [data-game-ids-list] .account-history-main {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    align-items: center;
    gap: 16px;
}

#dados-jogo [data-game-ids-list] .account-history-main strong {
    font-size: 0.88rem;
}

#dados-jogo [data-game-ids-list] .account-history-main span {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 65, 94, 0.46);
    color: #b8cee2;
    font-size: 0.70rem;
    line-height: 1;
}

#dados-jogo [data-game-ids-list] .account-history-item:first-child .account-history-main span {
    border: 1px solid rgba(255, 200, 77, 0.24);
    background: rgba(119, 83, 12, 0.28);
    color: #ffd76d;
}

#dados-jogo [data-game-id-form] {
    margin-top: 18px;
}

#dados-jogo [data-game-id-form] small {
    display: block;
    margin-top: 8px;
    color: #8fa9c1;
    font-size: 0.74rem;
}

/* Avisos dentro desta seção */

#dados-jogo .account-notice {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 0.82rem;
}

/* Responsivo */

@media (max-width: 980px) {
    #dados-jogo [data-servers-list] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    #dados-jogo .account-game-data-block {
        padding: 16px;
    }

    #dados-jogo [data-servers-list] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #dados-jogo [data-server-select],
    #dados-jogo [data-game-id-input] {
        width: 100%;
        flex: 1 1 100%;
    }

    #dados-jogo [data-server-submit],
    #dados-jogo [data-game-id-submit] {
        width: 100%;
    }
}

@media (max-width: 420px) {
    #dados-jogo [data-servers-list] {
        grid-template-columns: 1fr;
    }

    #dados-jogo [data-game-ids-list] .account-history-main {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    #dados-jogo [data-game-ids-list] .account-history-main span {
        justify-self: start;
    }
}


/* ==========================================================================
   DADOS DO JOGO — excluir Game ID secundário
   Escopo exclusivo da lista de IDs.
   ========================================================================== */

#dados-jogo [data-game-ids-list] .account-history-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

#dados-jogo [data-game-ids-list] .account-game-id-delete {
    min-height: 30px;
    margin: 0;
    border: 1px solid rgba(255, 112, 112, .32);
    border-radius: 8px;
    padding: 5px 10px;
    background: rgba(255, 112, 112, .07);
    color: #ffaaaa;
    font: inherit;
    font-size: .70rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        opacity .2s ease;
}

#dados-jogo [data-game-ids-list] .account-game-id-delete:hover {
    border-color: rgba(255, 112, 112, .55);
    background: rgba(255, 112, 112, .12);
}

#dados-jogo [data-game-ids-list] .account-game-id-delete:disabled {
    opacity: .5;
    cursor: default;
}
