.lg-page,
.ac-standalone {
  --lg-ink: var(--cinema-ink, #0a1114);
  --lg-ink-2: var(--cinema-ink-2, #111b1f);
  --lg-graphite: var(--cinema-graphite, #1a2529);
  --lg-dark-line: rgba(255, 255, 255, 0.14);
  --lg-dark-text: var(--cinema-text, #f4f7f6);
  --lg-dark-muted: var(--cinema-muted, #a8b5b7);
  --lg-canvas: var(--canvas, #f1f3f2);
  --lg-surface: var(--surface, #ffffff);
  --lg-soft: var(--surface-soft, #e8eceb);
  --lg-warm: var(--surface-warm, #f5f1ea);
  --lg-line: #cbd5d2;
  --lg-line-strong: #9eaaa7;
  --lg-focus: var(--brand-primary, #0f5c5e);
  --lg-teal-light: #8fc4c3;
  color-scheme: light;
}

.lg-page {
  min-width: 320px;
  min-height: 100vh;
  padding: var(--page-hero-pad-top) 0 96px;
  overflow: clip;
  background: linear-gradient(180deg, #e8ecea 0%, var(--lg-canvas) 28%, #f6f7f6 100%);
  color: var(--text);
}

.lg-page-bg,
.lg-page-grid-lines {
  display: none;
}

.lg-page > .container {
  position: relative;
  width: 100%;
  max-width: 1344px;
}

.lg-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(10, 17, 20, 0.16);
  border-radius: var(--radius-section, 24px);
  background: var(--lg-surface);
  box-shadow: var(--shadow-cinematic, 0 24px 70px rgba(6, 15, 18, 0.16));
}

.lg-page--register .lg-shell,
.lg-page--identity .lg-shell {
  width: min(1260px, 100%);
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
}

.lg-info {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(44px, 6vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(var(--brand-primary-rgb), 0.24), transparent 34%),
    linear-gradient(145deg, var(--lg-graphite) 0%, var(--lg-ink) 66%);
  color: var(--lg-dark-text);
}

.lg-info::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 70px solid rgba(var(--brand-secondary-rgb), 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.lg-eyebrow,
.lg-form-eyebrow,
.lg-message-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lg-eyebrow {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lg-dark-line);
  color: var(--lg-dark-muted);
}

.lg-eyebrow strong {
  color: var(--lg-teal-light);
  font-weight: 800;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(var(--amber-rgb), 0.16);
}

.lg-title {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 0;
  color: var(--lg-dark-text);
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.lg-title em,
.lg-title .lime-grad {
  font-style: normal;
  font-weight: inherit;
}

.lg-title em {
  color: var(--amber);
}

.lg-title .lime-grad {
  color: var(--lg-teal-light);
}

.lg-page--recovery .lg-title em,
.lg-page--verification .lg-title em {
  color: var(--lg-teal-light);
}

.lg-subtitle {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  color: var(--lg-dark-muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.lg-perks {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  margin: auto 0 0;
  padding: 0;
  flex-direction: column;
  list-style: none;
  border-top: 1px solid var(--lg-dark-line);
}

.lg-perks li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--lg-dark-line);
}

.lg-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(143, 196, 195, 0.32);
  border-radius: 9px;
  background: rgba(var(--brand-primary-rgb), 0.18);
  color: var(--lg-teal-light);
  font-size: 1.1rem;
}

.lg-perk-icon.amber {
  border-color: rgba(var(--brand-secondary-rgb), 0.38);
  background: rgba(var(--brand-secondary-rgb), 0.16);
  color: #efb36d;
}

.lg-perk-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.lg-perk-text strong {
  color: var(--lg-dark-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.lg-perk-text span {
  color: var(--lg-dark-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.lg-form-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(34px, 5vw, 68px);
  background: var(--lg-surface);
}

.lg-form-card {
  min-width: 0;
}

.lg-form-eyebrow {
  margin-bottom: 18px;
  color: var(--brand-primary);
}

.lg-form-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.lg-form-desc {
  margin: 0 0 28px;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.lg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lg-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lg-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.lg-label-row {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lg-label {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lg-input-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: flex-start;
}

.lg-input-icon {
  position: absolute;
  top: 24px;
  left: 15px;
  z-index: 1;
  color: var(--text-3);
  font-size: 1rem;
  transform: translateY(-50%);
  transition: color var(--transition-cinematic, 220ms ease);
  pointer-events: none;
}

.lg-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px 12px 43px;
  border: 1px solid var(--lg-line);
  border-radius: var(--radius-control, 10px);
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition:
    border-color var(--transition-cinematic, 220ms ease),
    box-shadow var(--transition-cinematic, 220ms ease),
    background-color var(--transition-cinematic, 220ms ease);
}

.lg-input::placeholder {
  color: #7f8d8f;
}

.lg-input:hover {
  border-color: var(--lg-line-strong);
}

.lg-input:focus {
  border-color: var(--lg-focus);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.14);
}

.lg-input-wrap:focus-within .lg-input-icon {
  color: var(--lg-focus);
}

.lg-input[type="password"] {
  padding-right: 44px;
}

select.lg-input {
  padding-right: 42px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2352666A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.lg-forgot,
.lg-switch a,
.lg-help-link,
.lg-check-text a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(var(--brand-primary-rgb), 0.34);
  text-underline-offset: 3px;
}

.lg-forgot {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  font-size: 0.78rem;
}

.lg-forgot:hover,
.lg-switch a:hover,
.lg-help-link:hover,
.lg-check-text a:hover {
  color: var(--brand-primary-strong);
}

.lg-check {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 5px 0;
  cursor: pointer;
  user-select: none;
}

.lg-check.top {
  align-items: flex-start;
}

.lg-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lg-check-box {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  border: 1px solid var(--lg-line-strong);
  border-radius: 6px;
  background: #fff;
  transition:
    border-color var(--transition-cinematic, 220ms ease),
    background-color var(--transition-cinematic, 220ms ease),
    box-shadow var(--transition-cinematic, 220ms ease);
}

.lg-check input[type="checkbox"]:checked + .lg-check-box {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.lg-check input[type="checkbox"]:checked + .lg-check-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 11px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.lg-check input[type="checkbox"]:focus-visible + .lg-check-box {
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.2);
}

.lg-check-text {
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.5;
}

.lg-submit {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}

.lg-switch {
  margin-top: 2px;
  color: var(--text-2);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}

.lg-switch a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 4px;
}

.lg-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--lg-line);
  text-align: center;
}

.lg-card-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.lg-card-trust i {
  color: var(--green);
}

.lg-card-trust a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lg-help-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--lg-line);
  border-radius: 14px;
  background: var(--lg-soft);
}

.lg-help-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.lg-help-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.lg-help-text strong {
  color: var(--text);
  font-size: 0.86rem;
}

.lg-help-text span {
  color: var(--text-2);
  font-size: 0.75rem;
  line-height: 1.45;
}

.lg-help-link {
  grid-column: 2;
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}

.field-error {
  display: none;
  width: 100%;
  margin-top: 6px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 700;
}

.field-error.is-visible {
  display: block;
}

.lg-input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.lg-check.is-invalid .lg-check-box {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.lg-workflow {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  flex-direction: column;
  list-style: none;
  border-top: 1px solid var(--lg-dark-line);
}

.lg-workflow li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 11px 0;
  border-bottom: 1px solid var(--lg-dark-line);
  color: var(--lg-dark-muted);
}

.lg-workflow li > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lg-dark-line);
  border-radius: 50%;
  color: var(--lg-dark-muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
}

.lg-workflow li > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.lg-workflow strong {
  color: var(--lg-dark-text);
  font-size: 0.8rem;
}

.lg-workflow small {
  color: var(--lg-dark-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.lg-workflow .is-complete > span {
  border-color: rgba(22, 121, 75, 0.8);
  background: rgba(22, 121, 75, 0.28);
  color: #99dfbd;
}

.lg-workflow .is-current > span {
  border-color: rgba(239, 179, 109, 0.7);
  background: rgba(var(--brand-secondary-rgb), 0.24);
  color: #efb36d;
}

.lg-workflow .is-alert > span {
  border-color: rgba(236, 130, 121, 0.72);
  background: rgba(180, 35, 24, 0.25);
  color: #f0a29b;
}

.lg-result-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--lg-line);
  border-radius: 16px;
  background: var(--lg-soft);
  color: var(--text-2);
  font-size: 1.8rem;
}

.lg-result-icon.is-success {
  border-color: rgba(22, 121, 75, 0.34);
  background: var(--green-soft);
  color: var(--green);
}

.lg-result-icon.is-pending {
  border-color: rgba(var(--brand-secondary-rgb), 0.34);
  background: var(--amber-soft);
  color: var(--amber);
}

.lg-result-icon.is-alert {
  border-color: rgba(180, 35, 24, 0.3);
  background: var(--red-soft);
  color: var(--red);
}

.lg-result-icon.is-pending i {
  animation: lg-spin 1s linear infinite;
}

@keyframes lg-spin {
  to {
    transform: rotate(360deg);
  }
}

.lg-page .vid-dropzone {
  min-height: 225px;
  padding: 26px 20px;
  border: 1px dashed var(--lg-line-strong);
  border-radius: 14px;
  background: var(--lg-soft);
  box-shadow: none;
}

.lg-page .vid-dropzone:hover,
.lg-page .vid-dropzone.is-dragging {
  border-color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.07);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
  transform: none;
}

.lg-page .vid-dropzone:focus-within {
  outline: 3px solid rgba(var(--brand-primary-rgb), 0.24);
  outline-offset: 2px;
}

.lg-page .vid-dropzone-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-primary);
  font-size: 27px;
  box-shadow: none;
}

.lg-page .vid-dropzone-title,
.lg-page .vid-file-name {
  color: var(--text);
}

.lg-page .vid-dropzone-title {
  font-size: 1.06rem;
}

.lg-page .vid-dropzone-desc,
.lg-page .vid-file-size {
  color: var(--text-2);
}

.lg-page .vid-dropzone-desc strong,
.lg-page .vid-dropzone-meta i {
  color: var(--brand-primary);
}

.lg-page .vid-dropzone-meta span {
  border-color: var(--lg-line);
  border-radius: 6px;
  background: #fff;
  color: var(--text-2);
}

.lg-page .vid-file-status {
  border-color: rgba(22, 121, 75, 0.3);
  background: var(--green-soft);
  color: var(--green);
}

.lg-page .vid-file-clear {
  min-width: 44px;
  min-height: 44px;
}

.vid-actions {
  display: flex;
  gap: 10px;
}

.vid-actions .btn {
  flex: 1 1 0;
}

.lg-page--message {
  display: flex;
  align-items: center;
  padding-bottom: 80px;
}

.lg-message-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  width: min(860px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(10, 17, 20, 0.16);
  border-radius: var(--radius-section, 24px);
  background: var(--lg-surface);
  box-shadow: var(--shadow-cinematic, 0 24px 70px rgba(6, 15, 18, 0.16));
}

.lg-message-aside {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 38px;
  background:
    radial-gradient(circle at 12% 10%, rgba(var(--brand-primary-rgb), 0.28), transparent 38%),
    var(--lg-ink);
  color: var(--lg-dark-text);
}

.lg-message-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border: 1px solid rgba(143, 196, 195, 0.42);
  border-radius: 15px;
  background: rgba(var(--brand-primary-rgb), 0.2);
  color: var(--lg-teal-light);
  font-size: 1.8rem;
}

.lg-message-kicker {
  color: var(--lg-dark-muted);
}

.lg-message-aside strong {
  margin-top: 7px;
  color: var(--lg-dark-text);
  font-size: 1.4rem;
  letter-spacing: -0.035em;
}

.lg-message-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 6vw, 68px);
}

.lg-message-body .lg-form-desc {
  max-width: 520px;
}

.lg-message-actions {
  display: flex;
}

.lg-message-actions .lg-submit {
  width: auto;
  min-width: 180px;
}

.ac-standalone {
  min-width: 320px;
  min-height: 100vh;
  background: var(--lg-canvas);
}

.lg-standalone {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8ecea, var(--lg-canvas));
}

