* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #2b1055, #0b0b12 65%);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.container {
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
}

h1 {
    font-size: 28px;
    margin-bottom: 18px;
}

h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

h7 {
    font-size: 18px;
}

input {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 16px;
    outline: none;
}

input::placeholder {
    color: rgba(255,255,255,0.55);
}

button {
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    margin: 6px 3px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: transform 0.1s ease, filter 0.1s ease, box-shadow 0.15s ease;
    touch-action: manipulation;
}

button:active {
    transform: scale(0.96);
}

.createBtn {
    background: linear-gradient(135deg, #00d084, #00a86b);
    color: white;
    width: 100%;
}

.joinBtn {
    background: linear-gradient(135deg, #4c8dff, #335cff);
    color: white;
    width: 100%;
}

.LogoutBtn {

    background: linear-gradient(135deg, #ff0000, #ff0000);
    color: white;
    width: 25%;
}

.startBtn {
    background: linear-gradient(135deg, #ffb300, #ff6a00);
    color: white;
    width: 100%;
    margin-top: 10px;
}

.section {
    margin-top: 18px;
}

.logo {
    display: block;
    width: min(700px, 100%);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 10%;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.protectedLogo {
    width: min(700px, 100%);
    margin: 0 auto;
    user-select: none;
    -webkit-touch-callout: none;
}

.protectedLogo .logo {
    width: 100%;
    margin: 0;
}

#roomInfo {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 14px;
    color: #ffd86b;
}

#playerList {
    list-style: none;
    margin-top: 12px;
}

#playerList li {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 7px;
}

#round {
    margin-top: 22px;
    font-size: 24px;
    font-weight: bold;
}

#timer {
    font-size: 38px;
    margin-top: 12px;
    color: #ffd700;
    font-weight: bold;
}

#selectedNumber {
    margin-top: 12px;
    color: #00ff99;
    font-size: 18px;
    font-weight: bold;
}

.numberGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.numberBtn {
    height: 58px;
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 24px;
    border: 1px solid rgba(255,255,255,0.12);
}

.numberBtn:hover {
    background: #6c4cff;
}

#results {
    margin-top: 22px;
    text-align: left;
}

#results h2,
#results h3 {
    text-align: center;
    margin-bottom: 12px;
}

#results p {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 18px 0;
}

.historyBtn {
    width: 100%;
    background: linear-gradient(135deg, #8e44ad, #5e35b1);
    color: white;
    margin-top: 12px;
}

.historyMatch {
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 12px;
    margin-top: 12px;
    text-align: left;
}

.historyRound {
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 10px;
    margin-top: 8px;
}

.modalOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 20px;
    contain: layout paint;
}

.modalBox {
    width: 100%;
    max-width: 380px;
    background: #1e1e2f;
    border-radius: 20px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: translateZ(0);
}

body.modal-open .container {
    backdrop-filter: none;
}

.modalBox h2 {
    color: #ffcc00;
    margin-bottom: 12px;
}

.modalBox p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.tieBreakerEliminatedBox {
    max-width: 390px;
    border: 1px solid rgba(255, 59, 92, 0.42);
    background:
        radial-gradient(circle at top, rgba(255, 59, 92, 0.16), transparent 48%),
        #171522;
    text-align: center;
}

.tieBreakerEliminatedBox h2 {
    color: #ff6b83;
    text-shadow: 0 0 12px rgba(255, 59, 92, 0.3);
}

.tieBreakerEliminatedIcon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0 auto 14px;
    border: 2px solid rgba(255, 107, 131, 0.78);
    border-radius: 50%;
    color: #ff6b83;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    box-shadow:
        0 0 20px rgba(255, 59, 92, 0.2),
        inset 0 0 16px rgba(255, 59, 92, 0.08);
}

