/* Room Set – shop font, promo badges, button effects */
body.hf h1, body.hf h2, body.hf h3, body.hf .rooms button b, body.hf .shopbar b, body.hf .shopgreet b,
body.hf .sbtn, body.hf .fab a, body.hf .again, body.hf .code b, body.hf .promo-t, body.hf .tag, body.hf .num {
  font-family: var(--hf), -apple-system, "Sukhumvit Set", "Noto Sans Thai", Tahoma, sans-serif !important;
}

/* ---------- promo badge ---------- */
.promo { display: none; font-weight: 800; line-height: 1.25; pointer-events: none; }
.promo.on { display: block; }
.promo .dotx { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: middle; animation: pdot 1.2s ease-in-out infinite; }
@keyframes pdot { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: .25; transform: scale(.7) } }

/* pills shown in hero under shop bar */
.promo.pst-shine, .promo.pst-bounce, .promo.pst-blink { align-self: flex-start; font-size: 21px; padding: 9px 20px; border-radius: 999px; margin: 0 0 14px; position: relative; overflow: hidden; }
.promo.pst-shine { background: linear-gradient(90deg, #b8862f, #f3d27a 50%, #b8862f); color: #2a1c06; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.promo.pst-shine:after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); animation: pshine 3s ease-in-out infinite; }
@keyframes pshine { 0%,55% { left: -60% } 100% { left: 130% } }
.promo.pst-bounce { background: #e63946; color: #fff; box-shadow: 0 6px 18px rgba(230,57,70,.45); animation: pbounce 4.5s ease-in-out infinite; }
@keyframes pbounce { 0%,80%,100% { transform: translateY(0) } 85% { transform: translateY(-12px) } 90% { transform: translateY(0) } 95% { transform: translateY(-5px) } }
.promo.pst-blink { background: #e63946; color: #fff; animation: pblink 1.6s ease-in-out infinite; }
@keyframes pblink { 0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,.75) } 50% { box-shadow: 0 0 0 10px rgba(230,57,70,0) } }

/* sticker: rotated star burst at hero top-right */
.promo.pst-sticker { position: absolute; top: 18px; right: 14px; width: 118px; height: 118px; display: none; align-items: center; justify-content: center; text-align: center; font-size: 18px; color: #3a1d00; z-index: 5;
  background: #ffd23f; clip-path: polygon(50% 0%,61% 12%,75% 7%,79% 21%,93% 25%,88% 39%,100% 50%,88% 61%,93% 75%,79% 79%,75% 93%,61% 88%,50% 100%,39% 88%,25% 93%,21% 79%,7% 75%,12% 61%,0% 50%,12% 39%,7% 25%,21% 21%,25% 7%,39% 12%);
  padding: 18px; animation: psticker 3.5s ease-in-out infinite; }
.promo.pst-sticker.on { display: flex; }
@keyframes psticker { 0%,100% { transform: rotate(-12deg) scale(1) } 50% { transform: rotate(-6deg) scale(1.07) } }

/* ribbon: diagonal corner */
.promo.pst-ribbon { position: fixed; top: 26px; right: -58px; width: 230px; transform: rotate(45deg); background: #e63946; color: #fff; text-align: center; font-size: 16px; padding: 7px 0; z-index: 60; box-shadow: 0 4px 12px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* marquee: running bar at top */
.promo.pst-marquee { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: #e63946; color: #fff; font-size: 19px; padding: 7px 0; overflow: hidden; white-space: nowrap; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.promo.pst-marquee .promo-t { display: inline-block; padding-left: 100%; animation: pmarq 14s linear infinite; }
@keyframes pmarq { 0% { transform: translateX(0) } 100% { transform: translateX(-100%) } }
body.has-marquee .hero { padding-top: 58px !important; }

/* dot: red bubble above floating LINE / call buttons */
.promo.pst-dot { position: absolute; bottom: calc(100% + 8px); right: 4px; background: #e63946; color: #fff; font-size: 17px; padding: 6px 14px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.4); white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.promo.pst-dot:after { content: ""; position: absolute; bottom: -7px; right: 26px; border: 7px solid transparent; border-top-color: #e63946; border-bottom: 0; }
.fab { overflow: visible; }

/* ---------- button effects (floating LINE button + LINE button in footer) ---------- */
.bfx-ripple .fxb, .bfx-hand .fxb, .bfx-neon .fxb { position: relative; }
.bfx-ripple .fxb:after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(6,199,85,.7); animation: bripple 1.8s ease-out infinite; pointer-events: none; }
@keyframes bripple { 0% { box-shadow: 0 0 0 0 rgba(6,199,85,.7) } 100% { box-shadow: 0 0 0 18px rgba(6,199,85,0) } }
.bfx-shake .fxb { animation: bshake 5s ease-in-out infinite; }
@keyframes bshake { 0%,88%,100% { transform: rotate(0) } 90% { transform: rotate(-4deg) } 92% { transform: rotate(4deg) } 94% { transform: rotate(-3deg) } 96% { transform: rotate(2deg) } }
.bfx-glow .fxb { animation: bglow 2s ease-in-out infinite; }
@keyframes bglow { 0%,100% { box-shadow: 0 6px 20px rgba(0,0,0,.45), 0 0 0 rgba(6,199,85,0) } 50% { box-shadow: 0 6px 20px rgba(0,0,0,.45), 0 0 26px rgba(6,255,110,.9) } }
.bfx-hand .fxb:after { content: "👆"; position: absolute; right: 12px; bottom: -22px; font-size: 32px; animation: bhand 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes bhand { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-6px,-10px) } }
.bfx-beat .fxb { animation: bbeat 1.8s ease-in-out infinite; }
@keyframes bbeat { 0%,40%,100% { transform: scale(1) } 10% { transform: scale(1.08) } 20% { transform: scale(1) } 30% { transform: scale(1.06) } }
.bfx-neon .fxb { outline: 3px solid #b8ffd2; outline-offset: 3px; animation: bneon 1.4s ease-in-out infinite; }
@keyframes bneon { 0%,100% { outline-color: rgba(184,255,210,.95) } 50% { outline-color: rgba(184,255,210,.15) } }

@media (prefers-reduced-motion: reduce) {
  .promo, .promo *, .promo:after, .fxb, .fxb:after { animation: none !important; }
}

/* ---- shop mode: bottom bar as its own strip, room image ends above it ---- */
body.hasfab{--fabh:calc(76px + env(safe-area-inset-bottom))}
body.hasfab .fab{left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(16,14,12,.97);border-top:1px solid rgba(226,196,139,.3);box-shadow:0 -6px 18px rgba(0,0,0,.35)}
body.hasfab .fab a{box-shadow:none;padding:13px 10px}
body.hasfab .stage{height:calc(100svh - var(--fabh))}
body.hasfab .steps{margin-top:calc(var(--fabh) - 100svh)}
body.hasfab .mini{bottom:34px}
body.hasfab .promo.pst-dot{bottom:calc(100% - 14px);right:14px;font-size:15px;padding:4px 12px}
body.hasfab .promo.pst-dot:after{display:none}
body.hasfab .fab{transition:transform .28s ease}
body.hasfab .fab.away{transform:translateY(130%)}
