body:has(.snap-container) .case-count-pill,
body:has(.snap-container) .case-arrow,
body:has(.locked-case-stage) .case-count-pill,
body:has(.locked-case-stage) .case-arrow {
  display: none !important;
}

body:has(.snap-container)::before,
body:has(.locked-case-stage)::before {
  content: "CaseTrace" !important;
  position: fixed !important;
  top: 16px !important;
  left: 18px !important;
  z-index: 70 !important;
  min-width: 174px !important;
  height: 48px !important;
  padding-left: 50px !important;
  display: flex !important;
  align-items: center !important;
  color: #fff !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 25px !important;
  font-weight: 950 !important;
  letter-spacing: -1.4px !important;
  line-height: 1 !important;
  background-image: url("/icons/casetrace-logo-192.png") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 42px 42px !important;
  text-shadow: 0 8px 24px rgba(0,0,0,.62) !important;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.32)) !important;
  pointer-events: none !important;
}

@media (max-width: 520px) {
  body:has(.snap-container)::before,
  body:has(.locked-case-stage)::before {
    top: 14px !important;
    left: 14px !important;
    min-width: 142px !important;
    height: 40px !important;
    padding-left: 42px !important;
    font-size: 21px !important;
    background-size: 34px 34px !important;
  }
}
