
:root{--sans:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--display:Manrope,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--ink:#202b20;--green:#244b36;--lime:#d8ed90;--cream:#f7f7f2;--muted:#718074;--line:#e3e8df}*{box-sizing:border-box}body{margin:0;background:var(--cream);font-family:var(--sans);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;height:76px;margin:auto;padding:0 30px;display:flex;align-items:center;gap:72px}.brand{font-family:var(--display);font-size:25px;letter-spacing:-1.6px;font-weight:800;white-space:nowrap}.brand-mark{font-size:28px;color:#749d47;vertical-align:-1px}.period{color:#91b553}nav{display:flex;gap:34px;font-size:14px;font-weight:700;color:#718074}nav a.active{color:#244b36}.header-actions{margin-left:auto;display:flex;align-items:center;gap:15px;font-size:13px;color:var(--muted)}.outline,.button{border:1px solid #cdd8cc;border-radius:8px;background:#fff;padding:13px 20px;color:var(--green);font-weight:700}.small{padding:10px 17px}.button{background:var(--green);color:#fff;border-color:var(--green)}.button:hover{background:#386348}.outline:hover{background:#f1f6ea}main{max-width:1200px;margin:auto;padding:30px 30px 72px}.hero{min-height:300px;background:#dfeec9;border-radius:17px;display:flex;overflow:hidden;position:relative}.hero-copy{padding:45px 48px;position:relative;z-index:1;max-width:660px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:800;color:#577958}.hero h1{font-family:var(--display);font-size:46px;line-height:1.1;letter-spacing:-2.3px;margin:15px 0}.hero p{font-size:16px;line-height:1.6;color:#506657;max-width:470px;margin:0 0 23px}.hero-art{position:absolute;right:40px;top:-20px;width:340px;height:340px;border-radius:50%;background:#c5dfac;display:grid;place-items:center}.hero-art:before,.hero-art:after{content:'';position:absolute;border:1px solid #b2d394;border-radius:50%;inset:28px}.hero-art:after{inset:55px}.ticket-art{width:215px;height:145px;background:#fff9e9;border-radius:13px;box-shadow:0 20px 35px #819b6b54;transform:rotate(-12deg);padding:24px;z-index:1;color:#254c38}.ticket-art strong{font:800 28px var(--display)}.ticket-art span{display:block;font-size:12px;margin-top:8px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:45px 0 22px}.section-head h2,.page-head h1{font:800 27px var(--display);letter-spacing:-1px;margin:0 0 7px}.section-head p,.page-head p{margin:0;color:#7c897e;font-size:14px}.search-row{display:flex;gap:12px;align-items:center}.search{width:260px}.input,input,select,textarea{border:1px solid #dfe6dd;background:white;border-radius:8px;padding:12px 14px;color:var(--ink);width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:#719b69;box-shadow:0 0 0 3px #e5efdf}.filters{display:flex;gap:9px;overflow:auto;padding-bottom:4px;margin-bottom:22px}.chip{white-space:nowrap;background:white;border:1px solid #e2e9de;border-radius:50px;padding:9px 16px;font-size:13px;color:#66756a;font-weight:700}.chip.active{background:#294e39;color:#fff;border-color:#294e39}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid #e7ece4;border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.card-image{height:145px;padding:18px;position:relative;overflow:hidden;background:#e3edd7}.card:nth-child(4n+2) .card-image{background:#f5e4d6}.card:nth-child(4n+3) .card-image{background:#e7e5d8}.card:nth-child(4n+4) .card-image{background:#e8e2f0}.card-image:after{content:'✳';font-size:145px;position:absolute;right:22px;top:-20px;color:#ffffff83;transform:rotate(-15deg)}.category-tag{font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:800;background:#ffffffd9;border-radius:6px;padding:7px 10px;position:relative;z-index:1}.card-body{padding:21px;display:flex;flex-direction:column;flex:1}.business{color:#718675;font-size:12px;font-weight:700}.card h3{font:800 20px var(--display);letter-spacing:-.6px;margin:9px 0}.card p{color:#78847a;font-size:13px;line-height:1.5;margin:0}.card-meta{display:flex;justify-content:space-between;gap:10px;color:#829086;font-size:12px;border-top:1px solid #eef1ec;margin-top:20px;padding-top:16px}.card .button,.card .outline{margin-top:17px;width:100%;font-size:13px}.empty{background:#fff;border:1px solid var(--line);border-radius:12px;text-align:center;padding:60px 20px;color:#7d8a7e;grid-column:1/-1}.empty strong{display:block;color:var(--ink);font:800 19px var(--display);margin-bottom:8px}.page-head{margin:30px 0}.modal{position:fixed;inset:0;background:#1b3024a8;z-index:10;display:grid;place-items:center;padding:20px}.modal-inner{background:white;width:min(520px,100%);max-height:90vh;overflow:auto;border-radius:16px;padding:32px;position:relative}.close{position:absolute;right:20px;top:15px;border:0;background:transparent;font-size:28px;color:#8a978c}.modal h2{font:800 26px var(--display);letter-spacing:-1px;margin:0 30px 10px 0}.modal p{color:#78847a;line-height:1.5;font-size:14px}.form{display:grid;gap:14px;margin-top:22px}.form label{font-weight:700;font-size:12px;display:grid;gap:7px}.form textarea{min-height:80px;resize:vertical}.form .button{width:100%}.link-button{border:0;background:none;color:#477151;font-size:13px;font-weight:700;padding:0}.barcode{background:white;border:1px solid #e5eae3;padding:15px;margin:22px 0;text-align:center}.barcode svg{width:100%;height:85px}.barcode code{font-size:13px;letter-spacing:2px}.admin-tabs{display:flex;gap:8px;margin-bottom:25px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);padding:20px;border-radius:12px;color:#78847a;font-size:13px}.stat strong{display:block;font:800 28px var(--display);color:var(--ink);margin-top:8px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th,td{padding:16px;border-bottom:1px solid #edf0ec}th{color:#8a998d;font-size:11px;text-transform:uppercase;letter-spacing:.5px}td strong{display:block}.status{background:#e8f4df;color:#51794c;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:700}.status.paused{background:#f6e9df;color:#a27250}.verify-box{max-width:610px;background:white;border:1px solid var(--line);border-radius:12px;padding:28px}.verify-box h2{margin-top:0;font:800 20px var(--display)}.verify-box p{color:#78847a;font-size:14px;line-height:1.5}#toast{position:fixed;right:22px;bottom:22px;background:#263e2e;color:#fff;padding:13px 20px;border-radius:8px;display:none;z-index:20}footer{border-top:1px solid var(--line);max-width:1140px;margin:auto;padding:25px 0 40px;display:flex;align-items:center;justify-content:space-between;color:#91a094;font-size:12px}footer>div{display:flex;align-items:center;gap:22px}footer .brand{font-size:19px;color:var(--ink)}@media(max-width:750px){.header-inner{height:66px;padding:0 18px;gap:20px}.brand{font-size:21px}nav{gap:15px;font-size:12px}.header-actions #user-email{display:none}.header-actions .small{padding:8px 10px;font-size:12px}main{padding:18px 18px 50px}.hero{min-height:290px}.hero-copy{padding:32px 25px;max-width:75%}.hero h1{font-size:34px}.hero p{font-size:14px}.hero-art{right:-150px;top:0}.ticket-art{width:155px;height:110px;padding:16px}.ticket-art strong{font-size:20px}.section-head{display:block}.search-row{margin-top:18px}.search{width:100%}.grid{grid-template-columns:repeat(2,1fr);gap:12px}.card-image{height:110px}.card-body{padding:15px}.card h3{font-size:17px}.stat{padding:12px}.stat strong{font-size:22px}footer{margin:0 18px}footer>div span{display:none}}@media(max-width:460px){.grid{grid-template-columns:1fr}.hero-copy{max-width:85%}.hero-art{opacity:.7;right:-200px}nav{gap:10px}.header-inner{gap:12px}.brand{font-size:19px}.brand-mark{font-size:22px}}

/* ---- additions */
.skip-link{position:absolute;left:-999px;top:8px;background:#fff;padding:10px 14px;border-radius:8px;z-index:30}
.skip-link:focus{left:8px}
:focus-visible{outline:3px solid #9cc36b;outline-offset:2px}
main:focus{outline:none}
button:disabled{opacity:.55;cursor:not-allowed}
body.modal-open{overflow:hidden}
.loading{padding:80px 0;text-align:center;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted);font-size:12px}
#toast.show{display:block}
#toast.error{background:#8d3b2f}
.form-error{color:#a44838;font-size:13px;margin:0;min-height:0}
.form-error:empty{display:none}
.fine-print{color:var(--muted);font-size:12px;line-height:1.5}
.optional{font-weight:500;color:var(--muted)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form label.check{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:13px;line-height:1.4}
.form label.check input{width:auto;margin-top:2px}
.facts{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;font-size:12px;color:#5d6d61}
.facts span{background:#f1f5ec;border-radius:6px;padding:4px 8px}
.facts .discount{background:var(--lime);color:var(--green);font-weight:800}
.facts .age{background:#f6e9df;color:#8a5a36;font-weight:700}
.details{display:grid;grid-template-columns:80px 1fr;gap:8px 12px;font-size:14px;margin:18px 0;color:#4f5f53;line-height:1.5}
.details dt{font-weight:700;color:var(--ink)}
.details dd{margin:0}
.notice{background:#f4f6f1;border-radius:8px;padding:14px}
.wide{width:100%}
.card-image{display:flex;justify-content:space-between;align-items:flex-start}
.card-badge{position:relative;z-index:1}
.group-title{font:800 18px var(--display);margin:30px 0 14px}
.group-title span{color:var(--muted);font-weight:600;font-size:14px;margin-left:4px}
.section-head .head-actions{display:flex;gap:10px}
.row-actions{white-space:nowrap;text-align:right}
.row-actions .link-button+.link-button{margin-left:14px}
.link-button.danger{color:#a44838}
.status.live,.status.ready{background:#e8f4df;color:#51794c}
.status.scheduled{background:#e5ecf6;color:#44628a}
.status.paused{background:#f6e9df;color:#a27250}
.status.ended,.status.redeemed{background:#eceeea;color:#69736b}
.status.draft{background:#efe8f5;color:#6e5689}
.alert{border-radius:8px;padding:12px 14px;font-size:14px}
.alert.error{background:#fbeae6;color:#8d3b2f}
.alert.warn{background:#fdf3dd;color:#7a5814}
.alert.success{background:#e8f4df;color:#2f5b2f;font-weight:700}
.claim-card{border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:20px}
.claim-card.blocked{background:#fafaf8}
.claim-card h3{font:800 20px var(--display);margin:12px 0 4px}
.claim-head{display:flex;justify-content:space-between;align-items:center}
.claim-head code{letter-spacing:1px;font-size:13px}
.button-row{display:flex;gap:10px}
.search-row select{width:auto;min-width:160px}
table code{font-size:12px}
@media(max-width:750px){.form-row{grid-template-columns:1fr}.search-row{flex-wrap:wrap}.search-row select{width:100%}.section-head .head-actions{margin-top:14px}.stats{grid-template-columns:1fr 1fr}.header-actions #account-button{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---- location and maps */
.locate-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:-6px 0 8px}
.locate-bar #locate.active{background:#eef5fd;border-color:#b9cfee;color:#2b5a9a}
.place-form{display:flex;gap:8px;flex:1;min-width:240px;max-width:420px}
.place-form input{padding:9px 12px}
.locate-bar select{width:auto;padding:9px 12px}
.locate-bar select:disabled{opacity:.55}
.view-toggle{display:flex;gap:6px;margin-left:auto}
.view-toggle .chip{padding:8px 16px}
.locate-status{color:var(--muted);font-size:12px;margin:0 0 16px;line-height:1.5}
.locate-status .link-button{font-size:12px}
.geo-error{color:#a44838}
.here-banner{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#e8f4df;border:1px solid #cfe3bf;border-radius:12px;padding:14px 18px;margin-bottom:18px;font-size:14px;color:#3f5b45}
.here-banner>div:nth-child(2){flex:1;min-width:200px}
.here-banner strong{display:block;font:800 17px var(--display);color:var(--ink);margin-bottom:2px}
.here-banner.near{background:#fff;border-color:var(--line)}
.here-icon{font-size:24px}
.here-banner .button-row{flex-wrap:wrap}
.here-banner a.outline,.here-banner .small{padding:9px 14px;font-size:13px}
.card.here{border-color:#9cc36b;box-shadow:0 0 0 2px #d8ed90}
.status.here{background:var(--green);color:#fff;margin-right:6px}
.card-meta .distance{color:var(--green)}
.offer-map{height:min(62vh,560px);border-radius:13px;border:1px solid var(--line);overflow:hidden;isolation:isolate;background:#e8ece4}
.mini-map{height:190px;border-radius:10px;border:1px solid var(--line);overflow:hidden;isolation:isolate;margin:10px 0;background:#e8ece4}
.pick-map{height:260px;cursor:crosshair}
.leaflet-container{font-family:var(--sans)}
.map-pin{background:none;border:0}
.map-pin span{display:grid;place-items:center;width:34px;height:34px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--green);border:2px solid #fff;box-shadow:0 3px 8px #1b302455;color:#fff;font:800 13px var(--sans)}
.map-pin b{transform:rotate(45deg);font-weight:800}
.map-popup{min-width:180px;font-size:13px}
.map-popup p{margin:4px 0}
.map-popup ul{list-style:none;padding:0;margin:8px 0}
.map-popup li{margin:5px 0}
.map-popup .discount{background:var(--lime);color:var(--green);font-weight:800;border-radius:5px;padding:1px 6px;font-size:11px}
.sub-title{font:800 16px var(--display);margin:22px 0 4px}
.store-list{list-style:none;padding:0;margin:8px 0 18px;display:grid;gap:8px}
.store-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:11px 14px;font-size:13px}
.store-list li span{display:block;color:#78847a;font-size:12px;margin-top:2px}
.store-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}
.store-actions span{margin:0!important}
.inline-input{display:flex;gap:8px;margin-top:-7px}
.geo-results{display:grid;gap:6px}
.geo-results:empty{display:none}
.geo-results p{margin:0}
.geo-result{text-align:left;border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 12px;font-size:13px;color:var(--ink)}
.geo-result:hover{background:#f1f6ea}
.pin-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-top:-6px}
.pin-row .fine-print{margin:0}
@media(max-width:750px){.view-toggle{margin-left:0}.place-form{max-width:none;min-width:100%}.offer-map{height:60vh}.pin-row{flex-direction:column}}
.inline-input input{font-weight:700;font-size:12px}

/* ---- redeeming: Use now and the live used screen */
.use-box{margin-top:18px}
.button.big{padding:16px 20px;font-size:16px}
.use-confirm{margin-top:12px}
.use-confirm strong{display:block;font-size:15px}
.modal .use-confirm p{color:inherit;margin:6px 0 12px}
.used-screen{position:relative;overflow:hidden;background:#2f7d3f;color:#fff;border-radius:14px;padding:30px 20px 22px;text-align:center;margin:18px 0 8px}
.used-band{position:absolute;inset:0 0 auto 0;height:12px;background:repeating-linear-gradient(90deg,#d8ed90 0 24px,#2f7d3f 24px 48px);background-size:96px 12px;animation:used-band 1.2s linear infinite}
@keyframes used-band{to{background-position:96px 0}}
.used-mark{font-size:48px;line-height:1;animation:used-pulse 1.6s ease-in-out infinite}
@keyframes used-pulse{50%{transform:scale(1.15)}}
.used-title{display:block;font:800 24px var(--display);letter-spacing:1px;margin-top:6px}
.used-clock{font:800 42px var(--display);font-variant-numeric:tabular-nums;margin:8px 0;letter-spacing:-1px}
.modal .used-screen p{color:#e6f4da;margin:8px 0 0}
.modal .used-screen .used-offer{color:#fff;font-weight:700;font-size:15px}
.used-screen code{color:#fff;letter-spacing:1px}
/* Motion is the proof the screen is live, so reduced-motion slows it down rather than stopping it. */
@media(prefers-reduced-motion:reduce){.used-band{animation-duration:6s}.used-mark{animation:none}}
.use-near{font-weight:700;color:#2f5b2f;margin:0 0 8px!important}

/* ---- business icons */
.card-icon{position:absolute;right:18px;bottom:16px;width:56px;height:56px;border-radius:14px;box-shadow:0 6px 14px #33443322;z-index:1}
.offer-head{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.biz-icon{width:44px;height:44px;border-radius:12px;flex:none}
.biz-icon.small{width:34px;height:34px;border-radius:9px}
.biz-cell{display:flex;align-items:center;gap:12px}
.biz-cell .muted{display:block}
.icon-pick{display:flex;align-items:center;gap:10px}
.icon-pick img{border-radius:10px;flex:none}
@media(max-width:750px){.card-icon{width:44px;height:44px;right:14px;bottom:12px}}

/* ---- compact offer cards: store first, no banner */
.grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.card{padding:14px 16px;gap:8px}
.card-head{display:flex;align-items:center;gap:10px;min-width:0}
.card .card-icon{position:static;width:40px;height:40px;border-radius:10px;box-shadow:none;flex:none}
.card-store{min-width:0;flex:1;line-height:1.25}
.card-store strong{display:block;font:800 15px var(--display);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-store span{display:block;font-size:12px;color:#829086;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-store .distance{color:var(--green);font-weight:700}
.card-head .card-badge{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.card-head .status{margin:0;white-space:nowrap}
.card h3{font:800 16px var(--display);letter-spacing:-.3px;margin:2px 0 0;line-height:1.3}
.card .facts{margin:0}
.card .card-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;line-height:1.45}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;border-top:1px solid #eef1ec}
.card-date{font-size:12px;color:#829086}
.card .card-foot .button,.card .card-foot .outline{width:auto;margin:0;padding:8px 14px;font-size:12px;white-space:nowrap}
@media(max-width:750px){.grid{grid-template-columns:1fr 1fr;gap:10px}.card{padding:12px}.card .card-icon{width:34px;height:34px}}
@media(max-width:460px){.grid{grid-template-columns:1fr}}
