html {
  min-height: 100%;
  background: #081526;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  color: #edf4ff;
  background: #081526;
  isolation: isolate;
}
.auth-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(125deg, #071427, #102747 55%, #101c37);
}
.auth-ambient span {
  position: absolute;
  width: 85vw;
  height: 85vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, #087dbe4d, transparent 65%);
  left: -35%;
  top: -45%;
}
.auth-scene {
  position: absolute;
  inset: 0 0 0 38%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.auth-scene picture,
.auth-scene img {
  display: block;
  width: 100%;
  height: 100%;
}
.auth-scene img {
  object-fit: cover;
  object-position: 52% center;
  filter: blur(5px);
  transform: scale(1.04);
}
.auth-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #081526c7, #08152652 55%, #08152666),
    linear-gradient(0deg, #081526b3, transparent 40%, #0815264d);
}
.auth-ambient span:nth-of-type(2) {
  width: 95vw;
  height: 95vw;
  top: -32%;
  left: 28%;
  background: radial-gradient(ellipse, #4269dd54, transparent 66%);
}
.auth-ambient span:nth-of-type(3) {
  width: 65vw;
  height: 65vw;
  top: 35%;
  left: 12%;
  background: radial-gradient(ellipse, #188eaf26, transparent 65%);
}
.auth-shell {
  width: calc(100% - clamp(48px, 8vw, 256px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  grid-template-rows: auto 1fr;
  gap: 28px clamp(40px, 6vw, 180px);
  padding: max(28px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom));
  position: relative;
}
.auth-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(#ffffff02 1px, transparent 1px),
    linear-gradient(90deg, #ffffff02 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 75%);
}
.story-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}
.story-nav {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #bdcfe6;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #9fbde324;
  background: #ffffff04;
}
.back-home:hover {
  background: #ffffff08;
  color: #fff;
}
.story-content {
  margin: auto 0;
  padding: 28px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a3cbe9;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6de4c0;
  box-shadow: 0 0 0 5px #6de4c00e;
  flex-shrink: 0;
}
.story-title {
  font-size: clamp(44px, 4.1vw, 72px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.045em;
  max-width: 900px;
}
.story-title span {
  display: block;
  margin-top: 8px;
}
.story-desc {
  max-width: 54ch;
  margin-top: 24px;
  color: #b5c6dd;
  font-size: 16px;
  line-height: 1.75;
}
.story-desc strong {
  color: #e4edfb;
  font-weight: 500;
}
.preview-stage {
  position: relative;
  margin-top: 36px;
  max-width: 780px;
}
.preview-stage::before {
  content: '';
  position: absolute;
  inset: 10% -4% 12%;
  background: radial-gradient(ellipse, #378ae64f, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.session-preview {
  border: 1px solid #6e99c536;
  border-radius: 18px;
  background: linear-gradient(145deg, #123451eb, #10253cf5);
  box-shadow:
    0 25px 65px #02091855,
    inset 0 1px 0 #a9d5ff12;
  overflow: hidden;
  animation: preview-float 8s ease-in-out infinite;
}
.preview-bar {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: #10233b;
  border-bottom: 1px solid #ffffff0e;
}
.preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.red {
  background: #fc8296;
}
.yellow {
  background: #eec76a;
}
.green {
  background: #57d1a9;
}
.preview-address {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #acc1db;
  font-size: 9px;
  margin-left: 9px;
}
.preview-body {
  padding: 20px;
}
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.preview-session {
  display: flex;
  align-items: center;
  gap: 10px;
}
.preview-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #2d77bb26;
  color: #8ed0ff;
  font-size: 18px;
}
.preview-session strong {
  display: block;
  font-size: 14px;
  color: #eef5ff;
  font-weight: 600;
}
.preview-session span span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #a9bfd9;
}
.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 7px;
  color: #8be8c1;
  background: #36c99714;
  font-size: 10px;
  font-weight: 600;
}
.preview-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.preview-matter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  min-height: 65px;
}
.preview-matter small {
  display: block;
  color: #97d8f5;
  font-size: 10px;
  margin-bottom: 3px;
}
.preview-matter strong {
  font-size: 13px;
  font-weight: 550;
}
.preview-result {
  font-size: 11px;
  color: #87e8bb;
  white-space: nowrap;
}
.session-preview[data-phase='reading'] .preview-result,
.session-preview[data-phase='reading'] .preview-live {
  color: #d6c8ff;
}
.session-preview[data-phase='voting'] .preview-result,
.session-preview[data-phase='voting'] .preview-live {
  color: #ffe18e;
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.preview-stat {
  padding: 11px 4px;
  text-align: center;
  border: 1px solid #ffffff10;
  border-radius: 10px;
  background: #ffffff03;
}
.preview-stat b {
  display: block;
  color: #91c7ff;
  font-size: 28px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.preview-stat span {
  font-size: 11px;
  color: #b9cbe0;
}
.preview-stat.yes b {
  color: #86efbd;
}
.preview-stat.no b {
  color: #ff9dac;
}
.preview-stat.abs b {
  color: #ffe09d;
}
.preview-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: #afc6df;
  font-size: 11px;
}
.preview-sync-dots {
  display: inline-flex;
  gap: 3px;
}
.preview-sync-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #70d5f6;
}
.preview-sync strong {
  margin-left: auto;
  color: #a0dbf5;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  font-size: 10px;
  color: #9eb6d1;
}
.preview-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  margin-top: 22px;
  color: #84b1dd;
}
.preview-route span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c5dcef;
  font-size: 12px;
}
.preview-route span i {
  color: #97d6ff;
  font-size: 17px;
}
.preview-pause {
  border: 0;
  background: none;
  color: #c2d6ed;
  font-size: 11px;
  min-height: 44px;
  padding: 8px;
  flex-shrink: 0;
}
.preview-caption > span {
  align-self: center;
}
.demo-paused .session-preview {
  animation-play-state: paused;
}
.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: #a8bfd8;
  font-size: 11px;
  padding-top: 12px;
}
.story-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.story-meta i {
  color: #8ed0f5;
  font-size: 14px;
}
.auth-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 24px 0;
}
.auth-wrap {
  width: 100%;
  max-width: 540px;
  padding: clamp(28px, 3vw, 48px);
  border: 1px solid #bdd8ff36;
  border-radius: 30px;
  background: linear-gradient(145deg, #153453b3, #0a1d34cc);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 32px 90px #02091738,
    inset 0 1px 0 #ffffff18;
}
.auth-heading {
  margin-bottom: 30px;
}
.auth-emblem {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border: 1px solid #87c8ff42;
  border-radius: 17px;
  background: linear-gradient(135deg, #3683ff47, #4bcfff1a);
  box-shadow: 0 8px 28px #367cff1c;
}
.auth-emblem img {
  width: 36px;
  height: 36px;
}
.auth-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #a8cff6;
  margin-bottom: 15px;
}
.auth-kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  background: #8ad0f5;
}
.form-title {
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 650;
  letter-spacing: -1.3px;
  line-height: 1.16;
  color: #f3f7ff;
}
.form-subtitle {
  font-size: 15px;
  color: #b6c9e3;
  line-height: 1.8;
  margin-top: 14px;
}
.auth-card {
  padding: 0;
  background: none;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  color: #e5eefd;
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 9px;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 16px;
  color: #a9bfda;
  font-size: 18px;
  pointer-events: none;
}
.form-input {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border: 1px solid #516c8f;
  border-radius: 12px;
  padding: 14px 48px;
  color: #f4f8ff;
  background: #0a1b30;
  font-size: 16px;
  line-height: 1.5;
  outline: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  scroll-margin-block: 24px;
}
.form-input::placeholder {
  color: #9fb4d0;
  opacity: 1;
}
.form-input:hover {
  border-color: #789ac5;
}
.form-input:focus {
  border-color: #83b8ff;
  box-shadow: 0 0 0 4px #62a0ff20;
}
.form-input:focus ~ .input-icon {
  color: #8dceff;
}
.form-input:-webkit-autofill {
  -webkit-text-fill-color: #f4f8ff;
  -webkit-box-shadow: 0 0 0 1000px #122b47 inset;
  caret-color: #f4f8ff;
}
.btn-icon {
  position: absolute;
  right: 5px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #aec7e6;
  background: transparent;
  font-size: 18px;
}
.btn-icon:hover {
  background: #ffffff09;
  color: #fff;
}
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 20px;
}
.checkbox-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #c7d6e9;
  font-size: 13px;
  cursor: pointer;
}
.checkbox-wrap input {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}
.custom-checkbox {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #6c89ad;
  border-radius: 6px;
  background: #10263f;
}
.custom-checkbox i {
  opacity: 0;
  font-size: 12px;
  color: #fff;
}
.checkbox-wrap input:checked + .custom-checkbox {
  border-color: #659cff;
  background: #2864ed;
}
.checkbox-wrap input:checked + .custom-checkbox i {
  opacity: 1;
}
.checkbox-wrap input:focus-visible + .custom-checkbox {
  outline: 3px solid #8ed0ff;
  outline-offset: 4px;
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #bed0e6;
}
.secure-note i {
  color: #8bd9c4;
}
.btn-primary,
.btn-secondary,
.btn-biometric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  line-height: 1.5;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.btn-primary {
  background: linear-gradient(110deg, #2877ef, #375eed);
  color: #fff;
  box-shadow: 0 10px 26px #0a44aa33;
}
.btn-primary:hover {
  background: #2464e8;
  box-shadow: 0 12px 30px #0a44aa44;
}
.btn-primary:disabled {
  opacity: 0.65;
}
.btn-secondary,
.btn-biometric {
  color: #dbe8f9;
  background: #ffffff06;
  border-color: #afcbed2e;
}
.btn-secondary:hover,
.btn-biometric:hover {
  background: #ffffff0e;
  border-color: #afcbed55;
}
.btn-biometric i {
  font-size: 20px;
  color: #9ccaff;
}
.btn-biometric.has-cred {
  color: #dcecff;
  background: #3064ab20;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #a6bfdb;
  margin: 24px 0 18px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #b6d0f329;
}
.alert {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border-radius: 11px;
  border: 1px solid;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.alert i {
  margin-top: 2px;
}
.alert-danger {
  color: #ffe1e5;
  background: #742b353b;
  border-color: #b7667777;
}
.alert-success {
  color: #bdfbdd;
  background: #18674540;
  border-color: #50ae8677;
}
.alert-info {
  color: #d7eaff;
  background: #2e599a40;
  border-color: #759dde77;
}
.session-user {
  color: #dbeafa;
  font-size: 14px;
  padding: 16px;
  border: 1px solid #81a8d74d;
  border-radius: 12px;
  background: #326db31a;
  margin-bottom: 18px;
}
.session-user i {
  margin-right: 6px;
}
.session-actions {
  display: grid;
  gap: 12px;
}
.auth-help {
  color: #b3c7e0;
  font-size: 12px;
  line-height: 1.85;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #ffffff14;
}
.auth-help a {
  display: inline-block;
  color: #a0d9ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.spinner {
  width: 19px;
  height: 19px;
  display: none;
  border: 2px solid #ffffff55;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes preview-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@media (min-width: 1024px) {
  .acesso-rapido-wrap {
    display: none;
  }
}
@media (min-width: 1800px) {
  .story-title {
    font-size: clamp(72px, 3.9vw, 112px);
    max-width: 1240px;
  }
  .story-desc {
    font-size: clamp(18px, 1vw, 24px);
  }
  .preview-stage {
    max-width: 1040px;
    margin-top: 44px;
  }
  .preview-body {
    padding: 28px;
  }
  .preview-matter {
    padding: 18px;
  }
  .preview-session strong,
  .preview-matter strong {
    font-size: 16px;
  }
  .preview-stat b {
    font-size: 36px;
  }
  .preview-stat {
    padding-block: 16px;
  }
  .auth-wrap {
    max-width: 640px;
    padding: 48px;
  }
  .form-title {
    font-size: 44px;
  }
  .form-subtitle {
    font-size: 17px;
  }
  .form-label,
  .btn-primary {
    font-size: 16px;
  }
  .form-input,
  .btn-primary {
    min-height: 60px;
  }
  .auth-help {
    font-size: 14px;
  }
}
@media (max-width: 1100px) {
  .auth-scene {
    inset: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .auth-scene::after {
    background: linear-gradient(180deg, #081526b8, #0815268f 45%, #081526d9);
  }
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(720px, calc(100% - 56px));
    padding-top: max(24px, env(safe-area-inset-top));
  }
  .story-panel {
    display: none;
  }
  .story-nav {
    min-height: 44px;
  }
  .auth-ambient span {
    width: 150vw;
    height: 150vw;
    top: -30%;
    left: -55%;
  }
  .auth-ambient span:nth-of-type(2) {
    top: 15%;
    left: 5%;
  }
  .auth-ambient span:nth-of-type(3) {
    top: 65%;
    left: -30%;
  }
  .auth-panel {
    padding: 8px 0 24px;
    scroll-margin-top: 20px;
  }
  .auth-wrap {
    max-width: 600px;
    padding: clamp(28px, 6vw, 48px);
  }
  .form-title {
    font-size: 38px;
  }
  .auth-heading {
    margin-bottom: 27px;
  }
  .auth-help {
    margin-top: 23px;
  }
  .story-nav .brand {
    font-size: 20px;
  }
  .back-home {
    font-size: 12px;
  }
}
@media (max-width: 540px) {
  .auth-shell {
    width: 100%;
    padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    gap: 20px;
    grid-template-rows: auto 1fr;
    align-content: start;
  }
  .auth-panel {
    justify-content: flex-start;
    padding-block: 8px 0;
  }
  .auth-wrap {
    padding: 26px 22px;
    border-radius: 24px;
  }
  .auth-emblem {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 20px;
  }
  .auth-emblem img {
    width: 32px;
    height: 32px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .auth-heading {
    margin-bottom: 25px;
  }
  .form-title {
    font-size: 32px;
  }
  .form-subtitle {
    font-size: 14px;
  }
  .form-group {
    margin-bottom: 19px;
  }
  .form-options {
    gap: 2px;
  }
  .secure-note {
    font-size: 9px;
  }
  .auth-help {
    font-size: 12px;
  }
  .back-home {
    padding-inline: 10px;
  }
}
@media (max-width: 360px) {
  .auth-shell {
    padding-inline: 12px;
  }
  .auth-wrap {
    padding: 24px 18px;
  }
  .form-title {
    font-size: 28px;
  }
  .secure-note {
    display: none;
  }
  .back-home {
    padding-inline: 4px;
  }
  .story-nav .brand {
    font-size: 18px;
  }
}
/* Fit the content to short laptop viewports; do not crop the page or scale inputs. */
@media (max-height: 1200px) and (min-width: 768px) {
  .story-content {
    padding-block: 8px;
  }
  .story-title {
    font-size: clamp(44px, 5.5vh, 64px);
  }
  .story-desc {
    font-size: 16px;
    margin-top: 20px;
  }
  .preview-stage {
    max-width: 780px;
    margin-top: 24px;
  }
  .preview-body {
    padding: 20px;
  }
  .story-meta {
    display: none;
  }
  .auth-wrap {
    padding: 32px;
  }
  .form-title {
    font-size: 38px;
  }
}
@media (max-height: 900px) and (min-width: 768px) {
  .auth-shell {
    padding-block: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-bottom));
    gap: 12px clamp(32px, 4vw, 80px);
  }
  .story-content {
    padding-block: 0;
  }
  .eyebrow {
    margin-bottom: 14px;
  }
  .story-title {
    font-size: clamp(36px, 4.8vh, 46px);
    line-height: 1.1;
  }
  .story-desc {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.65;
  }
  .preview-stage {
    max-width: 640px;
    margin-top: 20px;
  }
  .preview-bar {
    height: 30px;
  }
  .preview-body {
    padding: 14px;
  }
  .preview-head {
    margin-bottom: 10px;
  }
  .preview-matter {
    padding: 10px;
    min-height: 56px;
  }
  .preview-stat {
    padding-block: 8px;
  }
  .preview-stat b {
    font-size: 24px;
  }
  .preview-sync {
    margin-top: 10px;
  }
  .preview-route {
    margin-top: 14px;
    gap: 16px;
  }
  .preview-caption {
    margin-top: 6px;
  }
  .story-meta {
    display: none;
  }
  .auth-panel {
    padding-block: 0;
  }
  .auth-wrap {
    padding: 24px 28px;
    border-radius: 24px;
  }
  .auth-emblem {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }
  .auth-emblem img {
    width: 28px;
    height: 28px;
  }
  .auth-heading {
    margin-bottom: 20px;
  }
  .form-title {
    font-size: clamp(28px, 3.5vh, 34px);
  }
  .form-subtitle {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
  }
  .form-group {
    margin-bottom: 18px;
  }
  .form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .form-input {
    min-height: 50px;
    padding-block: 12px;
  }
  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    padding-block: 10px;
  }
  .form-options {
    margin-block: 0 12px;
  }
  .auth-help {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 18px;
    padding-top: 14px;
  }
}
@media (max-height: 700px) and (min-width: 768px) {
  .auth-shell {
    padding-block: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom));
    row-gap: 8px;
  }
  .auth-emblem,
  .preview-bar,
  .preview-head,
  .preview-route {
    display: none;
  }
  .auth-wrap {
    padding: 18px 24px;
  }
  .auth-kicker {
    margin-bottom: 6px;
  }
  .auth-heading {
    margin-bottom: 14px;
  }
  .form-title {
    font-size: 28px;
  }
  .form-subtitle {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 8px;
  }
  .form-group {
    margin-bottom: 12px;
  }
  .form-input {
    min-height: 48px;
    padding-block: 11px;
  }
  .form-options {
    margin-bottom: 8px;
  }
  .auth-help {
    font-size: 11px;
    margin-top: 12px;
    padding-top: 10px;
  }
  .story-title {
    font-size: 36px;
  }
  .story-desc {
    line-height: 1.6;
  }
  .preview-stage {
    margin-top: 16px;
  }
}
@media (max-height: 560px) and (max-width: 1100px) {
  .auth-shell {
    align-content: start;
    gap: 12px;
  }
  .auth-panel {
    justify-content: flex-start;
  }
  .auth-emblem {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .auth-wrap {
    animation: auth-arrive 0.6s ease-out both;
  }
}
@keyframes auth-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .session-preview {
    animation: none;
  }
}
