body.entry-active {
  background: #030404;
}

body.entry-active::before,
body.entry-active #arenaBackdrop,
body.entry-active .site-header,
body.entry-active .mode-nav,
body.entry-active .app-shell {
  display: none;
}

.cinematic-entry {
  position: relative;
  z-index: 10;
  color: #f3f3ec;
  background: #030404;
}

.cinematic-entry[hidden] {
  display: none;
}

.cinematic-opening {
  position: relative;
  height: 190svh;
}

.cinematic-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: #030404;
}

#entryCanvas,
.entry-scanlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#entryCanvas {
  z-index: 0;
}

.entry-scanlines {
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.8;
}

.entry-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.entry-signature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f5c45f;
  text-decoration: none;
}

.entry-signature span {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 24px;
}

.entry-signature small,
.entry-header p {
  margin: 0;
  color: rgba(243, 243, 236, 0.58);
  font-family: Consolas, monospace;
  font-size: 10px;
  line-height: 1.45;
}

.entry-header p {
  text-align: right;
}

.entry-display-word {
  position: absolute;
  z-index: 1;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 190px;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.15s linear;
}

.entry-product {
  top: 14%;
  left: -12px;
  transform: translateX(calc(var(--entry-progress, 0) * -110px));
}

.entry-ycxg {
  right: -8px;
  bottom: 31%;
  color: rgba(245, 196, 95, 0.07);
  transform: translateX(calc(var(--entry-progress, 0) * 90px));
}

.entry-welcome-copy {
  position: absolute;
  z-index: 3;
  top: 25%;
  left: 5%;
  max-width: 590px;
}

.entry-welcome-copy p {
  margin: 0;
  color: #62d2bd;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.entry-welcome-copy h1 {
  margin: 18px 0 0;
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 86px;
  line-height: 1;
  font-weight: 900;
}

.entry-welcome-copy > span {
  display: block;
  margin-top: 20px;
  color: rgba(243, 243, 236, 0.72);
  font-size: 17px;
}

