/* Scoped customer raffle views. Existing shopping, payment and delivery UI are untouched. */
.raffle-main,.raffle-home{--raffle-ink:#282449;--raffle-muted:#79728d;--raffle-purple:#7b64d9;--raffle-line:#e6ddff;color:var(--raffle-ink);min-width:0}
.raffle-main [hidden],.raffle-home [hidden]{display:none!important}
.raffle-main{max-width:1120px;padding-bottom:52px}
.raffle-back{display:inline-flex;padding:9px 0;color:var(--raffle-muted);font-size:13px}
.raffle-hero{position:relative;padding:32px 0 28px;text-align:center}
.raffle-hero .eyebrow{color:var(--raffle-purple);font-size:11px;letter-spacing:.18em}
.raffle-hero h1{font-size:clamp(27px,4vw,40px);letter-spacing:-.03em;line-height:1.3;margin:12px 0}
.raffle-hero>p{font-size:14px;line-height:1.7;margin:0;color:var(--raffle-muted)}
.raffle-features{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:20px}
.raffle-features span{padding:6px 11px;border:1px solid var(--raffle-line);border-radius:30px;background:rgba(255,255,255,.76);font-size:12px;color:#66578f}
.raffle-account{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 21px;margin:0 0 23px;border:1px solid var(--raffle-line);border-radius:17px;background:rgba(255,255,255,.82)}
.raffle-account>div{min-width:0}.raffle-account strong{font-size:14px;overflow-wrap:anywhere}.raffle-account p{font-size:12px;line-height:1.7;color:var(--raffle-muted);margin:5px 0 0;overflow-wrap:anywhere}
.raffle-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:6px;padding:11px 16px;border:1px solid transparent;border-radius:12px;background:var(--raffle-purple);color:#fff;font:inherit;font-size:13px;font-weight:700;line-height:1.5;text-decoration:none;cursor:pointer;text-align:center;box-sizing:border-box}
.raffle-button-light{background:#fbf9ff;border-color:var(--raffle-line);color:#6c57bd}.raffle-button:disabled{background:#f1edf8;border-color:#e9e4f2;color:#898096;cursor:default}.raffle-button:focus-visible,.raffle-tabs button:focus-visible,.raffle-rules summary:focus-visible{outline:3px solid #b2a0e8;outline-offset:3px}
.raffle-account>.raffle-button{flex-shrink:0}
.raffle-tabs{display:flex;gap:5px;padding:5px;border:1px solid var(--raffle-line);border-radius:14px;background:#f7f3fd;width:fit-content;max-width:100%;margin-bottom:20px}
.raffle-tabs button{min-height:43px;padding:10px 17px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:13px;color:var(--raffle-muted);cursor:pointer;line-height:1.4}
.raffle-tabs button[aria-selected="true"]{background:#fff;color:#6d53c5;font-weight:700;box-shadow:0 2px 8px #7562950a}
.raffle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.raffle-card{display:flex;flex-direction:column;min-width:0;padding:23px;border:1px solid var(--raffle-line);border-radius:21px;background:rgba(255,255,255,.9);box-shadow:0 8px 25px rgba(101,78,145,.04);scroll-margin-top:180px}
.raffle-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}
.raffle-prize-icon{height:52px;width:52px;flex:0 0 52px;border:1px solid #ece6f8;border-radius:15px;background:#faf7ff;display:grid;place-items:center;color:var(--raffle-purple);font-size:25px;overflow:hidden}.raffle-prize-icon img{width:38px;height:38px;object-fit:contain}
.raffle-badge{display:inline-flex;padding:5px 9px;border-radius:25px;background:#eee9fd;color:#7254c8;font-size:11px;line-height:1.5}.raffle-badge.is-drawn{background:#e9f6f0;color:#428066}.raffle-badge.is-cancelled{background:#f2f0f4;color:#8a818e}
.raffle-card h2,.raffle-card h3{font-size:19px;line-height:1.55;margin:0 0 7px;overflow-wrap:anywhere}
.raffle-prize-name{color:var(--raffle-muted);font-size:13px;line-height:1.65;margin:0 0 17px;overflow-wrap:anywhere}
.raffle-stats{display:flex;gap:20px;margin:1px 0 17px;flex-wrap:wrap}.raffle-stats>span{font-size:12px;color:var(--raffle-muted);line-height:1.8}.raffle-stats b{color:var(--raffle-ink);font-size:20px;font-variant-numeric:tabular-nums;margin-right:4px}
.raffle-progress{height:5px;border-radius:20px;overflow:hidden;background:#f0eaf8;margin:0 0 16px}.raffle-progress span{display:block;height:100%;background:#bba8ed;border-radius:inherit}
.raffle-clock{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #efeaf8;border-bottom:1px solid #efeaf8;margin-top:auto}.raffle-clock span{font-size:12px;color:var(--raffle-muted)}.raffle-clock strong{font-size:22px;letter-spacing:.04em;color:#7056b9;font-variant-numeric:tabular-nums;white-space:nowrap}
.raffle-date{color:var(--raffle-muted);font-size:11px;line-height:1.7;margin:10px 0 16px}
.raffle-card>.raffle-button{width:100%}
.raffle-entry-note{font-size:12px;color:#786492;line-height:1.6;margin:10px 0 0;min-height:19px}
.raffle-empty{grid-column:1/-1;min-width:0;border:1px dashed var(--raffle-line);border-radius:18px;padding:34px 22px;background:rgba(255,255,255,.65);text-align:center;font-size:14px;line-height:1.9;color:var(--raffle-muted);margin:0}.raffle-empty p{margin:0 0 12px}.raffle-empty .raffle-button{margin:12px 0 0}
.raffle-message{border:1px solid #ddcfee;border-radius:12px;padding:12px 15px;line-height:1.7;font-size:13px;background:#faf6ff;color:#755695;margin:0 0 18px}.raffle-message.is-success{border-color:#cce9df;background:#f0fbf6;color:#39765e}
.raffle-rules{border:1px solid var(--raffle-line);border-radius:17px;margin:25px 0 0;background:rgba(255,255,255,.65);padding:17px 20px}.raffle-rules summary{font-size:13px;font-weight:700;cursor:pointer;line-height:1.6}.raffle-rules ol{font-size:12px;color:var(--raffle-muted);line-height:1.9;padding-left:20px;margin:14px 0 0}.raffle-rules li+li{margin-top:7px}
.raffle-section-heading{font-size:17px;margin:0 0 14px}.raffle-award-grid{display:grid;gap:14px;margin-bottom:24px}.raffle-award{padding:20px;border:1px solid var(--raffle-line);border-radius:17px;background:rgba(255,255,255,.9);min-width:0}.raffle-award h3{font-size:15px;line-height:1.7;margin:0 0 6px;overflow-wrap:anywhere}.raffle-award p{font-size:12px;line-height:1.7;color:var(--raffle-muted);margin:0 0 12px}.raffle-award summary{cursor:pointer;color:#6d54ad;font-size:13px;font-weight:700;min-height:38px;line-height:2.5}.raffle-award pre{font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f4fb;border:1px solid #eee7f8;padding:14px;border-radius:12px;max-height:360px;overflow-y:auto;user-select:text}.raffle-award footer{display:flex;gap:10px;flex-wrap:wrap}.raffle-award .raffle-button{font-size:12px;min-height:42px}
.raffle-entry-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.raffle-entry-list li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid var(--raffle-line);border-radius:13px;background:#ffffffbd;min-width:0}.raffle-entry-list b{font-size:13px;font-weight:650;overflow-wrap:anywhere;line-height:1.6}.raffle-entry-list small{display:block;font-size:11px;margin-top:5px;color:var(--raffle-muted)}.raffle-entry-list .raffle-badge{flex:0 0 auto}
.raffle-winners{list-style:none;margin:12px 0 0;padding:0;display:flex;gap:7px;flex-wrap:wrap}.raffle-winners li{padding:7px 10px;border:1px solid #e7e0f0;border-radius:10px;color:#756588;font-size:12px;overflow-wrap:anywhere}.raffle-history-note{font-size:12px;color:var(--raffle-muted);line-height:1.8;margin:10px 0 0}
.raffle-home{margin:28px 0}.raffle-home-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.raffle-home-heading h2{font-size:24px;margin:0;line-height:1.4}.raffle-home-heading p{font-size:12px;color:var(--raffle-muted);line-height:1.6;margin:6px 0 0}.raffle-home-heading>a{flex:0 0 auto;font-size:13px;color:#7858ba}.raffle-home .raffle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.raffle-home .raffle-card{padding:20px}.raffle-home .raffle-card h3{font-size:17px}.raffle-home .raffle-clock strong{font-size:20px}.raffle-home .raffle-stats{gap:13px}
@media(max-width:850px){.raffle-home .raffle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.raffle-main{width:100%;padding-left:14px;padding-right:14px}.raffle-hero{padding:24px 4px}.raffle-hero h1{font-size:27px}.raffle-hero>p{font-size:13px}.raffle-account{padding:15px;gap:12px;align-items:flex-start;flex-wrap:wrap}.raffle-account>div{flex:1 1 230px}.raffle-account>.raffle-button{min-height:42px}.raffle-tabs{width:100%;box-sizing:border-box;gap:2px}.raffle-tabs button{flex:1;padding:9px 5px;font-size:12px}.raffle-grid,.raffle-home .raffle-grid{grid-template-columns:minmax(0,1fr)}.raffle-card{padding:20px}.raffle-card h2{font-size:18px}.raffle-stats{gap:18px}.raffle-clock strong{font-size:23px}.raffle-home{margin-top:23px}.raffle-home-heading h2{font-size:21px}.raffle-home-heading>a{font-size:12px}.raffle-entry-list li{padding:14px 13px;gap:10px}.raffle-entry-list .raffle-badge{font-size:10px}.raffle-rules{padding:16px}.raffle-award{padding:17px}}
html[data-ayf-display="mobile"] .raffle-main{max-width:680px}
html[data-ayf-display="mobile"] .raffle-main .raffle-grid,html[data-ayf-display="mobile"] .raffle-home .raffle-grid{grid-template-columns:minmax(0,1fr)}
@media(prefers-reduced-motion:reduce){.raffle-main *,.raffle-home *{scroll-behavior:auto!important}}
/* The hot-list entry inherits the exact product-card dimensions and watercolor skin. */
.raffle-store-card .raffle-store-clock{display:grid;gap:3px;min-width:0}
.raffle-store-card .raffle-store-clock strong{font-family:inherit;font-variant-numeric:tabular-nums;font-size:18px;line-height:1.3;letter-spacing:0;white-space:nowrap}
.raffle-store-card .raffle-store-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(119,96,214,.22);border-radius:9px;padding:7px 9px;background:rgba(245,240,255,.85);color:#6f54b2;font-size:12px;line-height:1.4;white-space:nowrap}

.raffle-badge.is-paused{background:#fff4dd;color:#956322}.raffle-pause-note{padding:13px 14px;border:1px solid #efdeb6;border-radius:12px;background:#fffaf1;color:#8c692a;font-size:13px;line-height:1.8;margin:18px 0}.raffle-store-card .raffle-store-clock .raffle-store-paused{color:#936827;font-size:16px}
