:root {
    --bg: #070b12;
    --panel: #101722;
    --panel-soft: #151f2e;
    --text: #f5f8ff;
    --muted: #9aa7b8;
    --brand: #a3ff12;
    --brand-strong: #6ee700;
    --gold: #ffd166;
    --success: #23d18b;
    --danger: #ff4d5e;
    --warning: #f59e0b;
    --border: rgba(255, 255, 255, 0.11);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 4%, rgba(163, 255, 18, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 0%, rgba(255, 209, 102, 0.12), transparent 26rem),
        linear-gradient(135deg, #070b12 0%, #0a0f18 48%, #030507 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.page {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
    padding-top: calc(64px + 24px);
}

.admin-page {
    width: min(1280px, calc(100% - 32px));
}

.hero {
    margin-top: 73px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.bet-hero {
    min-height: 260px;
    align-items: center;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(163, 255, 18, 0.11), transparent 34%),
        linear-gradient(145deg, rgba(21, 31, 46, 0.96), rgba(7, 11, 18, 0.9));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.compact-hero {
    min-height: auto;
}

.hero h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    font-size: clamp(2.15rem, 5vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.bet-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bet-summary span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 13px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
}

.top-carousel {
    margin-bottom: 18px;
}

.bet-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: transparent;
    position: relative;
}

.carousel-track {
    display: grid;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 46px;
}

.carousel-image {
    display: block;
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.carousel-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.top-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(163, 255, 18, 0.28);
    border-radius: 999px;
    color: var(--brand);
    background: rgba(163, 255, 18, 0.08);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
}

.secondary-link,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    padding: 0 20px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.secondary-link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.primary-button {
    border: 0;
    color: #071007;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    box-shadow: 0 18px 38px rgba(163, 255, 18, 0.24);
}

.primary-button:hover,
.secondary-link:hover,
.number-ball:hover {
    transform: translateY(-2px);
}

.primary-button:focus-visible,
.secondary-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
.number-ball:focus-visible {
    outline: 3px solid rgba(163, 255, 18, 0.35);
    outline-offset: 3px;
}

.jackpot-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: -46px 28px 22px;
    padding: 24px;
    border: 1px solid rgba(255, 209, 102, 0.28);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(21, 31, 46, 0.96)),
        var(--panel);
    box-shadow: var(--shadow);
    position: relative;
}

.jackpot-card span {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.jackpot-card strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 0.95;
}

.jackpot-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.jackpot-cta {
    flex: 0 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.stat-card,
.panel {
    border: 1px solid var(--border);
    background: rgba(16, 23, 34, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.stat-card {
    min-height: auto;
    padding: 16px 18px;
    border-radius: 18px;
}

.stat-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 800;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-card strong {
    display: block;
    font-size: clamp(1rem, 2.5vw, 2rem);
    line-height: 1;
}

.stat-card.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(163, 255, 18, 0.17), rgba(16, 23, 34, 0.94));
}

.panel {
    margin-top: 18px;
    padding: 24px;
    border-radius: 26px;
}

.panel h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
}

.panel p {
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--text);
    background: rgba(3, 5, 7, 0.55);
    font: inherit;
}

textarea {
    resize: vertical;
}

.ticket-form .primary-button,
.login-card .primary-button,
.draw-form .primary-button,
.pix-card .primary-button {
    width: 100%;
    margin-top: 10px;

}

.number-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 28px 0 16px;
}

.number-header h2,
.number-header p {
    margin: 0;
}

.number-header p {
    color: var(--muted);
    margin-top: 6px;
}

.number-header strong {
    display: inline-flex;
    min-width: 92px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #071007;
    background: var(--brand);
    font-size: 1.35rem;
    box-shadow: 0 12px 30px rgba(163, 255, 18, 0.22);
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 22px;
}

.number-ball {
    aspect-ratio: 1;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    font-weight: 950;
    cursor: pointer;
}

.number-ball.is-selected {
    color: #071007;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    box-shadow: 0 12px 24px rgba(163, 255, 18, 0.2);
}

.bet-summary {
    margin: 0 0 18px;
}

.mini-number-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-number-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 13px;
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 900;
}

