
:root[data-surface-id="guest-entry"] .apps-entry__description {
  display: none;
}
/* Mike Apps entry pilot.
 * This semantic surface intentionally does not reuse versioned guest-home
 * selectors. Shared providers own behavior; this file owns the Apps skin. */

:root[data-surface-id="guest-entry"] {
  --apps-entry-inline-max: 560px;
  --app-entry-max-inline: var(--apps-entry-inline-max);
  --apps-entry-gutter: clamp(8px, 2.5vw, 18px);
  --apps-entry-padding: clamp(14px, 3vw, 22px);
  --apps-entry-rhythm: clamp(10px, 2vw, 14px);
  --apps-entry-logo-size: clamp(58px, 11vw, 66px);
  --apps-entry-control-min: 48px;
  --apps-entry-line: rgba(241, 208, 113, 0.22);
  --apps-entry-text: #f7f5ef;
  --apps-entry-muted: rgba(232, 234, 241, 0.68);
  --apps-entry-gold: #f1d071;
}

:root[data-surface-id="guest-entry"] body.page-entry {
  min-width: 0;
  color: var(--apps-entry-text);
  background:
    radial-gradient(circle at 50% 10%, rgba(241, 208, 113, 0.075), transparent 32%),
    #07080c;
}

:root[data-surface-id="guest-entry"] .page-shell,
:root[data-surface-id="guest-entry"] .hub-shell--product,
:root[data-surface-id="guest-entry"] .apps-workspace-panel,
:root[data-surface-id="guest-entry"] .guest-public-stage {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .page-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
}

:root[data-surface-id="guest-entry"] .hub-shell--product[data-product-shell-top="none"] {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 0 !important;
  background: transparent;
}

:root[data-surface-id="guest-entry"] .hub-shell--product[data-product-shell-top="none"] .apps-workspace-panel {
  display: flex !important;
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
  align-items: safe center !important;
  justify-content: center !important;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--apps-entry-gutter) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: none;
}

/* Auth card anchoring: once auth.js freezes the card's top edge (see
   anchorEntryRoot in auth.js), these swap the auth surface from dynamic
   re-centering to a static top, so height changes (tab switch, lock open) grow
   purely downward instead of recentering the whole card. Scoped to this
   modifier class so every OTHER guest-entry surface (landing, etc.) keeps its
   normal centered behavior untouched. */
:root[data-surface-id="guest-entry"] .hub-shell--product[data-product-shell-top="none"] .apps-workspace-panel.apps-workspace-panel--anchored {
  align-items: safe flex-start !important;
}

:root[data-surface-id="guest-entry"] .guest-public-stage {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  align-items: safe center;
  justify-content: center;
  padding-block: max(5px, env(safe-area-inset-top)) max(5px, env(safe-area-inset-bottom));
}

:root[data-surface-id="guest-entry"] .guest-public-stage.guest-public-stage--anchored {
  align-items: safe flex-start;
}

:root[data-surface-id="guest-entry"] .guest-entry-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "identity"
    "description"
    "auth"
    "account-help";
  gap: var(--apps-entry-rhythm);
  box-sizing: border-box;
  width: min(100%, var(--apps-entry-inline-max));
  max-width: var(--apps-entry-inline-max);
  margin-block: auto;
  padding: var(--apps-entry-padding);
  border: 1px solid var(--apps-entry-line);
  border-radius: clamp(22px, 5vw, 30px);
  background:
    radial-gradient(circle at 12% -8%, rgba(241, 208, 113, 0.12), transparent 34%),
    linear-gradient(155deg, rgba(25, 27, 34, 0.985), rgba(10, 11, 16, 0.99));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

:root[data-surface-id="guest-entry"] .apps-entry__identity {
  grid-area: identity;
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .apps-entry__identity-link {
  display: grid;
  grid-template-columns: var(--apps-entry-logo-size) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.5vw, 18px);
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

:root[data-surface-id="guest-entry"] .apps-entry__identity-link:focus-visible {
  border-radius: 16px;
  outline: 2px solid rgba(241, 208, 113, 0.82);
  outline-offset: 5px;
}

:root[data-surface-id="guest-entry"] .apps-entry__mark,
:root[data-surface-id="guest-entry"] .apps-entry__mark img {
  display: block;
  width: var(--apps-entry-logo-size);
  height: var(--apps-entry-logo-size);
}

:root[data-surface-id="guest-entry"] .apps-entry__mark {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-surface-id="guest-entry"] .apps-entry__identity-copy {
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: start;
  gap: 3px;
  text-align: left;
}

:root[data-surface-id="guest-entry"] .apps-entry__identity h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

:root[data-surface-id="guest-entry"] .apps-entry__descriptor {
  max-width: 34ch;
  color: var(--apps-entry-muted);
  font-size: clamp(13px, 2.7vw, 15px);
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}

:root[data-surface-id="guest-entry"] .apps-entry__description {
  position: relative;
  grid-area: description;
  min-width: 0;
  padding-inline-start: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

:root[data-surface-id="guest-entry"] .apps-entry__description::before {
  position: absolute;
  inset-block: 3px;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--apps-entry-gold), rgba(241, 208, 113, 0.18));
  content: "";
}

