/* ===========================================================
   fp-dialog.css: the site's one dialog (round frontend/3d1, 2026-11-14)
   The design's dialog set (ertesitesek-lightboxok): its modal shell (.fpOverlay, .fpModal, .fpHead,
   .fpBody, .fpFoot) under our own fpDlg prefix, the "Veszélyes törlés" state (a red header with the
   warning mark, the item in a quote box, "Mégse" and a red confirm) and the information state (a blue
   header). Loaded on every public page with fp-dialog.js. The tone is never the colour alone: the header
   carries its mark and its words, the confirm button says what it does.
   fp-dialog.js draws the overlay as a native <dialog> where it can (#276), so it opens above another
   modal window; the rules below make that <dialog> look like the plain overlay.
   =========================================================== */
.fpDlgOv{position:fixed;inset:0;background:rgba(2,7,22,.62);display:flex;align-items:center;justify-content:center;z-index:500;padding:24px;overflow:auto;animation:fpDlgFade 160ms ease}
.fpDlgOv[hidden]{display:none}
/* the native modal (#276): the <dialog> itself is the full-screen overlay, so the browser's own dialog
   box (border, padding, the size caps, its Canvas colours) is undone and its backdrop stays clear; the
   overlay's own background dims the page as before. The chat's and the profile's div overlays are
   untouched: only dialog.fpDlgOv is matched. */
dialog.fpDlgOv{width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;box-sizing:border-box;color:inherit}
dialog.fpDlgOv:not([open]){display:none}
dialog.fpDlgOv::backdrop{background:transparent}
@keyframes fpDlgFade{from{opacity:0}to{opacity:1}}
@keyframes fpDlgPop{from{transform:translateY(12px) scale(.98);opacity:0}to{transform:none;opacity:1}}
.fpDlg{background:var(--fp-bg-surface,#fff);color:var(--fp-fg,#111);max-width:520px;width:100%;position:relative;animation:fpDlgPop 200ms cubic-bezier(.2,.7,.3,1);box-shadow:0 24px 60px rgba(0,0,0,.45);max-height:calc(100vh - 48px);display:flex;flex-direction:column;font-family:inherit}
.fpDlgHead{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:var(--fp-blue-gradient,var(--fp-blue,#002f87));color:#fff;flex:none}
.fpDlgHead.danger{background:linear-gradient(to right,#a40006,#e6050d)}
.fpDlgHead h2{margin:0;font-size:14px;line-height:18px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;display:flex;align-items:center;gap:10px;color:#fff}
.fpDlgHead h2 svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.5;flex:none}
.fpDlgX{width:44px;height:44px;margin:-7px -9px -7px 0;display:inline-flex;align-items:center;justify-content:center;color:inherit;background:rgba(255,255,255,.12);border:0;cursor:pointer;flex:none}
.fpDlgX:hover{background:rgba(255,255,255,.25)}
.fpDlgX svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.5}
.fpDlgBody{padding:22px 22px 20px;flex:1;overflow:auto}
.fpDlgBody .q{margin:0 0 8px;font-size:20px;line-height:25px;font-weight:700;letter-spacing:-.3px;color:var(--fp-fg,#111);text-wrap:balance}
.fpDlgBody .lead{margin:0;font-size:15px;line-height:20px;color:var(--fp-fg-muted,#555);text-wrap:pretty}
.fpDlgBody .quote{margin-top:14px;padding:12px;background:var(--fp-bg-input,#f2f2f2);border-left:3px solid var(--fp-divider,#ddd);font-size:14px;line-height:18px;font-weight:700;color:var(--fp-fg,#111);overflow-wrap:anywhere}
.fpDlgFoot{display:flex;gap:8px;justify-content:flex-end;padding:14px 18px;background:var(--fp-bg-input,#f2f2f2);border-top:1px solid var(--fp-divider,#ddd);flex-wrap:wrap;flex:none}
.fpDlgFoot .b{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;background:var(--fp-ctl,#002f87);color:#fff!important;font:inherit;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;border-radius:4px;border:1px solid var(--fp-ctl,#002f87);cursor:pointer;text-decoration:none!important;white-space:nowrap}
.fpDlgFoot .b:hover{opacity:.88}
.fpDlgFoot .b.alt{background:var(--fp-bg-surface,#fff);color:var(--fp-link,#002f87)!important;border-color:var(--fp-divider,#ddd)}
.fpDlgFoot .b.danger{background:var(--fp-red,#e6050d);border-color:var(--fp-red,#e6050d)}
/* the page stands still under the dialog: the scroll is locked on the root and the scrollbar's gutter
   is kept, so the content does not jump sideways when the bar goes (the owner's smoke, 2026-11-14) */
html.fpDlgOpen{overflow:hidden;scrollbar-gutter:stable}
@media (prefers-reduced-motion:reduce){.fpDlgOv,.fpDlg{animation:none}}