.tieBreakerEliminatedBox .tieBreakerEliminatedReason {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.tieBreakerEliminatedBox .confirmLeaveBtn {
    width: 100%;
}

.confirmLeaveBtn {
    width: 100%;
    background: linear-gradient(135deg, #ff4d4d, #c62828);
    color: white;
}

.cancelLeaveBtn {
    width: 100%;
    background: rgba(255,255,255,0.15);
    color: white;
}

.adminAreaBtn:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    filter: grayscale(0.35);
    box-shadow: none;
}

.infoBtn{

    width:100%;

    margin-top:10px;

    background:linear-gradient(135deg,#4c8dff,#2b63ff);

    color:white;

}

.howToPlayBox{

    max-height:80vh;

    overflow-y:auto;

    max-width:480px;

    text-align:left;

    scrollbar-gutter:stable;

}

.howToMainTitle{

    margin:4px 0 16px;

    text-align:center;

}

.howToCard{

    margin:0 0 14px;

    padding:16px;

    border:1px solid rgba(255,255,255,.13);

    border-radius:16px;

    background:rgba(255,255,255,.055);

    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);

}

.howToCard h2,
.howToCard h3{

    margin:0 0 9px;

}

.howToCard p:last-child{

    margin-bottom:0;

}

.howToWarningCard{

    border-color:rgba(255,77,77,.38);

    background:linear-gradient(135deg, rgba(255,38,38,.12), rgba(255,179,0,.07));

}

.howToWarningCard h2{

    color:#ff7474;

    text-align:center;

}

.howToNumericCard{

    border-color:rgba(255,213,79,.34);

    background:linear-gradient(145deg, rgba(255,213,79,.08), rgba(108,76,255,.09));

}

.howToNumericCard h3:not(:first-child){

    margin-top:16px;

    padding-top:14px;

    border-top:1px solid rgba(255,213,79,.18);

}

.howToFlashCard{

    border-color:rgba(79,195,247,.35);

    background:linear-gradient(145deg, rgba(79,195,247,.1), rgba(76,141,255,.06));

}

.howToTieCard{

    border-color:rgba(168,85,247,.34);

    background:linear-gradient(145deg, rgba(168,85,247,.1), rgba(76,29,149,.06));

}

.howToHistoryCard{

    border-color:rgba(0,208,132,.3);

    background:linear-gradient(145deg, rgba(0,208,132,.09), rgba(2,132,199,.05));

}

.howToPlayBox h3{

    color:#FFD54F;

}

.howToPlayBox p{

    margin-top:8px;

    line-height:1.6;

    text-align:left;

}

.howToPlayBox hr{

    display:none;

}

.entryFeeGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.entryFeeGrid button {
    background: linear-gradient(135deg, #00d084, #00a86b);
    color: white;
    font-size: 18px;
    padding: 16px;
}

.loginError{

    color:#ff3b3b;

    font-size:14px;

    margin-top:8px;

    min-height:18px;

    font-weight:bold;

}

.fieldError{

    min-height:18px;

    margin:4px 0 10px;

    color:#ff3b3b;

    font-size:13px;

    font-weight:bold;

}

.walletCard{

    background:#1f2937;

    border-radius:16px;

    padding:20px;

    margin-top:20px;

    box-shadow:0 4px 18px rgba(0,0,0,.25);

}

.walletTitle{

    color:white;

    margin-bottom:18px;

    font-size:22px;

}

.walletInfo{

    display:flex;

    gap:20px;

}

.walletBalanceBox{

    flex:1;

    background:#143d24;

    padding:15px;

    border-radius:12px;

}

.walletLockedBox{

    flex:1;

    background:#451515;

    padding:15px;

    border-radius:12px;

}

.walletLabel{

    display:block;

    color:#cfcfcf;

    font-size:14px;

    margin-bottom:8px;

}

.walletBalanceValue{

    color:#00d26a;

    font-size:28px;

    font-weight:bold;

}

.walletLockedValue{

    color:#ff4444;

    font-size:28px;

    font-weight:bold;

}

#quickMatchCountdownBox{

    display:none;

    margin:20px auto;

    padding:18px;

    max-width:500px;

    border-radius:12px;

    background:#3d0000;

    border:3px solid #ff0000;

    text-align:center;

    animation:pulseCountdown .8s infinite;

}

#quickMatchCountdownText{

    color:#ff2b2b;

    font-size:34px;

    font-weight:bold;

    text-shadow:
        0 0 8px #ff0000,
        0 0 18px #ff0000,
        0 0 30px #ff4444;

}

.championStatsCard {
    position: relative;
    width: 100%;
    margin-top: 18px;
    padding: 3px;
    border-radius: 18px;
    overflow: hidden;
    background: #171717;
}

.championStatsCard::before {
    content: "";
    position: absolute;
    width: 180%;
    height: 180%;
    top: -40%;
    left: -40%;

    background: conic-gradient(
        transparent 0deg,
        transparent 250deg,
        #8a5d00 290deg,
        #ffd700 320deg,
        #fff2a8 340deg,
        #ffd700 355deg,
        transparent 360deg
    );

    animation: rotateGoldenBorder 3s linear infinite;
}

.championStatsCard::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        #26200d,
        #151515 55%,
        #211900
    );
}

.championStatsContent {
    position: relative;
    z-index: 2;

    min-height: 105px;
    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    text-align: left;
}

.championStatsIcon {
    font-size: 42px;

    filter: drop-shadow(
        0 0 10px rgba(255, 215, 0, 0.8)
    );

    animation: trophyPulse 1.8s ease-in-out infinite;
}

.championStatsLabel {
    display: block;
    color: #e7dca7;
    font-size: 14px;
    margin-bottom: 6px;
}

.championStatsValue {
    display: block;
    color: #ffd700;
    font-size: 34px;
    font-weight: 800;

    text-shadow:
        0 0 8px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 174, 0, 0.45);
}

@keyframes rotateGoldenBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes trophyPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes pulseCountdown{

    0%{

        transform:scale(1);

        box-shadow:0 0 10px #ff0000;

    }

    50%{

        transform:scale(1.03);

        box-shadow:0 0 30px #ff0000;

    }

    100%{

        transform:scale(1);

        box-shadow:0 0 10px #ff0000;

    }

}

#quickMatchBtn{

    position:relative;

    overflow:hidden;

    isolation:isolate;

    width:min(100%, 370px);

    min-height:76px;

    margin:0;

    padding:13px 16px;

    display:grid;

    grid-template-columns:minmax(0, 1fr) 28px;

    align-items:center;

    gap:12px;

    text-align:left;

    background:
        radial-gradient(circle at 18% 0%, rgba(255,255,255,.32), transparent 34%),
        linear-gradient(135deg, #ffcf33 0%, #ff9f1c 48%, #ff6b35 100%);

    color:#211204;

    border:1px solid rgba(255,245,190,.9);

    border-radius:18px;

    cursor:pointer;

    box-shadow:
        0 12px 28px rgba(255,145,0,.26),
        0 0 18px rgba(255,215,0,.24),
        inset 0 1px 0 rgba(255,255,255,.52),
        inset 0 -2px 0 rgba(112,51,0,.18);

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .22s ease;

}

#authArea {
    position: fixed;
    inset: 0;
    z-index: 900;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 3, 16, 0.56);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.authDialog {
    position: relative;
    width: min(100%, 390px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 26px 22px 22px;
    border: 1px solid rgba(126, 87, 255, 0.48);
    border-radius: 20px;
    background:
        radial-gradient(circle at top, rgba(108, 76, 255, 0.2), transparent 38%),
        rgba(20, 17, 36, 0.94);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.68),
        0 0 28px rgba(108, 76, 255, 0.2);
    animation: authDialogOpen 0.22s ease-out;
}

.authDialog h2 {
    color: #ffcc00;
    margin-bottom: 14px;
}

.authDialog > button:not(.authCloseBtn) {
    min-width: 120px;
}

