/* ==========================
   ROLETA DE GOLS
   GOLEIRO DE ÓCULOS
   ========================== */

.roleta-page{
    background:
        radial-gradient(circle at top, rgba(255,196,0,.08), transparent 38%),
        #000;
}

/* ==========================
   HERO
   ========================== */

.roleta-hero{
    padding:70px 0 35px;
    background:
        linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.92)),
        url("../img/banner-desktop.png") center/cover;
    border-bottom:1px solid rgba(255,196,0,.18);
}

.roleta-title-box{
    max-width:760px;
}

.roleta-kicker{
    display:inline-block;
    margin-bottom:12px;
    color:var(--yellow);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:1.8px;
}

.roleta-title-box h1{
    margin-bottom:16px;
    font-family:"Oswald", sans-serif;
    font-size:4rem;
    line-height:1;
    text-transform:uppercase;
}

.roleta-title-box p{
    max-width:630px;
    color:#ddd;
    font-size:1.08rem;
}

/* ==========================
   ÁREA PRINCIPAL
   ========================== */

.roleta-section{
    padding:55px 0 80px;
}

/* ==========================
   FORMULÁRIO
   ========================== */

.setup-panel{
    max-width:1000px;
    margin:0 auto;
    padding:34px;
    border:1px solid rgba(255,196,0,.22);
    border-radius:18px;
    background:
        linear-gradient(145deg, rgba(255,196,0,.05), transparent 45%),
        #111;
    box-shadow:var(--shadow);
}

.setup-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:25px;
    margin-bottom:35px;
    padding-bottom:22px;
    border-bottom:1px solid #2a2a2a;
}

.setup-header > div{
    display:flex;
    align-items:center;
    gap:14px;
}

.setup-number{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:50%;
    background:var(--yellow);
    color:#000;
    font-family:"Oswald", sans-serif;
    font-size:1.15rem;
    font-weight:700;
}

.setup-header h2{
    color:var(--yellow);
    font-family:"Oswald", sans-serif;
    font-size:2rem;
    line-height:1;
    text-transform:uppercase;
}

.setup-header p{
    max-width:360px;
    color:#bbb;
    font-size:.95rem;
    text-align:right;
}

.teams-form{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:28px;
}

.team-config{
    min-height:390px;
    padding:24px;
    border:1px solid #303030;
    border-radius:14px;
    background:#151515;
}

.team-a-config{
    border-top:4px solid var(--yellow);
}

.team-b-config{
    border-top:4px solid #777;
}

.team-label{
    margin-bottom:18px;
}

.team-label span{
    display:inline-flex;
    padding:5px 10px;
    border-radius:20px;
    background:#252525;
    color:#ddd;
    font-size:.76rem;
    font-weight:700;
    letter-spacing:.8px;
    text-transform:uppercase;
}

.team-logo-preview{
    display:flex;
    align-items:center;
    justify-content:center;
    width:105px;
    height:105px;
    margin:0 auto 20px;
    overflow:hidden;
    border:2px dashed #777;
    border-radius:50%;
    background:#0b0b0b;
}

.team-logo-preview img{
    width:100%;
    height:100%;
    padding:8px;
    object-fit:contain;
}

.team-logo-preview span{
    color:#777;
    font-family:"Oswald", sans-serif;
    font-size:.85rem;
    letter-spacing:1px;
}

.team-config label{
    display:block;
    margin:14px 0 7px;
    color:#ddd;
    font-size:.85rem;
    font-weight:700;
}

.team-config input[type="text"]{
    width:100%;
    padding:13px 14px;
    border:1px solid #3b3b3b;
    border-radius:8px;
    outline:none;
    background:#0e0e0e;
    color:#fff;
    font:inherit;
}

.team-config input[type="text"]:focus{
    border-color:var(--yellow);
}

.team-config input[type="file"]{
    width:100%;
    padding:9px;
    border:1px dashed #4b4b4b;
    border-radius:8px;
    background:#0e0e0e;
    color:#ccc;
    font-size:.78rem;
}

.team-config input[type="file"]::file-selector-button{
    margin-right:10px;
    padding:8px 10px;
    border:0;
    border-radius:6px;
    background:#2a2a2a;
    color:#fff;
    cursor:pointer;
    font-weight:700;
}

.team-config input[type="file"]::file-selector-button:hover{
    background:var(--yellow);
    color:#000;
}

