:root {
  --bg: #04131f;
  --bg-deep: #020b13;
  --panel: rgba(9, 25, 40, 0.72);
  --panel-strong: rgba(10, 29, 48, 0.92);
  --line: rgba(139, 202, 255, 0.16);
  --line-strong: rgba(139, 202, 255, 0.28);
  --text: #f4fbff;
  --muted: #9bb4c7;
  --accent: #58e0ff;
  --accent-strong: #17bfff;
  --accent-soft: rgba(88, 224, 255, 0.18);
  --field-title: #d1edff;
  --field-title-strong: #ebf8ff;
  --success: #67f3c2;
  --warn: #ff8a7a;
  --error-line: rgba(229, 133, 122, 0.42);
  --error-line-strong: rgba(240, 154, 144, 0.62);
  --error-soft: rgba(255, 138, 122, 0.1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(23, 191, 255, 0.14), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(74, 120, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #061524 0%, #03101a 100%);
  font-family: "Segoe UI Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

body {
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px 70px;
}

.icp-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  text-align: center;
  color: rgba(177, 211, 230, 0.58);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.icp-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.icp-link:hover,
.icp-link:focus-visible {
  color: rgba(224, 246, 255, 0.84);
  border-bottom-color: rgba(88, 224, 255, 0.36);
  outline: none;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.48;
  pointer-events: none;
}

.ambient-a {
  top: 5%;
  right: 8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(23, 191, 255, 0.38), rgba(23, 191, 255, 0) 72%);
}

.ambient-b {
  bottom: 6%;
  left: 0;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(103, 243, 194, 0.18), rgba(103, 243, 194, 0) 72%);
}

.grid-mask {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 145, 191, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 145, 191, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 82%);
  opacity: 0.34;
  pointer-events: none;
}

.hero-layout,
.simple-layout {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 500px);
  gap: 28px;
  align-items: stretch;
}

.simple-layout {
  display: block;
}

.hero-copy,
.hero-form {
  min-width: 0;
}

.hero-form-centered {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  transform: translateY(-28px);
}

.support-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 100%;
}

.hero-panel,
.signal-card,
.auth-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 32, 50, 0.8), rgba(7, 18, 29, 0.78));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.hero-eyebrow,
.card-kicker,
.signal-label,
.download-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel h2,
.card-head h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
}

.hero-panel h2 {
  max-width: none;
  font-size: clamp(30px, 3.2vw, 42px);
}

.hero-desc {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-desc code {
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(88, 224, 255, 0.1);
  color: #c7f6ff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 224, 255, 0.14);
  background: rgba(7, 18, 29, 0.42);
  color: rgba(222, 248, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-orbit {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: 250px;
  height: 250px;
  opacity: 0.82;
  pointer-events: none;
}

.orbit-ring,
.orbit-core,
.orbit-node {
  position: absolute;
  border-radius: 50%;
}

.orbit-ring-a {
  inset: 8px;
  border: 1px solid rgba(88, 224, 255, 0.16);
}

.orbit-ring-b {
  inset: 42px;
  border: 1px solid rgba(88, 224, 255, 0.12);
}

.orbit-core {
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #c7f6ff 0%, #51d8ff 48%, #0c6e95 100%);
  box-shadow: 0 0 28px rgba(88, 224, 255, 0.28);
}

.orbit-node {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(88, 224, 255, 0.28);
}

.orbit-node-a {
  top: 38px;
  right: 52px;
}

.orbit-node-b {
  bottom: 44px;
  left: 28px;
}

.hero-footnote {
  position: absolute;
  left: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.hero-footnote-line {
  flex: 0 0 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(88, 224, 255, 0.42), rgba(88, 224, 255, 0));
}

.hero-footnote p {
  margin: 0;
  color: rgba(155, 180, 199, 0.78);
  font-size: 13px;
  line-height: 1.7;
}

.auth-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 100%;
  width: min(100%, 576px);
  padding: 46px 38px 24px;
  flex: 0 0 auto;
}

.card-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 191, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.card-head {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  text-align: center;
}

.card-head h3 {
  font-size: clamp(32px, 4.2vw, 46px);
  margin: 0;
}

.license-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.field {
  display: block;
  margin-bottom: 0;
}

.field-intro {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.field-label-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: rgba(191, 236, 255, 0.9);
  opacity: 0.92;
  margin-top: 1px;
  transition: color 220ms ease, opacity 220ms ease, transform 260ms ease;
}

.field-label-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 224, 255, 0.045), rgba(88, 224, 255, 0) 72%);
  opacity: 0.4;
  transition: opacity 220ms ease, background 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.field-label-icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 224, 255, 0.08), rgba(88, 224, 255, 0) 74%);
  pointer-events: none;
  transition: opacity 260ms ease, transform 320ms ease;
}