.authCloseBtn {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

body.auth-modal-open {
    overflow: hidden;
}

@keyframes authDialogOpen {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quickMatchContainer{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    gap:8px;

    margin:20px 0;

}

#quickMatchBtn::before{

    content:"";

    position:absolute;

    top:-60%;

    left:-120%;

    width:60px;

    height:220%;

    background:linear-gradient(

        110deg,

        transparent 0%,

        rgba(255,255,255,.15) 30%,

        rgba(255, 255, 255, 0.9) 50%,

        rgba(255,255,255,.15) 70%,

        transparent 100%

    );

    transform:rotate(20deg);

    animation:quickMatchShine 2.8s infinite;

    z-index:-1;

}

#quickMatchBtn:hover:not(:disabled){

    transform:translateY(-2px);

    filter:brightness(1.05) saturate(1.08);

}

#quickMatchBtn:active:not(:disabled){

    transform:translateY(0) scale(.985);

}

#quickMatchBtn:focus-visible{

    outline:3px solid rgba(125,211,252,.9);

    outline-offset:3px;

}

#quickMatchBtn:disabled{

    cursor:wait;

    opacity:.72;

    filter:saturate(.72);

}

.quickMatchButtonCopy{

    min-width:0;

    display:flex;

    flex-direction:column;

    gap:3px;

}

#quickMatchButtonText{

    font-size:16px;

    line-height:1.15;

    letter-spacing:.07em;

    color:#251105;

}

#quickMatchButtonHint{

    overflow:hidden;

    color:rgba(52,25,5,.74);

    font-size:11px;

    font-weight:700;

    line-height:1.25;

    text-overflow:ellipsis;

    white-space:nowrap;

}

.quickMatchButtonArrow{

    display:grid;

    place-items:center;

    width:28px;

    height:28px;

    border-radius:50%;

    background:rgba(45,17,5,.13);

    color:#351504;

    font-size:27px;

    line-height:1;

    transition:transform .18s ease, background .18s ease;

}

#quickMatchBtn:hover:not(:disabled) .quickMatchButtonArrow{

    transform:translateX(3px);

    background:rgba(45,17,5,.2);

}

#quickMatchBtn{

    animation:buttonGlow 1.8s ease-in-out infinite;

}

@keyframes buttonGlow{

    0%,100%{

        box-shadow:
            0 12px 28px rgba(255,145,0,.26),
            0 0 16px rgba(255,215,0,.28),
            inset 0 1px 0 rgba(255,255,255,.52);

    }

    50%{

        box-shadow:
            0 14px 32px rgba(255,145,0,.32),
            0 0 30px rgba(255,215,0,.52),
            inset 0 1px 0 rgba(255,255,255,.58);

    }

}

@keyframes quickMatchShine{

    0%{

        left:-120%;

    }

    40%{

        left:140%;

    }

    100%{

        left:140%;

    }

}

.loggedUserCard{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 22px;

    margin:15px auto;

    background:rgba(20,20,20,.65);

    border:1px solid rgba(146, 144, 144, 0.12);

    border-radius:12px;

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    box-shadow:
        0 0 18px rgba(0,0,0,.35);

}

#loggedUser{

    color:#ffffff;

    font-size:18px;

    font-weight:bold;

    text-shadow:
        0 0 8px rgba(255,255,255,.2);

}





@media (max-width: 480px) {
    .container {
        padding: 18px;
        border-radius: 20px;
    }

    h1 {
        font-size: 28px;
    }

    .numberGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .numberBtn {
        height: 58px;
    }
}
.walletInfo {
    display: grid;
    grid-template-columns: 1fr;
}

.walletDepositedBox,
.walletWithdrawableBox {
    padding: 15px;
    border-radius: 12px;
}