.versus-box{
    display:flex;
    align-items:center;
    justify-content:center;
    width:62px;
    height:62px;
    border:2px solid var(--yellow);
    border-radius:50%;
    background:#000;
    color:var(--yellow);
    font-family:"Oswald", sans-serif;
    font-size:1.25rem;
    font-weight:700;
    box-shadow:0 0 20px rgba(255,196,0,.18);
}

.setup-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:14px;
    margin-top:34px;
}

.btn-start{
    min-width:240px;
    border:0;
    cursor:pointer;
    font-family:"Roboto", sans-serif;
    font-size:1rem;
}

.setup-note{
    color:#9d9d9d;
    font-size:.85rem;
    text-align:center;
}

/* ==========================
   JOGO
   ========================== */

.game-panel{
    max-width:1120px;
    margin:0 auto;
}

.is-hidden{
    display:none !important;
}

/* ==========================
   PLACAR
   ========================== */

.scoreboard{
    position:relative;
    display:grid;
    grid-template-columns:1fr 250px 1fr;
    align-items:center;
    gap:25px;
    margin-bottom:28px;
    padding:18px 22px;
    border:1px solid rgba(255,196,0,.25);
    border-radius:16px;
    background:#111;
    box-shadow:var(--shadow);
}

.back-to-setup{
    position:absolute;
    top:10px;
    left:10px;
    z-index:2;
    padding:6px 9px;
    border:1px solid rgba(255,196,0,.42);
    border-radius:7px;
    background:#0b0b0b;
    color:var(--yellow);
    cursor:pointer;
    font:700 .68rem "Roboto", sans-serif;
    letter-spacing:.2px;
    transition:background .2s ease, color .2s ease, transform .2s ease;
}

.back-to-setup:hover{
    background:var(--yellow);
    color:#000;
    transform:translateY(-1px);
}

.scoreboard-team{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.scoreboard-team-a{
    justify-content:flex-end;
    text-align:right;
}

.scoreboard-team-b{
    justify-content:flex-start;
    text-align:left;
}

.scoreboard-team img{
    width:58px;
    height:58px;
    flex:0 0 58px;
    padding:4px;
    border:2px solid #333;
    border-radius:50%;
    background:#000;
    object-fit:contain;
}

.scoreboard-team span{
    overflow:hidden;
    color:#fff;
    font-family:"Oswald", sans-serif;
    font-size:1.3rem;
    font-weight:600;
    text-overflow:ellipsis;
    text-transform:uppercase;
    white-space:nowrap;
}

.scoreboard-center{
    text-align:center;
}

.match-time{
    margin-bottom:4px;
    color:var(--yellow);
    font-family:"Oswald", sans-serif;
    font-size:1.3rem;
    font-weight:700;
    letter-spacing:1px;
}

.score-line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    font-family:"Oswald", sans-serif;
    font-size:2.8rem;
    font-weight:700;
    line-height:1;
}

.score-line strong{
    color:var(--yellow);
    font-size:1.45rem;
}

.match-status{
    min-height:18px;
    margin-top:7px;
    color:#aaa;
    font-size:.76rem;
    font-weight:700;
    letter-spacing:.6px;
    text-transform:uppercase;
}

/* ==========================
   ARENA
   ========================== */

.game-stage{
    padding:25px;
    border:1px solid #2a2a2a;
    border-radius:18px;
    background:
        radial-gradient(circle at center, rgba(255,196,0,.08), transparent 42%),
        #0c0c0c;
    box-shadow:var(--shadow);
}

.game-stage-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
}

.game-instruction{
    display:flex;
    align-items:center;
    gap:9px;
    color:#cfcfcf;
    font-size:.9rem;
}

.game-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--yellow);
    box-shadow:0 0 12px var(--yellow);
}

.btn-restart{
    padding:10px 16px;
    border:0;
    cursor:pointer;
    font-size:.8rem;
}

.arena-wrap{
    position:relative;
    width:min(100%, 840px);
    aspect-ratio:1;
    margin:0 auto;
    overflow:hidden;
    border:2px solid rgba(255,196,0,.55);
    border-radius:50%;
    background:
        radial-gradient(circle at center, rgba(255,196,0,.08), transparent 45%),
        radial-gradient(circle at center, #171717 0%, #090909 74%);
    box-shadow:
        0 0 0 9px #101010,
        0 0 0 11px rgba(255,196,0,.18),
        0 18px 35px rgba(0,0,0,.4);
}

#roleta-canvas{
    display:block;
    width:100%;
    height:100%;
}

