/* Mobile-first guest menu and physical loyalty card journey. */
.tm{--teal:#155c47;--teal-dark:#104934;--mint:#f7f8f3;--mint-soft:#e7f1e9;background:#f7f8f3}.tm .tm-panel{background:#f7f8f3;margin-top:0;border-radius:0;padding-top:12px}.tm .tm-chips{background:#f7f8f3;gap:10px;align-items:center;padding:10px 0 14px}.tm .tm-chip{padding:12px 16px;min-height:46px;border-radius:14px;background:#fff;border:1px solid #e5ebe5;font-size:14px;font-weight:500}.tm .tm-chip.on{font-size:14px;background:#d9eee1;color:#13583f;border-color:#c5e4d0;font-weight:700}.tm .tm-search{background:white;border:1px solid #e0e8e0;border-radius:14px;padding:13px 14px;box-shadow:0 4px 16px #133b2810}.tm .tm-title{font-size:28px}.tm .tm-card{border:1px solid #e6ece5;box-shadow:0 3px 12px #173b2a08}.tm .tm-card-name{font-weight:600}.tm .tm-price{font-size:15px;color:#174c38}.tm-brandbar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;max-width:1080px;margin:auto;background:white}.tm-brandbar a{display:flex;align-items:center;gap:8px;text-decoration:none;color:#246b50;font-size:19px;font-weight:600;letter-spacing:-.5px}.tm-brandbar img{width:34px;height:34px}.tm-brandbar button{border:1px solid #e0e8e0;background:white;border-radius:10px;width:44px;height:44px;font-size:22px;color:#246b50;cursor:pointer}.tm .tm-banner{height:190px;margin-bottom:18px}.tm-reward-entry{width:100%;display:flex;align-items:center;gap:14px;text-align:left;border:0;border-radius:18px;background:linear-gradient(120deg,#0c563e,#236b50);color:white;padding:20px;margin:8px 0 22px;cursor:pointer;box-shadow:0 7px 20px #1c553b15}.tm-reward-entry .gift{font-size:36px}.tm-reward-entry strong{display:block;font-size:18px;font-weight:600}.tm-reward-entry small{display:block;margin-top:5px;font-size:13px;line-height:1.45;color:#e4f1e7}.tm-reward-entry .arrow{margin-left:auto;font-size:28px}.tm-menu-heading{font-size:21px;margin:8px 0 14px;font-weight:600}.tm .tm-card-body{padding:12px}.tm .tm-card-meta{margin:3px 0 5px}
.gl-open{overflow:hidden}.gl-dialog{--green:#125a42;--soft:#edf4ed;box-sizing:border-box;border:0;padding:0;width:min(100%,480px);max-width:100vw;max-height:94dvh;border-radius:24px;background:#fafbf7;color:#1d2822;font:15px Inter,system-ui,sans-serif;box-shadow:0 20px 80px #082b2440;overflow:auto}.gl-dialog::backdrop{background:#10281b80;backdrop-filter:blur(4px)}.gl-dialog *{box-sizing:border-box}.gl-header{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;padding:10px 14px;background:#fafbf7ed;backdrop-filter:blur(12px);border-bottom:1px solid #e9eee6}.gl-header strong{font-size:16px}.gl-back{width:44px;height:44px;border:0;background:transparent;font-size:34px;line-height:1;cursor:pointer;color:#18382a}.gl-content{padding:24px 22px 28px}.gl-content h1{font-size:26px;line-height:1.25;letter-spacing:-.7px;margin:18px 0 10px}.gl-content h2{font-size:16px;margin:0}.gl-content p{line-height:1.6;color:#647066;font-size:14px}.gl-button{width:100%;min-height:50px;border:1px solid #125a42;border-radius:12px;background:#125a42;color:white;font:600 14px Inter,system-ui;cursor:pointer;padding:13px 16px;margin-top:12px}.gl-button.secondary{background:transparent;color:#125a42}.gl-button:focus-visible,.gl-back:focus-visible,.tm-reward-entry:focus-visible{outline:3px solid #e4ba4a;outline-offset:3px}.gl-intro{text-align:center}.gl-card-art{width:194px;height:246px;margin:10px auto 30px;background:linear-gradient(145deg,#0e4c35,#1c6a4a);border:1px solid #367357;border-radius:18px;box-shadow:0 15px 25px #0e4f3525;transform:rotate(-5deg);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:8px}.gl-card-art img{width:36px;height:36px}.gl-card-art span{font-size:18px;font-weight:600}.gl-card-art strong{font-size:11px;letter-spacing:2px;color:#e7cf7e}.gl-art-qr{font-size:72px;background:white;color:#15553e;width:90px;height:86px;line-height:86px;border-radius:6px}.gl-card-art small{font-size:10px;color:#e4eddc}.gl-manual{margin-top:22px;border-top:1px solid #e0e8de;padding-top:18px}.gl-manual summary{text-align:center;color:#155a42;font-weight:500;cursor:pointer;min-height:36px}.gl-manual label{display:block;font-size:12px;margin-top:16px}.gl-manual input{width:100%;font:16px Inter,system-ui;border:1px solid #cddace;border-radius:12px;padding:14px;margin-top:8px;min-width:0}.gl-footnote{text-align:center;font-size:11px!important;margin:22px 4px 0;color:#778176!important}.gl-state{text-align:center;padding:60px 8px 36px}.gl-status{display:grid;place-items:center;border-radius:50%;height:78px;width:78px;margin:10px auto 26px;font-size:46px;font-weight:500;box-shadow:0 0 0 18px #e8f2e8}.gl-status.success{background:#146347;color:white}.gl-status.error{background:#dc3c36;color:white;box-shadow:0 0 0 18px #fcece7}.gl-help,.gl-notice{background:#fff3e6;border:1px solid #f4e3cb;border-radius:14px;padding:16px;font-size:13px}.gl-help p{margin:8px 0 0;font-size:13px}.gl-loading{display:grid;place-items:center;width:116px;height:116px;border:5px solid #dbeade;border-top-color:#186247;border-radius:50%;margin:20px auto 36px;animation:gl-spin 1.5s linear infinite}.gl-loading img{width:52px;height:52px;animation:gl-spin 1.5s linear infinite reverse}@keyframes gl-spin{to{transform:rotate(360deg)}}.gl-welcome{text-align:center;padding:8px 0 16px}.gl-welcome .gl-status{height:64px;width:64px;font-size:38px;margin:20px auto 24px}.gl-welcome h1{font-size:24px}.gl-welcome p{margin:0}.gl-summary{border:1px solid #e7ece4;background:#fff;border-radius:14px;padding:16px;margin-bottom:14px;display:flex;flex-direction:column;gap:8px}.gl-summary>span{font-size:12px;color:#667366}.gl-summary strong{font-size:23px;color:#155a42}.gl-summary small{font-size:13px;font-weight:500;color:#425a48}.gl-progress{background:white;border:1px solid #e6ece4;border-radius:16px;padding:18px}.gl-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.gl-row>span{font-size:11px;color:#647266;white-space:nowrap}.gl-stamps{display:flex;gap:6px;margin:20px 0 16px;flex-wrap:wrap}.gl-stamps span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eff1eb;color:#8c9387;font-size:13px}.gl-stamps .earned{background:#219b59;color:white;font-size:20px}.gl-progress progress{width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;background:#edf1e9;appearance:none}.gl-progress progress::-webkit-progress-bar{background:#edf1e9}.gl-progress progress::-webkit-progress-value{background:#1b634a;border-radius:10px}.gl-progress progress::-moz-progress-bar{background:#1b634a}.gl-progress p{font-size:12px}.gl-next{display:flex;align-items:center;gap:14px;background:#f8faf4;border-radius:12px;padding:14px}.gl-next>span{font-size:30px}.gl-next strong,.gl-next small{display:block;line-height:1.5}.gl-next small{font-size:11px;color:#738071}.gl-next strong{font-size:14px;margin:2px 0}.gl-offer-title{margin:26px 0 12px}.gl-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gl-offer{background:white;border:1px solid #e4ebe1;border-radius:14px;padding:14px;min-width:0}.gl-offer-icon{display:block;font-size:32px;color:#1a6b46;background:#eff5e9;border-radius:10px;padding:16px;margin-bottom:12px;text-align:center}.gl-tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#35704e}.gl-offer h3{font-size:14px;margin:7px 0;overflow-wrap:anywhere}.gl-offer p{font-size:11px;line-height:1.5;margin:0}.gl-scanner{position:relative;height:min(65dvh,540px);border-radius:18px;overflow:hidden;background:#153829;color:white;margin:-5px -6px 8px}.gl-scanner video{width:100%;height:100%;object-fit:cover}.gl-scan-shade{position:absolute;inset:0;background:linear-gradient(#0008,transparent 50%,#0008);pointer-events:none}.gl-scan-copy{position:absolute;top:20px;left:16px;right:16px;text-align:center}.gl-scan-copy h1{font-size:23px}.gl-scan-copy p{color:#f0f4ef;font-size:13px}.gl-scan-frame{position:absolute;top:43%;left:15%;width:70%;aspect-ratio:1;border:3px solid #fff;border-radius:20px;box-shadow:0 0 0 100vmax #0001;pointer-events:none}.gl-scan-status{position:absolute;bottom:20px;left:16px;right:16px;color:white!important;text-align:center;font-size:12px!important}
@media(max-width:600px){.gl-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.gl-content{padding-bottom:calc(28px + env(safe-area-inset-bottom))}.gl-header{padding-top:calc(8px + env(safe-area-inset-top))}.tm .tm-wrap{padding-left:16px;padding-right:16px}.tm .tm-title{font-size:25px}.tm .tm-banner{height:170px}.tm .tm-head{padding-bottom:6px}.tm-brandbar{padding:10px 16px}.tm .tm-card-img{aspect-ratio:1.12}.tm .tm-card-name{font-size:14px}.tm .tm-grid{gap:12px}.tm-reward-entry{padding:18px;margin-bottom:18px}.tm .tm-chips{position:static}.tm-menu-heading{font-size:20px}.gl-offers .gl-notice{grid-column:1/-1}}
@media(min-width:900px){.tm-reward-entry{max-width:560px}.tm .tm-banner{height:230px}.tm .tm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.gl-loading,.gl-loading img{animation:none}}
.tm .tm-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow:visible;align-items:stretch}.tm .tm-chip,.tm .tm-chip.on{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:80px;padding:10px 5px;border:0;border-radius:14px;white-space:normal;font-size:12px;line-height:1.2}.tm-cat-icon{display:block;width:30px;height:30px;color:#263f30}.tm-cat-icon svg{width:100%;height:100%}.tm-reward-entry .gift{width:46px;flex:none;line-height:0}.tm-reward-entry .gift svg{width:46px;height:46px}.tm-reward-entry{background:linear-gradient(115deg,#07543c,#0c6046);box-shadow:none;border-radius:15px}.tm-reward-entry small{font-size:13px;line-height:1.5}.tm-brandbar button{font-size:21px}.tm .tm-banner{background-color:#e3eee2}.tm .tm-banner.def{height:42px;background-image:none;margin-bottom:0}.tm .tm-card-img{background:#edf3e9}.tm .tm-menu-heading{font-weight:600}.tm .tm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:900px){.tm .tm-chips{grid-template-columns:repeat(8,minmax(0,1fr))}.tm .tm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:380px){.tm .tm-chips{grid-template-columns:repeat(4,minmax(0,1fr))}.tm .tm-card-body{padding:10px}.tm-reward-entry{gap:10px;padding:16px}.tm-reward-entry strong{font-size:17px}}

/* Guest menu: aligned tablet and laptop layout. */
@media(min-width:700px){.tm .tm-wrap{max-width:1240px;box-sizing:border-box;padding-left:32px;padding-right:32px}.tm .tm-search{max-width:none;width:100%;box-sizing:border-box}.tm .tm-chips{display:flex;gap:12px;overflow-x:auto;align-items:stretch;padding:14px 0 20px}.tm .tm-chip,.tm .tm-chip.on{flex:1 0 100px;max-width:none;min-height:78px;padding:12px 16px}.tm .tm-reward-entry{max-width:none;width:100%;box-sizing:border-box;padding:20px 24px;align-items:center}.tm .tm-reward-entry small br{display:none}.tm .tm-menu-heading{margin:24px 0 18px}.tm .tm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tm .tm-card{height:100%;display:flex;flex-direction:column}.tm .tm-card-img{width:100%;aspect-ratio:1.25;flex-shrink:0}.tm .tm-card-body{display:flex;flex-direction:column;flex:1;padding:16px}.tm .tm-card-name{font-size:17px;line-height:1.35}.tm .tm-price{margin-top:auto;font-size:17px}}
@media(min-width:1100px){.tm .tm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.tm .tm-panel{padding-top:16px}.tm .tm-reward-entry{margin-top:2px;margin-bottom:24px}}

@media(max-width:699px){.tm .tm-chips{display:flex!important;flex-wrap:nowrap;overflow-x:auto!important;overflow-y:hidden;gap:10px;padding-bottom:12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tm .tm-chip,.tm .tm-chip.on{flex:0 0 82px;min-height:76px;white-space:nowrap}.tm .tm-chips::-webkit-scrollbar{display:none}}

/* Restaurant-owned loyalty entry. Scanner, card lookup and rewards retain their existing flow. */
.gl-entry{display:flex;flex-direction:column;min-height:min(780px,calc(100dvh - 120px));text-align:left;padding:8px 0 0;color:#1d2822}
.gl-restaurant{display:flex;align-items:center;gap:12px;margin-bottom:32px;min-width:0}.gl-restaurant-mark{width:56px;height:56px;border-radius:12px;flex:0 0 56px;background:var(--green);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:700;overflow:hidden}.gl-restaurant-mark img{width:100%;height:100%;object-fit:contain;background:white}.gl-restaurant>strong{font-size:20px;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.gl-entry-intro h1{font-size:30px;line-height:1.2;letter-spacing:-.03em;text-align:left;margin:0 0 12px;font-weight:700}.gl-entry-intro p{font-size:14px;line-height:1.6;color:#637168;margin:0 0 24px;text-align:left}
.gl-loyalty-pass{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:160px;padding:24px;margin-bottom:24px;border-radius:16px;background:var(--green);color:#fff}.gl-loyalty-pass>div:first-child{min-width:0}.gl-loyalty-pass strong{display:block;font-size:24px;line-height:1.25;font-weight:700}.gl-loyalty-pass small{display:block;font-size:12px;line-height:1.5;margin-top:12px;color:#fff}.gl-pass-code{flex:0 0 88px;width:88px;height:88px;padding:8px;background:white;border-radius:8px;color:#1d2822}.gl-pass-code svg{display:block;width:100%;height:100%}
.gl-entry .gl-button{min-height:52px;border-radius:12px;box-shadow:none;font-size:14px}.gl-entry .gl-manual{margin-top:8px;border:0;padding:0}.gl-entry .gl-manual summary{text-align:center;padding:12px 0;min-height:44px;list-style:none;font-size:14px}.gl-entry .gl-manual summary::-webkit-details-marker{display:none}.gl-entry .gl-registration-note{text-align:left;font-size:12px;line-height:1.6;margin:24px 0 32px;color:#637168}.gl-entry .gl-powered{margin:auto 0 0;padding-top:24px;text-align:center;font-size:12px;color:#637168}.gl-entry button:focus-visible,.gl-entry summary:focus-visible{outline:3px solid #246b50;outline-offset:3px}
@media(max-width:360px){.gl-loyalty-pass{padding:16px;gap:12px}.gl-pass-code{flex-basis:72px;width:72px;height:72px}.gl-loyalty-pass strong{font-size:20px}}
