/* Dedicated storefront entry UI; fixed px sizes do not inherit legacy rem scaling. */
.mall-entry-header.mall-header-bar{display:grid!important;grid-template-columns:minmax(90px,1fr) auto auto;gap:14px!important;align-items:center!important}
.mall-entry-header>img.logo,.mall-entry-header>img.head-icon,.mall-entry-header>div:not(.mall-header-actions){display:none!important}
.mall-entry-header .mall-entry-logo{position:static!important;transform:none!important;display:flex;align-items:center;min-width:0;text-decoration:none;justify-self:start;cursor:pointer}
.mall-entry-header .mall-entry-logo img{display:block;width:150px;height:48px;max-width:100%;object-fit:cover}
.mall-entry-header .mall-header-actions{margin-left:0!important;gap:3px!important;min-width:0}
.mall-entry-home{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;min-height:40px;border-radius:24px;background:#ffa600;color:#fff!important;text-decoration:none!important;font:600 15px/1.2 Arial,"Microsoft JhengHei",sans-serif;white-space:nowrap;box-sizing:border-box}
.mall-entry-home svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mall-entry-header a:focus-visible,#mall-desktop-entry button:focus-visible,.mall-entry-guide button:focus-visible{outline:3px solid #3277a3;outline-offset:3px}
#mall-desktop-entry{position:fixed;z-index:90;transform:translateX(-50%);box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:12px 34px 12px 12px;border:1.5px solid #ffb635;border-radius:15px;background:#fff;box-shadow:0 3px 15px #73501c24;color:#252525;text-align:left;font:14px/1.4 Arial,"Microsoft JhengHei",sans-serif;max-width:calc(100% - 24px)}
#mall-desktop-entry[hidden]{display:none!important}.mall-entry-icon{width:50px!important;height:50px!important;object-fit:contain;flex:none;border-radius:10px;background:#fff8e8}.mall-entry-copy{flex:1;min-width:0}.mall-entry-copy strong{display:block;font-size:17px;font-weight:700;line-height:1.4}.mall-entry-copy span{display:block;font-size:13px;color:#8b8b8b;margin-top:3px}.mall-entry-install{flex:none;min-height:40px;padding:8px 19px;background:#ffa600;border:0;border-radius:24px;color:white;font:600 14px/1.4 Arial,"Microsoft JhengHei",sans-serif;white-space:nowrap;cursor:pointer}.mall-entry-dismiss{position:absolute;right:4px;top:3px;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:#a4a4a4;font:22px/28px Arial;cursor:pointer}
.mall-entry-overlay{position:fixed;inset:0;background:#0007;z-index:100000010;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;overscroll-behavior:contain;font:14px/1.6 Arial,"Microsoft JhengHei",sans-serif;color:#333}
.mall-entry-guide{position:relative;box-sizing:border-box;width:100%;max-width:420px;background:#fff;border-radius:20px;padding:25px 24px 20px;max-height:90dvh;overflow:auto;box-shadow:0 12px 60px #0003;text-align:center}.mall-entry-guide>img{width:66px;height:66px;border-radius:15px;object-fit:contain}.mall-entry-guide h2{font-size:21px;line-height:1.5;margin:8px 0}.mall-entry-guide p{margin:8px 0;font-size:14px;line-height:1.6}.mall-entry-guide ol{text-align:left;padding:0 0 0 22px;list-style:decimal;margin:18px 0}.mall-entry-guide li{margin:10px 0;padding-left:3px;font-size:14px;line-height:1.7}.mall-entry-guide .mall-entry-guide-note{font-size:12px;color:#999}.mall-entry-guide-close{position:absolute;right:10px;top:8px;border:0;background:none;color:#999;font:26px/32px Arial;width:36px;height:36px;cursor:pointer}.mall-entry-guide input{display:block;box-sizing:border-box;width:100%;border:1px solid #e3e3e3;border-radius:8px;background:#fafafa;color:#555;font:14px/1.4 Arial;padding:10px}.mall-entry-copy-link{background:none;border:0;color:#a46410;font:14px/1.5 Arial,"Microsoft JhengHei",sans-serif;padding:8px 12px;cursor:pointer}.mall-entry-guide .mall-entry-status{color:#81500b;font-size:12px}.mall-entry-done{display:block;width:100%;background:#ffa600;border:0;border-radius:10px;color:white;min-height:44px;font:16px/1.4 Arial,"Microsoft JhengHei",sans-serif;margin-top:8px;cursor:pointer}
@media(max-width:767px){.mall-entry-header.mall-header-bar{padding:0 12px!important;gap:10px!important}.mall-entry-header .mall-entry-logo img{width:128px;height:44px}.mall-entry-home{font-size:13px;min-height:36px;padding:0 13px;gap:5px}.mall-entry-home svg{width:16px;height:16px}.mall-entry-header .mall-header-actions .mall-service-trigger{width:34px;height:38px;padding:4px}.mall-entry-header .mall-service-custom-icon{width:27px!important;height:27px!important}.mall-entry-header .mall-share-trigger{width:30px;height:38px;padding:4px}.mall-entry-header .mall-share-trigger svg{width:23px;height:23px}#mall-desktop-entry{gap:8px;padding:10px 34px 10px 10px}.mall-entry-icon{width:40px!important;height:40px!important}.mall-entry-copy strong{font-size:14px;white-space:nowrap}.mall-entry-copy span{font-size:11px;margin-top:2px}.mall-entry-install{padding:8px 12px;min-height:36px;font-size:12px}}
@media(max-width:370px){.mall-entry-header.mall-header-bar{padding:0 9px!important;gap:7px!important}.mall-entry-header .mall-entry-logo img{width:108px;height:39px}.mall-entry-home{padding:0 10px;font-size:12px}.mall-entry-header .mall-header-actions{gap:0!important}#mall-desktop-entry{gap:6px;padding-left:8px}.mall-entry-copy strong{font-size:12px}.mall-entry-copy span{font-size:10px}.mall-entry-icon{width:32px!important;height:36px!important}.mall-entry-install{font-size:11px;padding:8px 9px}}

/* Scrollable steps with persistent tabs and footer on small phones. */
.mall-entry-guide-v2{max-width:480px;padding:0;display:flex;flex-direction:column;max-height:94vh;max-height:94dvh;overflow:hidden;text-align:left}
.mall-guide-head{position:relative;flex:none;padding:15px 20px 10px;text-align:center;background:#fff}
.mall-guide-brand{display:block;width:116px;height:44px;object-fit:contain;margin:0 auto 3px}
.mall-entry-guide-v2 h2{font-size:22px;margin:2px 0 0;line-height:1.4}
.mall-guide-head>p{color:#656975;font-size:13px;margin:3px 0 12px}
.mall-guide-tabs{display:flex;border:1px solid #e2e4e9;background:#f4f5f7;border-radius:10px;overflow:hidden}
.mall-guide-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:8px 5px;border:0;border-radius:9px;background:transparent;color:#626875;font:600 14px/1.3 Arial,"Microsoft JhengHei",sans-serif;cursor:pointer}
.mall-guide-tabs button[aria-selected="true"]{background:#ff9e00;color:#fff}
.mall-entry-guide-v2 svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mall-guide-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 20px 8px;scrollbar-width:thin}
.mall-guide-app-note{background:#fff4e3;border-radius:10px;padding:12px;color:#5b606c}
.mall-guide-app-note strong{display:block;color:#db6300;font-size:14px;line-height:1.5}
.mall-guide-app-note strong>span{display:inline-flex;border-radius:50%;align-items:center;justify-content:center;width:20px;height:20px;background:#ff9e00;color:#fff;margin-right:4px}
.mall-entry-guide-v2 .mall-guide-app-note p{font-size:13px;line-height:1.65;margin:6px 0 0}
.mall-entry-guide-v2 .mall-guide-hint,.mall-entry-guide-v2 .mall-guide-tip{border-radius:9px;background:#f3f4f6;color:#606773;font-size:12px;line-height:1.65;padding:9px 11px;margin:9px 0}
.mall-entry-guide-v2 h3{font-size:16px;font-weight:700;line-height:1.5;background:#fff4e3;border-radius:7px;padding:6px 10px;margin:10px 0 2px;color:#29231d}
.mall-entry-guide-v2 ol.mall-guide-steps{margin:0;padding:0;list-style:none;counter-reset:none}
.mall-entry-guide-v2 .mall-guide-steps li{display:flex;align-items:center;gap:10px;padding:10px 2px;margin:0;border-bottom:1px solid #eff0f2;font-size:14px;line-height:1.55;min-height:28px}
.mall-guide-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:27px;height:27px;border-radius:50%;background:#ff9900;color:#fff;font:700 16px/1 Arial}
.mall-guide-step-text{flex:1;min-width:0}.mall-guide-step-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:50%;background:#f5f7fb;color:#2587ef}
.mall-guide-desktop{font-size:12px;color:#656b76;margin-top:8px}.mall-guide-desktop summary{cursor:pointer;padding:6px 0}.mall-entry-guide-v2 .mall-guide-desktop p{font-size:12px;line-height:1.7;margin:2px 0}
.mall-guide-footer{flex:none;border-top:1px solid #f0f1f4;padding:10px 20px 14px;background:#fff}
.mall-guide-link-row{display:flex;align-items:stretch;gap:8px}.mall-entry-guide-v2 input{flex:1;min-width:0;width:0;font-size:12px;padding:9px 8px}
.mall-entry-guide-v2 .mall-entry-copy-link{flex:none;border:1px solid #ff9b00;border-radius:8px;color:#e47b00;font-size:12px;padding:8px;white-space:nowrap;background:#fff}
.mall-entry-guide-v2 .mall-entry-status{margin:4px 0;text-align:center}.mall-entry-guide-v2 .mall-entry-status:empty{display:none}
.mall-entry-guide-v2 .mall-entry-guide-note{text-align:center;font-size:11px;line-height:1.4;margin:6px 0;color:#7d828b}
.mall-entry-guide-v2 .mall-entry-done{margin-top:5px;min-height:42px;font-size:16px}
.mall-entry-guide-v2 .mall-entry-guide-close{right:8px;top:8px}
@media(max-width:480px){.mall-entry-overlay{padding:12px}.mall-guide-head{padding:12px 14px 8px}.mall-guide-body{padding:0 14px 6px}.mall-guide-footer{padding:9px 14px 12px}.mall-entry-guide-v2 h2{font-size:21px}.mall-guide-tabs button{font-size:13px;gap:5px}.mall-guide-brand{height:37px;width:106px}.mall-entry-guide-v2 .mall-guide-steps li{font-size:13px;gap:8px;padding:9px 0}}
@media(max-width:350px){.mall-guide-head,.mall-guide-body,.mall-guide-footer{padding-left:10px;padding-right:10px}.mall-guide-tabs button{font-size:12px}.mall-guide-tabs svg{width:19px;height:19px}.mall-guide-step-icon{width:28px;height:28px}.mall-guide-app-note strong{font-size:13px}.mall-entry-guide-v2 .mall-guide-app-note p{font-size:12px}.mall-entry-guide-v2 .mall-entry-copy-link{font-size:11px;padding:6px}}

/* Isolate modal layout from legacy desktop header and content rules. */
.mall-entry-guide-v2>.mall-guide-head,.mall-entry-guide-v2>.mall-guide-body,.mall-entry-guide-v2>.mall-guide-footer{box-sizing:border-box;width:100%;max-width:none;margin:0;left:auto;right:auto;top:auto;bottom:auto;transform:none}
.mall-entry-guide-v2 .mall-guide-brand{object-fit:cover}

.mall-entry-guide-v2>.mall-guide-body{width:100%!important;min-width:0!important;max-width:100%!important}