.arena-center-logo{
    position:absolute;
    top:50%;
    left:50%;
    width:20%;
    max-width:170px;
    min-width:90px;
    transform:translate(-50%, -50%);
    pointer-events:none;
    user-select:none;
    opacity:.95;
    filter:drop-shadow(0 5px 10px rgba(0,0,0,.5));
}

/* ==========================
   ALERTAS
   ========================== */

.goal-alert,
.halftime-alert,
.final-alert{
    position:absolute;
    top:50%;
    left:50%;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    min-width:230px;
    padding:20px 28px;
    border:2px solid var(--yellow);
    border-radius:12px;
    background:rgba(0,0,0,.88);
    box-shadow:0 0 35px rgba(255,196,0,.34);
    text-align:center;
    transform:translate(-50%, -50%);
    pointer-events:none;
}

.goal-alert span,
.halftime-alert span,
.final-alert span{
    color:var(--yellow);
    font-family:"Oswald", sans-serif;
    font-size:2rem;
    font-weight:700;
    letter-spacing:1px;
}

.goal-alert strong,
.halftime-alert strong,
.final-alert strong{
    margin-top:4px;
    color:#fff;
    font-size:1rem;
    text-transform:uppercase;
}

.game-footer-info{
    margin-top:20px;
    text-align:center;
}

.game-footer-info p{
    color:#aaa;
    font-size:.85rem;
}

/* ==========================
   ANIMAÇÕES
   ========================== */

.goal-alert:not(.is-hidden),
.halftime-alert:not(.is-hidden),
.final-alert:not(.is-hidden){
    animation:goalPop .35s ease-out;
}

@keyframes goalPop{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.72);
    }

    100%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
}

/* ==========================
   MODO JOGO RETRATO
   ========================== */

body.game-running{
    overflow:hidden;
    height:100svh;
}

body.game-running header,
body.game-running .roleta-hero,
body.game-running footer{
    display:none;
}

body.game-running .roleta-section{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:100svh;
    height:100svh;
    padding:0;
    overflow:hidden;
}

body.game-running .roleta-section > .container{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    padding:10px;
}

body.game-running .game-panel{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    width:min(94vw, 430px);
    height:min(96svh, 760px);
    margin:0;
    gap:8px;
}

body.game-running .scoreboard{
    grid-template-columns:1fr auto 1fr;
    gap:8px;
    margin-bottom:0;
    padding:10px;
    border-radius:12px;
}

body.game-running .back-to-setup{
    top:7px;
    left:7px;
    padding:4px 6px;
    font-size:.58rem;
}

body.game-running .scoreboard-team{
    gap:8px;
}

body.game-running .scoreboard-team-a{
    justify-content:flex-end;
    text-align:right;
}

body.game-running .scoreboard-team-b{
    justify-content:flex-start;
    text-align:left;
}

body.game-running .scoreboard-team img{
    width:34px;
    height:34px;
    flex:0 0 34px;
}

body.game-running .scoreboard-team span{
    max-width:92px;
    font-size:.76rem;
}

body.game-running .match-time{
    margin-bottom:2px;
    font-size:.85rem;
}

body.game-running .score-line{
    gap:6px;
    font-size:1.8rem;
}

body.game-running .score-line strong{
    font-size:1rem;
}

body.game-running .match-status{
    display:none;
}

body.game-running .game-stage{
    display:flex;
    flex:1;
    flex-direction:column;
    justify-content:center;
    min-height:0;
    padding:8px;
    border-radius:14px;
}

body.game-running .game-stage-top{
    display:none;
}

body.game-running .arena-wrap{
    /*
       Mantém a arena sempre quadrada. Em telas baixas, o flexbox
       estava comprimindo somente a altura do elemento e transformando
       o círculo em oval. O limite pelo viewport reduz o tamanho antes
       de qualquer compressão vertical.
    */
    width:min(100%, calc(100svh - 130px));
    max-width:100%;
    height:auto;
    margin:0 auto;
    aspect-ratio:1 / 1;
    flex:0 0 auto;
    flex-shrink:0;
    box-shadow:
        0 0 0 5px #101010,
        0 0 0 7px rgba(255,196,0,.18),
        0 12px 25px rgba(0,0,0,.42);
}

body.game-running .arena-center-logo{
    width:23%;
    min-width:62px;
    max-width:110px;
}

body.game-running .game-footer-info{
    display:none;
}

/* ==========================
   RESPONSIVO
   ========================== */

