.trust-card.role-entry {
  appearance: none;
  font: inherit;
  cursor: pointer;
  pointer-events: none;
  isolation: isolate;
  overflow: hidden;
  --police-window-width: min(340px, 76vw);
  transition: width .38s cubic-bezier(.22,1,.36,1), border-radius .38s ease, border-color .25s, box-shadow .25s;
}
.trust-card[data-role-visible="true"] { pointer-events: auto; }
:is(html.login-open,html.music-visual-active,html:has(#anchor-music[data-open="true"])) .trust-card {
  pointer-events: none;
}
.role-entry[data-role-held] { visibility: hidden; }
.logo-flight::before {
  content: '';
  position: absolute;
  width: min(78vw, 1300px);
  height: min(66vh, 570px);
  left: 50%;
  top: 52%;
  translate: -50% -50%;
  border: 1px solid color-mix(in srgb,var(--orbit-tint,#74abd3) 36%,transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.logo-flight[data-role-active]::before { opacity: .64; }
.role-entry:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--role-color, #8acbfe) 65%, transparent);
  width: var(--police-window-width);
  border-radius: 24px 40px 24px 40px;
  box-shadow: 0 6px 46px -18px var(--role-color, #5eabf2), inset 0 0 23px color-mix(in srgb,var(--role-color,#2878c7) 20%,transparent);
  outline: none;
}
.role-entry[data-role-held] {
  width: var(--police-window-width);
  border-radius: 24px 40px 24px 40px;
}
.trust-card.role-entry > .police-role-label {
  position: relative;
  z-index: 3;
  font-weight: 560;
  letter-spacing: .085em;
  transition: translate .3s ease, text-shadow .3s;
}
.role-entry:is(:hover, :focus-visible) .police-role-label {
  translate: 0 9px;
  text-shadow: 0 2px 8px #020b14, 0 0 18px #081a28;
}
.police-role-street {
  position: absolute;
  inset: 0;
  display: block;
  background-image: linear-gradient(0deg,#030b1599,transparent 68%), url('./img/police-street.svg');
  background-position: center, center 38%;
  background-size: cover;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity .24s ease, clip-path .56s cubic-bezier(.26,.63,.30,1);
}
.role-entry:is(:hover, :focus-visible) .police-role-street,
.role-entry[data-role-held] .police-role-street {
  opacity: 1;
  clip-path: inset(0);
}
.police-role-scan {
  position: absolute;
  z-index: 2;
  inset: -20% -24% -20% auto;
  width: 34%;
  background: linear-gradient(90deg,transparent,color-mix(in srgb,var(--role-color,#5cc6ff) 9%,transparent) 30%,color-mix(in srgb,var(--role-color,#bff2ff) 58%,transparent) 56%,transparent 85%);
  transform: translateX(-410%) skewX(-16deg);
  opacity: 0;
  pointer-events: none;
}
.role-entry:is(:hover, :focus-visible) .police-role-scan {
  animation: patrol-sweep .85s .04s cubic-bezier(.32,.50,.36,1) both;
}
@keyframes patrol-sweep {
  14% { opacity: .90; }
  70% { opacity: .65; }
  to { opacity: 0; transform: translateX(10%) skewX(-16deg); }
}
.role-entry .police-role-icon {
  width: 22px;
  height: 22px;
  position: absolute;
  left: max(12px, 11%);
  opacity: 0;
  color: color-mix(in srgb,var(--role-color,#a7d8ff) 70%,white);
  translate: -5px 0;
  z-index: 3;
  transition: opacity .22s, translate .26s ease;
}
.role-entry:is(:hover, :focus-visible) .police-role-icon {
  opacity: 1;
  translate: 0 0;
  animation: patrol-stamp .35s .17s both;
}
@keyframes patrol-stamp {
  from { opacity: 0; scale: 1.65; rotate: -8deg; }
  to { opacity: 1; scale: 1; rotate: 0deg; }
}
:is(html.login-open,html.music-visual-active,html:has(#anchor-music[data-open="true"])) .role-entry {
  pointer-events: none;
}
html { scrollbar-gutter: stable; }
html.role-detail-open { overflow: hidden; }
.police-detail {
  box-sizing: border-box;
  width: min(680px, calc(100% - 36px));
  max-height: calc(100dvh - 38px);
  padding: 0;
  margin: auto;
  overflow: hidden;
  transform-origin: top left;
  border: 1px solid color-mix(in srgb,var(--role-color,#a5cbf5) 52%,transparent);
  border-radius: 28px;
  background: #091522f5;
  color: #f0f5fa;
  box-shadow: 0 24px 110px #01050cb0;
  outline: none;
}
.police-detail.is-transitioning { will-change: transform; }
.police-detail::backdrop { background: #020811a3; }
.police-detail-arrival {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: #091829 url('./img/police-street.svg') center 44%/cover;
  transform-origin: center 56%;
}
.police-detail-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  min-height: min(408px, calc(100dvh - 42px));
  max-height: calc(100dvh - 42px);
  overflow: hidden auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.police-detail-poster {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 46.81%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.police-detail-copy { grid-column: 2; padding: 39px 26px 30px; }
.police-detail-copy h2 { margin: 0 0 24px; font-size: 30px; font-weight: 650; }
.police-detail-copy h3 { margin: 17px 0 5px; font-size: 14px; }
.police-detail-copy p { margin: 0; color: #b9cadd; font: 400 14px/1.65 system-ui, sans-serif; }
.police-detail-back {
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #a5cbf562;
  background: #a5cbf511;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.police-detail-back:hover { background: #a5cbf528; }
.police-detail-back:focus-visible { outline: 2px solid #91cfff; outline-offset: 3px; }
@media (max-width: 580px) {
  .police-detail-content { grid-template-columns: 1fr; }
  .police-detail-poster { position: static; width: 100%; height: min(38vh, 275px); object-position: center 23%; }
  .police-detail-copy { grid-column: 1; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .role-entry, .role-entry .police-role-icon, .police-role-street { transition: none; }
  .role-entry:is(:hover, :focus-visible) :is(.police-role-scan,.police-role-icon) { animation: none; }
}