.mini-number-list span.matched {
    color: #071007;
    border-color: transparent;
    background: var(--success);
}

.alert {
    margin: 18px 0;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
}

.alert.success {
    color: #03150d;
    background: rgba(35, 209, 139, 0.95);
}

.alert.error {
    color: #320007;
    background: rgba(255, 77, 94, 0.94);
}

.muted {
    color: var(--muted);
}

.small {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
}

.login-card {
    max-width: 460px;
}

.draw-form .primary-button {
    align-self: end;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

th,
td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

th {
    color: var(--brand);
    background: rgba(163, 255, 18, 0.05);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.draw-list {
    display: grid;
    gap: 14px;
}

.draw-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.draw-list.compact {
    margin-top: 12px;
}

.ranking-list {
    display: grid;
    gap: 12px;
}

.ranking-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.03);
}

.ranking-card.is-podium {
    border-color: rgba(255, 209, 102, 0.32);
    background:
        radial-gradient(circle at top right, rgba(255, 209, 102, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(163, 255, 18, 0.12), rgba(255, 255, 255, 0.04));
}

.ranking-position {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #071007;
    background: var(--brand);
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(163, 255, 18, 0.18);
}

.ranking-main {
    min-width: 0;
}

.ranking-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ranking-title strong {
    font-size: 1.1rem;
}

.ranking-title span,
.ranking-score span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.ranking-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.ranking-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.ranking-numbers {
    margin-top: 12px;
}

.ranking-score {
    min-width: 94px;
    text-align: right;
}

.ranking-score strong {
    display: block;
    color: var(--gold);
    font-size: 1.35rem;
    line-height: 1;
}

.compact-ranking .ranking-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.ticket-list {
    display: grid;
    gap: 18px;
}

.ticket-card h3 {
    margin: 22px 0 10px;
}

.ticket-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.progress-circle {
    display: grid;
    place-items: center;
    flex: 0 0 124px;
    width: 124px;
    height: 124px;
    border-radius: 999px;
    border: 1px solid rgba(163, 255, 18, 0.34);
    background: rgba(163, 255, 18, 0.1);
}

.progress-circle strong {
    font-size: 1.8rem;
    line-height: 1;
}

.progress-circle span {
    color: var(--muted);
    font-size: 0.82rem;
}

.winner-panel {
    border-color: rgba(35, 209, 139, 0.45);
    background: linear-gradient(135deg, rgba(35, 209, 139, 0.16), rgba(16, 23, 34, 0.92));
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: 18px;
    align-items: start;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.pix-card,
.payment-summary {
    margin-top: 0;
}

.payment-status {
    margin-bottom: 18px;
    border: 1px solid rgba(255, 209, 102, 0.28);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--gold);
    background: rgba(255, 209, 102, 0.08);
    font-weight: 900;
}

.payment-status.is-approved {
    color: #03150d;
    background: var(--success);
}

.pix-qr {
    display: block;
    width: min(320px, 100%);
    margin: 0 auto 18px;
    border-radius: 24px;
    background: #fff;
    padding: 14px;
}

.full-link {
    width: 100%;
    margin-top: 12px;
}

.payment-summary h2 {
    margin: 12px 0 10px;
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.payment-summary h3 {
    margin: 22px 0 10px;
}

.payment-note {
    margin-top: 18px;
    border: 1px solid rgba(163, 255, 18, 0.24);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--brand);
    background: rgba(163, 255, 18, 0.07);
    font-weight: 800;
}

code {
    border-radius: 6px;
    padding: 2px 6px;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 920px) {
    .hero,
    .ticket-card-header,
    .number-header,
    .jackpot-card {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .top-actions {
        justify-content: stretch;
    }

    .jackpot-card {
        margin: 0 0 18px;
    }

    .jackpot-cta,
    .secondary-link,
    .primary-button {
        width: 100%;
        margin-top: 10px;
    }

    .form-grid,
    .auth-layout,
    .ranking-card,
    .payment-layout {
        grid-template-columns: 1fr;
    }

    .ranking-score {
        text-align: left;
    }

    .stat-card.highlight {
        grid-column: span 1;
    }
}

@media (max-width: 560px) {
    .page {
        width: min(100% - 20px, 1160px);
        padding-top: 16px;
    }

    .bet-hero,
    .panel,
    .jackpot-card {
        border-radius: 22px;
        padding: 18px;
    }

    .top-carousel {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .bet-carousel,
    .carousel-image {
        border-radius: 0;
    }

    .carousel-image {
        border-left: 0;
        border-right: 0;
    }

    .number-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }
}

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 64px;
    background: rgba(7, 11, 18, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1160px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-icon {
    color: var(--brand);
    font-size: 1.3rem;
    line-height: 1;
}

/* ── Hamburger Button ─────────────────────────────────────── */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.burger-btn:hover {
    background: rgba(163, 255, 18, 0.12);
    border-color: rgba(163, 255, 18, 0.3);
}

.burger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ── Nav Overlay ──────────────────────────────────────────── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 910;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.28s ease;
}

.nav-overlay.is-open {
    background: rgba(0, 0, 0, 0.62);
    pointer-events: all;
}

/* ── Nav Drawer ───────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 920;
    width: min(300px, 82vw);
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 48px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.site-nav.is-open {
    transform: translateX(0);
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.nav-title {
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.nav-close:hover {
    background: rgba(255, 77, 94, 0.18);
    border-color: rgba(255, 77, 94, 0.4);
    color: var(--danger);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    flex: 1;
}

.nav-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 22px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    color: var(--text);
    border-left: 3px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-list li a svg {
    flex-shrink: 0;
    opacity: 0.65;
    transition: opacity 0.15s ease;
}

.nav-list li a:hover,
.nav-list li a.is-active {
    background: rgba(163, 255, 18, 0.07);
    border-left-color: var(--brand);
    color: var(--brand);
}

.nav-list li a:hover svg,
.nav-list li a.is-active svg {
    opacity: 1;
}

.nav-footer {
    padding: 16px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-footer span {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
}

.nav-footer strong {
    color: var(--brand);
    font-size: 0.95rem;
}

.nav-logout-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--danger) !important;
    text-decoration: none;
    opacity: 0.85;
}

.nav-logout-link:hover {
    opacity: 1;
}

/* ── Counter Badge (form) ─────────────────────────────────── */
.counter-badge {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 999px;
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 900;
    font-size: 1.1rem;
    background: rgba(163, 255, 18, 0.08);
    letter-spacing: 0.04em;
}

/* ── Last Draw Panel ──────────────────────────────────────── */
.last-draw-panel {
    margin-top: 14px;
}

.last-draw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.last-draw-label {
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--text);
}

.last-draw-date {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 700;
}

/* ── Page topbar ──────────────────────────────────────────── */
.page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.page-title {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.1;
}

/* ── Player bar ───────────────────────────────────────────── */
.player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 14px;
}