.entry-metric {
  position: absolute;
  z-index: 3;
  top: 23%;
  right: 5%;
  display: grid;
  grid-template-columns: 48px 260px 48px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.entry-metric button {
  width: 100%;
  height: 100%;
  min-height: 128px;
  border: 0;
  background: transparent;
  color: rgba(243, 243, 236, 0.66);
  font-size: 22px;
  cursor: pointer;
}

.entry-metric button:hover {
  color: #f5c45f;
  background: rgba(245, 196, 95, 0.08);
}

.entry-metric > div {
  min-width: 0;
  overflow: hidden;
  padding: 14px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.entry-metric strong,
.entry-metric span {
  display: block;
}

.entry-metric strong {
  color: #f5c45f;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 100px;
  line-height: 0.95;
  white-space: nowrap;
}

.entry-metric strong.is-switching {
  animation: entry-metric-switch 0.28s ease-out;
}

.entry-metric strong.is-compact {
  font-size: 72px;
}

.entry-metric span {
  margin-top: 8px;
  color: rgba(243, 243, 236, 0.56);
  font-size: 11px;
}

@keyframes entry-metric-switch {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

.entry-marquee {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 32%;
  left: 0;
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 4, 4, 0.42);
}

.entry-marquee > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: entry-marquee-run 30s linear infinite;
}

.entry-marquee span {
  color: rgba(243, 243, 236, 0.78);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.entry-marquee i {
  color: #f5c45f;
  font-size: 8px;
  font-style: normal;
}

@keyframes entry-marquee-run {
  to { transform: translateX(-50%); }
}

.entry-floating-info {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 5%;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.entry-floating-info article {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.entry-floating-info span,
.entry-floating-info strong {
  display: block;
}

.entry-floating-info span {
  color: #f5c45f;
  font-family: Consolas, monospace;
  font-size: 9px;
}

.entry-floating-info strong {
  margin-top: 9px;
  font-size: 16px;
}

.entry-floating-info p {
  max-width: 330px;
  margin: 8px 0 0;
  color: rgba(243, 243, 236, 0.54);
  font-size: 11px;
  line-height: 1.55;
}

.entry-scroll-command {
  position: absolute;
  z-index: 5;
  right: 34px;
  bottom: 22%;
  height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(3, 4, 4, 0.58);
  color: #f3f3ec;
  font-size: 11px;
  cursor: pointer;
}

.entry-scroll-command:hover {
  border-color: #f5c45f;
  color: #f5c45f;
}

.entry-index {
  position: relative;
  z-index: 6;
  padding: 110px 4% 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: #070909;
}

.entry-index-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 60px;
}

.entry-index-heading p {
  grid-column: 1 / -1;
  margin: 0 0 -18px;
  color: #62d2bd;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.entry-index-heading h2 {
  margin: 0;
  font-size: 72px;
  line-height: 1.04;
}

.entry-index-heading h2 span {
  color: #f5c45f;
}

.entry-index-heading > strong {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(243, 243, 236, 0.5);
  font-family: Consolas, monospace;
  font-size: 10px;
  text-align: right;
}

.entry-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.entry-map-panel,
.entry-reel-panel,
.entry-feed {
  min-width: 0;
  padding: 24px;
}

.entry-map-panel {
  grid-row: span 2;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.entry-reel-panel {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.entry-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.entry-panel-heading span {
  color: #62d2bd;
  font-family: Consolas, monospace;
  font-size: 9px;
}

.entry-panel-heading h3 {
  margin: 0;
  font-size: 15px;
}

#entryMapCanvas {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  margin-top: 22px;
  background: #0a0e0f;
}

.entry-map-panel > p {
  margin: 12px 0 0;
  color: rgba(243, 243, 236, 0.34);
  font-family: Consolas, monospace;
  font-size: 9px;
  text-align: right;
}

.entry-reel-window {
  position: relative;
  aspect-ratio: 16 / 8;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101616;
}

.entry-reel-window::before,
.entry-reel-window::after {
  content: "";
  position: absolute;
  background: rgba(98, 210, 189, 0.16);
}

.entry-reel-window::before {
  width: 1px;
  top: 0;
  bottom: 0;
  left: 50%;
}

.entry-reel-window::after {
  height: 1px;
  right: 0;
  bottom: 43%;
  left: 0;
}

.entry-reel-window > i {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #f5c45f;
  opacity: 0.55;
  animation: entry-reel-scan 3.8s linear infinite;
}

@keyframes entry-reel-scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(210px); }
}

.entry-rec,
.entry-reel-window b,
.entry-reel-window strong {
  position: absolute;
  z-index: 1;
}

.entry-rec {
  top: 14px;
  left: 14px;
  color: #ec7867;
  font-family: Consolas, monospace;
  font-size: 9px;
}

.entry-reel-window b {
  right: 14px;
  bottom: 12px;
  color: rgba(243, 243, 236, 0.48);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.entry-reel-window strong {
  top: 50%;
  left: 50%;
  color: rgba(243, 243, 236, 0.82);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 34px;
  line-height: 0.9;
  text-align: center;
  transform: translate(-50%, -50%);
}

.entry-feed ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.entry-feed li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.entry-feed time,
.entry-feed b {
  color: rgba(243, 243, 236, 0.42);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.entry-feed li span {
  min-width: 0;
  color: rgba(243, 243, 236, 0.72);
  font-size: 11px;
}

.entry-feed b {
  color: #f5c45f;
}

.entry-mode-launcher {
  margin-top: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.entry-mode-launcher button {
  width: 100%;
  min-height: 158px;
  display: grid;
  grid-template-columns: 110px minmax(280px, 1fr) minmax(210px, 0.6fr) 100px;
  gap: 24px;
  align-items: center;
  padding: 26px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #f3f3ec;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.entry-mode-launcher button:hover {
  padding-right: 8px;
  padding-left: 28px;
  background: #f5c45f;
  color: #090a0a;
}

.entry-mode-launcher button:nth-child(2):hover {
  background: #62d2bd;
}

.entry-mode-launcher button:nth-child(3):hover {
  background: #ec7867;
}

.entry-mode-launcher button:nth-child(4):hover {
  background: #58b8d4;
}

.entry-mode-launcher span {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 56px;
}

.entry-mode-launcher strong {
  font-size: 46px;
  line-height: 1.1;
}

.entry-mode-launcher small {
  color: rgba(243, 243, 236, 0.48);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.entry-mode-launcher button:hover small {
  color: currentColor;
}

.entry-mode-launcher i {
  font-style: normal;
  font-size: 12px;
  text-align: right;
}

.entry-master-share {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  margin-top: 112px;
  padding: 76px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #0a0e0f;
  box-shadow: 0 0 0 100vmax #0a0e0f;
  clip-path: inset(0 -100vmax);
  overflow: hidden;
}

.entry-master-share::before {
  content: "SCAN";
  position: absolute;
  top: 18px;
  left: -16px;
  color: rgba(255, 255, 255, 0.035);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 160px;
  line-height: 1;
  pointer-events: none;
}

.entry-master-copy,
.entry-master-figure {
  position: relative;
  z-index: 1;
}

.entry-master-copy > p:first-child,
.entry-master-figure figcaption span,
.entry-master-url span {
  color: #62d2bd;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.entry-master-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.04;
}

.entry-master-copy h2 span {
  color: #f5c45f;
}

.entry-master-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(243, 243, 236, 0.62);
  font-size: 14px;
  line-height: 1.8;
}

.entry-master-url {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.entry-master-url a {
  width: fit-content;
  max-width: 100%;
  color: #f3f3ec;
  font-family: Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.entry-master-url a:hover {
  color: #f5c45f;
}

.entry-master-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.entry-master-actions button,
.entry-master-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #f3f3ec;
  font: inherit;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.entry-master-actions button:hover,
.entry-master-actions a:hover {
  border-color: #f5c45f;
  color: #f5c45f;
}

.entry-master-actions a {
  border-color: #f5c45f;
  background: #f5c45f;
  color: #101313;
  font-weight: 800;
}

.entry-master-actions a:hover {
  background: transparent;
}

.entry-master-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #62d2bd;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.entry-master-figure {
  width: min(100%, 380px);
  margin: 0 0 0 auto;
}

.entry-master-qr {
  aspect-ratio: 1;
  padding: 14px;
  background: #ffffff;
}

.entry-master-qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
}

.entry-master-figure figcaption {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.entry-master-figure figcaption strong {
  font-size: 18px;
}

.entry-master-figure figcaption small {
  color: #f5c45f;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.entry-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 10px;
  color: rgba(243, 243, 236, 0.44);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.entry-footer p {
  margin: 0;
}

.entry-footer strong {
  color: #f5c45f;
}

@media (max-width: 980px) {
  .entry-display-word {
    font-size: 126px;
  }

  .entry-welcome-copy h1 {
    font-size: 68px;
  }

  .entry-metric {
    grid-template-columns: 44px 210px 44px;
  }

  .entry-metric strong {
    font-size: 78px;
  }

  .entry-index-heading h2 {
    font-size: 58px;
  }

  .entry-mode-launcher button {
    grid-template-columns: 80px minmax(240px, 1fr) 190px 80px;
  }

  .entry-mode-launcher span {
    font-size: 46px;
  }

  .entry-mode-launcher strong {
    font-size: 34px;
  }
}

@media (max-width: 720px) {
  .cinematic-opening {
    height: 170svh;
  }

  .cinematic-sticky {
    min-height: 620px;
  }

  .entry-header {
    padding: calc(16px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 16px calc(14px + env(safe-area-inset-left));
  }

  .entry-header p {
    display: none;
  }

  .entry-display-word {
    font-size: 72px;
  }

  .entry-product {
    top: 13%;
  }

  .entry-ycxg {
    bottom: 42%;
  }

  .entry-welcome-copy {
    top: 23%;
    right: 18px;
    left: 18px;
  }

  .entry-welcome-copy h1 {
    margin-top: 12px;
    font-size: 52px;
  }

  .entry-welcome-copy > span {
    max-width: 280px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .entry-metric {
    top: 43%;
    right: 18px;
    grid-template-columns: 44px minmax(158px, 1fr) 44px;
  }

  .entry-metric button {
    min-height: 76px;
  }

  .entry-metric > div {
    padding: 9px 14px;
  }

  .entry-metric strong {
    font-size: 54px;
  }

  .entry-marquee {
    bottom: 32%;
  }

  .entry-scroll-command {
    right: 18px;
    bottom: 24%;
  }

  .entry-floating-info {
    right: 18px;
    bottom: calc(3% + env(safe-area-inset-bottom));
    left: 18px;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .entry-floating-info article {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 12px;
    padding-top: 8px;
  }

  .entry-floating-info article:nth-child(3) {
    display: none;
  }

  .entry-floating-info strong {
    margin: 0;
    font-size: 13px;
  }

  .entry-floating-info p {
    grid-column: 2;
    margin: -4px 0 0;
    font-size: 10px;
  }

  .entry-index {
    padding: 70px calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  }

  .entry-index-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
  }

  .entry-index-heading p {
    margin: 0;
  }

  .entry-index-heading h2 {
    font-size: 45px;
  }

  .entry-index-heading > strong {
    text-align: left;
  }

  .entry-media-grid {
    grid-template-columns: 1fr;
  }

  .entry-map-panel {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .entry-map-panel,
  .entry-reel-panel,
  .entry-feed {
    padding: 18px 0;
  }

  .entry-mode-launcher {
    margin-top: 78px;
  }

  .entry-mode-launcher button {
    min-height: 150px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 22px 0;
  }

  .entry-mode-launcher button:hover {
    padding-right: 0;
    padding-left: 8px;
  }

  .entry-mode-launcher span {
    grid-row: span 2;
    font-size: 38px;
  }

  .entry-mode-launcher strong {
    font-size: 28px;
  }

  .entry-mode-launcher small {
    grid-column: 2 / -1;
  }

  .entry-mode-launcher i {
    grid-column: 3;
    grid-row: 1;
  }

  .entry-master-share {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 76px;
    padding: 58px 0;
  }

  .entry-master-share::before {
    font-size: 104px;
  }

  .entry-master-copy h2 {
    font-size: 42px;
  }

  .entry-master-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-master-actions button,
  .entry-master-actions a {
    width: 100%;
  }

  .entry-master-figure {
    width: min(100%, 340px);
    margin: 0;
  }

  .entry-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .entry-welcome-copy h1 {
    font-size: 46px;
  }

  .entry-metric {
    left: 18px;
  }

  .entry-mode-launcher strong {
    font-size: 25px;
  }

  .entry-master-copy h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-marquee > div,
  .entry-reel-window > i {
    animation: none;
  }
}
