.flow-preview-bar{text-align:center;font-size:13px;padding:7px 12px;background:#f2f5f5;color:#526568}.coupon-flow{display:block;max-width:480px;margin:16px auto 48px;padding:0 16px;box-sizing:border-box}.coupon-flow.flow-wide{max-width:1160px}.coupon-focused>header{display:none!important}.flow-back{font-size:14px;display:inline-block;min-height:36px;padding:8px 0}.flow-ticket{border:1px solid #dce5e6;border-radius:14px;overflow:hidden;background:#fff}.flow-ticket>h1{text-align:center;font-size:20px;margin:0;padding:14px}.flow-ticket-copy{padding:18px;border-top:1px dashed #bdcfd0}.flow-ticket-copy>h2{font-size:18px;line-height:1.5;margin:0 0 12px}.flow-caption{font-size:15px;line-height:1.6;margin:8px 0 16px}.flow-primary,.flow-secondary{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;box-sizing:border-box;border-radius:8px;border:1px solid #087d80;padding:10px 12px;font:inherit;font-size:16px;font-weight:700;cursor:pointer;text-decoration:none}.flow-primary{background:#087d80;color:white}.flow-secondary{background:white;color:#087d80}.flow-primary:disabled{opacity:.5;cursor:not-allowed}.flow-text{display:block;margin:10px auto;padding:8px;font:inherit;font-size:14px;min-height:40px;box-sizing:border-box;background:none;border:0;color:#087d80;text-align:center;text-decoration:underline;cursor:pointer}.flow-closed{font-size:13px;color:#6a6258;text-align:center;margin:8px 0}.flow-minor{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-size:14px}.flow-minor details{max-width:62%;font-size:14px}.flow-minor details p{line-height:1.7}.flow-quantity{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}.flow-quantity>div{display:flex;align-items:center}.flow-quantity button{background:#edf6f5;border:1px solid #c2d8d8;width:44px;height:44px;font-size:24px;color:#087d80}.flow-quantity input{width:64px;height:44px;text-align:center;box-sizing:border-box;border:1px solid #c2d8d8;font-size:20px}.flow-dialog{border:1px solid #d5e2e2;border-radius:14px;max-width:400px;width:calc(100% - 40px);box-sizing:border-box;padding:22px}.flow-dialog::backdrop{background:#183f50a0}.flow-dialog h2{font-size:21px}.flow-dialog>div{display:flex;gap:12px}.flow-dialog strong{font-size:23px}.flow-dialog p{line-height:1.7}.flow-success{text-align:center}.flow-success>span{display:inline-flex;align-items:center;justify-content:center;background:#edf6f5;width:48px;height:48px;border-radius:50%;color:#087d80;font-size:28px}.screen-label{text-align:center;font-size:14px;color:#63777f}.flow-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.flow-wallet-card{border:1px solid #dce5e6;border-radius:12px;overflow:hidden;color:inherit;text-decoration:none}.flow-wallet-card>div{padding:16px}.flow-wallet-card h2{font-size:20px}.flow-tabs{display:flex;gap:24px;padding:16px 0;border-bottom:1px solid #dce5e6}.flow-record,.flow-report{border:1px solid #dce5e6;border-radius:12px;padding:20px;margin:16px 0}.flow-record h2,.flow-report h2{font-size:20px}.flow-record small{display:block}.flow-report dl{display:grid;grid-template-columns:1fr 1fr;gap:12px}.flow-report dd{margin:0;text-align:right}.flow-report details{font-size:14px}.flow-ticket .store-image{width:100%}.flow-primary:focus-visible,.flow-text:focus-visible,.flow-secondary:focus-visible{outline:3px solid #e09556;outline-offset:3px}@media(max-width:760px){.flow-wallet{grid-template-columns:1fr}.flow-ticket-copy{padding:16px}.coupon-flow{margin-top:10px}.flow-ticket>h1{padding:12px}.flow-quantity{margin:16px 0}.flow-dialog>div{gap:8px}}

/* Compact coupon composition: keep the original square artwork and the primary action in the first screen. */
.coupon-flow:not(.flow-wide){max-width:420px;margin-top:8px}.flow-ticket>h1{font-size:18px;padding:10px 12px}.flow-ticket .store-image{width:100%;max-width:min(100%,clamp(160px,30svh,240px));margin:0 auto;aspect-ratio:1}.flow-ticket-copy{padding:12px 16px}.flow-ticket-copy>h2{font-size:16px;line-height:1.4;margin:0 0 8px}.flow-caption{font-size:14px;line-height:1.45;margin:6px 0 10px}.flow-back{min-height:28px;padding:4px 0;font-size:14px}.flow-quantity{margin:12px 0}.flow-preview-bar{font-size:12px;padding:5px 8px}.flow-minor{margin-top:10px}.notice-preview .screen-label{margin:6px 0 8px}.flow-ticket .flow-success h2{font-size:20px;margin:8px 0}.flow-success>span{width:36px;height:36px;font-size:22px}.flow-text{margin:4px auto;padding:7px;min-height:36px}@media(max-height:700px){.flow-ticket .store-image{max-width:min(100%,clamp(140px,25svh,180px))}.flow-ticket>h1{padding:8px 10px}.flow-ticket-copy{padding:10px 12px}.flow-caption{margin:4px 0 8px}.flow-quantity{margin:8px 0}}

/* Restore the approved LINE Flex layout: full-width 4:3 hero, two-line message, primary use button. */
.notice-preview{max-width:330px;margin:0 auto;padding:10px;background:#dce9ec;border-radius:8px}.notice-preview .screen-label{font-size:12px;margin:0 0 8px}.notice-preview .line-bubble{border:0;border-radius:12px}.notice-preview .line-bubble>h1{font-size:20px;color:#087d80;padding:14px 10px}.notice-hero{position:relative;aspect-ratio:4/3;overflow:hidden;background:#f3f5f3}.notice-preview .line-bubble .notice-hero>.store-image{width:100%;max-width:none;height:100%;aspect-ratio:4/3;margin:0}.notice-preview .line-bubble .notice-hero>.store-image img{object-fit:cover}.notice-offer{position:absolute;bottom:0;left:0;right:0;padding:12px 14px;background:linear-gradient(transparent,#163e4bf2);color:#fff}.notice-offer small{font-size:13px;display:block;line-height:1.5}.notice-offer strong{font-size:22px;display:block;margin-top:4px;line-height:1.4}.notice-message{text-align:center;font-size:14px;line-height:1.7;margin:0 0 12px}.notice-preview .flow-ticket-copy{border:0;padding:14px}.notice-preview .flow-primary{min-height:44px}.notice-preview .flow-text{font-size:12px;margin:5px 0 0;padding:5px;min-height:28px}.notice-hero.notice-original{aspect-ratio:1}.notice-preview .line-bubble .notice-hero.notice-original>.store-image{aspect-ratio:1}.notice-preview .notice-original .original-coupon img{height:auto;object-fit:initial}
/* Original compact wallet rows, not a grid of large posters. */
.flow-wallet{display:flex;flex-direction:column;gap:0;margin:16px 0}.flow-wallet-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;border:0;border-radius:0;border-bottom:1px solid #dce5e6;padding:18px 0;align-items:start}.flow-wallet-card>.store-image{width:96px;height:96px;aspect-ratio:1;border-radius:6px}.flow-wallet-card>div{padding:0}.flow-wallet-card h2{font-size:18px;margin:0 0 6px}.flow-wallet-card p{font-size:14px;margin:0 0 8px;line-height:1.5}.wallet-use-button{font-size:14px;background:#087d80;color:#fff;padding:8px 12px;display:inline-flex;align-items:center;min-height:40px;border-radius:6px;box-sizing:border-box}.flow-tabs>a{min-height:36px;display:flex;align-items:center}.flow-tabs>a:first-child{border-bottom:2px solid #087d80;font-weight:700}@media(max-width:360px){.flow-wallet-card{grid-template-columns:80px minmax(0,1fr);gap:12px}.flow-wallet-card>.store-image{width:80px;height:80px}}

.flow-tabs>a,.flow-tabs>a:first-child{border-bottom:2px solid transparent;font-weight:400}.flow-tabs>a[aria-current="page"]{border-bottom-color:#087d80;font-weight:700}

/* CEO approved refinement: matte champagne gold, dark readable lettering. */
.notice-offer{background:#D2BA82;color:#173D4A;padding:12px 14px}.notice-offer small{color:#173D4A}.notice-offer strong{color:#173D4A}

.use-result{max-width:380px;margin:28px auto;padding:24px 20px;text-align:center;border:1px solid #dce5e6;border-radius:12px;background:#fff}.result-check{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf6f5;color:#087d80;font-size:28px;margin:0 auto 14px}.use-result h1{font-size:24px;margin:0 0 16px}.use-result h2{font-size:18px;margin:0 0 12px}.use-result p{font-size:16px;line-height:1.6}.use-result .flow-caption,.use-result .flow-closed{font-size:14px}.use-result .flow-primary{margin-top:20px}

/* Compact notification spacing keeps the primary action higher. */
.notice-preview .line-bubble>h1{padding:8px 10px}.notice-preview .flow-ticket-copy{padding:10px}.notice-message{line-height:1.5;margin-bottom:8px}.notice-offer{padding:10px 12px}.flow-ticket:not(.line-bubble) .store-image{max-width:min(100%,calc(26svh * 4 / 3))}.coupon-flow{padding-bottom:env(safe-area-inset-bottom,0px)}

/* CEO approved C claim and A gold notification. */
.coupon-flow:not(.flow-wide){max-width:372px}.claim-c .claim-notice{font-size:14px;padding:12px 16px;color:#087d80;border-bottom:1px solid #edf1f0}.claim-c .store-image{max-width:none!important;width:100%;aspect-ratio:16/9;max-height:185px}.claim-c .store-image.original-coupon{aspect-ratio:1;max-height:none}.claim-c .flow-ticket-copy{padding:14px 16px;border:0}.claim-c h1{font-size:18px;font-weight:400;line-height:1.5;margin:0 0 8px}.claim-c h2{font-size:22px;font-weight:400;line-height:1.5;margin:0 0 10px}.claim-giving{font-size:14px;line-height:1.6;color:#476368;margin:0 0 12px;padding-top:10px;border-top:1px solid #e6eceb}.claim-save{text-align:center;font-size:13px;line-height:1.6;color:#58676b;margin:10px 0 0}.claim-c .flow-primary,.notice-preview .flow-primary{background:#066b6e;border-color:#066b6e;font-weight:400;min-height:44px}.claim-c .flow-primary:disabled{opacity:1;background:#066b6e;color:white}.claim-c .flow-closed{font-size:12px;margin:8px 0}.claim-c .flow-minor{font-size:12px}.notice-preview .line-bubble>h1{font-size:14px;text-align:left;font-weight:400;padding:12px 16px}.notice-offer{position:static;background:#e7d8b8;color:#5b4b2c;padding:12px 16px}.notice-offer small{font-size:13px;font-weight:400;color:#5b4b2c}.notice-offer strong{font-size:22px;font-weight:400;line-height:1.5;color:#5b4b2c;margin-top:3px}.notice-hero{aspect-ratio:auto}.notice-preview .line-bubble .notice-hero>.store-image{height:170px;aspect-ratio:auto}.notice-preview .notice-message{font-weight:400;font-size:14px}.notice-hero.notice-original>.store-image{height:auto!important;aspect-ratio:1!important}.notice-preview .flow-ticket-copy{padding:12px 16px}.notice-original .original-coupon{aspect-ratio:1}

.claim-c .store-image.claim-original img{object-fit:contain;background:white}.claim-c .store-image.claim-original{height:185px;aspect-ratio:16/9}

/* Compact full-composition cover at the LINE login step. */
.claim-c .store-image.approved-cover{width:100%;height:auto;aspect-ratio:3/2;max-height:none}.claim-c .store-image.approved-cover img{object-fit:contain}.claim-c .store-image.approved-cover{max-height:min(220px,30svh);aspect-ratio:auto;height:min(220px,30svh);background:#fff}.claim-c .flow-closed{font-size:13px;color:#626e6d;line-height:1.5}.claim-c .flow-primary:disabled{cursor:not-allowed}.claim-c .flow-ticket-copy{padding-top:10px}.claim-c h1{margin-bottom:5px}.claim-c h2{margin-bottom:7px}.claim-giving{padding-top:7px;margin-bottom:9px}@media(max-height:650px){.claim-c .store-image.approved-cover{height:25svh}.claim-c .claim-notice{padding:8px 12px}.claim-c .claim-save{margin-top:7px}}

/* Optional merchant video. Loaded only after an explicit click; the claim action stays above it. */
.store-video{margin:12px 0 2px}.store-video-open{display:flex;gap:7px;align-items:center;justify-content:center;width:100%;min-height:44px;border:1px solid #d4dfdc;border-radius:7px;background:#fff;color:#066b6e;font-family:inherit;font-size:14px;font-weight:400;cursor:pointer}.store-video-open:hover{background:#f1f7f5}.store-video-open:focus-visible,.store-video-close:focus-visible,.store-video-external:focus-visible{outline:3px solid #087d80;outline-offset:3px}.store-video-dialog{box-sizing:border-box;padding:14px;max-width:400px;width:calc(100% - 28px);max-height:calc(100svh - 28px);overflow:auto;border:1px solid #d4dfdc;border-radius:12px;color:#173d4a;background:#fff}.store-video-dialog::backdrop{background:#0c252ac4}.store-video-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.store-video-heading h2{font-size:17px;font-weight:400;line-height:1.45;margin:0}.store-video-close{border:0;background:#f0f5f3;border-radius:50%;color:#173d4a;min-width:44px;height:44px;font-size:28px;cursor:pointer}.store-video-player{position:relative;width:100%;height:min(56svh,510px);background:#f0f3f2;border-radius:7px;overflow:hidden}.store-video-player iframe{display:block;border:0;width:100%;height:100%}.store-video-external{display:flex;align-items:center;justify-content:center;min-height:44px;color:#066b6e;font-size:14px;margin-top:6px}.store-video-note{text-align:center;font-size:13px;line-height:1.5;color:#626e6d;margin:4px 0 0}
