/* hero: one phone, real LINE chat. Plain background, no gradients. */
.hx{position:relative;background:#F5F5F7}
.hx-pin{position:relative;padding-bottom:40px!important;display:flex;align-items:center;justify-content:center;gap:56px;padding:64px 16px 12px;box-sizing:border-box;overflow:hidden}
.hx-side{width:340px;flex:0 0 auto}
.hx-side h1{font-size:34px;line-height:1.25;margin:0 0 10px;color:#1D1D1F;letter-spacing:0}
.hx-side p{margin:0 0 22px;color:#6E6E73;font-size:16px;line-height:1.6}
.hx-fl{list-style:none;margin:0;padding:0;counter-reset:f}
.hx-fl li{counter-increment:f;font-size:15px;line-height:1;padding:7px 0 7px 34px;position:relative;color:#A1A1A6;cursor:pointer;transition:color .2s}
.hx-fl li:before{content:counter(f,decimal-leading-zero);position:absolute;left:0;top:7px;font-size:12px;font-variant-numeric:tabular-nums}
.hx-fl li.on{color:#1D1D1F;font-weight:700}.hx-fl li.done{color:#6E6E73}
.hx-stage{display:flex;flex-direction:column;align-items:center;min-width:0}
.hx-lab{height:30px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#6E6E73;white-space:nowrap}
.hx-lab b{font-size:11px;font-weight:500;color:#86868B;font-variant-numeric:tabular-nums}
.hx-ph{position:relative;background:#0B0B0C;border:var(--t) solid #5E5E62;box-shadow:inset 0 0 0 1px #2A2A2C,0 0 0 1px #3A3A3D,0 18px 40px -18px #00000055;overscroll-behavior:contain;touch-action:none;border-radius:var(--fr);box-sizing:border-box;user-select:none;-webkit-user-select:none}
.hx-scr{width:375px;transform-origin:0 0;overflow:hidden;position:absolute;left:var(--bz);top:var(--bz);isolation:isolate;-webkit-mask-image:-webkit-radial-gradient(white,black);background:#fff;display:flex;flex-direction:column;
 font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","PingFang TC","Noto Sans TC","Noto Sans CJK TC",sans-serif;-webkit-font-smoothing:antialiased;color:#111;transition:opacity .25s}
.hx-scr.sw{opacity:0}
.hx-sb{height:44px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 32px;font-size:15px;font-weight:600}

.hx-hd{height:44px;flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:0 12px 0 6px;border-bottom:.5px solid #E3E3E3}
.hx-hd svg{width:24px;height:24px;stroke:#111;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.hx-hd .hxa{width:30px;height:30px;border-radius:50%;object-fit:cover}
.hx-hd .hxn{flex:1;font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-hd .hxi{display:flex;gap:16px}
.hx-ch{flex:1 1 0;min-height:0;position:relative;overflow:hidden;background:#E6E9ED}
.hx-roll{position:absolute;left:0;right:0;top:0;padding:10px 0 12px;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.hx-m{display:none;padding:4px 10px 4px 8px;align-items:flex-end;gap:6px}
.hx-m.on{display:flex;animation:hxin .35s ease-out}
@keyframes hxin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hx-m.b .hxa{width:34px;height:34px;margin-top:2px;border-radius:50%;object-fit:cover;align-self:flex-start;flex:0 0 auto}
.hx-m.b .hxc{display:flex;flex-direction:column;min-width:0;max-width:calc(100% - 40px)}
.hx-m.b .who{font-size:11px;color:#555;margin:0 0 3px 2px}
.hx-m .hxr{display:flex;align-items:flex-end;gap:5px;min-width:0}
.hx-m .hxtm{font-size:10px;color:#8A8F96;flex:0 0 auto;line-height:1.3;white-space:nowrap}
.hx-m.u{justify-content:flex-end}.hx-m.u .hxtm{text-align:right}
.hxt{font-size:15px;line-height:1.42;padding:8px 12px;border-radius:18px;white-space:pre-wrap;word-break:break-word;max-width:250px}
.hx-m.b .hxt{background:#fff}.hx-m.u .hxt{background:#8DE055;max-width:240px}
.hx-m.hx-sys{justify-content:center}.hx-m.hx-sys span{font-size:11.5px;color:#fff;background:#B1B6BD;border-radius:12px;padding:3px 10px}
.fx-bub{border-radius:17px;overflow:hidden;flex:0 0 auto;font-size:16px;line-height:1.4;max-width:300px}
.fx-t{line-height:1.4}.fx-btn{font-weight:400}
.fx-car{display:flex;gap:9px;overflow:hidden;margin-right:-10px}
.hx-qr{flex:0 0 auto;display:flex;gap:6px;overflow:hidden;padding:8px 10px;background:#E6E9ED;min-height:0}
.hx-qr[hidden]{display:none}
.hx-qr span{flex:0 0 auto;font-size:14px;padding:7px 13px;border-radius:17px;background:#fff;color:#111;border:1px solid #D7DADF;white-space:nowrap}
.hx-qr span.hit{background:#111;color:#fff;border-color:#111}
.hx-rm{flex:0 0 auto;overflow:hidden;transition:height .35s ease;height:253px}
.hx-rm img{display:block;width:375px;height:253px}
.hx-rm.off{height:0}
.hx-mb{height:40px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;font-size:13px;color:#111;border-top:.5px solid #E3E3E3;position:relative;background:#fff}
.hx-mb:before{content:"";position:absolute;left:16px;top:12px;width:20px;height:14px;border:1.5px solid #555;border-radius:3px}
.hx-mb em{font-style:normal;margin-left:4px;font-size:9px}
.hx-sty{display:flex;align-items:center;gap:4px;margin-top:10px;height:34px}
.hx-sty button{border:0;background:none;font:inherit;font-size:14px;color:#86868B;padding:6px 9px;border-radius:16px;cursor:pointer;white-space:nowrap}
.hx-sty button.on{background:#1D1D1F;color:#fff}
.hx-sty .ar{font-size:18px;color:#1D1D1F;padding:4px 8px}
.hx-hint{font-size:12px;color:#86868B;margin-top:4px;height:16px}
@keyframes hxstynudge{0%,25%,100%{transform:translateX(0)}45%{transform:translateX(-22px)}70%{transform:translateX(0)}85%{transform:translateX(-10px)}}
.hx-sty-wrap{position:relative;min-width:0}
@media (max-width:899px){.hx-side{display:none}.hx-pin{padding:58px 16px 22px;gap:0}.hx-sty .ar{display:none}.hx-sty button{padding:6px 8px;font-size:13px}
.hx-sty-wrap::after{content:"";position:absolute;right:0;top:0;bottom:0;width:44px;background:linear-gradient(to right,rgba(245,245,247,0),#F5F5F7 68%);pointer-events:none;z-index:1}
.hx-sty-wrap::before{content:"›";position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:2;font-size:22px;line-height:1;font-weight:700;color:#1D1D1F;pointer-events:none}
.hx-sty{animation:hxstynudge 1.5s .6s 1 ease}
}
@media (prefers-reduced-motion:reduce){.hx-sty{animation:none}}
@media (min-width:900px){.hx-lab{visibility:hidden;height:8px}.hx-hint{display:none}.hx-sty-wrap{margin-top:-2px;padding-bottom:8px}}
.hx-m.hxcar .hxc{flex:1 1 0;max-width:none;overflow:hidden}.hx-m.hxcar .hxr{min-width:0}.hx-m.hxcar .hxtm{display:none}.fx-car{flex:1 1 0;min-width:0;margin-right:-10px}.hx-ch,.hx-roll{overflow:hidden}
.hx-img{display:block;width:220px;border-radius:16px;flex:0 0 auto}
.hx-hint{font-size:12.5px;color:#6E6E73}
@media (min-width:900px){.hx-hint{display:block!important;margin-top:6px}}
.try .tg{grid-template-columns:1fr!important;justify-items:center}.try .tq{max-width:320px;margin:0 auto}.try h2{text-align:center}

/* side buttons (action, volume up/down left; power right) */
.hx-ph:before,.hx-ph:after{content:"";position:absolute;background:#5E5E62;border-radius:2px;width:calc(var(--t) + 1px)}
.hx-ph:before{left:calc(-2 * var(--t) - 1px);top:17%;height:6%;box-shadow:0 calc(var(--fr) * .75) 0 0 #5E5E62,0 calc(var(--fr) * 1.45) 0 0 #5E5E62}
.hx-ph:after{right:calc(-2 * var(--t) - 1px);top:27%;height:11%}
.hx-di{position:absolute;left:50%;top:11px;width:122px;height:36px;margin-left:-61px;background:#000;border-radius:18px;z-index:5}
.hx-sb{height:54px!important;padding:0 30px 0 44px!important;font-size:16px!important;font-weight:600;position:relative}
.hx-sb .tm9{width:60px;text-align:center;padding-top:4px}
.hx-sb .sbi{display:flex;gap:6px;align-items:center;padding-top:4px}.hx-sb .sbi svg{display:block}

/* LINE dark appearance for the dark shop: light status-bar text */
.hx-ph.dk .hx-scr{background:#111114}.hx-ph.dk .hx-sb{color:#fff}.hx-ph.dk .hx-sb svg{fill:#fff}.hx-ph.dk .hx-sb svg [stroke]{stroke:#fff}
.hx-ph.dk .hx-hd{background:#17171B;border-bottom-color:#2A2A30}.hx-ph.dk .hx-hd svg{stroke:#fff}.hx-ph.dk .hx-hd .hxn{color:#fff}
.hx-ph.dk .hx-ch,.hx-ph.dk .hx-qr{background:#0F0F13}.hx-ph.dk .hx-m.b .hxt{background:#2A2A30;color:#F2F2F5}.hx-ph.dk .hx-m.b .who{color:#B0B0B8}
.hx-ph.dk .hx-qr span{background:#2A2A30;color:#F2F2F5;border-color:#3A3A42}.hx-ph.dk .hx-mb{background:#17171B;color:#fff;border-top-color:#2A2A30}
.hx-sty{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.hx-sty::-webkit-scrollbar{display:none}

/* one-time swipe hint over the phone demo; never intercepts gestures */
.hx-swipe{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden;border-radius:inherit}
.hx-swipe.off{display:none}
.hx-swipe-finger{position:absolute;left:50%;top:58%;width:52px;height:52px;margin-left:-26px;opacity:0;color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)) drop-shadow(0 4px 10px rgba(0,0,0,.25));transform-origin:50% 20%}
.hx-swipe-finger svg{display:block;width:52px;height:52px}
.hx-swipe.play .hx-swipe-finger{animation:hxswipe 2.6s ease-in-out 1 forwards}
@keyframes hxswipe{
  0%{opacity:0;transform:translate(0,22px)}
  10%{opacity:.92;transform:translate(0,22px)}
  38%{opacity:.92;transform:translate(0,-46px)}
  48%{opacity:.92;transform:translate(0,-46px)}
  78%{opacity:.92;transform:translate(-38px,-46px)}
  100%{opacity:0;transform:translate(-38px,-46px)}
}
.hx-swipe-static{display:none;position:absolute;left:50%;bottom:12%;transform:translateX(-50%);margin:0;padding:6px 12px;border-radius:14px;background:rgba(29,29,31,.72);color:#fff;font-size:12px;font-weight:600;letter-spacing:.02em;white-space:nowrap;line-height:1.3}
.hx-swipe.static .hx-swipe-finger{display:none;animation:none}
.hx-swipe.static .hx-swipe-static{display:block}
@media (prefers-reduced-motion:reduce){
  .hx-swipe-finger{animation:none!important}
  .hx-swipe.play .hx-swipe-finger{display:none}
  .hx-swipe.play .hx-swipe-static, .hx-swipe.static .hx-swipe-static{display:block}
}
