/* Local controls extend the retained reference card without changing its arcade skin. */
.entry-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.entry-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: var(--ng-surface-decor), var(--ng-surface-fill);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}
.entry-action-primary {
  border-color: var(--blue);
  color: var(--ng-on-accent);
  background: var(--blue);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--blue) 14%, transparent);
}
.entry-action:focus-visible, .preview-target:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.entry-action:not([aria-disabled="true"]):not(:disabled):hover {
  border-color: var(--blue);
  filter: brightness(1.04);
}
.entry-action[aria-disabled="true"], .entry-action:disabled {
  opacity: .48;
  cursor: wait;
  pointer-events: none;
  box-shadow: none;
}
.preview-target {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}
.security-card .fault-state {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 18px 0 0;
  box-shadow: none;
}
.security-card .fault-state button { min-height: 44px; font-size: 12px; }
.noscript-hint { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.connection-state { max-width: 100%; padding-top: 8px; padding-bottom: 8px; }
.state-orb { flex: 0 0 7px; }
#status-text { overflow-wrap: anywhere; }
html[data-ui-theme][data-theme] body { background: var(--page); }
@media (max-width: 640px) {
  .entry-actions { margin-top: 18px; gap: 9px; }
  .entry-action { padding-right: 9px; padding-left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-action { transition: none; }
  body.is-leaving .cinema-stage { filter: none; transform: none; }
}
