:root {
    --ink: #181b27;
    --muted: #697083;
    --line: #e5e7ef;
    --surface: #fff;
    --soft: #f5f6fb;
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --success: #128a5b;
    --danger: #d14343;
    --shadow: 0 18px 55px rgba(29, 31, 48, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 18px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), #7c3aed); border-radius: 13px; box-shadow: 0 8px 22px rgba(79,70,229,.28); }
.nav-link, .back-link { color: var(--muted); font-weight: 700; text-decoration: none; }
.nav-link:hover, .back-link:hover { color: var(--primary); }
.public-back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; color: var(--primary-dark); background: #fff; border: 2px solid rgba(79,70,229,.22); border-radius: 12px; box-shadow: 0 8px 22px rgba(29,31,48,.12); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.public-back-link span { font-size: 21px; line-height: 1; transition: transform .2s ease; }
.public-back-link:hover { color: var(--primary-dark); border-color: var(--primary); box-shadow: 0 12px 28px rgba(29,31,48,.18); transform: translateY(-2px); }
.public-back-link:hover span { transform: translateX(-3px); }
.public-back-link:focus-visible, .back-to-top:focus-visible { outline: 3px solid rgba(79,70,229,.28); outline-offset: 3px; }
.hero { color: white; background: radial-gradient(circle at 78% 20%, #8179ff 0, transparent 30%), linear-gradient(130deg, #312e81, #4f46e5 58%, #7c3aed); overflow: hidden; }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 60px; }
.hero h1, .draw-hero h1 { max-width: 780px; margin: 14px 0 18px; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -.055em; }
.hero p { max-width: 660px; margin: 0 0 30px; color: #e5e7ff; font-size: 19px; }
.eyebrow { color: #dbd9ff; font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.dark { color: var(--primary); }
.hero-art { position: relative; display: grid; grid-template-columns: repeat(2, 115px); gap: 18px; justify-content: center; transform: rotate(-7deg); }
.hero-art span { width: 115px; aspect-ratio: 1; display: grid; place-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.35); border-radius: 28px; font-size: 34px; font-weight: 850; box-shadow: inset 0 1px rgba(255,255,255,.2); backdrop-filter: blur(7px); }
.hero-art span:nth-child(2), .hero-art span:nth-child(3) { color: var(--primary-dark); background: #fff; transform: translateY(20px); }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(29,31,48,.13); }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { color: #fff; background: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { color: #fff; background: var(--success); }
.btn-light { color: var(--primary-dark); background: #fff; }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-small { min-height: 38px; padding-inline: 14px; font-size: 14px; }
.btn-block { width: 100%; }
.section { padding-block: 84px; }
.section-heading, .admin-title, .card-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.section-heading h2, .admin-title h1 { margin: 4px 0 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.1; letter-spacing: -.04em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-grid.compact { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.draw-card, .option-card, .admin-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.draw-card > img, .draw-placeholder { width: 100%; height: 220px; object-fit: cover; }
.draw-placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #4f46e5, #9333ea); font-size: 70px; font-weight: 900; }
.draw-content { padding: 24px; }
.draw-content h3, .option-card h3 { margin: 12px 0 6px; font-size: 23px; letter-spacing: -.025em; }
.draw-content p, .option-card p { color: var(--muted); }
.date-pill { display: inline-flex; padding: 5px 10px; color: var(--primary-dark); background: #eeedff; border-radius: 999px; font-size: 12px; font-weight: 800; }
.prize { color: var(--ink) !important; font-weight: 750; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.option-card { padding: 28px; }
.option-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--primary); background: #eeedff; border-radius: 14px; font-size: 24px; font-weight: 900; }
.price { display: block; margin: 22px 0; color: var(--primary); font-size: 27px; }
.price small { color: var(--muted); font-size: 13px; }
.progress { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #8b5cf6); border-radius: inherit; }
.steps { padding: 80px 0; background: var(--soft); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-grid article { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.step-grid b { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--primary); border-radius: 10px; }
.step-grid h3 { margin: 18px 0 6px; }
.step-grid p { margin: 0; color: var(--muted); }
.empty-state { padding: 70px 25px; text-align: center; background: var(--soft); border: 1px dashed #c9ccda; border-radius: 20px; }
.empty-state span { color: var(--primary); font-size: 42px; }
.empty-state h3 { margin-bottom: 5px; }
.empty-state p { margin-top: 0; color: var(--muted); }
.draw-hero { padding: 56px 0; color: #fff; background: linear-gradient(120deg, #312e81, #4f46e5); }
.draw-hero .back-link { color: var(--primary-dark); }
.draw-hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 50px; align-items: end; margin-top: 40px; }
.draw-hero h1 { margin-block: 10px; font-size: clamp(40px, 5vw, 62px); }
.draw-hero p { color: #e4e3ff; }
.draw-details { display: grid; gap: 14px; }
.draw-details div { padding: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.17); border-radius: 15px; }
.draw-details small, .draw-details strong { display: block; }
.draw-details small { color: #d7d5ff; }
.page-top { padding: 52px 0 28px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-top .eyebrow { display: block; margin-top: 28px; }
.page-top h1 { margin: 5px 0; font-size: 46px; letter-spacing: -.045em; }
.page-top p { color: var(--muted); }
.purchase-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 34px; align-items: start; }
.number-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; font-weight: 700; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; display: inline-block; background: #fff; border: 2px solid var(--line); border-radius: 4px; }
.legend .selected { background: var(--primary); border-color: var(--primary); }
.legend .unavailable { background: #d4d6df; border-color: #d4d6df; }
.number-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 9px; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 20px; }
.number { aspect-ratio: 1; color: var(--ink); background: #fff; border: 1px solid #dfe1e9; border-radius: 11px; font-weight: 800; cursor: pointer; transition: .15s ease; }
.number.disponivel:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.number.is-selected { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 7px 17px rgba(79,70,229,.24); }
.number.reservado, .number.pago { color: #969aa8; background: #e4e5ea; cursor: not-allowed; }
.purchase-panel { position: sticky; top: 98px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.purchase-panel h2 { margin-top: 0; font-size: 23px; }
.summary-row, .summary-total { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }
.selected-list { min-height: 55px; padding: 13px; color: var(--muted); background: var(--soft); border-radius: 10px; font-size: 13px; word-break: break-word; }
.summary-total strong { color: var(--success); font-size: 25px; }
label { display: grid; gap: 7px; margin-bottom: 16px; color: #3f4555; font-size: 13px; font-weight: 800; }
input, textarea, select { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #d9dce6; border-radius: 10px; font: inherit; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); outline: 3px solid rgba(79,70,229,.12); }
label small, .secure-note { color: var(--muted); font-weight: 500; }
.optional-label { color: var(--muted); font-weight: 600; }
.secure-note { display: block; margin-top: 15px; text-align: center; }
.confirmation { min-height: 75vh; padding: 70px 0; background: var(--soft); }
.confirmation-card { max-width: 780px; padding: 45px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.success-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; color: #fff; background: var(--success); border-radius: 50%; font-size: 36px; font-weight: 900; box-shadow: 0 12px 25px rgba(18,138,91,.25); }
.confirmation h1 { margin: 8px 0; font-size: 42px; letter-spacing: -.04em; }
.confirmation > .container > p { color: var(--muted); }
.receipt-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; text-align: left; }
.receipt-preview div { padding: 16px; background: var(--soft); border-radius: 12px; }
.receipt-preview small, .receipt-preview strong, .pix-box small, .pix-box strong { display: block; }
.receipt-preview small, .pix-box small { color: var(--muted); }
.receipt-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.receipt-numbers span { min-width: 47px; padding: 10px; color: var(--primary); background: #eeedff; border: 1px solid #d4d1ff; border-radius: 9px; font-weight: 850; }
.pix-box { margin-top: 26px; padding: 22px; text-align: left; background: linear-gradient(135deg, #effcf7, #f7fffc); border: 2px solid #8fddbf; border-radius: 18px; box-shadow: 0 12px 30px rgba(18,138,91,.10); }
.pix-heading { display: flex; align-items: center; gap: 13px; }
.pix-heading strong { font-size: 17px; }
.pix-symbol { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--success); border-radius: 14px; font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.pix-copy-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.pix-copy-row code { min-width: 0; flex: 1; padding: 13px 14px; color: #075f3d; background: #fff; border: 1px dashed #69caa5; border-radius: 11px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.copy-pix-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; color: #fff; background: var(--success); border: 0; border-radius: 11px; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.copy-pix-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-pix-button.copied { background: #08633e; }
.pix-box > p { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.pix-box > p strong { display: inline; color: var(--success); }
.draw-pix-section { margin-top: 28px; }
.draw-pix-box { max-width: 760px; margin: 0 auto; }
.pix-holder { margin-top: 18px; padding: 13px 14px; background: rgba(255,255,255,.72); border-radius: 11px; }
.pix-holder small, .pix-holder strong { display: block; }
.pix-holder small { color: var(--muted); font-size: 12px; }
.pix-holder strong { margin-top: 2px; color: #075f3d; }
.action-row { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.flash { width: min(1160px, calc(100% - 40px)); margin: 20px auto; padding: 14px 18px; border-radius: 12px; font-weight: 650; }
.flash ul { margin-bottom: 0; }
.flash-success { color: #08633e; background: #daf5e9; border: 1px solid #aee4cd; }
.flash-error { color: #972d2d; background: #ffebeb; border: 1px solid #f1b9b9; }
.site-footer { color: #c7cad6; background: #181b27; }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; min-height: 52px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px 0 14px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; box-shadow: 0 14px 35px rgba(49,46,129,.34); font: inherit; font-size: 14px; font-weight: 850; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; transition: opacity .2s ease, visibility .2s ease, transform .2s ease, box-shadow .2s ease; }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { box-shadow: 0 17px 40px rgba(49,46,129,.46); transform: translateY(-2px); }

.admin-body { background: var(--soft); }
.admin-header { color: #fff; background: #202335; }
.brand-light { color: #fff; }
.brand-light small { color: #c7cad6; }
.admin-nav { display: flex; align-items: center; gap: 22px; }
.admin-nav a, .link-button { color: #d9dbe5; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 750; text-decoration: none; cursor: pointer; }
.admin-nav form { margin: 0; }
.admin-nav a:hover, .link-button:hover { color: #fff; }
.admin-main { padding-block: 44px; }
.admin-title { align-items: center; }
.admin-title p { margin: 5px 0 0; color: var(--muted); }
.admin-title .back-link { display: block; margin-bottom: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stats-grid article { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.stats-grid span, .stats-grid strong { display: block; }
.stats-grid span { color: var(--muted); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.stats-grid strong { margin-top: 8px; font-size: 30px; letter-spacing: -.04em; }
.admin-card { box-shadow: 0 8px 32px rgba(29,31,48,.055); }
.admin-draw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.admin-draw-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 38px rgba(29,31,48,.075); transition: transform .2s ease, box-shadow .2s ease; }
.admin-draw-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(29,31,48,.11); }
.admin-draw-cover { position: relative; height: 170px; overflow: hidden; background: var(--soft); }
.admin-draw-cover img, .admin-draw-placeholder { width: 100%; height: 100%; object-fit: cover; }
.admin-draw-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.9); background: radial-gradient(circle at 75% 20%, #8c84ff, transparent 30%), linear-gradient(135deg, #312e81, #4f46e5); font-size: 64px; font-weight: 900; }
.admin-draw-cover .status { position: absolute; top: 14px; right: 14px; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 6px 18px rgba(24,27,39,.18); }
.admin-draw-content { padding: 22px; }
.admin-draw-content h2 { min-height: 2.5em; margin: 15px 0 8px; font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.admin-draw-date { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 12px; font-weight: 750; }
.admin-draw-date time { color: var(--ink); font-size: 14px; font-weight: 850; }
.admin-draw-prize { min-height: 54px; margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.admin-draw-prize span, .admin-draw-prize strong { display: block; }
.admin-draw-prize strong { margin-top: 2px; color: var(--ink); font-size: 14px; }
.admin-draw-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.admin-draw-actions form { margin: 0 0 0 auto; }
.btn-danger-outline { color: var(--danger); background: #fff; border-color: #efb8b8; }
.btn-danger-outline:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.admin-empty-state h2 { margin-bottom: 4px; }
.admin-empty-state .btn { margin-top: 12px; }
.card-heading { align-items: center; margin: 0; padding: 22px 25px; border-bottom: 1px solid var(--line); }
.card-heading h2, .card-heading p { margin: 0; }
.card-heading p { color: var(--muted); font-size: 14px; }
.card-heading a { color: var(--primary); font-weight: 800; text-decoration: none; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); background: #fafbfe; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
td { font-size: 14px; }
td small { display: block; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.empty-cell { padding: 45px; color: var(--muted); text-align: center; }
.status { display: inline-flex; padding: 5px 9px; color: #4e5568; background: #eceef4; border-radius: 99px; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.status.ativo, .status.pago { color: #08724a; background: #dff6ec; }
.status.pendente, .status.rascunho { color: #8c5d00; background: #fff1c9; }
.status.cancelado, .status.finalizado, .status.inativo { color: #982f2f; background: #ffe1e1; }
.actions-col { text-align: right; }
.table-actions { display: flex; justify-content: flex-end; gap: 14px; }
.table-actions a, .danger-link, td > a { color: var(--primary); background: none; border: 0; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.table-actions form { margin: 0; }
.danger-link { color: var(--danger); }
.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 22px; }
.form-grid .span-2 { grid-column: span 2; }
.form-preview { width: min(360px, 100%); max-height: 190px; object-fit: cover; border-radius: 14px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 25px; border-top: 1px solid var(--line); }
.form-note { margin-bottom: 22px; padding: 13px 16px; color: var(--muted); background: var(--soft); border-radius: 10px; font-size: 14px; }
.filter-form { min-width: 210px; }
.filter-form select { margin: 0; }
.account-form { max-width: 620px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 80% 10%, #766df6, transparent 30%), linear-gradient(135deg, #25215f, #4f46e5); }
.login-card { width: min(430px, 100%); padding: 38px; background: #fff; border-radius: 24px; box-shadow: 0 28px 80px rgba(10,10,35,.3); }
.login-brand { margin-bottom: 32px; }
.login-card h1 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.login-card > p { margin-top: 5px; color: var(--muted); }
.login-card .flash { width: 100%; margin: 18px 0; }
.back-link.center { display: block; margin-top: 25px; text-align: center; }

@media (max-width: 900px) {
    .hero-grid, .draw-hero-grid, .purchase-grid { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .purchase-panel { position: static; }
    .admin-header .nav { align-items: flex-start; padding-block: 16px; }
    .admin-nav { flex-wrap: wrap; justify-content: flex-end; }
    .admin-draw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .container, .flash { width: min(100% - 24px, 1160px); }
    .site-header .nav { min-height: 66px; }
    .cards-grid, .step-grid, .stats-grid, .receipt-preview, .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: span 1; }
    .hero-grid { min-height: 490px; }
    .hero h1 { font-size: 42px; }
    .section { padding-block: 58px; }
    .section-heading, .admin-title { align-items: flex-start; flex-direction: column; gap: 18px; }
    .number-toolbar { align-items: flex-start; flex-direction: column; }
    .number-grid { grid-template-columns: repeat(5, 1fr); padding: 12px; gap: 6px; }
    .confirmation-card { padding: 28px 20px; }
    .action-row, .footer-inner { align-items: stretch; flex-direction: column; text-align: center; }
    .pix-copy-row { align-items: stretch; flex-direction: column; }
    .admin-header .nav { align-items: center; flex-direction: column; }
    .admin-nav { justify-content: center; gap: 14px; }
    .admin-draw-grid { grid-template-columns: 1fr; gap: 18px; }
    .admin-draw-cover { height: 150px; }
    .admin-draw-content { padding: 19px; }
    .admin-draw-content h2 { min-height: auto; }
    .admin-draw-prize { min-height: auto; }
    .admin-draw-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .admin-draw-actions form { width: 100%; margin: 0; }
    .admin-draw-actions .btn, .admin-draw-actions form .btn { width: 100%; }
    .public-back-link { width: fit-content; min-height: 46px; padding-inline: 14px; }
    .back-to-top { right: 14px; bottom: 14px; min-height: 50px; padding-inline: 13px 15px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .public-back-link, .public-back-link span, .back-to-top { transition: none; }
}
