/* Shared static fallback and runtime positioning. No global overflow changes. */
.g7-sticker-host,[data-g7-sticker-host]{position:relative;isolation:isolate}
.g7-sticker-frame{margin:0;max-width:100%;vertical-align:middle}
.g7-sticker-frame>img{display:block;max-width:100%}
.g7-sticker-overlay{position:absolute;inset:0;pointer-events:none;z-index:auto;overflow:hidden}
.g7-sticker-slot{overflow:clip;display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;grid-column:1/-1;flex:0 0 100%;position:relative;z-index:1}
.g7-sticker-slot:empty{display:none}
.g7-sticker{position:relative;display:block;width:var(--g7-st-width,160px);max-width:100%;box-sizing:border-box;color:var(--g7-st-text,#17243c);text-decoration:none;flex:0 1 auto;pointer-events:none;margin:8px 0}
.g7-sticker-face{position:relative;display:grid;place-items:center;aspect-ratio:var(--g7-st-ratio,1);transform:rotate(var(--g7-st-rotate,0deg));transform-origin:center;min-width:0}
.g7-sticker-art{position:absolute;inset:0;background:var(--g7-st-fill,#c4b5fd);mask-image:var(--g7-st-art);-webkit-mask-image:var(--g7-st-art);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;transform:scale(var(--g7-st-flip-x,1),var(--g7-st-flip-y,1));pointer-events:none}
/* Animated artwork shows its still copy when visitors prefer reduced motion. */
@media(prefers-reduced-motion:reduce){.g7-sticker-art{mask-image:var(--g7-st-art-still,var(--g7-st-art));-webkit-mask-image:var(--g7-st-art-still,var(--g7-st-art))}}
.g7-sticker-text{position:absolute;inset:0;margin:auto;height:fit-content;display:block;width:74%;text-align:center;overflow-wrap:anywhere;font-family:inherit;font-size:var(--g7-st-font,16px);font-weight:700;line-height:1.15;letter-spacing:-.01em;text-wrap:balance;padding:0;color:var(--g7-st-text,#17243c);pointer-events:none}
.g7-sticker-text:empty{display:none}
/* Isolate custom artwork from section/theme image crops and intrinsic grid sizing. */
.g7-sticker .g7-sticker-face>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-sizing:border-box;transform:scale(var(--g7-st-flip-x,1),var(--g7-st-flip-y,1));pointer-events:none}
a.g7-sticker{pointer-events:auto;min-width:44px;min-height:44px}
a.g7-sticker:focus-visible{outline:3px solid #245dcc;outline-offset:4px;border-radius:8px}
.g7-sticker-editor-box{position:fixed;z-index:2147483000;border:2px solid #7953cb;pointer-events:none;box-sizing:border-box;border-radius:6px}
.g7-sticker-editor-box button{position:absolute;pointer-events:auto;width:28px;height:28px;border:1px solid #7953cb;border-radius:8px;background:white;color:#54379a;font:700 16px Arial;box-shadow:0 2px 8px #17243c20;touch-action:none}
.g7-sticker-editor-box .g7-st-drag{left:0;top:-34px;width:66px;cursor:move}
.g7-sticker-editor-box .g7-st-resize{right:-14px;bottom:-14px;cursor:nwse-resize}
.g7-sticker-editor-box .g7-st-rotate{right:-14px;top:-34px;cursor:grab}
.g7-sticker-guide{position:fixed;z-index:2147482900;border:1px dashed #7953cb;pointer-events:none}
.g7-sticker-target{position:fixed;z-index:2147482800;border:2px dashed #7953cb;background:#7953cb0d;pointer-events:none;border-radius:8px}
.g7-sticker-actions{position:absolute;display:flex;align-items:center;gap:5px;width:max-content;padding:5px;border:1px solid #e2d8fb;border-radius:12px;background:#fff;box-shadow:0 4px 18px #17243c24;pointer-events:auto}
.g7-sticker-actions button{position:static;width:32px;height:32px;border:0;border-radius:7px;box-shadow:none;display:grid;place-items:center}
.g7-sticker-actions .g7-st-drag,.g7-sticker-actions .g7-st-rotate{width:32px}
.g7-sticker-actions .g7-st-area{width:auto;padding:0 10px;font-size:12px;font-weight:600;white-space:nowrap;background:#f4efff}
.g7-sticker-actions .g7-st-delete{color:#b42318;background:#fff4f2}
.g7-sticker-actions button:hover{background:#eae1ff}
.g7-sticker-actions .g7-st-delete:hover{background:#fee4e2}
.g7-sticker-actions button:focus-visible{outline:2px solid #7953cb;outline-offset:2px}
.g7-sticker-move-notice{position:fixed;top:auto;bottom:12px;left:12px;right:12px;z-index:2147483001;box-sizing:border-box;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:16px;padding:17px 20px;border:2px solid #b799ff;border-left-width:6px;border-radius:14px;background:#19263c;color:#fff;box-shadow:0 10px 36px #07132266,0 0 0 4px #b799ff26;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.g7-sticker-move-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b799ff80;border-radius:12px;background:#b799ff26;color:#d7c6ff}.g7-sticker-move-icon svg{display:block;width:27px;height:27px}
.g7-sticker-move-copy{min-width:0}.g7-sticker-move-copy strong{display:block;margin:0 0 4px;color:#fff;font:750 18px/1.3 system-ui,sans-serif}.g7-sticker-move-copy p{margin:0;color:#f0ebff;font:500 14px/1.5 system-ui,sans-serif}.g7-sticker-move-copy small{display:block;margin-top:5px;color:#c6d1e5;font:400 12px/1.5 system-ui,sans-serif}
.g7-sticker-move-notice button{box-sizing:border-box;min-height:42px;padding:10px 18px;border:1px solid #fff;border-radius:9px;background:#fff;color:#26334c;font:700 13px/1.4 system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 6px #07132233}.g7-sticker-move-notice button:hover{background:#eee6ff;border-color:#d7c6ff}.g7-sticker-move-notice:focus-visible,.g7-sticker-move-notice button:focus-visible{outline:3px solid #e1d1ff;outline-offset:4px}
@media(max-width:520px){.g7-sticker-move-notice{top:auto;bottom:9px;left:9px;right:9px;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 14px;border-left-width:5px}.g7-sticker-move-icon{display:none}.g7-sticker-move-copy strong{font-size:16px}.g7-sticker-move-copy p{font-size:13px}.g7-sticker-move-copy small{font-size:11px}.g7-sticker-move-notice button{padding:10px 13px}}
.g7-sticker-move-target{position:fixed;z-index:2147482800;border:2px dashed #7953cb;background:#7953cb09;pointer-events:none;border-radius:8px}
@media(prefers-reduced-motion:reduce){.g7-sticker-editor-box *{transition:none!important}}

/* Isolate sticker lettering from the surrounding section?s alignment. */
.g7-sticker .g7-sticker-text{text-align:center!important}

/* Four corner handles and a separate compact action bar. */
.g7-sticker-editor-box{border-color:#50c7bd}
.g7-sticker-editor-box>button{display:grid;place-items:center;width:30px;height:30px;border-color:#269e99;border-radius:9px;color:#136b66;background:#fff}
.g7-sticker-editor-box>.g7-st-drag{left:-15px;top:-15px;width:30px;cursor:move}
.g7-sticker-editor-box>.g7-st-rotate{right:-15px;top:-15px;cursor:grab}
.g7-sticker-editor-box>.g7-st-delete{left:-15px;bottom:-15px;color:#b42318;background:#fff4f2}
.g7-sticker-editor-box>.g7-st-resize{right:-15px;bottom:-15px}
.g7-sticker-actions{border-color:#a6dcd7;border-radius:10px;padding:4px;gap:4px}
.g7-sticker-actions .g7-st-area,.g7-sticker-actions .g7-st-link{width:auto;padding:0 10px;font:600 11px/1.4 Arial;background:#effaf8;color:#136b66}
.g7-sticker-editor-box>button:hover,.g7-sticker-actions button:hover{background:#dff5ef}

.g7-sticker-actions{box-sizing:border-box;flex-wrap:wrap;padding:5px;gap:5px;border:1px solid #376b70;border-radius:12px;background:#142533;box-shadow:0 5px 20px #07141d40}
.g7-sticker-actions button:is(.g7-st-area,.g7-st-link){display:flex;flex:1 0 auto;box-sizing:border-box;align-items:center;justify-content:center;gap:6px;width:auto;height:34px;padding:0 10px;border:1px solid #37606a;border-radius:8px;background:#203947;color:#e7f5f4;font:600 11px/1.3 Arial,sans-serif;cursor:pointer}
.g7-sticker-actions button svg{flex:none;pointer-events:none;color:#69d9ce}
.g7-sticker-actions button:is(.g7-st-area,.g7-st-link):hover{background:#2b4c59;border-color:#69d9ce}
.g7-sticker-actions button:focus-visible{outline:2px solid #69d9ce;outline-offset:2px}
.g7-sticker-editor-box>button{width:30px;height:30px;border:1px solid #376b70;border-radius:9px;background:#142533;color:#69d9ce;box-shadow:0 3px 10px #07141d35}
.g7-sticker-editor-box>.g7-st-delete{background:#35232a;border-color:#88515c;color:#ffb3bd}
.g7-sticker-editor-box>button:hover{background:#24414e}.g7-sticker-editor-box>.g7-st-delete:hover{background:#4c2d36}
.g7-sticker-editor-box>button:focus-visible{outline:2px solid #69d9ce;outline-offset:2px}
