/* css/komponen/overlay.css — Layar penuh, kamera, toast, indikator memuat. */
/* overlay, kamera, toast */
#ov{position:fixed;inset:0;z-index:60;background:var(--bg);overflow:auto;display:none}
#ov.on{display:block}
.ovin{max-width:560px;margin:0 auto;padding:20px 16px 40px}
.pusat{min-height:70vh;display:flex;flex-direction:column;justify-content:center;gap:16px;text-align:center;align-items:center}
.kam{position:fixed;inset:0;background:#000;color:#fff;display:flex;flex-direction:column}
.kam-top{padding:12px 16px;background:#14402E;font:500 .9rem var(--f-angka)}
.kam video,.kam img{flex:1;min-height:0;width:100%;object-fit:cover}
.kam-aksi{padding:16px;display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;background:#000}
.kam-aksi .btn{font-size:.86rem;padding:8px 10px}
.kam .shutter{width:72px;height:72px;border-radius:50%;border:4px solid #fff;background:#fff;box-shadow:0 0 0 3px #000 inset}
#toast{position:fixed;left:12px;right:12px;bottom:84px;z-index:80;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.toast{background:var(--arang);color:#F4EEDF;border:2px solid #F4EEDF;border-radius:var(--radius);padding:10px 14px;max-width:520px;animation:cap .18s ease-out}
.toast.err{background:var(--stempel);color:#fff}
.spin{width:36px;height:36px;border:4px solid var(--line);border-top-color:var(--ink);border-radius:50%;animation:putar .8s linear infinite}
@keyframes putar{to{transform:rotate(360deg)}}
