/* GeekyBooks product film: a short guided film that plays inside a browser tab.
   Everything is drawn on a fixed 1920x990 canvas that is scaled to fit, so text and screens stay sharp. */
.gbf {
  --gbf-navy: #023c6c;
  --gbf-navy-deep: #01284a;
  --gbf-green: #4caf50;
  --gbf-green-deep: #2e7d32;
  --gbf-ink: #0f1f33;
  --gbf-muted: #5b6b7f;
  --gbf-line: #e3e8f0;
  --gbf-chrome: #e8edf3;
  --gbf-app: #f4f7fb;
  --gbf-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative;
  font-family: var(--gbf-font);
  color: var(--gbf-ink);
  max-width: 100%;
}
.gbf *, .gbf *::before, .gbf *::after { box-sizing: border-box; }

/* ---------- Browser window ---------- */
.gbf-win {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(2, 60, 108, .10), 0 60px 120px -50px rgba(2, 60, 108, .45), 0 24px 48px -28px rgba(2, 60, 108, .35);
}
.gbf-tabs {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  background: var(--gbf-chrome);
}
.gbf-dots { display: flex; gap: 8px; align-self: center; padding-right: 8px; }
.gbf-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.gbf-dots i:nth-child(2) { background: #febc2e; }
.gbf-dots i:nth-child(3) { background: #28c840; }
.gbf-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(260px, 46%);
  height: 36px;
  padding: 0 12px;
  border-radius: 10px 10px 0 0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--gbf-ink);
  min-width: 0;
}
.gbf-tab img { width: 16px; height: 16px; flex: none; }
.gbf-tab .gbf-ttl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s ease; }
.gbf-tab .gbf-x { flex: none; width: 16px; height: 16px; opacity: .45; }
.gbf-tab .gbf-load { position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--gbf-green); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.gbf-plus { align-self: center; width: 16px; height: 16px; opacity: .45; }
.gbf-addr {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--gbf-line);
}
.gbf-nav { display: flex; gap: 12px; opacity: .5; }
.gbf-nav svg, .gbf-plus, .gbf-x { display: block; }
.gbf-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 99px;
  background: #f1f4f8;
  font-size: 13px;
  color: var(--gbf-muted);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.gbf-url b { color: var(--gbf-ink); font-weight: 600; }
.gbf-url svg { flex: none; }
.gbf-caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; background: var(--gbf-ink); vertical-align: -3px; opacity: 0; }

/* ---------- Stage + canvas ---------- */
.gbf-stage { position: relative; aspect-ratio: 1920 / 990; overflow: hidden; background: var(--gbf-app); max-width: 100%; }
.gbf-canvas { position: absolute; left: 0; top: 0; width: 1920px; height: 990px; transform-origin: 0 0; overflow: hidden; }
.gbf-sc { position: absolute; inset: 0; overflow: hidden; visibility: hidden; background: var(--gbf-app); }
.gbf-cam { position: absolute; left: 0; top: 0; width: 1920px; height: 990px; transform-origin: 0 0; }
.gbf-shot { position: absolute; top: 0; z-index: 0; display: block; max-width: none; height: auto; user-select: none; -webkit-user-drag: none; }

/* Spotlight: the real UI stays in place, everything around it dims */
.gbf-spot { position: absolute; z-index: 3; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 4000px rgba(2, 30, 58, var(--d, 0)); }
.gbf-spot::before { content: ""; position: absolute; inset: -4px; border-radius: 17px; border: 3px solid var(--gbf-green); box-shadow: 0 0 0 7px rgba(76, 175, 80, .20), 0 0 40px rgba(76, 175, 80, .35); opacity: var(--r, 0); }
.gbf-veil { position: absolute; inset: 0; background: rgba(2, 30, 58, .42); opacity: 0; pointer-events: none; }