@media(max-width:900px){

    .roleta-hero{
        padding:48px 0 30px;
    }

    .roleta-title-box h1{
        font-size:3.1rem;
    }

    .setup-header{
        flex-direction:column;
        gap:14px;
    }

    .setup-header p{
        max-width:none;
        text-align:left;
    }

    .scoreboard{
        grid-template-columns:1fr;
        gap:16px;
    }

    .scoreboard-team,
    .scoreboard-team-a,
    .scoreboard-team-b{
        justify-content:center;
        text-align:center;
    }

    .scoreboard-team-a{
        order:1;
    }

    .scoreboard-center{
        order:2;
    }

    .scoreboard-team-b{
        order:3;
    }

    .scoreboard-team-a img{
        order:2;
    }

    .scoreboard-team-a span{
        order:1;
    }

    body.game-running .game-panel{
        width:min(96vw, 420px);
        height:min(97svh, 730px);
    }

    body.game-running .scoreboard{
        grid-template-columns:1fr auto 1fr;
    }

    body.game-running .scoreboard-team-a{
        justify-content:flex-end;
        text-align:right;
    }

    body.game-running .scoreboard-team-b{
        justify-content:flex-start;
        text-align:left;
    }

    body.game-running .scoreboard-team-a img,
    body.game-running .scoreboard-team-a span{
        order:initial;
    }
}

@media(max-width:700px){

    .roleta-section{
        padding:35px 0 55px;
    }

    .setup-panel{
        padding:20px 15px;
        border-radius:14px;
    }

    .setup-header h2{
        font-size:1.65rem;
    }

    .teams-form{
        grid-template-columns:1fr;
        gap:16px;
    }

    .versus-box{
        width:52px;
        height:52px;
        margin:0 auto;
    }

    .team-config{
        min-height:auto;
        padding:18px;
    }

    .team-logo-preview{
        width:84px;
        height:84px;
        margin-bottom:14px;
    }

    .scoreboard{
        padding:16px 12px;
        border-radius:12px;
    }

    .scoreboard-team img{
        width:46px;
        height:46px;
        flex-basis:46px;
    }

    .scoreboard-team span{
        max-width:180px;
        font-size:1.05rem;
    }

    .score-line{
        font-size:2.45rem;
    }

    .game-stage{
        padding:14px 8px 16px;
        border-radius:14px;
    }

    .game-stage-top{
        flex-direction:column;
        gap:12px;
        text-align:center;
    }

    .game-instruction{
        justify-content:center;
        font-size:.8rem;
    }

    .btn-restart{
        width:100%;
    }

    .arena-wrap{
        width:calc(100% - 8px);
        box-shadow:
            0 0 0 5px #101010,
            0 0 0 7px rgba(255,196,0,.18),
            0 12px 25px rgba(0,0,0,.42);
    }

    .arena-center-logo{
        width:24%;
        min-width:72px;
    }

    .goal-alert,
    .halftime-alert,
    .final-alert{
        min-width:190px;
        padding:15px 18px;
    }

    .goal-alert span,
    .halftime-alert span,
    .final-alert span{
        font-size:1.55rem;
    }

    .goal-alert strong,
    .halftime-alert strong,
    .final-alert strong{
        font-size:.85rem;
    }

    body.game-running .roleta-section > .container{
        padding:6px;
    }

    body.game-running .game-panel{
        width:100%;
        height:98svh;
    }

    body.game-running .scoreboard{
        padding:8px;
        border-radius:10px;
    }

    body.game-running .back-to-setup{
        top:5px;
        left:5px;
        padding:3px 5px;
        font-size:.52rem;
    }

    body.game-running .game-stage{
        padding:5px;
        border-radius:10px;
    }

    body.game-running .arena-wrap{
        width:min(100%, calc(100svh - 118px));
    }

    body.game-running .arena-center-logo{
        width:23%;
        min-width:58px;
    }
}

@media(max-width:450px){

    .roleta-title-box h1{
        font-size:2.5rem;
    }

    .roleta-title-box p{
        font-size:.95rem;
    }

    .setup-number{
        width:38px;
        height:38px;
        font-size:1rem;
    }

    .setup-header > div{
        gap:10px;
    }

    .setup-header h2{
        font-size:1.45rem;
    }

    .setup-note{
        font-size:.78rem;
    }

    .scoreboard-team span{
        max-width:130px;
        font-size:.95rem;
    }

    .match-time{
        font-size:1.1rem;
    }

    .score-line{
        font-size:2.15rem;
    }

    .game-footer-info p{
        font-size:.78rem;
    }

    body.game-running .scoreboard-team img{
        width:30px;
        height:30px;
        flex:0 0 30px;
    }

    body.game-running .scoreboard-team span{
        max-width:74px;
        font-size:.66rem;
    }

    body.game-running .match-time{
        font-size:.75rem;
    }

    body.game-running .score-line{
        font-size:1.45rem;
    }

    body.game-running .score-line strong{
        font-size:.92rem;
    }
}

