/* fab_hub.css — the bug-report button and modal styles, moved out of fab_hub.php (audit P1 #9, 2026-10-02).
   ~5.5 KB of inline <style> re-sent byte-identical with every page view; no PHP was interpolated into it.
   Loaded from the position the inline block had, so the cascade is unchanged. */
/* Slot 0 of the floating rail — the bottom occupant. The rail's custom properties are defined
   in assistant_widget.php (see its header comment for the full 3-button layout); the fallbacks
   here keep this button correctly placed on pages that skip Aria. PHYSICAL right, matching the
   rest of the rail — the column must not move when the reader switches language.
   Same box model as #ariaFab and #taninFab (padding, 24px icon box, font) so all three rail
   buttons are visually identical in size/shape, differing only by color, icon, and label. */
#bugFab{position:fixed;z-index:8998;inset-inline-end:auto;right:var(--mibl-rail-right,16px);
  bottom:calc(var(--mibl-rail-bottom,18px) + var(--mibl-rail-clear,0px) + env(safe-area-inset-bottom,0px));
  display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(135deg,#f43f5e,#f97316);color:#1a0a04;font-weight:800;font-size:14px;
  font-family:'Vazirmatn',system-ui,-apple-system,sans-serif;box-shadow:0 8px 26px rgba(244,63,94,.4)}
#bugFab .bf-ic{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:19px;line-height:1;flex:none}
@media(max-width:560px){#bugFab .bf-label{display:none}#bugFab{padding:11px}}
/* The shared "always tucked, reveal on hover" rule for the whole rail lives in
   assistant_widget.php now, NOT here — see that file's comment for why. (It used to live in this
   file; that broke on NOVA_Player.php, which skips fab_hub.php entirely for its own unrelated
   reasons but still renders #ariaFab/#taninFab, so they silently lost the shared behavior and
   sat fully visible instead of tucked — reported live by the owner from a NOVA screenshot,
   2026-08-08. #bugFab itself is unaffected by that move: this file defines its box model above,
   assistant_widget.php's shared rule references it by ID same as the other two.) */

/* ── Bug report modal ── */
.bug-ovl{position:fixed;inset:0;z-index:99500;background:rgba(5,5,14,.72);backdrop-filter:blur(6px);
  display:flex;align-items:flex-end;justify-content:center;font-family:'Vazirmatn',system-ui,-apple-system,sans-serif}
.bug-ovl[hidden]{display:none}
.bug-sheet{position:relative;box-sizing:border-box;width:100%;max-width:440px;background:#0d0d22;border:1px solid rgba(255,255,255,.1);
  border-radius:22px 22px 0 0;padding:26px 22px calc(24px + env(safe-area-inset-bottom,0px));
  box-shadow:0 -20px 60px rgba(0,0,0,.5);
  max-height:85vh;overflow-y:auto}   /* never let the sheet grow taller than the viewport — on short
                                        phone heights the submit button could otherwise land under the
                                        site-wide bottom toast banner (found live 2026-07-19) */
.bug-sheet *{box-sizing:border-box}
@media(min-width:560px){.bug-ovl{align-items:center}.bug-sheet{border-radius:22px;max-width:420px}}
.bug-close{position:absolute;top:14px;inset-inline-end:16px;background:none;border:none;color:#8892a4;font-size:20px;cursor:pointer}
.bug-ic{font-size:36px;margin-bottom:8px}
.bug-title{font-size:19px;font-weight:800;color:#fff;margin-bottom:4px}
.bug-sub{font-size:13px;color:#8892a4;margin-bottom:16px;line-height:1.6}
.bug-ta{width:100%;box-sizing:border-box;min-height:96px;resize:vertical;background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.1);border-radius:14px;color:#eef0ff;font:inherit;font-size:14.5px;
  line-height:1.6;padding:13px;outline:none}
.bug-ta:focus{border-color:rgba(0,212,255,.5)}
.bug-shot-row{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.bug-capture-btn{flex:1;min-width:150px;display:flex;align-items:center;justify-content:center;gap:6px;
  padding:11px 12px;border-radius:12px;border:1.5px solid rgba(0,212,255,.35);background:rgba(0,212,255,.08);
  color:#00d4ff;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.bug-capture-btn:hover{background:rgba(0,212,255,.14)}
.bug-capture-btn:disabled{opacity:.5;cursor:wait}
.bug-file-lbl{flex:1;min-width:130px;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 12px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);color:#8892a4;font-size:12.5px;
  cursor:pointer;text-align:center}
.bug-file-lbl.has{color:#34d399;border-color:rgba(52,211,153,.35)}
.bug-shot-preview{position:relative;margin-top:10px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.bug-shot-preview img{display:block;width:100%;max-height:180px;object-fit:cover;object-position:top}
.bug-shot-remove{position:absolute;top:7px;inset-inline-end:7px;width:26px;height:26px;border:none;border-radius:50%;
  background:rgba(5,5,14,.75);color:#fff;font-size:13px;cursor:pointer;display:grid;place-items:center}
.bug-msg{font-size:12.5px;text-align:center;padding:9px;border-radius:9px;margin-top:11px;display:none}
.bug-msg.err{display:block;background:rgba(248,113,113,.1);border:1px solid rgba(248,113,113,.4);color:#f87171}
.bug-msg.ok{display:block;background:rgba(52,211,153,.12);border:1px solid rgba(52,211,153,.35);color:#34d399}
.bug-msg a{color:#00d4ff;font-weight:700}
.bug-submit{width:100%;margin-top:14px;padding:14px;border:none;border-radius:13px;font:inherit;font-size:15px;
  font-weight:800;color:#04121f;background:linear-gradient(135deg,#00d4ff,#7c5cff);cursor:pointer;min-height:48px}
.bug-submit:disabled{opacity:.5;cursor:not-allowed}