.lg-standalone-frame {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(10, 17, 20, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-cinematic, 0 24px 70px rgba(6, 15, 18, 0.16));
}

.lg-standalone-header {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--lg-line);
  background: var(--lg-soft);
}

.lg-standalone-brand {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.lg-standalone-brand img {
  width: auto;
  height: 40px;
  max-width: min(210px, 48vw);
  object-fit: contain;
}

.lg-standalone-brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--lg-ink);
  color: #fff;
  font-weight: 800;
}

.lg-standalone-wordmark {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-standalone-wordmark strong {
  margin-left: 4px;
  color: var(--brand-primary);
}

.lg-standalone-status {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--lg-line);
  border-radius: 8px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lg-standalone-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 46px 40px;
  text-align: center;
}

.lg-standalone-code {
  position: absolute;
  top: 12px;
  right: 24px;
  color: var(--lg-ink);
  font-family: var(--mono);
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
}

.lg-standalone-icon {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--brand-secondary-rgb), 0.34);
  border-radius: 16px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 1.9rem;
}

.lg-standalone--not-found .lg-standalone-icon {
  border-color: rgba(var(--brand-primary-rgb), 0.3);
  background: var(--lime-soft);
  color: var(--brand-primary);
}

.lg-standalone-body .lg-form-title {
  max-width: 560px;
}

