/* FunClicker loading card (build 223). Shared by the game page (inc/game-page.php, js/site.js) and by the game frame when
   another site embeds it (games/_shared/fc-frame.js).
   Computer: no tap. Blurred art, a 112px thumbnail, the name in white, a thin orange bar.
   Phone: a pre-play card with one full-width Play button; the tap expands the game and the loader runs inside.
   Embedded elsewhere: the same, plus a slim brand strip along the bottom edge. */
.fcl{position:absolute;inset:0;z-index:5;overflow:hidden;background:#111;color:#fff;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;transition:opacity .3s ease}
.fcl[hidden]{display:none}
.fcl.fcl-out{opacity:0;pointer-events:none}
.fcl-bg{position:absolute;inset:-30px;background-position:center;background-size:cover;filter:blur(28px) brightness(.38) saturate(1.2)}
.fcl-mid{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:16px}
.fcl-thumb{width:112px;height:112px;border-radius:18px;object-fit:cover;background:#1b1b22;box-shadow:0 8px 30px rgba(0,0,0,.53);flex:none}
.fcl-thumb-emoji{display:flex;align-items:center;justify-content:center;font-size:56px}
.fcl-name{font-weight:700;font-size:21px;line-height:1.2;letter-spacing:-.01em;max-width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
.fcl-bar{width:min(300px,64%);height:6px;border-radius:3px;background:rgba(255,255,255,.17);overflow:hidden}
.fcl-bar i{display:block;height:100%;width:0;background:#FF5A1F;border-radius:3px;transition:width .15s linear}
@media (max-height:300px){
  .fcl-mid{gap:9px;padding:10px}
  .fcl-thumb{width:72px;height:72px;border-radius:14px}
  .fcl-name{font-size:17px}
}
@media (prefers-reduced-motion:reduce){.fcl,.fcl-bar i{transition:none}}

/* Phone pre-play card: thumbnail and name side by side, Play full width underneath. */
.fcl-card .fcl-mid{align-items:stretch;justify-content:center;gap:14px;padding:16px;text-align:left}
.fcl-row{display:flex;align-items:center;gap:14px;min-width:0}
.fcl-card .fcl-thumb{width:84px;height:84px;border-radius:14px}
.fcl-txt{min-width:0;flex:1}
.fcl-card .fcl-name{max-width:none;font-size:20px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fcl-meta{margin-top:3px;font-size:13px;font-weight:500;color:rgba(255,255,255,.7)}
.fcl-play{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:0 24px;border:0;border-radius:26px;background:#FF5A1F;color:#17120E;font:800 18px/1 'Inter',system-ui,sans-serif;box-shadow:0 4px 0 #C8400C;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fcl-play:active{transform:translateY(3px);box-shadow:0 1px 0 #C8400C}
.fcl-play:focus-visible{outline:3px solid #fff;outline-offset:3px}
.game-canvas.fc-preplay{min-height:200px}

/* Game frame on another site (games/_shared/fc-frame.js): the loader or card fills the frame above the strip. */
.fcf{position:fixed;left:0;right:0;top:0;bottom:34px;z-index:2147483000;pointer-events:none}
.fcf .fcl{pointer-events:auto}
.fcf .fcl.fcl-out{pointer-events:none}
.fcf.fcf-nostrip{bottom:0}
.fcs{position:fixed;left:0;right:0;bottom:0;height:34px;z-index:2147483001;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:0 6px 0 10px;background:#14141c;color:#fff;font:600 12px/1 'Inter',system-ui,sans-serif}
.fcs-logo{display:flex;align-items:center;min-height:34px;padding-right:12px}
.fcs-logo img{height:16px;width:auto;display:block}
.fcs-sp{flex:1}
.fcs-fs{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#fff;cursor:pointer;border-radius:6px}
.fcs-fs:hover{background:rgba(255,255,255,.12)}
.fcs-fs:focus-visible{outline:2px solid #FF5A1F;outline-offset:-2px}
/* The itch and Scratch wrappers keep the game clear of the strip. */
html.fcs-on .game{bottom:34px}
/* Our own games: the body becomes a 34px-shorter box, and a transform makes it the containing block for the game's fixed
   controls, so corner buttons sit above the strip instead of under it. */
html.fcs-on:not(.fcs-wrap) body{position:fixed;left:0;top:0;right:0;bottom:34px;overflow:hidden;transform:translateZ(0)}