/* ==========================
   CORREÇÃO: BOTÃO VOLTAR NO CELULAR
   ========================== */

/*
   No modo de jogo, o botão deixa de ficar sobreposto ao placar.
   Ele ocupa uma pequena linha própria acima dos times.
*/
body.game-running .scoreboard{
    grid-template-columns:1fr auto 1fr;
    grid-template-rows:auto auto;
}

body.game-running .back-to-setup{
    position:static;
    grid-column:1 / -1;
    grid-row:1;
    justify-self:start;
    margin:0;
    padding:4px 7px;
    font-size:.58rem;
}

body.game-running .scoreboard-team-a{
    grid-column:1;
    grid-row:2;
}

body.game-running .scoreboard-center{
    grid-column:2;
    grid-row:2;
}

body.game-running .scoreboard-team-b{
    grid-column:3;
    grid-row:2;
}

@media(max-width:450px){

    body.game-running .back-to-setup{
        padding:3px 6px;
        font-size:.54rem;
    }
}

/* ==========================
   CORREÇÃO: ARENA SEM CORTE EM TELAS BAIXAS
   ========================== */

/*
   A medida final da arena é calculada pelo JavaScript usando o
   espaço livre real abaixo do placar. Estas regras impedem que o
   flexbox a estique ou a comprima para outro formato.
*/
body.game-running .game-stage{
    align-items:center;
    overflow:hidden;
}

body.game-running .arena-wrap{
    flex:0 0 auto;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    aspect-ratio:1 / 1;
}

body.game-running #roleta-canvas{
    width:100% !important;
    height:100% !important;
}

@media(max-width:700px){
    body.game-running .arena-wrap{
        width:auto;
        height:auto;
    }
}


/* ==========================
   GRAMADO / LOGO CENTRAL
   ========================== */

/* Logo maior, sem alterar a paleta dos demais elementos. */
.arena-center-logo{
    width:28%;
    max-width:210px;
    min-width:105px;
}

body.game-running .arena-center-logo{
    width:31%;
    min-width:76px;
    max-width:142px;
}

@media(max-width:700px){
    body.game-running .arena-center-logo{
        width:31%;
        min-width:68px;
    }
}

@media(max-width:450px){
    body.game-running .arena-center-logo{
        width:31%;
        min-width:62px;
    }
}


/* ==========================
   AJUSTES FINAIS: LOGO CENTRAL MAIOR
   ========================== */

.arena-center-logo{
    width:34%;
    max-width:245px;
    min-width:120px;
}

body.game-running .arena-center-logo{
    width:37%;
    max-width:165px;
    min-width:88px;
}

@media(max-width:700px){
    body.game-running .arena-center-logo{
        width:37%;
        min-width:78px;
    }
}

@media(max-width:450px){
    body.game-running .arena-center-logo{
        width:37%;
        min-width:70px;
    }
}


/* ==========================
   AVISO ANTES DA GRAVAÇÃO
   ========================== */

body.modal-open{
    overflow:hidden;
}

.recording-warning{
    position:fixed;
    inset:0;
    z-index:3000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.78);
    backdrop-filter:blur(6px);
}

.recording-warning-card{
    width:min(100%, 520px);
    padding:34px;
    border:1px solid rgba(255,196,0,.55);
    border-radius:16px;
    background:
        radial-gradient(circle at top right, rgba(255,196,0,.12), transparent 38%),
        #101010;
    box-shadow:0 22px 60px rgba(0,0,0,.58);
    text-align:center;
}

.recording-warning-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    margin:0 auto 16px;
    border:1px solid rgba(255,196,0,.45);
    border-radius:50%;
    background:#1a1a1a;
    font-size:1.55rem;
}

.recording-warning-card h2{
    margin-bottom:14px;
    color:var(--yellow);
    font-family:"Oswald",sans-serif;
    font-size:2rem;
    line-height:1;
    text-transform:uppercase;
}

.recording-warning-card p{
    color:#ececec;
    font-size:1rem;
}

.recording-warning-note{
    margin-top:12px;
    color:#aaa !important;
    font-size:.88rem !important;
}

.recording-warning-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:26px;
}