.player-bar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-bar-info strong {
    font-size: 1rem;
}

.player-bar-info span {
    font-size: 0.82rem;
    color: var(--muted);
}

.badge-count {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(163, 255, 18, 0.1);
    border: 1px solid rgba(163, 255, 18, 0.25);
    color: var(--brand);
    font-weight: 900;
    font-size: 0.82rem;
}

/* ── Draw viewer ──────────────────────────────────────────── */
.draw-viewer {
    margin-bottom: 4px;
}

.draw-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-label {
    display: block;
    font-weight: 900;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 6px;
}

.draw-filter-select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(3, 5, 7, 0.6);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 180px;
}

.draw-filter-select:focus {
    outline: 3px solid rgba(163, 255, 18, 0.3);
    outline-offset: 2px;
}

.draw-numbers span {
    font-size: 0.9rem;
}

/* ── Ticket progress bar ──────────────────────────────────── */
.ticket-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin: 14px 0 12px;
    overflow: hidden;
}

.ticket-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-strong));
    transition: width 0.4s ease;
}

.ticket-numbers {
    margin-top: 4px;
}

.progress-circle.is-winner strong {
    color: var(--gold);
}

@media (max-width: 560px) {
    .page-topbar {
        gap: 10px;
    }

    .draw-viewer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .draw-filter-select {
        width: 100%;
    }
}