/* Caption card (inside the film) */
.gbf-cap {
  position: absolute;
  z-index: 30;
  width: 660px;
  padding: 26px 30px 28px;
  border-radius: 20px;
  background: var(--gbf-navy);
  color: #fff;
  box-shadow: 0 30px 60px -24px rgba(1, 25, 48, .6);
  opacity: 0;
}
.gbf-cap .k { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fe0a2; }
.gbf-cap .k span { color: rgba(255, 255, 255, .55); font-weight: 600; letter-spacing: .04em; }
.gbf-cap h3 { margin: 10px 0 8px; font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.gbf-cap p { margin: 0; font-size: 23px; line-height: 1.42; color: rgba(255, 255, 255, .80); }

/* Pointer + click ripple */
.gbf-cur { position: absolute; left: 0; top: 0; z-index: 40; width: 46px; height: 46px; margin: -3px 0 0 -5px; opacity: 0; pointer-events: none; filter: drop-shadow(0 8px 12px rgba(15, 23, 42, .35)); }
.gbf-cur svg { display: block; width: 100%; height: 100%; }
.gbf-rip { position: absolute; z-index: 39; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 4px solid var(--gbf-green); background: rgba(76, 175, 80, .2); opacity: 0; pointer-events: none; }

/* ---------- App-styled overlays ---------- */
.gbf-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(2, 60, 108, .08), 0 40px 80px -30px rgba(2, 60, 108, .5); }
.gbf-pillbtn { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; background: #fff; color: var(--gbf-navy); font-size: 20px; font-weight: 700; box-shadow: 0 0 0 1px rgba(2, 60, 108, .12), 0 14px 30px -16px rgba(2, 60, 108, .5); white-space: nowrap; }
.gbf-pillbtn svg { width: 22px; height: 22px; color: var(--gbf-green); }
.gbf-sum { left: 1238px; top: 96px; width: 640px; padding: 30px 32px; }
.gbf-sum .h { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gbf-green-deep); }
.gbf-sum h4 { margin: 10px 0 18px; font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--gbf-navy); }
.gbf-sum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gbf-sum li { display: grid; grid-template-columns: 12px 1fr; gap: 14px; font-size: 21px; line-height: 1.42; color: #24364b; }
.gbf-sum li::before { content: ""; width: 10px; height: 10px; margin-top: 10px; border-radius: 50%; background: var(--gbf-green); }
.gbf-sum li b { color: var(--gbf-navy); }
.gbf-sum .acts { display: flex; gap: 12px; margin-top: 24px; }
.gbf-sum .acts span { padding: 11px 18px; border-radius: 11px; font-size: 18px; font-weight: 700; background: #eef7ef; color: var(--gbf-green-deep); }
.gbf-sum .acts span:first-child { background: var(--gbf-green); color: #fff; }

.gbf-mail { left: 0; top: 0; display: flex; align-items: center; gap: 16px; width: 560px; padding: 18px 22px; }
.gbf-mail .ic { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #eef7ef; color: var(--gbf-green-deep); }
.gbf-mail .ic svg { width: 28px; height: 28px; }
.gbf-mail .t { font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gbf-green-deep); }
.gbf-mail .f { margin-top: 3px; font-size: 21px; font-weight: 700; color: var(--gbf-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbf-new { position: absolute; padding: 6px 14px; border-radius: 99px; background: var(--gbf-green); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .04em; }

.gbf-agent { left: 1180px; top: 110px; width: 690px; padding: 28px 30px; }
.gbf-agent .top { display: flex; align-items: center; justify-content: space-between; }
.gbf-agent .nm { display: flex; align-items: center; gap: 14px; }
.gbf-agent .nm i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gbf-navy); color: #fff; font-style: normal; }
.gbf-agent .nm i svg { width: 28px; height: 28px; }
.gbf-agent .nm b { display: block; font-size: 26px; color: var(--gbf-navy); }
.gbf-agent .nm small { display: block; font-size: 16px; color: var(--gbf-muted); }
.gbf-agent .live { padding: 7px 14px; border-radius: 99px; background: #eef7ef; color: var(--gbf-green-deep); font-size: 16px; font-weight: 700; }
.gbf-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; }
.gbf-steps li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 14px 6px; border-top: 1px solid var(--gbf-line); font-size: 21px; color: #24364b; }
.gbf-steps li:first-child { border-top: 0; }
.gbf-steps li em { font-style: normal; font-size: 17px; font-weight: 700; color: var(--gbf-muted); }
.gbf-chk { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #cfd8e3; }
.gbf-chk::after { content: ""; position: absolute; left: 10px; top: 5px; width: 9px; height: 16px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; }
.gbf-chk.on { background: var(--gbf-green); border-color: var(--gbf-green); }
.gbf-chk.on::after { opacity: 1; }

.gbf-toast { left: 50%; top: 92px; display: flex; align-items: center; gap: 14px; padding: 16px 24px 16px 18px; transform: translateX(-50%); white-space: nowrap; font-size: 21px; font-weight: 700; color: var(--gbf-navy); }
.gbf-toast i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gbf-green); color: #fff; font-style: normal; }
.gbf-toast i svg { width: 22px; height: 22px; }
.gbf-toast small { font-weight: 600; color: var(--gbf-muted); }

.gbf-conv { right: 50px; top: 96px; display: flex; align-items: center; gap: 16px; padding: 16px 22px; font-size: 20px; font-weight: 700; color: var(--gbf-navy); white-space: nowrap; }
.gbf-conv .doc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: #fdecec; color: #b42318; }
.gbf-conv .doc.csv { background: #eef7ef; color: var(--gbf-green-deep); }
.gbf-conv .arr { color: var(--gbf-muted); }

.gbf-scan { position: absolute; height: 120px; background: linear-gradient(180deg, rgba(76, 175, 80, 0), rgba(76, 175, 80, .16) 70%, rgba(76, 175, 80, .55)); border-bottom: 3px solid var(--gbf-green); pointer-events: none; opacity: 0; }
.gbf-ok { position: absolute; width: 132px; height: 40px; margin: -20px 0 0 -66px; border-radius: 99px; box-shadow: 0 0 0 3px var(--gbf-green), 0 0 24px rgba(76, 175, 80, .6); opacity: 0; pointer-events: none; }
.gbf-count { left: 1265px; top: 150px; display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 20px; font-weight: 700; color: var(--gbf-navy); white-space: nowrap; }
.gbf-count b { font-size: 26px; color: var(--gbf-green-deep); font-variant-numeric: tabular-nums; }


.gbf-drawer { position: absolute; top: 0; height: 990px; max-width: none; box-shadow: -30px 0 60px -20px rgba(1, 25, 48, .35); opacity: 0; }

/* Workbench: items moving through an agent */
.gbf-item { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; width: 400px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(2, 60, 108, .10), 0 20px 40px -22px rgba(2, 60, 108, .55); opacity: 0; }
.gbf-item i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eef3f9; color: var(--gbf-navy); }
.gbf-item i svg { width: 24px; height: 24px; }
.gbf-item b { display: block; font-size: 20px; color: var(--gbf-navy); }
.gbf-item small { display: block; font-size: 15px; color: var(--gbf-muted); white-space: nowrap; }
.gbf-item em { font-style: normal; padding: 6px 12px; border-radius: 99px; font-size: 14px; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.gbf-item em.ok { background: #e8f5e9; color: var(--gbf-green-deep); }
.gbf-item em.warn { background: #fdeee3; color: #b5571b; }
.gbf-item.is-done em { opacity: 1; }
.gbf-badge { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%; background: var(--gbf-navy); color: #fff; font-size: 19px; font-weight: 800; opacity: 0; }
.gbf-working { position: absolute; display: grid; align-content: center; justify-items: center; gap: 8px; border-radius: 18px; background: #f8fafc; text-align: center; opacity: 0; transition: opacity .2s; }
.gbf-working .st { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--gbf-green-deep); }
.gbf-working .st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gbf-green); box-shadow: 0 0 0 5px rgba(76, 175, 80, .2); }
.gbf-working b { font-size: 25px; color: var(--gbf-navy); }
.gbf-working small { font-size: 16px; color: var(--gbf-muted); }
.gbf-working .bar { width: 60%; height: 6px; margin-top: 6px; border-radius: 9px; background: #e1e8f0; overflow: hidden; }
.gbf-working .bar i { display: block; height: 100%; background: var(--gbf-green); transform-origin: 0 50%; transform: scaleX(0); }

/* Intro + outro + phones */
.gbf-intro { display: grid; place-items: center; background: radial-gradient(900px 520px at 50% 45%, #ffffff 0%, #eef4f0 70%, #e6eef5 100%); }
.gbf-intro .in { display: grid; justify-items: center; gap: 34px; }
.gbf-intro img { width: 520px; height: auto; }
.gbf-bar { width: 420px; height: 6px; border-radius: 99px; background: #dfe7ef; overflow: hidden; }
.gbf-bar i { display: block; height: 100%; width: 100%; background: var(--gbf-green); transform-origin: 0 50%; transform: scaleX(0); }
.gbf-intro p { margin: 0; font-size: 26px; font-weight: 600; color: var(--gbf-muted); }

.gbf-phones { background: radial-gradient(640px 460px at 62% 55%, rgba(129, 199, 132, .38), transparent 70%), linear-gradient(112deg, #06120a 0%, #0c2414 44%, #e3f2e4 54%, #f4faf4 100%); }
.gbf-ph { position: absolute; padding: 12px; border-radius: 58px; background: linear-gradient(145deg, #2a2f2a, #0b0d0b 40%, #1c201c); box-shadow: 0 0 0 1.5px #3a3f3a inset, 0 60px 100px -36px rgba(0, 0, 0, .6), 0 20px 40px -24px rgba(0, 0, 0, .45); }
.gbf-ph img { display: block; width: 100%; height: auto; border-radius: 47px; }
.gbf-tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 99px; background: #fff; color: var(--gbf-navy); font-size: 21px; font-weight: 700; white-space: nowrap; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45); opacity: 0; }
.gbf-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gbf-green); }

.gbf-outro { display: grid; place-items: center; background: radial-gradient(900px 560px at 15% 10%, rgba(2, 60, 108, .10), transparent 70%), radial-gradient(900px 560px at 88% 92%, rgba(76, 175, 80, .20), transparent 70%), linear-gradient(180deg, #f3f7fb, #eef5f0); }
.gbf-outro .in { display: grid; justify-items: center; gap: 30px; width: 1720px; }
.gbf-outro .top { display: grid; justify-items: center; gap: 14px; }
.gbf-outro .top img { width: 300px; height: auto; }
.gbf-outro h2 { margin: 0; font-size: 56px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--gbf-navy); text-align: center; }
.gbf-outro h2 span { color: var(--gbf-green-deep); }
.gbf-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; }
.gbf-feat { --glow: 0; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(2, 60, 108, .08), 0 0 0 calc(var(--glow) * 4px) rgba(76, 175, 80, .35), 0 18px 34px -22px rgba(2, 60, 108, .45); opacity: 0; }
.gbf-feat i { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 15px; background: #eef3f9; color: var(--gbf-navy); transition: background .3s, color .3s; }
.gbf-feat.on i { background: var(--gbf-green); color: #fff; }
.gbf-feat i svg { width: 30px; height: 30px; }
.gbf-feat b { display: block; font-size: 22px; line-height: 1.2; color: var(--gbf-navy); }
.gbf-feat small { display: block; margin-top: 4px; font-size: 16.5px; color: var(--gbf-muted); }
.gbf-outro .foot { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.gbf-cta { display: inline-flex; align-items: center; gap: 12px; padding: 20px 38px; border: 0; border-radius: 16px; background: var(--gbf-green); color: #fff; font: 800 26px/1 var(--gbf-font); cursor: pointer; box-shadow: 0 20px 40px -18px rgba(46, 125, 50, .7); }
.gbf-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 18px; color: var(--gbf-muted); }
.gbf-soon b { font-weight: 700; color: var(--gbf-ink); margin-right: 4px; }
.gbf-soon span { padding: 8px 16px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgba(2, 60, 108, .10); }

/* ---------- Player controls (look and act like a video) ---------- */
.gbf-ctl {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, rgba(1, 25, 48, 0), rgba(1, 25, 48, .55));
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.gbf:hover .gbf-ctl, .gbf:focus-within .gbf-ctl, .gbf.is-paused .gbf-ctl { opacity: 1; }
.gbf-btn { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; }
.gbf-btn:hover { background: rgba(255, 255, 255, .3); }
.gbf-btn svg { width: 16px; height: 16px; fill: currentColor; }
.gbf-btn:focus-visible, .gbf-seg:focus-visible, .gbf-cta:focus-visible { outline: 2px solid #9fe0a2; outline-offset: 2px; }
.gbf-segs { flex: 1; display: flex; gap: 4px; min-width: 0; }
.gbf-seg { position: relative; flex: var(--w, 1); height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gbf-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .32); }
.gbf-seg i { position: absolute; left: 0; top: 7px; height: 4px; width: 100%; border-radius: 4px; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.gbf-seg span { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 4px 9px; border-radius: 6px; background: rgba(1, 25, 48, .85); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.gbf-seg:hover span, .gbf-seg:focus-visible span { opacity: 1; }
.gbf-time { flex: none; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .9; }
.gbf-chap { flex: none; font-size: 13px; font-weight: 700; }
.gbf-thin { position: absolute; left: 0; right: 0; bottom: 0; z-index: 49; height: 3px; background: rgba(2, 60, 108, .12); }
.gbf-thin i { display: block; height: 100%; background: var(--gbf-green); transform-origin: 0 50%; transform: scaleX(0); }

/* Caption under the window on small screens, where in-film text would be too small to read */
.gbf-capm { display: none; margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--gbf-navy); color: #fff; }
.gbf-capm .k { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fe0a2; }
.gbf-capm h3 { margin: 6px 0 4px; font-size: 17px; line-height: 1.25; font-weight: 800; color: #fff; }
.gbf-capm p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.gbf.is-small .gbf-cap { display: none !important; }
.gbf.is-small .gbf-capm { display: block; }
.gbf.is-small .gbf-chap, .gbf.is-small .gbf-time { display: none; }
.gbf.is-small .gbf-tabs { height: 34px; }
.gbf.is-small .gbf-tab { height: 28px; font-size: 11.5px; }
.gbf.is-small .gbf-addr { height: 34px; }
.gbf.is-small .gbf-url { height: 24px; font-size: 11.5px; }
.gbf.is-small .gbf-nav, .gbf.is-small .gbf-plus { display: none; }
.gbf.is-small .gbf-ctl { padding: 14px 8px 6px; gap: 8px; }
.gbf.is-small .gbf-btn { width: 28px; height: 28px; }
.gbf.is-small .gbf-btn svg { width: 12px; height: 12px; }

@media (prefers-reduced-motion: reduce) {
  .gbf-ctl { transition: none; }
}

.gbf-cam > .gbf-card, .gbf-cam > .gbf-new, .gbf-cam > .gbf-scan, .gbf-cam > .gbf-ok, .gbf-cam > .gbf-item, .gbf-cam > .gbf-badge, .gbf-cam > .gbf-working { z-index: 4; }
.gbf-mask { position: absolute; z-index: 3; background: #fff; opacity: 0; }

/* ---------- iPad frame (data-device="ipad"), matching the site's space-grey device ---------- */
.gbf--ipad { --bz: clamp(8px, 1.25vw, 18px); --rad: clamp(18px, 2.6vw, 38px); }
.gbf-ipad {
  position: relative;
  padding: var(--bz);
  border-radius: var(--rad);
  background: linear-gradient(145deg, #2b2f36 0%, #16181c 45%, #0d0e10 100%);
  box-shadow: 0 0 0 1px #3a3f47 inset, 0 0 0 1.5px #8a9099, 0 0 0 3px #1b1d21,
    0 60px 110px -45px rgba(27, 60, 30, .45), 0 26px 46px -28px rgba(15, 23, 42, .5);
}
/* front camera on the left bezel (landscape) */
.gbf-ipad::before { content: ""; position: absolute; left: calc(var(--bz) / 2 - 3px); top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a5563, #0b0c0e 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
/* side buttons */
.gbf-ipad::after { content: ""; position: absolute; top: -4px; right: 12%; width: 7%; height: 4px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #9aa0a8, #5c626b); }
.gbf-screen { position: relative; overflow: hidden; border-radius: calc(var(--rad) - var(--bz)); background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); isolation: isolate; }
/* soft glass reflection */
.gbf-screen::after { content: ""; position: absolute; inset: 0; z-index: 60; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%); }
.gbf--ipad .gbf-win { border-radius: 0; box-shadow: none; }
.gbf-status { display: flex; justify-content: space-between; align-items: center; height: 24px; padding: 0 22px; background: var(--gbf-chrome); font-size: 12px; font-weight: 700; color: #111; font-variant-numeric: tabular-nums; }
.gbf-status .r { display: inline-flex; align-items: center; gap: 6px; }
.gbf-status .bat { position: relative; display: inline-block; width: 24px; height: 11px; padding: 1.5px; border: 1.3px solid rgba(0, 0, 0, .45); border-radius: 3.5px; font-style: normal; }
.gbf-status .bat::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(0, 0, 0, .45); }
.gbf-status .bat i { display: block; height: 100%; border-radius: 1.5px; background: #111; }
.gbf--ipad .gbf-tabs { height: 40px; padding-left: 18px; }
.gbf--ipad.is-small .gbf-status { height: 16px; padding: 0 12px; font-size: 8.5px; }
.gbf--ipad.is-small .gbf-status svg { width: 11px; height: 8px; }
.gbf--ipad.is-small .gbf-status .bat { width: 16px; height: 8px; }
.gbf--ipad.is-small .gbf-tabs { height: 30px; padding-left: 10px; }

/* ---------- macOS Safari window (gb-film-safari.js) ---------- */
.gbf--safari { --sf-bar: #ececee; --sf-tabs: #dfdfe2; --sf-line: #c9c9ce; }
.gbf--safari .sf-win { border-radius: 12px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .28), 0 30px 70px -24px rgba(15, 30, 50, .45), 0 12px 28px -14px rgba(15, 30, 50, .3); }
.sf-bar { position: relative; display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 16px; background: var(--sf-bar); color: #6b6b70; }
.sf-bar .gbf-dots { padding-right: 4px; }
.sf-ic { display: flex; align-items: center; gap: 18px; flex: none; }
.sf-ic svg { display: block; }
.sf-ic .dim { opacity: .35; }
.sf-left { margin-left: 4px; }
.sf-right { margin-left: auto; }
.sf-field { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: min(560px, 46%); height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .06); overflow: hidden; }
.sf-url { flex: none; height: auto; padding: 0; background: none; border-radius: 0; gap: 6px; font-size: 13.5px; color: #1d1d1f; justify-content: center; }
.sf-url b { font-weight: 500; color: #1d1d1f; }
.sf-url svg { width: 11px; height: 11px; color: #6b6b70; }
.sf-url .typed { color: #1d1d1f; }
.sf-reload { position: absolute; right: 10px; top: 8px; color: #6b6b70; }
.sf-load { position: absolute; left: 0; bottom: 0; height: 2.5px; width: 100%; background: #0a84ff; transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.sf-tabs { display: flex; height: 32px; background: var(--sf-tabs); border-top: .5px solid var(--sf-line); border-bottom: .5px solid var(--sf-line); }
.sf-tab { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; font-size: 12.5px; color: #55555a; border-left: .5px solid var(--sf-line); }
.sf-tab:first-child { border-left: 0; }
.sf-tab img { width: 15px; height: 15px; flex: none; }
.sf-tab .gbf-ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-tab.on { background: var(--sf-bar); color: #1d1d1f; font-weight: 500; }

/* Larger, crisper captions for this cut */
.gbf--safari .gbf-cap { width: 720px; padding: 28px 34px 30px; border-radius: 22px; }
.gbf--safari .gbf-cap .k { font-size: 19px; }
.gbf--safari .gbf-cap h3 { font-size: 46px; margin: 10px 0 10px; }
.gbf--safari .gbf-cap p { font-size: 25px; }

.gbf--safari.is-small .sf-bar { height: 38px; gap: 10px; padding: 0 10px; }
.gbf--safari.is-small .sf-left, .gbf--safari.is-small .sf-right { display: none; }
.gbf--safari.is-small .sf-field { top: 6px; height: 26px; width: 62%; }
.gbf--safari.is-small .sf-url { font-size: 11.5px; }
.gbf--safari.is-small .sf-tabs { height: 26px; }
.gbf--safari.is-small .sf-tab { font-size: 11px; }
.gbf--safari.is-small .sf-tab:not(.on) { display: none; }
.gbf--safari.is-small .gbf-dots i { width: 9px; height: 9px; }
.gbf.is-small .gbf-seg span { display: none; }

/* Safari for iPad inside the iPad frame: one tab, status bar in the toolbar colour */
.gbf--safari.gbf--ipad .sf-win { border-radius: 0; box-shadow: none; }
.gbf--safari .sf-status { background: var(--sf-bar); }
.gbf--safari .sf-tab { flex: 0 0 auto; width: min(320px, 40%); justify-content: flex-start; }
.gbf--safari .sf-tab.on { border-right: .5px solid var(--sf-line); }
.gbf--safari .sf-left { margin-left: 0; }
.gbf--safari.is-small .sf-tab { width: 60%; }

/* macOS window buttons in the Safari toolbar */
.sf-lights { display: flex; gap: 8px; flex: none; align-items: center; }
.sf-lights i { position: relative; display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.sf-lights i.m { background: #febc2e; }
.sf-lights i.f { background: #28c840; }
.sf-lights svg { width: 9px; height: 9px; fill: none; stroke-width: 1.4; stroke-linecap: round; }
.sf-lights .c svg { stroke: #820005; }
.sf-lights .m svg { stroke: #985700; }
.sf-lights .f svg { stroke: none; }
.sf-lights .f .fill { fill: #006500; }
.gbf--safari.is-small .sf-lights i { width: 9px; height: 9px; }
.gbf--safari.is-small .sf-lights svg { width: 6px; height: 6px; }

/* v3: no tab bar, back/forward beside the address field, crisper icons */
.gbf--safari .sf-tabs { display: none; }
.sf-bar { height: 56px; gap: 18px; padding: 0 18px; color: #3c3c43; }
.sf-mid { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
.sf-nav { gap: 14px; }
.sf-field { position: relative; left: auto; top: auto; transform: none; width: min(600px, 62%); height: 34px; }
.sf-reload { top: 9px; }
.sf-ic svg { stroke-width: 1.9; shape-rendering: geometricPrecision; }
.sf-ic .dim { opacity: .3; }
.sf-url { font-size: 14.5px; }
.sf-url b { font-weight: 600; }
.sf-right { margin-left: 0; }
.gbf--safari .sf-status { height: 26px; font-size: 13px; }
/* thinner bezel and tighter fit, like the first iPad cut */
.gbf--safari.gbf--ipad { --bz: clamp(8px, 1vw, 14px); --rad: clamp(18px, 2.2vw, 32px); }
.gbf--safari.is-small .sf-mid { gap: 8px; }
.gbf--safari.is-small .sf-nav { display: none; }
.gbf--safari.is-small .sf-field { width: 80%; height: 26px; }

/* iPad split view (Workspace) */
.gbf-split { background: #1c1f24; }
.gbf-pane { position: absolute; border-radius: 22px; overflow: hidden; background: #f4f7fb; box-shadow: 0 20px 50px -24px rgba(0,0,0,.6); opacity: 0; height: 910px; }
.gbf-pane-h { display: flex; align-items: center; gap: 12px; height: 70px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--gbf-line); }
.gbf-pane-h i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #e8f5e9; color: var(--gbf-green-deep); font-style: normal; }
.gbf-pane-h i svg { width: 22px; height: 22px; }
.gbf-pane-h b { font-size: 24px; color: var(--gbf-navy); }
.gbf-pane-h small { font-size: 17px; color: var(--gbf-muted); }
.gbf-pane-c { position: relative; overflow: hidden; margin: 24px 0 0; background: #fff; }
.gbf-pane-hl { position: absolute; border-radius: 8px; box-shadow: 0 0 0 3px var(--gbf-green), 0 0 0 8px rgba(76,175,80,.2); opacity: 0; }
.gbf-typed { position: absolute; color: #24364b; white-space: nowrap; opacity: 0; font-family: Arial, Helvetica, sans-serif; }
.gbf-typed i { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: var(--gbf-green-deep); }
.gbf-divider { position: absolute; left: 954px; top: 0; bottom: 0; width: 12px; display: grid; place-items: center; }
.gbf-divider i { width: 6px; height: 64px; border-radius: 4px; background: rgba(255,255,255,.55); }

/* Context chat overlay */
.gbf-chatp { position: absolute; background: #fff; overflow: hidden; opacity: 0; }
.gbf-msg { position: absolute; left: 0; right: 0; display: flex; gap: 14px; padding: 0 26px; opacity: 0; }
.gbf-msg .av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 15px; font-weight: 800; color: #fff; background: #3f7bd9; }
.gbf-msg.me { flex-direction: row-reverse; }
.gbf-msg.me .av { background: var(--gbf-green); }
.gbf-msg .bd { max-width: 74%; }
.gbf-msg .nm { font-size: 15px; font-weight: 700; color: var(--gbf-navy); margin-bottom: 5px; }
.gbf-msg.me .nm { text-align: right; }
.gbf-msg .nm small { font-weight: 500; color: var(--gbf-muted); margin-left: 6px; }
.gbf-msg .bb { padding: 13px 17px; border-radius: 16px 16px 16px 4px; background: #f1f4f8; font-size: 18px; line-height: 1.4; color: #1f2d3d; }
.gbf-msg.me .bb { border-radius: 16px 16px 4px 16px; background: #e6f4ea; }
.gbf-msg .bb b { color: #1d5fbf; font-weight: 700; }
.gbf-msg .file { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--gbf-line); font-size: 16px; font-weight: 700; color: var(--gbf-navy); }
.gbf-msg .file span { padding: 4px 8px; border-radius: 6px; background: #fdecec; color: #b42318; font-size: 13px; }
.gbf-typing { position: absolute; left: 94px; display: flex; gap: 6px; padding: 14px 18px; border-radius: 16px; background: #f1f4f8; opacity: 0; }
.gbf-typing i { width: 8px; height: 8px; border-radius: 50%; background: #9aa8b8; }

/* v5: chat hub, statement PDF to CSV, document tools */
.gbf-cam > .gbf-chatp, .gbf-cam > .gbf-dmrow, .gbf-cam > .gbf-dmcnt, .gbf-cam > .gbf-tick, .gbf-cam > .gbf-rowhl, .gbf-cam > .gbf-mtag,
.gbf-cam > .gbf-thumb, .gbf-cam > .gbf-cut, .gbf-cam > .gbf-tools, .gbf-cam > .gbf-crop { z-index: 4; }
.gbf-dmrow { position: absolute; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: #fff; border-radius: 8px; opacity: 0; font-size: 17px; }
.gbf-dmrow i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #7a5af8; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.gbf-dmrow b { color: var(--gbf-navy); }
.gbf-dmrow small { margin-left: auto; color: var(--gbf-muted); font-size: 14px; }
.gbf-dmcnt { position: absolute; display: grid; place-items: center; border-radius: 99px; background: var(--gbf-green); color: #fff; font-size: 14px; font-weight: 800; opacity: 0; }
.gbf-dm { left: 640px; top: 170px; width: 820px; height: 380px; padding: 0; overflow: hidden; opacity: 0; }
.gbf-dm .hd { display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-bottom: 1px solid var(--gbf-line); }
.gbf-dm .hd i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #7a5af8; color: #fff; font-style: normal; font-weight: 800; }
.gbf-dm .hd b { display: block; font-size: 22px; color: var(--gbf-navy); }
.gbf-dm .hd small { font-size: 16px; color: var(--gbf-muted); }
.gbf-dm .ms { position: relative; margin-top: 26px; height: 250px; }

.gbf-pp { position: absolute; left: 70px; top: 64px; width: 1780px; display: flex; align-items: stretch; gap: 22px; opacity: 0; }
.gbf-pp h4 { margin: 0 0 18px; font-size: 27px; font-weight: 800; color: var(--gbf-navy); }
.gbf-pp .old { position: relative; flex: 0 0 600px; padding: 30px 32px; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); --strike: 0; }
.gbf-pp .old h4 { color: #8a96a6; }
.gbf-pp .old ol { list-style: none; margin: 0; padding: 0; }
.gbf-pp .old li { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 13px 16px; border-radius: 12px; background: #f4f6f9; font-size: 20px; color: #3a4a5c; opacity: 0; }
.gbf-pp .old li b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dfe5ec; color: #5b6b7d; font-size: 16px; }
.gbf-pp .old li::after { content: ''; position: absolute; left: 60px; right: 18px; top: 50%; height: 2.5px; background: #d64545; transform-origin: left; transform: scaleX(var(--strike)); }
.gbf-pp .old.is-out li { color: #9aa6b4; }
.gbf-pp .old .x { margin-top: 6px; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #b42318; font-size: 19px; font-weight: 700; opacity: 0; }
.gbf-pp .arr { flex: none; display: grid; place-items: center; width: 56px; color: #fff; opacity: 0; }
.gbf-pp .nw { flex: 1; padding: 30px 34px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 3px var(--gbf-green), 0 30px 70px -30px rgba(0,0,0,.6); opacity: 0; }
.gbf-pp .nw h4 span { display: block; margin-bottom: 4px; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--gbf-green-deep); }
.gbf-pp .drop { display: flex; align-items: center; gap: 22px; padding: 18px; border: 2.5px dashed #b9d9bb; border-radius: 16px; background: #f6fbf6; }
.gbf-pp .pdf { display: flex; align-items: center; gap: 14px; flex: 0 0 400px; opacity: 0; }
.gbf-pp .pdf em { display: grid; place-items: center; width: 58px; height: 70px; border-radius: 8px; background: #d64545; color: #fff; font-style: normal; font-weight: 800; font-size: 17px; }
.gbf-pp .pdf b { display: block; font-size: 20px; color: var(--gbf-navy); }
.gbf-pp .pdf small { font-size: 16px; color: var(--gbf-muted); }
.gbf-pp .prog { flex: 1; opacity: 0; }
.gbf-pp .prog .pl { display: flex; justify-content: space-between; font-size: 18px; color: var(--gbf-navy); margin-bottom: 10px; }
.gbf-pp .prog .pl small { font-weight: 700; color: var(--gbf-green-deep); font-variant-numeric: tabular-nums; }
.gbf-pp .prog .bar { height: 10px; border-radius: 6px; background: #e3ece4; overflow: hidden; }
.gbf-pp .prog .bar i { display: block; height: 100%; background: var(--gbf-green); transform-origin: left; transform: scaleX(0); }
.gbf-pp .csv { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 19px; }
.gbf-pp .csv tr { opacity: 0; }
.gbf-pp .csv th { padding: 10px 14px; text-align: left; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: #6b7a8c; background: #f2f5f9; }
.gbf-pp .csv th:last-child, .gbf-pp .csv td:last-child { text-align: right; }
.gbf-pp .csv td { padding: 10px 14px; border-bottom: 1px solid var(--gbf-line); color: #1f2d3d; font-variant-numeric: tabular-nums; }
.gbf-pp .csv td.in { color: var(--gbf-green-deep); font-weight: 700; }
.gbf-pp .csv tr.more td { color: var(--gbf-muted); font-size: 16px; border-bottom: 0; }
.gbf-pp .ok { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 18px; border-radius: 99px; background: #e8f5e9; color: var(--gbf-green-deep); font-size: 19px; font-weight: 800; opacity: 0; }
.gbf-pp .ok i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gbf-green); color: #fff; }
.gbf-pp .ok i svg { width: 16px; height: 16px; }

.gbf-tick { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--gbf-green); color: #fff; opacity: 0; }
.gbf-tick svg { width: 16px; height: 16px; }
.gbf-chips { position: absolute; left: 800px; top: 872px; display: flex; gap: 12px; opacity: 0; }
.gbf-chips span { padding: 10px 18px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 2px var(--gbf-green), 0 16px 30px -16px rgba(0,0,0,.45); font-size: 19px; font-weight: 700; color: var(--gbf-navy); opacity: 0; }
.gbf-rowhl { position: absolute; border-radius: 8px; background: rgba(76,175,80,.16); box-shadow: inset 0 0 0 2px rgba(76,175,80,.7); opacity: 0; }
.gbf-mtag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; background: var(--gbf-navy); color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; transform: translateY(-50%); opacity: 0; }
.gbf-mtag.up { transform: translate(-50%, -50%); }
.gbf-mtag.red { background: #d64545; }
.gbf-thumb { position: absolute; border-radius: 8px; background: #fff; box-shadow: 0 0 0 2px var(--gbf-green), 0 18px 30px -12px rgba(0,0,0,.45); padding: 12px 10px; opacity: 0; }
.gbf-thumb i { display: block; height: 4px; margin: 0 0 6px; border-radius: 2px; background: #cfd8e3; }
.gbf-thumb i:nth-child(2) { width: 70%; } .gbf-thumb i:nth-child(4) { width: 50%; }
.gbf-thumb em { position: absolute; right: 4px; bottom: 4px; padding: 1px 4px; border-radius: 3px; background: #d64545; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; }
.gbf-cut { position: absolute; width: 0; border-left: 3px dashed #d64545; transform-origin: top; opacity: 0; }
.gbf-tools { position: absolute; display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(2,60,108,.12), 0 14px 30px -14px rgba(2,60,108,.5); opacity: 0; }
.gbf-tools span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; font-size: 17px; font-weight: 700; color: var(--gbf-navy); }
.gbf-tools span.on { background: #e8f5e9; color: var(--gbf-green-deep); }
.gbf-crop { position: absolute; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gbf-green), 0 0 0 4000px rgba(15,23,42,.38); opacity: 0; }
.gbf-crop i { position: absolute; width: 22px; height: 22px; border: 5px solid var(--gbf-green); }
.gbf-crop i:nth-child(1) { left: -9px; top: -9px; border-right: 0; border-bottom: 0; }
.gbf-crop i:nth-child(2) { right: -9px; top: -9px; border-left: 0; border-bottom: 0; }
.gbf-crop i:nth-child(3) { left: -9px; bottom: -9px; border-right: 0; border-top: 0; }
.gbf-crop i:nth-child(4) { right: -9px; bottom: -9px; border-left: 0; border-top: 0; }
.gbf-typed { background: #fff; line-height: 1.25; }
.gbf-cam > .gbf-rimg { z-index: 3; }
.gbf-rimg { position: absolute; overflow: hidden; background: #fff; opacity: 0; }

/* v6: file tools (merge/split panel) and OCR links */
.gbf-cam > .gbf-fbox, .gbf-cam > .gbf-links { z-index: 4; }
.gbf-ms { position: absolute; left: 150px; top: 130px; width: 1620px; display: flex; gap: 40px; opacity: 0; }
.gbf-ms .col { position: relative; flex: 1; height: 420px; padding: 30px 34px; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); transition: box-shadow .3s; }
.gbf-ms .col.done { box-shadow: 0 0 0 3px var(--gbf-green), 0 30px 70px -30px rgba(0,0,0,.6); }
.gbf-ms h4 { margin: 0 0 26px; font-size: 28px; font-weight: 800; color: var(--gbf-navy); }
.gbf-ms h4 span { display: block; margin-bottom: 4px; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--gbf-green-deep); }
.gbf-ms .f { position: absolute; left: 34px; right: 34px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 16px 20px; border-radius: 16px; background: #f4f7fb; box-shadow: 0 0 0 1px var(--gbf-line); }
.gbf-ms .f b { font-size: 21px; color: var(--gbf-navy); align-self: end; }
.gbf-ms .f small { grid-column: 2; font-size: 17px; color: var(--gbf-muted); align-self: start; }
.gbf-ms .pp { grid-row: 1 / 3; display: flex; gap: 6px; align-items: center; }
.gbf-ms .pp i { width: 34px; height: 44px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 2px #e05252 inset; position: relative; }
.gbf-ms .pp i::after { content: ''; position: absolute; left: 7px; right: 7px; top: 10px; height: 14px; background: repeating-linear-gradient(#cfd8e3 0 2px, transparent 2px 6px); }
.gbf-ms .pp i.b { box-shadow: 0 0 0 2px #3f7bd9 inset; }
.gbf-ms .pp em { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 4px; border-radius: 50%; background: #d64545; color: #fff; font-style: normal; opacity: 0; }
.gbf-ms .mg .fa { top: 140px; } .gbf-ms .mg .fb { top: 264px; }
.gbf-ms .mg .out { top: 202px; background: #eef7ef; box-shadow: 0 0 0 2px var(--gbf-green); opacity: 0; }
.gbf-ms .sp .src { top: 140px; }
.gbf-ms .sp .outs { position: absolute; left: 34px; right: 34px; top: 290px; display: flex; gap: 18px; }
.gbf-ms .sp .outs .f { position: relative; left: auto; right: auto; flex: 1; background: #eef7ef; box-shadow: 0 0 0 2px var(--gbf-green); opacity: 0; }
.gbf-fbox { position: absolute; border-radius: 6px; box-shadow: 0 0 0 4px var(--gbf-green); background: rgba(76,175,80,.10); opacity: 0; }
.gbf-fbox.src { box-shadow: 0 0 0 2.5px #3f7bd9; background: rgba(63,123,217,.08); }
.gbf-links { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.gbf-links path { fill: none; stroke: var(--gbf-green); stroke-width: 4.5; stroke-linecap: round; opacity: 0; }
.gbf-ocrc { left: auto; right: 60px; top: 112px; opacity: 0; }
/* v7: Coming soon row stands alone (no demo button) */
.gbf-outro .gbf-soon { gap: 12px; font-size: 21px; }
.gbf-outro .gbf-soon b { font-size: 22px; color: var(--gbf-navy); margin-right: 6px; }
.gbf-outro .gbf-soon span { padding: 10px 20px; background: #f1f8f1; color: var(--gbf-green-deep); font-weight: 600; box-shadow: 0 0 0 1px rgba(76, 175, 80, .35); }
/* v8: slimmer toolbar and address field; icons and buttons keep their size */
.sf-bar { height: 44px; }
.sf-field { height: 29px; border-radius: 8px; }
.sf-reload { top: 6.5px; }
.gbf--safari.is-small .sf-bar { height: 32px; }
.gbf--safari.is-small .sf-field { height: 22px; }
/* Global "body h2" sizing must not shrink the film's scaled-canvas heading */
body .gbf-outro h2 { font-size: 56px !important; line-height: 1.08 !important; font-weight: 800 !important; }

/* Light image protection: no image menu / long-press save on the film (controls stay clickable) */
#gbFilm { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
#gbFilm img { pointer-events: none; -webkit-touch-callout: none; -webkit-user-drag: none; }
