:root {
  --bg-deep: #12151b;
  --bg-mid: #1a1f28;
  --ink: #ebe8e1;
  --ink-soft: #a8a59c;
  --accent: #6ec8b8;
  --accent-hot: #9fe0d2;
  --accent-warm: #c9a86c;
  --panel: rgba(28, 32, 40, 0.88);
  --panel-line: rgba(158, 224, 210, 0.22);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--ink);
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  background: var(--bg-deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.cabinet-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.cabinet-fx-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(142, 228, 210, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 228, 210, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(700px) rotateX(58deg) scale(1.35);
  transform-origin: center 20%;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 20%, transparent 75%);
  animation: fx-grid-drift 28s linear infinite;
}

.cabinet-fx-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(215, 255, 246, 0.05) 48%,
    transparent 52%
  );
  background-size: 100% 240%;
  animation: fx-scan 18s ease-in-out infinite;
}

.cabinet-fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(9px);
  opacity: 0.85;
}

.cabinet-fx-orb-a {
  width: 28vmin;
  height: 28vmin;
  top: 8%;
  left: -6%;
  background: radial-gradient(circle, rgba(142, 228, 210, 0.26), transparent 70%);
  animation: fx-orb-a 24s ease-in-out infinite alternate;
}

.cabinet-fx-orb-b {
  width: 34vmin;
  height: 34vmin;
  right: -8%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(236, 200, 127, 0.2), transparent 70%);
  animation: fx-orb-b 28s ease-in-out infinite alternate;
}

.cabinet-fx-ring {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(72vmin, 540px);
  height: min(72vmin, 540px);
  border: 1px solid rgba(142, 228, 210, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 40px rgba(142, 228, 210, 0.05),
    0 0 30px rgba(142, 228, 210, 0.05);
  animation: fx-ring 48s linear infinite;
}

.cabinet-fx-ring-b {
  width: min(48vmin, 360px);
  height: min(48vmin, 360px);
  border-color: rgba(236, 200, 127, 0.12);
  animation-direction: reverse;
  animation-duration: 40s;
}

.cabinet-fx-corners {
  position: absolute;
  inset: clamp(0.8rem, 3vw, 1.6rem);
}

.cabinet-fx-corners span {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  border-color: rgba(215, 255, 246, 0.45);
  border-style: solid;
  border-width: 0;
}

.cabinet-fx-corners span:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}

.cabinet-fx-corners span:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}

.cabinet-fx-corners span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.cabinet-fx-corners span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

body[data-view="session"] .atmosphere {
  opacity: 0;
  visibility: hidden;
}

body[data-view="auth"] .cabinet-fx {
  opacity: 0;
  visibility: hidden;
}

body[data-view="session"] .cabinet-fx {
  opacity: 1;
  visibility: visible;
}

body[data-view="session"] {
  --bg-deep: #222936;
  --bg-mid: #2e3644;
  --ink: #fffef9;
  --ink-soft: #e8e4da;
  --accent: #8ee4d2;
  --accent-hot: #d7fff6;
  --accent-warm: #ecc87f;
  --panel: rgba(54, 62, 76, 0.96);
  --panel-line: rgba(190, 240, 225, 0.36);
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(142, 228, 210, 0.26), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(236, 200, 127, 0.16), transparent 50%),
    linear-gradient(180deg, #343c4b 0%, #262e3b 55%, #1e2530 100%);
}

body[data-view="session"] .stage {
  transform: none;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: calc(1.4rem + var(--safe-top));
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  gap: 1rem;
}

body[data-view="session"] .brand {
  font-family: "El Messiri", sans-serif;
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  margin-bottom: 0.2rem;
  text-align: center;
  text-shadow: 0 0 28px rgba(110, 200, 184, 0.22);
}

body[data-view="session"] .session {
  width: 100%;
  max-width: none;
  align-items: stretch;
}

body[data-view="session"] .session,
body[data-view="session"] .platform {
  font-family: "Google Sans Flex", sans-serif;
}

body[data-view="session"] .cabinet-chip,
body[data-view="session"] .profile-facts,
body[data-view="session"] .stage-label,
body[data-view="session"] .cta-join,
body[data-view="session"] .cta-stage,
body[data-view="session"] .cta-ghost {
  font-family: "Google Sans Flex", sans-serif;
  font-weight: 600;
}

