/* LAB only; no global theme or navigation override. */
#fxRed90xEntry[hidden],#fxRed90xCredit[hidden],#fxRed90xProfile[hidden]{display:none!important}
#fxRed90xEntry{color:#ff879b;background:var(--surface);border-color:#a45066;flex:0 0 40px;width:40px;height:44px;min-width:40px;box-shadow:none}
#fxRed90xEntry svg{width:23px;height:25px}
#fxRed90xEntry:focus-visible,#fxRed90xPanel :is(a,button):focus-visible{outline:2px solid #fb7185;outline-offset:3px}
#fxRed90xPanel{--rx-bg:#17212b;--rx-text:#edf1f7;--rx-line:#374451;--rx-accent:#ff879b;position:fixed;inset:auto;left:12px;top:12px;margin:0;z-index:2147483000;color:var(--rx-text);background:var(--rx-bg);opacity:1;border:1px solid #815065;border-radius:15px;padding:14px;width:310px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;box-shadow:0 14px 40px #0007;box-sizing:border-box;font:inherit}
#fxRed90xPanel:not([open]){display:none!important}
:root[data-theme=nebula] #fxRed90xPanel{--rx-bg:#181f37;--rx-line:#3d4764}
:root[data-theme=gallery] #fxRed90xPanel{--rx-bg:#fffaf6;--rx-text:#242331;--rx-line:#e4d7d4;--rx-accent:#9e2746}
#fxRed90xPanel::backdrop{background:transparent}
#fxRed90xPanel .fx-red90x-row{border-color:var(--rx-line)}
#fxRed90xPanel .fx-red90x-note{font-size:11px;color:var(--rx-text);opacity:.8}
#fxRed90xPanel .fx-red90x-heading>svg{color:var(--rx-accent)}
#fxRed90xPanel::before{content:'';position:absolute;left:calc(var(--rx-arrow,50%) - 6px);width:12px;height:7px;background:#a45066;pointer-events:none}
#fxRed90xPanel[data-side=below]::before{top:0;clip-path:polygon(50% 0,100% 100%,0 100%)}
#fxRed90xPanel[data-side=above]::before{bottom:0;clip-path:polygon(0 0,100% 0,50% 100%)}
#fxRed90xPanel h2{margin:0;font-size:18px}
#fxRed90xPanel p{margin:8px 0;font-size:13px;line-height:1.55}
.fx-red90x-heading{display:flex;align-items:center;gap:12px}
.fx-red90x-heading>svg{color:#ff879b;flex-shrink:0;width:29px;height:32px}
.fx-red90x-heading>div{flex:1}
#fxRed90xClose{background:transparent;color:inherit;border:0;min-width:44px;min-height:44px;font:inherit;font-size:24px;cursor:pointer}
.fx-red90x-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line,#374151);padding:9px 0;font-size:13px}
.fx-red90x-row small{color:inherit;font-size:12px;opacity:.8}
#fxRed90xPanel a{color:var(--rx-accent);text-decoration:underline;text-underline-offset:3px}
.fx-red90x-details{display:block;text-align:center;padding:9px;border:1px solid #a45066;border-radius:9px;font-weight:650;margin-top:8px}
#fxRed90xCredit,#fxRed90xProfile{font:inherit;font-size:12px;display:flex;align-items:center;gap:7px;min-height:44px;color:#ff879b;cursor:pointer}
#fxRed90xCredit{border:0;background:transparent;margin:10px auto 16px;padding:6px;justify-content:center}
#fxRed90xCredit svg,#fxRed90xProfile svg{width:16px;height:18px}
:root[data-theme=gallery] :is(#fxRed90xEntry,#fxRed90xCredit,#fxRed90xProfile,#fxRed90xPanel a,.fx-red90x-heading>svg){color:#9e2746}
@media(max-width:360px){#app .top{gap:4px}#fxRed90xEntry{flex-basis:36px;width:36px;min-width:36px}}

/* Allow translated content and high UI zoom to wrap instead of widening the panel. */
#fxRed90xPanel,#fxRed90xPanel *{min-width:0;box-sizing:border-box;overflow-wrap:anywhere;white-space:normal}
#fxRed90xPanel .fx-red90x-heading>div{flex:1 1 0}
#fxRed90xPanel .fx-red90x-row{flex-wrap:wrap}
#fxRed90xPanel .fx-red90x-row :is(a,small){text-align:end;max-width:100%}
#fxRed90xPanel .fx-red90x-details{font-size:13px;line-height:1.45}

/* Compact status card: shield, one title, one line, last update. */
#fxRed90xPanel{text-align:center;padding:16px 18px 14px}
#fxRed90xClose{position:absolute;top:2px;right:4px}
#fxRed90xPanel .fx-red90x-by{margin:2px 28px 12px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.7}
.fx-red90x-ring{display:grid;place-items:center;width:84px;height:84px;margin:0 auto 10px;border-radius:50%;color:var(--rx-accent);background:#ffffff0d;border:1px solid var(--rx-line)}
.fx-red90x-ring[data-tone=checks_passed]{color:#86efac;background:#22c55e1f;border-color:#22c55e55}
.fx-red90x-ring[data-tone=attention]{color:#fbbf24;background:#f59e0b1f;border-color:#f59e0b55}
.fx-red90x-ring[data-tone=wait] .fx-red90x-tick,.fx-red90x-ring[data-tone=unknown] .fx-red90x-tick{display:none}
:root[data-theme=gallery] .fx-red90x-ring[data-tone=checks_passed]{color:#15803d}
#fxRed90xPanel h2{font-size:22px}
#fxRed90xPanel .fx-red90x-text{min-height:1.5em;margin:6px 0 12px}
.fx-red90x-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--rx-line);padding-top:8px;font-size:12px;opacity:.85}
#fxRed90xRefresh{background:transparent;color:inherit;border:0;min-width:44px;min-height:44px;font:inherit;font-size:20px;cursor:pointer}
#fxRed90xPanel{width:230px!important}.fx-red90x-foot{justify-content:center;border-top:0;padding-top:0}#fxRed90xRefresh{min-width:36px;min-height:36px}