.field-label-icon svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(108, 214, 255, 0.08));
}

.field-label-icon-fingerprint svg {
  width: 28px;
  height: 28px;
}

.field-label-icon-order {
  color: rgba(184, 238, 224, 0.92);
}

.field-label-icon-order::before {
  background: radial-gradient(circle, rgba(103, 243, 194, 0.05), rgba(103, 243, 194, 0) 72%);
}

.field-label-icon-order::after {
  background: radial-gradient(circle, rgba(103, 243, 194, 0.09), rgba(103, 243, 194, 0) 72%);
}

.license-form.icons-animating .field-label-icon {
  animation: iconBreath 4.6s ease-in-out infinite;
}

.license-form.icons-animating .field-label-icon::after {
  animation: iconGlowBreath 4.6s ease-in-out infinite;
}

.license-form.is-fingerprint-active .field-label-icon,
.license-form.is-order-active .field-label-icon,
.license-form.is-fingerprint-active .field-label-icon::after,
.license-form.is-order-active .field-label-icon::after {
  animation: none;
}

.license-form.is-fingerprint-active .field-label-icon,
.license-form.is-order-active .field-label-icon {
  opacity: 0.68;
}

.license-form.is-fingerprint-active .field-label-icon-fingerprint {
  color: rgba(206, 243, 255, 0.98);
  opacity: 1;
  transform: translateY(-0.5px);
}

.license-form.is-order-active .field-label-icon-order {
  color: rgba(205, 246, 234, 0.98);
  opacity: 1;
  transform: translateY(-0.5px);
}

.license-form.is-fingerprint-active .field-label-icon-fingerprint::before {
  opacity: 0.98;
  background: radial-gradient(circle, rgba(88, 224, 255, 0.16), rgba(88, 224, 255, 0) 72%);
  transform: scale(1.025);
}

.license-form.is-order-active .field-label-icon-order::before {
  opacity: 0.98;
  background: radial-gradient(circle, rgba(103, 243, 194, 0.16), rgba(103, 243, 194, 0) 72%);
  transform: scale(1.025);
}

.license-form.is-fingerprint-active .field-label-icon-fingerprint::after,
.license-form.is-order-active .field-label-icon-order::after {
  opacity: 1;
}

.license-form.is-fingerprint-active .field-label-icon-order::before,
.license-form.is-order-active .field-label-icon-fingerprint::before {
  opacity: 0.18;
  transform: scale(0.98);
}

.license-form.is-fingerprint-active .field-label-icon-order::after,
.license-form.is-order-active .field-label-icon-fingerprint::after {
  opacity: 0.34;
}