body[data-view="session"] .cta-ghost {
  border-color: rgba(220, 120, 110, 0.55);
  color: #f2c4be;
  background: rgba(140, 48, 42, 0.28);
}

body[data-view="session"] .welcome {
  color: #fffef9;
  font-size: 1.35rem;
  line-height: 1.45;
}

body[data-view="session"] .welcome-via {
  font-size: 1.05rem;
}

body[data-view="session"] .welcome-via,
body[data-view="session"] .membership-lead,
body[data-view="session"] .stage-panel-copy,
body[data-view="session"] .stage-next-note,
body[data-view="session"] .platform {
  color: #e8e4da;
}

body[data-view="session"] .cabinet-status {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
  line-height: 1.45;
  color: #e8e4da;
}

body[data-view="session"] .profile-facts {
  font-size: 1.05rem;
}

body[data-view="session"] .membership-kicker {
  font-size: 0.95rem;
}

body[data-view="session"] .membership-title {
  font-size: clamp(1.65rem, 5vw, 2rem);
}

body[data-view="session"] .membership-lead,
body[data-view="session"] .stage-panel-copy,
body[data-view="session"] .stage-next-note {
  font-size: 1.12rem;
  line-height: 1.55;
}

body[data-view="session"] .stage-num {
  font-size: 1.05rem;
}

body[data-view="session"] .stage-label {
  font-size: 0.92rem;
}

body[data-view="session"] .stage-panel-title {
  font-size: 1.2rem;
}

body[data-view="session"] .stage-panel-phone {
  font-size: 1.15rem;
}

body[data-view="session"] .stage-panel-hint {
  font-size: 1.05rem;
}

body[data-view="session"] .register-input,
body[data-view="session"] .register-chip {
  font-size: 1.05rem;
}

body[data-view="session"] .cta-stage,
body[data-view="session"] .cta-join {
  font-size: 1.15rem;
  padding: 0.95rem 1.25rem;
  line-height: 1.4;
}

body[data-view="session"] .cta-ghost {
  width: auto;
  align-self: center;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.5rem 1rem;
  line-height: 1.3;
  border-radius: 0.55rem;
  border-color: rgba(220, 120, 110, 0.55);
  color: #f2c4be;
  background: rgba(140, 48, 42, 0.28);
}

body[data-view="session"] .cta-ghost:hover,
body[data-view="session"] .cta-ghost:focus-visible {
  border-color: rgba(255, 150, 140, 0.75);
  color: #ffe8e4;
  background: rgba(170, 55, 48, 0.42);
  filter: none;
  outline: none;
  transform: translateY(-1px);
}

body[data-view="session"] .platform {
  font-size: 0.95rem;
}

.hero-stack {
  position: absolute;
  inset: 0;
  animation: hero-drift 28s ease-in-out infinite alternate;
}

.hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Keep sky cool; gold layer only reveals on desert / camels */
.hero-base {
  filter: saturate(0.95) hue-rotate(-8deg);
}

.hero-gold {
  filter: sepia(0.85) saturate(1.85) hue-rotate(-22deg) brightness(1.32) contrast(1.08);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.35) 48%,
    #000 58%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.35) 48%,
    #000 58%,
    #000 100%
  );
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 35, 56, 0.5) 0%,
      rgba(18, 35, 56, 0.16) 36%,
      rgba(55, 38, 16, 0.1) 68%,
      rgba(36, 26, 14, 0.32) 100%
    );
}

.scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(180, 230, 255, 0.035) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: scan 16s ease-in-out infinite;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding:
    calc(2.2rem + var(--safe-top))
    clamp(1.25rem, 5vw, 3.5rem)
    calc(2rem + var(--safe-bottom));
  width: 100%;
  transform: translateY(-6vh);
}

