/* In-site A2B setup guide (assets/guide.js). Uses the page tokens from :root. */
.gtmo-guide{box-sizing:border-box;width:min(860px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--line,#ddd);border-radius:22px;background:var(--surface,#fff);color:var(--fg,#121826);box-shadow:0 30px 90px rgba(0,0,0,.5);overflow:auto;overscroll-behavior:contain}
.gtmo-guide::backdrop{background:rgba(5,8,14,.72);backdrop-filter:blur(6px)}
.gtmo-guide[open]{animation:gg-in .4s cubic-bezier(.3,1.25,.5,1) both}
@keyframes gg-in{from{opacity:0;transform:translateY(18px) scale(.96)}}
.gtmo-guide .gg-card{padding:22px 26px 18px;display:grid;gap:16px}
.gtmo-guide .gg-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gtmo-guide .gg-kicker{font:700 12px var(--f-mono,monospace);letter-spacing:.08em;text-transform:uppercase;color:var(--gold,#9c700c)}
.gtmo-guide .gg-kicker b{color:var(--fg,#121826);font-weight:700}
.gtmo-guide .gg-close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--line,#ddd);border-radius:50%;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}
.gtmo-guide .gg-close:hover{border-color:var(--gold,#9c700c)}
.gtmo-guide .gg-dots{list-style:none;display:flex;gap:6px;margin:0;padding:0}
.gtmo-guide .gg-dots li{flex:1}
.gtmo-guide .gg-dots button{display:block;width:100%;height:30px;border:0;border-radius:8px;background:var(--surface-2,#eceff4);color:var(--muted,#5a6477);font:700 12px var(--f-mono,monospace);cursor:pointer;transition:background-color .25s,color .25s}
.gtmo-guide .gg-dots button[data-state=done]{background:color-mix(in srgb,var(--gold,#9c700c) 30%,transparent);color:var(--fg,#121826)}
.gtmo-guide .gg-dots button[data-state=current]{background:var(--gold-fill,#f7b512);color:var(--on-gold,#1a1405)}
.gtmo-guide .gg-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;align-items:center;min-height:330px}
.gtmo-guide .gg-swap{animation:gg-swap .35s ease both}
@keyframes gg-swap{from{opacity:0;transform:translateX(14px)}}
.gtmo-guide .gg-shot{margin:0;display:grid;place-items:center;background:var(--surface-2,#eceff4);border-radius:14px;padding:10px;min-height:300px;max-height:420px;overflow:hidden}
.gtmo-guide .gg-shot img{display:block;max-width:100%;max-height:400px;width:auto;height:auto;border-radius:8px;box-shadow:0 10px 30px -14px rgba(0,0,0,.5)}
.gtmo-guide .gg-shot[data-kind=sticker]{background:transparent}
.gtmo-guide .gg-shot[data-kind=sticker] img{max-height:240px;box-shadow:none;filter:drop-shadow(0 8px 14px rgba(0,0,0,.3))}
.gtmo-guide .gg-text{display:grid;gap:12px;align-content:center}
.gtmo-guide h2{margin:0;font:800 clamp(24px,3vw,30px)/1.12 var(--f-display,system-ui);letter-spacing:-.01em}
.gtmo-guide .gg-copy{margin:0;font-size:16.5px;line-height:1.6;color:var(--muted,#5a6477)}
.gtmo-guide .gg-note{margin:0;padding:10px 12px;border-radius:10px;background:var(--gold-soft,rgba(156,112,12,.12));font-size:14.5px;line-height:1.5}
.gtmo-guide .gg-link{justify-self:start;padding:12px 18px}
.gtmo-guide .gg-foot{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line,#ddd);padding:16px 0 0;color:inherit;font-size:inherit}
.gtmo-guide .gg-foot .gg-next{margin-left:auto;min-width:180px}
.gtmo-guide .gg-foot [hidden]{display:none}
.gtmo-guide .gg-help{margin:0;text-align:center;font-size:13.5px;color:var(--muted,#5a6477)}
.gtmo-guide .gg-help a{color:var(--gold,#9c700c);font-weight:600}
.gtmo-guide :focus-visible{outline:2px solid var(--gold,#9c700c);outline-offset:3px}
body.gtmo-guide-open{overflow:hidden}
@media(max-width:720px){
  .gtmo-guide .gg-card{padding:16px 16px 14px;gap:12px}
  .gtmo-guide .gg-body{grid-template-columns:1fr;gap:14px;min-height:0}
  .gtmo-guide .gg-shot{min-height:0;max-height:250px}
  .gtmo-guide .gg-shot img{max-height:230px}
  .gtmo-guide .gg-dots button{height:26px;font-size:11px}
  .gtmo-guide .gg-copy{font-size:15.5px}
  .gtmo-guide .gg-foot .gg-next{min-width:0;flex:1}
}
@media(prefers-reduced-motion:reduce){.gtmo-guide[open],.gtmo-guide .gg-swap{animation:none}}
.gtmo-guide [hidden]{display:none!important}
.gtmo-guide .gg-card{align-content:start}
