:root {
  color-scheme: dark;
  --bg: #080807;
  --panel: rgba(18, 17, 14, 0.88);
  --panel-strong: rgba(26, 23, 18, 0.96);
  --line: rgba(212, 177, 98, 0.38);
  --gold: #d7b46a;
  --gold-bright: #f4d993;
  --text: #f7f2e8;
  --muted: #b7aa92;
  --danger: #ff7777;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -12%, rgba(210, 169, 84, 0.11), transparent 30%),
    linear-gradient(180deg, #0d0c0a 0%, #040404 52%, #090806 100%);
  color: var(--text);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(215, 180, 106, 0.08);
  border-right: 1px solid rgba(215, 180, 106, 0.08);
}

.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 18%, rgba(244, 217, 147, 0.035) 50%, transparent 74%);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 64%, transparent);
}

.view {
  min-height: 100vh;
  min-height: 100svh;
  padding: max(16px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  display: none;
}

.view.active {
  display: flex;
  flex-direction: column;
}

.view:not(.loading-view).active {
  animation: pageReveal 360ms ease both;
}

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

.loading-view {
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background:
    radial-gradient(circle at 50% 46%, rgba(170, 130, 58, 0.08), transparent 32%),
    linear-gradient(180deg, #050403 0%, #090805 52%, #020202 100%);
  isolation: isolate;
}

.loading-view.active {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  pointer-events: auto;
}

.splash-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020202;
  z-index: 1;
}

.intro-fallback {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(84vw, 360px);
  padding: 24px 18px;
  text-align: center;
}

.intro-fallback-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.intro-fallback-brand span {
  color: var(--gold-bright);
  font-size: clamp(42px, 11vw, 64px);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.intro-fallback-brand strong {
  color: rgba(244, 217, 147, 0.72);
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.intro-enter-btn {
  width: min(240px, 72vw);
  min-height: 46px;
  border: 1px solid rgba(244, 217, 147, 0.62);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(215, 180, 106, 0.88), rgba(158, 123, 55, 0.88));
  color: #0c0905;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.intro-enter-btn:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.tap-to-play-intro {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 50% 40%, rgba(196, 156, 86, 0.2), transparent 35%),
    linear-gradient(180deg, #101010 0%, #050505 100%) !important;
  color: #f5e6c8 !important;
}

.tap-intro-card {
  padding: 28px 24px;
  text-align: center;
}

.tap-intro-logo {
  color: #f3d28c;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-shadow: 0 0 18px rgba(232, 190, 112, 0.35);
}

.tap-intro-title {
  margin-top: 10px;
  color: rgba(255, 245, 220, 0.92);
  font-size: 17px;
  letter-spacing: 0.12em;
}

.tap-intro-button {
  margin-top: 24px;
  padding: 12px 28px;
  border: 1px solid rgba(224, 180, 96, 0.75);
  border-radius: 999px;
  background: linear-gradient(135deg, #d7ad5f, #8f682c);
  color: #14100a;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tap-intro-tip {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.intro-debug-panel {
  position: fixed;
  right: 8px;
  bottom: 8px;
  z-index: 100000;
  width: min(88vw, 360px);
  max-height: 42vh;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid rgba(244, 217, 147, 0.38);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.82);
  color: rgba(244, 217, 147, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
  white-space: pre-wrap;
}

.brand-mark {
  z-index: 2;
}

.brand-mark.video-mode {
  opacity: 0;
}

.loading-view.intro-leaving {
  animation: introLeave 260ms cubic-bezier(0.42, 0, 0.2, 1) both;
}

@keyframes introLeave {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.brand-mark {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  position: relative;
  width: min(86vw, 430px);
  height: 118px;
  padding: 0 12px;
  overflow: hidden;
  transform: translateY(-4vh);
  opacity: 0;
  animation: logoGhostIn 220ms cubic-bezier(0.3, 0, 0.2, 1) 120ms both;
}

.loading-view.intro-leaving .brand-mark {
  animation: logoFloatOut 260ms cubic-bezier(0.42, 0, 0.2, 1) both;
}

.brand-mark span,
.topbar span {
  color: var(--gold-bright);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-mark span {
  font-size: clamp(46px, 11vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.16em;
  color: #efd38a;
  text-shadow: 0 0 16px rgba(170, 130, 58, 0.08);
}

.brand-mark small,
.topbar small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.brand-mark small {
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: none;
  color: rgba(239, 211, 138, 0.85);
  text-shadow: 0 0 12px rgba(170, 130, 58, 0.08);
}

@keyframes logoGhostIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes logoFloatOut {
  from {
    transform: translateY(-4vh);
    opacity: 0.98;
  }
  to {
    transform: translateY(calc(-4vh - 6px));
    opacity: 0;
  }
}

@keyframes logoReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes chopinSheen {
  0% {
    left: -45%;
    opacity: 0;
  }
  12% {
    opacity: 0.62;
  }
  72% {
    opacity: 0.72;
  }
  100% {
    left: 116%;
    opacity: 0;
  }
}

.auth-word,
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.identity-panel,
.form-panel,
.digital-card,
.alert-panel,
.landing-panel {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 28%),
    var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  padding: 18px;
}

.alert-panel,
.landing-panel {
  margin: auto 0;
}

.identity-panel,
.digital-card {
  margin: 0;
}

.landing-view {
  justify-content: center;
}

.landing-panel {
  min-height: calc(100svh - 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 30px 24px 20px;
  border-color: rgba(215, 180, 106, 0.2);
  background:
    radial-gradient(circle at 50% 20%, rgba(244, 217, 147, 0.065), transparent 34%),
    linear-gradient(155deg, rgba(244, 217, 147, 0.032), transparent 28%),
    linear-gradient(180deg, rgba(16, 15, 12, 0.92), rgba(4, 4, 4, 0.98));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.landing-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.landing-brand span {
  color: var(--gold-bright);
  font-size: clamp(42px, 13vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.landing-brand strong {
  color: #efe6d4;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.landing-brand small {
  color: rgba(183, 170, 146, 0.8);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.landing-copy {
  text-align: center;
}

.landing-copy h1 {
  margin: 0 0 10px;
  color: #f1e5ca;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.landing-copy p:last-child {
  margin: 0;
  color: rgba(183, 170, 146, 0.86);
  font-size: 14px;
  line-height: 1.6;
}

.scan-primary-btn {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(244, 217, 147, 0.42);
  border-radius: 10px;
  color: #17130b;
  cursor: pointer;
  background:
    linear-gradient(115deg, rgba(255, 247, 211, 0.38), transparent 28%),
    linear-gradient(135deg, #dec783, #b79047 52%, #806231);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 245, 206, 0.3);
  align-content: center;
  justify-items: center;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.scan-primary-btn span {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.scan-primary-btn strong {
  font-size: 16px;
  font-weight: 800;
}

.scan-primary-btn:active {
  transform: translateY(1px);
  filter: brightness(0.96);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 245, 206, 0.22);
}

.code-entry-form {
  display: grid;
  gap: 9px;
  padding-top: 4px;
}

.code-entry-form label {
  color: rgba(183, 170, 146, 0.86);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.code-entry-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 8px;
}

.code-entry-form input,
.code-entry-form button {
  min-height: 43px;
  border-radius: 8px;
  font: inherit;
}

.code-entry-form input {
  min-width: 0;
  border: 1px solid rgba(215, 180, 106, 0.28);
  padding: 0 12px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.32);
}

.code-entry-form button {
  border: 1px solid var(--line);
  color: #17130b;
  background: linear-gradient(135deg, #e3c982, #b99046 52%, #8b682e);
  font-weight: 750;
}

.landing-footer {
  margin-top: auto;
  text-align: center;
}

.icp-footer {
  margin-top: 18px;
  padding: 12px 12px 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(210, 190, 140, 0.45);
}

.icp-footer a {
  color: rgba(210, 190, 140, 0.52);
  font-size: 11px;
  text-decoration: none;
}

.icp-footer a:active {
  color: rgba(240, 216, 150, 0.75);
}

h1 {
  margin: 6px 0 14px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
}

.product-grid,
.card-fields {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.product-grid {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.verify-metric {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 0 9px;
  border-bottom: 1px solid rgba(215, 180, 106, 0.13);
}

.verify-metric.wide {
  grid-column: 1 / -1;
}

.verify-metric span {
  color: rgba(183, 170, 146, 0.82);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.verify-metric strong {
  min-width: 0;
  color: #efe6d4;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.field-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(215, 180, 106, 0.15);
}

.field-row span:first-child {
  color: var(--muted);
  font-size: 13px;
}

.field-row span:last-child {
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}

.primary-btn,
.secondary-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.primary-btn {
  color: #17130b;
  background: linear-gradient(135deg, #dbc37d, #b38d45 50%, #7f602e);
  font-weight: 700;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 245, 206, 0.3);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.primary-btn:active {
  transform: translateY(1px);
  filter: brightness(0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 245, 206, 0.22);
}

.secondary-btn {
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.035);
}

.form-panel {
  margin: 0;
}

.form-panel label {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.form-panel input,
.form-panel select {
  min-height: 43px;
  width: 100%;
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.34);
}

.privacy-row {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
}

.privacy-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.link-btn {
  color: var(--gold-bright);
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: underline;
}

.form-note,
.summary-text,
.notice,
.success-sub {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-note {
  margin: 12px 0 8px;
}

.error-text {
  min-height: 18px;
  color: var(--danger);
  font-size: 12px;
  margin: 4px 0 10px;
}

.success-line {
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.notice {
  border: 1px solid rgba(215, 180, 106, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(215, 180, 106, 0.06);
}

.countdown-box {
  border: 1px solid rgba(215, 180, 106, 0.25);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  background: var(--panel-strong);
}

.countdown-box span {
  color: var(--muted);
  font-size: 13px;
}

.countdown-box strong {
  display: block;
  color: var(--gold-bright);
  font-size: 24px;
  margin-top: 6px;
}

.button-stack {
  display: grid;
  gap: 10px;
}

.identity-card {
  margin: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 18px 16px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(180deg, rgba(18, 16, 12, 0.9), rgba(5, 5, 5, 0.98));
}

.identity-brand {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 2px 0 14px;
  border-bottom: 1px solid rgba(215, 180, 106, 0.22);
}

.brand-logo {
  color: var(--gold-bright);
  font-size: clamp(34px, 10.5vw, 48px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.brand-cn {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.card-type {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.auth-zone {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 15px 0 8px;
  text-align: center;
}

.auth-zone span {
  color: var(--gold-bright);
  background: rgba(244, 217, 147, 0.035);
  border: 1px solid rgba(244, 217, 147, 0.34);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 0 22px rgba(215, 180, 106, 0.07);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.auth-zone strong {
  color: #d8caa9;
  font-size: 14px;
  font-weight: 500;
}

.credential-fields {
  display: grid;
  gap: 11px;
  margin: 13px 0 12px;
}

.credential-item {
  display: grid;
  gap: 6px;
}

.credential-item span {
  color: rgba(183, 170, 146, 0.86);
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.16em;
}

.credential-item strong {
  color: #efe6d4;
  font-size: 16px;
  line-height: 1.22;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.credential-item:nth-child(2) strong {
  color: #e5d4ac;
  font-size: 13px;
  line-height: 1.35;
}

.precise-countdown {
  margin: 10px 0 12px;
  padding: 11px 10px 10px;
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(215, 180, 106, 0.18);
}

.precise-countdown > span {
  display: block;
  text-align: center;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.countdown-blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.countdown-blocks div {
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 1px solid rgba(215, 180, 106, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.014);
  box-shadow: inset 0 0 18px rgba(215, 180, 106, 0.025);
}

.countdown-blocks strong {
  display: block;
  margin: 0;
  color: #e8d39a;
  font-size: clamp(18px, 5.3vw, 23px);
  line-height: 1;
  font-weight: 700;
}

.countdown-blocks small {
  color: rgba(183, 170, 146, 0.74);
  font-size: 10px;
}

.expired-text {
  margin: 10px 0 0;
  color: var(--danger);
  text-align: center;
  font-size: 13px;
}

.identity-actions {
  display: grid;
  gap: 9px;
}

.advisor-btn {
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 7px 14px;
}

.advisor-btn span {
  font-size: 8px;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.advisor-btn strong {
  font-size: 14px;
  font-weight: 750;
}

.secondary-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.text-btn {
  min-height: 34px;
  border: 1px solid rgba(215, 180, 106, 0.2);
  border-radius: 8px;
  color: rgba(244, 217, 147, 0.82);
  background: rgba(255, 255, 255, 0.012);
  font-size: 13px;
}

.text-btn.inline {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
}

.detail-drawer {
  border-top: 1px solid rgba(215, 180, 106, 0.1);
  margin-top: 12px;
  padding-top: 10px;
  color: var(--muted);
  opacity: 0.72;
}

.detail-drawer summary {
  cursor: pointer;
  color: rgba(183, 170, 146, 0.8);
  font-size: 12px;
}

.detail-fields {
  margin: 8px 0 0;
}

.drawer-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.notice.refined {
  margin: 13px 0 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid rgba(215, 180, 106, 0.14);
  border-radius: 0;
  background: transparent;
  color: rgba(183, 170, 146, 0.7);
  font-size: 12px;
}

.qr-fallback {
  margin-top: 16px;
  display: grid;
  place-items: center;
  gap: 8px;
}

.qr-fallback img {
  width: 190px;
  max-width: 72vw;
  border: 8px solid white;
}

.danger {
  color: var(--danger);
}

.hidden {
  display: none !important;
}

.content-dialog {
  width: min(92vw, 440px);
  max-height: 82vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px 18px;
  color: var(--text);
  background: #11100d;
}

.content-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
}

#dialogContent {
  max-height: 72vh;
  overflow: auto;
  line-height: 1.72;
  font-size: 14px;
}

#dialogContent h1,
#dialogContent h2 {
  font-size: 18px;
  margin: 18px 0 10px;
}

@media (max-width: 360px) {
  .view {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 23px;
  }

  .identity-panel,
  .form-panel,
  .digital-card,
  .alert-panel {
    padding: 18px;
  }
}


#buildVersionBadge {
  position: fixed !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 2147483647 !important;
  padding: 4px 7px !important;
  border-radius: 6px !important;
  background: rgba(255, 0, 0, 0.78) !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-family: Arial, sans-serif !important;
  pointer-events: none !important;
}


/* S7_RATIO_FIX_20260705 */
.intro-video-layer {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #000 !important;
}

.splash-video,
.intro-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  zoom: 1 !important;
  background: #000 !important;
  display: block !important;
}

@supports (height: 100dvh) {
  .intro-video-layer,
  .splash-video,
  .intro-video {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
  }
}

#buildVersionBadge {
  display: none !important;
}

body.debug-intro #buildVersionBadge {
  display: block !important;
}

.intro-debug-panel {
  position: fixed !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 10px !important;
  width: auto !important;
  max-height: 28vh !important;
  overflow: auto !important;
  z-index: 2147483647 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  opacity: 0.82 !important;
}


/* S7_ACTIVATE_CLICK_FIX_20260705 */
.intro-video-layer:not(.active) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.intro-video-layer.active {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