.brand {
  margin: 0 0 0.85rem;
  font-family: "El Messiri", sans-serif;
  font-size: clamp(3rem, 11vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(255, 255, 255, 0.45),
    0 0 48px rgba(255, 255, 255, 0.2);
  animation: rise 1.2s ease-out both;
}

body[data-view="auth"] .brand {
  color: #ffffff;
}

.auth,
.session {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 17.5rem;
  animation: rise 1.2s ease-out 0.2s both;
}

.session {
  max-width: none;
  width: 100%;
  gap: 1rem;
  text-align: left;
  align-items: stretch;
}

.cabinet-top,
.membership,
.session > .cta {
  width: 100%;
  box-sizing: border-box;
}

.auth[hidden],
.session[hidden] {
  display: none;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  /* width: 100%; */
}

.cta {
  appearance: none;
  border: 1px solid rgba(127, 220, 245, 0.55);
  background: linear-gradient(180deg, rgba(79, 208, 232, 0.22), rgba(40, 90, 130, 0.35));
  color: var(--ink);
  font-family: "Google Sans Flex", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.cta-google {
  border-color: rgba(170, 200, 230, 0.45);
  background: linear-gradient(180deg, rgba(90, 120, 160, 0.28), rgba(35, 70, 110, 0.4));
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cta-telegram {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: #2aabee;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.8rem 1.25rem;
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.35);
}

.cta-telegram .tg-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: currentColor;
}

.cta-telegram .tg-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: max-content;
  height: 1.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cta-telegram .tg-spinner i {
  display: block;
  width: 0.28rem;
  height: 100%;
  border-radius: 0.08rem;
  background: #fff;
  transform-origin: center center;
  animation: tg-bars 0.9s ease-in-out infinite;
}

.cta-telegram .tg-spinner i:nth-child(1) {
  animation-delay: 0s;
}

.cta-telegram .tg-spinner i:nth-child(2) {
  animation-delay: 0.15s;
}

.cta-telegram .tg-spinner i:nth-child(3) {
  animation-delay: 0.3s;
}

.cta-telegram.is-loading {
  pointer-events: none;
  cursor: wait;
}

.cta-telegram.is-loading .tg-icon,
.cta-telegram.is-loading > span:not(.tg-spinner) {
  visibility: hidden;
}

.cta-telegram.is-loading .tg-spinner {
  opacity: 1;
  visibility: visible;
}

.cta-telegram.is-loading:hover,
.cta-telegram.is-loading:focus-visible {
  transform: none;
  filter: none;
  background: #2aabee;
}

.cta-ghost {
  border-color: rgba(125, 190, 230, 0.28);
  background: transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta:hover,
.cta:focus-visible {
  border-color: var(--accent-hot);
  background: linear-gradient(180deg, rgba(79, 208, 232, 0.35), rgba(40, 90, 130, 0.5));
  outline: none;
  transform: translateY(-1px);
}

.cta-telegram:hover,
.cta-telegram:focus-visible {
  border: none;
  background: #229ed9;
  filter: brightness(1.05);
  outline: none;
  transform: translateY(-1px);
}

.cta-telegram:focus-visible {
  box-shadow:
    0 6px 18px rgba(34, 158, 217, 0.35),
    0 0 0 3px rgba(42, 171, 238, 0.45);
}

.cta-ghost:hover,
.cta-ghost:focus-visible {
  background: rgba(79, 208, 232, 0.12);
}

.cta:active {
  transform: translateY(0);
}

.auth-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
}

.auth-hint[hidden] {
  display: none;
}

.welcome {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}

.welcome strong {
  color: var(--accent-hot);
  font-weight: 600;
}

.welcome-via {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
}

.cabinet-top {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(190, 240, 225, 0.28);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(72, 82, 98, 0.42), rgba(40, 48, 62, 0.28));
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  animation: card-rise 0.95s ease-out both;
}

.cabinet-top::before,
.membership::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(215, 255, 246, 0.06) 50%,
    transparent 100%
  );
  opacity: 0.65;
}

.cabinet-top::after,
.membership::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(142, 228, 210, 0.14);
}

.cabinet-identity,
.profile-facts,
.membership-head,
.stage-rail,
.stage-panel,
.membership > .cta,
.cabinet-top > * {
  position: relative;
  z-index: 1;
}

.cabinet-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cabinet-identity-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cabinet-status {
  margin: 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1.45;
}