.walletDepositedBox { background: #3b2f12; }
.walletWithdrawableBox { background: #12354b; }

.walletDepositedValue,
.walletWithdrawableValue {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.walletDepositedValue { color: #f6c453; }
.walletWithdrawableValue { color: #4fc3f7; }

.walletRule {
    margin: 16px 0;
    color: #cbd5e1;
    line-height: 1.45;
}

.walletActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.walletActionPanel {
    padding: 16px;
    border: 1px solid #475569;
    border-radius: 12px;
    background: #111827;
}

.walletActionPanel h4 { margin: 0 0 10px; color: #fff; }
.walletActionPanel label { display: block; margin-bottom: 8px; color: #cbd5e1; }
.walletActionPanel input,
.walletActionPanel select {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #64748b;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
}

.walletActionBtn {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.walletWithdrawBtn { background: #0284c7; }
.walletMessage { min-height: 22px; margin: 12px 0 0; font-weight: 700; }
.walletMessage.success { color: #4ade80; }
.walletMessage.error { color: #f87171; }

.depositPixArea {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(74, 222, 128, 0.38);
    border-radius: 10px;
    background: rgba(22, 163, 74, 0.08);
    text-align: center;
}

.depositPixArea[hidden] { display: none; }
.depositPixArea img {
    width: min(230px, 100%);
    margin: 0 auto;
    border-radius: 8px;
    background: #fff;
}
.depositPixArea textarea {
    width: 100%;
    min-height: 82px;
    box-sizing: border-box;
    resize: vertical;
    padding: 9px;
    border: 1px solid #64748b;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
}
.depositPixArea span { color: #cbd5e1; font-size: 13px; }
.pixCopyBtn { background: #2563eb; }

.walletOwnershipNotice {
    display: grid;
    gap: 5px;
    margin: 0 0 14px;
    padding: 11px 12px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.38);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.42;
    box-shadow: inset 0 0 14px rgba(245, 158, 11, 0.05);
}

.walletOwnershipNotice strong {
    color: #fbbf24;
    font-size: 13px;
}

@media (max-width: 800px) {
    .walletInfo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .walletActions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .walletInfo { grid-template-columns: 1fr; }
}
.openWalletBtn {
    width: 100%;
    margin: 18px 0 0;
    background: linear-gradient(135deg, #2563eb, #0284c7);
    color: #fff;
}

.walletModalBox {
    max-width: 430px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    text-align: left;
}

.walletModalBox > h2,
.walletModalRule,
.walletModalBox > .walletMessage {
    text-align: center;
}

.walletModalRule {
    margin: 16px 0 4px;
    color: #cbd5e1;
}

.walletModalClose {
    margin-top: 12px;
}

@media (max-width: 800px) {
    .walletModalBox {
        max-width: 430px;
    }
}
.walletActionBtn:disabled,
.walletActionPanel input:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.withdrawalPendingNotice {
    margin: 12px 0 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}
.loggedUserCard {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    gap: 10px;
    flex-wrap: wrap;
}

.loggedUserCard.guestAccountCard {
    cursor: pointer;
    border-color: rgba(255, 204, 0, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 204, 0, 0.11), rgba(108, 76, 255, 0.13)),
        rgba(20,20,20,.68);
    box-shadow:
        0 0 20px rgba(255, 204, 0, 0.12),
        inset 0 0 16px rgba(108, 76, 255, 0.07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.loggedUserCard.guestAccountCard:hover,
.loggedUserCard.guestAccountCard:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 220, 80, 0.8);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28),
        0 0 24px rgba(255, 204, 0, 0.2);
    outline: none;
}

.loggedUserCard.guestAccountCard #loggedUser {
    color: #ffe27a;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.28);
}

#loggedUser,
.twoFactorAlertBtn {
    width: 100%;
}

.loggedUserCard .LogoutBtn,
.loggedUserCard .adminAreaBtn {
    width: auto;
}

.twoFactorAlertBtn {
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #f59e0b;
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    font-size: 13px;
    animation: twoFactorPulse 2s infinite;
}

.twoFactorAlertBtn.required {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

@keyframes twoFactorPulse {
    50% { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.08); }
}

.twoFactorBox {
    max-width: 480px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.twoFactorBox label {
    display: block;
    margin-top: 12px;
    color: #dbeafe;
    font-weight: 700;
}

.twoFactorUser {
    color: #7dd3fc;
    font-weight: 800;
}

.twoFactorCodeInput {
    text-align: center;
    letter-spacing: 8px;
    font-size: 24px;
    font-weight: 800;
}

.twoFactorQrCode {
    width: min(280px, 100%);
    margin: 12px auto;
    border-radius: 12px;
    background: #fff;
}

.twoFactorQrLoading {
    padding: 35px 10px;
    color: #93c5fd;
}

.twoFactorManualArea {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #475569;
    border-radius: 10px;
    background: #0f172a;
}

.twoFactorManualArea span,
.twoFactorManualArea code {
    display: block;
}

.twoFactorManualArea code {
    margin: 9px 0;
    color: #7dd3fc;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.twoFactorPermanentWarning {
    margin: 12px 0 !important;
    padding: 10px;
    border-radius: 9px;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    font-weight: 700;
}

@media (max-width: 600px) {
    .loggedUserCard {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }

    #loggedUser,
    .twoFactorAlertBtn {
        width: 100%;
    }
}

.registerGeneralError {
    text-align: center;
    margin-top: 2px;
}

.registerGeneralError.registrationSuccess {
    min-height: 0;
    margin: 8px 0 16px;
    padding: 13px 14px;
    color: #58f59b;
    background: rgba(0, 208, 132, 0.1);
    border: 1px solid rgba(88, 245, 155, 0.52);
    border-radius: 12px;
    line-height: 1.5;
    text-shadow: 0 0 10px rgba(88, 245, 155, 0.32);
    box-shadow:
        inset 0 0 16px rgba(0, 208, 132, 0.08),
        0 0 16px rgba(0, 208, 132, 0.08);
}

.termsAcceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 2px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.termsAcceptance input {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: #00d084;
}

.termsAcceptance a {
    color: #8fb4ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.termsAcceptance a:hover {
    color: #b8ceff;
}

.termsPage {
    max-width: 760px;
    margin: 32px auto;
    text-align: left;
}

.termsBody {
    align-items: flex-start;
}

.termsPage h1 {
    text-align: center;
}

.termsPage section {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid rgba(137, 108, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.termsPage h2 {
    margin: 0 0 8px;
    color: #d7ccff;
    font-size: 18px;
}

.termsPage p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
}

.termsPage p:last-child {
    margin-bottom: 0;
}

.termsPage .termsVersion {
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
}

.termsSupport {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 8px;
    margin-top: 18px;
    padding: 9px;
    border: 1px solid rgba(76, 141, 255, 0.26);
    border-radius: 14px;
    background: rgba(76, 141, 255, 0.07);
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

.termsSupport strong {
    color: #ffffff;
}

.termsSupport a {
    color: #8fb4ff;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.gameSupportContact {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

.gameSupportContact a {
    color: rgba(143, 180, 255, 0.58);
    text-decoration: none;
}

.gameSupportContact a:hover {
    color: rgba(184, 206, 255, 0.82);
    text-decoration: underline;
}

.globalSupportContact {
    margin: 10px 0 2px;
}

.termsPage .cancelLeaveBtn {
    margin-top: 22px;
}

.quickMatchStatus{
    min-height:20px;
    margin:0;
    text-align:center;
    color:#ffe27a;
    font-weight:700;
}

.howToPigeonCard{
    border-color:rgba(244,114,182,.34);
    background:linear-gradient(145deg, rgba(244,114,182,.1), rgba(34,211,238,.06));
}

.roomPlayerStatus{
    margin:0 0 8px;
    padding:8px 12px;
    border:1px solid rgba(255,226,122,.24);
    border-radius:12px;
    background:rgba(255,216,107,.07);
}

.roomPlayerStatus:empty{
    display:none;
}

.serverProtectionNotice{
    margin:10px 0 18px;
    padding:12px 14px;
    border:1px solid #ffb347;
    border-radius:8px;
    background:rgba(255, 143, 0, .14);
    color:#ffd59a;
    text-align:center;
}

.leaveQuickMatchQueueBtn{
    width:auto;
    padding:8px 14px;
    background:#555;
}

#createRoomBtn:disabled{
    cursor:not-allowed;
    opacity:.45;
}

/* Acabamento punk neon usando a paleta original do projeto. */
.container {
    border-color: rgba(126, 87, 255, 0.38);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(108, 76, 255, 0.14),
        inset 0 0 22px rgba(76, 141, 255, 0.04);
}

.logo {
    filter:
        drop-shadow(0 0 8px rgba(255, 0, 0, 0.22))
        drop-shadow(0 0 16px rgba(108, 76, 255, 0.12));
}

h1,
h2 {
    text-shadow: 0 0 12px rgba(142, 68, 173, 0.2);
}

input:focus,
select:focus {
    border: 1px solid rgba(76, 141, 255, 0.75);
    box-shadow:
        0 0 0 3px rgba(76, 141, 255, 0.1),
        0 0 15px rgba(108, 76, 255, 0.12);
}

.createBtn,
.walletActionBtn,
.entryFeeGrid button {
    box-shadow: 0 0 14px rgba(0, 208, 132, 0.22);
}

.joinBtn,
.infoBtn,
.openWalletBtn,
.adminAreaBtn,
.walletWithdrawBtn {
    box-shadow: 0 0 14px rgba(76, 141, 255, 0.24);
}

.historyBtn {
    box-shadow: 0 0 15px rgba(142, 68, 173, 0.26);
}

.LogoutBtn,
.confirmLeaveBtn {
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.23);
}

.startBtn {
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.25);
}

.createBtn:hover:not(:disabled),
.walletActionBtn:hover:not(:disabled) {
    box-shadow: 0 0 22px rgba(0, 208, 132, 0.36);
}

.joinBtn:hover:not(:disabled),
.infoBtn:hover:not(:disabled),
.openWalletBtn:hover:not(:disabled),
.walletWithdrawBtn:hover:not(:disabled) {
    box-shadow: 0 0 22px rgba(76, 141, 255, 0.4);
}

.numberBtn {
    border-color: rgba(108, 76, 255, 0.38);
    box-shadow: inset 0 0 10px rgba(108, 76, 255, 0.06);
}

.numberBtn:hover {
    box-shadow:
        0 0 18px rgba(108, 76, 255, 0.48),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.walletCard,
.loggedUserCard,
.historyMatch,
.modalBox {
    border: 1px solid rgba(108, 76, 255, 0.28);
}

.walletCard {
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.3),
        0 0 18px rgba(76, 141, 255, 0.09);
}

.walletBalanceBox {
    box-shadow: inset 0 0 15px rgba(0, 210, 106, 0.1);
}

.walletLockedBox {
    box-shadow: inset 0 0 15px rgba(255, 68, 68, 0.1);
}

.walletDepositedBox {
    box-shadow: inset 0 0 15px rgba(246, 196, 83, 0.09);
}

.walletWithdrawableBox {
    box-shadow: inset 0 0 15px rgba(79, 195, 247, 0.11);
}

.walletBalanceValue,
.walletLockedValue,
.walletDepositedValue,
.walletWithdrawableValue {
    text-shadow: 0 0 10px currentColor;
}

.modalBox {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(108, 76, 255, 0.16);
}

.fieldError,
.loginError,
.walletMessage.error {
    text-shadow: 0 0 8px rgba(255, 59, 59, 0.28);
}

/* Acabamento punk neon fraco, preservando a paleta original. */
body {
    background:
        radial-gradient(circle at 18% 8%, rgba(108, 76, 255, 0.12), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(255, 0, 95, 0.06), transparent 28%),
        radial-gradient(circle at top, #2b1055, #0b0b12 65%);
}

.container {
    border-color: rgba(137, 108, 255, 0.24);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(108, 76, 255, 0.09);
}

.logo {
    filter: drop-shadow(0 0 9px rgba(255, 25, 45, 0.13));
}

input:focus,
select:focus {
    border-color: rgba(124, 92, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.1);
}

.createBtn,
.walletActionBtn {
    box-shadow: 0 0 13px rgba(0, 208, 132, 0.14);
}

.joinBtn,
.openWalletBtn,
.adminAreaBtn,
.walletWithdrawBtn {
    box-shadow: 0 0 13px rgba(76, 141, 255, 0.14);
}

.LogoutBtn,
.confirmLeaveBtn {
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.13);
}

.startBtn {
    box-shadow: 0 0 13px rgba(255, 179, 0, 0.14);
}

.historyBtn,
.infoBtn {
    box-shadow: 0 0 12px rgba(108, 76, 255, 0.13);
}

.numberBtn {
    box-shadow: inset 0 0 12px rgba(108, 76, 255, 0.04);
}

.numberBtn:hover {
    box-shadow: 0 0 13px rgba(108, 76, 255, 0.2);
}

.walletCard,
.loggedUserCard,
.section,
.historyMatch,
.modalBox {
    border-color: rgba(137, 108, 255, 0.2);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28),
        0 0 15px rgba(108, 76, 255, 0.055);
}

.walletDepositedBox {
    box-shadow: inset 0 0 15px rgba(246, 196, 83, 0.045);
}

.walletWithdrawableBox {
    box-shadow: inset 0 0 15px rgba(79, 195, 247, 0.055);
}

button:hover:not(:disabled) {
    filter: brightness(1.06);
}

.gameModeLabel {
    min-height: 20px;
    margin-top: 8px;
    color: #7dd3fc;
    font-weight: 800;
    text-shadow: 0 0 9px rgba(79, 195, 247, 0.24);
}

.gameModeSelectLabel {
    display: block;
    margin: 8px 0 6px;
    color: #cbd5e1;
    font-weight: 700;
    text-align: left;
}

.gameModeSelect {
    width: 100%;
    padding: 13px;
    margin-bottom: 8px;
    border: 1px solid rgba(76, 141, 255, 0.35);
    border-radius: 12px;
    background: #17172a;
    color: #fff;
    font-size: 16px;
}

.flashGameArea {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid rgba(108, 76, 255, 0.35);
    border-radius: 16px;
    background: rgba(13, 13, 27, 0.82);
    box-shadow: 0 0 18px rgba(108, 76, 255, 0.1);
}

.flashTargetText {
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 18px;
}

.flashTargetText strong {
    color: #ffd700;
    font-size: 28px;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.flashNumberBtn {
    width: 100%;
    min-height: 140px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    background: linear-gradient(145deg, #6c4cff, #3b2b86);
    color: #fff;
    font-size: clamp(58px, 18vw, 82px);
    line-height: 1;
    box-shadow: 0 0 22px rgba(108, 76, 255, 0.3);
    user-select: none;
}

.flashNumberBtn:disabled {
    cursor: default;
    opacity: 0.78;
}

.flashNumberBtn.flashCorrect {
    background: linear-gradient(145deg, #00d084, #087a51);
    box-shadow: 0 0 24px rgba(0, 208, 132, 0.42);
}

.flashNumberBtn.flashWrong {
    background: linear-gradient(145deg, #ff3b3b, #8f1d2c);
    box-shadow: 0 0 24px rgba(255, 59, 59, 0.4);
}

.flashFeedback {
    min-height: 24px;
    margin: 12px 0;
    font-weight: 800;
}

.flashScoreboard {
    max-height: 180px;
    overflow-y: auto;
    text-align: left;
}

.flashScoreboard p {
    padding: 7px 9px;
    margin: 5px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.maintenanceNotice{
    margin:10px 0 18px;
    padding:12px 14px;
    border:1px solid #38bdf8;
    border-radius:8px;
    background:rgba(14, 116, 144, .18);
    color:#bae6fd;
    text-align:center;
    box-shadow:0 0 14px rgba(56, 189, 248, .08);
}

.pigeonGameArea {
    margin: 16px 0;
    padding: 12px;
    border: 1px solid rgba(244, 114, 182, 0.35);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(24, 18, 45, .92), rgba(8, 13, 29, .94));
    box-shadow: 0 0 22px rgba(244, 114, 182, 0.1);
}

.pigeonInstructions {
    margin: 0 0 10px;
    color: #f9a8d4;
    font-size: 14px;
    font-weight: 800;
}

.pigeonBoard {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    height: 390px;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, .25);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(108,76,255,.08), transparent 24%),
        repeating-linear-gradient(
            180deg,
            rgba(255,255,255,.025) 0,
            rgba(255,255,255,.025) 76px,
            transparent 77px,
            transparent 78px
        );
}

.pigeonLane {
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,.055);
}

.pigeonLane:last-child {
    border-right: 0;
}

.pigeonItem {
    position: absolute;
    top: -70px;
    left: 50%;
    width: min(66px, 92%);
    aspect-ratio: 1;
    margin: 0;
    padding: 2px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, 0);
    animation-name: pigeonFall;
    animation-timing-function: linear;
    animation-fill-mode: both;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.pigeonItem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 4px 7px rgba(0,0,0,.42));
}

.pigeonItem:hover:not(:disabled) img {
    filter:
        brightness(1.13)
        drop-shadow(0 0 9px rgba(125,211,252,.58));
}

.pigeonItem:disabled {
    cursor: default;
}

.pigeonItem.pigeonPending img {
    filter:
        brightness(1.2)
        drop-shadow(0 0 11px rgba(255,255,255,.7));
}

.pigeonItem.pigeonHit img {
    filter: drop-shadow(0 0 13px rgba(0,255,153,.95));
    opacity: .55;
}

.pigeonItem.bombHit img {
    filter: drop-shadow(0 0 15px rgba(255,59,59,.95));
    opacity: .55;
}

@keyframes pigeonFall {
    from { transform: translate(-50%, 0); }
    to { transform: translate(-50%, 460px); }
}

@media (max-width: 480px) {
    .pigeonBoard {
        height: 350px;
    }

    .pigeonItem {
        width: min(58px, 94%);
    }

    @keyframes pigeonFall {
        from { transform: translate(-50%, 0); }
        to { transform: translate(-50%, 420px); }
    }
}

/* Ações principais do lobby */
.lobbyActionBtn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    margin: 9px 0;
    padding: 11px 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
    isolation: isolate;
    transition:
        transform 0.16s ease,
        filter 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.2s ease;
}

.lobbyActionBtn::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.16),
        transparent 34%,
        transparent 70%,
        rgba(255, 255, 255, 0.08)
    );
    pointer-events: none;
}

.lobbyActionBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.lobbyActionBtn:active:not(:disabled) {
    transform: translateY(0) scale(0.985);
}

.lobbyActionIcon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(8, 8, 18, 0.2);
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.06);
}

.lobbyActionCopy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.lobbyActionCopy strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 0.2px;
}

.lobbyActionCopy small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lobbyActionArrow {
    color: rgba(255, 255, 255, 0.76);
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.16s ease;
}

.lobbyActionBtn:hover:not(:disabled) .lobbyActionArrow {
    transform: translateX(3px);
}

.lobbyHistoryBtn {
    background: linear-gradient(135deg, #8e44ad, #5e35b1);
    box-shadow:
        0 10px 24px rgba(94, 53, 177, 0.18),
        0 0 13px rgba(108, 76, 255, 0.14);
}

.lobbyJoinBtn {
    background: linear-gradient(135deg, #4c8dff, #335cff);
    box-shadow:
        0 10px 24px rgba(51, 92, 255, 0.18),
        0 0 13px rgba(76, 141, 255, 0.14);
}

.lobbyCreateBtn {
    background: linear-gradient(135deg, #00d084, #00a86b);
    box-shadow:
        0 10px 24px rgba(0, 168, 107, 0.16),
        0 0 13px rgba(0, 208, 132, 0.14);
}

@media (max-width: 480px) {
    .lobbyActionBtn {
        min-height: 62px;
        padding: 10px 12px;
    }

    .lobbyActionIcon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}
.privacyPreferencesBtn {
    appearance: none;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookieConsentBanner {
    position: fixed;
    z-index: 10000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(47, 255, 191, 0.45);
    border-radius: 14px;
    background: rgba(8, 10, 22, 0.97);
    box-shadow: 0 0 24px rgba(47, 255, 191, 0.16);
    color: #f4f5ff;
}

.cookieConsentBanner[hidden] {
    display: none !important;
}

.cookieConsentBanner p {
    margin: 5px 0 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.cookieConsentActions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.cookieConsentActions button {
    width: auto;
    min-width: 150px;
    margin: 0;
}

@media (max-width: 700px) {
    .cookieConsentBanner {
        align-items: stretch;
        flex-direction: column;
    }

    .cookieConsentActions {
        flex-direction: column;
    }

    .cookieConsentActions button {
        width: 100%;
    }
}

/* Cartão moderno da conta conectada */
#userArea {
    width: 100%;
}

.loggedUserCard {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 84px;
    margin: 15px 0;
    padding: 15px 16px;
    gap: 12px 16px;
    overflow: hidden;
    border: 1px solid rgba(112, 91, 255, 0.34);
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 0%, rgba(76, 141, 255, 0.13), transparent 38%),
        linear-gradient(145deg, rgba(24, 23, 45, 0.95), rgba(10, 12, 25, 0.94));
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(108, 76, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
}

.loggedUserCard::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(#4c8dff, #7c5cff, #ff3b8d);
    box-shadow: 0 0 14px rgba(108, 76, 255, 0.75);
}

.accountIdentity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.accountAvatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border: 1px solid rgba(133, 113, 255, 0.55);
    border-radius: 17px;
    background:
        linear-gradient(145deg, rgba(76, 141, 255, 0.28), rgba(108, 76, 255, 0.16)),
        #12172a;
    box-shadow:
        0 0 18px rgba(76, 141, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #f8f7ff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 10px rgba(125, 180, 255, 0.55);
}

.accountOnlineDot {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 12px;
    height: 12px;
    border: 3px solid #111426;
    border-radius: 50%;
    background: #35e69a;
    box-shadow: 0 0 9px rgba(53, 230, 154, 0.8);
}

.accountCopy {
    display: grid;
    min-width: 0;
    justify-items: start;
    gap: 3px;
}

.accountKicker {
    color: #8da5c9;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.loggedUserCard #loggedUser {
    display: block;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    color: #ffffff;
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 900;
    line-height: 1.18;
    text-overflow: ellipsis;
    text-shadow: 0 0 11px rgba(130, 150, 255, 0.22);
    white-space: nowrap;
}

.accountSecurityStatus {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    color: #aab8cc;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
}

.accountSecurityStatus.secure {
    border-color: rgba(53, 230, 154, 0.3);
    background: rgba(53, 230, 154, 0.09);
    color: #71f0ba;
}

.accountSecurityStatus.basic {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.09);
    color: #f9cf65;
}

.accountSecurityStatus.admin {
    border-color: rgba(167, 139, 250, 0.36);
    background: rgba(124, 92, 255, 0.13);
    color: #c4b5fd;
}

.accountActions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.loggedUserCard .accountActions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 12px;
}

.loggedUserCard .adminAreaBtn {
    background: linear-gradient(135deg, rgba(76, 141, 255, 0.9), rgba(108, 76, 255, 0.9));
    color: #fff;
}

.loggedUserCard .LogoutBtn {
    background: rgba(255, 67, 86, 0.1);
    border-color: rgba(255, 82, 99, 0.28);
    color: #ff9aa7;
    box-shadow: 0 0 12px rgba(255, 0, 42, 0.08);
}

.loggedUserCard .LogoutBtn:hover:not(:disabled) {
    background: rgba(255, 67, 86, 0.18);
    border-color: rgba(255, 110, 124, 0.46);
}

.loggedUserCard .twoFactorAlertBtn {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    border-radius: 11px;
}

.loggedUserCard.adminAccountCard::before {
    background: linear-gradient(#a78bfa, #7c5cff, #4c8dff);
}

.loggedUserCard.adminAccountCard .accountOnlineDot {
    background: #a78bfa;
    box-shadow: 0 0 9px rgba(167, 139, 250, 0.85);
}

.loggedUserCard.guestAccountCard {
    grid-template-columns: 1fr;
    border-color: rgba(255, 204, 0, 0.38);
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 204, 0, 0.12), transparent 40%),
        linear-gradient(145deg, rgba(28, 24, 37, 0.96), rgba(13, 13, 25, 0.94));
}

.loggedUserCard.guestAccountCard::before {
    background: linear-gradient(#ffe66d, #ffb52e, #ff3b8d);
}

.loggedUserCard.guestAccountCard::after {
    content: "›";
    position: absolute;
    right: 18px;
    color: #ffe27a;
    font-size: 30px;
    line-height: 1;
    opacity: 0.82;
}

.guestAccountCard .accountIdentity {
    padding-right: 34px;
}

.guestAccountCard .accountAvatar {
    border-color: rgba(255, 220, 80, 0.52);
    background: rgba(255, 204, 0, 0.1);
    color: #ffe27a;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.guestAccountCard .accountOnlineDot {
    background: #ffc83d;
    box-shadow: 0 0 9px rgba(255, 200, 61, 0.75);
}

.guestAccountCard .accountActions {
    display: none;
}

.guestAccountCard .accountSecurityStatus.guest {
    padding: 0;
    border: 0;
    background: transparent;
    color: #b8a978;
    font-size: 11px;
}

@media (max-width: 600px) {
    .loggedUserCard {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 13px;
        gap: 11px;
        border-radius: 17px;
    }

    .accountAvatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 15px;
        font-size: 19px;
    }

    .accountActions {
        width: 100%;
    }

    .loggedUserCard .accountActions button {
        flex: 1;
    }
}

/* Carteira moderna mantendo a paleta original */
.walletCard {
    position: relative;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(108, 76, 255, 0.25);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(76, 141, 255, 0.1), transparent 35%),
        linear-gradient(145deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.98));
    box-shadow:
        0 15px 38px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(108, 76, 255, 0.065),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.walletCard::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #00d26a, #f6c453, #4fc3f7, #ff4444);
    opacity: 0.72;
}

.walletHeader,
.walletHeading {
    display: flex;
    align-items: center;
}

.walletHeader {
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.walletHeading {
    min-width: 0;
    gap: 11px;
}

.walletTitleIcon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border: 1px solid rgba(0, 210, 106, 0.38);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(0, 210, 106, 0.18), rgba(79, 195, 247, 0.08));
    color: #55e99f;
    font-size: 21px;
    font-weight: 900;
    box-shadow:
        0 0 15px rgba(0, 210, 106, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.walletEyebrow {
    display: block;
    margin-bottom: 2px;
    color: #8ea0b8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.walletCard .walletTitle {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.1;
    text-shadow: 0 0 11px rgba(76, 141, 255, 0.16);
}

.walletLiveStatus {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(0, 210, 106, 0.2);
    border-radius: 999px;
    background: rgba(0, 210, 106, 0.065);
    color: #8bdcb4;
    font-size: 10px;
    font-weight: 800;
}

.walletLiveStatus i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00d26a;
    box-shadow: 0 0 8px rgba(0, 210, 106, 0.75);
}

.walletCard .walletInfo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.walletCard .walletBalanceBox,
.walletCard .walletDepositedBox,
.walletCard .walletWithdrawableBox,
.walletCard .walletLockedBox {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 112px;
    box-sizing: border-box;
    padding: 14px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 8px 20px rgba(0, 0, 0, 0.13);
}

.walletCard .walletBalanceBox::before,
.walletCard .walletDepositedBox::before,
.walletCard .walletWithdrawableBox::before,
.walletCard .walletLockedBox::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: currentColor;
    opacity: 0.6;
}