.lg-standalone-body .lg-form-desc {
  max-width: 520px;
  margin: 12px auto 24px;
}

.lg-requested-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: min(520px, 100%);
  gap: 10px;
  align-items: center;
  margin: -4px auto 24px;
  padding: 10px 12px;
  border: 1px solid var(--lg-line);
  border-radius: 9px;
  background: var(--lg-soft);
  text-align: left;
}

.lg-requested-path span {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.lg-requested-path code {
  overflow: hidden;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-standalone-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lg-standalone-actions .lg-submit {
  width: auto;
  min-width: 156px;
}

.lg-standalone-footer {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-top: 1px solid var(--lg-line);
  background: var(--lg-soft);
}

.lg-page :is(a, button, input, select, textarea):focus-visible,
.ac-standalone :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(var(--brand-primary-rgb), 0.34);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .lg-shell,
  .lg-page--register .lg-shell,
  .lg-page--identity .lg-shell {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
  }

  .lg-info {
    min-height: 0;
    padding: 48px;
  }

  .lg-title {
    max-width: 14ch;
  }

  .lg-perks {
    margin-top: 8px;
  }

  .lg-form-wrap {
    padding: 48px;
  }
}

@media (max-width: 680px) {
  .lg-page {
    padding: var(--page-hero-pad-top) 0 58px;
  }

  .lg-shell {
    border-radius: 18px;
  }

  .lg-info,
  .lg-form-wrap {
    padding: 32px 26px;
  }

  .lg-title {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .lg-form-row {
    grid-template-columns: 1fr;
  }

  .lg-message-panel {
    grid-template-columns: 1fr;
  }

  .lg-message-aside {
    min-height: 190px;
    padding: 28px;
  }

  .lg-message-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 32px;
  }

  .lg-message-body {
    padding: 34px 28px;
  }
}

@media (max-width: 480px) {
  .lg-page {
    padding: var(--page-hero-pad-top) 0 42px;
  }

  .lg-page > .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .lg-shell,
  .lg-message-panel {
    border-radius: 15px;
  }

  .lg-info,
  .lg-form-wrap,
  .lg-message-body {
    padding: 26px 18px;
  }

  .lg-eyebrow {
    font-size: 0.61rem;
  }

  .lg-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .lg-subtitle {
    font-size: 0.9rem;
  }

  .lg-perks li {
    padding: 14px 0;
  }

  .lg-form-title {
    font-size: 1.6rem;
  }

  .lg-label-row {
    align-items: flex-start;
  }

  .vid-actions {
    flex-direction: column;
  }

  .lg-page .vid-dropzone {
    min-height: 215px;
    padding: 22px 14px;
  }

  .lg-page .vid-dropzone-meta {
    gap: 5px;
  }

  .lg-page .vid-dropzone-meta span {
    padding: 5px 7px;
    font-size: 0.58rem;
  }

  .lg-message-aside {
    min-height: 170px;
    padding: 24px 20px;
  }

  .lg-message-actions,
  .lg-message-actions .lg-submit {
    width: 100%;
  }

  .lg-standalone {
    padding: 12px;
  }

  .lg-standalone-frame {
    border-radius: 16px;
  }

  .lg-standalone-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .lg-standalone-status {
    width: 100%;
  }

  .lg-standalone-body {
    padding: 32px 16px;
  }

  .lg-requested-path {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lg-standalone-actions {
    width: 100%;
    flex-direction: column;
  }

  .lg-standalone-actions .lg-submit {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .lg-page .turnstile-field {
    width: 100%;
    height: 54px;
    overflow: hidden;
  }

  .lg-page .cf-turnstile {
    width: 300px;
    transform: scale(0.84);
    transform-origin: top left;
  }
}

@media (max-width: 340px) {
  .lg-page .turnstile-field {
    height: 47px;
  }

  .lg-page .cf-turnstile {
    transform: scale(0.72);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lg-page *,
  .lg-page *::before,
  .lg-page *::after,
  .ac-standalone *,
  .ac-standalone *::before,
  .ac-standalone *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body:is(.page-login, .page-register, .page-account, .page-saved, .page-my-bids, .page-winning-deals, .page-auth),
.lg-page {
  background: var(--cinema-ink);
}

.lg-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: var(--page-hero-pad-top) 0 104px;
  overflow: clip;
  background: var(--cinema-ink);
  color: var(--cinema-text);
}

.lg-page::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: min(10vw, 140px) min(10vw, 140px);
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  content: "";
  pointer-events: none;
}

.lg-page::after {
  position: absolute;
  z-index: -1;
  top: -24%;
  right: -15%;
  width: min(62vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--amber-rgb), .2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--amber-rgb), .15), transparent 68%);
  content: "";
  pointer-events: none;
}

