:root {--beatroot-edge:#280036}
@media screen {
  html {
    padding-top:env(safe-area-inset-top,0px);
    overscroll-behavior-y:none;
  }
  html::before {
    content:"";
    position:fixed;
    z-index:2147483001;
    top:0;
    left:0;
    right:0;
    height:env(safe-area-inset-top,0px);
    background:var(--beatroot-edge);
    pointer-events:none;
  }
  .beatroot-refresh-button {
    position:fixed;
    z-index:1100;
    right:calc(12px + env(safe-area-inset-right,0px));
    bottom:calc(12px + env(safe-area-inset-bottom,0px));
    min-height:44px;
    padding:8px 14px;
    border:1px solid #ddd;
    border-radius:22px;
    background:#fff!important;
    color:#181818!important;
    box-shadow:0 3px 14px #0002;
    font:600 14px/1.2 system-ui,sans-serif;
  }
  .beatroot-refresh-button:focus-visible {outline:3px solid #777;outline-offset:3px}
  .beatroot-refresh-status {
    position:fixed;
    z-index:2147483002;
    top:calc(8px + env(safe-area-inset-top,0px));
    left:50%;
    transform:translateX(-50%);
    max-width:calc(100% - 32px);
    padding:8px 16px;
    border-radius:20px;
    background:#181818;
    color:#fff;
    text-align:center;
    pointer-events:none;
    font:600 14px/1.3 system-ui,sans-serif;
  }
  .beatroot-refresh-status[hidden],
  body:has(dialog[open], [role=dialog][aria-modal=true])>.beatroot-refresh-button {display:none!important}
}
@media print {
  .beatroot-refresh-button,.beatroot-refresh-status {display:none!important}
}
