/* TangPlay full-screen shell CSS for games that don't load arena.css (pairs with fullscreen.js; same rules as arena.css 'full-screen shell' + 'long-press guard') */
/* full-screen shell (fullscreen.js) */
.tf-hint{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translate(-50%,140%);z-index:9999;display:flex;flex-direction:column;gap:2px;
  width:max-content;max-width:min(330px,calc(100vw - 32px));box-sizing:border-box;padding:10px 38px 10px 14px;border-radius:16px;background:rgba(74,33,66,.94);color:#fff;font:600 14px/1.3 "PingFang SC","Noto Sans CJK SC",sans-serif;
  box-shadow:0 8px 24px rgba(74,33,66,.3);transition:transform .35s cubic-bezier(.2,1.4,.4,1);pointer-events:auto}
.tf-hint.on{transform:translate(-50%,0)}.tf-hint small{font-weight:500;opacity:.85;font-size:12px}.tf-hint i{font-style:normal;display:inline-block;padding:0 3px;border-radius:4px;background:rgba(255,255,255,.18)}
.tf-hint button{position:absolute;right:6px;top:6px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:16px;line-height:26px;padding:0}
.tf-hint::after{content:"";position:absolute;left:50%;bottom:-7px;margin-left:-7px;border:7px solid transparent;border-bottom:0;border-top-color:rgba(74,33,66,.94)}
/* long-press guard (fullscreen.js): no callout / selection / drag anywhere game-side; inputs stay editable */
html,body,body *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
input,textarea,select,[contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
img,canvas,svg,a{-webkit-user-drag:none;user-drag:none}
canvas,.joyzone,.dashbtn{touch-action:none}
button{touch-action:manipulation}
/* iPhone Safari with its toolbar: keep bottom controls off the edge so a tap/hold there doesn't pop the Safari bar / menus */
body.tf-ios:not(.tf-standalone){--tf-edge-b:30px}
