:root {
    --blue: #1769f5;
    --blue-dark: #0d4fc7;
    --navy: #0d2347;
    --line: #d8e6f8;
    --text: #142845;
    --muted: #7286a3;
    --green: #1fa66d;
    --bg: #f3f8ff;
    --card: #fff;
}

* {
    box-sizing: border-box;
}

html {
    background: #edf5ff;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%);
    font-family: Inter, "Segoe UI", sans-serif;
}

button,
input,
a {
    font: inherit;
}

button {
    cursor: pointer;
}

h1, h2, p {
    margin-top: 0;
}

.app {
    width: min(100%, 520px);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 86px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(24, 70, 130, 0.14);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 196px;
    padding: 18px 22px 22px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 130%, rgba(255, 206, 59, 0.95) 0 22%, rgba(255, 214, 90, 0.35) 23%, transparent 46%),
        linear-gradient(115deg, #07356f 0%, #0a65c6 55%, #3ba8ff 100%);
}

.hero-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.brand-mini {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.15;
    text-decoration: none;
}

.live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #22d875;
    box-shadow: 0 0 0 0 rgba(34, 216, 117, 0.5);
    animation: pulso 1.45s ease-out infinite;
}

@keyframes pulso {
    70% { box-shadow: 0 0 0 8px rgba(34, 216, 117, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 216, 117, 0); }
}

.account-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.pill-icone {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.hero-fundo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero.tem-imagem:not(.hero-sem-texto)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 28, 62, 0.35), rgba(7, 28, 62, 0.2));
}

.hero.tem-imagem {
    min-height: 240px;
}

.hero.hero-sem-texto {
    min-height: 92px;
    padding-bottom: 18px;
}

.hero.tem-imagem.hero-sem-texto {
    min-height: 0;
    padding: 0;
}

.hero.tem-imagem.hero-sem-texto .hero-fundo {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
}

