/* Original sign-in presentation, isolated from workspace styles. */
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #f1f1ee;
  --surface-muted: #e9e9e4;
  --text: #0d0d0d;
  --text-secondary: #5f5f5a;
  --text-muted: #8a8a84;
  --border: #deded8;
  --border-strong: #c9c9c2;
  --accent: #10a37f;
  --accent-hover: #0e8f70;
  --accent-soft: #e6f4ef;
  --danger: #d92d20;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href],
button:not(:disabled),
[role="button"] {
  cursor: pointer;
}

img,
svg,
button {
  user-select: none;
  -webkit-user-select: none;
}

img {
  -webkit-user-drag: none;
}

button,
input,
textarea {
  font: inherit;
}

body.auth-wall-body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050505;
}

.auth-wall-shell {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
  padding: 46px 24px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.05) 23%, transparent 45%),
    linear-gradient(180deg, transparent 0 72%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, #020202 0%, #181818 27%, #8f8f8a 50%, #181818 73%, #020202 100%);
}

.auth-wall-shell::before,
.auth-wall-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-wall-shell::before {
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.5) 0 12%, rgba(255, 255, 255, 0.16) 28%, transparent 48%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 29% 71%, rgba(0, 0, 0, 0.76)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 28% 68%, rgba(0, 0, 0, 0.58));
}

.auth-wall-shell.is-started::before {
  opacity: 1;
}

.auth-wall-shell::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 36% 64%, rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.04), transparent 30%);
  backdrop-filter: blur(2px);
  mask-image: radial-gradient(ellipse at 50% 48%, transparent 0 24%, rgba(0, 0, 0, 0.62) 56%, #000 100%);
}

.auth-wall-gallery {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.auth-wall-tile {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  --tile-depth-filter: opacity(1);
  --tile-shadow-strong: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
  --tile-shadow-close: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.32));
  transform-style: preserve-3d;
  aspect-ratio: var(--ratio, 1 / 1);
  --tile-transform: translateZ(0);
  --scroll-x: 0px;
  --scroll-y: -96px;
  --scroll-duration: 16s;
  --scroll-delay: 0s;
  translate: 0 0;
  transform: var(--tile-transform);
  filter: var(--tile-depth-filter) var(--tile-shadow-strong) var(--tile-shadow-close);
  animation: auth-wall-scroll var(--scroll-duration) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  animation-delay: var(--scroll-delay);
  will-change: translate;
}

.auth-wall-shell.auth-wall-ready .auth-wall-tile {
  transition:
    transform 980ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 760ms ease;
  transition-delay: var(--scatter-delay, 0ms);
}

.auth-wall-shell.auth-wall-preparing .auth-wall-tile {
  opacity: 0;
  transform: translate3d(var(--scatter-x, 0), var(--scatter-y, 0), 0) scale(0.72) var(--tile-transform);
}

.auth-wall-shell.auth-wall-scattering .auth-wall-tile {
  animation-play-state: paused;
}

.auth-wall-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: saturate(0.72) contrast(1.04) brightness(0.86);
}

.auth-wall-tile.is-empty img {
  display: none;
}

.auth-wall-tile.color img {
  filter: saturate(0.88) contrast(1.04) brightness(0.84);
}

.auth-wall-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 54%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.3));
}

@keyframes auth-wall-scroll {
  from {
    translate: 0 0;
  }

  to {
    translate: var(--scroll-x) var(--scroll-y);
  }
}

.auth-wall-tile.left-1 {
  left: 0;
  top: 2vh;
  width: 15vw;
  min-width: 150px;
  --tile-transform: rotateY(18deg) translateZ(-40px);
  --scroll-x: 12px;
  --scroll-y: -86px;
  --scroll-duration: 17s;
  mask-image: linear-gradient(90deg, #000 0 76%, transparent 100%);
}

.auth-wall-tile.left-2 {
  left: 11vw;
  top: 0;
  width: 13vw;
  min-width: 140px;
  --tile-transform: rotateY(14deg) translateZ(26px);
  --scroll-x: -8px;
  --scroll-y: 76px;
  --scroll-duration: 16s;
  --scroll-delay: -4s;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 70%, transparent 100%);
}

