/* OneTap Save — Pure Local Screenshot Annotator & Mosaic Blur Editor */
.an-hero{padding:40px 0 56px;background:linear-gradient(180deg,#eff6ff 0%,#fff 62%)}
.an-hero h1{font-size:42px;max-width:840px}
.an-hero .lead{max-width:740px;margin-bottom:18px}
.an-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
.an-badges li{font-size:13px;font-weight:600;color:#1e3a8a;background:#dbeafe;border-radius:999px;padding:4px 12px}

#an-tool{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 18px 50px #0f172a10}
#an-tool [hidden]{display:none!important}

.an-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;min-height:240px;padding:32px 20px;border:2px dashed #93c5fd;border-radius:16px;background:#fff;transition:background .15s,border-color .15s}
.an-drop.over{background:#eff6ff;border-color:var(--blue)}
.an-drop .btn{font-size:16px;padding:13px 26px;cursor:pointer;font-family:inherit}
.an-drop p{margin:0;color:var(--muted)}

.an-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:#0f172a;color:#e2e8f0;margin-bottom:12px}
.an-group{display:flex;align-items:center;gap:5px;padding-right:8px;border-right:1px solid #334155}
.an-group:last-child{border-right:0;padding-right:0}
.an-tbtn{min-height:34px;padding:5px 10px;border-radius:8px;border:1px solid #334155;background:#1e293b;color:#e2e8f0;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
.an-tbtn:hover{background:#334155}
.an-tbtn[aria-pressed="true"]{background:#2563eb;border-color:#60a5fa;color:#fff}
.an-tbtn:disabled{opacity:.4;cursor:not-allowed}
.an-swatch{width:24px;height:24px;border-radius:999px;border:2px solid transparent;cursor:pointer;padding:0;transition:transform .12s}
.an-swatch:hover{transform:scale(1.12)}
.an-swatch[aria-pressed="true"]{border-color:#fff;box-shadow:0 0 0 2px #3b82f6}
.an-bar select{min-height:34px;border-radius:8px;border:1px solid #334155;background:#1e293b;color:#f8fafc;padding:4px 8px;font:inherit;font-size:13px}
.an-spacer{flex:1}

.an-stage{background:radial-gradient(circle at 50% 0%,#1e293b 0%,#0f172a 100%);border-radius:14px;padding:16px;display:flex;align-items:center;justify-content:center;overflow:auto;max-height:620px;border:1px solid #1e293b}
#an-canvas{display:block;max-width:100%;max-height:580px;height:auto;border-radius:6px;box-shadow:0 16px 40px rgba(0,0,0,.45);cursor:crosshair;touch-action:none}

.an-export{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:12px}
.an-export .btn{min-height:40px;padding:8px 18px;font-size:14px;cursor:pointer;font-family:inherit}
.an-status{margin:10px 2px 0;font-size:14px;color:var(--muted);min-height:1.4em}
.an-status.ok{color:#166534;font-weight:600}
.an-status.error{color:#b91c1c;font-weight:600}
.an-post-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;margin-top:16px;padding:14px 16px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe}
.an-post-cta strong{display:block;font-size:15px;color:#0f172a;margin-bottom:2px}
.an-post-cta span{display:block;font-size:13px;color:#475569}
.an-legal{margin:14px 2px 0;font-size:13px;color:var(--soft)}

@media(max-width:720px){
  .an-hero{padding:24px 0 40px}
  .an-hero h1{font-size:30px}
  .an-group{border-right:0;padding-right:0}
  .an-spacer{display:none}
}