.recording-warning-actions .btn{
    min-width:150px;
    border:0;
    cursor:pointer;
    font-family:"Roboto",sans-serif;
}

.recording-warning-actions .btn-outline{
    border:1px solid var(--yellow);
}

@media(max-width:500px){

    .recording-warning{
        padding:15px;
    }

    .recording-warning-card{
        padding:26px 20px;
    }

    .recording-warning-card h2{
        font-size:1.7rem;
    }

    .recording-warning-actions{
        flex-direction:column-reverse;
    }

    .recording-warning-actions .btn{
        width:100%;
    }
}


/* ==========================
   ROLETA: TOPO MAIS COMPACTO
   ==========================
   Reduz o espaço acima do formulário para que os campos dos times
   apareçam sem exigir rolagem logo ao abrir a página.
*/

.roleta-hero{
    padding:32px 0 22px;
}

.roleta-kicker{
    margin-bottom:7px;
    font-size:.70rem;
}

.roleta-title-box h1{
    margin-bottom:9px;
    font-size:3.05rem;
}

.roleta-title-box p{
    font-size:.96rem;
    line-height:1.45;
}

.roleta-section{
    padding:26px 0 50px;
}

.setup-panel{
    padding:24px;
}

.setup-header{
    margin-bottom:22px;
    padding-bottom:16px;
}

.setup-header h2{
    font-size:1.7rem;
}

.setup-header p{
    font-size:.88rem;
}

.team-config{
    min-height:340px;
    padding:18px;
}

.team-label{
    margin-bottom:12px;
}

.team-logo-preview{
    width:86px;
    height:86px;
    margin-bottom:12px;
}

.team-config label{
    margin:10px 0 5px;
}

.team-config input[type="text"]{
    padding:10px 12px;
}

.team-config input[type="file"]{
    padding:7px;
}

.setup-actions{
    gap:9px;
    margin-top:22px;
}

@media(max-width:900px){

    .roleta-hero{
        padding:24px 0 18px;
    }

    .roleta-title-box h1{
        font-size:2.55rem;
    }

    .roleta-section{
        padding:20px 0 42px;
    }

    .setup-panel{
        padding:20px;
    }

}

@media(max-width:700px){

    .roleta-hero{
        padding:18px 0 14px;
    }

    .roleta-kicker{
        margin-bottom:5px;
        font-size:.62rem;
        letter-spacing:1.1px;
    }

    .roleta-title-box h1{
        margin-bottom:6px;
        font-size:2.1rem;
    }

    .roleta-title-box p{
        font-size:.85rem;
        line-height:1.35;
    }

    .roleta-section{
        padding:14px 0 38px;
    }

    .setup-panel{
        padding:16px 14px;
    }

    .setup-header{
        gap:8px;
        margin-bottom:15px;
        padding-bottom:12px;
    }

    .setup-header h2{
        font-size:1.35rem;
    }

    .setup-header p{
        font-size:.80rem;
        line-height:1.35;
    }

    .setup-number{
        width:33px;
        height:33px;
        font-size:.88rem;
    }

    .team-config{
        min-height:auto;
        padding:14px;
    }

    .team-logo-preview{
        width:68px;
        height:68px;
        margin-bottom:8px;
    }

    .team-config label{
        margin:8px 0 4px;
        font-size:.78rem;
    }

    .team-config input[type="text"]{
        padding:9px 10px;
        font-size:.9rem;
    }

    .team-config input[type="file"]{
        padding:6px;
        font-size:.70rem;
    }

    .team-config input[type="file"]::file-selector-button{
        padding:6px 8px;
        font-size:.72rem;
    }

    .versus-box{
        width:42px;
        height:42px;
        font-size:1rem;
    }

    .setup-actions{
        margin-top:16px;
    }

    .btn-start{
        min-width:210px;
        padding:11px 20px;
    }

    .setup-note{
        font-size:.72rem;
    }

}


/* ==========================
   AJUSTE FINAL — FUTEBOL NA ROLETA
   Placar superior sempre branco
   ========================== */
.futebol-na-roleta-page #score-team-a,
.futebol-na-roleta-page #score-team-b,
.futebol-na-roleta-page .score-line > span,
.futebol-na-roleta-page .score-line > strong,
body.game-running.futebol-na-roleta-page #score-team-a,
body.game-running.futebol-na-roleta-page #score-team-b,
body.game-running.futebol-na-roleta-page .score-line > span,
body.game-running.futebol-na-roleta-page .score-line > strong{
    color:#fff !important;
}