.profile-facts {
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr;
  column-gap: 0.85rem;
  row-gap: 0.45rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.4;
}

.profile-facts dt {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.profile-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

.profile-avatar {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(158, 224, 210, 0.45);
  box-shadow: 0 0 20px rgba(110, 200, 184, 0.2);
  flex-shrink: 0;
}

.profile-avatar[hidden] {
  display: none;
}

.cabinet-chip {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(210, 206, 196, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.membership {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.05rem 1.05rem 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(236, 200, 127, 0.28);
  background:
    linear-gradient(180deg, rgba(66, 74, 90, 0.4), rgba(42, 50, 64, 0.28));
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: card-rise 1s ease-out 0.1s both;
}

.membership-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.membership-kicker {
  margin: 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.membership-title {
  margin: 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.membership-lead {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.stage-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.stage-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.55rem 0.2rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.stage-item.is-clickable {
  cursor: pointer;
}

.stage-item.is-clickable:hover,
.stage-item.is-clickable:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.stage-num {
  font-family: "Google Sans Flex", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.stage-label {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.2;
}

.stage-item.is-active {
  border-color: rgba(110, 200, 184, 0.5);
  background: rgba(110, 200, 184, 0.12);
  box-shadow: 0 0 18px rgba(110, 200, 184, 0.12);
}

.stage-item.is-active .stage-num,
.stage-item.is-active .stage-label {
  color: var(--accent-hot);
}

.stage-item.is-done {
  border-color: rgba(64, 180, 120, 0.65);
  background: linear-gradient(
    180deg,
    rgba(56, 160, 110, 0.38),
    rgba(28, 90, 62, 0.32)
  );
  box-shadow: 0 0 16px rgba(64, 180, 120, 0.18);
}

.stage-item.is-done::after {
  content: "✓";
  position: absolute;
  top: 0.2rem;
  right: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #0d2818;
  background: #7dffb0;
  box-shadow: 0 0 8px rgba(125, 255, 176, 0.45);
}

.stage-item.is-done .stage-num,
.stage-item.is-done .stage-label {
  color: #d4ffe8;
}

.stage-item.is-done.is-viewing {
  border-color: rgba(120, 230, 170, 0.95);
  box-shadow:
    0 0 0 1px rgba(120, 230, 170, 0.35),
    0 0 20px rgba(64, 180, 120, 0.28);
}

.stage-item.is-active.is-viewing {
  border-color: rgba(158, 224, 210, 0.85);
}

.stage-item.is-locked {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.stage-complete-badge {
  margin: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(64, 180, 120, 0.45);
  background: rgba(40, 120, 80, 0.28);
  color: #d8ffe9;
  font-size: 0.92rem;
  font-weight: 600;
}

.id-scan-facts-title {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.id-scan-facts {
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(7.5rem, auto) 1fr;
  column-gap: 0.75rem;
  row-gap: 0.38rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(158, 224, 210, 0.28);
  background: rgba(12, 16, 22, 0.35);
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.4;
}

.id-scan-facts dt {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.id-scan-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  word-break: break-word;
}

.id-scan-facts dd.is-empty {
  color: var(--ink-soft);
  font-weight: 500;
}

.face-preview {
  display: block;
  width: 100%;
  max-width: 16rem;
  margin: 0.15rem auto 0;
  border-radius: 0.85rem;
  border: 1px solid rgba(120, 230, 170, 0.4);
  object-fit: contain;
  aspect-ratio: 3 / 4;
  background: #ffffff;
}

.stage-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(127, 219, 201, 0.34);
  background: rgba(36, 44, 58, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stage-panel.is-pulse {
  animation: panel-pulse 0.7s ease;
}

.stage-panel-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(110, 200, 184, 0.16), transparent 65%);
  pointer-events: none;
}

.stage-panel-title,
.stage-panel-copy,
.stage-panel-phone,
.stage-panel-hint,
.stage-panel-actions,
.stage-next-note,
.register-form,
.register-result {
  position: relative;
  z-index: 1;
}

.stage-panel-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.stage-panel-copy,
.stage-next-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.stage-panel-phone {
  margin: 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-hot);
}

.stage-panel-phone[hidden],
.stage-panel-hint[hidden] {
  display: none;
}

.stage-panel-hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #e2b480;
}

.stage-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.register-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin: 0;
}

.register-label,
.register-toifa legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.register-input,
.register-field select.register-input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.72rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(158, 224, 210, 0.28);
  background: rgba(12, 16, 22, 0.45);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.register-field select.register-input {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 50%, calc(100% - 0.7rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.register-input:focus,
.register-field select.register-input:focus {
  outline: none;
  border-color: rgba(158, 224, 210, 0.7);
  box-shadow: 0 0 0 3px rgba(110, 200, 184, 0.16);
}

.register-field.is-locked .register-input {
  color: #d8ffe9;
  background: rgba(40, 120, 80, 0.18);
  border-color: rgba(64, 180, 120, 0.35);
  cursor: default;
}

.register-field.is-locked .register-input:focus {
  box-shadow: none;
  border-color: rgba(64, 180, 120, 0.35);
}

.register-toifa {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.register-toifa legend {
  padding: 0;
  margin: 0 0 0.4rem;
  float: none;
  width: 100%;
  grid-column: 1 / -1;
}

.register-chip {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.62rem 0.45rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.register-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.register-chip:has(input:checked),
.register-chip:has(input:focus-visible),
.register-chip.is-checked {
  border-color: rgba(110, 200, 184, 0.7);
  background: rgba(110, 200, 184, 0.16);
  color: var(--accent-hot);
}

.register-addr {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.register-addr-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.register-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.05rem 0.9rem 1.15rem;
  border-radius: 0.9rem;
  text-align: center;
  animation: register-result-in 0.45s ease both;
}

.register-result.is-pending {
  border: 1px solid rgba(158, 224, 210, 0.35);
  background: rgba(36, 54, 62, 0.45);
}

.register-result.is-success {
  border: 1px solid rgba(64, 180, 120, 0.55);
  background: rgba(28, 90, 62, 0.38);
}

.register-result.is-error {
  border: 1px solid rgba(220, 120, 110, 0.5);
  background: rgba(90, 32, 28, 0.38);
}

.register-result-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.register-result-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.register-user-no {
  margin: 0.15rem 0 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: clamp(1.55rem, 6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7dffb0;
  text-shadow: 0 0 18px rgba(125, 255, 176, 0.35);
}

.register-result-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.register-pending-bar {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(110, 200, 184, 0.16);
}

.register-pending-bar i {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  animation: register-bar 1.15s ease-in-out infinite;
}

.register-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  animation: register-mark-pop 0.45s ease 0.08s both;
}

.register-result.is-success .register-mark {
  color: #0d2818;
  background: #7dffb0;
  box-shadow: 0 0 16px rgba(125, 255, 176, 0.4);
}

.register-result.is-error .register-mark {
  color: #fff;
  background: rgba(200, 80, 70, 0.85);
}

@keyframes register-result-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes register-mark-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes register-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

.face-scan-mount,
.qr-scan-mount {
  width: 100%;
}

.face-scan {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.face-scan-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 22rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #0b0d11;
  border: 1px solid rgba(158, 224, 210, 0.28);
}

.face-scan-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.face-scan-oval {
  position: absolute;
  inset: 12% 18%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.42);
  pointer-events: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}

.face-scan-coach {
  position: absolute;
  inset: 16% 22%;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.face-scan-coach.is-tongue {
  opacity: 0.95;
}

.face-scan-coach-svg {
  width: 72%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.face-scan-coach-tongue {
  transform-origin: 50px 70px;
  transform: scaleY(0.15) translateY(-8px);
  opacity: 0.2;
}

.face-scan-coach.is-tongue .face-scan-coach-tongue {
  animation: face-tongue-demo 1.6s ease-in-out infinite;
}

@keyframes face-tongue-demo {
  0%,
  18% {
    transform: scaleY(0.15) translateY(-8px);
    opacity: 0.15;
  }
  42%,
  68% {
    transform: scaleY(1) translateY(4px);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.15) translateY(-8px);
    opacity: 0.15;
  }
}

.face-scan.is-tracking .face-scan-oval {
  border-color: rgba(142, 228, 210, 0.75);
}

.face-scan.is-ready .face-scan-oval {
  border-color: rgba(236, 200, 127, 0.95);
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(236, 200, 127, 0.35);
}

.face-scan.is-challenge .face-scan-oval,
.face-scan.is-tongue .face-scan-oval {
  border-color: rgba(224, 120, 140, 0.9);
}

.face-scan-status {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

.face-scan-cancel {
  width: auto;
  align-self: center;
}

.qr-scan {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.qr-scan-guide {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.qr-card-art {
  display: flex;
  justify-content: center;
}

.qr-card-svg {
  width: min(100%, 14rem);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.qr-scan-steps {
  margin: 0;
  padding: 0.15rem 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.4;
}

.qr-scan-steps strong {
  color: #fff;
  font-weight: 650;
}

.qr-scan-steps em {
  font-style: normal;
  color: #ecc87f;
  font-weight: 650;
}

.qr-scan-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 22rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #0b0d11;
  border: 1px solid rgba(158, 224, 210, 0.28);
}

.qr-scan-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-scan-frame {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 28%;
  bottom: 28%;
  border: 2px solid rgba(142, 228, 210, 0.85);
  border-radius: 0.55rem;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.qr-scan-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(236, 200, 127, 0.45);
  border-radius: 0.35rem;
}

.qr-scan.is-found .qr-scan-frame {
  border-color: rgba(127, 219, 201, 0.95);
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(127, 219, 201, 0.4);
}

.qr-scan-cam-badge {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.78);
  border: 1px solid rgba(236, 200, 127, 0.45);
  color: #ecc87f;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  z-index: 2;
}

.qr-scan-status {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

.qr-scan-cancel {
  width: auto;
  align-self: center;
}

.stage-next-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.cta-stage,
.cta-join {
  border: 1px solid rgba(127, 219, 201, 0.55);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(127, 219, 201, 0.42), rgba(48, 110, 98, 0.55));
  color: #fff;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  line-height: 1.35;
}

.cta-join {
  position: relative;
  isolation: isolate;
  border-color: rgba(224, 191, 122, 0.55);
  background: linear-gradient(180deg, rgba(224, 191, 122, 0.42), rgba(110, 85, 45, 0.55));
}

.cta-join.is-glow:not(:disabled) {
  border-color: rgba(255, 220, 140, 0.85);
  background: linear-gradient(180deg, rgba(255, 214, 120, 0.55), rgba(160, 110, 40, 0.65));
  box-shadow:
    0 0 12px rgba(236, 200, 127, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta-join.is-glow:not(:disabled)::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  box-shadow:
    0 0 18px rgba(255, 220, 140, 0.45),
    0 0 36px rgba(236, 200, 127, 0.28);
  animation: join-glow-pulse 3.8s ease-in-out infinite;
}

.cta-join.is-glow:not(:disabled):hover,
.cta-join.is-glow:not(:disabled):focus-visible {
  filter: brightness(1.08);
}

.cta-stage:hover,
.cta-stage:focus-visible,
.cta-join:hover,
.cta-join:focus-visible {
  border-color: var(--accent-hot);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cta-join:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  filter: none;
  box-shadow: none;
}

.cta-join:disabled::after {
  content: none;
  animation: none;
}

.stage-rail[hidden],
.stage-panel[hidden] {
  display: none;
}

@keyframes panel-pulse {
  0%,
  100% {
    box-shadow: none;
  }
  40% {
    box-shadow: 0 0 0 1px rgba(110, 200, 184, 0.45), 0 0 28px rgba(110, 200, 184, 0.2);
  }
}

@keyframes join-glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fx-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 48px, 48px 0;
  }
}

@keyframes fx-scan {
  0%,
  100% {
    background-position: 0 -20%;
  }
  50% {
    background-position: 0 120%;
  }
}

@keyframes fx-orb-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 8%, 0) scale(1.08);
  }
}

@keyframes fx-orb-b {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-7%, -6%, 0) scale(1.06);
  }
}

@keyframes fx-ring {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cabinet-top,
  .membership,
  .cabinet-fx-grid,
  .cabinet-fx-scan,
  .cabinet-fx-orb,
  .cabinet-fx-ring,
  .cta-join.is-glow:not(:disabled)::after,
  .hero-stack,
  .scanlines,
  .face-scan-coach.is-tongue .face-scan-coach-tongue {
    animation: none !important;
  }
}

/* Telegram WebView: continuous FX + blur causes blinking */
body.is-telegram .hero-stack,
body.is-telegram .scanlines,
body.is-telegram .cabinet-fx-grid,
body.is-telegram .cabinet-fx-scan,
body.is-telegram .cabinet-fx-orb,
body.is-telegram .cabinet-fx-ring,
body.is-telegram .cabinet-top,
body.is-telegram .membership,
body.is-telegram .cta-join.is-glow:not(:disabled)::after,
body.is-telegram .stage-panel.is-pulse {
  animation: none !important;
}

body.is-telegram .cabinet-fx-scan,
body.is-telegram .cabinet-fx-orb,
body.is-telegram .cabinet-fx-ring {
  display: none;
}

body.is-telegram .cabinet-fx-grid {
  opacity: 0.55;
}

body.is-telegram .cabinet-top,
body.is-telegram .membership {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(32, 38, 48, 0.94);
}

body.is-telegram .cta-join.is-glow:not(:disabled) {
  box-shadow:
    0 0 10px rgba(236, 200, 127, 0.35),
    0 0 22px rgba(236, 200, 127, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.is-telegram .cabinet-top::before,
body.is-telegram .membership::before {
  opacity: 0.35;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(215, 255, 246, 0.06) 50%,
    transparent 100%
  );
  background-size: 100% 100%;
}

.platform {
  position: fixed;
  right: clamp(1rem, 4vw, 1.5rem);
  bottom: calc(0.9rem + var(--safe-bottom));
  z-index: 2;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-align: right;
  pointer-events: none;
  animation: rise 1.3s ease-out 0.35s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-0.9%, 0.7%, 0);
  }
}

@keyframes scan {
  0%,
  100% {
    background-position: 0 -40%;
  }
  50% {
    background-position: 0 140%;
  }
}

@keyframes tg-bars {
  0%,
  100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 640px) {
  .auth {
    max-width: 18rem;
  }
}

.qr-pass {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  background: #ffffff;
  color: #111111;
  padding:
    calc(0.7rem + var(--safe-top))
    1rem
    calc(0.9rem + var(--safe-bottom));
}

.qr-pass[hidden] {
  display: none;
}

.qr-pass-inner {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.qr-pass-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a5a5a;
}

.qr-pass-canvas {
  display: block;
  width: min(92vw, calc(100dvh - 11.5rem));
  height: auto;
  aspect-ratio: 1;
  max-width: 36rem;
  background: #ffffff;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.qr-pass-no {
  margin: 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #111111;
}

.qr-pass-hint {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444444;
  text-align: center;
}

.qr-pass-close {
  width: 100%;
  max-width: 22rem;
  margin-top: 0.25rem;
  border: 1px solid #111111;
  border-radius: 0.75rem;
  background: #111111;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0.02em;
}

.qr-pass-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem;
  border: 0;
  border-radius: 0.85rem;
  background: #ffffff;
  cursor: pointer;
}

.qr-pass-preview-canvas {
  display: block;
  width: min(100%, 13.5rem);
  height: auto;
  aspect-ratio: 1;
  background: #ffffff;
  image-rendering: pixelated;
}

.qr-pass-preview-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #1a1a1a;
}

.member-pass {
  width: 100%;
}

.member-pass[hidden] {
  display: none;
}

.member-pass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
}

.member-pass-canvas {
  display: block;
  width: min(100%, 16.5rem);
  height: auto;
  aspect-ratio: 1;
  background: #ffffff;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.member-pass-no {
  margin: 0;
  font-family: "Google Sans Flex", sans-serif;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #111111;
}

.member-pass-hint {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #444444;
  text-align: center;
}

body.qr-pass-open {
  overflow: hidden;
}

body.qr-pass-open .atmosphere,
body.qr-pass-open .cabinet-fx {
  opacity: 0;
  visibility: hidden;
}
