#bgfix::before,:is(.report-glitch,.dmpanel)::before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:rgb(var(--green-rgb));opacity:.20;
  mask:url('corner-glow-desktop.webp?v=reach-50') center / 100% 100% no-repeat alpha;
}
@media(max-width:899px){
  #bgfix::before,:is(.report-glitch,.dmpanel)::before{mask-image:url('corner-glow-mobile.webp?v=reach-50')}
}

html:has(.report-glitch[open]){overflow:hidden}
.report-glitch{
  width:min(560px,calc(100% - 32px));max-width:none;max-height:calc(100% - 32px);
  margin:auto;
}
:is(.report-glitch,.dmpanel){
  padding:30px;color:var(--paper);background:#090909;isolation:isolate;
  border:1px solid var(--line);font:inherit;overscroll-behavior:contain;
}
.report-glitch::backdrop{background:rgba(4,6,5,.92)}
:is(.report-glitch h2,.dmpanel h3){margin:0 48px 6px 0;font-size:30px;line-height:36px;font-weight:600}
:is(.report-glitch,.dmpanel) .report-intro{margin:0 0 20px;color:var(--grey);font-size:16px;line-height:22px}
:is(.report-glitch,.dmpanel) .report-close{
  --control-green:#E8786E;
  position:absolute;top:14px;right:14px;width:40px;height:40px;display:grid;place-items:center;
  padding:0;color:var(--paper);background:transparent;border:1px solid var(--line);border-radius:0;cursor:pointer;
}
:is(.report-glitch,.dmpanel) .report-close:is(:hover,:focus-visible,:active){
  color:var(--control-green);outline-color:var(--control-green);border-color:var(--control-green);
}
.report-close svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:square;fill:none}
.report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.report-fields .report-full{grid-column:1/-1}
.report-fields label{display:grid;gap:6px;font-size:12px;line-height:16px;font-weight:600;color:var(--paper)}
.report-fields :is(input,textarea,select){
  width:100%;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:0;
  background:rgba(0,0,0,.5);color:var(--paper);font-family:inherit;font-size:16px;line-height:22px;font-weight:400;
}
.report-fields textarea{min-height:100px;resize:vertical}
.report-fields :is(input,textarea,select):focus{outline:1px solid var(--green);outline-offset:-1px}
:is(.report-glitch,.dmpanel) .report-consent{
  display:flex;align-items:flex-start;gap:10px;margin:16px 0 0;color:var(--grey);
  font-size:14px;line-height:20px;cursor:pointer;
}
.report-consent strong{font-weight:600}
.report-consent input{
  appearance:none;display:grid;place-items:center;flex:none;width:18px;height:18px;margin:0;
  border:1px solid var(--grey);border-radius:0;background:#090909;cursor:pointer;
}
.report-consent input:checked{background:var(--green);border-color:var(--green)}
.report-consent input:checked::after{
  content:"";width:4px;height:8px;border:solid #090909;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px);
}
:is(.report-glitch,.dmpanel) .report-privacy{margin:12px 0 0;color:var(--grey);font-size:14px;line-height:20px}
.report-privacy a{color:var(--green);text-decoration:underline;text-underline-offset:4px}

.report-trap{position:absolute;left:-10000px;width:2px;height:2px;overflow:hidden}
:is(.report-glitch,.dmpanel) .report-status{margin:12px 0 0;color:#E8786E;font-size:14px;line-height:20px}
.report-glitch .report-done{margin:8px 0 0;color:var(--paper);font-size:16px;line-height:22px}
.report-actions{margin-top:16px}
.report-actions .btn{width:100%}
.report-actions .btn:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:600px){
  :is(.report-glitch,.dmpanel){padding:24px 18px 20px}
  :is(.report-glitch h2,.dmpanel h3){font-size:24px;line-height:28px}
  .report-fields{grid-template-columns:minmax(0,1fr)}
}
@media(forced-colors:active){
  .report-consent input:checked::after{border-color:CanvasText}
}