.walletCard .walletBalanceBox {
    border-color: rgba(0, 210, 106, 0.22);
    background: linear-gradient(145deg, rgba(20, 61, 36, 0.95), rgba(15, 45, 29, 0.92));
    color: #00d26a;
}

.walletCard .walletDepositedBox {
    border-color: rgba(246, 196, 83, 0.22);
    background: linear-gradient(145deg, rgba(59, 47, 18, 0.97), rgba(46, 36, 14, 0.94));
    color: #f6c453;
}

.walletCard .walletWithdrawableBox {
    border-color: rgba(79, 195, 247, 0.22);
    background: linear-gradient(145deg, rgba(18, 53, 75, 0.97), rgba(14, 42, 61, 0.94));
    color: #4fc3f7;
}

.walletCard .walletLockedBox {
    border-color: rgba(255, 68, 68, 0.22);
    background: linear-gradient(145deg, rgba(69, 21, 21, 0.96), rgba(52, 16, 19, 0.94));
    color: #ff4444;
}

.walletCard .walletLabel {
    display: block;
    margin: 0 0 8px;
    color: rgba(235, 241, 249, 0.72);
    font-size: 12px;
    line-height: 1.3;
}

.walletCard .walletBalanceValue,
.walletCard .walletDepositedValue,
.walletCard .walletWithdrawableValue,
.walletCard .walletLockedValue {
    display: block;
    margin-top: auto;
    overflow: hidden;
    color: currentColor;
    font-size: clamp(21px, 4.5vw, 27px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-shadow: 0 0 10px currentColor;
    white-space: nowrap;
}

.walletBalanceHint {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: rgba(218, 228, 240, 0.48);
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.walletCard .openWalletBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 55px;
    margin: 13px 0 0;
    padding: 10px 17px;
    border: 1px solid rgba(76, 141, 255, 0.38);
    border-radius: 15px;
    background: linear-gradient(135deg, #2563eb, #0284c7);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow:
        0 9px 22px rgba(2, 132, 199, 0.18),
        0 0 14px rgba(76, 141, 255, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.walletCard .openWalletBtn:hover:not(:disabled) {
    box-shadow:
        0 11px 25px rgba(2, 132, 199, 0.24),
        0 0 21px rgba(76, 141, 255, 0.22);
}

.walletModalBox {
    border-radius: 23px;
    background:
        radial-gradient(circle at 100% 0%, rgba(76, 141, 255, 0.1), transparent 30%),
        #121a28;
}

.walletModalBox > h2 {
    margin-top: 2px;
    font-size: 23px;
}

.walletModalBox .walletActions {
    gap: 13px;
}

.walletModalBox .walletActionPanel {
    border-radius: 16px;
    background: rgba(8, 14, 25, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.walletModalBox .walletActionPanel:first-child {
    border-color: rgba(0, 210, 106, 0.25);
}

.walletModalBox .walletActionPanel:nth-child(2) {
    border-color: rgba(79, 195, 247, 0.25);
}

.walletModalBox .walletActionPanel h4 {
    margin: 0 0 13px;
    color: #f7f9fc;
    font-size: 17px;
}

@media (max-width: 480px) {
    .walletCard {
        padding: 14px;
        border-radius: 18px;
    }

    .walletHeader {
        margin-bottom: 13px;
    }

    .walletTitleIcon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 13px;
    }

    .walletLiveStatus {
        padding: 5px 7px;
        font-size: 9px;
    }

    .walletCard .walletInfo {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .walletCard .walletBalanceBox,
    .walletCard .walletDepositedBox,
    .walletCard .walletWithdrawableBox,
    .walletCard .walletLockedBox {
        min-height: 102px;
        padding: 13px;
    }

    .walletCard .walletBalanceValue,
    .walletCard .walletDepositedValue,
    .walletCard .walletWithdrawableValue,
    .walletCard .walletLockedValue {
        font-size: 24px;
    }
}