:root[data-surface-id="guest-entry"] .apps-entry__description p {
  margin: 0;
  color: rgba(239, 240, 245, 0.78);
  font-size: clamp(14px, 2.8vw, 15.5px);
  line-height: 1.44;
}

:root[data-surface-id="guest-entry"] .apps-entry__auth {
  grid-area: auth;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  animation: none;
}

:root[data-surface-id="guest-entry"] .apps-entry__auth > * {
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(241, 208, 113, 0.2);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.46);
}

:root[data-surface-id="guest-entry"] .auth-switch__button {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(244, 242, 235, 0.72);
  background: linear-gradient(180deg, rgba(252, 232, 172, 0), rgba(233, 188, 88, 0) 55%, rgba(196, 151, 53, 0));
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

:root[data-surface-id="guest-entry"] .auth-switch__button[aria-selected="true"] {
  border-color: transparent !important;
  color: #3a2606 !important;
  background: linear-gradient(180deg, #fce8ac, #e9bc58 55%, #c49735) !important;
  box-shadow: 0 0 16px rgba(241, 208, 113, 0.4) !important;
  animation: apps-entry-gold-pulse 3.8s ease-in-out infinite;
}

:root[data-surface-id="guest-entry"] .auth-switch__button:focus-visible {
  outline: 2px solid rgba(241, 208, 113, 0.82);
  outline-offset: 2px;
}

:root[data-surface-id="guest-entry"] .auth-switch__button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__zone {
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__zone--animating {
  overflow: hidden;
  transition: height 320ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1));
}

:root[data-surface-id="guest-entry"] .auth-pane-stack {
  display: grid;
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .auth-pane {
  grid-area: 1 / 1;
  display: block;
  min-width: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateY(6px);
  pointer-events: none;
  transition:
    opacity 180ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1)),
    transform 180ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1)),
    visibility 0s linear 180ms;
}

:root[data-surface-id="guest-entry"] .auth-pane[data-auth-pane-state="active"] {
  display: block;
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: none;
  animation: apps-entry-auth-reveal 180ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1)) both;
}

:root[data-surface-id="guest-entry"] .auth-pane[data-auth-pane-state="reserve"] {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateY(6px);
  pointer-events: none;
}

:root[data-surface-id="guest-entry"] .access-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  width: 100%;
}

:root[data-surface-id="guest-entry"] .access-form > * {
  grid-column: 1;
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .access-form label[data-app-entry-field] {
  display: grid;
  gap: 4px;
}

:root[data-surface-id="guest-entry"] .access-form label[data-app-entry-field] > span {
  color: rgba(238, 239, 244, 0.76);
  font-size: 13px;
  line-height: 1.2;
}

:root[data-surface-id="guest-entry"] .apps-entry-field-control {
  position: relative;
  display: block;
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .apps-entry-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(238, 239, 244, 0.5);
  pointer-events: none;
}

:root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"]) {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--apps-entry-control-min);
  padding: 11px 14px 11px 40px;
  border: 1px solid #2c2d33;
  border-radius: 15px;
  color: #f7f5ef;
  background: #17181d;
  font: inherit;
  font-size: 16px;
  outline: none;
}

:root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"])::placeholder {
  color: rgba(247, 245, 239, 0.62);
  opacity: 1;
}

:root[data-surface-id="guest-entry"] .cookie-notice[data-cookie-notice-state="measuring"] {
  visibility: hidden;
  pointer-events: none;
}

:root[data-surface-id="guest-entry"] .cookie-notice[hidden] {
  display: none;
  pointer-events: none;
}

:root[data-surface-id="guest-entry"] .cookie-notice__actions button {
  min-height: 44px;
}

:root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"]):-webkit-autofill,
:root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"]):-webkit-autofill:hover,
:root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"]):-webkit-autofill:focus {
  -webkit-text-fill-color: #f7f5ef;
  caret-color: #f7f5ef;
  -webkit-box-shadow: 0 0 0 1000px #1b1d25 inset;
  transition: background-color 9999s ease-out 0s;
}

