
body{background:radial-gradient(circle at top right,#eef5d8 0,transparent 34%),linear-gradient(180deg,#f8f7ef 0%,#f1f4ea 100%);color:#183a2a}.app{width:min(100%,720px);padding-left:20px;padding-right:20px}.topbar{padding:30px 4px 20px}.topbar h1{letter-spacing:-.02em}.points-card{border-radius:30px;padding:26px 24px;box-shadow:0 16px 40px rgba(23,63,42,.16)}.scan-button{border-radius:16px;padding:14px 20px;box-shadow:none}.notice-card,.membership-card,.history-section{border-radius:26px;border-color:rgba(49,94,65,.14);box-shadow:0 10px 30px rgba(29,58,40,.055)}.membership-card{padding:24px}.rewards-section,.history-section{margin-top:28px}.reward-rail{gap:14px}.reward-card{border-radius:22px;border-color:rgba(49,94,65,.14);box-shadow:0 8px 24px rgba(29,58,40,.045)}.expiry-priority-note{margin:4px 0 14px;color:#c33a32;font-size:.73rem;font-weight:800;line-height:1.45}.expiry-buckets{gap:12px}.expiry-bucket{padding:15px 16px;border-radius:16px;background:#eef6ef;border-left:4px solid var(--leaf)}.section-heading h2{letter-spacing:-.01em}.primary-button{border-radius:15px;min-height:48px}@media(max-width:520px){.app{padding-left:14px;padding-right:14px}.topbar{padding-top:22px}.points-card{padding:22px 18px}.points-card strong{font-size:3rem}.notice-card,.membership-card,.history-section{padding:19px}.reward-rail{grid-auto-columns:minmax(175px,78%)}}

.tier-badge{border:0;cursor:pointer}.expiry-priority-note{margin:10px 6px 2px;color:#c9342f;font-size:.72rem;font-weight:800}.membership-dialog form{width:min(92vw,620px);max-height:88vh;overflow-y:auto}.membership-back{border:0;background:transparent;color:var(--leaf);font-weight:900;padding:2px 0 14px;cursor:pointer}.membership-current{background:var(--forest);color:#fff;border-radius:14px;padding:12px 14px;font-weight:900}.membership-levels{display:grid;gap:12px;margin:16px 0}.membership-level{border:1.5px solid var(--line);border-radius:18px;padding:16px;background:var(--paper)}.membership-level.current{border-color:var(--leaf);box-shadow:0 0 0 3px rgba(44,107,67,.12)}.membership-level.earned{background:#edf5ea}.membership-level-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.membership-level h3{margin:0;font-size:1.3rem}.membership-level strong{font-size:.76rem;color:var(--leaf)}.membership-level ul{margin:10px 0 0;padding-left:20px;color:var(--muted);line-height:1.65}

:root{--forest:#173f2a;--leaf:#2c6b43;--lime:#ddec7a;--cream:#f5f2e8;--paper:#fffdf7;--ink:#193126;--muted:#718078;--line:#dce5dc;--danger:#b23a32;--bronze:#a96832;--silver:#71808f;font-family:"Noto Sans Thai","Leelawadee UI",Tahoma,sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 95% 0,#e3efb2 0,transparent 34%),var(--cream)}button,input{font:inherit}.hidden{display:none!important}.loading-screen{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--forest)}.seed-loader{width:42px;height:42px;margin:auto;border:4px solid #cfd8c7;border-top-color:var(--leaf);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Bouncy water-drop loader */
body .loading-screen{position:relative;overflow:hidden;gap:20px;background:radial-gradient(circle at 50% 34%,rgba(120,221,176,.18),transparent 25%),linear-gradient(180deg,#f7fbf6,#edf6ef)}
body .loading-screen:before,body .loading-screen:after{content:"";position:absolute;border-radius:50%;background:rgba(64,172,119,.07);animation:floatBubble 3.2s ease-in-out infinite}
body .loading-screen:before{width:110px;height:110px;left:-38px;top:18%}body .loading-screen:after{width:150px;height:150px;right:-65px;bottom:12%;animation-delay:-1.4s}
body .seed-loader{position:relative;width:48px;height:56px;margin:0 auto 10px;border:0;border-radius:58% 42% 64% 36% / 70% 43% 57% 30%;background:linear-gradient(145deg,#8ef1c1 0%,#22aa70 58%,#0b7048 100%);box-shadow:0 17px 25px rgba(19,112,70,.2),inset 7px 7px 12px rgba(255,255,255,.28);transform:rotate(45deg);animation:dropBounce 1.15s cubic-bezier(.55,.08,.42,1) infinite}
body .seed-loader:before{content:"";position:absolute;left:11px;top:9px;width:12px;height:19px;border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.12));transform:rotate(-20deg)}
body .seed-loader:after{content:"";position:absolute;left:50%;top:72px;width:64px;height:12px;border:2px solid rgba(28,130,79,.23);border-radius:50%;transform:translateX(-50%) rotate(-45deg);animation:ripple 1.15s ease-out infinite}
body .loading-screen p{position:relative;z-index:2;margin:0;color:#164a32;font-size:.96rem;font-weight:600;letter-spacing:.01em;animation:loadingText 1.8s ease-in-out infinite}
@keyframes dropBounce{0%,100%{transform:translateY(-8px) rotate(45deg) scale(1)}45%{transform:translateY(11px) rotate(45deg) scaleX(1.06) scaleY(.9)}62%{transform:translateY(2px) rotate(45deg) scaleX(.94) scaleY(1.07)}}
@keyframes ripple{0%,38%{opacity:0;transform:translateX(-50%) rotate(-45deg) scale(.45)}62%{opacity:.7}100%{opacity:0;transform:translateX(-50%) rotate(-45deg) scale(1.25)}}
@keyframes floatBubble{50%{transform:translateY(-18px) scale(1.08)}}@keyframes loadingText{50%{opacity:.62}}
@media(prefers-reduced-motion:reduce){body .seed-loader,body .seed-loader:after,body .loading-screen:before,body .loading-screen:after,body .loading-screen p{animation:none}}
/* Cute cartoon droplet */
body .seed-loader{width:66px;height:72px;margin:0 auto 15px;border:3px solid rgba(9,96,60,.16);border-radius:52% 48% 50% 50% / 66% 64% 36% 34%;background:linear-gradient(145deg,#a9f6d1 3%,#43cf8a 50%,#159360 100%);box-shadow:0 18px 28px rgba(15,117,72,.22),inset 8px 8px 14px rgba(255,255,255,.33);transform:none;animation:cartoonBounce 1.25s cubic-bezier(.45,.05,.4,1) infinite}
body .seed-loader:before{content:"";z-index:1;left:14px;top:10px;width:14px;height:20px;border-radius:50%;background:rgba(255,255,255,.78);transform:rotate(18deg)}
body .seed-loader:after{content:"";z-index:-1;left:50%;top:-8px;width:25px;height:25px;border:3px solid rgba(9,96,60,.11);border-right:0;border-bottom:0;border-radius:8px 2px 8px 2px;background:#9cf0c8;transform:translateX(-50%) rotate(45deg);animation:none}
body .drop-face{position:absolute;z-index:3;left:50%;top:31px;display:grid;grid-template-columns:9px 9px;column-gap:14px;row-gap:6px;transform:translateX(-50%)}
body .drop-face i{display:block;width:9px;height:11px;border-radius:50%;background:#164a35;box-shadow:inset 2px 2px rgba(255,255,255,.22);animation:dropBlink 2.8s ease-in-out infinite}
body .drop-face b{grid-column:1/3;justify-self:center;width:17px;height:9px;border:3px solid #164a35;border-top:0;border-left-color:transparent;border-right-color:transparent;border-radius:0 0 16px 16px}
body .loading-screen p:before{content:"";position:absolute;left:50%;top:-32px;width:72px;height:12px;border-radius:50%;background:rgba(13,100,61,.13);transform:translateX(-50%);animation:cartoonShadow 1.25s ease-in-out infinite}
@keyframes cartoonBounce{0%,100%{transform:translateY(-10px) scale(1)}45%{transform:translateY(9px) scaleX(1.08) scaleY(.9)}62%{transform:translateY(0) scaleX(.95) scaleY(1.06)}}
@keyframes cartoonShadow{0%,100%{opacity:.45;transform:translateX(-50%) scale(.72)}45%{opacity:.9;transform:translateX(-50%) scale(1)}}
@keyframes dropBlink{0%,44%,50%,100%{transform:scaleY(1)}47%{transform:scaleY(.12)}}
@media(prefers-reduced-motion:reduce){body .seed-loader,body .drop-face i,body .loading-screen p:before{animation:none}}
/* Restore smooth water drop */
body .drop-face{display:none!important}body .loading-screen p:before{display:none!important}
body .seed-loader{position:relative;width:48px;height:56px;margin:0 auto 10px;border:0;border-radius:58% 42% 64% 36% / 70% 43% 57% 30%;background:linear-gradient(145deg,#8ef1c1 0%,#22aa70 58%,#0b7048 100%);box-shadow:0 17px 25px rgba(19,112,70,.2),inset 7px 7px 12px rgba(255,255,255,.28);transform:rotate(45deg);animation:dropBounce 1.15s cubic-bezier(.55,.08,.42,1) infinite}
body .seed-loader:before{content:"";display:block;position:absolute;left:11px;top:9px;width:12px;height:19px;border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.12));transform:rotate(-20deg)}
body .seed-loader:after{content:"";display:block;position:absolute;z-index:0;left:50%;top:72px;width:64px;height:12px;border:2px solid rgba(28,130,79,.23);border-radius:50%;background:transparent;transform:translateX(-50%) rotate(-45deg);animation:ripple 1.15s ease-out infinite}



.app{width:min(100%,760px);margin:auto;min-height:100vh;padding:env(safe-area-inset-top) 18px calc(36px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;padding:24px 2px 18px}.eyebrow{margin:0 0 3px;font-size:.69rem;font-weight:900;letter-spacing:.15em;color:var(--leaf)}h1,h2,p{margin-top:0}.topbar h1{font-size:1.65rem;margin:0}.tier-badge{background:var(--forest);color:white;border-radius:999px;padding:8px 12px;font-size:.76rem;font-weight:900;letter-spacing:.08em}.screen{display:block}.notice-card,.membership-card,.history-section{background:rgba(255,253,247,.96);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 18px 40px rgba(29,58,40,.07)}.notice-card{margin-top:14px}.notice-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--lime);font-weight:900;font-size:1.3rem}
/* GEN-Y welcome and privacy branding */
body #friendScreen .notice-card{position:relative;overflow:hidden;padding:34px;background:radial-gradient(circle at 100% 0,rgba(6,199,85,.12),transparent 34%),linear-gradient(145deg,#ffffff,#f5fbf5);border:1px solid rgba(18,104,58,.13);box-shadow:0 24px 65px rgba(16,74,43,.13)}
body #friendScreen .notice-card:after{content:"";position:absolute;right:-55px;bottom:-65px;width:170px;height:170px;border:24px solid rgba(6,199,85,.06);border-radius:50%;pointer-events:none}
body #friendScreen h2{max-width:570px;margin:17px 0 12px;font-size:1.7rem;line-height:1.35;letter-spacing:-.035em;color:#103d29}
body #friendScreen .notice-card>p:not(.eyebrow){max-width:620px;margin-bottom:25px;line-height:1.75;color:#496057}
body #friendScreen .primary-button{position:relative;z-index:1;min-height:52px;margin-top:11px;border:1px solid transparent;border-radius:16px;transition:transform .16s ease,box-shadow .16s ease}
body #addFriendButton{background:linear-gradient(135deg,#06c755,#00a947);color:#fff;box-shadow:0 12px 25px rgba(6,199,85,.24)}
body #addFriendButton:before{content:"＋";display:inline-grid;place-items:center;width:22px;height:22px;margin-right:8px;border-radius:50%;background:rgba(255,255,255,.2)}
body #friendContinueButton{background:#fff;color:#1e6240;border-color:#b9d9c5!important;box-shadow:0 8px 20px rgba(25,79,48,.08)}
body #friendContinueButton:after{content:"  →";color:#279457}
body #friendScreen .primary-button:active{transform:scale(.985)}
.line-logo-icon{position:relative;display:grid;place-items:center;width:68px;height:68px;border-radius:19px;background:#06c755;box-shadow:0 13px 28px rgba(6,199,85,.25),inset 0 1px rgba(255,255,255,.3)}
.line-logo-icon:before{content:"";position:absolute;width:49px;height:37px;border-radius:50%;background:#fff}
.line-logo-icon:after{content:"";position:absolute;left:35px;top:43px;width:13px;height:13px;background:#fff;clip-path:polygon(0 0,100% 0,15% 100%);transform:rotate(8deg)}
.line-logo-icon span{position:relative;z-index:2;color:#06c755;font-family:Arial,sans-serif;font-size:14px;font-weight:900;letter-spacing:-1px}
/* Unified typography + registration form */
html body,body button,body input,body select,body textarea{font-family:"IBM Plex Sans Thai","Noto Sans Thai","Leelawadee UI",sans-serif}
body{font-weight:400}body h1,body h2,body h3,body strong,body .field-label{font-family:inherit}
body #registrationScreen{padding:4px 0 24px}
body .registration-card{position:relative;overflow:hidden;width:100%;padding:34px;background:radial-gradient(circle at 100% 0,rgba(223,241,110,.18),transparent 26%),linear-gradient(150deg,#ffffff 0%,#f8fbf7 100%);border:1px solid rgba(26,101,59,.13);border-radius:30px;box-shadow:0 24px 65px rgba(18,73,43,.12)}
body .registration-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:6px;background:linear-gradient(90deg,#0f5a38,#50b46e,#ddec63)}
body .registration-card>.eyebrow{display:inline-flex;margin-bottom:8px;padding:6px 10px;border-radius:999px;background:#eaf5e8;color:#2f7950;font-size:.66rem;letter-spacing:.14em}
body #registrationTitle{margin:0 0 28px;font-size:1.75rem;line-height:1.3;letter-spacing:-.04em;color:#103a29}
body .registration-card .form-grid{display:grid;gap:18px}
body .registration-card .two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
body .registration-card .field-label{margin:17px 0 8px;color:#254737;font-size:.87rem;font-weight:600;line-height:1.45}
body .registration-card .form-grid .field-label{margin-top:0}
body .registration-card .required-mark{color:#dc3d38;font-weight:700}
body .registration-card .text-input,body .registration-card select,body .registration-card textarea{min-height:54px;padding:13px 15px;border:1.5px solid #c8d8ce;border-radius:15px;background:#fff;color:#173b2b;font-size:1rem;font-weight:400;box-shadow:0 5px 14px rgba(31,79,49,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body .registration-card .text-input::placeholder,body .registration-card textarea::placeholder{color:#95a49c}
body .registration-card .text-input:focus,body .registration-card select:focus,body .registration-card textarea:focus{border-color:#3b9961;box-shadow:0 0 0 4px rgba(57,154,96,.12),0 8px 18px rgba(31,93,55,.07);transform:translateY(-1px)}
body .registration-card .readonly-input{background:#f1f5f1;color:#62766b;border-color:#d6e0d8;box-shadow:none}
body .registration-card .form-section-title{display:flex;align-items:center;gap:10px;margin:32px 0 5px;padding-top:27px;border-top:1px solid #dce7df;color:#123e2b;font-size:1.24rem;font-weight:700;letter-spacing:-.025em}
body .registration-card .form-section-title:before{content:"";flex:none;width:10px;height:28px;border-radius:99px;background:linear-gradient(180deg,#37a364,#cfe961);box-shadow:0 5px 12px rgba(46,134,78,.18)}
body .registration-card #registerError{margin-top:15px}
body .registration-card #registerButton{min-height:54px;margin-top:20px;border-radius:16px;background:linear-gradient(135deg,#174f34,#267c50);box-shadow:0 13px 28px rgba(18,82,47,.22);font-size:1rem;font-weight:600}
body .registration-card #registerButton:active{transform:scale(.987)}
@media(max-width:520px){body .registration-card{padding:27px 18px;border-radius:25px}body #registrationTitle{margin-bottom:23px;font-size:1.5rem}body .registration-card .two-columns{grid-template-columns:1fr;gap:0}body .registration-card .form-grid{gap:0}body .registration-card .field-label{margin-top:15px}body .registration-card .form-grid .field-label{margin-top:15px}body .registration-card .form-grid>div:first-child .field-label{margin-top:0}body .registration-card .text-input,body .registration-card select,body .registration-card textarea{min-height:52px;font-size:16px}body .registration-card .form-section-title{margin-top:29px;padding-top:24px;font-size:1.16rem}}

body .geny-logo{display:block;width:72px;height:72px;padding:7px;border-radius:20px;background:#fff;object-fit:contain;box-shadow:0 13px 30px rgba(26,75,45,.14);border:1px solid rgba(32,94,57,.1)}
body #privacyScreen .notice-card{padding:32px;background:radial-gradient(circle at 100% 0,rgba(220,239,116,.18),transparent 31%),linear-gradient(145deg,#fff,#f7faf5)}
body #privacyScreen h2{margin-top:15px;font-size:1.72rem;line-height:1.38;letter-spacing:-.035em;color:#103d29}
@media(max-width:520px){body #friendScreen .notice-card,body #privacyScreen .notice-card{padding:24px 19px;border-radius:25px}body #friendScreen h2,body #privacyScreen h2{font-size:1.42rem}body #friendScreen .notice-card>p:not(.eyebrow){font-size:.92rem;line-height:1.7}.line-logo-icon{width:62px;height:62px;border-radius:18px}.line-logo-icon:before{width:45px;height:34px}.line-logo-icon:after{left:32px;top:39px}body .geny-logo{width:64px;height:64px;border-radius:18px}}
.notice-card h2{font-size:1.65rem;margin-bottom:12px}.notice-card>p{line-height:1.65;color:#506158}.notice-card details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin:18px 0}.notice-card summary{font-weight:800;cursor:pointer}.details-copy{padding-top:12px;font-size:.9rem;line-height:1.55}.details-copy{max-height:52vh;overflow-y:auto;padding-right:8px;color:#40564a;scrollbar-width:thin}.details-copy h3{margin:20px 0 7px;color:#17482f;font-size:.96rem;line-height:1.45}.details-copy h3:first-child{margin-top:6px}.details-copy p{margin:0 0 11px;line-height:1.65}.details-copy ul{margin:5px 0 13px;padding-left:22px}.details-copy li{margin:0 0 7px;line-height:1.58}.notice-card details[open]{padding-bottom:15px}.notice-card details[open] summary{color:#226a45}.notice-card summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.notice-card summary:after{content:"＋";font-size:1.1rem}.notice-card details[open] summary:after{content:"−"}.field-label{display:block;font-weight:800;margin-bottom:7px}.text-input{width:100%;border:1.5px solid #b9c9bb;border-radius:14px;padding:13px 14px;background:white;font-size:1.08rem;outline:none}.text-input:focus{border-color:var(--leaf);box-shadow:0 0 0 3px rgba(44,107,67,.14)}.primary-button,.scan-button{border:0;border-radius:14px;background:var(--forest);color:white;font-weight:900;padding:13px 17px;cursor:pointer}.primary-button{width:100%;margin-top:12px}.primary-button:disabled{opacity:.45;cursor:not-allowed}.fine-print{text-align:center!important;font-size:.75rem!important;margin:12px 0 0!important;color:var(--muted)!important}.error-text{color:var(--danger)!important;min-height:1.4em;margin:7px 0 0!important;font-size:.85rem}
.points-card{background:var(--forest);color:white;border-radius:26px;padding:24px;display:flex;justify-content:space-between;align-items:end;box-shadow:0 20px 38px rgba(23,63,42,.2)}.points-card p{opacity:.75;margin-bottom:4px}.points-card strong{font-family:Georgia,serif;font-size:3.2rem;line-height:1}.scan-button{background:var(--lime);color:var(--forest);white-space:nowrap}.expiry-text{margin:10px 6px 22px;font-size:.84rem;color:var(--muted)}.membership-card{margin-bottom:26px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.section-heading h2{margin:0;font-size:1.25rem}.section-heading>strong,.section-heading>span{font-size:.82rem;color:var(--muted)}.progress-track{height:10px;border-radius:99px;background:#e3e9df;overflow:hidden;margin:18px 0 8px}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--leaf),var(--lime));border-radius:inherit;transition:width .35s}.muted{color:var(--muted);font-size:.84rem;margin:0}.rewards-section{margin-bottom:26px}.reward-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(160px,42%);overflow-x:auto;gap:12px;padding:14px 1px 8px;scroll-snap-type:x mandatory}.reward-card{scroll-snap-align:start;min-height:165px;border:1px solid var(--line);background:var(--paper);border-radius:20px;padding:17px;display:flex;flex-direction:column;justify-content:space-between}.reward-card .reward-icon{font-size:2rem}.reward-card h3{margin:6px 0 2px}.reward-card p{font-size:.8rem;color:var(--muted);margin:0}.reward-card button{border:0;background:var(--lime);color:var(--forest);border-radius:10px;padding:9px;font-weight:900;cursor:pointer}.reward-card button:disabled{background:#e7e9e4;color:#909991}.history-list{display:grid;gap:10px;margin-top:16px}.history-row{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.history-row strong{display:block}.history-row span{font-size:.78rem;color:var(--muted)}.history-row>em{font-style:normal;font-size:.76rem;font-weight:800;color:var(--leaf)}.empty-state{color:var(--muted);text-align:center;padding:18px 0;margin:0}
.modal{width:min(calc(100% - 32px),440px);border:0;border-radius:24px;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.28)}.modal::backdrop{background:rgba(10,27,18,.62);backdrop-filter:blur(4px)}.modal form{position:relative;padding:26px}.modal h2{font-size:1.5rem}.modal p{line-height:1.55}.close-button{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:1.7rem;color:var(--muted);cursor:pointer}.toast{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translate(-50%,130%);background:#102a1c;color:white;padding:11px 17px;border-radius:999px;font-weight:800;font-size:.87rem;transition:transform .25s;z-index:20;box-shadow:0 12px 30px rgba(0,0,0,.2)}.toast.show{transform:translate(-50%,0)}
.membership-success-dialog{padding:0;overflow:visible;background:transparent}
.membership-success-card{width:min(88vw,390px);padding:30px 24px 24px;border:1px solid rgba(40,92,58,.14);border-radius:28px;background:linear-gradient(160deg,#fff,#f1f8ef);box-shadow:0 32px 90px rgba(9,43,25,.34);text-align:center}
.membership-success-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 14px;border-radius:50%;background:linear-gradient(135deg,#174d35,#42a66b);color:#efff8b;font-size:2rem;box-shadow:0 12px 28px rgba(24,92,55,.24)}
.membership-success-dialog[data-tier="SILVER"] .membership-success-icon{background:linear-gradient(135deg,#667381,#b9c2cb);color:#fff}
.membership-success-dialog[data-tier="GOLD"] .membership-success-icon{background:linear-gradient(135deg,#96670f,#e8c14c);color:#fff9dc}
.membership-success-dialog[data-tier="PLATINUM"] .membership-success-icon{background:linear-gradient(135deg,#4c1d95,#9f7aea);color:#f5edff}
.membership-success-card p{margin:0 0 4px;color:#47705a;font-weight:850}
.membership-success-card h2{margin:0 0 22px;font-size:1.42rem;line-height:1.45;color:#173d2a}
.membership-success-card .primary-button{width:100%}
@media(max-width:430px){.app{padding-left:14px;padding-right:14px}.points-card{padding:20px}.points-card strong{font-size:2.7rem}.reward-rail{grid-auto-columns:72%}.notice-card{padding:19px}}
.required-mark{color:#c62828}
.consent-row{display:flex;gap:12px;align-items:flex-start;margin:16px 0;line-height:1.5;cursor:pointer}
.consent-row input{width:20px;height:20px;flex:0 0 auto;margin-top:2px;accent-color:var(--green)}
.registration-card{max-width:720px;margin-inline:auto}
.form-section-title{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:1.15rem}
.form-grid{display:grid;gap:14px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.readonly-input{background:#f2f4f1;color:#536058}.autocomplete-wrap{position:relative}
.address-suggestions{position:absolute;z-index:20;left:0;right:0;max-height:280px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 28px rgba(0,0,0,.14);padding:6px}
.address-option{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:2px;padding:11px 12px;border:0;border-radius:10px;background:#fff;color:var(--ink);text-align:left}
.address-option:hover,.address-option:focus{background:#eef7f0}.address-option span,.suggestion-empty{font-size:.85rem;color:var(--muted)}
.suggestion-empty{padding:12px;margin:0}@media(max-width:600px){.two-columns{grid-template-columns:1fr}}
.expiry-card{margin-top:18px;padding:20px;border:1px solid #d9e7dc;border-radius:20px;background:#fff}
.expiry-buckets{display:grid;gap:10px}
.expiry-bucket{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;border-radius:14px;background:#eef7f0;border-left:5px solid #2e7d4f}
html body{font-family:Inter,"Noto Sans Thai",system-ui,-apple-system,sans-serif;background:#f5f6f1;color:#19382a}body .app{width:min(100%,680px);padding:0 18px 56px}body .topbar{padding:26px 4px 18px}body .topbar h1{font-family:inherit;font-size:1.7rem;font-weight:800;letter-spacing:-.035em}body .topbar .eyebrow{font-size:.65rem;letter-spacing:.18em}body .tier-badge{border:1px solid rgba(255,255,255,.18);padding:9px 14px;box-shadow:0 6px 18px rgba(15,52,34,.13)}body .points-card{padding:25px 22px;border-radius:24px;background:linear-gradient(145deg,#123f2b,#1c5439);box-shadow:0 14px 34px rgba(20,62,43,.15)}body .points-card p{font-size:.85rem;letter-spacing:.02em}body .points-card strong{font-family:inherit;font-size:3.25rem;font-weight:750;letter-spacing:-.05em}body .scan-button{padding:13px 17px;border-radius:14px;background:#dff06c;box-shadow:none}body .expiry-card,body .membership-card,body .history-section{background:#fff;border:1px solid #e1e8df;border-radius:22px;box-shadow:0 8px 24px rgba(28,58,40,.045)}body .expiry-card{margin-top:16px;padding:20px}body .expiry-priority-note{margin:7px 0 14px;padding:9px 11px;border-radius:10px;background:#fff4f1;color:#b83a32;font-size:.72rem;font-weight:750}body .expiry-buckets{gap:9px}body .expiry-bucket{padding:14px 15px;border:0;border-left:3px solid #3b8a5b;border-radius:12px;background:#f1f7f2}body .membership-card{margin-top:16px;margin-bottom:30px;padding:21px}body .progress-track{height:7px;margin:17px 0 10px;background:#e8ede7}body .section-heading h2{font-size:1.18rem;font-weight:800;letter-spacing:-.025em}body .rewards-section{margin-top:0;margin-bottom:30px}body .reward-rail{gap:12px;padding-top:13px}body .reward-card{min-height:172px;padding:17px;border:1px solid #e1e8df;border-radius:18px;background:#fff;box-shadow:0 7px 20px rgba(28,58,40,.04)}body .reward-card button{border:none;border-radius:11px;padding:10px}body .history-section{padding:21px}body .history-row{padding-top:13px}body .notice-card{padding:22px;border-radius:22px}body .primary-button{min-height:48px;border-radius:13px}body .modal form{border-radius:24px;border:1px solid #e2e9e1;box-shadow:0 24px 70px rgba(18,52,35,.2)}@media(max-width:520px){body .app{padding:0 13px 44px}body .topbar{padding-top:20px}body .points-card{padding:22px 17px}body .points-card strong{font-size:3rem}body .scan-button{padding:12px 14px}body .expiry-card,body .membership-card,body .history-section{border-radius:19px}}
html body{background:linear-gradient(180deg,#f4f7f4 0%,#eef2ee 100%);color:#162c22}body .app{width:min(100%,700px);padding-bottom:64px}body .topbar{position:sticky;top:0;z-index:10;margin:0 -18px 18px;padding:18px 22px 14px;background:rgba(244,247,244,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(26,61,43,.07)}body .topbar h1{font-size:1.65rem;font-weight:850}body .eyebrow{color:#367553;font-size:.65rem;font-weight:850;letter-spacing:.17em}body .tier-badge{background:#163f2c;color:#fff;border:0;border-radius:999px;font-size:.72rem;letter-spacing:.09em;transition:transform .18s ease,box-shadow .18s ease}body .tier-badge:active{transform:scale(.96)}body .points-card{position:relative;overflow:hidden;isolation:isolate;border:1px solid rgba(255,255,255,.09);background:linear-gradient(135deg,#103d29 0%,#1d6242 100%);box-shadow:0 18px 44px rgba(17,61,40,.2)}body .points-card:after{content:"";position:absolute;z-index:-1;width:180px;height:180px;right:-74px;top:-95px;border-radius:50%;background:rgba(220,240,105,.16)}body .scan-button{background:#e2f36f;color:#173d2b;font-weight:850;transition:transform .18s ease,filter .18s ease}body .scan-button:active,body .primary-button:active{transform:scale(.98)}body .expiry-card,body .membership-card,body .history-section,body .reward-card{background:rgba(255,255,255,.92);border:1px solid rgba(28,68,46,.1);box-shadow:0 10px 30px rgba(30,61,43,.055)}body .expiry-card{border-radius:24px;padding:22px}body .expiry-priority-note{display:inline-flex;margin:9px 0 15px;padding:7px 10px;background:#fff2ef;border:1px solid #f8d8d2;border-radius:999px;color:#ad3d35;font-size:.69rem}body .expiry-bucket{border-left:0;border-radius:14px;background:#f0f6f1;box-shadow:inset 3px 0 0 #3a8b5a}body .membership-card{border-radius:24px;padding:22px}body .progress-fill{background:linear-gradient(90deg,#2b7b50,#b9d84c)}body .reward-rail{scrollbar-width:none}body .reward-rail::-webkit-scrollbar{display:none}body .reward-card{border-radius:20px;transition:transform .2s ease,box-shadow .2s ease}body .reward-card:active{transform:translateY(1px)}body .reward-card button,body .primary-button{background:#174b33;color:#fff;font-weight:850;letter-spacing:.01em}body .reward-card button:disabled,body .primary-button:disabled{background:#e6ebe6;color:#929b94}body .history-section{border-radius:24px}body .history-row{align-items:center}body .modal{background:rgba(10,29,19,.42);backdrop-filter:blur(5px)}body .modal form{border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(14,43,28,.28)}body .membership-level{border-radius:16px;background:#f8faf8}body .membership-level.current{border-color:#2f8154;background:#f1f8f3}@media(max-width:520px){body .topbar{margin-left:-13px;margin-right:-13px;padding-left:17px;padding-right:17px}body .points-card{border-radius:22px}body .expiry-card,body .membership-card,body .history-section{border-radius:20px}}
.expiry-bucket>div{display:flex;flex-direction:column;gap:3px}.expiry-bucket span{font-size:.88rem;color:var(--muted)}.expiry-bucket em{font-style:normal;font-weight:700;white-space:nowrap;color:#166534}
.expiry-bucket.warning{background:#fff7e6;border-left-color:#f59e0b}.expiry-bucket.warning em{color:#b45309}
.expiry-bucket.danger{background:#fff0f0;border-left-color:#dc2626}.expiry-bucket.danger em{color:#b91c1c}
/* Reward garden journey */
html body{background:radial-gradient(circle at 8% 5%,rgba(226,242,174,.72),transparent 27%),radial-gradient(circle at 92% 18%,rgba(177,224,194,.52),transparent 30%),linear-gradient(180deg,#f7faf4 0%,#eef5ee 100%)}
body .app{width:min(100%,760px)}
body .topbar{margin-bottom:22px;border:1px solid rgba(31,89,58,.08);border-radius:0 0 26px 26px;box-shadow:0 10px 34px rgba(29,72,46,.07)}
body .tier-badge{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:10px 16px;background:linear-gradient(135deg,#174d35,#2f8357);box-shadow:0 10px 24px rgba(22,75,49,.25);font-size:0}
body .tier-badge:before{content:"✦";font-size:.8rem;color:#e4f36e}
body .tier-badge:after{content:attr(data-tier);font-size:.72rem;font-weight:900;letter-spacing:.08em}
body .tier-badge[data-tier="MEMBER"]:after{content:"สมาชิกทั่วไป";letter-spacing:0}
body .tier-badge[data-tier="SILVER"]{background:linear-gradient(135deg,#667381,#9ca8b4)}
body .tier-badge[data-tier="GOLD"]{background:linear-gradient(135deg,#96670f,#d3a62d)}
body .tier-badge[data-tier="PLATINUM"]{background:linear-gradient(135deg,#4c1d95,#8b5cf6)}body .tier-badge[data-tier="PLATINUM"]:before{content:"♦";color:#f0e7ff;text-shadow:0 0 9px rgba(255,255,255,.85)}
body .points-card{min-height:175px;padding:30px 26px;background:radial-gradient(circle at 86% 8%,rgba(226,243,111,.24),transparent 34%),linear-gradient(140deg,#103c29,#1d6844);box-shadow:0 22px 50px rgba(17,66,42,.22)}
body .points-card strong{font-size:3.8rem;text-shadow:0 5px 18px rgba(0,0,0,.14)}
body .scan-button{min-height:54px;padding:14px 21px;box-shadow:0 10px 24px rgba(3,28,15,.18)}
body .membership-card,body .expiry-card,body .history-section{box-shadow:0 14px 38px rgba(30,72,46,.075)}
body .rewards-section{position:relative;margin:34px 0;padding:22px;border:1px solid rgba(38,95,61,.11);border-radius:28px;background:rgba(255,255,255,.78);box-shadow:0 18px 48px rgba(28,76,47,.09);overflow:hidden}
body .rewards-section:before{content:"";position:absolute;width:180px;height:180px;right:-85px;top:-95px;border-radius:50%;background:rgba(218,237,113,.22)}
body .rewards-section .section-heading{position:relative;z-index:2;margin-bottom:12px}
body .rewards-section .section-heading>span{font-size:0}
body .rewards-section .section-heading>span:after{content:"เลื่อนเส้นทาง ↑↓";font-size:.72rem;font-weight:800;color:#43805c}
body .reward-rail{position:relative;display:flex;flex-direction:column;gap:18px;height:540px;max-height:62vh;overflow-y:auto;overflow-x:hidden;padding:25px 16px 28px 50px;scroll-snap-type:y mandatory;scroll-behavior:smooth;overscroll-behavior:contain;border:1px solid rgba(54,111,72,.1);border-radius:22px;background:linear-gradient(180deg,rgba(236,247,229,.96),rgba(249,247,224,.95));box-shadow:inset 0 2px 12px rgba(34,85,51,.05)}
body .reward-rail:before{content:"";position:absolute;left:29px;top:30px;bottom:30px;width:5px;border-radius:99px;background:repeating-linear-gradient(180deg,#78a95e 0 16px,#c8dd8a 16px 30px)}
body .reward-rail::-webkit-scrollbar{width:7px}body .reward-rail::-webkit-scrollbar-track{background:transparent}body .reward-rail::-webkit-scrollbar-thumb{background:#91b197;border-radius:99px}
body .reward-card{position:relative;flex:none;width:100%;min-height:168px;padding:20px 18px 18px;scroll-snap-align:center;border:1px solid rgba(54,111,72,.13);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 12px 26px rgba(34,79,51,.09);overflow:visible}
body .reward-card:before{content:"";position:absolute;left:-34px;top:34px;width:16px;height:16px;border:5px solid #eef6e8;border-radius:50%;background:#3d8554;box-shadow:0 0 0 2px #6aa36c}
body .reward-card:after{content:"🌿  ·  🌼";position:absolute;right:15px;top:12px;font-size:1.05rem;letter-spacing:3px;opacity:.76}
body .reward-card:nth-child(2n):after{content:"🌱  ·  🍀"}body .reward-card:nth-child(3n):after{content:"🌾  ·  🌻"}body .reward-card:last-child:after{content:"🌳  ·  ✨"}
body .reward-card .reward-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#eff7d0,#dceea6);box-shadow:inset 0 0 0 1px rgba(55,104,56,.08);font-size:1.85rem}
body .reward-card h3{font-size:1.18rem;margin-top:10px}body .reward-card p{font-size:.83rem}
body .reward-card button{min-height:44px;margin-top:14px;background:linear-gradient(135deg,#e5f16e,#cfe45f);box-shadow:0 8px 18px rgba(88,116,34,.15)}
body .reward-card button:not(:disabled):after{content:"  →"}
@media(max-width:520px){body .topbar{border-radius:0 0 22px 22px}body .tier-badge{padding:9px 13px}body .points-card{min-height:158px;padding:25px 19px}body .points-card strong{font-size:3.3rem}body .rewards-section{margin-left:-2px;margin-right:-2px;padding:17px 13px;border-radius:24px}body .reward-rail{height:500px;max-height:60vh;padding-left:45px;padding-right:11px}body .reward-rail:before{left:26px}body .reward-card:before{left:-31px}}
/* Premium playful polish */
:root{--neon:#e7f65e;--mint:#78ddb0;--sun:#ffc857;--deep:#092f22}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(circle at 16% 13%,rgba(255,255,255,.95) 0 2px,transparent 3px),radial-gradient(circle at 78% 7%,rgba(255,255,255,.8) 0 1px,transparent 2px);background-size:44px 44px,29px 29px;opacity:.38}
body .topbar{background:linear-gradient(120deg,rgba(255,255,255,.94),rgba(239,248,234,.91));border-color:rgba(27,100,60,.12)}
body .topbar h1{font-size:1.82rem;letter-spacing:-.045em;background:linear-gradient(110deg,#0b3525,#218957);-webkit-background-clip:text;background-clip:text;color:transparent}
body .tier-badge{overflow:hidden;border:1px solid rgba(255,255,255,.22);box-shadow:0 12px 30px rgba(14,75,45,.28),inset 0 1px rgba(255,255,255,.25)}
body .tier-badge:before{filter:drop-shadow(0 0 7px rgba(231,246,94,.8));animation:badgeTwinkle 1.8s ease-in-out infinite}@keyframes badgeTwinkle{50%{transform:rotate(18deg) scale(1.22)}}
body .points-card{border-radius:30px;box-shadow:0 25px 60px rgba(8,54,34,.26),inset 0 1px rgba(255,255,255,.16);transform:translateZ(0)}
body .points-card:before{content:"แต้มพร้อมแลก";position:absolute;right:25px;top:22px;padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.1);font-size:.65rem;font-weight:800;letter-spacing:.08em;color:#edf8e9}
body .points-card:after{right:-45px;top:-72px;width:220px;height:220px;background:radial-gradient(circle,rgba(231,246,94,.28),rgba(231,246,94,0) 68%)}
body .scan-button{border:1px solid rgba(255,255,255,.38);background:linear-gradient(135deg,#effb76,#cde94f);box-shadow:0 12px 25px rgba(10,41,24,.26),inset 0 1px rgba(255,255,255,.8);transition:transform .18s ease,box-shadow .18s ease}
body .scan-button:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(10,41,24,.3)}
body .expiry-card,body .membership-card,body .history-section{border-color:rgba(34,107,65,.13);background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,251,246,.94));box-shadow:0 16px 42px rgba(22,70,43,.09)}
body .membership-card{position:relative;overflow:hidden}body .membership-card:after{content:"♛";position:absolute;right:18px;bottom:-19px;font-size:5.2rem;color:rgba(45,124,77,.07);transform:rotate(-10deg)}
body .progress-track{height:11px;padding:2px;background:#e4eee5;box-shadow:inset 0 2px 4px rgba(24,70,43,.08)}body .progress-fill{box-shadow:0 0 14px rgba(190,225,72,.55)}
body .rewards-section{padding:25px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(240,248,232,.9));border:1px solid rgba(36,109,67,.15);box-shadow:0 24px 65px rgba(18,72,42,.13)}
body .rewards-section .section-heading h2{font-size:1.42rem;letter-spacing:-.035em}body .rewards-section .section-heading h2:after{content:"  ✨";font-size:1rem}
body .reward-rail{counter-reset:milestone;background:radial-gradient(circle at 82% 12%,rgba(255,210,91,.2),transparent 23%),radial-gradient(circle at 14% 83%,rgba(106,211,157,.22),transparent 25%),linear-gradient(180deg,#eef8e6,#fff8dc);border:1px solid rgba(48,123,72,.15);box-shadow:inset 0 8px 24px rgba(41,92,54,.06)}
body .reward-rail:before{width:7px;background:repeating-linear-gradient(180deg,#26784b 0 17px,#bada69 17px 31px);box-shadow:0 0 0 5px rgba(115,177,98,.1)}
body .reward-card{counter-increment:milestone;width:calc(100% - 10px);min-height:184px;border:1px solid rgba(33,111,64,.15);background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(249,252,244,.96));box-shadow:0 15px 34px rgba(29,91,53,.12);transition:transform .22s ease,box-shadow .22s ease}
body .reward-card:nth-child(even){transform:translateX(10px)}body .reward-card:hover{transform:translateY(-3px) translateX(4px);box-shadow:0 20px 40px rgba(26,92,52,.17)}
body .reward-card:before{left:-39px;width:19px;height:19px;border:6px solid #eff7e9;background:linear-gradient(135deg,#1e7748,#70bd69);box-shadow:0 0 0 3px rgba(41,122,72,.32),0 5px 12px rgba(26,91,52,.22)}
body .reward-card>div:before{content:"รางวัล " counter(milestone);position:absolute;right:16px;bottom:61px;padding:4px 9px;border-radius:999px;background:#eff6e9;color:#39734e;font-size:.64rem;font-weight:900;letter-spacing:.05em}
body .reward-card:last-child{border-color:rgba(219,156,34,.38);background:linear-gradient(145deg,#fffef7,#fff4c9);box-shadow:0 18px 42px rgba(170,119,23,.19)}body .reward-card:last-child:before{background:linear-gradient(135deg,#f0bc3b,#ffd96d);box-shadow:0 0 0 4px rgba(240,188,59,.2),0 0 22px rgba(240,188,59,.65)}
body .reward-card .reward-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#f2facf,#d9efa3);box-shadow:0 9px 20px rgba(63,117,57,.13),inset 0 1px rgba(255,255,255,.8)}
body .reward-card button{border:1px solid rgba(83,125,30,.08);background:linear-gradient(135deg,#eff76d,#cfe94f);box-shadow:0 10px 22px rgba(96,128,39,.18);transition:transform .15s ease}body .reward-card button:not(:disabled):active{transform:scale(.98)}
body .reward-card button:disabled{border:1px solid #e0e7df;background:linear-gradient(135deg,#edf0ed,#e3e8e3);box-shadow:none}
@media(max-width:520px){body .topbar h1{font-size:1.62rem}body .points-card:before{right:18px;top:17px}body .rewards-section{padding:18px 12px}body .reward-card{width:calc(100% - 6px)}body .reward-card:nth-child(even){transform:translateX(6px)}body .reward-card>div:before{right:12px}}
/* Alternating adventure path + membership theme */
body .reward-rail{height:680px;max-height:68vh;padding:38px 18px 45px;gap:32px;align-items:stretch;background:radial-gradient(circle at 14% 12%,rgba(255,206,88,.22),transparent 18%),radial-gradient(circle at 85% 35%,rgba(101,208,150,.22),transparent 19%),radial-gradient(circle at 12% 68%,rgba(206,231,101,.28),transparent 18%),linear-gradient(180deg,#edf8e6 0%,#fff7d9 48%,#e8f5e7 100%)}
body .reward-rail:before{left:50%;top:24px;bottom:24px;transform:translateX(-50%);width:8px;background:repeating-linear-gradient(180deg,#2d8652 0 20px,#d0e36e 20px 37px);box-shadow:0 0 0 6px rgba(90,159,87,.11)}
body .reward-card{width:calc(50% - 38px);min-height:190px;margin:0;transform:none!important;border-radius:26px;padding:18px 15px;box-shadow:0 16px 36px rgba(25,85,48,.14)}
body .reward-card:nth-child(odd){align-self:flex-start}body .reward-card:nth-child(even){align-self:flex-end}
body .reward-card:before{top:42px;left:auto;right:-53px;width:21px;height:21px;border-width:6px;z-index:3}
body .reward-card:nth-child(even):before{right:auto;left:-53px}
body .reward-card:nth-child(odd):after{right:-28px;top:84px;transform:rotate(6deg)}body .reward-card:nth-child(even):after{right:auto;left:-29px;top:84px;transform:rotate(-7deg)}
body .reward-card>div:before{top:14px;right:13px;bottom:auto;background:linear-gradient(135deg,#e8f5df,#d7edbb);box-shadow:0 5px 12px rgba(45,102,55,.1)}
body .reward-card .reward-icon{width:54px;height:54px}body .reward-card h3{font-size:1.05rem;padding-right:2px}body .reward-card button{font-size:.78rem;padding:9px 7px}
body .reward-card:last-child{width:calc(50% - 28px);animation:goalGlow 2.4s ease-in-out infinite}@keyframes goalGlow{50%{box-shadow:0 20px 48px rgba(216,157,36,.3),0 0 0 5px rgba(255,211,92,.1)}}
body .reward-rail:after{content:"🏆 เป้าหมายสูงสุด";position:relative;align-self:center;order:-1;margin:0 auto 4px;padding:9px 14px;border-radius:999px;background:linear-gradient(135deg,#174f34,#2c7e50);color:white;font-size:.72rem;font-weight:900;letter-spacing:.03em;box-shadow:0 10px 22px rgba(19,73,43,.22)}
body .membership-back{margin-top:20px!important;padding:9px 13px;border-radius:12px;background:#e8f2e7;color:#286a45;font-weight:900}
body .membership-current{position:relative;margin-top:8px!important;padding:18px 18px 18px 54px;border:1px solid rgba(255,255,255,.15);border-radius:20px;background:linear-gradient(135deg,#16482f,#287450);box-shadow:0 14px 30px rgba(18,71,43,.2);font-size:.95rem}
body .membership-current:before{content:"★";position:absolute;left:18px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e6f16c;color:#17462f}
body .membership-levels{display:grid;gap:14px;margin-top:18px!important;margin-bottom:24px!important;padding-bottom:8px}
body .membership-level{position:relative;overflow:hidden;padding:20px 18px;border:1px solid rgba(51,104,68,.13);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 12px 27px rgba(27,76,44,.08);transition:transform .18s ease}
body .membership-level:before{content:"";position:absolute;right:-34px;top:-38px;width:110px;height:110px;border-radius:50%;background:rgba(121,139,154,.12)}
body .membership-level:nth-child(2):before{background:rgba(224,176,55,.16)}body .membership-level:nth-child(3):before{background:rgba(73,112,120,.14)}
body .membership-level.current{border:2px solid #36a267;background:linear-gradient(145deg,#f8fff9,#e8f7eb);box-shadow:0 15px 35px rgba(30,130,74,.17)}
body .membership-level.current:after{content:"ระดับของคุณ";position:absolute;right:13px;bottom:12px;padding:4px 8px;border-radius:999px;background:#24794c;color:white;font-size:.62rem;font-weight:900}
body .membership-level.earned{background:linear-gradient(145deg,#f6fbf3,#eaf5e7)}
body .membership-level h3{font-size:1.35rem;letter-spacing:-.02em}body .membership-level ul{padding-right:60px}
body .membership-level button{width:100%;margin-top:14px;border:0;border-radius:13px;padding:12px;background:linear-gradient(135deg,#e7f36c,#cce84f);color:#173f2a;font-weight:900;box-shadow:0 8px 18px rgba(93,126,36,.14)}
@media(max-width:520px){body .reward-rail{height:640px;max-height:67vh;padding-left:10px;padding-right:10px;gap:28px}body .reward-card{width:calc(50% - 25px);min-height:180px;padding:15px 11px;border-radius:21px}body .reward-card:last-child{width:calc(50% - 20px)}body .reward-card:before{right:-41px}body .reward-card:nth-child(even):before{left:-41px}body .reward-card:after{display:none}body .reward-card>div:before{position:static;display:inline-block;margin-bottom:8px}body .reward-card h3{font-size:.94rem}body .reward-card button{font-size:.7rem}}





/* GEN-Y CLUB vivid modern theme */
:root{--forest:#0b5a2b;--leaf:#20c75a;--lime:#bff02f;--cream:#f7fbef;--ink:#133623;--muted:#718078;--bronze:#b8773c;--line:#dfe9dd}
html{background:#f7fbef}
body{background:
radial-gradient(circle at 95% 0,rgba(190,240,47,.34) 0,transparent 26rem),
linear-gradient(180deg,#efffd0 0,#f7fbef 25rem,#f5f8f2 100%);
color:var(--ink);min-height:100vh}
.app{width:min(100%,720px);padding:0 18px 40px}
.topbar{position:relative;margin:0 -18px 22px;padding:calc(22px + env(safe-area-inset-top)) 22px 30px;
display:flex;align-items:center;gap:14px;color:#fff;overflow:hidden;
background:linear-gradient(135deg,#087536 0%,#18bc50 55%,#96df28 100%);
border-radius:0 0 34px 34px;box-shadow:0 18px 42px rgba(13,116,54,.22)}
.topbar:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-125px;background:rgba(255,255,255,.14)}
.topbar:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:55px;bottom:-95px;background:rgba(255,255,255,.09)}
.brand-lockup{display:flex;align-items:center;gap:13px;min-width:0;position:relative;z-index:1}
.brand-logo{width:64px;height:64px;flex:0 0 64px;object-fit:contain;background:#fff;border-radius:18px;padding:5px;box-shadow:0 9px 22px rgba(4,70,31,.2)}
.topbar .eyebrow{margin:0 0 1px;color:#dffff0;font-size:.72rem;letter-spacing:.16em;font-weight:800}
.topbar h1{margin:0;color:#fff;font-size:1.48rem;line-height:1.2;letter-spacing:-.02em}
.tier-badge{position:relative;z-index:1;margin-left:auto;align-self:center;background:rgba(255,255,255,.95)!important;color:#087536!important;
border:1px solid rgba(255,255,255,.5)!important;padding:8px 12px!important;border-radius:999px!important;font-size:.68rem!important;
font-weight:900!important;box-shadow:0 6px 16px rgba(4,70,31,.14)}
.points-card{position:relative;overflow:hidden;border:0!important;border-radius:28px!important;padding:27px 23px!important;color:#fff!important;
background:linear-gradient(145deg,#075d2b 0%,#0e8740 65%,#18a94d 100%)!important;box-shadow:0 18px 38px rgba(5,89,40,.24)!important}
.points-card:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-90px;top:-80px;background:rgba(190,240,47,.2)}
.points-card p{color:#d9f7e4!important;font-weight:700!important}.points-card strong{font-size:3.45rem!important;line-height:1;color:#fff!important;letter-spacing:-.055em}
.points-card span{color:#d9f7e4!important}.scan-button{position:relative;z-index:1;background:linear-gradient(135deg,#c9f43a,#a9e92b)!important;color:#174122!important;
border:0!important;border-radius:16px!important;padding:14px 18px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(6,54,25,.16)!important}
.expiry-card,.membership-card,.history-section{background:rgba(255,255,255,.94)!important;border:1px solid rgba(27,107,57,.1)!important;border-radius:24px!important;
box-shadow:0 10px 28px rgba(23,73,42,.07)!important}
.expiry-card,.membership-card{padding:21px!important;margin-top:16px!important}
.section-heading .eyebrow{color:#17a94d!important;font-size:.67rem!important;letter-spacing:.14em!important;font-weight:900!important}
.section-heading h2{color:#153b26!important;font-size:1.12rem!important}.section-heading>span{color:#109447!important;font-weight:800!important}
.expiry-priority-note{color:#d14b3c!important;background:#fff3ee;border-radius:10px;padding:7px 10px!important}
.expiry-bucket{background:#effbea!important;border:0!important;border-left:4px solid #74ce2e!important;border-radius:14px!important}
.membership-card{background:linear-gradient(145deg,#fff 0%,#f5ffe9 100%)!important}
.membership-card #memberTitle{color:#9a5c2c!important}.membership-card #lifetimePoints{color:#0d843e!important}
.progress-track{height:11px!important;background:#e9eee7!important;border-radius:999px!important}
.progress-fill{background:linear-gradient(90deg,#b46f36,#d69b5b,#bff02f)!important;border-radius:999px!important}
.rewards-section{margin-top:25px!important}
.reward-rail{gap:14px!important;padding:5px 2px 12px!important;scroll-snap-type:x mandatory}
.reward-card{scroll-snap-align:start;background:#fff!important;border:1px solid rgba(27,107,57,.1)!important;border-radius:22px!important;
box-shadow:0 10px 25px rgba(22,75,41,.08)!important;overflow:hidden}
.reward-card:first-child{border:2px solid #91d936!important;box-shadow:0 13px 30px rgba(87,166,35,.16)!important}
.reward-icon{background:linear-gradient(145deg,#efffd2,#d5f77c)!important;color:#087536!important;border-radius:17px!important}
.reward-card button,.primary-button{background:linear-gradient(135deg,#12ae4b,#25cb5d)!important;color:#fff!important;border:0!important;border-radius:14px!important;font-weight:900!important;
box-shadow:0 8px 18px rgba(13,137,61,.18)!important}
.history-section{padding:21px!important;margin-top:24px!important}.history-row{border-bottom-color:#e9eee6!important}
.empty-state{background:#f3f8ef!important;color:#7c8c82!important;border-radius:14px!important}
.notice-card{border-radius:25px!important;border:1px solid rgba(27,107,57,.12)!important;box-shadow:0 12px 30px rgba(22,75,41,.08)!important}
input,select,textarea{border-radius:13px!important;border-color:#cfddcf!important}.muted{color:#75827a!important}
@media(max-width:520px){
.app{padding-left:14px;padding-right:14px}.topbar{margin-left:-14px;margin-right:-14px;padding-left:17px;padding-right:17px;border-radius:0 0 28px 28px}
.brand-logo{width:56px;height:56px;flex-basis:56px;border-radius:15px}.topbar h1{font-size:1.27rem}.tier-badge{padding:7px 9px!important;font-size:.62rem!important}
.points-card{padding:23px 18px!important}.points-card strong{font-size:3.05rem!important}.scan-button{padding:12px 14px!important}
.expiry-card,.membership-card,.history-section{padding:18px!important}.reward-rail{grid-auto-columns:minmax(190px,80%)!important}}


/* GEN-Y interactive HTML preview layout */
body{padding-bottom:88px!important;background:radial-gradient(circle at 92% 4%,rgba(189,241,58,.2),transparent 26rem),linear-gradient(180deg,#f8fcf7,#edf5ee)!important}
.topbar{background:rgba(255,255,255,.92)!important;color:#173b27!important;border:1px solid rgba(18,130,60,.1)!important;border-radius:0 0 28px 28px!important;box-shadow:0 12px 32px rgba(20,90,45,.09)!important}
.topbar:before{background:radial-gradient(circle,rgba(189,241,58,.22),transparent 70%)!important}
.topbar .eyebrow{color:#10b957!important}.topbar h1{color:#0b5c2d!important}.brand-logo{width:66px!important;height:66px!important;flex-basis:66px!important;padding:3px!important;border-radius:18px!important;object-fit:contain!important;background:#fff!important;box-shadow:0 10px 24px rgba(10,113,53,.14)!important}
.tier-badge{background:#fff!important;color:#087536!important;border:1px solid #d9e9dc!important;box-shadow:0 8px 22px rgba(43,120,64,.1)!important}
.preview-dashboard{padding-bottom:82px}.preview-points{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:22px!important;padding:24px 26px!important;background:rgba(255,255,255,.95)!important;color:#173b27!important;border:1px solid #d5e6d8!important;box-shadow:0 16px 42px rgba(29,106,50,.08)!important}
.points-coin{display:grid;place-items:center;width:86px;height:86px;border-radius:50%;border:10px solid #b9f1c9;background:linear-gradient(145deg,#16c65d,#087536);box-shadow:inset 0 0 0 3px #fff,0 9px 22px rgba(16,138,67,.2)}
.points-coin span{color:#fff!important;font-size:2.25rem!important;font-weight:900}.points-copy p{margin:0!important;color:#324c3a!important}.preview-points .points-copy strong{color:#0aab4c!important;font-size:4.25rem!important}.preview-points .points-copy span{color:#07833b!important;font-size:1.3rem!important;font-weight:900!important}
.preview-scan{width:142px!important;height:118px!important;display:grid!important;place-content:center!important;gap:4px!important;border-radius:24px!important;background:linear-gradient(145deg,#19c75a,#079b43)!important;color:#fff!important}
.preview-scan span{font-size:2.2rem!important}.preview-scan b{font-size:.95rem!important}.preview-rewards{margin-top:40px!important}.preview-rewards .section-heading h2{font-size:1.75rem!important;margin-top:3px!important}.section-subtitle{margin:4px 0 0!important;color:#728078!important;font-size:.92rem!important}.sparkle{color:#e6b516}.reward-journey{height:10px;margin:26px 11% 4px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,#0dab4b 0 63%,#dfe6e1 63%);border-radius:99px}
.reward-journey i{width:38px;height:38px;border:7px solid #fff;border-radius:50%;background:#15b954;box-shadow:0 4px 12px rgba(24,118,59,.2)}.reward-journey i.locked{background:#a5adb0}
.preview-rewards .reward-rail{grid-auto-columns:minmax(180px,31%)!important;gap:14px!important;padding:18px 2px 14px!important}.preview-rewards .reward-card{border-radius:23px!important;padding:13px!important;background:#fff!important;border:1px solid #dfeae1!important;box-shadow:0 12px 30px rgba(31,97,48,.08)!important}.preview-rewards .reward-card:first-child{border:2px solid #95df3c!important}
.preview-rewards .reward-icon{min-height:118px!important;background:radial-gradient(circle,#d9ff7f,#f0fae5)!important;border-radius:18px!important;font-size:3.2rem!important}.preview-rewards .reward-card h3{color:#173b27!important;font-size:1.14rem!important}.preview-rewards .reward-card button{background:linear-gradient(135deg,#0faf4d,#24cc5e)!important;border-radius:14px!important}
.preview-membership{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:17px!important;padding:22px!important;margin-top:28px!important;background:rgba(255,255,255,.95)!important}.member-medal{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;border:8px solid #e7f9dc;background:linear-gradient(145deg,#0da74c,#075b2b);color:#fff;font-size:1.65rem;font-weight:900}.member-copy h2{margin:2px 0 3px!important;color:#0ca448!important}.member-copy .muted{margin:0 0 10px!important}.preview-membership #lifetimePoints{color:#0b9945!important;text-align:right}
.preview-history{margin-top:28px!important}.preview-expiry{margin-top:18px!important}.preview-bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,720px);display:grid;grid-template-columns:repeat(3,1fr);padding:11px 16px calc(11px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-top:1px solid #dce7de;border-radius:24px 24px 0 0;box-shadow:0 -12px 35px rgba(35,90,48,.08)}
.preview-bottom-nav button{position:relative;border:0;background:none;color:#4e5952;font-weight:800;padding:4px;cursor:pointer}.preview-bottom-nav button span{display:block;font-size:1.55rem;line-height:1}.preview-bottom-nav button.active{color:#069744}.preview-bottom-nav button.active:after{content:"";position:absolute;width:28px;height:4px;border-radius:9px;background:#0eac4c;bottom:-6px;left:50%;transform:translateX(-50%)}
@media(max-width:520px){.brand-logo{width:56px!important;height:56px!important;flex-basis:56px!important}.preview-points{gap:10px!important;padding:17px 14px!important}.points-coin{width:62px;height:62px;border-width:7px}.points-coin span{font-size:1.6rem!important}.preview-points .points-copy strong{font-size:3rem!important}.preview-points .points-copy span{font-size:.95rem!important}.preview-scan{width:88px!important;height:88px!important;border-radius:20px!important}.preview-scan span{font-size:1.75rem!important}.preview-scan b{font-size:.75rem!important}.preview-rewards{margin-top:30px!important}.preview-rewards .section-heading h2{font-size:1.4rem!important}.reward-journey{margin-left:15%;margin-right:15%}.preview-rewards .reward-rail{grid-auto-columns:minmax(158px,72%)!important}.preview-membership{grid-template-columns:auto 1fr!important;padding:17px!important}.preview-membership #lifetimePoints{grid-column:2;text-align:left}.member-medal{width:58px;height:58px;border-width:6px}.preview-bottom-nav{width:100%}}

/* Preview parity correction: neutralize legacy vertical reward-path rules */
body .preview-rewards{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body .preview-rewards .reward-rail{position:relative!important;display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(180px,31%)!important;flex-direction:initial!important;align-items:stretch!important;gap:14px!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:18px 2px 14px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;scroll-snap-type:x mandatory!important;counter-reset:none!important}
body .preview-rewards .reward-rail:before,body .preview-rewards .reward-rail:after{display:none!important;content:none!important}
body .preview-rewards .reward-card,body .preview-rewards .reward-card:nth-child(odd),body .preview-rewards .reward-card:nth-child(even),body .preview-rewards .reward-card:last-child{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;order:initial!important;align-self:stretch!important;justify-self:stretch!important;width:auto!important;max-width:none!important;min-height:230px!important;margin:0!important;padding:13px!important;transform:none!important;border-radius:23px!important;background:#fff!important;border:1px solid #dfeae1!important;box-shadow:0 12px 30px rgba(31,97,48,.08)!important;scroll-snap-align:start!important}
body .preview-rewards .reward-card:first-child{border:2px solid #95df3c!important}
body .preview-rewards .reward-card:before,body .preview-rewards .reward-card:after,body .preview-rewards .reward-card:nth-child(odd):before,body .preview-rewards .reward-card:nth-child(even):before{display:none!important;content:none!important}
body .preview-rewards .reward-icon{width:100%!important;min-height:118px!important;margin:10px 0!important;padding:12px!important;background:radial-gradient(circle,#d9ff7f,#f0fae5)!important;border-radius:18px!important;box-shadow:none!important}
body .preview-rewards .reward-card button{width:100%!important;margin-top:auto!important;background:linear-gradient(135deg,#0faf4d,#24cc5e)!important;border-radius:14px!important}
body .topbar .brand-logo{display:block!important;width:72px!important;height:72px!important;flex:0 0 72px!important;object-fit:contain!important;padding:2px!important;background:#fff!important;border-radius:19px!important;opacity:1!important;visibility:visible!important}
@media(max-width:520px){body .preview-rewards .reward-rail{grid-auto-columns:minmax(158px,72%)!important;height:auto!important;max-height:none!important;padding-left:2px!important;padding-right:2px!important;gap:10px!important}body .preview-rewards .reward-card,body .preview-rewards .reward-card:nth-child(odd),body .preview-rewards .reward-card:nth-child(even),body .preview-rewards .reward-card:last-child{width:auto!important;min-height:215px!important;padding:11px!important}body .topbar .brand-logo{width:62px!important;height:62px!important;flex-basis:62px!important}}

/* Exact preview cleanup */
body .preview-points:before,body .preview-points:after{display:none!important;content:none!important}
body .preview-rewards:before,body .preview-rewards:after{display:none!important;content:none!important}
body .preview-rewards .section-heading>span{font-size:inherit!important;color:#07883f!important}
body .preview-rewards .section-heading>span:after,body .preview-rewards .section-heading h2:after{display:none!important;content:none!important}
body .preview-membership:before,body .preview-membership:after{display:none!important;content:none!important}
body .preview-expiry{display:none!important}
body .preview-history{margin-bottom:8px!important}


body .points-coin.coin-photo{display:block!important;padding:0!important;border:0!important;background:#fff!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(88,101,24,.22)!important}
body .points-coin.coin-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
@media(max-width:520px){body .points-coin.coin-photo{width:64px!important;height:64px!important}}


body .member-medal.member-medal-photo{display:block!important;width:82px!important;height:82px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fff!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(18,92,45,.18)!important}
body .member-medal.member-medal-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
@media(max-width:520px){body .member-medal.member-medal-photo{width:68px!important;height:68px!important}}


body .preview-rewards .reward-icon.reward-photo{display:block!important;width:100%!important;height:138px!important;min-height:138px!important;padding:8px!important;overflow:hidden!important;background:#fff!important;border:1px solid #e7eee8!important}
body .preview-rewards .reward-icon.reward-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:13px!important}
@media(max-width:520px){body .preview-rewards .reward-icon.reward-photo{height:122px!important;min-height:122px!important;padding:6px!important}}


.loading-screen{background:radial-gradient(circle at 50% 35%,#f3ffd9 0,#eef8ee 46%,#e9f2ea 100%)!important}
.mascot-loader{width:190px;height:190px;margin:0 auto 18px;display:grid;place-items:center;overflow:hidden;border-radius:42px;background:#fff;box-shadow:0 20px 48px rgba(12,104,48,.16);animation:mascotWait 1.8s ease-in-out infinite}
.mascot-loader img{display:block;width:100%;height:100%;object-fit:contain}
.loading-screen>p{color:#116b38!important;font-weight:800!important;letter-spacing:.02em}
@keyframes mascotWait{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}
@media(max-width:520px){.mascot-loader{width:168px;height:168px;border-radius:36px}}

/* Redemption delivery status */
.delivery-note{margin:2px 0 13px;padding:9px 12px;border-radius:12px;background:#f4f8f4;color:#55705d;font-size:.78rem;line-height:1.45}
.history-row{align-items:center;gap:12px}
.history-detail{min-width:0}
.redemption-status{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:7px 10px;border-radius:999px;font-size:.76rem;font-weight:800;white-space:nowrap}
.redemption-status em{font-style:normal;color:inherit}
.status-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:.82rem;line-height:1;background:rgba(255,255,255,.72)}
.redemption-status.status-new{background:#fde8e7;color:#b42318}
.redemption-status.status-shipping{background:#fff4cc;color:#8a5a00}
.redemption-status.status-delivered{background:#e4f4e8;color:#16703a}
.redemption-status.status-cancelled{background:#eef1ef;color:#66736a}
@media(max-width:520px){.history-row{align-items:flex-start;flex-direction:column}.redemption-status{align-self:flex-start}.delivery-note{font-size:.75rem}}


/* Mobile document safety */
html,body{max-width:100%;overflow-x:hidden}


/* GEN-Y mobile refinement 2026-09-08: retain current green/gold theme. */
button,input,select,textarea{font-family:inherit}
*,*::before,*::after{box-sizing:border-box}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #93ca43;outline-offset:3px}
button:disabled{cursor:not-allowed}
body .preview-dashboard{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
body .preview-expiry{display:block!important}
#expiryText{display:none!important}
body .preview-bottom-nav{box-sizing:border-box;max-width:100%;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
body .preview-bottom-nav button{min-height:44px;font-size:.82rem}
body .points-copy{min-width:0}
body .preview-points .points-copy strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body .preview-rewards .reward-rail{scroll-snap-type:x proximity!important;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#96c9a4 transparent;-webkit-overflow-scrolling:touch}
body .preview-rewards .reward-card button{min-height:44px;transition:filter .16s ease,transform .16s ease}
body .preview-rewards .reward-card button:active:not(:disabled){transform:scale(.98)!important}
body .membership-dialog .membership-level{box-shadow:0 5px 18px rgba(22,80,45,.05)}
body .membership-dialog .membership-level-head strong{font-size:.78rem;white-space:normal;text-align:right}
body .membership-dialog .membership-select{display:block;width:100%;min-height:44px;padding:9px 14px;margin-top:12px;border:1px solid #bddbc6;border-radius:12px;background:#eff8f0;color:#175b35;font-size:.87rem;font-weight:700}
body .membership-dialog .membership-select[aria-pressed="true"]{background:#175b35;color:white;border-color:#175b35}
body #upgradeMembershipButton{min-height:48px;white-space:normal;line-height:1.5}
body .redemption-status{max-width:100%;white-space:normal}
body .history-detail{overflow-wrap:anywhere}
@media(max-width:520px){
 body .topbar{gap:10px!important;padding:15px 14px!important;flex-wrap:wrap}
 body .topbar .brand-logo{width:50px!important;height:50px!important;flex-basis:50px!important;border-radius:14px!important}
 body .topbar h1{font-size:clamp(1.2rem,5vw,1.55rem)!important;line-height:1.3}
 body .preview-points{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;border-radius:24px!important}
 body .preview-points .points-copy strong{font-size:clamp(1.85rem,8.8vw,3rem)!important;line-height:1.15}
 body .preview-points .points-copy span{font-size:.82rem!important}
 body .preview-scan{width:76px!important;height:80px!important;min-width:0!important;border-radius:18px!important}
 body .points-coin.coin-photo{width:52px!important;height:52px!important}
 body .membership-dialog form{padding-bottom:calc(20px + env(safe-area-inset-bottom))!important}
 body .membership-dialog .membership-level{padding:14px!important;border-radius:18px!important}
 body .membership-dialog .membership-level ul{font-size:.88rem;line-height:1.55}
 body .membership-dialog .modal-close{width:44px;height:44px}
 body input,body select,body textarea{font-size:16px;min-width:0;max-width:100%}
 body .history-row{gap:8px;padding-top:14px;padding-bottom:14px}
}

/* Navigation pages and in-app notifications */
html body #homePage.hidden{display:none!important}
html body #rewardsPage:not(.hidden),html body #historyPage:not(.hidden){display:block!important;min-height:calc(100dvh - 210px);padding:10px 0 92px}
html body #profilePage:not(.hidden){display:block!important;min-height:calc(100dvh - 210px);padding:10px 0 92px}
html body #rewardsPage .preview-rewards,html body #historyPage .preview-history{margin:0!important;padding:22px!important;border:1px solid rgba(10,83,43,.10);border-radius:26px;background:rgba(255,255,255,.94);box-shadow:0 16px 40px rgba(7,65,34,.10)}
.header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;align-self:flex-start}
.notification-button{position:relative;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.13);color:#fff;cursor:pointer}
.notification-button svg{width:25px;height:25px}.notification-button:hover{background:rgba(255,255,255,.2)}
.notification-badge{position:absolute;right:-2px;top:-2px;display:block;width:11px;min-width:11px;height:11px;padding:0;border:2px solid #fff;border-radius:50%;background:#ef3f46;color:transparent;font-size:0;box-shadow:0 2px 7px rgba(125,0,0,.28)}
.notification-dialog{width:min(calc(100% - 28px),460px);max-height:min(76dvh,680px);padding:0;border:0;border-radius:28px;background:#f6fbf5;box-shadow:0 28px 80px rgba(1,31,16,.34);overflow:hidden}
.notification-dialog::backdrop{background:rgba(3,35,19,.58);backdrop-filter:blur(5px)}
.notification-panel>header{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 17px;background:linear-gradient(135deg,#075a34,#15964c);color:#fff}.notification-panel header .eyebrow{color:#d8ff43}.notification-panel header h2{margin:3px 0 0;font-size:1.45rem}.notification-panel header button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:1.65rem;line-height:1;cursor:pointer}
.notification-list{display:grid;gap:10px;max-height:calc(76dvh - 100px);padding:16px;overflow:auto}.notification-item{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:15px;border:1px solid #dfeadf;border-radius:19px;background:#fff}.notification-item-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e8f8ec;color:#08713d;font-size:1.25rem}.notification-item-icon.clock{background:#fff6d8;color:#9b6711}.notification-item strong{display:block;color:#0a4b2d;font-size:1rem}.notification-item p{margin:4px 0;color:#52655a;font-size:.85rem;line-height:1.45}.notification-item time{color:#89978f;font-size:.72rem}.notification-empty{padding:42px 20px;text-align:center;color:#53675c}.notification-empty span{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 13px;border-radius:50%;background:#e5f6e8;color:#078241;font-size:1.65rem}.notification-empty strong{display:block;color:#174d32}.notification-empty p{margin:7px 0 0;font-size:.84rem;line-height:1.5}
@media(max-width:520px){.header-actions{gap:7px}.notification-button{width:42px;height:42px;border-radius:14px}.notification-button svg{width:23px;height:23px}html body #rewardsPage .preview-rewards,html body #historyPage .preview-history{padding:17px!important;border-radius:22px}.notification-dialog{border-radius:24px}}
.preview-bottom-nav{grid-template-columns:repeat(4,1fr)!important}.preview-bottom-nav:has(#adminNavButton:not(.hidden)){grid-template-columns:repeat(5,1fr)!important}
.profile-page-card{overflow:hidden;border:1px solid rgba(10,83,43,.11);border-radius:28px;background:rgba(255,255,255,.95);box-shadow:0 18px 46px rgba(7,65,34,.11)}
.profile-page-hero{display:flex;align-items:center;gap:16px;padding:25px;background:linear-gradient(135deg,#075a34,#14964c);color:#fff}.profile-page-hero .eyebrow{color:#d8ff43}.profile-page-hero h2{margin:4px 0 9px;font-size:1.45rem}.profile-page-avatar{position:relative;display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;overflow:hidden;border:3px solid rgba(255,255,255,.9);border-radius:24px;background:#eaf7ec;color:#075a34;font-size:1.9rem;font-weight:900}.profile-page-avatar img{width:100%;height:100%;object-fit:cover}.profile-tier{display:inline-flex;padding:5px 11px;border-radius:99px;background:#d8ff43;color:#164b2d;font-size:.72rem;font-weight:900;letter-spacing:.06em}.profile-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:18px}.profile-detail-grid article{min-width:0;padding:15px;border:1px solid #e1ebe2;border-radius:17px;background:#f8fbf7}.profile-detail-grid span{display:block;margin-bottom:5px;color:#75847b;font-size:.72rem}.profile-detail-grid strong{display:block;color:#123f28;font-size:.92rem;line-height:1.45;overflow-wrap:anywhere}.profile-detail-wide{grid-column:1/-1}.profile-line-note{margin:0;padding:0 20px 20px;color:#7a8980;font-size:.76rem;text-align:center}
@media(max-width:520px){.preview-bottom-nav button{font-size:.64rem!important}.profile-page-card{border-radius:23px}.profile-page-hero{padding:20px}.profile-page-avatar{flex-basis:68px;width:68px;height:68px;border-radius:21px}.profile-detail-grid{grid-template-columns:1fr;padding:14px}.profile-detail-wide{grid-column:auto}}

/* Header stack, expiry clock and notification types */
.header-actions .tier-badge{margin:0!important;max-width:132px!important}
.notification-item-icon{font-weight:900}.notification-item-icon.point{background:#e8f8ec;color:#08713d}.notification-item-icon.tier{background:#e8f1ff;color:#175a9f}
.profile-line-note strong{color:#08713d}
html body .expiry-toggle>span:first-child{display:flex!important;align-items:center!important;gap:11px!important;padding-left:0!important}
html body .expiry-toggle>span:first-child::before{display:none!important}
.expiry-clock{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:12px!important;background:#e7f5ea!important;color:#08713d!important}
.expiry-clock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:520px){.header-actions{gap:6px}.notification-button{width:40px;height:40px}.header-actions .tier-badge{max-width:118px!important}}

/* Notification rows without decorative icons; keep the stacked header actions fully visible. */
.notification-item{display:block!important;padding:17px 18px!important}
.notification-item.is-new{position:relative;padding-right:42px!important;border-color:#f0c7c9!important;background:#fffdfd!important}
.notification-item.is-new::after{content:"";position:absolute;right:18px;top:20px;width:10px;height:10px;border-radius:50%;background:#ef3f46;box-shadow:0 0 0 4px rgba(239,63,70,.11)}
.header-actions{flex:0 0 auto!important;min-width:max-content!important;padding-right:1px!important}
.header-actions .tier-badge{width:auto!important;min-width:104px!important;max-width:none!important;overflow:visible!important;white-space:nowrap!important;justify-content:center!important}
@media(max-width:520px){
 .topbar{flex-wrap:nowrap!important;align-items:flex-start!important}
 .brand-lockup{flex:1 1 auto!important;min-width:0!important}
 .header-actions{min-width:104px!important}
 .header-actions .tier-badge{min-width:104px!important;padding-left:12px!important;padding-right:12px!important}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Prevent the page behind an open dialog from scrolling. */
body:has(dialog[open]){overflow:hidden!important}
/* Dashboard tabs and compact mobile home — 2026-09-08 */
.dashboard-page.hidden{display:none!important}
.dashboard-page{animation:dashboardPageIn .24s ease both;min-width:0}
.promo-slider{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:100%!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;overscroll-behavior-x:contain}.promo-slider::-webkit-scrollbar{display:none}.promo-slide{scroll-snap-align:start!important;min-width:100%!important}.promo-slide img{display:block;width:100%;height:auto;border-radius:20px}.promo-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}.promo-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#c9decf;cursor:pointer;transition:width .2s ease,background .2s ease}.promo-dots button.active{width:24px;background:#13a44d}
.history-reward{display:flex;align-items:center;gap:12px;min-width:0}.history-reward>img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:13px;background:#eef6ef;border:1px solid #dbe9dd}.history-reward>div{min-width:0}
@keyframes dashboardPageIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.preview-dashboard{overflow-x:hidden!important;padding-bottom:98px!important}
.preview-membership{cursor:pointer;grid-template-columns:auto minmax(0,1fr)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.preview-membership:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(20,76,42,.13)!important}
.preview-membership:active{transform:scale(.99)}
.preview-membership:focus-visible{outline:3px solid rgba(12,167,76,.28);outline-offset:3px}
.expiry-collapsible{padding:0!important;overflow:hidden!important;margin:14px 0 18px!important}
.expiry-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border:0;background:transparent;color:#123c27;text-align:left;cursor:pointer;font-family:inherit}
.expiry-toggle span:first-child{display:grid;gap:2px}.expiry-toggle small{font-size:.67rem;letter-spacing:.17em;color:#079746;font-weight:900}.expiry-toggle strong{font-size:1.05rem}
.expiry-chevron{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#e9f6e9;color:#08743c;font-size:1.4rem;transition:transform .2s ease}
.expiry-toggle[aria-expanded="true"] .expiry-chevron{transform:rotate(180deg)}
.expiry-content{padding:0 20px 20px}.expiry-content.hidden{display:none!important}
.preview-bottom-nav button{transition:color .18s ease,transform .18s ease}.preview-bottom-nav button:active{transform:scale(.96)}
.nav-icon{display:flex!important;align-items:center;justify-content:center;height:36px;color:#2e7950}.nav-icon svg{display:block;width:34px;height:34px}.preview-bottom-nav button.active .nav-icon{color:#069744}.scan-art{display:block;flex:0 0 auto;color:#08743c}
.membership-dialog,.membership-dialog form{overflow-x:hidden!important}.membership-dialog form>*{max-width:100%;box-sizing:border-box}.membership-levels{min-width:0!important}
@media(max-width:520px){.preview-dashboard{padding-left:12px!important;padding-right:12px!important}.expiry-toggle{padding:15px 16px}.expiry-content{padding:0 16px 16px}.preview-membership{padding:15px!important;gap:12px!important}.member-copy{min-width:0}.member-copy h2,.member-copy .muted{overflow-wrap:anywhere}.preview-bottom-nav{padding-left:8px!important;padding-right:8px!important}.preview-bottom-nav button{font-size:.78rem!important}}

/* ===== HEADER COVER ===== */
body .topbar{position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;flex-wrap:nowrap!important;min-height:165px!important;margin-bottom:18px!important;padding:16px 18px!important;overflow:hidden!important;isolation:isolate!important;background:#e8f3e9!important;border-radius:0 0 26px 26px!important}
body .topbar .header-cover-image{position:absolute!important;inset:0!important;z-index:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 28%!important}
body .topbar::before{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;display:block!important;width:auto!important;height:auto!important;border-radius:0!important;background:linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.48) 45%,rgba(255,255,255,.08) 100%)!important;pointer-events:none!important}
body .topbar::after{display:none!important}
body .topbar .brand-lockup{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;align-self:flex-end!important;gap:12px!important;margin:0!important;padding:9px 13px!important;background:rgba(255,255,255,.90)!important;border:1px solid rgba(255,255,255,.82)!important;border-radius:20px!important;box-shadow:0 8px 22px rgba(5,55,34,.14)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}
body .topbar .brand-logo{display:block!important;width:66px!important;height:66px!important;flex:0 0 66px!important;padding:4px!important;object-fit:contain!important;background:rgba(255,255,255,.94)!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(5,55,34,.16)!important}
body .topbar .brand-lockup .eyebrow{margin:0 0 2px!important;color:#17673f!important;font-size:.68rem!important;text-shadow:0 1px 3px rgba(255,255,255,.9)!important}
body .topbar .brand-lockup h1{margin:0!important;color:#123d29!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;-webkit-text-fill-color:#123d29!important;font-size:1.55rem!important;line-height:1.2!important;text-shadow:0 1px 4px rgba(255,255,255,.9)!important}
body .topbar .tier-badge{position:relative!important;z-index:2!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;align-self:flex-end!important;transform:translateY(7px)!important;width:auto!important;max-width:45%!important;margin:0!important;padding:11px 17px!important;background:rgba(255,255,255,.94)!important;color:#173b27!important;border:1px solid rgba(23,63,42,.10)!important;border-radius:999px!important;box-shadow:0 8px 22px rgba(5,55,34,.16)!important}
@media(max-width:520px){body .topbar{min-height:145px!important;margin-left:-13px!important;margin-right:-13px!important;padding:13px!important;gap:10px!important;border-radius:0 0 22px 22px!important}body .topbar .brand-lockup{gap:9px!important;min-width:0!important;padding:7px 9px!important;border-radius:17px!important}body .topbar .brand-logo{width:56px!important;height:56px!important;flex-basis:56px!important;border-radius:15px!important}body .topbar .brand-lockup h1{font-size:1.22rem!important;white-space:nowrap!important}body .topbar .brand-lockup .eyebrow{font-size:.58rem!important}body .topbar .tier-badge{flex:0 1 auto!important;max-width:42%!important;padding:9px 12px!important;font-size:.62rem!important;transform:translateY(5px)!important}}

/* GEN-Y modern polish 2026-10-20 — visual-only, no application behavior changes */
body{background:radial-gradient(circle at 85% -5%,rgba(190,255,91,.28),transparent 32rem),linear-gradient(180deg,#f7faf6 0%,#edf5ef 100%)!important}
body .app{width:min(100%,760px)!important;padding-left:16px!important;padding-right:16px!important}
body .topbar{border:1px solid rgba(255,255,255,.72)!important;box-shadow:0 22px 55px rgba(15,72,43,.13)!important}
body .preview-dashboard{display:grid;gap:18px!important}
body .dashboard-page{animation:modernPageIn .3s ease both}
@keyframes modernPageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
body .preview-points{position:relative!important;overflow:hidden!important;border:1px solid rgba(13,126,61,.12)!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,253,248,.94))!important;box-shadow:0 18px 48px rgba(18,83,48,.10)!important}
body .preview-points:after{content:""!important;display:block!important;position:absolute!important;right:-55px!important;bottom:-74px!important;width:180px!important;height:180px!important;border:30px solid rgba(23,190,80,.055)!important;border-radius:50%!important;pointer-events:none!important}
body .preview-points>*{position:relative;z-index:1}
body .preview-scan{border:1px solid rgba(255,255,255,.32)!important;background:linear-gradient(145deg,#21d268 0%,#079c45 72%,#057235 100%)!important;box-shadow:0 14px 28px rgba(7,146,62,.24),inset 0 1px rgba(255,255,255,.28)!important;transition:transform .18s ease,box-shadow .18s ease!important}
body .preview-scan:hover{transform:translateY(-2px)!important;box-shadow:0 18px 34px rgba(7,146,62,.29)!important}
body .preview-scan:active{transform:scale(.97)!important}
body .expiry-collapsible,body .preview-membership,body .history-section{border:1px solid rgba(20,105,55,.10)!important;border-radius:24px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 12px 36px rgba(21,73,43,.07)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
body .expiry-collapsible{margin:0!important}
body .expiry-toggle{min-height:68px!important}
body .preview-membership{margin:0!important;transition:transform .18s ease,box-shadow .18s ease!important}
body .preview-membership:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(21,73,43,.11)!important}
body .progress-track{height:8px!important;background:#e7eee8!important;box-shadow:inset 0 1px 2px rgba(20,70,40,.08)!important}
body .progress-fill{background:linear-gradient(90deg,#08793b,#18bf5d 65%,#c7ef42)!important;box-shadow:0 0 14px rgba(24,191,93,.28)!important}
body .promo-section{margin-top:8px!important;padding:4px 2px 18px!important}
body .promo-heading{align-items:end!important;margin-bottom:14px!important}.promo-heading h2{font-size:1.55rem!important;letter-spacing:-.025em!important}
body .promo-slider{gap:14px!important;border-radius:24px!important}.promo-slide{overflow:hidden!important;border-radius:24px!important;background:#fff!important;box-shadow:0 14px 36px rgba(17,71,41,.10)!important}.promo-slide img{transition:transform .45s ease!important}.promo-slide:hover img{transform:scale(1.015)!important}
body .preview-bottom-nav{bottom:12px!important;width:min(calc(100% - 28px),700px)!important;padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;border:1px solid rgba(20,105,55,.12)!important;border-radius:22px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 16px 42px rgba(12,60,35,.16)!important}
body .preview-bottom-nav button{border-radius:15px!important;transition:background .18s ease,color .18s ease,transform .18s ease!important}.preview-bottom-nav button.active{background:#edf9ef!important}.preview-bottom-nav button.active:after{bottom:1px!important}
body .preview-rewards .reward-card{border-color:rgba(20,111,57,.11)!important;border-radius:25px!important;box-shadow:0 15px 38px rgba(23,82,47,.09)!important;transition:transform .18s ease,box-shadow .18s ease!important}.preview-rewards .reward-card:hover{transform:translateY(-3px)!important;box-shadow:0 20px 44px rgba(23,82,47,.13)!important}
@media(max-width:520px){body .app{padding-left:12px!important;padding-right:12px!important}body .preview-dashboard{gap:14px!important}body .preview-points{padding:17px 13px!important;border-radius:24px!important}body .preview-scan{width:82px!important;height:84px!important}body .expiry-collapsible,body .preview-membership,body .history-section{border-radius:21px!important}body .promo-heading h2{font-size:1.38rem!important}body .preview-bottom-nav{bottom:8px!important;width:calc(100% - 20px)!important;border-radius:20px!important}}

/* Membership refinement 2026-10-20 — presentation only */
body .topbar .tier-badge::after{content:none!important;display:none!important}
body .topbar .tier-badge{gap:7px!important;white-space:nowrap!important;line-height:1!important}
body .membership-dialog{padding:18px!important;background:rgba(5,27,17,.58)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
body .membership-dialog form{width:min(94vw,660px)!important;max-height:min(92dvh,860px)!important;padding:0 26px 28px!important;border:1px solid rgba(255,255,255,.64)!important;border-radius:32px!important;background:radial-gradient(circle at 95% 4%,rgba(190,240,47,.22),transparent 16rem),linear-gradient(180deg,#fafff5 0%,#f3f8f3 100%)!important;box-shadow:0 32px 90px rgba(4,40,21,.34)!important;scrollbar-width:thin;scrollbar-color:#8dbb99 transparent}
body .membership-dialog form::before{content:"GEN-Y CLUB · MEMBERSHIP"!important;margin:0 -26px 0!important;padding:30px 26px 58px!important;background:radial-gradient(circle at 90% 0,rgba(197,244,59,.24),transparent 44%),linear-gradient(135deg,#075f2d,#109348 70%,#33b95d)!important;color:#d9f758!important;font-size:.69rem!important;letter-spacing:.18em!important}
body .membership-dialog form::after{content:"สิทธิ์สมาชิกถาวร · ไม่มีวันหมดอายุ"!important;top:57px!important;left:26px!important;color:rgba(255,255,255,.94)!important;font-size:.82rem!important}
body .membership-dialog form>*:not(.modal-close){margin-left:0!important;margin-right:0!important}
body .membership-dialog .modal-close{top:19px!important;right:19px!important;width:40px!important;height:40px!important;border:1px solid rgba(255,255,255,.30)!important;background:rgba(255,255,255,.14)!important;box-shadow:0 8px 22px rgba(3,44,22,.16)!important;backdrop-filter:blur(8px)!important}
body .membership-back{margin-top:18px!important;padding:9px 13px!important;border:1px solid #d8e9da!important;border-radius:999px!important;background:#fff!important;color:#08753a!important;box-shadow:0 6px 16px rgba(20,76,42,.07)!important}
body .membership-dialog>.unused{display:none}
body .membership-dialog form>.eyebrow{margin-top:22px!important;color:#0ba04a!important;font-size:.67rem!important;letter-spacing:.17em!important}
body .membership-dialog form>h2{margin:5px 0 15px!important;color:#123d28!important;font-size:1.72rem!important;letter-spacing:-.035em!important}
body .membership-current{margin:0 0 20px!important;padding:18px 20px 18px 56px!important;border:1px solid rgba(20,116,58,.12)!important;border-radius:20px!important;background:linear-gradient(135deg,#0a7136,#16a34f)!important;box-shadow:0 14px 30px rgba(9,105,48,.18)!important;color:#fff!important}
body .membership-current::before{left:18px!important;width:27px!important;height:27px!important;background:#dafa55!important;color:#075f2d!important}
body .membership-upgrade-note{margin:0!important;padding:19px 20px!important;border:1px solid rgba(21,105,55,.10)!important;border-radius:20px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 10px 28px rgba(23,73,42,.06)!important}
body .membership-upgrade-note h3{margin:0 0 9px!important;color:#143d28!important;font-size:1.08rem!important}
body .membership-upgrade-note p{margin:8px 0!important;color:#586b60!important;line-height:1.65!important}
body .membership-upgrade-note strong{color:#087b3b!important}
body .membership-levels{gap:13px!important;margin:17px 0 16px!important;padding:0!important}
body .membership-level{padding:19px 19px!important;border:1px solid rgba(30,94,52,.11)!important;border-radius:21px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 10px 27px rgba(25,75,43,.065)!important}
body .membership-level::before{right:-42px!important;top:-47px!important;width:120px!important;height:120px!important;background:rgba(135,151,157,.12)!important}
body .membership-level:nth-child(2){background:linear-gradient(145deg,#fffdf8,#fff8e9)!important}.membership-level:nth-child(2)::before{background:rgba(232,183,58,.18)!important}
body .membership-level:nth-child(3){background:linear-gradient(145deg,#fbfcfc,#eef3f3)!important}.membership-level:nth-child(3)::before{background:rgba(89,111,117,.16)!important}
body .membership-level.current{border:2px solid #23ad5a!important;background:linear-gradient(145deg,#fbfff9,#eaf9ed)!important;box-shadow:0 14px 34px rgba(22,137,66,.14)!important}
body .membership-level h3{margin:0 0 8px!important;color:#153e29!important;font-size:1.28rem!important}
body .membership-level ul{margin:0!important;padding:0 58px 0 19px!important;color:#65756c!important;line-height:1.65!important}
body .membership-level button{border-radius:14px!important;background:linear-gradient(135deg,#c9f43b,#a8e92e)!important;color:#174122!important;box-shadow:0 8px 20px rgba(90,143,34,.14)!important}
body .membership-dialog #upgradeMembershipButton{min-height:50px!important;border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#20c85d,#078c40)!important;color:#fff!important;font-weight:900!important;box-shadow:0 12px 26px rgba(8,135,60,.2)!important}
body .membership-dialog .fine-print{margin:12px 0 0!important;color:#77837c!important;text-align:center!important;font-size:.76rem!important}
/* Mobile visual refinement 2026-10-20 — layout only */
@media(max-width:520px){
 html body{background:radial-gradient(circle at 92% 3%,rgba(202,246,66,.28),transparent 18rem),linear-gradient(180deg,#f8fcf5 0%,#edf6ef 100%)!important}
 body .app{padding:0 13px 106px!important}
 body .topbar{min-height:132px!important;margin:0 -13px 13px!important;padding:12px 14px!important;border-radius:0 0 26px 26px!important;box-shadow:0 14px 34px rgba(12,75,41,.12)!important}
 body .topbar::before{background:linear-gradient(90deg,rgba(255,255,255,.91) 0%,rgba(255,255,255,.53) 48%,rgba(255,255,255,.12) 100%)!important}
 body .topbar .brand-lockup{padding:7px 10px!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(8,68,38,.13)!important}
 body .topbar .brand-logo{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:15px!important}
 body .topbar .brand-lockup h1{font-size:1.14rem!important}
 body .topbar .tier-badge{padding:10px 13px!important;border:1px solid rgba(8,103,47,.10)!important;box-shadow:0 8px 22px rgba(9,76,42,.13)!important}
 body .preview-dashboard{gap:12px!important}
 body .preview-points{min-height:150px!important;padding:18px 15px!important;border-radius:26px!important;background:radial-gradient(circle at 92% 16%,rgba(196,241,63,.16),transparent 40%),linear-gradient(145deg,#fff,#f7fcf8)!important;box-shadow:0 15px 36px rgba(17,80,45,.09)!important}
 body .preview-points .points-copy{gap:2px!important}
 body .preview-points .points-copy p{font-size:.88rem!important;color:#688076!important}
 body .preview-points .points-copy strong{font-size:3.15rem!important;letter-spacing:-.06em!important;color:#0aa34b!important}
 body .preview-points .points-copy>span{font-size:1rem!important;color:#557066!important;font-weight:800!important}
 body .preview-scan{width:88px!important;height:92px!important;border-radius:24px!important;background:linear-gradient(145deg,#20d166,#079c45 68%,#067235)!important;box-shadow:0 14px 28px rgba(4,133,55,.23),inset 0 1px rgba(255,255,255,.3)!important}
 body .preview-scan .scan-art{width:48px!important;height:48px!important;padding:6px!important;border-radius:16px!important;background:rgba(255,255,255,.96)!important;color:#087b3d!important}
 body .preview-scan span:last-child{font-size:.72rem!important;letter-spacing:.02em!important}
 body .expiry-collapsible,body .preview-membership{border-radius:22px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 10px 28px rgba(22,72,43,.065)!important}
 body .expiry-toggle{min-height:64px!important;padding:14px 16px!important}
 body .expiry-chevron{width:36px!important;height:36px!important;background:linear-gradient(145deg,#eff9e9,#e4f4e7)!important}
 body .preview-membership{padding:16px!important;gap:13px!important}
 body .preview-membership .member-medal{width:72px!important;height:72px!important;filter:drop-shadow(0 8px 11px rgba(20,70,40,.13))!important}
 body .member-copy h2{font-size:1.42rem!important;letter-spacing:-.025em!important}
 body .member-copy .muted{font-size:.8rem!important;line-height:1.45!important}
 body .promo-section{padding:7px 1px 10px!important}
 body .promo-heading{display:grid!important;gap:5px!important;margin-bottom:12px!important}
 body .promo-heading h2{font-size:1.48rem!important;line-height:1.16!important}
 body .promo-heading>span{font-size:.78rem!important}
 body .promo-slider,body .promo-slide,body .promo-slide img{border-radius:22px!important}
 body .promo-slide{border:1px solid rgba(20,98,51,.08)!important;box-shadow:0 13px 34px rgba(18,73,40,.09)!important}
 body .preview-bottom-nav{bottom:9px!important;width:calc(100% - 18px)!important;padding:8px 7px calc(8px + env(safe-area-inset-bottom))!important;border:1px solid rgba(13,104,48,.11)!important;border-radius:24px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 16px 38px rgba(8,58,31,.18)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
 body .preview-bottom-nav button{min-height:56px!important;border-radius:17px!important;font-size:.76rem!important}
 body .preview-bottom-nav button.active{background:linear-gradient(145deg,#effbea,#e8f8ec)!important;color:#079746!important}
 body .preview-bottom-nav button.active::after{width:24px!important;height:3px!important;border-radius:99px!important;background:#12ae50!important}
 body .nav-icon{height:30px!important}body .nav-icon svg{width:29px!important;height:29px!important}
}

/* Mobile redesign 2026-10-21 — bold GEN-Y Club direction */
@media(max-width:520px){
 html body{background:#f2f6ef!important;color:#103c27!important}
 body .app{padding:0 12px 108px!important}
 body .topbar{position:relative;min-height:176px!important;margin:0 -12px 14px!important;padding:20px 16px 54px!important;border-radius:0 0 32px 32px!important;background:linear-gradient(135deg,#073a22 0%,#096036 58%,#0b7b43 100%)!important;box-shadow:0 18px 42px rgba(4,55,30,.25)!important;overflow:hidden!important}
 body .topbar::before{content:""!important;position:absolute!important;inset:0!important;background:radial-gradient(circle at 88% 8%,rgba(202,246,66,.38),transparent 28%),linear-gradient(120deg,transparent 45%,rgba(255,255,255,.07))!important}
 body .topbar::after{content:"GEN-Y  CLUB"!important;position:absolute!important;right:17px!important;bottom:18px!important;color:rgba(255,255,255,.44)!important;font-size:.68rem!important;font-weight:900!important;letter-spacing:.24em!important}
 body .topbar .brand-lockup{position:relative!important;z-index:1!important;padding:8px 11px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:20px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 12px 28px rgba(0,27,14,.22)!important}
 body .topbar .brand-logo{width:50px!important;height:50px!important;flex-basis:50px!important;border-radius:15px!important}
 body .topbar .brand-lockup p{color:#16804a!important;letter-spacing:.16em!important}
 body .topbar .brand-lockup h1{color:#073a22!important;font-size:1.08rem!important}
 body .topbar .tier-badge{position:relative!important;z-index:1!important;padding:11px 14px!important;border:1px solid rgba(255,255,255,.5)!important;border-radius:999px!important;background:#d9fa4b!important;color:#123d27!important;box-shadow:0 10px 22px rgba(0,35,17,.22)!important;font-weight:900!important}
 body .topbar .tier-badge span:first-child{color:#16864b!important}
 body .preview-dashboard{position:relative!important;margin-top:-42px!important;gap:12px!important}
 body .preview-points{min-height:170px!important;padding:20px 16px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:28px!important;background:radial-gradient(circle at 15% 15%,rgba(217,250,75,.24),transparent 34%),linear-gradient(145deg,#092f20 0%,#07502d 64%,#087a40 100%)!important;box-shadow:0 18px 40px rgba(4,55,30,.24)!important;color:#fff!important}
 body .preview-points::after{content:"GEN-Y REWARD POINT"!important;position:absolute!important;left:18px!important;bottom:14px!important;color:rgba(255,255,255,.44)!important;font-size:.61rem!important;font-weight:900!important;letter-spacing:.16em!important}
 body .preview-points .points-copy p{color:rgba(255,255,255,.72)!important;font-size:.8rem!important;font-weight:700!important}
 body .preview-points .points-copy strong{color:#d9fa4b!important;font-size:3.5rem!important;text-shadow:0 4px 22px rgba(217,250,75,.16)!important}
 body .preview-points .points-copy>span{color:#fff!important;font-size:.92rem!important}
 body .preview-points .point-coin{filter:drop-shadow(0 10px 16px rgba(0,0,0,.28))!important}
 body .preview-scan{width:92px!important;height:104px!important;border:1px solid rgba(255,255,255,.58)!important;border-radius:25px!important;background:linear-gradient(145deg,#dfff58,#aee82f)!important;color:#073a22!important;box-shadow:0 14px 30px rgba(0,24,12,.32)!important;transform:translateY(-1px)!important}
 body .preview-scan .scan-art{width:52px!important;height:52px!important;border-radius:17px!important;background:#fff!important;color:#08763f!important;box-shadow:0 7px 16px rgba(6,67,35,.16)!important}
 body .preview-scan span:last-child{color:#073a22!important;font-weight:900!important}
 body .expiry-collapsible{border:1px solid #dce9d8!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 24px rgba(9,59,34,.07)!important}
 body .expiry-toggle{min-height:68px!important;padding:14px 17px!important}
 body .expiry-toggle p{color:#12924c!important;font-size:.66rem!important;letter-spacing:.18em!important}
 body .expiry-toggle strong{color:#103c27!important;font-size:1rem!important}
 body .expiry-chevron{background:#eaf7e8!important;color:#08733d!important}
 body .preview-membership{padding:18px 16px!important;border:1px solid #eadfca!important;border-radius:24px!important;background:linear-gradient(135deg,#fffdf8,#f6edda)!important;box-shadow:0 12px 28px rgba(80,57,21,.08)!important}
 body .preview-membership .member-medal{width:74px!important;height:74px!important}
 body .member-copy>p:first-child{color:#9b672d!important;font-size:.68rem!important;letter-spacing:.17em!important}
 body .member-copy h2{color:#8b5726!important;font-size:1.45rem!important}
 body .member-progress{height:7px!important;background:rgba(139,87,38,.12)!important}
 body .member-progress span{background:linear-gradient(90deg,#a86c2e,#e0ad51,#d9fa4b)!important}
 body .promo-section{padding:12px 2px 8px!important}
 body .promo-heading>span{display:inline-flex!important;width:max-content!important;padding:5px 9px!important;border-radius:999px!important;background:#daf94e!important;color:#173d28!important;font-weight:900!important;letter-spacing:.13em!important}
 body .promo-heading h2{color:#0c3a24!important;font-size:1.55rem!important}
 body .promo-slide{border-radius:24px!important;box-shadow:0 14px 32px rgba(8,59,32,.14)!important}
 body .preview-bottom-nav{bottom:10px!important;width:calc(100% - 20px)!important;border:1px solid rgba(10,83,43,.12)!important;border-radius:25px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 18px 42px rgba(4,47,25,.22)!important}
 body .preview-bottom-nav button{color:#63736a!important}
 body .preview-bottom-nav button.active{background:#0a6b3b!important;color:#fff!important;box-shadow:0 8px 18px rgba(5,96,49,.24)!important}
 body .preview-bottom-nav button.active::after{display:none!important}
}

/* Mobile layout correction 2026-10-21 — compact, legible, touch friendly */
@media(max-width:520px){
 html{font-size:16px!important}
 body .app{padding:0 14px 104px!important}
 body .topbar{min-height:118px!important;margin:0 -14px 16px!important;padding:14px 16px 24px!important;border-radius:0 0 24px 24px!important;align-items:center!important}
 body .topbar::after{display:none!important}
 body .topbar .brand-lockup{max-width:235px!important;padding:7px 9px!important;border-radius:17px!important}
 body .topbar .brand-logo{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:13px!important}
 body .topbar .brand-lockup p{font-size:.62rem!important;line-height:1.1!important}
 body .topbar .brand-lockup h1{font-size:1rem!important;line-height:1.2!important;white-space:nowrap!important}
 body .topbar .tier-badge{padding:9px 12px!important;font-size:.76rem!important;letter-spacing:.04em!important}
 body .preview-dashboard{margin-top:0!important;gap:12px!important}
 body .preview-points{position:relative!important;min-height:136px!important;padding:16px!important;border-radius:24px!important;align-items:center!important;overflow:hidden!important}
 body .preview-points::after{display:none!important}
 body .preview-points .point-coin{width:60px!important;height:60px!important;flex-basis:60px!important;margin-right:10px!important}
 body .preview-points .points-copy{min-width:0!important;gap:1px!important}
 body .preview-points .points-copy p{color:#fff!important;opacity:1!important;font-size:.78rem!important;line-height:1.3!important;text-shadow:0 1px 2px rgba(0,0,0,.25)!important}
 body .preview-points .points-copy strong{color:#dfff58!important;font-size:2.65rem!important;line-height:1!important;letter-spacing:-.045em!important}
 body .preview-points .points-copy strong+span{color:#dfff58!important}
 body .preview-points .points-copy>span{color:#fff!important;opacity:1!important;font-size:.82rem!important;line-height:1.35!important;text-shadow:0 1px 2px rgba(0,0,0,.22)!important}
 body .preview-scan{width:78px!important;height:88px!important;flex:0 0 78px!important;border-radius:21px!important;gap:5px!important;box-shadow:0 10px 22px rgba(0,24,12,.26)!important}
 body .preview-scan .scan-art{width:43px!important;height:43px!important;padding:6px!important;border-radius:14px!important}
 body .preview-scan span:last-child{font-size:.68rem!important;line-height:1.15!important;white-space:nowrap!important}
 body .expiry-collapsible{border-radius:20px!important}
 body .expiry-toggle{min-height:62px!important;padding:12px 15px!important}
 body .expiry-toggle p{font-size:.62rem!important;line-height:1.25!important}
 body .expiry-toggle strong{font-size:.94rem!important;line-height:1.35!important}
 body .expiry-chevron{width:34px!important;height:34px!important;flex:0 0 34px!important;font-size:1rem!important}
 body .preview-membership{min-height:112px!important;padding:14px!important;gap:12px!important;border-radius:22px!important;align-items:center!important}
 body .preview-membership .member-medal{width:62px!important;height:62px!important;flex:0 0 62px!important}
 body .member-copy{min-width:0!important}
 body .member-copy>p:first-child{font-size:.62rem!important;line-height:1.2!important}
 body .member-copy h2{font-size:1.22rem!important;line-height:1.2!important;margin:2px 0 4px!important;white-space:nowrap!important}
 body .member-copy .muted{font-size:.75rem!important;line-height:1.4!important;color:#5f6f66!important}
 body .member-progress{height:6px!important;margin-top:9px!important}
 body .promo-section{padding:10px 2px 4px!important}
 body .promo-heading{gap:4px!important;margin-bottom:10px!important}
 body .promo-heading>span{padding:0!important;border-radius:0!important;background:transparent!important;color:#178149!important;font-size:.63rem!important;line-height:1.2!important}
 body .promo-heading h2{font-size:1.32rem!important;line-height:1.2!important;margin:0!important}
 body .promo-scroll-hint{font-size:.75rem!important;color:#687a70!important}
 body .promo-slider,body .promo-slide,body .promo-slide img{border-radius:20px!important}
 body .preview-bottom-nav{bottom:8px!important;width:calc(100% - 20px)!important;padding:7px!important;border-radius:22px!important}
 body .preview-bottom-nav button{min-height:54px!important;padding:5px 6px!important;border-radius:16px!important;font-size:.7rem!important;line-height:1.15!important}
 body .nav-icon{height:25px!important}body .nav-icon svg{width:25px!important;height:25px!important}
}

/* Desktop redesign 2026-10-21 — spacious two-column dashboard */
@media(min-width:768px){
 html body{background:radial-gradient(circle at 88% 5%,rgba(207,246,77,.20),transparent 28rem),linear-gradient(180deg,#f5f9f2,#edf4ee)!important}
 body .app{width:min(100%,1180px)!important;padding:24px 28px 42px!important}
 body .topbar{min-height:132px!important;margin:0 0 24px!important;padding:24px 30px!important;border:0!important;border-radius:30px!important;background:linear-gradient(125deg,#073b23 0%,#07552e 58%,#0b7a42 100%)!important;box-shadow:0 20px 50px rgba(5,61,32,.20)!important;overflow:hidden!important}
 body .topbar:before{width:360px!important;height:360px!important;right:-100px!important;top:-220px!important;background:radial-gradient(circle,rgba(219,250,75,.46),transparent 68%)!important}
 body .topbar:after{width:210px!important;height:210px!important;right:180px!important;bottom:-175px!important;background:rgba(255,255,255,.07)!important}
 body .topbar .brand-lockup{position:relative!important;z-index:1!important;padding:10px 14px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:22px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 13px 30px rgba(0,29,15,.22)!important}
 body .topbar .brand-logo{width:62px!important;height:62px!important;flex-basis:62px!important;border-radius:17px!important}
 body .topbar .eyebrow{color:#11834a!important;font-size:.7rem!important}
 body .topbar h1{color:#073b23!important;font-size:1.45rem!important}
 body .topbar .tier-badge{position:relative!important;z-index:1!important;padding:12px 18px!important;border:1px solid rgba(255,255,255,.6)!important;background:#dcfa4e!important;color:#103c27!important;box-shadow:0 12px 26px rgba(0,35,17,.22)!important}
 body .preview-dashboard{padding-bottom:26px!important;overflow:visible!important}
 body #homePage{display:grid!important;grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr)!important;grid-template-areas:"points expiry" "points membership" "promo promo"!important;gap:18px 20px!important;align-items:stretch!important}
 body #homePage>.preview-points{grid-area:points!important}
 body #homePage>.expiry-collapsible{grid-area:expiry!important}
 body #homePage>.preview-membership{grid-area:membership!important}
 body #homePage>.promo-section{grid-area:promo!important}
 body .preview-points{min-height:260px!important;padding:30px 32px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:30px!important;background:radial-gradient(circle at 14% 12%,rgba(220,250,78,.22),transparent 34%),linear-gradient(145deg,#092f20,#07532f 64%,#087a41)!important;color:#fff!important;box-shadow:0 20px 48px rgba(5,62,33,.20)!important}
 body .preview-points .point-coin{width:112px!important;height:112px!important;filter:drop-shadow(0 14px 18px rgba(0,0,0,.24))!important}
 body .preview-points .points-copy p{color:rgba(255,255,255,.82)!important;font-size:1rem!important}
 body .preview-points .points-copy strong{color:#dcfa4e!important;font-size:5rem!important;line-height:.95!important}
 body .preview-points .points-copy strong+span,body .preview-points .points-copy>span{color:#fff!important;font-size:1.05rem!important}
 body .preview-scan{width:124px!important;height:138px!important;border:1px solid rgba(255,255,255,.56)!important;border-radius:28px!important;background:linear-gradient(145deg,#e1ff5a,#afe92f)!important;color:#073a22!important;box-shadow:0 17px 36px rgba(0,24,12,.30)!important}
 body .preview-scan .scan-art{width:68px!important;height:68px!important;padding:10px!important;border-radius:20px!important;background:#fff!important;color:#08763f!important}
 body .preview-scan span:last-child{color:#073a22!important;font-size:.85rem!important;font-weight:900!important}
 body .expiry-collapsible{margin:0!important;border:1px solid #dce9d9!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 28px rgba(13,68,38,.07)!important}
 body .expiry-toggle{min-height:92px!important;padding:18px 20px!important}
 body .expiry-toggle p{font-size:.7rem!important;color:#12894a!important}
 body .expiry-toggle strong{font-size:1.08rem!important;color:#103c27!important}
 body .preview-membership{min-height:148px!important;margin:0!important;padding:20px!important;border:1px solid #eadfc9!important;border-radius:25px!important;background:linear-gradient(135deg,#fffdf8,#f7edd9)!important;box-shadow:0 12px 28px rgba(78,56,21,.08)!important}
 body .preview-membership .member-medal{width:82px!important;height:82px!important}
 body .member-copy h2{color:#925b27!important;font-size:1.5rem!important}
 body .member-copy .muted{color:#637168!important;font-size:.85rem!important}
 body .promo-section{padding:16px 4px 4px!important}
 body .promo-heading{display:flex!important;align-items:end!important;justify-content:space-between!important;margin-bottom:14px!important}
 body .promo-heading h2{font-size:1.65rem!important;color:#0d3b25!important}
 body .promo-slider{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;overflow:visible!important}
 body .promo-slide{min-width:0!important;border-radius:24px!important;box-shadow:0 14px 34px rgba(11,68,37,.10)!important}
 body .promo-dots{display:none!important}
 body .preview-bottom-nav{position:sticky!important;bottom:18px!important;width:520px!important;margin:28px auto 0!important;padding:9px!important;border:1px solid rgba(9,88,45,.12)!important;border-radius:24px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 18px 44px rgba(6,55,29,.18)!important;backdrop-filter:blur(18px)!important}
 body .preview-bottom-nav button{min-height:62px!important;border-radius:17px!important;font-size:.8rem!important;transition:.18s ease!important}
 body .preview-bottom-nav button.active{background:#0a6b3b!important;color:#fff!important;box-shadow:0 9px 20px rgba(5,96,49,.23)!important}
 body .preview-bottom-nav button.active:after{display:none!important}
 body .reward-rail{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important;gap:16px!important}
 body .reward-card{min-width:0!important}
 body .preview-history{margin-top:0!important;border-radius:28px!important;padding:28px!important}
}

/* Membership card 2026-10-21 — approved tier-specific design */
body .preview-membership.membership-showcase{
 display:block!important;min-height:0!important;padding:22px!important;overflow:hidden!important;
 border:1px solid rgba(28,92,57,.22)!important;border-radius:26px!important;
 background:linear-gradient(135deg,#0a4f31 0%,#0c6e3e 72%,#27864d 100%)!important;
 color:#fff!important;box-shadow:0 16px 36px rgba(8,66,36,.17)!important
}
body .membership-showcase .membership-card-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
body .membership-showcase .member-copy{min-width:0!important;padding-top:2px!important}
body .membership-showcase .member-copy .eyebrow{margin:0 0 5px!important;color:#dfff58!important;font-size:.68rem!important;font-weight:900!important;letter-spacing:.16em!important}
body .membership-showcase .member-copy h2{margin:0 0 3px!important;color:#dfff58!important;font-size:2rem!important;line-height:1!important;letter-spacing:.02em!important;white-space:normal!important}
body .membership-showcase .membership-benefit{margin:0!important;color:rgba(255,255,255,.94)!important;font-size:.82rem!important;line-height:1.4!important}
body .membership-showcase .member-medal.member-medal-photo{display:grid!important;place-items:center!important;width:100px!important;height:100px!important;flex:0 0 100px!important;padding:12px!important;border:4px solid rgba(255,255,255,.92)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 26px rgba(0,28,15,.26)!important;filter:none!important;overflow:hidden!important}
body .membership-showcase .member-medal.member-medal-photo img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:13px!important}
body .membership-tier-rail{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:17px!important}
body .membership-tier-rail span{display:grid!important;place-items:center!important;min-height:32px!important;padding:6px 5px!important;border-radius:11px!important;background:rgba(255,255,255,.12)!important;color:rgba(255,255,255,.78)!important;font-size:.68rem!important;line-height:1!important;white-space:nowrap!important}
body .membership-tier-rail span.active{background:#d9ff43!important;color:#123a25!important;font-weight:900!important;box-shadow:0 7px 15px rgba(0,28,14,.20)!important}
body .membership-progress-copy{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin:14px 1px 8px!important;color:#fff!important;font-size:.72rem!important}
body .membership-progress-copy strong{font-weight:800!important;text-align:right!important}
body .membership-showcase .member-progress{height:8px!important;margin:0!important;border-radius:999px!important;background:rgba(255,255,255,.18)!important;overflow:hidden!important}
body .membership-showcase .progress-fill{height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#c8f33d,#fff29a)!important;box-shadow:none!important}
body .membership-showcase[data-tier="SILVER"]{border-color:#cbd2d5!important;background:linear-gradient(135deg,#414b50 0%,#7c898f 48%,#303a3f 100%)!important;box-shadow:0 16px 36px rgba(52,64,70,.20)!important}
body .membership-showcase[data-tier="SILVER"] .member-copy .eyebrow,body .membership-showcase[data-tier="SILVER"] .member-copy h2{color:#f7fbfd!important}
body .membership-showcase[data-tier="SILVER"] .membership-tier-rail span.active{background:linear-gradient(135deg,#fff,#dbe2e6)!important;color:#334047!important}
body .membership-showcase[data-tier="SILVER"] .progress-fill{background:linear-gradient(90deg,#eef2f4,#fff,#aebbc1)!important}
body .membership-showcase[data-tier="GOLD"]{border-color:#edcb61!important;background:linear-gradient(135deg,#6e4800 0%,#b47a08 52%,#6b4100 100%)!important;box-shadow:0 16px 36px rgba(118,75,0,.22)!important}
body .membership-showcase[data-tier="GOLD"] .member-copy .eyebrow,body .membership-showcase[data-tier="GOLD"] .member-copy h2{color:#fff1a9!important}
body .membership-showcase[data-tier="GOLD"] .membership-tier-rail span.active{background:linear-gradient(135deg,#fff4ad,#e8b927)!important;color:#563700!important}
body .membership-showcase[data-tier="GOLD"] .progress-fill{background:linear-gradient(90deg,#ffe980,#fff4bd,#e1ad1b)!important}
body .membership-showcase[data-tier="PLATINUM"]{border-color:#2386b8!important;background:radial-gradient(circle at 88% 8%,rgba(51,190,255,.28),transparent 35%),linear-gradient(135deg,#03131f 0%,#071f35 56%,#0a4565 100%)!important;box-shadow:0 17px 40px rgba(0,41,67,.27)!important}
body .membership-showcase[data-tier="PLATINUM"] .member-copy .eyebrow,body .membership-showcase[data-tier="PLATINUM"] .member-copy h2{color:#77d7ff!important}
body .membership-showcase[data-tier="PLATINUM"] .membership-tier-rail span.active{background:linear-gradient(135deg,#a9e9ff,#3ab8f2)!important;color:#031b2b!important}
body .membership-showcase[data-tier="PLATINUM"] .progress-fill{background:linear-gradient(90deg,#34baf5,#bcefff)!important}
@media(max-width:520px){
 body .preview-membership.membership-showcase{padding:20px!important;border-radius:25px!important}
 body .membership-showcase .member-copy h2{font-size:1.85rem!important}
 body .membership-showcase .member-medal.member-medal-photo{width:92px!important;height:92px!important;flex-basis:92px!important;padding:10px!important;border-radius:23px!important}
 body .membership-tier-rail{gap:5px!important;margin-top:16px!important}
 body .membership-tier-rail span{min-height:31px!important;padding:5px 2px!important;font-size:.62rem!important}
 body .membership-progress-copy{margin-top:12px!important;font-size:.68rem!important}
}
@media(min-width:768px){
 body .preview-membership.membership-showcase{min-height:0!important;padding:24px!important}
 body .membership-showcase .member-medal.member-medal-photo{width:112px!important;height:112px!important;flex-basis:112px!important;padding:13px!important}
 body .membership-showcase .member-copy h2{font-size:2.2rem!important}
}

/* Approved compact dashboard composition */
body .topbar .tier-badge{display:inline-flex!important;align-items:center!important;gap:7px!important}
body .topbar .tier-badge .tier-sparkle{display:inline!important;color:currentColor!important;font-size:1rem!important;line-height:1!important;opacity:1!important;text-shadow:0 0 10px currentColor!important}
body .topbar .tier-badge:before{display:none!important;content:none!important}
body .topbar .tier-badge[data-tier="MEMBER"]{background:#d9ff43!important;color:#17412d!important}
body .topbar .tier-badge[data-tier="SILVER"]{border-color:#dce2e5!important;background:linear-gradient(135deg,#fbfdfe,#bcc7cc)!important;color:#344249!important}
body .topbar .tier-badge[data-tier="GOLD"]{border-color:#ffe899!important;background:linear-gradient(135deg,#fff2a7,#dba91e)!important;color:#5b3a00!important}
body .topbar .tier-badge[data-tier="PLATINUM"]{border-color:#69cfff!important;background:linear-gradient(135deg,#06121e,#0b4161)!important;color:#8cddff!important}
body .preview-membership.membership-showcase{padding:18px 20px!important;border-radius:25px!important}
body .membership-showcase .member-medal.member-medal-photo{width:80px!important;height:80px!important;flex:0 0 80px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body .membership-showcase .member-medal.member-medal-photo img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important;filter:drop-shadow(0 8px 13px rgba(0,0,0,.24))!important}
html body #membershipArea.membership-showcase .member-medal.member-medal-photo{width:62px!important;height:62px!important;flex-basis:62px!important;padding:0!important;overflow:visible!important;clip-path:none!important;background:transparent!important;box-shadow:none!important}
html body #membershipArea.membership-showcase .member-medal.member-medal-photo img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;mix-blend-mode:normal!important;filter:none!important}
body .membership-showcase .member-copy h2{font-size:1.95rem!important}
html body #membershipArea.membership-showcase[data-tier="MEMBER"] #memberTitle{color:#dfff58!important}
html body #membershipArea.membership-showcase[data-tier="SILVER"] #memberTitle{color:#f7fbfd!important}
html body #membershipArea.membership-showcase[data-tier="GOLD"] #memberTitle{color:#fff1a9!important}
html body #membershipArea.membership-showcase[data-tier="PLATINUM"] #memberTitle{color:#77d7ff!important}
body .membership-points{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:12px!important;margin-top:15px!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.18)!important}
body .membership-points .points-coin{width:56px!important;height:56px!important;min-width:56px!important;margin:0!important;border:0!important;filter:drop-shadow(0 8px 14px rgba(0,0,0,.22))!important}
body .membership-points .points-coin img{width:100%!important;height:100%!important;object-fit:cover!important}
body .membership-points .points-copy p{margin:0!important;color:rgba(255,255,255,.82)!important;font-size:.72rem!important;line-height:1.25!important;text-shadow:none!important}
body .membership-points .points-copy strong{color:#fff!important;font-size:2rem!important;line-height:1!important;letter-spacing:-.03em!important;text-shadow:none!important}
body .membership-points .points-copy strong+span{color:#fff!important;font-size:.78rem!important;font-weight:800!important}
body .membership-points .points-lifetime{margin-top:2px!important;color:rgba(255,255,255,.82)!important;font-size:.7rem!important}
html body #membershipArea.membership-showcase #lifetimePoints{color:rgba(255,255,255,.82)!important;text-align:left!important}
body .membership-progress-copy{margin-top:11px!important}
body .scan-cta-wide{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;height:auto!important;min-height:78px!important;margin:0!important;padding:13px 16px!important;border:0!important;border-radius:22px!important;background:linear-gradient(135deg,#dfff55,#b8ef36)!important;color:#084d30!important;box-shadow:0 11px 26px rgba(53,111,39,.18)!important;transform:none!important;text-align:left!important}
body .scan-cta-wide .scan-cta-icon{display:grid!important;place-items:center!important;width:50px!important;height:50px!important;flex:0 0 50px!important;border-radius:15px!important;background:#fff!important;color:#087b45!important;box-shadow:0 6px 14px rgba(35,96,54,.12)!important}
body .scan-cta-wide .scan-art{width:38px!important;height:38px!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body .scan-cta-copy{display:flex!important;min-width:0!important;flex:1!important;flex-direction:column!important;gap:1px!important}
body .scan-cta-copy strong{color:#084d30!important;font-size:.98rem!important;line-height:1.3!important}
body .scan-cta-copy small{color:#346044!important;font-size:.68rem!important;line-height:1.3!important}
body .scan-cta-arrow{margin-left:auto!important;color:#084d30!important;font-size:1.3rem!important;font-weight:900!important}
body #homePage{gap:20px!important}
@media(max-width:520px){
 body .preview-membership.membership-showcase{padding:18px!important}
 html body #membershipArea.membership-showcase .member-medal.member-medal-photo{width:58px!important;height:58px!important;flex-basis:58px!important}
 body .membership-showcase .member-copy h2{font-size:1.8rem!important}
 body .membership-points{margin-top:14px!important;padding-top:13px!important}
 body #homePage>.preview-membership{margin-bottom:22px!important}
 body #homePage>.expiry-collapsible{margin-bottom:22px!important}
 body #homePage>.scan-cta-wide{margin-bottom:6px!important}
}
@media(min-width:768px){
 body #homePage{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)!important;grid-template-areas:"membership expiry" "membership scan" "promo promo"!important;gap:20px!important}
 body #homePage>.preview-membership{grid-area:membership!important}
 body #homePage>.expiry-collapsible{grid-area:expiry!important}
 body #homePage>.scan-cta-wide{grid-area:scan!important}
 body #homePage>.promo-section{grid-area:promo!important}
 body .preview-membership.membership-showcase{padding:22px!important}
 body .membership-showcase .member-medal.member-medal-photo{width:96px!important;height:96px!important;flex-basis:96px!important}
 body .scan-cta-wide{min-height:86px!important}
}

/* Membership benefits — single-sheet modal */
body .membership-dialog{padding:10px!important;background:rgba(4,24,15,.62)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
body .membership-dialog form{position:relative!important;width:min(96vw,680px)!important;max-height:calc(100dvh - 20px)!important;margin:auto!important;padding:58px 18px 15px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:26px!important;background:radial-gradient(circle at 96% 1%,rgba(206,248,69,.20),transparent 13rem),linear-gradient(180deg,#fafff7,#eff7ef)!important;box-shadow:0 28px 80px rgba(3,37,19,.35)!important}
body .membership-dialog form::before{content:"GEN-Y CLUB · MEMBERSHIP"!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:46px!important;margin:0!important;padding:15px 18px!important;background:linear-gradient(135deg,#075f2d,#18a34f)!important;color:#e5fb68!important;font-size:.65rem!important;letter-spacing:.16em!important}
body .membership-dialog .membership-close{position:absolute!important;z-index:4!important;right:12px!important;top:9px!important;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;margin:0!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#e53935!important;color:#fff!important;box-shadow:0 6px 15px rgba(124,20,20,.28)!important;font-size:1.22rem!important;font-weight:900!important;line-height:1!important}
body .membership-dialog>.membership-close{display:none!important}
body .membership-dialog form>.eyebrow{margin:0 0 2px!important;font-size:.58rem!important;letter-spacing:.14em!important}
body .membership-dialog form>h2{margin:0 0 8px!important;font-size:1.18rem!important;line-height:1.2!important}
body .membership-dialog .membership-current{margin:0 0 9px!important;padding:9px 12px 9px 39px!important;border-radius:14px!important;font-size:.78rem!important;line-height:1.25!important;box-shadow:none!important}
body .membership-dialog .membership-current::before{left:10px!important;width:22px!important;height:22px!important;font-size:.72rem!important}
body .membership-dialog .membership-upgrade-note{margin:0!important;padding:10px 12px!important;border-radius:14px!important;box-shadow:none!important}
body .membership-dialog .membership-upgrade-note h3{margin:0 0 4px!important;font-size:.85rem!important;line-height:1.3!important}
body .membership-dialog .membership-upgrade-note>p{margin:0!important;color:#5f7066!important;font-size:.68rem!important;line-height:1.45!important}
body .membership-dialog .membership-upgrade-example{display:flex!important;align-items:center!important;gap:7px!important;margin-top:5px!important;padding-top:5px!important;border-top:1px solid #e2ebe2!important}
body .membership-dialog .membership-upgrade-example>span{flex:0 0 auto!important;padding:3px 6px!important;border-radius:999px!important;background:#e7f5e8!important;color:#14713c!important;font-size:.58rem!important;font-weight:900!important}
body .membership-dialog .membership-upgrade-example p{margin:0!important;color:#52665a!important;font-size:.63rem!important;line-height:1.35!important}
body .membership-dialog .membership-levels{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:9px 0!important}
body .membership-dialog .membership-level{min-height:0!important;padding:9px 11px!important;border-radius:14px!important;box-shadow:none!important}
body .membership-dialog .membership-level::before{width:70px!important;height:70px!important;right:-24px!important;top:-28px!important}
body .membership-dialog .membership-level-head{align-items:center!important}
body .membership-dialog .membership-level h3{font-size:.96rem!important;line-height:1.2!important}
body .membership-dialog .membership-level-head strong{font-size:.6rem!important}
body .membership-dialog .membership-level ul{display:flex!important;flex-wrap:wrap!important;column-gap:18px!important;row-gap:1px!important;margin:4px 0 0!important;padding-left:17px!important;color:#66766c!important;font-size:.66rem!important;line-height:1.4!important}
body .membership-dialog .membership-level.current::after{right:10px!important;bottom:7px!important;padding:2px 6px!important;font-size:.52rem!important}
body .membership-dialog #upgradeMembershipButton{min-height:38px!important;margin:0!important;padding:8px 12px!important;border-radius:12px!important;font-size:.76rem!important;box-shadow:none!important}
body .membership-dialog .fine-print{margin:7px 0 0!important;text-align:center!important;color:#6b786f!important;font-size:.6rem!important;line-height:1.3!important}
html body dialog#membershipDialog{overflow:hidden!important}
html body dialog#membershipDialog form{overflow:hidden!important}
html body dialog#membershipDialog form::after{display:none!important;content:none!important}
html body dialog#membershipDialog form button.membership-back.membership-close{position:absolute!important;z-index:20!important;left:auto!important;right:12px!important;top:8px!important;display:grid!important;place-items:center!important;width:31px!important;height:31px!important;margin:0!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#e53935!important;color:#fff!important;box-shadow:0 6px 15px rgba(124,20,20,.32)!important;font-size:1.24rem!important;font-weight:900!important;line-height:1!important}
@media(min-width:600px){
 body .membership-dialog .membership-levels{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .membership-dialog .membership-level ul{display:block!important}
}
@media(max-width:599px){
 html body dialog#membershipDialog[open]{display:grid!important;place-items:center!important;padding:18px!important;overflow:hidden!important}
 html body dialog#membershipDialog form{width:min(92vw,430px)!important;max-width:430px!important;height:auto!important;max-height:calc(100dvh - 36px)!important;margin:auto!important;padding:54px 14px 13px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:24px!important;box-shadow:0 26px 75px rgba(3,37,19,.38)!important}
 body .membership-dialog form::before{height:43px!important;padding:13px 15px!important;border-radius:24px 24px 0 0!important}
 html body dialog#membershipDialog form button.membership-back.membership-close{right:9px!important;top:6px!important;width:31px!important;height:31px!important}
 body .membership-dialog form>.eyebrow{font-size:.55rem!important}
 body .membership-dialog form>h2{font-size:1.05rem!important;margin-bottom:7px!important}
 body .membership-dialog .membership-current{margin-bottom:7px!important;padding:8px 10px 8px 36px!important}
 body .membership-dialog .membership-upgrade-note{padding:8px 10px!important}
 body .membership-dialog .membership-upgrade-note h3{font-size:.78rem!important}
 body .membership-dialog .membership-upgrade-note>p{font-size:.63rem!important}
 body .membership-dialog .membership-upgrade-example{margin-top:4px!important;padding-top:4px!important}
 body .membership-dialog .membership-upgrade-example p{font-size:.58rem!important}
 body .membership-dialog .membership-levels{grid-template-columns:1fr!important;gap:5px!important;margin:7px 0!important}
 body .membership-dialog .membership-level{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;padding:7px 10px!important;border-radius:12px!important}
 body .membership-dialog .membership-level-head{display:block!important}
 body .membership-dialog .membership-level h3{font-size:.84rem!important}
 body .membership-dialog .membership-level-head strong{display:block!important;margin-top:2px!important;font-size:.5rem!important;line-height:1.2!important}
 body .membership-dialog .membership-level ul{display:block!important;margin:0!important;padding-left:13px!important;font-size:.59rem!important;line-height:1.3!important}
 body .membership-dialog .membership-level.current::after{position:absolute!important;right:8px!important;bottom:5px!important;margin:0!important;font-size:.44rem!important}
 body .membership-dialog #upgradeMembershipButton{min-height:35px!important;padding:7px 10px!important;font-size:.68rem!important}
 body .membership-dialog .fine-print{font-size:.55rem!important}
}
@media(max-height:700px){
 body .membership-dialog form{padding-top:51px!important;padding-bottom:10px!important}
 body .membership-dialog form::before{height:40px!important;padding-top:12px!important}
 body .membership-dialog .membership-upgrade-example{display:none!important}
 body .membership-dialog .membership-levels{gap:5px!important;margin:6px 0!important}
 body .membership-dialog .membership-level{padding:7px 10px!important}
 body .membership-dialog .fine-print{margin-top:4px!important}
}

/* Membership modal sizing fix — the white window must wrap its content. */
html body dialog#membershipDialog[open]{
 display:grid!important;
 place-items:center!important;
 align-content:center!important;
 justify-content:center!important;
 padding:18px!important;
 overflow:hidden!important;
}
html body dialog#membershipDialog[open]>form{
 align-self:center!important;
 justify-self:center!important;
 width:min(92vw,680px)!important;
 height:fit-content!important;
 min-height:0!important;
 max-height:calc(100dvh - 36px)!important;
 margin:0!important;
 overflow:hidden!important;
 flex:none!important;
}
@media(max-width:599px){
 html body dialog#membershipDialog[open]>form{
  width:min(92vw,430px)!important;
  height:fit-content!important;
  min-height:0!important;
  max-height:calc(100dvh - 36px)!important;
  margin:0!important;
 }
}

/* Mobile membership modal — roomier type, balanced margins, still inside viewport. */
@media(max-width:599px){
 html body dialog#membershipDialog[open]{padding:12px!important}
 html body dialog#membershipDialog[open]>form{
  width:calc(100vw - 24px)!important;
  max-width:460px!important;
  max-height:calc(100dvh - 24px)!important;
  padding:62px 18px 18px!important;
  transform:translateX(3px)!important;
 }
 body .membership-dialog form::before{
  height:50px!important;
  padding:16px 18px!important;
  font-size:.69rem!important;
 }
 html body dialog#membershipDialog form button.membership-back.membership-close{
  right:10px!important;top:8px!important;width:35px!important;height:35px!important;font-size:1.38rem!important;
 }
 body .membership-dialog form>.eyebrow{font-size:.63rem!important}
 body .membership-dialog form>h2{margin-bottom:10px!important;font-size:1.28rem!important}
 body .membership-dialog .membership-current{
  margin-bottom:10px!important;padding:10px 12px 10px 42px!important;font-size:.9rem!important;
 }
 body .membership-dialog .membership-current::before{left:11px!important;width:25px!important;height:25px!important;font-size:.78rem!important}
 body .membership-dialog .membership-upgrade-note{padding:11px 13px!important}
 body .membership-dialog .membership-upgrade-note h3{font-size:.92rem!important}
 body .membership-dialog .membership-upgrade-note>p{font-size:.75rem!important;line-height:1.5!important}
 body .membership-dialog .membership-upgrade-example{margin-top:7px!important;padding-top:7px!important}
 body .membership-dialog .membership-upgrade-example>span{font-size:.66rem!important}
 body .membership-dialog .membership-upgrade-example p{font-size:.7rem!important;line-height:1.4!important}
 body .membership-dialog .membership-levels{gap:7px!important;margin:10px 0!important}
 body .membership-dialog .membership-level{
  grid-template-columns:104px minmax(0,1fr)!important;gap:9px!important;padding:10px 12px!important;border-radius:14px!important;
 }
 body .membership-dialog .membership-level h3{font-size:1rem!important}
 body .membership-dialog .membership-level-head strong{font-size:.59rem!important}
 body .membership-dialog .membership-level ul{padding-left:15px!important;font-size:.7rem!important;line-height:1.4!important}
 body .membership-dialog .membership-level.current::after{right:9px!important;bottom:7px!important;font-size:.51rem!important}
 body .membership-dialog #upgradeMembershipButton{min-height:42px!important;padding:9px 12px!important;font-size:.8rem!important}
 body .membership-dialog .fine-print{margin-top:8px!important;font-size:.64rem!important;line-height:1.35!important}
}

/* Admin console */
.admin-dialog{width:min(1180px,calc(100vw - 28px));max-width:none;height:min(820px,calc(100dvh - 28px));max-height:none;padding:0;border:0;border-radius:28px;background:#f4f8f3;color:#073d25;box-shadow:0 28px 90px #001b1180;overflow:hidden}
.admin-dialog::backdrop,.admin-member-dialog::backdrop{background:#002716b8;backdrop-filter:blur(10px)}
.admin-shell{display:grid;grid-template-rows:auto auto 1fr;height:100%}.admin-header{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;background:linear-gradient(120deg,#064c2c,#0ca64c);color:#fff}.admin-header p{margin:0;color:#caff43;font-weight:800;letter-spacing:.16em;font-size:.72rem}.admin-header h2{margin:3px 0 0;font-size:1.65rem}.admin-header span{font-size:.75rem;opacity:.82}.admin-header button,.admin-x{width:44px;height:44px;border:3px solid #fff;border-radius:50%;background:#e94343;color:#fff;font-size:1.7rem;font-weight:900;line-height:1}
.admin-tabs{display:flex;gap:8px;padding:12px 20px;background:#fff;border-bottom:1px solid #dce7de;overflow-x:auto}.admin-tabs button{border:0;border-radius:999px;background:#edf3ee;color:#456255;padding:10px 18px;font-weight:800;white-space:nowrap}.admin-tabs button.active{background:#087d40;color:#fff}.admin-content{padding:22px 26px;overflow:auto}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.admin-stats article{padding:24px;border:1px solid #dbe7dd;border-radius:20px;background:#fff}.admin-stats strong{display:block;font-size:2rem;color:#078642}.admin-stats span{color:#607167}.admin-toolbar{display:grid;grid-template-columns:1fr 170px auto;gap:10px;margin-bottom:16px}.admin-toolbar input,.admin-toolbar select,.admin-form input,.admin-adjust-form input{min-height:46px;border:1px solid #cedbd1;border-radius:13px;background:#fff;padding:10px 13px;font:inherit}.admin-toolbar button,.admin-form button,.admin-adjust-form button{border:0;border-radius:13px;background:#087d40;color:#fff;padding:10px 20px;font-weight:800}.admin-list{display:grid;gap:10px}.admin-row{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid #d9e4db;border-radius:16px;background:#fff;padding:14px 16px;color:#123e29}.admin-row span,.admin-row em{display:grid;gap:4px}.admin-row small,.admin-promo small,.admin-log small{display:block;color:#708078;font-size:.75rem}.admin-row em{text-align:right;font-style:normal;color:#087d40}.admin-row b{color:#263d32}.admin-form{display:grid;grid-template-columns:1fr 1.5fr 1.5fr 100px auto;gap:10px;align-items:end;margin-bottom:18px}.admin-form label,.admin-adjust-form label{display:grid;gap:6px;font-size:.75rem;font-weight:800}.admin-promo,.admin-redemption,.admin-log{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;padding:12px;border-radius:16px;background:#fff;border:1px solid #dce7de}.admin-promo img{width:90px;height:55px;object-fit:cover;border-radius:10px}.admin-promo button{border:0;border-radius:10px;padding:8px 12px}.admin-promo .danger{background:#fee9e7;color:#bd2929}.admin-redemption{grid-template-columns:1fr minmax(180px,260px)}.admin-redemption div{display:grid;gap:3px}.admin-redemption select{min-height:42px;border:1px solid #cad8ce;border-radius:11px;padding:8px}.admin-log{grid-template-columns:180px 1fr}.admin-member-dialog{width:min(600px,calc(100vw - 28px));max-width:none;border:0;border-radius:24px;padding:0;background:#fff;color:#073d25}.admin-member-card{position:relative;padding:26px;max-height:calc(100dvh - 40px);overflow:auto}.admin-member-card>.admin-x{position:absolute;right:18px;top:18px}.admin-member-points{display:flex;align-items:center;gap:12px;margin:18px 0;padding:18px;border-radius:18px;background:#edf8ee}.admin-member-points strong{font-size:2rem;color:#078642}.admin-member-points span{flex:1}.admin-member-points b{background:#123f2b;color:#fff;border-radius:999px;padding:7px 12px}.admin-adjust-form{display:grid;gap:12px;margin-top:20px;border-top:1px solid #dde7df;padding-top:18px}.admin-history{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #edf1ee}.admin-history>strong{min-width:54px}.admin-history .plus{color:#078642}.admin-history .minus{color:#d23b32}.admin-history span{display:grid}.admin-history small{color:#7c8b82}
.admin-promo-form-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:13px 15px;border:1px solid #d7e6da;border-radius:15px;background:#fff}.admin-promo-form-head>div{display:grid;gap:2px}.admin-promo-form-head span{color:#0a5d35;font-weight:900}.admin-promo-form-head small{color:#708078}.admin-promo-form-head button{border:0;border-radius:10px;background:#edf3ee;color:#385747;padding:8px 12px;font-weight:800}.admin-form.is-editing{padding:12px;border:2px solid #8ccaa0;border-radius:16px;background:#f8fff9}.admin-promo.is-hidden{border-style:dashed;background:#f2f4f2;opacity:.72}.admin-promo.is-hidden img{filter:grayscale(1)}.admin-promo-status{display:inline-flex!important;width:max-content;margin-top:5px;padding:4px 9px;border-radius:999px;font-size:.68rem;font-weight:900}.admin-promo-status.status-active{background:#ddf6e4;color:#08743d}.admin-promo-status.status-hidden{background:#e2e5e3;color:#59635e}.admin-promo .restore{background:#dcf5e4;color:#08743d}.admin-promo .admin-promo-edit{background:#edf1ee;color:#314b3e}
[data-admin-panel="promotions"] .admin-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:13px 16px;width:100%;max-width:100%;box-sizing:border-box;padding:16px;border:1px solid #d9e6dc;border-radius:16px;background:#f7fbf8;overflow:hidden}[data-admin-panel="promotions"] .admin-form label{min-width:0;width:100%}[data-admin-panel="promotions"] .admin-form input{display:block;min-width:0;width:100%;max-width:100%;box-sizing:border-box}[data-admin-panel="promotions"] .admin-form input[type="file"]{padding:9px;background:#fff}[data-admin-panel="promotions"] .admin-form>button[type="submit"]{grid-column:1/-1;justify-self:stretch;width:100%;min-width:0;min-height:48px;margin-top:1px}[data-admin-panel="promotions"] .admin-form.is-editing{border-width:2px;border-color:#8ccaa0;background:#f8fff9}
.admin-form-message{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:11px;background:#fff0ed;color:#b42b24;font-size:.78rem;font-weight:800;text-align:center}
@media(max-width:700px){[data-admin-panel="promotions"] .admin-form{grid-template-columns:1fr;padding:13px}[data-admin-panel="promotions"] .admin-form>button[type="submit"]{grid-column:1;width:100%}}
@media(max-width:700px){.preview-bottom-nav:has(#adminNavButton:not(.hidden)){grid-template-columns:repeat(4,1fr)}.admin-dialog{width:calc(100vw - 16px);height:calc(100dvh - 18px);border-radius:22px}.admin-header{padding:18px}.admin-header h2{font-size:1.35rem}.admin-tabs{padding:10px}.admin-tabs button{padding:9px 13px;font-size:.76rem}.admin-content{padding:14px}.admin-stats{grid-template-columns:1fr 1fr;gap:10px}.admin-stats article{padding:16px}.admin-stats strong{font-size:1.55rem}.admin-toolbar{grid-template-columns:1fr 120px}.admin-toolbar button{grid-column:1/-1}.admin-form{grid-template-columns:1fr}.admin-row{align-items:flex-start}.admin-row small{max-width:210px}.admin-promo{grid-template-columns:72px 1fr auto}.admin-promo img{width:72px;height:48px}.admin-promo .danger{grid-column:3}.admin-redemption{grid-template-columns:1fr}.admin-log{grid-template-columns:1fr}.admin-member-card{padding:22px 18px}}

/* LINE identity and approved admin-preview layout */
.line-identity{display:flex;align-items:center;gap:12px;margin:-7px 0 16px;padding:12px 14px;border:1px solid rgba(23,111,62,.12);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(18,72,43,.07)}.line-avatar{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;overflow:hidden;border:3px solid #d7ff4c;border-radius:50%;background:#0b7841;color:#fff;font-weight:900}.line-avatar img{width:100%;height:100%;object-fit:cover}.line-identity h2{margin:0;font-size:1rem}.line-identity p{margin:0}.line-identity #lineIdentityStatus{margin-top:2px;color:#6d7c73;font-size:.72rem}
.admin-dialog{background:#eef4ef}.admin-shell{grid-template-columns:218px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.admin-tabs{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;gap:5px;padding:88px 14px 18px;background:linear-gradient(180deg,#07572f,#073d26);border:0;overflow:visible}.admin-tabs::before{content:"GEN-Y\A ADMIN";white-space:pre;position:absolute;margin:-64px 8px 0;color:#fff;font-size:.9rem;font-weight:900;line-height:1.25;letter-spacing:.08em}.admin-tabs button{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:13px;background:transparent;color:#d9ebe0;text-align:left}.admin-tabs button.active{background:rgba(255,255,255,.15);color:#fff}.admin-header{grid-column:2;grid-row:1;padding:20px 24px;background:transparent;color:#153727}.admin-header p{color:#08733d}.admin-header h2{font-size:1.45rem}.admin-header span{color:#08733d;opacity:1;font-weight:800}.admin-header button{width:40px;height:40px;border:0;font-size:1.5rem}.admin-content{grid-column:2;grid-row:2;padding:0 24px 28px}.admin-stats{gap:12px;margin-bottom:18px}.admin-stats article{padding:18px;border-radius:18px;box-shadow:0 8px 24px rgba(5,55,29,.06)}.admin-stats strong{font-size:1.7rem}.admin-list{gap:8px}.admin-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;padding:11px 13px;border-radius:14px}.admin-row:hover{border-color:#70ad86;box-shadow:0 7px 20px rgba(5,55,29,.07)}.admin-avatar{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border:2px solid #d9ff53;border-radius:50%;background:#e6f1e9;color:#08733d;font-weight:900}.admin-avatar img{width:100%;height:100%;object-fit:cover}.admin-avatar-large{width:76px;height:76px;flex:0 0 76px;border-width:3px}.admin-profile-head{display:flex;align-items:center;gap:15px;padding-right:50px}.admin-profile-head h2,.admin-profile-head p{margin-bottom:2px}.admin-tier{display:inline-block;padding:4px 8px;border-radius:999px;background:#e8efea;font-size:.66rem;font-style:normal}.admin-tier-silver{background:#e5ebee;color:#40515a}.admin-tier-gold{background:#fff0b4;color:#745205}.admin-tier-platinum{background:#102b3a;color:#83d8ff}.admin-tier-member{background:#dcf6df;color:#17653a}
@media(max-width:700px){.line-identity{margin-top:-4px}.admin-shell{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto}.admin-header{grid-column:1;grid-row:1;padding:16px 16px 10px}.admin-content{grid-column:1;grid-row:2;padding:8px 12px 82px}.admin-tabs{position:absolute;z-index:5;left:8px;right:8px;bottom:8px;grid-column:auto;grid-row:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:7px;border:1px solid #dbe7de;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(3,45,23,.18);overflow:hidden}.admin-tabs::before{display:none}.admin-tabs button{justify-content:center;min-width:0;min-height:50px;padding:5px 2px;border-radius:12px;color:#687a70;font-size:.66rem;text-align:center}.admin-tabs button.active{background:#08733d;color:#fff}.admin-row{grid-template-columns:42px minmax(0,1fr);padding:11px}.admin-row em{grid-column:2;display:flex;justify-content:space-between;align-items:center;text-align:left}.admin-dialog{position:relative}.admin-stats article span{font-size:.75rem}}
.admin-help{margin:-4px 0 14px;color:#68796f;font-size:.78rem}.admin-user-row{display:grid;grid-template-columns:44px minmax(0,1fr) 130px 90px;gap:11px;align-items:center;padding:12px 13px;border:1px solid #dbe7de;border-radius:15px;background:#fff}.admin-user-row div{display:grid;gap:3px}.admin-user-row small{color:#6d7d73}.admin-access{width:max-content;margin-top:3px;padding:3px 7px;border-radius:999px;background:#eef2ef;color:#728078;font-size:.62rem;font-weight:800}.admin-access.active{background:#dcf4e3;color:#08733d}.admin-user-row select,.admin-user-row button{min-height:40px;border:1px solid #ccdbd0;border-radius:11px;background:#f4f8f4;padding:7px 9px}.admin-user-row select:invalid{color:#77847c}.admin-user-row button{border:0;background:#08733d;color:#fff;font-weight:800}.admin-user-row button.danger{background:#fee9e7;color:#b82e2e}
@media(max-width:700px){.admin-tabs{grid-template-columns:repeat(6,1fr)!important;gap:3px!important}.admin-tabs button{padding-left:1px!important;padding-right:1px!important;font-size:.59rem!important}.admin-user-row{grid-template-columns:42px minmax(0,1fr) 88px}.admin-user-row button{grid-column:2/4}.admin-user-row small{font-size:.7rem}}
.admin-user-id{display:block!important;max-width:100%!important;color:#547061!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:.66rem!important;overflow-wrap:anywhere!important;user-select:text!important}
.admin-redemption-group{overflow:hidden;border:1px solid #d9e4db;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(5,55,29,.05)}
.admin-redemption-group+ .admin-redemption-group{margin-top:14px}
.admin-redemption-group>header{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid rgba(0,0,0,.06)}
.admin-redemption-group>header strong{font-size:.94rem}.admin-redemption-group>header span{padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.7);font-size:.69rem;font-weight:900}
.admin-redemption-group>div{display:grid;gap:9px;padding:10px}.admin-redemption-group .admin-redemption{box-shadow:none}
.admin-redemption-group.tone-new{border-color:#efb8b8}.admin-redemption-group.tone-new>header{background:#fee5e5;color:#a52323}.admin-redemption-group.tone-new .admin-redemption{border-left:5px solid #e94343}
.admin-redemption-group.tone-preparing{border-color:#eed788}.admin-redemption-group.tone-preparing>header{background:#fff4c9;color:#795c00}.admin-redemption-group.tone-preparing .admin-redemption{border-left:5px solid #e2b51e}
.admin-redemption-group.tone-shipped{border-color:#a9ddba}.admin-redemption-group.tone-shipped>header{background:#dcf5e4;color:#08733d}.admin-redemption-group.tone-shipped .admin-redemption{border-left:5px solid #15964c}
.admin-redemption-empty{margin:0;padding:18px;text-align:center;color:#829087;font-size:.78rem}
@media(max-width:700px){.admin-redemption-group>header{padding:11px 13px}.admin-redemption-group>div{padding:8px}.admin-redemption-group .admin-redemption{gap:9px}}
.admin-stats .admin-qr-stock{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border-width:2px;background:linear-gradient(120deg,#f6fff7,#e8f7eb)}
.admin-qr-stock>div:first-child{display:grid}.admin-qr-stock .eyebrow{margin:0;color:#08733d}.admin-qr-stock strong{font-size:2.45rem!important;line-height:1}.admin-qr-stock .admin-qr-meta{display:grid;gap:4px;text-align:right}.admin-qr-meta b{font-size:1rem}.admin-qr-meta small{color:#687a70;font-size:.72rem}
.admin-qr-stock.qr-healthy{border-color:#84cea0}.admin-qr-stock.qr-healthy .admin-qr-meta b{color:#08733d}
.admin-qr-stock.qr-low{border-color:#e2bd3e;background:linear-gradient(120deg,#fffdf2,#fff3c4)}.admin-qr-stock.qr-low .admin-qr-meta b{color:#856400}
.admin-qr-stock.qr-critical{border-color:#e65b5b;background:linear-gradient(120deg,#fff8f8,#ffe1e1)}.admin-qr-stock.qr-critical .admin-qr-meta b{color:#b52c2c}
@media(max-width:700px){.admin-stats .admin-qr-stock{align-items:flex-start;gap:12px;padding:17px}.admin-qr-stock strong{font-size:2rem!important}.admin-qr-stock .admin-qr-meta{max-width:55%;text-align:right}.admin-qr-meta b{font-size:.82rem}}

/* Customer dashboard — approved card-first direction. */
html body{background:radial-gradient(circle at 85% 4%,rgba(201,255,50,.18),transparent 23rem),linear-gradient(180deg,#eef7f0 0%,#f7faf6 46%,#edf5ef 100%)!important}
html body .app{width:min(100%,720px)!important;padding-left:16px!important;padding-right:16px!important}
html body .topbar{margin:0 -16px 16px!important;padding:calc(15px + env(safe-area-inset-top)) 20px 17px!important;border-radius:0 0 26px 26px!important;background:radial-gradient(circle at 86% 0,rgba(201,255,50,.18),transparent 14rem),linear-gradient(120deg,#064a2c,#0a7d43 64%,#12a759)!important;box-shadow:0 14px 32px rgba(4,70,37,.18)!important;color:#fff!important}
html body .topbar .eyebrow{color:#c9ff32!important}
html body .topbar h1{color:#fff!important}
html body .topbar .brand-logo{background:#fff!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(0,38,19,.18)!important}
html body .topbar #tierBadge{border:1px solid rgba(255,255,255,.35)!important;background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:none!important;backdrop-filter:blur(8px)!important}
html body .preview-dashboard{gap:0!important;padding-bottom:104px!important}
html body #homePage{display:flex!important;flex-direction:column!important;gap:14px!important;align-items:stretch!important}
html body #homePage>.preview-membership{order:1!important}
html body #homePage>.expiry-collapsible{order:2!important}
html body #homePage>.scan-cta-wide{order:3!important}
html body #homePage>.home-rewards-preview{order:4!important}
html body #homePage>.promo-section{order:5!important}

html body #membershipArea.membership-showcase{min-height:0!important;margin:0!important;padding:19px!important;border:1px solid rgba(255,255,255,.42)!important;border-radius:25px!important;box-shadow:0 18px 38px rgba(23,48,57,.20)!important;overflow:hidden!important}
html body #membershipArea.membership-showcase::after{display:block!important;content:""!important;position:absolute!important;width:148px!important;height:148px!important;right:-48px!important;top:-62px!important;border-radius:50%!important;background:rgba(255,255,255,.12)!important;pointer-events:none!important}
html body #membershipArea.membership-showcase .membership-card-heading{position:relative!important;z-index:1!important}
html body #membershipArea.membership-showcase .member-copy .eyebrow{margin-bottom:6px!important;font-size:.64rem!important;letter-spacing:.18em!important}
html body #membershipArea.membership-showcase .member-copy h2{font-size:2rem!important;line-height:1!important}
html body #membershipArea.membership-showcase .membership-benefit{font-size:.78rem!important}
html body #membershipArea.membership-showcase .member-medal.member-medal-photo{width:64px!important;height:64px!important;flex-basis:64px!important;z-index:2!important}
html body #membershipArea.membership-showcase .membership-points{position:relative!important;z-index:1!important;grid-template-columns:54px minmax(0,1fr)!important;gap:12px!important;margin-top:16px!important;padding-top:15px!important}
html body #membershipArea.membership-showcase .membership-points .points-coin{width:54px!important;height:54px!important;min-width:54px!important}
html body #membershipArea.membership-showcase .membership-points .points-copy strong{font-size:2.15rem!important}
html body #membershipArea.membership-showcase .membership-progress-copy{position:relative!important;z-index:1!important;margin:13px 0 7px!important}
html body #membershipArea.membership-showcase .member-progress{position:relative!important;z-index:1!important;height:7px!important}

html body .expiry-collapsible{margin:0!important;border:1px solid rgba(25,92,54,.10)!important;border-radius:19px!important;background:#fff!important;box-shadow:0 9px 24px rgba(13,69,39,.07)!important;overflow:hidden!important}
html body .expiry-toggle{min-height:66px!important;padding:13px 15px!important}
html body .expiry-toggle>span:first-child{position:relative!important;padding-left:50px!important}
html body .expiry-toggle>span:first-child::before{content:""!important;position:absolute!important;left:0!important;top:50%!important;width:38px!important;height:38px!important;transform:translateY(-50%)!important;border-radius:12px!important;background:#e7f5ea!important}
html body .expiry-toggle small{color:#0a8a47!important;font-size:.62rem!important;letter-spacing:.14em!important}
html body .expiry-toggle strong{font-size:.94rem!important;color:#153e29!important}
html body .expiry-chevron{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#edf7ee!important;color:#08733d!important}

html body .scan-cta-wide{width:100%!important;min-height:72px!important;margin:0!important;padding:11px 14px!important;border:0!important;border-radius:20px!important;background:linear-gradient(110deg,#d5ff46,#afea2d)!important;color:#103d26!important;box-shadow:0 12px 26px rgba(126,171,30,.21)!important;transform:none!important}
html body .scan-cta-wide .scan-cta-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 7px 16px rgba(35,91,38,.12)!important}
html body .scan-cta-wide .scan-art{width:31px!important;height:31px!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body .scan-cta-wide .scan-cta-copy strong{font-size:1rem!important}
html body .scan-cta-wide .scan-cta-copy small{font-size:.68rem!important;color:#3b583d!important}
html body .scan-cta-wide .scan-cta-arrow{margin-left:auto!important;font-size:1.25rem!important}

html body .home-rewards-preview{margin:5px 0 0!important}
html body .home-rewards-heading{align-items:end!important;margin-bottom:10px!important}
html body .home-rewards-heading h2{margin:2px 0 0!important;font-size:1.24rem!important;color:#123e29!important}
html body .home-rewards-heading button{border:0!important;background:transparent!important;color:#08783e!important;font-size:.72rem!important;font-weight:900!important;padding:8px 2px!important}
html body .home-reward-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body .home-reward-card{min-width:0!important;padding:9px!important;border:1px solid rgba(27,100,58,.09)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 20px rgba(12,67,39,.055)!important}
html body .home-reward-card img{display:block!important;width:100%!important;height:84px!important;object-fit:contain!important;border-radius:13px!important;background:linear-gradient(145deg,#eff8ef,#f9fbf2)!important}
html body .home-reward-card div{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:6px!important;margin-top:8px!important}
html body .home-reward-card strong{min-width:0!important;font-size:.78rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .home-reward-card span{flex:none!important;color:#078342!important;font-size:.68rem!important;font-weight:900!important}

html body .promo-section{margin:7px 0 0!important;padding-bottom:4px!important}
html body .promo-heading{margin-bottom:10px!important}
html body .promo-heading h2{font-size:1.25rem!important}
html body .promo-heading>span{font-size:.7rem!important}
html body .promo-slider{border-radius:21px!important;box-shadow:0 12px 28px rgba(14,65,39,.09)!important}
@media(min-width:521px){
 html body .promo-slider{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:14px!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}
 html body .promo-slide{width:auto!important;min-width:0!important;border-radius:21px!important}
 html body .promo-slide img{display:block!important;width:100%!important;height:clamp(180px,22vw,250px)!important;aspect-ratio:auto!important;object-fit:contain!important;background:#fff!important;border-radius:21px!important}
}
html body .preview-bottom-nav{position:fixed!important;left:50%!important;right:auto!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:min(calc(100% - 20px),500px)!important;margin:0!important;transform:translateX(-50%)!important;padding:7px!important;border:1px solid rgba(12,99,49,.12)!important;border-radius:22px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 16px 40px rgba(4,50,27,.20)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
html body .preview-bottom-nav button{min-height:56px!important;border-radius:16px!important;font-size:.71rem!important}
html body .preview-bottom-nav button.active{background:#08713d!important;color:#fff!important;box-shadow:0 8px 18px rgba(5,96,49,.23)!important}

@media(max-width:520px){
 html body .app{padding-left:12px!important;padding-right:12px!important}
 html body .topbar{margin-left:-12px!important;margin-right:-12px!important;padding-left:16px!important;padding-right:16px!important;border-radius:0 0 23px 23px!important}
 html body #homePage{gap:13px!important}
 html body #membershipArea.membership-showcase{padding:17px!important;border-radius:23px!important}
 html body #membershipArea.membership-showcase .member-copy h2{font-size:1.82rem!important}
 html body #membershipArea.membership-showcase .member-medal.member-medal-photo{width:58px!important;height:58px!important;flex-basis:58px!important}
 html body #membershipArea.membership-showcase .membership-points{grid-template-columns:50px minmax(0,1fr)!important}
 html body #membershipArea.membership-showcase .membership-points .points-coin{width:50px!important;height:50px!important;min-width:50px!important}
 html body #membershipArea.membership-showcase .membership-points .points-copy strong{font-size:2rem!important}
 html body .home-reward-card img{height:74px!important}
 html body .promo-slide{min-width:100%!important}
 html body .promo-slide img{width:100%!important;height:clamp(150px,42vw,180px)!important;aspect-ratio:auto!important;object-fit:contain!important;background:#fff!important}
}

/* Keep the admin promotion editor orderly and prevent fields from overflowing. */
html body #adminPromotionForm.admin-form{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 gap:14px 18px!important;
 align-items:end!important;
 width:100%!important;
 max-width:100%!important;
 padding:16px!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
}
html body #adminPromotionForm.admin-form>label{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 gap:7px!important;
 min-width:0!important;
 width:100%!important;
 max-width:100%!important;
 box-sizing:border-box!important;
}
html body #adminPromotionForm.admin-form input{
 display:block!important;
 min-width:0!important;
 width:100%!important;
 max-width:100%!important;
 box-sizing:border-box!important;
}
html body #adminPromotionForm.admin-form>#promoAdminSubmit,
html body #adminPromotionForm.admin-form>#promoAdminMessage{
 grid-column:1/-1!important;
 width:100%!important;
 max-width:100%!important;
 justify-self:stretch!important;
 box-sizing:border-box!important;
}
@media(max-width:700px){
 html body #adminPromotionForm.admin-form{grid-template-columns:minmax(0,1fr)!important;padding:13px!important}
 html body #adminPromotionForm.admin-form>#promoAdminSubmit,
 html body #adminPromotionForm.admin-form>#promoAdminMessage{grid-column:1!important}
}
