/* Available before the application bundle and its lazy route styles. */
.client-entry {
  --entry-background: #f5f8fc;
  --entry-surface: #fff;
  --entry-ink: #182b49;
  --entry-muted: #50627a;
  --entry-brand: #1763df;
  --entry-fill: #e7edf6;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background: var(--entry-background);
  color: var(--entry-ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.client-entry-panel {
  box-sizing: border-box;
  width: min(100%, 480px);
  padding: clamp(24px, 5vw, 48px);
  background: var(--entry-surface);
  border-radius: 24px;
}
.client-entry-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--entry-ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}
.client-entry-brand img { width: 112px; height: auto; aspect-ratio: 995 / 299; object-fit: contain; }
.client-entry-brand strong {
  color: var(--entry-brand);
}
.client-entry h1 {
  margin: 24px 0 8px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.5;
}
.client-entry p {
  margin: 0;
  color: var(--entry-muted);
  font-size: 16px;
}
.client-entry-skeleton {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}
.client-entry-skeleton span {
  display: block;
  height: 12px;
  border-radius: 8px;
  background: var(--entry-fill);
  animation: client-entry-pulse 1.6s ease-in-out infinite;
}
.client-entry-skeleton span:nth-child(2) {
  width: 84%;
}
.client-entry-skeleton span:nth-child(3) {
  width: 60%;
}
.client-entry .client-entry-hint {
  margin-top: 24px;
  font-size: 14px;
}
.client-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.client-entry-actions button,
.client-entry-actions a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--entry-brand);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.client-entry-actions a {
  background: var(--entry-fill);
  color: var(--entry-ink);
}
.client-entry-actions :is(button, a):hover {
  filter: brightness(0.94);
}
.client-entry-actions :is(button, a):active {
  filter: brightness(0.88);
}
.client-entry-actions :is(button, a):focus-visible {
  outline: 3px solid var(--entry-brand);
  outline-offset: 4px;
}
.client-entry-noscript {
  padding: 20px;
  background: #fff;
  color: #182b49;
  font:
    16px/1.6 system-ui,
    sans-serif;
}
body:has(.client-entry) {
  margin: 0;
}
@keyframes client-entry-pulse {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-entry-skeleton span {
    animation: none;
  }
}
