:root{font-family:system-ui,-apple-system,sans-serif;color:#18231e;background:#f4f6f5;--green:#176b49;--muted:#607069}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid #dce4df;padding:14px 18px}header>div,main{max-width:620px;margin:auto}header>div{display:flex;align-items:center;justify-content:space-between;gap:8px}small{color:var(--muted)}h1{font-size:28px;line-height:1.12;margin:8px 0}h2{font-size:19px;margin:0 0 12px}p{line-height:1.45;margin:8px 0}main{padding:15px 12px 50px}.notice{font-size:13px;background:#fff6df;border:1px solid #e8d8ac;padding:10px 12px;border-radius:12px;margin-bottom:12px}.card{background:white;border:1px solid #dce4df;border-radius:18px;padding:16px;margin-bottom:12px}.hero{background:#173e32;color:white;display:grid;grid-template-columns:1fr 112px;gap:10px;align-items:center}.hero small{color:#d4e5dc}.price{font-size:29px;font-weight:800;margin-top:12px}.grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin:14px 0}.ticket{padding:0;min-width:0;aspect-ratio:1;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:750;cursor:pointer}.disponible{background:#e0f3e7;color:#155b3d}.reservada{background:#fff0bd;color:#805900}.pendiente{background:#ffe4ce;color:#8b3f0b}.vendida{background:#e3e6e8;color:#4b5560}.selected{background:#2056b3;color:white}.ticket:disabled{cursor:default;opacity:1}.sold-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;font-size:11px}.sold-mark .icon{font-size:15px}@media(min-width:450px){.sold-mark{font-size:13px}.sold-mark .icon{font-size:18px}}.legend{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:4px}.dot{width:11px;height:11px;border-radius:3px;display:inline-block;border:1px solid #0001}.row{display:flex;justify-content:space-between;align-items:center;gap:8px}.button,button{font:inherit}.button{display:block;width:100%;border:0;border-radius:11px;background:var(--green);color:#fff;padding:13px;font-weight:700;cursor:pointer;margin-top:12px}.button:disabled{opacity:.45;cursor:default}.secondary{background:#edf2ef;color:#234638}.compact{width:auto;padding:8px 12px;font-size:13px;margin:0}.danger{background:#f9e8e8;color:#9a2932}label{display:block;font-size:14px;font-weight:650;margin-top:12px}input{width:100%;padding:11px;margin-top:5px;border:1px solid #c8d3cd;border-radius:9px;font:inherit;background:#fff}input[type=checkbox]{width:auto;vertical-align:middle}input[type=file]{font-size:12px}.qr{border:2px dashed #bac9c0;border-radius:14px;text-align:center;padding:25px 10px;margin:14px 0;background:#f7faf8}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.metric{padding:12px;background:#eff5f1;border-radius:10px}.metric strong{display:block;font-size:23px;margin-top:4px}.bar{height:9px;background:#e5eae7;border-radius:9px;overflow:hidden;margin-top:10px}.bar div{height:100%;background:var(--green)}.purchase{border-top:1px solid #e1e6e2;padding-top:12px;margin-top:12px}.actions{display:flex;gap:8px}.actions>*{flex:1}.error{color:#a52c33;font-size:13px}.tag{font-size:12px;padding:4px 8px;border-radius:6px}.receipt{max-width:100%;max-height:260px;object-fit:contain;margin-top:8px}.muted{color:var(--muted)}@media(min-width:450px){.ticket{font-size:15px;gap:6px}.hero{grid-template-columns:1fr 145px}}button:focus-visible,input:focus-visible{outline:3px solid #78a9ef;outline-offset:2px}

/* Edición navideña: capa visual, sin cambios en el flujo de compras. */
:root{background:#f5f3ee;color:#19382e;--green:#14583f;--muted:#64736b}body{background:radial-gradient(ellipse at 50% 0,#e2eae1 0,transparent 620px),#f5f3ee;min-height:100vh}header{background:#faf9f5;border-bottom:1px solid #dedfd5;padding:14px 18px}header>div,main{max-width:850px}.brand{display:flex;align-items:center;gap:10px}.brand-icon{display:grid;place-items:center;background:#173e32;color:#e9c77f;width:38px;height:38px;border-radius:12px;font-size:24px}.brand strong{display:block;font-size:15px}.brand small{display:block;font-size:11px;letter-spacing:.05em}.compact{font-size:12px}.notice{font-size:11px;background:#fff9ed;border-color:#e7dcc5;color:#785c2f;padding:9px 12px}.card{border:1px solid #e1e4db;border-radius:22px;padding:22px;box-shadow:0 8px 30px #1e362008;margin-bottom:16px}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 20%,#36614c 0,transparent 55%),linear-gradient(125deg,#102d25,#1d4735);color:#fffdf5;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;padding:28px;border:1px solid #315644}.hero:before{content:'✧';position:absolute;top:-46px;right:-14px;font-size:190px;line-height:1;color:#e1c47b12;pointer-events:none}.hero-copy,.product,.hero-specs{position:relative}.season{display:inline-flex;align-items:center;gap:6px;color:#f0d499;font-size:10px;letter-spacing:.12em;font-weight:750}.hero h1{font-size:clamp(27px,4.6vw,44px);line-height:1.12;letter-spacing:-.04em;margin:14px 0}.hero h1 em{font-style:normal;color:#f2d598}.prize-name{font-size:16px;font-weight:600;color:#f9f8ed;line-height:1.35}.prize-name span{display:block;font-size:12px;font-weight:400;color:#c5d3c9}.hero-price{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-top:18px}.hero-price strong{font-size:clamp(28px,4.5vw,42px);letter-spacing:-.045em}.hero-price small{font-size:12px}.hero-note{font-size:12px;color:#d5e1d8}.product{margin:0;min-width:0}.product-frame{aspect-ratio:1;background:#f8f7f2;border-radius:22px;padding:10px;display:grid;place-items:center;box-shadow:0 15px 35px #071a1855}.product img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain;mix-blend-mode:multiply}.product figcaption{color:#cfdfd3;font-size:10px;text-align:center;margin-top:8px}.hero-specs{grid-column:1/-1;border-top:1px solid #ffffff26;padding-top:14px;display:flex;flex-wrap:wrap;gap:8px 18px;color:#e8e5d6;font-size:11px}.hero-specs span:before{content:'✦';color:#d9bc7d;margin-right:6px}.board-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:#7e6940}.board h2{font-size:24px;margin:4px 0;letter-spacing:-.025em}.available-count{font-size:12px;font-weight:700;color:#1c6949;background:#eaf3eb;padding:7px 10px;border-radius:9px;white-space:nowrap}.board-intro{font-size:13px}.grid{gap:7px;margin:20px 0}.ticket{border-radius:10px;font-size:16px;transition:background .14s,transform .14s;line-height:1}.ticket.disponible{border-color:#d1e7d7}.ticket.disponible:hover{background:#c8e6d1;transform:translateY(-1px)}.ticket.selected{box-shadow:inset 0 0 0 2px #164ba1}.ticket.vendida{background:#e3e6e8;color:#4b5560;border-color:#d7dadc}.legend{gap:10px 14px;font-size:12px}.dot{width:12px;height:12px}.button{padding:14px;border-radius:13px;transition:filter .15s}.button:hover:not(:disabled){filter:brightness(1.08)}.compact{padding:9px 12px}.board-foot{font-size:11px;color:var(--muted);margin-top:14px}.metric{background:#f0f5ef}.qr{background:#f7f7f1}input{border-radius:11px}.sold-mark{font-size:12px}.sold-mark .icon{font-size:17px}
@media(max-width:550px){main{padding:12px 10px 30px}.card{padding:15px;border-radius:18px}.hero{padding:17px;gap:10px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.hero h1{font-size:25px;margin:11px 0}.season{font-size:9px;letter-spacing:.08em}.prize-name{font-size:13px}.hero-price{margin-top:10px;gap:4px}.hero-price strong{font-size:28px}.hero-price small,.hero-note{font-size:10px}.product-frame{padding:4px;border-radius:14px}.hero-specs{gap:7px 12px;font-size:10px}.board-heading{gap:6px}.board h2{font-size:19px}.available-count{font-size:10px;padding:6px}.grid{gap:3px;margin:15px 0}.ticket{font-size:12px;border-radius:6px}.sold-mark{font-size:10px}.sold-mark .icon{font-size:13px}.legend{gap:8px;font-size:10px}.dot{width:10px;height:10px}}
@media(max-width:360px){.hero h1{font-size:22px}.hero{padding:14px}.hero-price strong{font-size:24px}.board{padding:12px}.grid{gap:2px}.ticket{font-size:11px}.sold-mark .icon{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.official-link{display:inline-flex;align-items:center;gap:5px;color:#f7e7b8;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:3px;margin:4px 0 8px;line-height:1.4}.official-link:hover{color:#fff}.official-link:focus-visible{outline:2px solid #f7e7b8;outline-offset:4px;border-radius:2px}

/* Selector de medio de pago – edición navideña */
.pay-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 12px}.pay-method{border:1px solid #dce4df;background:#fff;border-radius:14px;padding:15px 10px;cursor:pointer;text-align:left;color:#173e32;min-width:0}.pay-method strong{display:block;font-size:22px;letter-spacing:-.035em}.pay-method small{display:block;margin-top:3px;font-size:12px}.pay-method.nequi strong{color:#8c2367}.pay-method[aria-pressed="true"]{border-color:#176b49;box-shadow:inset 0 0 0 1px #176b49;background:#edf5ed}.pay-method.nequi[aria-pressed="true"]{border-color:#8c2367;box-shadow:inset 0 0 0 1px #8c2367;background:#fbf0f7}.payment-detail{border:1px solid #e1e4db;padding:20px 15px;margin:12px 0 18px}.pay-qr-placeholder{margin:0 auto 12px;width:140px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px dashed #bdc9be;background:#fff;border-radius:14px;color:#365649}.pay-qr-placeholder small{font-size:10px}.payment-detail h3{margin:6px 0;font-size:19px}.pay-hint{font-size:13px}.pay-copy-row{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;padding:10px 12px;background:#fff;border:1px solid #e1e4db;border-radius:11px;margin-top:8px}.pay-copy-row strong,.pay-copy-row small{display:block;overflow-wrap:anywhere}.pay-copy-row strong{margin-top:4px}.pay-copy-row .button{flex-shrink:0;width:auto}.pay-feedback{color:#14583f;font-size:12px;margin:6px 0 0;min-height:1em}

/* Mecánica del sorteo y resultado navideño */
.draw-card{background:#173e32;color:#fff;text-align:center;padding:24px 18px}.draw-card .draw-kicker{color:#e9ce91;letter-spacing:.09em}.draw-card h2{font-size:24px;margin:10px 0 15px}.draw-date{padding:15px 10px;background:#ffffff12;border:1px solid #ffffff24;border-radius:14px;margin-bottom:15px}.draw-date strong,.draw-date span,.draw-date small{display:block}.draw-date strong{font-size:21px}.draw-date span{color:#f7e7b8;margin:6px 0;font-size:14px}.draw-date small,.draw-card .draw-caption{color:#dce9e1}.draw-card p{font-size:14px}.draw-caption{margin:18px 0 6px}.draw-digits{display:flex;justify-content:center;gap:7px;margin:10px 0}.draw-digits span{display:grid;place-items:center;width:44px;height:48px;background:#ffffff18;border-radius:9px;font-size:26px;font-weight:800}.draw-digits .last{background:#e9ce91;color:#173e32}.draw-winning-number{font-size:13px;color:#e9ce91;margin:12px 0 16px}.draw-winning-number strong{display:block;color:#fff;font-size:28px;margin-top:5px}.draw-link{display:inline-block;font-weight:650;font-size:13px;color:#f7e7b8;text-decoration:underline;text-underline-offset:3px;padding:6px 0}.draw-conditions ul{margin:0;padding-left:20px;color:#40534a;font-size:14px;line-height:1.55}.draw-conditions li+li{margin-top:8px}.winner-card{text-align:center;border-color:#d6bd83;background:#fffcf3;padding:22px 15px}.winner-card h2{margin:12px 0}.winner-number{font-size:42px;color:#173e32;font-weight:800}.winner-card .draw-link{color:#176b49}.winner-card p{overflow-wrap:anywhere}.draw-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Resultado del sorteo – estados con y sin ganador */
.winner-card{padding:28px 18px;color:#173e32}.winner-card .eyebrow{color:#92713b;letter-spacing:.08em}.winner-card h2{font-size:clamp(24px,5vw,30px);line-height:1.18;letter-spacing:-.03em}.winner-card .result-label{color:#607069;font-size:13px;margin:10px 0 4px}.winner-card .winner-number{font-size:48px;line-height:1.15;margin:5px 0 16px}.winner-card h3{font-size:19px;margin:10px 0 5px}.winner-card p{color:#40534a;font-size:14px;line-height:1.55;max-width:440px;margin:8px auto}.no-winner-message{background:#f1ebda;border-radius:13px;padding:14px;margin:10px 0 18px}.no-winner-message p{margin-bottom:0}.result-date{border-top:1px solid #d6bd83;padding-top:17px;margin:18px 0 12px}.result-date strong,.result-date small{display:block}.result-date small{margin-top:5px}.calendar-mark{font-size:28px;color:#92713b;line-height:1}.winner-card .draw-link{border:1px solid #c8d3c5;border-radius:11px;padding:11px 15px;margin-top:9px;display:block;text-decoration:none}.winner-card .draw-link:hover{background:#f0f4e9}.result-demo-label{display:block;font-size:11px;color:#607069;margin-top:14px}.admin-result-summary{margin-top:15px;background:#edf5ed;padding:12px;border-radius:10px;overflow-wrap:anywhere}

/* Flujo guiado: cuatro pasos, una acción principal por pantalla. */
main{max-width:680px} .stepper{padding:16px 7px 20px;margin:0 0 8px}.stepper ol{display:flex;list-style:none;margin:0;padding:0}.stepper li{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:9px;position:relative;color:#667c72}.step-label{font-size:12px;font-weight:600;white-space:nowrap}.step-dot{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#e9eee9;border:1px solid #cbd8d0;color:#596e63;font-size:13px;font-weight:750;z-index:1}.stepper li:not(:last-child)::after{content:'';position:absolute;left:50%;width:100%;height:2px;bottom:14px;background:#d5e0d9}.stepper li.complete::after{background:#268568}.stepper li.complete .step-dot,.stepper li.active .step-dot{background:#268568;color:#fff;border-color:#268568}.stepper li.active .step-dot{outline:3px solid #d7ece1;outline-offset:2px}.stepper li.complete,.stepper li.active{color:#176b49}.flow-actions{margin:4px 0 20px}.flow-actions .button{min-height:48px}.back-link{background:transparent;color:#45695a;box-shadow:none}.hero{grid-template-columns:1fr;text-align:center;background:#f9f5e9;color:#173e32;border-color:#e3dbc7;gap:10px;padding:24px}.hero:before{color:#d0b67722}.hero-copy{display:contents}.hero .season{justify-content:center;color:#8a682e;order:0}.hero h1{order:1;font-size:clamp(26px,5vw,38px);margin:0}.hero h1 em{color:#2b5d48}.hero .product{order:2;max-width:235px;width:100%;justify-self:center}.hero .product-frame{background:#faf8f1;box-shadow:none;border-radius:16px;padding:5px;aspect-ratio:5/4}.hero .product img{height:100%;max-height:190px;width:100%;object-fit:contain}.hero .product figcaption{color:#6a7468}.hero .prize-name{order:3;color:#173e32;font-size:19px;margin:0}.hero .prize-name span{display:inline;font-size:inherit;color:inherit;font-weight:600}.hero .official-link{order:4;justify-content:center;color:#25694d;margin:0}.hero .hero-price{order:5;justify-content:center;margin:4px 0 0}.hero .hero-price small,.hero .hero-note{color:#52675c}.hero .hero-note{order:6;margin:0;font-size:13px}.hero .hero-specs{order:7;justify-content:center;color:#52675c;border-color:#e2dac8;font-size:11px}.draw-card{background:#fff;color:#173e32;padding:22px 16px}.draw-card .draw-kicker{color:#92713b}.draw-card .draw-date{background:#f2ede0;border-color:#e7dfcc}.draw-card .draw-date span{color:#173e32}.draw-card .draw-date small,.draw-card .draw-caption{color:#607069}.draw-card .draw-digits span{background:#e8e9e1}.draw-card .draw-digits .last{background:#173e32;color:#fff}.draw-card .draw-winning-number{color:#607069}.draw-card .draw-winning-number strong{color:#173e32}.draw-card .draw-link{color:#176b49}.ticket.selected{background:#173e32;box-shadow:none;border-color:#173e32;color:#fff}.dot.selected{background:#173e32}.selection-summary{background:#eff4ef;border-radius:14px;padding:15px;margin:15px 0 0;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.selection-summary>strong{font-size:21px;line-height:1.25}.selection-summary .row{border-top:1px solid #dce6de;padding-top:10px}.selection-summary b{font-size:21px}.privacy-note{font-size:12px;color:#62746b}.consent{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.45;font-size:13px}.consent input{flex-shrink:0;margin-top:3px;width:17px;height:17px;accent-color:#176b49}.pay-summary,.confirmation-card .selection-summary{text-align:center;align-items:center;margin:12px 0}.pay-summary>strong{font-size:32px}.confirmation-card{text-align:center;padding:28px 20px}.confirmation-card h2{font-size:26px;margin:15px 0}.confirmation-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;margin:0 auto;background:#e0f3e7;color:#268568;font-size:32px}.confirmation-card .tag{margin-top:5px}.pay-method strong{font-size:20px}.notice{margin-bottom:6px}.winner-card{margin-top:16px}
@media(max-width:380px){.step-label{font-size:11px}.stepper{padding-left:0;padding-right:0}.hero{padding:18px}.board-heading{align-items:flex-start}.available-count{white-space:normal}.hero .product{max-width:200px}}
