/* Shared by the image tools' result lists: highlight pulse, notice (toast) and the help guide.
   Linked from the tool pages with a content-hash version stamped by build-bundles.mjs. */
/* ===== Highlight pulse ===== */
@keyframes lpPulse{0%{box-shadow:0 0 0 0 rgba(49,92,245,.6)}70%{box-shadow:0 0 0 12px rgba(49,92,245,0)}100%{box-shadow:0 0 0 0 rgba(49,92,245,0)}}
.lp-pulse{animation:lpPulse .9s ease-out 3;outline:2px solid #315cf5;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.lp-pulse{animation:none}}

/* ===== Notice (toast) ===== */
.lp-notice{position:fixed;z-index:2147482000;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:480px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:start;padding:12px 10px 12px 14px;border-radius:14px;background:#1f2a44;color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.35);font:500 13.5px/1.45 Roboto,system-ui,sans-serif}
.lp-notice-text{margin:0;grid-column:1;grid-row:1}
.lp-notice-actions{display:contents}
.lp-notice-close{grid-column:2;grid-row:1;width:36px;height:36px;margin:-6px -2px 0 0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font:700 16px/1 Roboto,system-ui,sans-serif;cursor:pointer}
.lp-notice-action{grid-column:1/-1;grid-row:2;min-height:42px;border:0;border-radius:10px;background:#fff;color:#1f2a44;font:800 14px Roboto,system-ui,sans-serif;cursor:pointer}

/* ===== Help guide: bottom sheet on phones, card on desktop ===== */
.lp-sheet-backdrop{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,23,42,.55)}
.lp-sheet-backdrop[hidden]{display:none}
.lp-sheet{width:100%;max-width:560px;max-height:88vh;max-height:88dvh;overflow:auto;box-sizing:border-box;padding:18px 18px calc(16px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;color:#1f2a44;box-shadow:0 -10px 40px rgba(0,0,0,.3);font-family:Roboto,system-ui,sans-serif}
@media(min-width:700px){.lp-sheet-backdrop{align-items:center}.lp-sheet{border-radius:18px}}
.lp-sheet-title{margin:0 0 8px;font-size:19px;font-weight:900;color:#14213d}
.lp-sheet-list p{margin:0 0 8px;font-size:14.5px;line-height:1.55;color:#3d4864}
.lp-sheet-list strong{color:#315cf5}
.lp-sheet-sub{margin:14px 0 6px;font-size:15px;font-weight:900;color:#14213d}
.lp-sheet-trouble{margin:0 0 14px;padding-left:18px;font-size:13.5px;line-height:1.5;color:#3d4864}
.lp-sheet-trouble li{margin:0 0 5px}
.lp-sheet-close{width:100%;min-height:46px;border:0;border-radius:12px;background:#315cf5;color:#fff;font:800 15px Roboto,system-ui,sans-serif;cursor:pointer}