.lg-page > .container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
}

.lg-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 680px);
  gap: clamp(40px, 4.5vw, 64px);
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lg-page--register .lg-shell,
.lg-page--identity .lg-shell,
.lg-page--login .lg-shell,
.lg-page--recovery .lg-shell,
.lg-page--verification .lg-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 680px);
}

.lg-info {
  gap: 24px;
  padding: 4px 0 0;
  overflow: visible;
  background: transparent;
  color: var(--cinema-text);
}

.lg-info::after {
  display: none;
}

.lg-info .breadcrumb {
  min-height: 0;
  margin-bottom: var(--page-breadcrumb-gap, 18px);
  color: var(--cinema-muted);
}

.lg-info .breadcrumb a {
  color: var(--cinema-muted);
}

.lg-info .breadcrumb a:hover {
  color: var(--cinema-text);
}

.lg-eyebrow {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cinema-muted);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-transform: none;
}

.lg-eyebrow strong {
  background: none;
  color: #DCA56A;
  -webkit-text-fill-color: currentColor;
}

.lg-title {
  max-width: 12ch;
  color: var(--cinema-text);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 580;
  letter-spacing: -.07em;
  line-height: .92;
}

.lg-title em {
  background: none;
  color: #DCA56A;
  font-weight: inherit;
  -webkit-text-fill-color: currentColor;
}

