.entrance {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #f5f5f5;
  background: #08080a;
  will-change: opacity;
}
.entrance::backdrop { background: transparent; }
.entrance:not([open]) { display: none; }
.entrance[open] { display: block; z-index: 1000; }
html.has-entrance { overflow: hidden; }
.entrance-screen {
  --edge: clamp(22px, 4vw, 64px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: max(calc(var(--edge) - 12px), env(safe-area-inset-top)) var(--edge)
    calc(max(var(--edge), env(safe-area-inset-bottom)) + 12px);
}
.particles-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#entrance-particles { position: absolute; inset: 0; }
.particles-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.entrance-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #bcbcc4;
  font: 10px/1.5 ui-monospace, monospace;
  letter-spacing: .16em;
  pointer-events: none;
}
.entrance-header i { color: #73737d; font-style: normal; }
.entrance-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.entrance-enter {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  background: #08080acc;
  color: #eee;
  font: 12px/1.5 Arial, 'PingFang SC', sans-serif;
  letter-spacing: .12em;
  pointer-events: auto;
  transition: background .2s ease, border-color .2s ease;
}
.entrance-enter:hover { background: #ffffff14; border-color: #ffffff75; }
.entrance-enter:focus-visible { outline: 2px solid #eee; outline-offset: 5px; border-radius: 999px; }
.entrance-arrow { display: block; flex: none; width: 24px; height: 18px; }
#entrance-delay { font-size: 11px; color: #93939d; font-variant-numeric: tabular-nums; }
#entrance-seconds { display: inline-block; min-width: 2ch; text-align: right; }
#profile-name:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .entrance-enter { transition: none; }
}
