﻿body {
    background-color: #EFFF7A;
}

.score {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
}
/*.score {
    font-size: clamp(3rem, 8vw, 5rem);
}
*/

:root {
    --app-bg: #f7f5ed;
    --app-primary: #aefe59;
    --text-main: #111;
    --text-muted: #666;
}

.app-bg {
    background-color: var(--app-bg);
    color: var(--text-main);
}

.btn-primary,
.btn-success {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
    color: #111;
    font-weight: 600;
}

    .btn-primary:hover,
    .btn-success:hover {
        background-color: #9BE230;
        border-color: #9BE230;
    }

.app-header {
    height: 56px;
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* botão voltar estilo app */
.fab-back {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #A7F542;
    color: #111;
    border: none;
    font-size: 20px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.fab-back:active {
    transform: scale(0.95);
}
body.match-active .fab-back {
    display: flex;
}


#match-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: background: rgba(255, 255, 255, 0.6); /* transparente */
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 1000;
}

#match-controls .btn {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    font-weight: 700;
}

#screen-match {
    padding-bottom: 90px;
}

.setup-screen {
    min-height: 100vh;
    padding: 24px 16px;
}

#btn-create {
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
}

.btn-icon {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
}

.btn-icon:active {
    transform: scale(0.9);
}

#modal-confirm-action .modal-content {
    border-radius: 16px;
}

#modal-confirm-action .btn {
    min-width: 110px;
}

textarea.auto-grow {
    resize: none;
    overflow-y: auto;
    min-height: 3rem;
    max-height: 9rem;
}

.score-divider {
    border: none;
    height: 5px;
    background: linear-gradient( to right, transparent, rgba(0,0,0,0.2), transparent );
    margin: 8px 0 10px;
}