.field-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.field-label {
  display: block;
  color: var(--field-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.field-hint {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.field-shell {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(108, 170, 211, 0.18);
  background: linear-gradient(180deg, rgba(4, 13, 22, 0.92), rgba(5, 16, 27, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018), 0 8px 24px rgba(1, 10, 17, 0.18);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.field-shell:focus-within {
  border-color: rgba(88, 224, 255, 0.46);
  background: linear-gradient(180deg, rgba(5, 18, 30, 0.95), rgba(7, 21, 33, 0.86));
  box-shadow: 0 0 0 3px rgba(88, 224, 255, 0.085), 0 14px 30px rgba(6, 28, 41, 0.24);
  transform: translateY(-0.5px);
}

.field.is-invalid .field-shell {
  border-color: var(--error-line);
  background: linear-gradient(180deg, rgba(16, 12, 16, 0.95), rgba(11, 10, 14, 0.84));
  box-shadow: 0 0 0 1px rgba(255, 138, 122, 0.028), 0 10px 24px rgba(36, 16, 15, 0.18);
}

.field.is-invalid .field-shell:focus-within {
  border-color: var(--error-line-strong);
  background: linear-gradient(180deg, rgba(22, 14, 18, 0.97), rgba(15, 11, 15, 0.88));
  box-shadow: 0 0 0 3px var(--error-soft), 0 16px 32px rgba(50, 20, 17, 0.22);
  transform: translateY(-0.5px);
}

.field.is-invalid .field-shell input::placeholder {
  color: rgba(183, 151, 152, 0.54);
}

.field-shell input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 20px 20px 19px;
  font-size: 17px;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.field-shell input::placeholder {
  color: rgba(161, 187, 205, 0.5);
}

.action-row {
  margin-top: 8px;
}

.support-entry-row {
  display: flex;
  justify-content: center;
  margin-top: -2px;
}

.support-entry-row.after-feedback {
  margin-top: 14px;
}

.support-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: rgba(176, 207, 226, 0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.support-toggle:hover,
.support-toggle:focus-visible {
  color: rgba(223, 245, 255, 0.96);
  transform: translateY(-1px);
  outline: none;
}

.support-toggle[aria-expanded="true"] {
  color: rgba(146, 231, 255, 0.96);
}

.support-toggle-text {
  position: relative;
}

.support-toggle-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, rgba(88, 224, 255, 0), rgba(88, 224, 255, 0.42), rgba(88, 224, 255, 0));
  opacity: 0.7;
}

.support-toggle-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  transition: transform 220ms ease;
}

.support-toggle[aria-expanded="true"] .support-toggle-icon {
  transform: rotate(180deg);
}

.support-toggle-icon svg {
  width: 100%;
  height: 100%;
}

.support-panel {
  position: relative;
  width: 236px;
  flex: 0 0 236px;
  border: 1px solid rgba(139, 202, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 32, 50, 0.78), rgba(7, 18, 29, 0.74));
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  opacity: 0;
  transform: translateX(-24px) scale(0.96);
  transform-origin: left center;
  pointer-events: none;
}

.support-layout.support-open .support-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.support-panel.is-visible {
  animation: supportPanelReveal 280ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.support-panel.is-hiding {
  animation: supportPanelHide 220ms ease forwards;
}

.support-panel-glow {
  position: absolute;
  top: -84px;
  right: -64px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 224, 255, 0.2), rgba(88, 224, 255, 0) 72%);
  pointer-events: none;
}

.support-panel-inner {
  position: relative;
  z-index: 1;
  padding: 18px 18px 24px;
}

.support-panel-title {
  margin: 0 0 14px;
  color: rgba(239, 249, 255, 0.96);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.support-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(137, 198, 235, 0.16);
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(238, 247, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 14px 32px rgba(4, 17, 28, 0.2);
}

.support-qr-image {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
}

.primary-button,
.ghost-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-button {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  overflow: hidden;
  border-radius: 19px;
  font-size: 17px;
  color: #0f3246;
  text-shadow: none;
  background: linear-gradient(135deg, #9bf8ff 0%, #39d0ff 38%, #2f84ff 100%);
  box-shadow: 0 16px 30px rgba(23, 191, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.button-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 480ms ease;
}

.primary-button:hover .button-shine {
  transform: translateX(120%);
}

.feedback-stage {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  overflow: hidden;
  transition: margin-top 180ms ease, min-height 180ms ease;
}

.feedback-stage.is-empty {
  margin-top: 0;
}

.auth-card.has-feedback {
  padding-bottom: 24px;
}

.auth-card .feedback-stage {
  margin-top: 24px;
}

.auth-card .feedback-stage.is-empty {
  margin-top: 0;
}

.auth-card .feedback-stage.is-empty + .support-entry-row.after-feedback {
  margin-top: 14px;
}

.auth-card .feedback-stage:not(.is-empty) + .support-entry-row.after-feedback {
  margin-top: 16px;
}

.status-panel,
.download-box {
  border-radius: 20px;
  width: 100%;
  margin-top: 0;
}

.status-panel,
.download-box {
  border-radius: 20px;
}

.status-panel {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(139, 202, 255, 0.14);
  background: rgba(5, 16, 28, 0.76);
}

.status-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(155, 180, 199, 0.35);
  box-shadow: 0 0 0 6px rgba(155, 180, 199, 0.08);
}

.status-panel.is-success .status-icon {
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(103, 243, 194, 0.12);
}

.status-panel.is-error .status-icon {
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(255, 138, 122, 0.12);
}

.status-panel.is-loading .status-icon {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(88, 224, 255, 0.12);
  animation: pulse 1.1s infinite ease-in-out;
}

.status-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.status-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.26;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  text-wrap: balance;
}

.status-text {
  margin: 0;
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  text-wrap: pretty;
}

.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 20px 22px;
  border: 1px solid rgba(103, 243, 194, 0.255);
  background: linear-gradient(180deg, rgba(14, 45, 48, 0.955), rgba(11, 34, 36, 0.935));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(5, 23, 24, 0.115);
}

.download-copy strong {
  display: block;
  margin-bottom: 9px;
  font-size: 23px;
  line-height: 1.14;
  letter-spacing: -0.014em;
}

.download-copy p {
  margin: 0;
  color: rgba(196, 221, 233, 0.92);
  line-height: 1.6;
}

.ghost-button {
  min-width: 156px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 17px;
  color: #d6fbff;
  border: 1px solid rgba(103, 243, 194, 0.22);
  background: rgba(103, 243, 194, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ghost-button:hover {
  color: #f4ffff;
  border-color: rgba(129, 247, 212, 0.34);
  background: linear-gradient(180deg, rgba(103, 243, 194, 0.13), rgba(88, 224, 255, 0.11));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 10px 24px rgba(40, 142, 121, 0.16);
}

.ghost-button:focus-visible {
  outline: none;
  color: #f4ffff;
  border-color: rgba(129, 247, 212, 0.36);
  background: linear-gradient(180deg, rgba(103, 243, 194, 0.12), rgba(88, 224, 255, 0.1));
  box-shadow: 0 0 0 3px rgba(103, 243, 194, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 10px 24px rgba(40, 142, 121, 0.16);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

@keyframes iconBreath {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.88;
  }
  50% {
    transform: translateY(-0.5px);
    opacity: 0.98;
  }
}

@keyframes iconGlowBreath {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.02);
  }
}

@keyframes supportPanelReveal {
  from {
    opacity: 0;
    transform: translateX(-24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes supportPanelHide {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-18px) scale(0.97);
  }
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel h2 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding: 22px 18px;
  }

  .simple-layout {
    display: block;
  }

  .hero-form-centered {
    width: 100%;
    max-width: 100%;
    transform: translateY(-10px);
  }

  .support-layout {
    flex-direction: column;
    gap: 18px;
  }

  .auth-card,
  .hero-panel {
    padding: 26px 24px;
  }

  .auth-card {
    width: 100%;
    padding-bottom: 20px;
  }

  .support-panel {
    width: auto;
    max-width: min(calc(100vw - 36px), 320px);
    flex-basis: auto;
    opacity: 1;
    transform: none;
    transform-origin: top center;
    align-self: center;
  }

  .support-layout:not(.support-open) .support-panel:not(.is-hiding) {
    display: none;
  }

  .support-layout.support-open .support-panel {
    transform: none;
  }

  .support-panel.is-visible {
    animation: supportPanelDrop 260ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .support-panel.is-hiding {
    animation: supportPanelFold 200ms ease forwards;
  }

  .hero-orbit {
    right: 18px;
    bottom: 24px;
    width: 180px;
    height: 180px;
    opacity: 0.56;
  }

  .hero-footnote {
    position: static;
    margin-top: 28px;
    max-width: none;
  }

  .download-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .ghost-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-form-centered {
    transform: none;
  }

  .hero-orbit {
    display: none;
  }

  .field-intro {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 12px;
    margin-bottom: 14px;
  }

  .field-label-icon {
    width: 30px;
    height: 30px;
  }

  .field-label-icon svg {
    width: 22px;
    height: 22px;
  }

  .field-label-icon-fingerprint svg {
    width: 25px;
    height: 25px;
  }

  .field-shell input {
    font-size: 15px;
    padding: 17px 16px;
  }

  .field-label {
    font-size: 15px;
  }

  .field-hint {
    font-size: 12px;
  }

  .support-panel-inner {
    padding: 14px 14px 18px;
  }

  .support-panel-title {
    font-size: 14px;
  }

  .support-qr-frame {
    padding: 8px;
    border-radius: 18px;
  }

  .support-qr-image {
    width: clamp(168px, 52vw, 204px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .support-panel {
    max-width: min(calc(100vw - 28px), 292px);
  }
}

@keyframes supportPanelDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes supportPanelFold {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