.auth-wall-tile.left-3 {
  left: 23vw;
  top: 3vh;
  width: 12vw;
  min-width: 120px;
  --tile-transform: rotateY(10deg) translateZ(-70px);
  --scroll-x: 8px;
  --scroll-y: -64px;
  --scroll-duration: 20s;
  --scroll-delay: -8s;
  opacity: 0.72;
  --tile-depth-filter: blur(0.4px);
}

.auth-wall-tile.left-4 {
  left: 2vw;
  top: 26vh;
  width: 17vw;
  min-width: 180px;
  --tile-transform: rotateY(18deg) translateZ(0);
  --scroll-x: -12px;
  --scroll-y: 82px;
  --scroll-duration: 18s;
  --scroll-delay: -2s;
  mask-image: linear-gradient(90deg, #000 0 84%, transparent 100%);
}

.auth-wall-tile.left-5 {
  left: 17vw;
  top: 34vh;
  width: 14vw;
  min-width: 150px;
  --tile-transform: rotateY(12deg) translateZ(70px);
  --scroll-x: 10px;
  --scroll-y: -88px;
  --scroll-duration: 15s;
  --scroll-delay: -7s;
}

.auth-wall-tile.left-6 {
  left: 4vw;
  bottom: 2vh;
  width: 19vw;
  min-width: 200px;
  --tile-transform: rotateY(16deg) translateZ(48px);
  --scroll-x: 10px;
  --scroll-y: -72px;
  --scroll-duration: 18s;
  --scroll-delay: -11s;
  mask-image: linear-gradient(90deg, #000 0 78%, transparent 100%);
}

.auth-wall-tile.left-7 {
  left: 27vw;
  bottom: 2vh;
  width: 13vw;
  min-width: 140px;
  --tile-transform: rotateY(9deg) translateZ(14px);
  --scroll-x: -10px;
  --scroll-y: 74px;
  --scroll-duration: 16s;
  --scroll-delay: -5s;
  opacity: 0.86;
}

.auth-wall-tile.right-1 {
  right: 0;
  top: 2vh;
  width: 17vw;
  min-width: 180px;
  --tile-transform: rotateY(-18deg) translateZ(-26px);
  --scroll-x: -12px;
  --scroll-y: 86px;
  --scroll-duration: 17s;
  mask-image: linear-gradient(90deg, transparent 0, #000 24% 100%);
}

.auth-wall-tile.right-2 {
  right: 16vw;
  top: 0;
  width: 12vw;
  min-width: 130px;
  --tile-transform: rotateY(-12deg) translateZ(18px);
  --scroll-x: 8px;
  --scroll-y: -78px;
  --scroll-duration: 16s;
  --scroll-delay: -3s;
  opacity: 0.82;
}

.auth-wall-tile.right-3 {
  right: 7vw;
  top: 22vh;
  width: 20vw;
  min-width: 210px;
  --tile-transform: rotateY(-16deg) translateZ(80px);
  --scroll-x: -10px;
  --scroll-y: 82px;
  --scroll-duration: 16s;
  --scroll-delay: -9s;
}

.auth-wall-tile.right-4 {
  right: 27vw;
  top: 32vh;
  width: 12vw;
  min-width: 130px;
  --tile-transform: rotateY(-9deg) translateZ(-30px);
  --scroll-x: 8px;
  --scroll-y: -66px;
  --scroll-duration: 20s;
  --scroll-delay: -6s;
  opacity: 0.64;
  --tile-depth-filter: blur(0.8px);
}

.auth-wall-tile.right-5 {
  right: 21vw;
  bottom: 8vh;
  width: 14vw;
  min-width: 150px;
  --tile-transform: rotateY(-13deg) translateZ(52px);
  --scroll-x: -10px;
  --scroll-y: 88px;
  --scroll-duration: 15s;
  --scroll-delay: -12s;
}

.auth-wall-tile.right-6 {
  right: 7vw;
  bottom: 3vh;
  width: 18vw;
  min-width: 190px;
  --tile-transform: rotateY(-16deg) translateZ(26px);
  --scroll-x: -8px;
  --scroll-y: -74px;
  --scroll-duration: 18s;
  --scroll-delay: -5s;
  mask-image: linear-gradient(90deg, transparent 0, #000 18% 100%);
}

.auth-wall-haze {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(255, 255, 255, 0.42) 0 13%, rgba(255, 255, 255, 0.2) 26%, transparent 44%),
    radial-gradient(ellipse at 50% 52%, rgba(255, 255, 255, 0.16), transparent 50%);
  filter: blur(14px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-wall-shell.is-started .auth-wall-haze {
  opacity: 1;
}

.auth-wall-brand {
  position: fixed;
  z-index: 8;
  top: 34px;
  left: 42px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
}

.auth-wall-brand:empty {
  display: none;
}

.auth-wall-brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.2);
}

.auth-wall-brand-name {
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.46);
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 520;
  white-space: nowrap;
}

.language-switch svg {
  flex: 0 0 auto;
}

.auth-wall-language {
  position: fixed;
  z-index: 8;
  top: 34px;
  right: 42px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.46);
}

.auth-wall-language:hover {
  background: rgba(255, 255, 255, 0.12);
}

.auth-wall-intro {
  position: relative;
  grid-area: 1 / 1;
  z-index: 7;
  width: min(720px, calc(100vw - 56px));
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 540ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-wall-shell.is-started .auth-wall-intro {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.auth-wall-intro h1 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 6.6vw, 104px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.32),
    0 24px 82px rgba(0, 0, 0, 0.52);
}

.auth-wall-start {
  margin-top: clamp(26px, 4vh, 42px);
  min-width: 156px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.32);
}