.hero.tem-imagem.hero-sem-texto .hero-top {
    position: absolute;
    top: 14px;
    right: 16px;
    left: 16px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.faixa-preview {
    width: min(100%, 420px);
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.hero h1 {
    margin: 28px 0 6px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.05;
}

.hero p {
    margin: 0;
    font-size: 14px;
    opacity: 0.92;
}

.main {
    padding: 16px;
}

.timer-card,
.premio,
.resultado,
.opcao {
    border: 1px solid var(--line);
    background: #fff;
}

.timer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff, #f0f6ff);
    box-shadow: 0 8px 24px rgba(30, 81, 155, 0.07);
}

.timer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.clock {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #3587ff, #105ad6);
    box-shadow: 0 7px 18px rgba(24, 99, 227, 0.24);
}

.clock svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.timer-label {
    color: #57729a;
    font-size: 13px;
}

.timer {
    margin-top: 3px;
    color: var(--blue);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1;
}

.phase {
    max-width: 142px;
    color: #5f7899;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.phase strong {
    display: block;
    margin-bottom: 2px;
    color: #26496f;
    font-size: 13px;
}

.round-pill {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.round-pill span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #4a6790;
    font-size: 11px;
    font-weight: 700;
}

.market-heading {
    margin-top: 16px;
}

.market-heading h2,
.premio h2,
.resultado h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.market-lead {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.aviso {
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid #ffd3d3;
    border-radius: 14px;
    background: #fff3f3;
    color: #a83a3a;
    font-size: 13px;
}

.lista {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.opcao {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 8px 12px;
    padding: 15px;
    border-radius: 20px;
    border-width: 1.5px;
    box-shadow: 0 6px 18px rgba(24, 73, 143, 0.05);
    cursor: pointer;
    transition: 0.18s ease;
}

.opcao:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(24, 73, 143, 0.09);
}

.opcao:has(input:checked) {
    border-color: var(--blue);
    background: linear-gradient(180deg, #fff, #f2f7ff);
    box-shadow: 0 0 0 3px rgba(15, 103, 246, 0.08), 0 10px 25px rgba(15, 103, 246, 0.12);
}

.opcao input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 21px;
    height: 21px;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.opcao:has(input:checked) .check {
    display: grid;
}

.avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e3edf8;
    border-radius: 50%;
    background: #f8fbff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.name {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
}

.meta,
.pool {
    color: #607b9e;
    font-size: 12px;
}

.pool {
    grid-column: 2 / 4;
    margin-top: -2px;
    color: #7a8ca6;
    font-size: 11px;
}

.percent {
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}

.bar {
    grid-column: 2 / 4;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef5;
}

.fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.btn {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: 0.16s ease;
}

.btn:active {
    transform: scale(0.985);
}

.btn-vote {
    border: 1.5px solid var(--blue);
    background: #fff;
    color: var(--blue);
}

.btn-bet {
    color: #fff;
    background: linear-gradient(180deg, #287cff, #0e57d6);
    box-shadow: 0 8px 18px rgba(17, 90, 215, 0.22);
}

.btn-largo {
    width: 100%;
    margin-top: 14px;
}

.premio {
    padding: 15px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff, #f6faff);
}

.premio p {
    margin: 3px 0 0;
    color: #5e7597;
    font-size: 12px;
    font-weight: 700;
}

.premio strong {
    display: block;
    margin-top: 8px;
    color: #124fba;
    font-size: 32px;
    line-height: 1;
}

.premio-detalhe {
    font-weight: 600;
}

.premio-verde {
    background: linear-gradient(180deg, #f0fff8, #e8fbf2);
    border-color: #bfe9d5;
}

.premio-verde strong {
    color: var(--green);
}

.selos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e1ecf8;
    border-radius: 18px;
    background: #f8fbff;
}

.selos div {
    color: #6b7f9d;
    font-size: 10px;
    text-align: center;
}

.selos strong {
    display: block;
    margin-bottom: 2px;
    color: #2b476b;
    font-size: 11px;
}

.resultado {
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #f4f8ff);
    box-shadow: 0 8px 24px rgba(26, 76, 146, 0.08);
}

.resultado-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.resultado-pessoa {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-grande {
    width: 54px;
    height: 54px;
    font-size: 16px;
}

.resultado h1 {
    margin-top: 2px;
    font-size: 22px;
}

.selo-ok {
    padding: 6px 9px;
    border-radius: 999px;
    background: #e8f7f0;
    color: #168b5c;
    font-size: 11px;
    font-weight: 800;
}

.selo-espera {
    background: #fff4e5;
    color: #b86a00;
}

.bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 30;
    width: min(100%, 520px);
    height: 74px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    transform: translateX(-50%);
    border-top: 1px solid #e1eaf6;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #667b98;
    font-size: 11px;
    text-decoration: none;
}

.nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.nav.active {
    color: var(--blue);
    font-weight: 800;
}

.opcao:focus-within,
.btn:focus-visible,
.nav:focus-visible,
.account-pill:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.chamada {
    margin-bottom: 16px;
}

.selo-home {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chamada h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.chamada p {
    margin-bottom: 0;
    color: #4d6484;
    font-size: 15px;
}

.centro {
    margin-top: 4px;
    text-align: center;
}

.vitrine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.retrato {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 73, 143, 0.05);
}

.retrato-foto {
    position: relative;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle at 50% 32%, #ffffff, #e6eef8 64%);
    color: var(--navy);
    font-size: 42px;
    font-weight: 800;
}

.retrato-foto img,
.retrato-foto span {
    position: absolute;
    inset: 0;
}

.retrato-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retrato-foto span {
    display: grid;
    place-items: center;
}

.retrato h3 {
    margin: 0;
    padding: 12px 10px 4px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.retrato-placar {
    padding: 8px 12px 14px;
}

.voto-total {
    margin: 0;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.voto-total span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.barra-voto {
    height: 8px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eef8;
}

.barra-voto i {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.45s ease;
}

.retrato-texto {
    margin: -8px 12px 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.formulario {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.campo {
    display: grid;
    gap: 6px;
    color: #42658e;
    font-size: 13px;
    font-weight: 700;
}

.campo input,
.campo textarea,
.campo select {
    font-size: 16px;
}

.campo input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.4px solid #cfe0f6;
    border-radius: 13px;
    background: #fff;
    color: var(--text);
    font-weight: 600;
}

.campo input:focus,
.campo textarea:focus {
    outline: 2px solid rgba(23, 105, 245, 0.35);
    border-color: var(--blue);
}

.campo textarea {
    width: 100%;
    min-height: 84px;
    padding: 12px 14px;
    border: 1.4px solid #cfe0f6;
    border-radius: 13px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    resize: vertical;
}

.campo input[type="file"] {
    height: auto;
    padding: 8px 0;
    border: 0;
    background: transparent;
}

.candidato-admin > .acoes-inline {
    grid-column: 1 / -1;
}

.troca {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.troca a {
    color: var(--blue);
    font-weight: 800;
}

.aviso-ok {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #bfe9d5;
    border-radius: 14px;
    background: #f0fff8;
    color: #168b5c;
    font-size: 14px;
    font-weight: 700;
}

.painel-app {
    width: min(1080px, calc(100% - 32px));
    margin: 24px auto 48px;
}

.painel-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.painel-topo h1 {
    margin: 0;
    color: var(--navy);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.painel-topo p,
.painel-links {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.painel-links a {
    color: var(--blue);
    font-weight: 800;
}

.abas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.abas a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #4d6484;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.abas a.ativa {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.grade-numeros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.numero {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.numero span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.numero strong {
    display: block;
    margin-top: 6px;
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
}

.bloco-admin {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.bloco-admin h2 {
    margin: 0 0 12px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.candidato-admin {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}

.mini-foto {
    width: 92px;
    height: 118px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #e8eef6;
    color: var(--navy);
    font-weight: 800;
}

.mini-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tabela-wrap {
    overflow-x: auto;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
}

.tabela th,
.tabela td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}

.tabela th {
    color: #5e7597;
    font-size: 12px;
}

.acoes-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.form-inline {
    display: inline;
}

.btn-miudo {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
}

.btn-perigo {
    border: 1.5px solid #e7b4b4;
    background: #fff;
    color: #a83a3a;
}

.check-linha {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #42658e;
    font-size: 14px;
    font-weight: 700;
}

.campo-cor {
    display: flex;
    align-items: center;
    gap: 8px;
}

.campo-cor input[type="color"] {
    width: 48px;
    height: 40px;
    padding: 2px;
    border: 1.4px solid #cfe0f6;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 760px) {
    .grade-numeros,
    .candidato-admin {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 700px) {
    body {
        padding: 25px 0 40px;
    }

    .app {
        min-height: calc(100vh - 65px);
        border-radius: 30px;
        overflow: hidden;
    }

    .bottom {
        border-radius: 0 0 30px 30px;
    }
}

body.pagina-urna {
    background: #d5dde6;
}

body.pagina-urna .app {
    width: min(100%, 920px);
    background: #e4ebf2;
}

body.pagina-urna .bottom {
    width: min(100%, 920px);
}

.urna-pagina {
    padding: 18px 14px 24px;
}

.urna-contexto,
.urna-legenda {
    margin: 0 4px 12px;
    color: #3e5168;
    font-size: 14px;
    font-weight: 650;
    text-align: center;
}

.urna-legenda {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 12px 4px 0;
    font-weight: 700;
}

.urna-legenda strong {
    font-variant-numeric: tabular-nums;
}

.urna {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 28%),
        #2c3136;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 18px 40px rgba(20, 28, 38, 0.28);
}

.urna-visor {
    min-width: 0;
}

.urna-tela [hidden] {
    display: none !important;
}

.urna-tela {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 16px 16px 12px;
    border: 12px solid #141414;
    border-radius: 6px;
    background: #f3f3f3;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: inset 0 0 0 2px #8d8d8d;
}

.tela-para {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.tela-cargo {
    margin: 18px 0 22px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: center;
}

.tela-corpo {
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 12px;
    flex: 1;
    align-items: start;
}

.tela-numero {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
}

.digito {
    width: 48px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border: 3px solid #111;
    background: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.digito.atual {
    animation: pisca-urna 1s steps(1) infinite;
}

@keyframes pisca-urna {
    0%, 45% { background: #111; }
    46%, 100% { background: #fff; }
}

.tela-ficha {
    margin-top: 22px;
}

.tela-ficha p,
.tela-nulo p,
.tela-branco p {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.tela-ficha span {
    display: inline-block;
    min-width: 92px;
}

.tela-nulo,
.tela-branco {
    margin-top: 28px;
}

.nulo-grande {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.tela-foto {
    width: 112px;
    height: 146px;
    border: 2px solid #222;
    background: #ddd;
    overflow: hidden;
}

.tela-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.tela-fim {
    position: absolute;
    inset: 12px 12px 12px;
    display: grid;
    place-items: center;
    background: #f3f3f3;
}

.tela-fim p {
    margin: 0;
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 4px;
}

.tela-rodape {
    margin-top: auto;
    padding-top: 10px;
    border-top: 2px solid #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.tela-rodape p {
    margin: 0;
}

.palavra-verde {
    color: #128a32;
}

.palavra-laranja {
    color: #e86a00;
}

.tela-aviso {
    margin-top: 8px;
    color: #b42318;
    font-size: 14px;
}

.urna-teclado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 8px 4px;
}

.teclas-num,
.teclas-funcoes {
    display: grid;
    gap: 10px;
}

.teclas-num {
    grid-template-columns: repeat(3, 1fr);
}

.teclas-funcoes {
    grid-template-columns: 1fr 1fr 1.2fr;
    margin-top: 18px;
}

.tecla-zero {
    grid-column: 2;
}

.urna .tecla {
    height: 62px;
    border: 0;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 4px 0 #050505;
    touch-action: manipulation;
}

.urna .tecla:active {
    transform: translateY(3px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 1px 0 #050505;
}

.urna .tecla-branco,
.urna .tecla-corrige,
.urna .tecla-confirma {
    height: 70px;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.urna .tecla-branco {
    background: #f7f7f7;
    color: #161616;
    box-shadow:
        inset 0 1px 0 #fff,
        0 4px 0 #b5b5b5;
}

.urna .tecla-corrige {
    background: #ff7a00;
    color: #1a1a1a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 4px 0 #c65300;
}

.urna .tecla-confirma {
    background: #1f9d3c;
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 4px 0 #0d6d24;
}

@media (max-width: 760px) {
    .urna {
        grid-template-columns: 1fr;
    }

    .urna-tela {
        min-height: 248px;
    }

    .tela-cargo {
        margin: 8px 0 12px;
        font-size: 28px;
    }

    .urna .tecla {
        height: 54px;
    }

    .urna .tecla-branco,
    .urna .tecla-corrige,
    .urna .tecla-confirma {
        height: 58px;
    }
}

.pix-resumo {
    margin-bottom: 14px;
}

.pix-form {
    margin-top: 8px;
}

.tipos-pix {
    margin: 0;
    padding: 0;
    border: 0;
}

.tipos-pix legend {
    margin-bottom: 8px;
    color: #42658e;
    font-size: 13px;
    font-weight: 700;
}

.tipos-pix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tipos-pix legend {
    grid-column: 1 / -1;
}

.tipos-pix label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 12px;
    border: 1.4px solid #cfe0f6;
    border-radius: 13px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.tipos-pix input {
    accent-color: var(--blue);
}

.tipos-pix label:has(input:checked) {
    border-color: var(--blue);
    background: #f3f8ff;
}

.pix-comprovante {
    margin-top: 8px;
}

.pix-dados {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.pix-dados div {
    display: grid;
    gap: 2px;
}

.pix-dados dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.pix-dados dd {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.pix-passos {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.pix-passos li {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.pix-passos strong {
    font-size: 14px;
}

.pix-passos span,
.pix-nota li {
    color: #5e7597;
    font-size: 13px;
    font-weight: 600;
}

.pix-nota {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f6faff;
}

.pix-nota h2 {
    margin-bottom: 8px;
    font-size: 16px;
}

.pix-nota ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
}

.estados-votos {
    margin-top: 22px;
}

.estados-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.estados-topo h2 {
    margin: 0;
    font-size: 18px;
}

.ao-vivo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #168b5c;
    font-size: 12px;
    font-weight: 800;
}

.lista-estados {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lista-estados li {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.uf-bandeira {
    width: 48px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.uf-nome {
    font-size: 14px;
    font-weight: 700;
}

.lista-estados strong {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.numero-ofuscado {
    display: inline-block;
    filter: blur(5.5px);
    user-select: none;
    pointer-events: none;
}

.barra-ofuscada {
    width: 50%;
    filter: blur(2px);
}

.aviso-resultado {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.painel {
    padding: 0;
    color: #d7e4f8;
    background:
        radial-gradient(circle at 12% 0, rgba(36, 92, 196, 0.18), transparent 28%),
        #070d18;
}

.painel-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
}

.painel-menu {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 12px 14px;
    border-right: 1px solid #18263f;
    background: #090f1c;
    color: #d7e4f8;
}

.painel-marca {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 10px;
    color: #fff;
    text-decoration: none;
}

.painel-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #2f7bff, #1747c6);
    box-shadow: 0 0 22px rgba(47, 123, 255, 0.45);
    font-size: 13px;
    font-weight: 800;
}

.painel-marca strong,
.painel-marca small {
    display: block;
}

.painel-marca strong {
    font-size: 16px;
    letter-spacing: -0.03em;
}

.painel-marca small {
    color: #7f93b2;
    font-size: 11px;
    font-weight: 700;
}

.painel-menu nav {
    display: grid;
    gap: 4px;
}

.painel-menu nav a,
.painel-menu-rodape a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #9aafcb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.painel-menu svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.painel-menu nav a:hover,
.painel-menu-rodape a:hover {
    background: rgba(61, 139, 255, 0.08);
    color: #e8f1ff;
}

.painel-menu nav a.ativa {
    background: linear-gradient(90deg, rgba(47, 123, 255, 0.28), rgba(47, 123, 255, 0.08));
    color: #fff;
    box-shadow: inset 3px 0 0 #3d8bff;
}

.painel-menu-rodape {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #18263f;
}

.painel-menu-rodape .sair {
    color: #ff6b81;
}

.painel-corpo {
    min-width: 0;
}

.painel-barra {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 28px;
    border-bottom: 1px solid #18263f;
    background: rgba(7, 13, 24, 0.92);
    backdrop-filter: blur(12px);
}

.painel-barra p,
.painel-barra small {
    margin: 0;
}

.painel-barra p {
    color: #7f93b2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.painel-barra h1 {
    margin: 2px 0;
    color: #f4f8ff;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.painel-barra small {
    color: #7f93b2;
    font-size: 13px;
    font-weight: 600;
}

.painel-barra-acoes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.painel-barra time {
    padding: 8px 12px;
    border: 1px solid #243656;
    border-radius: 999px;
    background: #10192c;
    color: #d7e4f8;
    font-size: 13px;
    font-weight: 800;
}

.painel-barra button {
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #3d8bff, #1d5fe0);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(29, 95, 224, 0.35);
}

.painel-conteudo {
    width: min(1180px, 100%);
    padding: 22px 28px 64px;
}

.central,
.faixa-pix,
.painel .bloco-admin,
.painel .numero,
.painel .candidato-admin {
    border: 1px solid #22314d;
    background:
        linear-gradient(180deg, rgba(36, 92, 196, 0.08), transparent 42%),
        #10192c;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.central {
    padding: 18px;
    border-radius: 24px;
}

.central-topo,
.faixa-pix {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.central-topo p,
.faixa-pix p,
.online-destaque span,
.online-lista h3 {
    margin: 0;
    color: #8ea4c4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.central-topo h2,
.online-lista h3 {
    text-transform: none;
    letter-spacing: -0.03em;
}

.central-topo h2 {
    margin: 4px 0 0;
    color: #f4f8ff;
    font-size: 20px;
}

.central-grade {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.central-shares {
    margin-top: 14px;
}

.painel .lista-pessoas .share-ao-vivo {
    color: #3dd68c;
}

.online-destaque,
.online-lista {
    min-height: 220px;
    padding: 18px;
    border: 1px solid #22314d;
    border-radius: 20px;
    background: rgba(6, 12, 24, 0.45);
}

.online-destaque {
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.online-anel {
    width: 78px;
    height: 78px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 139, 255, 0.22), transparent 62%);
    box-shadow: 0 0 0 8px rgba(61, 139, 255, 0.08), inset 0 0 0 2px rgba(110, 176, 255, 0.7);
}

.online-anel svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #8ec2ff;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.online-destaque strong {
    color: #f4f8ff;
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.online-destaque p {
    margin: 4px 0 0;
    color: #8ea4c4;
    font-size: 13px;
    font-weight: 700;
}

.online-lista h3 {
    margin-bottom: 12px;
    color: #f4f8ff;
    font-size: 16px;
}

.faixa-pix {
    margin-top: 14px;
    padding: 18px 22px;
    border-radius: 22px;
}

.faixa-pix strong {
    color: #f4f8ff;
    font-size: 42px;
    letter-spacing: -0.04em;
}

.painel .bloco-admin h2,
.painel .numero strong,
.painel .candidato-admin,
.painel .tabela th,
.painel .tabela td {
    color: #e8f1ff;
}

.painel .numero strong {
    color: #8ec2ff;
}

.painel .campo,
.painel .market-lead,
.painel .meta,
.painel .lista-pessoas span,
.painel .lista-paginas span,
.painel .lista-pessoas em,
.painel .presenca-vazio {
    color: #8ea4c4;
}

.painel .campo input,
.painel .campo textarea {
    border-color: #2a3d5e;
    background: #0c1424;
    color: #f4f8ff;
}

.painel .candidato-admin {
    background: #0c1424;
}

.painel .tabela th,
.painel .tabela td {
    border-bottom-color: #22314d;
}

.painel .trilha-presenca {
    background: #1a2740;
}

.painel .escolha-icone label {
    border-color: #2a3d5e;
    background: #0c1424;
    color: #d7e4f8;
}

.painel .aviso-ok {
    border-color: #1d6b4a;
    background: #0d2419;
    color: #8ee0b5;
}

.painel .ao-vivo {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(31, 166, 109, 0.14);
    color: #8ee0b5;
}

.painel .grade-numeros {
    margin-top: 14px;
}

.painel .numero span {
    color: #8ea4c4;
}

.painel .lista-pessoas li {
    border-bottom-color: #22314d;
}

.painel .lista-pessoas strong,
.painel .lista-paginas strong {
    color: #f4f8ff;
}

.lista-paginas,
.lista-pessoas {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lista-paginas li,
.lista-pessoas li {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.lista-pessoas li {
    grid-template-columns: 1fr auto;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.lista-pessoas div {
    display: grid;
}

.lista-pessoas span,
.lista-paginas span,
.lista-pessoas em,
.presenca-vazio {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.trilha-presenca {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eef8;
}

.trilha-presenca i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1769f5, #3ba8ff);
}

.painel .bloco-admin,
.painel .numero {
    box-shadow: 0 10px 30px rgba(18, 58, 112, 0.05);
}

body:has(.aviso-saque) {
    overflow: hidden;
}

.aviso-saque {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    background: rgba(8, 22, 48, 0.62);
    backdrop-filter: blur(8px);
}

.aviso-saque-card {
    width: min(100%, 400px);
    padding: 28px 22px 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0, rgba(23, 105, 245, 0.16), transparent 42%),
        #fff;
    box-shadow: 0 28px 70px rgba(8, 22, 48, 0.32);
    text-align: center;
}

.aviso-saque-icone {
    width: 74px;
    height: 74px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(160deg, #3aa0ff 0%, #1769f5 55%, #0d4fc7 100%);
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    box-shadow: 0 14px 28px rgba(23, 105, 245, 0.35);
}

.aviso-saque-kicker {
    margin: 0;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aviso-saque-card h2 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.aviso-saque-card p {
    margin: 0 0 20px;
    color: #5c7390;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.aviso-saque-card .btn {
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px;
}

.pagina-share {
    display: grid;
    gap: 14px;
}

.card-conclusao {
    padding: 28px 22px 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0, rgba(23, 105, 245, 0.14), transparent 42%),
        #fff;
    box-shadow: 0 16px 36px rgba(18, 58, 112, 0.08);
    text-align: center;
}

.conclusao-icone {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(180deg, #e8f8ef, #d8f5e6);
}

.conclusao-icone svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #1fa66d;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.conclusao-icone.icone-relogio,
.conclusao-icone.icone-ampulheta,
.conclusao-icone.icone-info {
    background: linear-gradient(180deg, #e8f1ff, #dce9ff);
}

.conclusao-icone.icone-relogio svg,
.conclusao-icone.icone-ampulheta svg,
.conclusao-icone.icone-info svg {
    stroke: #1769f5;
}

.conclusao-icone.icone-alerta {
    background: linear-gradient(180deg, #fff4dc, #ffe8b8);
}

.conclusao-icone.icone-alerta svg {
    stroke: #c47d09;
}

.barra-conclusao {
    height: 14px;
    margin-top: 18px;
    border-radius: 999px;
    background: #e6eef8;
    overflow: hidden;
}

.barra-conclusao i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0e57d6, #4d9bff);
}

.card-conclusao .btn[hidden] {
    display: none;
}

.escolha-icone {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.escolha-icone legend {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.escolha-icone label {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 6px 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: #4d6584;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.escolha-icone input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.escolha-icone label:has(input:checked) {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 245, 0.16);
}

.escolha-icone .conclusao-icone {
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 14px;
}

.escolha-icone .conclusao-icone svg {
    width: 24px;
    height: 24px;
}

.card-conclusao h1 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.card-conclusao p {
    margin: 0 0 8px;
    color: #4d6584;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.5;
}

.card-conclusao .btn {
    margin-top: 18px;
}

.revisar-texto {
    margin: 0;
    color: #4d6584;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.resumo-saque {
    padding: 18px 18px 8px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(31, 166, 109, 0.18), transparent 36%),
        linear-gradient(180deg, #f7fbff 0%, #fff 42%);
    border: 1px solid #d7e6f8;
    box-shadow: 0 12px 32px rgba(18, 58, 112, 0.06);
}

.resumo-saque p {
    margin: 0;
    color: #5c7390;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.resumo-saque strong {
    display: block;
    margin: 4px 0 12px;
    color: var(--navy);
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.resumo-saque dl {
    margin: 0;
}

.resumo-saque dl div {
    display: grid;
    gap: 2px;
    padding: 12px 0;
    border-top: 1px solid #e5eef8;
}

.resumo-saque dt {
    color: #7b90aa;
    font-size: 12px;
    font-weight: 800;
}

.resumo-saque dd {
    margin: 0;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.guia-share {
    padding: 16px 16px 4px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 58, 112, 0.06);
}

.guia-obrigatorio {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 16px;
    padding: 12px;
    border-radius: 16px;
    background: #fff6e4;
    color: #7a4e10;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.guia-obrigatorio span {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5c15a;
    color: #5c3b08;
    font-size: 16px;
    font-weight: 800;
}

.guia-share h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 18px;
    letter-spacing: -0.03em;
}

.guia-passos {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guia-passos li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    position: relative;
    padding-bottom: 16px;
}

.guia-passos li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 2px;
    width: 2px;
    background: #d7e6f8;
}

.guia-passos li > span {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.guia-passos p {
    margin: 4px 0 0;
    color: #3d5573;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
}

.guia-passos strong {
    color: var(--navy);
    font-weight: 800;
}

.bloco-share {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
    padding: 22px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 58, 112, 0.06);
    text-align: center;
}

.share-icone {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #e8f8ef;
}

.share-icone svg {
    width: 32px;
    height: 32px;
    fill: #1fa66d;
}

.bloco-share h2 {
    margin: 0;
    color: var(--navy);
    font-size: 22px;
    letter-spacing: -0.03em;
}

.progresso-topo {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.progresso-topo span {
    color: #7b90aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.progresso-topo strong {
    color: var(--navy);
    font-size: 18px;
    letter-spacing: -0.03em;
}

.passos-share {
    display: flex;
    gap: 6px;
    height: 14px;
}

.passos-share i {
    flex: 1;
    border-radius: 999px;
    background: #e6eef8;
}

.passos-share i.feita {
    background: linear-gradient(90deg, #14945d, #3dce8e);
}

.bloco-share .btn-zap {
    min-height: 54px;
    border-radius: 16px;
    font-size: 16px;
    box-shadow: 0 12px 24px rgba(31, 166, 109, 0.28);
}

.bloco-share h2,
.share-topo {
    margin: 0;
}

.share-topo strong {
    display: block;
    color: var(--navy);
    font-size: 32px;
    letter-spacing: -0.04em;
}

.share-topo span,
.share-preview,
.link-whatsapp {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.share-preview {
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    background: #f4f8fd;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.bloco-share .barra-voto i {
    background: #1fa66d;
}

.btn-zap {
    border: 0;
    background: #1fa66d;
    color: #fff;
}

.btn-zap:visited {
    color: #fff;
}

.btn-zap:disabled,
.btn-zap[aria-disabled="true"] {
    opacity: 0.7;
}

.link-whatsapp {
    text-align: center;
}

@media (max-width: 900px) {
    .painel-shell,
    .central-grade,
    .faixa-pix,
    .lista-paginas li {
        grid-template-columns: 1fr;
    }

    .painel-menu {
        position: sticky;
        z-index: 20;
        height: auto;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
    }

    .painel-marca {
        display: none;
    }

    .painel-menu nav,
    .painel-menu-rodape {
        display: flex;
        margin-top: 0;
        padding-top: 0;
        border: 0;
    }

    .painel-menu nav a,
    .painel-menu-rodape a {
        white-space: nowrap;
    }

    .painel-barra {
        align-items: flex-start;
        flex-direction: column;
    }

    .painel-conteudo {
        padding: 18px 14px 40px;
    }

    .faixa-pix strong {
        font-size: 32px;
    }
}

body:has(.popup-estado) {
    overflow: hidden;
}

.popup-estado {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: end center;
    padding: 12px;
    background: rgba(13, 35, 71, 0.55);
}

.popup-estado-card {
    width: min(100%, 488px);
    max-height: min(92vh, 760px);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 22px 16px 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(13, 35, 71, 0.28);
}

.popup-estado-card h2 {
    margin-bottom: 6px;
    font-size: 22px;
}

.popup-estado-card > p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.escolha-estados {
    display: grid;
    gap: 8px;
    margin: 14px 0;
    overflow: auto;
    min-height: 0;
}

.escolha-estados label {
    display: grid;
    grid-template-columns: 48px 1fr 18px;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.escolha-estados input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.escolha-estados img {
    width: 48px;
    height: 32px;
    object-fit: contain;
}

.escolha-estados span {
    font-size: 14px;
    font-weight: 700;
}

.escolha-estados label::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #c5d6ee;
    border-radius: 50%;
}

.escolha-estados label:has(input:checked) {
    border-color: var(--blue);
    background: #eef4ff;
}

.escolha-estados label:has(input:checked)::after {
    border-color: var(--blue);
    background:
        radial-gradient(circle, #fff 0 3px, transparent 3.5px),
        radial-gradient(circle, var(--blue) 0 7px, transparent 7.5px);
}

.popup-estado-card .btn {
    flex: none;
}