.lg-title .lime-grad {
  background: none;
  color: #A4D0C9;
  -webkit-text-fill-color: currentColor;
}

.lg-page--recovery .lg-title em,
.lg-page--verification .lg-title em {
  color: #DCA56A;
}

.lg-subtitle {
  max-width: 640px;
  color: var(--cinema-muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.lg-perks {
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  background: transparent;
}

.lg-perks li {
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.lg-perk-icon,
.lg-perk-icon.amber {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--lime-rgb), .15);
  color: #A4D0C9;
  font-size: 1.05rem;
}

.lg-perk-icon.amber {
  background: rgba(var(--amber-rgb), .15);
  color: #DCA56A;
}

.lg-perk-text strong {
  color: var(--cinema-text);
  font-size: .9rem;
}

.lg-perk-text span {
  color: var(--cinema-muted);
  font-size: .79rem;
  line-height: 1.58;
}

.lg-workflow {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.lg-workflow li {
  border-bottom-color: rgba(255, 255, 255, .14);
}

.lg-form-wrap {
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 680px;
  justify-self: stretch;
  padding: 0;
  background: transparent;
}

.lg-form-card {
  width: 100%;
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-section, 24px);
  background: var(--surface-warm, #f5f1ea);
  box-shadow: 0 42px 110px rgba(0, 0, 0, .3);
  color: var(--text);
}

.lg-form-eyebrow {
  min-height: 0;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--amber, #E4B27B);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-transform: none;
}

.lg-form-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 590;
  letter-spacing: -.055em;
  line-height: 1;
}

.lg-form-desc {
  margin: 14px 0 24px;
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.68;
}

.lg-label {
  color: var(--text);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.lg-input {
  min-height: 50px;
  border-color: var(--border, #cbd5d8);
  border-radius: var(--radius-control, 10px);
  background-color: var(--surface, #fff);
}

.lg-input:focus {
  border-color: var(--lime, #0F5C5E);
  box-shadow: 0 0 0 3px rgba(var(--lime-rgb), .14);
}

.lg-input-wrap:focus-within .lg-input-icon {
  color: var(--lime, #0F5C5E);
}

.lg-forgot,
.lg-switch a,
.lg-help-link,
.lg-check-text a {
  color: var(--lime, #0F5C5E);
  text-decoration-color: rgba(var(--lime-rgb), .34);
}

.lg-forgot:hover,
.lg-switch a:hover,
.lg-help-link:hover,
.lg-check-text a:hover {
  color: var(--brand-primary-strong, #0A494B);
}

.lg-page .lg-submit {
  min-height: 52px;
  margin-top: 4px;
  border-color: var(--cinema-ink);
  border-radius: var(--button-radius);
  background: var(--cinema-ink);
  color: var(--cinema-text);
}

.lg-page .lg-submit:hover {
  border-color: var(--cinema-graphite, #1a2529);
  background: var(--cinema-graphite, #1a2529);
  color: #FFF;
}

.lg-page a.btn-secondary.lg-submit {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.lg-page a.btn-secondary.lg-submit:hover {
  border-color: var(--lime, #0F5C5E);
  background: var(--surface-soft, #e8eceb);
  color: var(--text);
}

.lg-card-footer {
  border-top-color: var(--border, #cbd5d8);
}

.lg-card-trust {
  color: var(--text-2);
  font-family: var(--font);
  font-size: .72rem;
  letter-spacing: .01em;
}

.lg-card-trust i {
  color: var(--lime, #0F5C5E);
}

.lg-help-card {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-card, 16px);
  background: rgba(255, 255, 255, .05);
}

.lg-help-icon {
  border-radius: 50%;
  background: rgba(var(--lime-rgb), .18);
  color: #A4D0C9;
}

.lg-help-text strong {
  color: var(--cinema-text);
}

.lg-help-text span {
  color: var(--cinema-muted);
}

.lg-help-link {
  color: #DCA56A;
  text-decoration-color: rgba(220, 165, 106, .4);
}

.lg-help-link:hover {
  color: #F0C89A;
}

.lg-page :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(220, 165, 106, .5);
  outline-offset: 3px;
}

.lg-result-icon {
  border-color: rgba(15, 92, 94, .2);
  background: rgba(15, 92, 94, .08);
}

@media (min-width: 1101px) {
  .lg-form-wrap {
    position: sticky;
    top: calc(var(--nav-h) + 10px);
    align-self: start;
  }
}

@media (max-width: 1100px) {
  .lg-shell,
  .lg-page--register .lg-shell,
  .lg-page--identity .lg-shell,
  .lg-page--login .lg-shell,
  .lg-page--recovery .lg-shell,
  .lg-page--verification .lg-shell {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .lg-info {
    padding: 0;
  }

  .lg-title {
    max-width: 18ch;
  }

  .lg-form-wrap {
    position: static;
    max-width: none;
    justify-self: stretch;
    padding: 0;
  }

  .lg-shell,
  .lg-page--register .lg-shell,
  .lg-page--identity .lg-shell,
  .lg-page--login .lg-shell,
  .lg-page--recovery .lg-shell,
  .lg-page--verification .lg-shell {
    width: min(720px, 100%);
  }
}

@media (max-width: 680px) {
  .lg-page {
    padding: var(--page-hero-pad-top) 0 64px;
  }

  .lg-form-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .lg-form-wrap {
    order: -1;
  }

  .lg-title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .lg-perks {
    display: flex;
    flex-direction: column;
  }

  .lg-page--recovery .lg-perks {
    display: none;
  }

  .lg-page--recovery .lg-info {
    gap: 16px;
  }

  .lg-check-box {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}

@media (max-width: 390px) {
  .lg-page .cf-turnstile {
    margin-inline: auto;
    transform-origin: top center;
  }
}