.auth-wall-card {
  position: relative;
  grid-area: 1 / 1;
  z-index: 7;
  width: min(100%, 430px);
  padding: 34px 38px 36px;
  border-radius: 18px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-wall-card-register {
  width: min(100%, 480px);
  padding-block: 30px 32px;
}

.auth-wall-auth-card {
  width: min(100%, 430px);
}

.auth-wall-shell.is-register .auth-wall-auth-card {
  width: min(100%, 480px);
  padding-block: 30px 32px;
}

.auth-wall-shell.is-started .auth-wall-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.auth-wall-panel {
  display: none;
}

.registration-page { animation: registration-fade-in 180ms ease-out; }
.registration-page h2 { padding-inline: 20px; overflow-wrap: anywhere; }
.registration-page.is-leaving { opacity: 0; transition: opacity 160ms ease-in; }
.registration-email-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: 13px;
}
.registration-email-summary span { min-width: 0; overflow-wrap: anywhere; }
.registration-email-summary a, .registration-back { text-decoration: none; color: var(--text); }
.registration-back { display: inline-block; margin-bottom: 16px; font-size: 13px; }
.registration-email-summary a:focus-visible, .registration-back:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@keyframes registration-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .registration-page { animation: none; }
  .registration-page.is-leaving { transition: none; }
}

.auth-wall-shell:not(.is-register) .auth-wall-panel-login,
.auth-wall-shell.is-register .auth-wall-panel-register {
  display: block;
}

