/* 廣場驚喜事件「落跑寶箱怪」（surprise.js）：上方提示、「搶！」按鈕、可以點的跑馬燈 */
.sx-chip[hidden],.sx-hit[hidden]{display:none}
.sx-chip{position:absolute;left:50%;top:104px;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:8px;max-width:calc(100% - 20px);
  padding:6px 8px 6px 14px;border-radius:999px;background:linear-gradient(180deg,#7a2a00,#4a1600);border:2px solid #ffcc3a;color:#fff3c4;
  box-shadow:0 3px 0 #2a0c00,0 6px 16px rgba(0,0,0,.4);font-size:14px;white-space:nowrap;animation:sxPulse 1.6s ease-in-out infinite}
.sx-chip b{color:#ffe14d;text-shadow:0 1px 0 #000}
.sx-chip small{font-size:12px;color:#ffd9a0;opacity:.9}
.sx-chip.here{padding-right:14px;animation:none}
.sx-chip .sx-go{font-size:13px;padding:3px 12px;min-height:28px}
@keyframes sxPulse{0%,100%{box-shadow:0 3px 0 #2a0c00,0 6px 16px rgba(0,0,0,.4)}50%{box-shadow:0 3px 0 #2a0c00,0 0 18px 4px rgba(255,210,60,.75)}}
.sx-hit{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);z-index:4;width:96px;height:96px;border-radius:50%;border:3px solid #fff;
  background:radial-gradient(circle at 40% 35%,#fff7a0,#ffc21a 55%,#e07a00);color:#6a2400;display:flex;flex-direction:column;align-items:center;justify-content:center;
  box-shadow:0 4px 0 #a64a00,0 8px 18px rgba(0,0,0,.4);cursor:pointer;touch-action:manipulation;animation:sxHop .5s ease-in-out infinite alternate}
.sx-hit b{font-size:26px;line-height:1;text-shadow:0 1px 0 #fff3b0}
.sx-hit small{font-size:11px;margin-top:3px;opacity:.85}
.sx-hit:active{transform:translateX(-50%) scale(.92)}
@keyframes sxHop{from{margin-bottom:0}to{margin-bottom:6px}}
@media (pointer:coarse){.sx-hit small{display:none}}
@media (max-width:700px){
  .sx-chip{top:146px;font-size:13px;gap:4px 6px;width:max-content;max-width:calc(100vw - 20px);box-sizing:border-box;flex-wrap:wrap;justify-content:center;border-radius:16px}
  .sx-chip .sx-rw small{display:none}   /* 窄畫面：獎勵圖示換到第二行，不寫「可能拿到」 */
  .sx-hit{bottom:150px;width:84px;height:84px}
  .sx-hit b{font-size:23px}
}
@media (max-height:500px) and (orientation:landscape){
  .sx-chip{top:52px}
  .sx-hit{bottom:64px;left:auto;right:120px;transform:none}
  .sx-hit:active{transform:scale(.92)}
}
/* 跑馬燈（speaker.js）上寶箱怪的公告：可以點 */
.spk-mq-box.sx-go-mq{pointer-events:auto;cursor:pointer}
.spk-mq-box.sx-go-mq:hover{filter:brightness(1.12)}
/* 籌碼上的獎勵圖示（itemicon.js） */
.sx-chip .sx-rw{display:flex;align-items:center;gap:4px}
.sx-chip .sx-rw.got small{color:#9fffb0}
.sx-chip .sx-rw .ii-list{gap:3px;flex-wrap:nowrap}
