/* Первый заход гостя (Д-2178, подзадача 2; модуль `guest-pervyy-zahod.js`). Цвета - только токены. */

/* Экран языка: во весь экран поверх портала, до него. */
.pz-fs {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pz-lang {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 0;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}
.pz-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 2vh 0 3vh; }
.pz-logo i {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--accent);
}
.pz-logo i img { width: 62%; height: 62%; filter: brightness(0) invert(1); }
.pz-logo b { font-size: 22px; font-weight: 800; letter-spacing: 0.2px; }
.pz-lang h1 { margin: 0 0 14px; font-size: 24px; font-weight: 800; text-align: center; }
.pz-tbl {
  align-self: center;
  margin: 0 0 12px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel-2);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pz-opts { display: flex; flex-direction: column; gap: 10px; }
.pz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  height: 64px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
}
.pz-opt .cd {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--panel-2);
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}
.pz-opt .nm { flex: 1; font-size: 20px; font-weight: 700; }
.pz-opt .ck {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 15px;
  font-weight: 900;
}
.pz-opt.on { padding: 0 15px; border: 2px solid var(--accent); background: var(--accent-wash); }
.pz-opt.on .cd { background: var(--accent); color: var(--on-solid); }
.pz-opt.on .ck { background: var(--accent); border-color: var(--accent); color: var(--on-solid); }
.pz-grow { flex: 1; min-height: 12px; }
.pz-btn {
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--on-solid);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}

/* Карточка регистрации: снизу, над затемнённым порталом. */
.pz-dim {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}
.pz-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9001;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: var(--panel);
  color: var(--text);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.pz-ph { padding: 18px 20px 16px; background-size: cover; background-position: center; }
.pz-ph small { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--baner-l3); }
.pz-ben { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.pz-ben b { font-size: 34px; font-weight: 800; line-height: 1.05; color: var(--baner-big); }
.pz-ben span { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--on-solid); }
.pz-ben u { flex-basis: 100%; text-decoration: none; font-size: 13px; color: var(--baner-l3); }
.pz-act { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 0; }
.pz-later {
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}

/* Второе предложение на статусе заказа. */
.pz-offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--accent-wash);
  text-align: left;
}
.pz-offer p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.pz-offer p i { font-size: 28px; font-style: normal; }
.pz-offer .pz-btn { height: 50px; font-size: 17px; }
