:root{--wine:#70283e;--wine-dark:#572033;--ink:#2c2530;--muted:#8d8289;--line:#eee8e9;--bg:#faf8f7;--green:#3a8065;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--app-width:480px}
*{box-sizing:border-box}body{margin:0;background:#eee9e7;color:var(--ink);font:14px var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer;border:0;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #ba8d9d;outline-offset:3px}button:active{transform:scale(.98)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.25;font-weight:700;letter-spacing:-1px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:13px}button{transition:background .16s,transform .16s}.app-shell{position:relative;max-width:var(--app-width);min-height:100dvh;margin:0 auto;background:var(--bg);box-shadow:0 0 70px #38212c0b}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;background:#faf8f7f5;backdrop-filter:blur(16px);padding:calc(17px + env(safe-area-inset-top)) 24px 15px;border-bottom:1px solid var(--line)}.app-brand{display:flex;align-items:center;gap:15px}.wordmark{font:bold 33px Georgia,serif;letter-spacing:-3px;color:var(--wine)}.brand-label{font-size:9px;letter-spacing:2.6px;font-weight:650;color:#98848a;border-left:1px solid #d9c9ce;padding:5px 0 5px 15px}.header-actions{display:flex;align-items:center;gap:12px}.icon-button{background:transparent;color:var(--wine);min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px}.avatar{width:42px;height:42px;background:#ecdee2;color:var(--wine);border:3px solid white;border-radius:50%;font-size:12px;font-weight:700}.main{padding:0 0 calc(100px + env(safe-area-inset-bottom))}.outlet-bar{display:flex;align-items:center;gap:6px;margin:18px 24px 0;font-size:11px;color:#7d6a73}.outlet-bar svg{width:14px;height:14px}.outlet-role{margin-left:auto;padding:5px 8px;border-radius:6px;background:#efe7e8;font-size:9px;font-weight:600;color:var(--wine)}.content{padding:25px 24px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;text-transform:uppercase;color:var(--muted);margin-bottom:10px}.heading-copy{font-size:13px;color:var(--muted);line-height:1.6;margin-top:8px}.greeting-dot{color:var(--wine)}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--app-width);z-index:30;background:#fffc;backdrop-filter:blur(20px);border-top:1px solid #eee5e8;display:flex;justify-content:space-around;padding:9px 20px calc(12px + env(safe-area-inset-bottom));gap:12px}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;color:#a2939b;font-size:10px;font-weight:600;min-height:49px;border-radius:14px}.bottom-nav button.active{background:#f3e9ed;color:var(--wine)}.bottom-nav svg{width:22px;height:22px}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#722b41,#552036);border-radius:23px;padding:27px 24px 22px;color:#fff;margin-bottom:28px}.hero:after{content:'';position:absolute;width:220px;height:220px;right:-110px;top:-50px;border:1px solid #ffffff16;box-shadow:0 0 0 27px #ffffff06,0 0 0 55px #ffffff04;border-radius:50%;pointer-events:none}.hero-icon{position:absolute;right:25px;top:46px;width:65px;height:65px;transform:rotate(10deg);display:grid;place-items:center;border:1px solid #ffffff30;border-radius:20px;background:#ffffff0c}.hero-icon svg{width:34px;height:34px}.hero-eyebrow{font-size:8px;letter-spacing:1.7px;color:#dbc1ca;margin-bottom:13px;position:relative;z-index:1}.hero h2{font-size:29px;font-weight:650;line-height:1.17;letter-spacing:-.8px;position:relative;z-index:1}.hero p{font-size:11px;line-height:1.7;color:#dfc5ce;margin:12px 0 23px;max-width:240px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:51px;padding:14px 18px;border-radius:13px;background:var(--wine);color:#fff;font-size:13px;font-weight:650}.primary:hover{background:var(--wine-dark)}.primary svg{width:19px;height:19px}.hero .primary{background:#fff8f5;color:var(--wine);position:relative;z-index:1}.hero .primary svg:last-child{margin-left:auto}.full{width:100%}.section-label{font-size:13px;font-weight:650;display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.live-dot{font-size:9px;font-weight:500;color:#8b7a81;display:flex;align-items:center;gap:5px}.live-dot:before{content:'';width:5px;height:5px;border-radius:50%;background:#789780}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:27px}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px 9px 13px;display:flex;flex-direction:column;gap:8px;min-width:0}.stat-icon{color:#9f6377;background:#f6edf0;width:29px;height:29px;border-radius:9px;display:grid;place-items:center;margin-bottom:1px}.stat-icon svg{width:15px;height:15px}.stat:nth-child(2) .stat-icon{background:#edf3ee;color:#6f9276}.stat:nth-child(3) .stat-icon{background:#f7f0e5;color:#ad9364}.stat strong{font-size:24px;letter-spacing:-1px}.stat>span:last-child{font-size:9px;color:var(--muted);white-space:nowrap}.panel{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:18px 16px 6px;gap:8px}.panel-header h2{font-size:14px;letter-spacing:-.3px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:none;color:var(--wine);font-size:11px;font-weight:650;min-height:44px;padding:7px 0}.text-button svg{width:14px;height:14px}.redemption-item{display:flex;align-items:flex-start;gap:11px;margin:0 15px;padding:17px 0;border-bottom:1px solid #f2ecee}.redemption-item:last-child{border:0}.ticket-icon{display:grid;place-items:center;width:36px;height:39px;border-radius:11px;background:#f7eff1;color:#a57484;flex-shrink:0}.ticket-icon svg{width:18px;height:18px}.redemption-info{flex:1;min-width:0}.redemption-info h3{font-size:12px;font-weight:650;line-height:1.5}.redemption-info p{font-size:10px;color:#8a7b83;margin-top:4px;line-height:1.6}.redemption-info p span{color:#b2a5ab}.record-meta{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:9px;color:#a2969c;margin-top:9px}.status{display:inline-flex;align-items:center;gap:4px;background:#eff6f0;color:#54856a;padding:4px 6px;font-size:8px;border-radius:5px;white-space:nowrap}.status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.demo-label{font-size:9px;color:#b4a7ad;text-align:center;margin:23px 0 5px}.history-tools{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:15px}.history-tools select{width:auto;justify-self:start;padding:10px 13px;font-size:12px!important;min-height:40px}.input{width:100%;min-width:0;border:1px solid #e6dce0;border-radius:12px;background:#fff;padding:14px;color:var(--ink);font-size:16px;outline:none}.input:focus{border-color:#a87286;box-shadow:0 0 0 3px #70283e0c}.filter-count{font-size:10px;color:var(--muted);margin-bottom:10px}.export-button{flex-direction:column;font-size:9px;gap:3px}.export-button svg{transform:rotate(-90deg);width:18px;height:18px}.empty{padding:45px 15px;text-align:center;color:#8d7b84;line-height:1.8;font-size:13px}.empty span{font-size:11px;color:#b2a6ab}.redeem-card{text-align:center;padding:28px 22px 15px;background:#fff;border:1px solid var(--line);border-radius:23px}.scanner-illustration{width:150px;height:150px;border:1px solid #e5d4db;background:radial-gradient(#f0e1e7,#faf7f8);border-radius:36px;margin:5px auto 26px;display:grid;place-items:center;color:var(--wine)}.scanner-illustration svg{width:76px;height:76px;stroke-width:1}.redeem-card h2{font-size:24px}.redeem-card p{font-size:12px;color:var(--muted);line-height:1.8;margin:13px auto 25px;max-width:280px}.redeem-card .text-button{margin-top:7px}.tip-card{display:flex;gap:12px;padding:20px 7px;color:#a18c96}.tip-card svg{width:19px;height:19px}.tip-card p{font-size:10px;line-height:1.9;color:#9c8d95}
/* App dialogs are bottom sheets on every screen size. */
.modal-backdrop{position:fixed;inset:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;background:#24151b66;backdrop-filter:blur(5px);padding-top:max(25px,env(safe-area-inset-top))}.modal{background:#fff;width:100%;max-width:var(--app-width);max-height:94dvh;overflow:auto;border-radius:25px 25px 0 0;padding:25px 24px calc(27px + env(safe-area-inset-bottom));box-shadow:0 -10px 60px #22111b22}.modal:before{content:'';display:block;width:34px;height:4px;background:#e6dce0;border-radius:5px;margin:-12px auto 22px}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.modal h2{font-size:21px;letter-spacing:-.6px}.close{background:#f6f1f3;color:#8f7b85;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.close svg{width:18px;height:18px}.modal-description{font-size:12px;color:var(--muted);line-height:1.9;margin:10px 0 20px}.camera-box{background:#f5f1f2;border-radius:18px;height:220px;position:relative;overflow:hidden;display:grid;place-items:center}.camera-box video{position:absolute;width:100%;height:100%;object-fit:cover}.scan-frame{width:155px;height:155px;border:2px solid #a37a8a;border-radius:20px;position:relative;display:grid;place-items:center;color:#a37a8a}.scan-frame>svg{width:55px;height:55px;opacity:.5}.scan-line{position:absolute;top:50%;left:12px;right:12px;background:#a37a8a;height:1px;animation:scanning 3s infinite ease-in-out}.camera-caption{font-size:10px;color:var(--muted);text-align:center;line-height:1.7;margin:13px 0 18px}.divider{display:flex;gap:12px;align-items:center;color:#aa9ca3;font-size:10px;margin:22px 0}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.input-row{display:flex;gap:8px}.secondary{min-height:48px;padding:12px 16px;background:#f3edef;color:var(--wine);border-radius:12px;font-size:12px;font-weight:600}.error{color:#a53e43;background:#fdf0ee;border-radius:10px;padding:13px;font-size:12px;line-height:1.7;margin:12px 0}.hidden{display:none!important}.demo-codes{font-size:10px;color:#a18d98;line-height:1.7;margin-top:18px}.demo-codes button{background:none;color:var(--wine);font-size:10px;padding:12px 3px;text-decoration:underline}.voucher-detail{border:1px solid var(--line);border-radius:17px;background:#fcfaf9;padding:20px;margin:20px 0}.voucher-detail h3{font-size:21px;margin-bottom:10px}.voucher-detail>p{font-size:12px;color:#8f7d86;line-height:1.8}.detail-row{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#9c8b94;margin-top:19px}.detail-row strong{color:#59434e;font-weight:550;text-align:right;overflow-wrap:anywhere}.confirm-copy{text-align:center;font-size:15px;line-height:1.7;margin:25px 0}.button-row{display:flex;gap:9px}.button-row>*{flex:1}.success{text-align:center}.success-icon{width:75px;height:75px;background:#eaf4ee;color:#4b8967;border-radius:50%;display:grid;place-items:center;margin:15px auto 25px}.success-icon svg{width:35px;height:35px}.success p{font-size:12px;line-height:1.9;color:var(--muted);margin:15px 0 23px}.success .receipt{font-size:10px;color:#a1949a;margin-bottom:25px}#toast{position:fixed;bottom:calc(95px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,100px);max-width:calc(100% - 32px);width:max-content;background:#3b2c32;color:#fff;padding:14px 20px;border-radius:13px;font-size:12px;line-height:1.6;z-index:100;opacity:0;pointer-events:none;transition:.25s}#toast.show{opacity:1;transform:translate(-50%,0)}
.login-page{max-width:var(--app-width);margin:auto;min-height:100dvh;background:var(--bg)}.login-story{display:none}.login-form-wrap{padding:calc(45px + env(safe-area-inset-top)) 29px 35px}.login-form{width:100%}.login-form:before{content:'2013';display:block;font:bold 55px Georgia,serif;color:var(--wine);letter-spacing:-5px;margin-bottom:55px}.login-form h2{font-size:30px;letter-spacing:-1px}.login-form .sub{font-size:13px;line-height:1.8;color:var(--muted);margin:13px 0 30px}.field{margin-bottom:21px}.login-demo{padding:18px;background:#f0e7e9;border-radius:14px;font-size:11px;color:#87737d;line-height:1.9;margin-top:25px}.demo-enter{background:none;padding:12px 0 0;color:var(--wine);font-size:11px;font-weight:600;min-height:44px}.small-secondary{font-size:10px;color:#a19aa0;margin-top:5px}@keyframes scanning{0%,100%{transform:translateY(-45px)}50%{transform:translateY(45px)}}@media(min-width:600px){.app-shell,.login-page{border-left:1px solid #e5dbdf;border-right:1px solid #e5dbdf}}@media(max-width:360px){.content{padding-left:18px;padding-right:18px}.app-header{padding-left:18px;padding-right:18px}.outlet-bar{margin-left:18px;margin-right:18px}h1{font-size:24px}.hero{padding:25px 20px 20px}.hero h2{font-size:27px}.hero-icon{right:20px;opacity:.5}.stat>span:last-child{font-size:8px}.record-meta{font-size:8px}.modal{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
