:root{--navy:#213163;--orange:#d36446;--paper:#f4f1e6;--ink:#24344a;--muted:#69758a;--line:#e5e6e7}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:system-ui,-apple-system,"Noto Sans TC","PingFang TC",sans-serif;color:var(--ink)}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.app-shell{position:relative;display:grid;grid-template-columns:minmax(350px,400px) 1fr;grid-template-rows:64px 1fr;height:100dvh;background:#eff0ef;overflow:hidden}.topbar{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:var(--paper);z-index:1001;border-bottom:1px solid #dedfdc}.brand{display:flex;align-items:center;gap:10px;font-size:1.12rem;font-weight:900;color:var(--navy)}.brand img{width:36px;height:36px;object-fit:contain}.locate{border:0;background:var(--navy);color:white;border-radius:12px;min-height:42px;padding:0 14px;font-weight:800}.search-wrap{grid-column:1;grid-row:2;position:absolute;z-index:3;top:18px;left:20px;right:20px}.search{display:flex;align-items:center;gap:8px;height:54px;padding:0 16px;background:#fff;border-radius:15px;box-shadow:0 9px 25px #17264426;border:1px solid #ececec}.search>span{font-size:1.7rem;color:var(--navy);line-height:1}.search input{width:100%;min-width:0;border:0;outline:0;font-size:1rem;color:var(--ink);background:transparent}.search input::placeholder{color:#768399}.search button{border:0;background:none;color:var(--muted);font-size:1.5rem}.map-area{grid-column:2;grid-row:2;position:relative;min-width:0;background:#e5e9e9}.map-area #mapCanvas{width:100%;height:100%;background:#e8ebeb}.map-fallback{position:absolute;inset:0;display:grid;place-items:center;padding:40px;text-align:center;background:#e6e9e8;color:var(--navy);font-weight:700}.map-fallback[hidden]{display:none}.map-locate{position:absolute;right:18px;bottom:25px;z-index:600;width:48px;height:48px;border:0;border-radius:14px;background:white;box-shadow:0 4px 16px #24344a35;color:var(--navy);font-size:1.7rem}.leaflet-tile-pane{filter:grayscale(.8) saturate(.5) contrast(.93) brightness(1.07)}.leaflet-container{font:inherit}.leaflet-control-attribution{font-size:10px!important;background:#ffffffdc!important}.pin{width:27px;height:27px;border:3px solid white;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);background:var(--orange);box-shadow:0 3px 12px #1f2f5680;transition:transform .18s,background .18s}.pin:after{content:'';position:absolute;inset:7px;border-radius:50%;background:white}.pin.selected{background:var(--navy);transform:rotate(-45deg) scale(1.38);box-shadow:0 0 0 5px #21316331,0 5px 20px #1223459c}.user-dot{width:15px;height:15px;background:#338ac9;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 6px #338ac945}.sheet{grid-column:1;grid-row:2;position:relative;z-index:2;display:flex;flex-direction:column;min-height:0;background:#fff;box-shadow:12px 0 32px #15294b1c;padding-top:77px}.sheet-handle{display:none}.sheet-head{padding:8px 22px 0;display:flex;align-items:end;justify-content:space-between;gap:10px}.kicker{font-size:.72rem;letter-spacing:.14em;font-weight:850;color:var(--orange)}h1{font-size:1.55rem;line-height:1.3;margin:4px 0}.result-count{font-size:.78rem;color:var(--muted);white-space:nowrap}.status{margin:5px 22px 12px;color:var(--muted);font-size:.82rem;line-height:1.5;min-height:20px}.districts{display:flex;overflow-x:auto;gap:7px;padding:0 22px 14px;scrollbar-width:none}.districts::-webkit-scrollbar{display:none}.districts button{white-space:nowrap;min-height:38px;padding:0 14px;background:#f4f5f5;color:#5e6c7e;border:1px solid #edf0ef;border-radius:99px;font-size:.83rem;font-weight:750}.districts button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}.sheet-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 24px}.featured{background:#fff;border:1px solid #e1e4e7;border-radius:19px;padding:19px;box-shadow:0 8px 24px #17264416}.featured .meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.featured .district{color:var(--orange);font-size:.79rem;font-weight:850}.featured .distance{font-size:.79rem;font-weight:800;color:var(--navy);background:#edf0f6;border-radius:99px;padding:5px 9px}.featured h2{font-size:1.4rem;color:var(--navy);margin:9px 0 6px}.featured p{font-size:.88rem;color:#5e6d80;line-height:1.55;margin:3px 0}.featured .actions{display:flex;gap:8px;margin-top:17px}.featured .nav-action{display:grid;place-items:center;flex:1;min-height:52px;border-radius:13px;background:var(--orange);color:#fff;font-weight:850;font-size:1rem}.featured .alt-action{display:grid;place-items:center;min-width:50px;min-height:52px;border:1px solid var(--line);border-radius:13px;color:var(--navy);font-size:.83rem;font-weight:850;background:white}.list-heading{display:flex;justify-content:space-between;margin:25px 4px 9px;font-size:.9rem;font-weight:850;color:var(--navy)}.list-heading span{color:var(--muted);font-weight:650}.store-list{display:grid;gap:8px}.store-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:74px;padding:11px 14px;border:1px solid #e6e7e7;border-radius:14px;background:#fff;text-align:left;color:var(--ink)}.store-row.active{border-color:var(--navy);background:#f2f4f8}.store-row strong,.store-row small{display:block}.store-row strong{font-size:.97rem}.store-row small{color:var(--muted);font-size:.77rem;line-height:1.5;margin-top:4px}.store-row .row-distance{color:var(--navy);font-size:.78rem;font-weight:800;white-space:nowrap}.footnote{font-size:.76rem;color:#808c99;line-height:1.55;margin:21px 4px}.toast{position:fixed;z-index:2000;left:50%;bottom:24px;transform:translate(-50%,10px);opacity:0;pointer-events:none;background:#24344a;color:white;padding:10px 16px;border-radius:99px;transition:.2s;white-space:nowrap;font-size:.82rem}.toast.show{opacity:1;transform:translate(-50%,0)}:focus-visible{outline:3px solid #e2a64a;outline-offset:2px}
@media(max-width:700px){.app-shell{display:block;height:100dvh;overflow:hidden}.topbar{height:58px;padding:0 17px}.brand{font-size:1.05rem}.brand img{width:30px;height:30px}.locate{min-height:40px}.search-wrap{position:absolute;top:70px;left:15px;right:15px;z-index:800}.search{height:50px}.map-area{position:absolute;top:58px;left:0;right:0;bottom:40%;transition:bottom .25s}.map-locate{right:15px;bottom:12px}.sheet{position:absolute;left:0;right:0;bottom:0;z-index:900;height:40%;min-height:270px;padding-top:0;border-radius:21px 21px 0 0;box-shadow:0 -12px 32px #1726442d;transition:height .25s;touch-action:pan-y}.sheet.expanded{height:76%}.sheet.expanded~.map-locate{bottom:calc(76% + 10px)}.sheet.collapsed{height:18%;min-height:130px}.sheet-handle{display:grid;place-items:center;width:100%;height:28px;flex:none;border:0;background:none}.sheet-handle span{width:38px;height:5px;background:#c9ced3;border-radius:5px}.sheet-head{padding:0 19px}.sheet-head h1{font-size:1.15rem;margin:2px 0}.kicker{font-size:.62rem}.status{margin:2px 19px 9px;font-size:.77rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.districts{padding:0 19px 9px}.districts button{min-height:35px;font-size:.78rem}.sheet-scroll{padding:0 16px calc(20px + env(safe-area-inset-bottom))}.featured{padding:15px;border-radius:17px}.featured h2{font-size:1.23rem;margin:5px 0}.featured p{font-size:.8rem}.featured .actions{margin-top:11px}.featured .nav-action,.featured .alt-action{min-height:48px}.list-heading{margin:19px 4px 7px}.toast{bottom:calc(42% + 12px)}.sheet.collapsed .districts,.sheet.collapsed .sheet-scroll{display:none}}
/* 暫停地圖服務期間的據點清單版面 */
html,body{height:auto;min-height:100%;background:var(--paper)}.app-shell{display:block;min-height:100dvh;height:auto;overflow:visible;background:var(--paper)}.topbar{position:sticky;top:0;height:64px;z-index:20}.brand img{filter:brightness(0) saturate(100%) invert(19%) sepia(21%) saturate(2052%) hue-rotate(185deg) brightness(87%) contrast(91%)}.search-wrap{position:relative;top:auto;left:auto;right:auto;max-width:760px;margin:22px auto 0;padding:0 20px;z-index:1}.sheet{display:block;position:relative;min-height:0;height:auto;max-width:760px;margin:0 auto;padding:22px 0 40px;border-radius:0;box-shadow:none;background:transparent}.sheet-head{padding:0 22px}.status{margin:7px 22px 16px;white-space:normal}.districts{padding:0 22px 17px}.sheet-scroll{overflow:visible;padding:0 20px 24px}.featured{border:1px solid #dfe3ed;box-shadow:0 12px 32px #21316320;padding:24px;border-radius:22px}.featured .payments{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:24px;font-weight:800;color:var(--navy);font-size:clamp(.76rem,2.5vw,1rem)}.payments>span{white-space:nowrap}.line-mark{display:inline-grid;place-items:center;padding:4px;border-radius:6px;color:#fff;background:var(--orange);font-size:.7em}.featured .actions{display:flex;gap:10px;margin-top:23px}.featured .nav-action{display:flex;justify-content:center;align-items:center;gap:20px;background:var(--navy);border-radius:18px;min-height:68px;font-size:1.12rem}.nav-action span{font-size:1.6em;line-height:1}.featured .share-action{display:grid;place-items:center;width:68px;min-width:68px;min-height:68px;border:0;border-radius:18px;color:var(--orange);background:#fff0e9}.share-action svg{width:26px;height:26px}.toast{bottom:24px}
@media(max-width:700px){.app-shell{display:block;min-height:100dvh;height:auto;overflow:visible}.topbar{height:60px;padding:0 15px}.brand{font-size:clamp(.82rem,3.5vw,1.05rem);gap:6px}.brand img{width:29px;height:29px}.locate{min-height:38px;padding:0 10px;font-size:.83rem}.search-wrap{position:relative;top:auto;left:auto;right:auto;margin:14px auto 0;padding:0 16px}.sheet{position:relative;left:auto;right:auto;bottom:auto;height:auto!important;min-height:0;padding:18px 0 28px;border-radius:0;box-shadow:none;transition:none}.sheet-head{padding:0 18px}.sheet-head h1{font-size:1.35rem}.status{margin:6px 18px 14px;font-size:.85rem;white-space:normal;overflow:visible}.districts{padding:0 18px 14px}.sheet-scroll{overflow:visible;padding:0 16px calc(24px + env(safe-area-inset-bottom))}.featured{padding:20px;border-radius:20px}.featured h2{font-size:1.3rem}.featured p{font-size:.85rem}.featured .payments{margin-top:21px}.featured .actions{margin-top:20px}.featured .nav-action,.featured .share-action{min-height:62px}.featured .share-action{width:62px;min-width:62px}.list-heading{margin-top:25px}.toast{bottom:24px}}

.payments .apple-pay,.payments .cash-pay{display:inline-flex;align-items:center;gap:5px}.payments .apple-icon{width:19px;height:22px;display:block}.payments .cash-icon{width:25px;height:21px;display:block}.payments .apple-pay>span{font-weight:800}.featured .share-action{border:1px solid #f4d4c8}@media(max-width:380px){.featured .payments{gap:4px;font-size:.76rem}.payments .apple-icon{width:16px;height:19px}.payments .cash-icon{width:21px;height:17px}}

.payments .cash-icon{width:36px;height:26px;flex:none;color:var(--navy)}@media(max-width:380px){.payments .cash-icon{width:33px;height:24px}}

/* 付款標誌採用相同外框尺寸 */
.payments .line-mark{display:inline-grid;place-items:center;vertical-align:middle;width:36px;height:30px;padding:0;border-radius:6px;font-size:10px;line-height:1}.payments .cash-icon{display:block;width:36px;height:30px;color:var(--navy)}@media(max-width:380px){.payments .line-mark,.payments .cash-icon{width:32px;height:27px}.payments .line-mark{font-size:9px}}

/* 扁平橫向支付標誌 */
.payments .line-mark,.payments .cash-icon{width:36px;height:24px}.payments .line-mark{font-size:10px;border-radius:6px}@media(max-width:380px){.payments .line-mark,.payments .cash-icon{width:33px;height:22px}.payments .line-mark{font-size:9px}}

.store-row .row-address{color:#5e6d80;font-size:.78rem;overflow-wrap:anywhere}.store-row:has(.row-distance) .row-distance{align-self:center}.featured .nav-action.unavailable{background:#e4e6eb;color:var(--navy);cursor:default}.store-row:has(.row-distance) small{line-height:1.55}
