/* Log Offers - offer card (hangs on strings under the strip) and the corner button. */
/* ---------- offer card: hangs on strings under the strip ---------- */
.fos .fos-pop{position:absolute;top:calc(100% + 30px);left:24px;z-index:2;width:310px;max-width:calc(100vw - 20px);padding:18px 18px 14px;
  border-radius:16px;background:var(--fos-card-deco,none),var(--fos-card-bg);border:1.5px solid var(--fos-card-border);color:var(--fos-text);
  box-shadow:0 22px 50px rgba(0,0,0,.45),0 0 28px var(--fos-hot-glow);transform-origin:50% -30px;will-change:transform}
.fos .fos-pop[hidden],.fos .fos-fab[hidden]{display:none}
.fos .fos-pop:focus{outline:none}
.fos .fos-str{position:absolute;bottom:100%;width:2px;height:420px;margin-bottom:-2px;pointer-events:none;background:var(--fos-string)}
.fos .fos-str--l{left:44px}
.fos .fos-str--r{right:44px}
.fos .fos-str::after{content:"";position:absolute;bottom:-2px;left:-3px;width:8px;height:8px;border-radius:50%;background:var(--fos-knot);box-shadow:0 0 8px var(--fos-hot-glow)}
.fos .fos-pop.fos-pop--fab{position:fixed;top:auto;bottom:94px;left:20px;transform-origin:30px 100%}
.fos .fos-pop--fab .fos-str{display:none}
.fos .fos-pop--fab::before{content:"";position:absolute;bottom:-8px;left:26px;width:13px;height:13px;background:var(--fos-card-arrow);
  border-right:1.5px solid var(--fos-card-border);border-bottom:1.5px solid var(--fos-card-border);transform:rotate(45deg)}
.fos .fos-pop.fos-anim{animation:fos-spring .55s cubic-bezier(.25,1.55,.45,1)}
@keyframes fos-spring{from{opacity:0;transform:translateY(24px) scale(.6)}to{opacity:1;transform:none}}
.fos .fos-pop-h{display:inline-block;max-width:calc(100% - 26px);font-family:var(--fos-display);font-weight:var(--fos-dweight,400);font-size:calc(var(--fos-dsize) + 7px);
  letter-spacing:var(--fos-dtrack);text-transform:var(--fos-dcase);line-height:1.1;margin:0 0 6px;padding:0 2px 4px 0;
  background:var(--fos-hot);-webkit-background-clip:text;background-clip:text;color:transparent}
.fos .fos-pop-t{font-size:14px;line-height:1.5;color:var(--fos-card-text)}
.fos .fos-code{display:flex;align-items:stretch;margin:14px 0 10px;border:1.5px dashed var(--fos-accent);border-radius:10px;overflow:hidden;background:rgba(0,0,0,.28)}
.fos .fos-code-v{flex:1;display:flex;align-items:center;padding:0 12px;font-weight:700;font-size:18px;letter-spacing:2px;color:var(--fos-accent-2);word-break:break-all}
.fos .fos-copy{padding:10px 14px;background:color-mix(in srgb,var(--fos-accent) 18%,transparent);font-size:13px;font-weight:600;color:var(--fos-accent-2);transition:background .2s;white-space:nowrap}
.fos .fos-copy:hover{background:color-mix(in srgb,var(--fos-accent) 30%,transparent)}
.fos .fos-pop-cd{font-size:12.5px;color:var(--fos-card-muted);margin:10px 0 12px}
.fos .fos-pop-cd [data-fos-cd]{display:inline-flex;gap:5px;color:var(--fos-text);margin-left:4px}
.fos .fos-pop .fos-cta{display:flex;width:100%;height:42px;font-size:15px;margin-top:12px}
.fos .fos-pop-cd + .fos-cta{margin-top:0}
.fos .fos-fine{margin-top:12px;font-size:11.5px;line-height:1.5;color:var(--fos-card-muted)}
.fos .fos-reopen{display:none;margin-left:4px;text-decoration:underline;color:var(--fos-card-text);font-size:11.5px}
.fos.fos-closed .fos-reopen{display:inline}
.fos .fos-pop-x{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--fos-card-muted)}
.fos .fos-pop-x:hover{background:rgba(255,255,255,.1);color:var(--fos-text)}
.fos .fos-pop-x svg{width:12px;height:12px}

/* ---------- corner button ---------- */
.fos .fos-fab{position:fixed;left:20px;bottom:20px;z-index:4;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;
  background:var(--fos-fab-bg);box-shadow:0 8px 24px rgba(0,0,0,.4),0 0 0 2px var(--fos-fab-ring);animation:fos-fab-in .5s cubic-bezier(.2,1.5,.4,1)}
.fos .fos-fab .fos-mascot{width:38px;height:45px;animation:fos-bob 3s ease-in-out infinite}
.fos .fos-fab-tag{position:absolute;top:-6px;right:-12px;padding:4px 7px;border-radius:999px;background:var(--fos-cta-bg);color:var(--fos-cta-text);font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
@keyframes fos-bob{50%{transform:translateY(-3px) rotate(4deg)}}
@keyframes fos-fab-in{from{transform:scale(0) rotate(-90deg)}to{transform:none}}

/* burst particles (appended to <body>, coloured inline) */
.fos-pc{position:fixed;z-index:99999;pointer-events:none;width:9px;height:9px;margin:-4px 0 0 -4px;will-change:transform,opacity;background:var(--c)}
.fos-pc--0{height:11px;clip-path:polygon(50% 0,100% 100%,0 100%)}
.fos-pc--1{width:8px;height:8px;border-radius:50%;box-shadow:0 0 6px var(--c)}
.fos-pc--2{width:7px;height:7px;transform:rotate(45deg)}
.fos-pc--cc{background:linear-gradient(#fffaf0 0 30%,#ff8a1a 30% 64%,#ffd23f 64%)}