:root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"]):focus {
  border-color: rgba(241, 208, 113, 0.58);
  animation: apps-entry-field-pulse 2.6s ease-in-out infinite;
}

:root[data-surface-id="guest-entry"] .access-form > .primary-button {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid rgba(241, 208, 113, 0.44) !important;
  border-radius: 999px;
  color: #3a2606 !important;
  background: linear-gradient(180deg, #fce8ac, #e9bc58 55%, #c49735) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(241, 208, 113, 0.4) !important;
  font-size: 16px;
  font-weight: 800;
  animation: apps-entry-gold-pulse 3.8s ease-in-out infinite;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:root[data-surface-id="guest-entry"] .legal-consent-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

:root[data-surface-id="guest-entry"] .legal-consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  color: rgba(238, 239, 244, 0.78);
  background: transparent;
  font-size: 12.5px;
  line-height: 1.42;
}

:root[data-surface-id="guest-entry"] .legal-consent-row input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root[data-surface-id="guest-entry"] .legal-consent-row__box {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  box-sizing: border-box;
  border: 1.5px solid rgba(241, 208, 113, 0.38);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

:root[data-surface-id="guest-entry"] .legal-consent-row input[type="checkbox"]:checked ~ .legal-consent-row__box {
  border-color: transparent;
  background-color: #e9bc58;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233a2606' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
}

:root[data-surface-id="guest-entry"] .legal-consent-row input[type="checkbox"]:focus-visible ~ .legal-consent-row__box {
  outline: 2px solid rgba(241, 208, 113, 0.6);
  outline-offset: 2px;
}

:root[data-surface-id="guest-entry"] .legal-consent-row a,
:root[data-surface-id="guest-entry"] .apps-entry__documents a {
  color: #ead083;
}

:root[data-surface-id="guest-entry"] .surface-notice--inline,
:root[data-surface-id="guest-entry"] .access-meta--closed {
  box-sizing: border-box;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(241, 208, 113, 0.18);
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.35;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status {
  display: grid;
  min-width: 0;
  place-items: stretch;
  color: var(--apps-entry-muted);
  text-align: center;
  /* One line of feedback, reserved so the action above never jumps when an error
     appears or clears. Kept to the line box itself - the previous 1.35em floor added
     visible emptiness under the button on every screen where no error was shown. */
  min-height: 16px;
  line-height: 1.2;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status > * {
  grid-area: 1 / 1;
  min-width: 0;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail {
  display: grid;
  align-content: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateY(6px);
  transition:
    opacity 180ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1)),
    transform 180ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1)),
    visibility 0s linear 180ms;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail[aria-hidden="true"] {
  display: none;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: none;
  animation: apps-entry-auth-reveal 180ms var(--apps-route-motion-ease, cubic-bezier(.22, .68, .24, 1)) both;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail--login {
  display: none;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail--login p {
  margin: 0;
  color: rgba(247, 241, 219, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail--register {
  min-height: 54px;
  text-align: left;
}

:root[data-surface-id="guest-entry"] #access-panel[data-registration-gate-enabled="true"][data-auth-mode="register"][data-registration-gate-state]:not([data-registration-gate-state="unlocked"]) .apps-entry-auth__mode-tail--register {
  display: none;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  min-height: calc(2.5em + 14px);
  height: var(--apps-auth-feedback-height, calc(2.5em + 14px));
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(239, 118, 118, 0.3);
  border-radius: 11px;
  color: rgba(255, 220, 220, 0.92);
  background: linear-gradient(90deg, rgba(82, 27, 31, 0.12), rgba(116, 39, 43, 0.22), rgba(82, 27, 31, 0.12));
  font-size: clamp(0.9375rem, 3.9vw, 1.0625rem);
  line-height: 1.25;
  text-align: center;
}


:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback::before,
:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback::after {
  box-sizing: border-box;
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  content: "";
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback::before {
  border: 2px solid currentColor;
  border-radius: 50%;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback::after {
  opacity: 0;
  transform: scale(.65) rotate(-30deg);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 5L17 17M17 5L5 17' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 5L17 17M17 5L5 17' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: none;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="error"]::before {
  animation: apps-entry-auth-ring-out 180ms ease both;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="error"]::after {
  opacity: 1;
  transform: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

@keyframes apps-entry-auth-ring-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.65); }
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="pending"] {
  border-color: rgba(100, 224, 167, 0.35);
  color: #9ce8bd;
  background: linear-gradient(90deg, rgba(24, 92, 62, 0.1), rgba(37, 124, 82, 0.22), rgba(24, 92, 62, 0.1));
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="pending"]::before {
  border-right-color: transparent;
  animation: apps-entry-auth-pending 720ms linear infinite;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="transport-uncertain"] {
  border-color: rgba(241, 208, 113, 0.34);
  color: #ead083;
  background: linear-gradient(90deg, rgba(112, 83, 23, 0.1), rgba(134, 101, 31, 0.2), rgba(112, 83, 23, 0.1));
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="transport-uncertain"]::before {
  border-style: dashed;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[hidden] {
  display: none;
}

:root[data-surface-id="guest-entry"] .apps-entry-auth[data-auth-feedback="visible"] [data-auth-mode-tail] {
  /* Values and required/form associations stay in the DOM. All visible feedback
     states own one row; an invisible consent tail must not reserve another. */
  display: none;
}

/* A visible status (pending "Проверяем данные…", error, uncertain) gets its own breathing
   room from the button above. The space is padding of the measured status row, so the auth
   zone height reads it too; with no feedback the row keeps its compact reserve. */
:root[data-surface-id="guest-entry"] .apps-entry-auth[data-auth-feedback="visible"] .apps-entry-auth__status {
  padding-block-start: 12px;
}

@keyframes apps-entry-auth-reveal {
  from { opacity: 0; transform: scale(0.97) translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes apps-entry-auth-pending {
  to { transform: rotate(1turn); }
}

@keyframes apps-entry-gold-pulse {
  0% { box-shadow: -4px 3px 15px -4px rgba(241, 208, 113, .32); }
  50% { box-shadow: 4px 3px 15px -4px rgba(241, 208, 113, .48); }
  100% { box-shadow: -4px 3px 15px -4px rgba(241, 208, 113, .32); }
}

@keyframes apps-entry-field-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(241, 208, 113, .11); }
  50% { box-shadow: 0 0 0 4px rgba(241, 208, 113, .22); }
}

:root[data-surface-id="guest-entry"] .apps-entry__account-help {
  grid-area: account-help;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 0;
  color: var(--apps-entry-muted);
  text-align: center;
}

:root[data-surface-id="guest-entry"] .apps-entry__documents {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  align-items: center;
  justify-content: center;
  gap: 0 12px;
  /* The card rhythm gap plus the status reserve read as one large void between the
     action and the document row. Pull the row up by part of that rhythm. */
  margin-block-start: -6px;
}

:root[data-surface-id="guest-entry"] .apps-entry__documents a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: rgba(234, 235, 240, 0.6);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

:root[data-surface-id="guest-entry"] .apps-entry__documents a:hover,
:root[data-surface-id="guest-entry"] .apps-entry__documents a:focus-visible {
  color: var(--apps-entry-gold);
}

@media (max-width: 420px) {
  :root[data-surface-id="guest-entry"] {
    --apps-entry-gutter: 8px;
    --apps-entry-padding: 14px;
    --apps-entry-rhythm: 10px;
  }

  :root[data-surface-id="guest-entry"] .guest-entry-surface {
    border-radius: 25px;
  }

  :root[data-surface-id="guest-entry"] .apps-entry__identity h1 {
    font-size: clamp(28px, 8vw, 34px);
  }
}

@media (max-width: 350px) {
  :root[data-surface-id="guest-entry"] {
    --apps-entry-padding: 13px;
  }

  :root[data-surface-id="guest-entry"] .apps-entry__documents {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
  }

  :root[data-surface-id="guest-entry"] .apps-entry__documents a {
    grid-column: span 2;
    justify-content: center;
    font-size: 10.5px;
  }

  :root[data-surface-id="guest-entry"] .apps-entry__documents a:nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  :root[data-surface-id="guest-entry"] .apps-entry__documents a:last-child {
    grid-column: 4 / span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="error"]::before { opacity: 0; }
  :root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback[data-auth-feedback-kind="error"]::after { transition: none; }

  :root[data-surface-id="guest-entry"] .auth-switch__button,
  :root[data-surface-id="guest-entry"] .auth-pane,
  :root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail,
  :root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback::before,
  :root[data-surface-id="guest-entry"] .apps-entry-auth__status .form-feedback::after,
  :root[data-surface-id="guest-entry"] .access-form > .primary-button,
  :root[data-surface-id="guest-entry"] .auth-switch__button[aria-selected="true"],
  :root[data-surface-id="guest-entry"] .access-form input:not([type="checkbox"]):not([type="hidden"]):focus {
    animation: none;
  }

  :root[data-surface-id="guest-entry"] .auth-pane,
  :root[data-surface-id="guest-entry"] .apps-entry-auth__mode-tail {
    transition-duration: 1ms;
  }
}
