/* Native LEMY.love creative tools, shared with the storefront design. */
:root{color-scheme:dark;--tool-bg:#0a0b10;--tool-panel:#17121b;--tool-ink:#f7f0f4;--tool-muted:#b9a5b3;--tool-rose:#e11d74;--tool-line:rgba(255,182,210,.16)}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body.tool-page{margin:0;background:radial-gradient(ellipse 70% 40% at 82% 0%,rgba(225,29,116,.14),transparent 60%),radial-gradient(ellipse 45% 35% at 6% 55%,rgba(120,60,160,.07),transparent 55%),var(--tool-bg);color:var(--tool-ink);font:400 15px/1.65 Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.tool-page *{box-sizing:border-box}
.tool-page [hidden]{display:none!important}
.tool-page a{color:inherit}
.tool-page :is(button,input,select,textarea){font:inherit}
.tool-page :is(button,a,input,select,textarea,summary){-webkit-tap-highlight-color:transparent}
.tool-page :focus-visible{outline:2px solid #ffb0d0;outline-offset:4px}
.tool-skip{position:absolute;left:20px;top:-100px;z-index:100;padding:10px 18px;background:#fff;color:#a50f50!important;border-radius:8px;text-decoration:none;font-weight:700}
.tool-skip:focus{top:12px}
.tool-shell{width:min(1140px,calc(100% - 64px));margin:0 auto;min-height:65vh}
.tool-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:28px 0 0;color:var(--tool-muted);font-size:12px}
.tool-breadcrumb a{text-decoration:none;color:#ddc4d3}
.tool-breadcrumb a:hover{color:#ffc2db}
.tool-breadcrumb [aria-hidden]{color:#79616f}
.tool-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;padding:40px 0 34px}
.tool-hero>div{min-width:0;max-width:700px}
.tool-eyebrow{margin:0 0 10px;color:#f08fb7;font-size:10px;font-weight:750;letter-spacing:.18em}
.tool-hero h1{margin:0;color:#fff5fa;font:500 clamp(40px,5vw,66px)/1.08 "Cormorant Garamond",Georgia,serif;letter-spacing:-.025em}
.tool-hero h1 em{font-weight:500;color:#efa1c2}
.tool-lead{max-width:610px;margin:16px 0 0;color:#c9b4c2;font-size:14px;line-height:1.85}
.tool-switch{display:flex;flex:none;gap:4px;padding:5px;border:1px solid var(--tool-line);border-radius:999px;background:rgba(20,12,24,.7)}
.tool-switch a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 15px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none;color:#c9b4c2}
.tool-switch a:hover{background:rgba(225,29,116,.1);color:#ffe7f2}
.tool-switch a[aria-current]{background:rgba(225,29,116,.17);border-color:rgba(255,152,193,.24);color:#ffb0d0}
.tool-help{margin:32px 0 56px;padding:26px 28px;border:1px solid var(--tool-line);border-radius:22px;background:linear-gradient(120deg,rgba(225,29,116,.06),transparent),rgba(23,18,27,.6);color:var(--tool-muted);font-size:13px;line-height:1.85}
.tool-help h2{margin:0 0 10px;color:#f5e7ef;font:500 28px/1.25 "Cormorant Garamond",Georgia,serif}
.tool-help p{margin:8px 0}
.tool-help a{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:4px;color:#ffb0d0;text-decoration:none}
.tool-help a:hover{text-decoration:underline}
.tool-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;max-width:calc(100vw - 32px);width:max-content;padding:13px 20px;border:1px solid rgba(255,176,208,.4);border-radius:16px;background:#321b2b;color:#fff0f7;font-size:13px;box-shadow:0 10px 40px #0008}
.tool-page :is(#photoboothError,#qrPageError){padding:18px;border:1px solid #b94a70;border-radius:14px;background:#3c1628;color:#ffd6e7}
@media(max-width:1000px){.tool-hero{align-items:flex-start;flex-direction:column;gap:22px}.tool-switch{align-self:flex-start}}
@media(max-width:600px){.tool-shell{width:calc(100% - 32px)}.tool-breadcrumb{gap:7px;font-size:11px;margin-top:20px}.tool-hero{padding:30px 0 24px;gap:20px}.tool-hero h1{font-size:44px}.tool-lead{font-size:13px;line-height:1.8}.tool-eyebrow{font-size:9px;letter-spacing:.13em}.tool-switch{width:100%;justify-content:center}.tool-switch a{flex:1;padding-inline:10px;font-size:11px}.tool-help{padding:22px 20px;margin-bottom:36px}.tool-help h2{font-size:26px}.tool-toast{bottom:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media (max-width: 600px) {
  .tool-switch { flex-wrap: wrap; border-radius: 18px; }
  .tool-switch a { min-width: 0; flex: 1 1 120px; white-space: normal; }
  .tool-toast { bottom: max(16px, calc(12px + env(safe-area-inset-bottom))); overflow-wrap: anywhere; }
}