.auth-wall-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(13, 13, 13, 0.62);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.auth-wall-logo {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.auth-wall-card h2 {
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.auth-wall-panel > p {
  margin: 8px 0 26px;
  text-align: center;
  color: rgba(13, 13, 13, 0.56);
  font-size: 14px;
}

.auth-wall-form .field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.auth-wall-form label {
  color: var(--text);
  font-size: 12px;
}

.auth-wall-input {
  min-width: 0;
  min-height: 44px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(13, 13, 13, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.auth-wall-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  padding: 0 14px;
}

.auth-wall-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.auth-wall-code-btn {
  min-width: max-content;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(13, 13, 13, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.auth-wall-code-btn:disabled {
  color: var(--text-muted);
  background: rgba(241, 241, 238, 0.74);
  cursor: not-allowed;
}

.auth-wall-captcha {
  min-width: 0;
  overflow: hidden;
}

.auth-wall-captcha .cf-turnstile {
  min-height: 65px;
}

.auth-wall-submit,
.auth-wall-outline {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-wall-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  color: rgba(13, 13, 13, 0.56);
  font-size: 12px;
}

.auth-wall-split::before,
.auth-wall-split::after {
  content: "";
  height: 1px;
  background: rgba(13, 13, 13, 0.12);
}

.auth-wall-outline {
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  color: var(--text-secondary);
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  outline: none;
}

input {
  height: 44px;
  padding: 0 12px;
}

input:focus,
textarea:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.12);
}

.field-status {
  min-height: 17px;
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.field-status.error {
  color: var(--danger);
}

.field-status.success {
  color: #047857;
}

.messages {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.message,
.form-error {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 13px;
}

.message.error,
.form-error {
  background: #fff0ed;
  color: var(--danger);
}

.message.success {
  background: #ecfdf5;
  color: #047857;
}

@media (max-width: 980px) {
.auth-wall-shell {
    padding: 86px 18px 34px;
  }

.auth-wall-tile {
    opacity: 0.72;
  }

.auth-wall-tile.left-3,
.auth-wall-tile.left-5,
.auth-wall-tile.right-2,
.auth-wall-tile.right-4 {
    display: none;
  }

.auth-wall-card {
    width: min(100%, 430px);
  }

.auth-wall-card-register {
    width: min(100%, 470px);
  }

.auth-wall-intro {
    width: min(620px, calc(100vw - 48px));
  }

.auth-wall-intro h1 {
    font-size: clamp(58px, 12vw, 96px);
  }
}

@media (max-width: 700px) {
body.auth-wall-body {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

.auth-wall-shell {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    touch-action: pan-y;
    padding: 92px 16px 28px;
    align-items: center;
    background:
      radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
      linear-gradient(180deg, #090909 0%, #1b1b1a 42%, #111110 100%);
  }

.auth-wall-shell::before {
    background:
      radial-gradient(ellipse at 50% 31%, rgba(255, 255, 255, 0.58) 0 16%, rgba(255, 255, 255, 0.2) 34%, transparent 58%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 35%, rgba(255, 255, 255, 0.52) 100%);
  }

.auth-wall-shell::after {
    backdrop-filter: blur(1px);
    mask-image: linear-gradient(180deg, #000 0 38%, transparent 72%);
  }

.auth-wall-gallery {
    inset: -2vh -30vw;
    perspective: 1000px;
    transform: scale(0.86);
    transform-origin: 50% 50%;
  }

.auth-wall-brand {
    top: 18px;
    left: 16px;
    right: 16px;
    gap: 13px;
    color: rgba(255, 255, 255, 0.9);
  }

.auth-wall-brand-mark {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

.auth-wall-brand-name {
    min-width: 0;
    font-size: 11px;
    letter-spacing: 0.22em;
    white-space: normal;
    line-height: 1.35;
  }

.auth-wall-language {
    top: 18px;
    right: 14px;
    min-height: 32px;
    padding: 0 8px;
    background: rgba(0, 0, 0, 0.16);
  }

.auth-wall-tile {
    opacity: 0.5;
    --tile-shadow-strong: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.34));
    --tile-shadow-close: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.26));
    --scroll-x: 0px;
    --scroll-y: -48px;
    --scroll-duration: 18s;
    min-width: 0;
  }

.auth-wall-tile.left-1,
.auth-wall-tile.left-2,
.auth-wall-tile.left-3,
.auth-wall-tile.left-4,
.auth-wall-tile.left-5,
.auth-wall-tile.left-6,
.auth-wall-tile.left-7,
.auth-wall-tile.right-1,
.auth-wall-tile.right-2,
.auth-wall-tile.right-3,
.auth-wall-tile.right-4,
.auth-wall-tile.right-5,
.auth-wall-tile.right-6 {
    display: block;
    min-width: 0;
  }

.auth-wall-tile.left-1 {
    left: 11vw;
    top: 8vh;
    width: 34vw;
  }

.auth-wall-tile.left-2 {
    left: 32vw;
    top: 1vh;
    width: 31vw;
  }

.auth-wall-tile.left-3 {
    left: 52vw;
    top: 12vh;
    width: 28vw;
    opacity: 0.34;
  }

.auth-wall-tile.left-4 {
    left: 8vw;
    top: 32vh;
    width: 37vw;
  }

.auth-wall-tile.left-5 {
    left: 40vw;
    top: 46vh;
    width: 28vw;
    opacity: 0.44;
  }

.auth-wall-tile.left-6 {
    left: 14vw;
    bottom: 7vh;
    width: 32vw;
  }

.auth-wall-tile.left-7 {
    left: 55vw;
    bottom: 2vh;
    width: 27vw;
    opacity: 0.42;
  }

.auth-wall-tile.right-1 {
    right: 10vw;
    top: 6vh;
    width: 30vw;
  }

.auth-wall-tile.right-2 {
    right: 34vw;
    top: 0;
    width: 29vw;
    opacity: 0.46;
  }

.auth-wall-tile.right-3 {
    right: 8vw;
    top: 30vh;
    width: 35vw;
  }

.auth-wall-tile.right-4 {
    right: 40vw;
    top: 37vh;
    width: 27vw;
    opacity: 0.32;
  }

.auth-wall-tile.right-5 {
    right: 24vw;
    bottom: 9vh;
    width: 28vw;
    opacity: 0.44;
  }

.auth-wall-tile.right-6 {
    right: 9vw;
    bottom: 4vh;
    width: 35vw;
  }

.auth-wall-haze {
    filter: blur(16px);
    background:
      radial-gradient(ellipse at 50% 39%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.16) 34%, transparent 60%);
  }

.auth-wall-card {
    width: min(100%, 390px);
    max-height: calc(100svh - 116px);
    overflow-y: auto;
    margin: 0 auto;
    padding: 24px 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
      0 28px 74px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  }

.auth-wall-card-register {
    width: min(100%, 400px);
  }

.auth-wall-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }

.auth-wall-logo {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    font-size: 24px;
  }

.auth-wall-card h2 {
    font-size: 30px;
  }

.auth-wall-panel > p {
    margin: 6px 0 20px;
    font-size: 13px;
  }

.auth-wall-form .field {
    margin-bottom: 13px;
  }

.auth-wall-input,
.auth-wall-code-btn {
    min-height: 44px;
  }

.auth-wall-submit,
.auth-wall-outline {
    min-height: 46px;
  }

.auth-wall-split {
    margin: 16px 0;
  }

.auth-wall-intro {
    width: min(430px, calc(100vw - 32px));
  }

.auth-wall-intro h1 {
    font-size: clamp(48px, 15vw, 68px);
    line-height: 0.92;
  }

.auth-wall-start {
    min-width: 132px;
    min-height: 48px;
    margin-top: 24px;
    font-size: 12px;
  }

.auth-wall-email-row {
    grid-template-columns: minmax(0, 1fr);
  }

.auth-wall-code-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 390px) {
.auth-wall-shell {
    padding: 82px 12px 22px;
  }

.auth-wall-brand-mark {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

.auth-wall-brand-name {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

.auth-wall-card {
    padding: 20px 14px 16px;
  }

.auth-wall-card h2 {
    font-size: 28px;
  }

.auth-wall-panel > p {
    margin-bottom: 18px;
  }

.auth-wall-intro h1 {
    font-size: clamp(44px, 16vw, 62px);
  }
}

/* Touch: 44px hit areas without changing the original visual size. */
@media (pointer: coarse) {
  .auth-wall-close::after,
  .auth-wall-language::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
  }

  .auth-wall-close::after {
    inset: -7px;
  }
}
