* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #10141c;
    color: #e8ebf0;
}

.topbar {
    background:
        linear-gradient(90deg, rgba(23, 28, 40, 0.97), rgba(23, 28, 40, 0.78)),
        url('img/topbar.webp') center / cover no-repeat;
    padding: 16px 24px;
    border-bottom: 1px solid #2a3142;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
}

/* No desktop a "Regras" do meio fica escondida; no mobile ela vira o título da barra. */
.topbar-regras {
    display: none;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-link {
    color: #cdd3e0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.topbar-link:hover { color: #fff; }

.admin-status {
    font-size: 0.85rem;
    color: #7f889c;
}

.admin-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.admin-icon {
    display: none;
    font-size: 1.25rem;
    line-height: 1;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

h1, h2, h3 { color: #fff; }

a { color: #6aa9ff; }

.card {
    background: #171c28;
    border: 1px solid #2a3142;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.highlight-card {
    background: linear-gradient(135deg, #2f6fed22, #171c28);
    border-color: #2f6fed55;
}

.highlight-label {
    color: #6aa9ff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
}

/* Abertura das páginas, com foto de fundo e um véu escuro por cima pro texto
   continuar legível (e pra página não quebrar se a imagem não carregar). */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 260px;
    padding: 32px;
    margin-bottom: 20px;
    border: 1px solid #2a3142;
    border-radius: 12px;
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    max-width: 30rem;
}

.hero-eyebrow {
    margin: 0 0 10px;
    color: #6aa9ff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 2.1rem;
    line-height: 1.15;
}

.hero-sub {
    margin: 0 0 20px;
    color: #cdd3e0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-regras-link {
    display: none;
    color: #9aa4b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-regras-link:hover { color: #cdd3e0; }

.btn-create {
    position: relative;
}

/* No desktop o botão fantasma de regras some; a "Regras" já está na topbar. */

/* Na home as bolas ficam à direita da foto, então o texto vai pra esquerda. */
.hero-home { background-image: url('img/hero-home.webp'); }

.hero-home::before {
    background: linear-gradient(100deg, rgba(10, 13, 20, 0.94) 0%, rgba(10, 13, 20, 0.8) 42%, rgba(10, 13, 20, 0.12) 80%);
}

/* Nas regras é o contrário: bolas à esquerda, texto à direita. */
.hero-regras {
    background-image: url('img/hero-regras.webp');
    justify-content: flex-end;
    text-align: right;
}

.hero-regras::before {
    background: linear-gradient(260deg, rgba(10, 13, 20, 0.94) 0%, rgba(10, 13, 20, 0.8) 42%, rgba(10, 13, 20, 0.12) 80%);
}

.hero-regras .hero-actions { justify-content: flex-end; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .grid-2 { grid-template-columns: 1fr; }
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #2a3142;
}

th { color: #9aa4b8; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-grupos { background: #3b3320; color: #f0c674; }
.badge-mata_mata { background: #3a2432; color: #f28fb0; }
.badge-finalizado { background: #1f3a2a; color: #7fd99f; }
.badge-tampinhas { background: #243044; color: #8ec5ff; }

.tipo-campeonato {
    margin-top: 2px;
    color: #7f889c;
    font-size: 0.78rem;
    font-weight: 500;
}

.pair-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.pair-row input[type=text] {
    flex: 1;
    width: auto;
}

.pair-e {
    color: #7f889c;
    font-weight: 600;
}

.tampinha-bolas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.tampinha-bola {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10141c;
    border: 1px solid #2a3142;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.tampinha-bola.is-out {
    opacity: 0.45;
    text-decoration: line-through;
}

.tampinha-jogada {
    margin: 16px 0;
}

.tampinha-eventos {
    margin-top: 12px;
}

.status-icon {
    display: none;
}

.data-short {
    display: none;
}

.meta-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ver {
    padding: 5px 12px;
    font-size: 0.85rem;
}

.btn {
    display: inline-block;
    background: #2f6fed;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover { background: #2660d4; }

.btn-secondary {
    background: #2a3142;
}
.btn-secondary:hover { background: #38415a; }

.btn-small {
    padding: 5px 12px;
    font-size: 0.85rem;
}

.btn-danger {
    background: #b3392e;
}
.btn-danger:hover { background: #d1453a; }

/* Botão secundário pra usar sobre foto. */
.btn-ghost {
    background: rgba(16, 20, 28, 0.55);
    border: 1px solid #48526b;
}
.btn-ghost:hover { background: rgba(42, 49, 66, 0.85); }

.sair-campeonato {
    margin: 28px 0 12px;
    text-align: center;
}

.btn-sair {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    padding: 16px 22px;
    font-size: 1.1rem;
    font-weight: 700;
    background: #2f6fed;
    border-radius: 12px;
}

.btn-sair:hover { background: #2660d4; }

label {
    display: block;
    margin: 14px 0 6px;
    color: #cdd3e0;
}

input[type=text], input[type=date], input[type=number], textarea, select {
    width: 100%;
    padding: 9px 10px;
    background: #10141c;
    border: 1px solid #2a3142;
    border-radius: 6px;
    color: #e8ebf0;
    font-size: 1rem;
}

textarea { min-height: 90px; resize: vertical; }

.format-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #10141c;
    border: 1px solid #2a3142;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 0 10px;
    cursor: pointer;
}

.format-option input {
    width: auto;
    margin-top: 3px;
}

.format-option:has(input:checked) {
    border-color: #2f6fed;
    background: #2f6fed15;
}

.checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #10141c;
    border: 1px solid #2a3142;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 0;
    width: auto;
}

.checkbox-list input { width: auto; }

.add-player-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.add-player-row input[type=text] {
    width: auto;
    flex: 1;
}

.winner-radios {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.winner-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #10141c;
    border: 2px solid #2a3142;
    border-radius: 8px;
    padding: 9px 16px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    user-select: none;
    transition: background 0.1s, border-color 0.1s, transform 0.05s;
}

.winner-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.winner-radio:active {
    transform: scale(0.96);
}

.winner-radio:has(input:checked) {
    background: #2f6fed;
    border-color: #2f6fed;
    color: #fff;
}

.jogo-num {
    display: inline-block;
    color: #7f889c;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 4px;
}

.link-danger {
    color: #e08074;
    font-size: 0.9rem;
}

.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    scroll-margin-top: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #2a3142;
    flex-wrap: wrap;
}

.match-row form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-row select, .match-row input[type=number] {
    width: auto;
}

.balls-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #9aa4b8;
    white-space: nowrap;
}

.stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #2a3142;
    border-radius: 8px;
    overflow: hidden;
}

.stepper-btn {
    background: #2a3142;
    color: #e8ebf0;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.stepper-btn:hover { background: #38415a; }
.stepper-btn:active { background: #465071; }

.stepper input[type=number] {
    width: 48px;
    height: 40px;
    padding: 0;
    text-align: center;
    border: none;
    border-left: 1px solid #2a3142;
    border-right: 1px solid #2a3142;
    border-radius: 0;
    font-size: 1.1rem;
    -moz-appearance: textfield;
}

.stepper input[type=number]::-webkit-outer-spin-button,
.stepper input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tag-grupo {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: middle;
}

.tag-g1 { background: #1c2e4a; color: #6aa9ff; }
.tag-g2 { background: #3a2432; color: #f28fb0; }
.tag-g3 { background: #1f3a2a; color: #7fd99f; }
.tag-g4 { background: #3b3320; color: #f0c674; }
.tag-g5 { background: #331f3a; color: #c98af2; }
.tag-g6 { background: #123a3a; color: #6cd9d9; }
.tag-g7 { background: #3a2a12; color: #f2a55c; }
.tag-g8 { background: #2a123a; color: #d16cf2; }

.result-done {
    color: #7fd99f;
    font-weight: 600;
}

.champion-banner {
    text-align: center;
    padding: 30px;
    background:
        radial-gradient(ellipse at center, rgba(10, 13, 20, 0.9) 0%, rgba(10, 13, 20, 0.5) 65%),
        linear-gradient(135deg, rgba(47, 111, 237, 0.4), rgba(240, 198, 116, 0.3)),
        url('img/campeao.webp') center 32% / cover no-repeat;
    border: 1px solid #2a3142;
    border-radius: 12px;
    margin-bottom: 24px;
}

.champion-banner h2 { font-size: 2rem; margin: 0; }

.error {
    background: #3a2020;
    color: #f0a0a0;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.empty {
    color: #7f889c;
    font-style: italic;
}

.campeoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.campeao-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 110px;
    padding: 14px 8px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background:
        radial-gradient(ellipse at center, rgba(10, 13, 20, 0.82) 0%, rgba(10, 13, 20, 0.55) 70%),
        linear-gradient(135deg, rgba(47, 111, 237, 0.28), rgba(240, 198, 116, 0.22)),
        url('img/campeao.webp') center 30% / cover no-repeat;
    border: 1px solid #2a3142;
    border-radius: 10px;
}

.campeao-card:hover {
    border-color: #f0c67488;
    color: #fff;
}

.campeao-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.campeao-nome {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    word-break: break-word;
}

/* Lista de regras: título da regra na primeira linha, explicação embaixo. */
.regra-lista {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.regra-lista li {
    padding: 12px 0;
    border-bottom: 1px solid #2a3142;
    color: #cdd3e0;
}

.regra-lista li:last-child { border-bottom: none; }

.regra-lista strong {
    display: block;
    color: #fff;
    margin-bottom: 3px;
}

.nota {
    background: #10141c;
    border: 1px solid #2a3142;
    border-left: 3px solid #f0c674;
    border-radius: 6px;
    padding: 12px 14px;
    color: #cdd3e0;
    font-size: 0.92rem;
}

@media (max-width: 600px) {
    .container { padding: 14px; }
    .card { padding: 14px; }

    /* Linha 1: início à esquerda, Regras no meio, admin à direita. */
    .topbar {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 14px;
        min-height: 56px;
        position: relative;
    }

    .logo {
        display: inline-flex;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(42, 49, 66, 0.7);
        border: 1px solid #2a3142;
        font-size: 1.2rem;
    }

    .logo-text {
        display: none;
    }

    .topbar-regras {
        display: block;
        text-align: center;
        font-size: 1.25rem;
    }

    .topbar-links {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 0;
    }

    .topbar-link-desktop {
        display: none;
    }

    .admin-label {
        display: none;
    }

    .admin-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(42, 49, 66, 0.7);
        border: 1px solid #2a3142;
    }

    /* Sem espaço pra compor com a foto: véu de cima pra baixo e texto à esquerda. */
    .hero {
        min-height: 220px;
        padding: 20px;
        justify-content: flex-start;
        text-align: left;
    }

    .hero h1 { font-size: 1.6rem; }

    .hero-home::before,
    .hero-regras::before {
        background: linear-gradient(180deg, rgba(10, 13, 20, 0.6) 0%, rgba(10, 13, 20, 0.93) 70%);
    }

    .hero-regras .hero-actions { justify-content: flex-start; }

    /* Linha 2: botão grande e alto no centro; Regras embaixo, bem discreta. */
    .hero-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .hero-regras-link {
        display: inline-block;
        order: 2;
        flex: 0 0 auto;
        padding: 2px 0 0;
        color: #6b7388;
        font-size: 0.85rem;
        font-weight: 400;
        text-decoration: none;
    }

    .hero-regras-link:hover {
        color: #9aa4b8;
    }

    .btn-create {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 18px 20px;
        min-height: 58px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 12px;
        animation: createPulse 2.2s ease-in-out infinite;
        box-shadow: 0 0 0 0 rgba(47, 111, 237, 0.55);
    }

    @keyframes createPulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(47, 111, 237, 0.45);
        }
        50% {
            transform: scale(1.03);
            box-shadow: 0 0 0 10px rgba(47, 111, 237, 0);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .btn-create { animation: none; }
    }

    .match-row {
        flex-direction: column;
        align-items: stretch;
    }

    .match-row form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .match-row .winner-radios {
        flex-direction: column;
        width: 100%;
    }

    .match-row .winner-radio {
        width: 100%;
        padding: 12px 14px;
    }

    .match-row .balls-field {
        width: 100%;
        justify-content: space-between;
    }

    .stepper-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .stepper input[type=number] {
        width: 56px;
        height: 48px;
        font-size: 1.2rem;
    }

    .match-row .btn,
    .match-row .btn-secondary {
        width: 100%;
        text-align: center;
    }

    table { font-size: 0.9rem; }
    th, td { padding: 8px 6px; }

    /* Lista de campeonatos: status+data na mesma célula; ícone pequeno; Ver fácil de tocar. */
    .table-wrap {
        overflow-x: visible;
    }

    .col-meta {
        width: 1%;
        text-align: center;
        padding-left: 0;
        padding-right: 6px;
        vertical-align: middle;
    }

    .meta-cell {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    .col-meta .badge {
        padding: 3px 5px;
        min-width: 0;
        min-height: 0;
        justify-content: center;
        line-height: 1;
    }

    .status-icon {
        display: inline;
        font-size: 0.7rem;
    }

    .status-label {
        display: none;
    }

    .th-status,
    .th-sep {
        display: none;
    }

    .th-data {
        font-size: 0.65rem;
        color: #5c6578;
    }

    .data-full {
        display: none;
    }

    .data-short {
        display: inline;
        font-size: 0.68rem;
        font-weight: 400;
        color: #5c6578;
        white-space: nowrap;
    }

    .col-campeao {
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
        max-width: none;
        overflow-wrap: anywhere;
    }

    .col-nome {
        font-size: 0.72rem;
        font-weight: 400;
        color: #7f889c;
        line-height: 1.25;
        word-break: normal;
        overflow-wrap: anywhere;
        max-width: 7rem;
    }

    th.col-nome {
        font-size: 0.65rem;
        color: #5c6578;
    }

    th.col-campeao {
        font-size: 0.75rem;
        color: #cdd3e0;
    }

    .col-acao {
        width: 1%;
        white-space: nowrap;
        padding-left: 6px;
        padding-right: 0;
        vertical-align: middle;
    }

    .btn-ver {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 56px;
        min-height: 44px;
        padding: 12px 16px;
        font-size: 0.95rem;
        font-weight: 700;
        border-radius: 10px;
    }

    .champion-banner { padding: 20px; }
    .champion-banner h2 { font-size: 1.5rem; }

    .campeoes-grid {
        gap: 8px;
    }

    .campeao-card {
        min-height: 96px;
        padding: 12px 6px;
    }

    .campeao-icon {
        font-size: 1.35rem;
    }

    .campeao-nome {
        font-size: 0.85rem;
    }
}

.site-footer {
    max-width: 960px;
    margin: 8px auto 0;
    padding: 24px 24px 40px;
    text-align: center;
}

.site-footer a {
    color: #9aa4b8;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer a:hover {
    color: #cdd3e0;
}

.privacy-page h2 {
    margin-top: 28px;
}

.privacy-page p,
.privacy-page li {
    color: #cdd3e0;
    line-height: 1.55;
}

.privacy-page ul {
    padding-left: 20px;
}

/* Prêmio e W.O. */
.premio {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.premio strong { color: #f0c674; font-size: 1.1rem; }
.premio-detalhe { color: #9aa3b2; font-size: 0.9rem; }

.tag-wo {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #3a1c1c;
    color: #ff8a80;
    vertical-align: middle;
}

tr.linha-wo td { color: #7d8594; }

.wo-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.wo-lista li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #2a3142;
}

.wo-lista .multa {
    display: block;
    font-size: 0.85rem;
    margin-top: 2px;
}

.multa-pendente { color: #ff8a80; }
.multa-paga { color: #7fd99f; }
.multa-dispensada { color: #9aa3b2; }

.wo-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wo-acoes form { margin: 0; }

.wo-form select { flex: 1; width: auto; }

.input-prefixo {
    display: flex;
    align-items: stretch;
}

.input-prefixo span {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #222a3a;
    border: 1px solid #2a3142;
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #9aa3b2;
    font-weight: 600;
}

.input-prefixo input[type=text] {
    flex: 1;
    width: auto;
    margin: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-prefixo input[type=text]:disabled { opacity: 0.4; }

.toggle-gratis {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 0 10px;
    padding: 0 12px;
    border: 1px solid #2a3142;
    border-radius: 6px;
    background: #222a3a;
    color: #c9d1dc;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.toggle-gratis input { width: auto; margin: 0; }

.toggle-gratis:has(input:checked) { border-color: #3b82f6; color: #fff; }

.dica-campo {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: #7d8594;
}

.dica-campo a { color: #7d8594; }

.qr-regras {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-regras img {
    flex: none;
    width: 132px;
    height: 132px;
    border-radius: 8px;
    background: #fff;
}

.qr-regras h2 { margin-top: 0; }
.qr-regras p { margin: 6px 0; color: #9aa3b2; }

@media (max-width: 420px) {
    .qr-regras { flex-direction: column; text-align: center; }
}
