@font-face {
  font-family: "YSText";
  src: url("../assets/fonts/YS-Text-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YSText";
  src: url("../assets/fonts/YS-Text-Medium.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YSCompressed";
  src: url("../assets/fonts/YSCompressed-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --u: 7.5px;
  --design-w: 750px;
  --design-h: 1448px;
  --stage-scale: 0.5;
  --stage-h: 1448px;
  --scaled-w: 375px;
  --scaled-h: 724px;
  --dark: #111720;
  --deep: #080b11;
  --lime: #dfff00;
  --violet: #5138ff;
  --line: rgba(126, 158, 235, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  display: flex;
  justify-content: center;
  min-height: 100svh;
  overflow-x: hidden;
  background: #05070c;
  color: #fff;
  font-family: "YSText", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
}

.viewport {
  position: relative;
  flex: 0 0 auto;
  width: var(--scaled-w);
  height: var(--scaled-h);
  overflow: visible;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app {
  position: relative;
  width: var(--design-w);
  min-height: var(--stage-h);
  overflow: hidden;
  background: #000 url("../assets/images/bg.png") top center / cover no-repeat;
  isolation: isolate;
  transform: scale(var(--stage-scale));
  transform-origin: top left;
}

.site-header {
  position: absolute;
  top: calc(var(--u) * 6.35);
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.brand-mark {
  display: block;
  width: calc(var(--u) * 34.8);
  height: auto;
}

.language {
  position: absolute;
  top: calc(var(--u) * -1.7);
  right: calc(var(--u) * 3.4);
  pointer-events: auto;
  background: transparent;
  color: #fff;
  font-size: calc(var(--u) * 4.65);
  line-height: 1;
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  min-height: var(--stage-h);
}

.screen.is-active {
  display: block;
}

.game-logo {
  position: absolute;
  top: calc(var(--u) * 17.2);
  left: 50%;
  width: calc(var(--u) * 74);
  height: auto;
  transform: translateX(-50%);
}

.form-card {
  position: absolute;
  top: calc(var(--u) * 97);
  left: 0;
  right: 0;
  bottom: 0;
  min-height: calc(var(--u) * 96.2);
  padding: calc(var(--u) * 6.7) calc(var(--u) * 12.8) calc(var(--u) * 8);
  border-radius: calc(var(--u) * 3.6) calc(var(--u) * 3.6) 0 0;
  background: linear-gradient(180deg, rgba(18, 23, 32, 0.98), rgba(12, 16, 23, 1));
  box-shadow: 0 calc(var(--u) * -5) calc(var(--u) * 14) rgba(0, 0, 0, 0.12);
}

.form-card h1 {
  margin: 0 0 calc(var(--u) * 6.2);
  font-size: calc(var(--u) * 5.15);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.field {
  position: relative;
  display: block;
  margin-top: calc(var(--u) * 2.9);
}

.field:first-of-type {
  margin-top: 0;
}

.field input {
  width: 100%;
  height: calc(var(--u) * 9.55);
  border: calc(var(--u) * 0.25) solid transparent;
  border-radius: calc(var(--u) * 2.05);
  outline: none;
  background: #fff;
  color: #1d2025;
  font-size: calc(var(--u) * 3.55);
  line-height: 1;
  padding: 0 calc(var(--u) * 2.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.phone-field input {
  padding-left: calc(var(--u) * 17.2);
}

.country-picker {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(var(--u) * 2.7);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.65);
  height: calc(var(--u) * 7);
  padding: 0;
  color: #1d2025;
  background: transparent;
  font-size: calc(var(--u) * 3.55);
  line-height: 1;
  transform: translateY(-50%);
}

.country-arrow {
  width: 0;
  height: 0;
  border-top: calc(var(--u) * 1.05) solid #7d7d7d;
  border-right: calc(var(--u) * .75) solid transparent;
  border-left: calc(var(--u) * .75) solid transparent;
}

.country-code {
  display: inline-block;
  min-width: calc(var(--u) * 9.6);
  padding-right: calc(var(--u) * 1.65);
  border-right: 1px solid #d5d5d5;
}

.field input::placeholder {
  color: #858585;
  opacity: 1;
}

.field input:focus {
  border-color: rgba(223, 255, 0, 0.86);
  box-shadow: 0 0 0 calc(var(--u) * 0.8) rgba(223, 255, 0, 0.12);
}

.field.is-error input {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 calc(var(--u) * 0.7) rgba(255, 77, 109, 0.2);
  animation: fieldShake 220ms ease;
}

.field-optional input {
  padding-right: calc(var(--u) * 22);
}

.field-optional span {
  position: absolute;
  top: 50%;
  right: calc(var(--u) * 3.3);
  color: #7d7d7d;
  font-size: calc(var(--u) * 3.55);
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.agreement {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.8);
  margin-top: calc(var(--u) * 5.35);
  color: #fff;
  font-size: calc(var(--u) * 3);
  line-height: 1.25;
}

.agreement input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.checkmark {
  flex: 0 0 auto;
  width: calc(var(--u) * 3.45);
  height: calc(var(--u) * 3.45);
  background: url("../assets/images/checkbox-empty.png") center / 100% 100% no-repeat;
  transform: translateY(calc(var(--u) * -0.5));
  transition: filter 160ms ease;
}

.agreement input:checked + .checkmark {
  background-image: url("../assets/images/checkbox-checked.png");
}

.agreement-copy {
  display: block;
  flex: 1;
  padding: 0;
  background: transparent;
  line-height: 0;
  text-align: left;
}

.agreement-copy span {
  display: block;
  color: #fff;
  font-size: calc(var(--u) * 3.18);
  line-height: 1;
}

.privacy-link {
  color: inherit;
}

.primary-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 74.4);
  height: calc(var(--u) * 13.1);
  margin: calc(var(--u) * 21.2) auto 0;
  background: url("../assets/images/submit.png") center / 100% 100% no-repeat;
  color: transparent;
  font-family: "YSCompressed", Impact, sans-serif;
  font-size: calc(var(--u) * 8);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  transition: filter 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.primary-submit:active {
  transform: translateY(calc(var(--u) * 0.45));
  filter: brightness(0.94);
}

.primary-submit {
  margin-top: calc(var(--u) * 9.8);
}

.primary-submit:disabled,
.primary-submit.is-busy {
  cursor: default;
  opacity: 0.72;
}

.app[data-lang="zh"] .primary-submit {
  background: var(--lime);
  color: #080b11;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 6.42);
  font-weight: 900;
}

.app[data-policy="open"] .site-header {
  opacity: 0.45;
}

.screen-policy {
  position: absolute;
  inset: 0;
  z-index: 20;
  min-height: var(--stage-h);
  background: rgba(0, 0, 0, 0.36);
}

.policy-card {
  position: absolute;
  top: calc(var(--u) * 13.6);
  left: calc(var(--u) * 4.65);
  width: calc(var(--u) * 90.7);
  height: calc(var(--u) * 144.5);
  background: url("../assets/images/policy-panel.png") center / 100% 100% no-repeat;
}

.policy-copy {
  position: absolute;
  top: calc(var(--u) * 16.9);
  left: calc(var(--u) * 5.35);
  width: calc(var(--u) * 79.9);
  height: calc(var(--u) * 111);
  overflow: auto;
  scrollbar-width: none;
}

.policy-copy::-webkit-scrollbar {
  display: none;
}

.policy-copy-image {
  display: block;
  width: 100%;
  height: auto;
}

.policy-copy-zh {
  display: none;
  color: #fff;
  font-family: "YSText", Arial, sans-serif;
  font-size: calc(var(--u) * 2.5);
  line-height: 1.58;
}

.policy-copy-zh h2 {
  margin: 0 0 calc(var(--u) * 3);
  color: #fff;
  font-size: calc(var(--u) * 4.7);
  line-height: 1.1;
}

.policy-copy-zh p {
  margin: 0 0 calc(var(--u) * 2.6);
}

.app[data-lang="zh"] .policy-copy-image {
  display: none;
}

.app[data-lang="zh"] .policy-copy-zh {
  display: block;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 3.2);
  line-height: 1.308;
}

.policy-close {
  position: absolute;
  top: calc(var(--u) * 164.05);
  left: 50%;
  width: calc(var(--u) * 13.3);
  height: calc(var(--u) * 13.3);
  padding: 0;
  background: transparent;
  transform: translateX(-50%);
}

.policy-close img {
  display: block;
  width: 100%;
  height: 100%;
}

.loading-card {
  position: absolute;
  top: calc(var(--u) * 56.5);
  left: 50%;
  width: calc(var(--u) * 82.2);
  height: calc(var(--u) * 80.4);
  background: url("../assets/images/loading-panel.png") center / 100% 100% no-repeat;
  transform: translateX(-50%);
}

.loading-ring {
  position: absolute;
  top: calc(var(--u) * 13.9);
  left: 50%;
  width: calc(var(--u) * 52.3);
  height: calc(var(--u) * 52.3);
  transform: translateX(-50%);
  animation: loadingSpin 1.1s linear infinite;
}

.loading-text {
  position: absolute;
  top: calc(var(--u) * 34.05);
  left: 50%;
  width: calc(var(--u) * 29.9);
  height: auto;
  transform: translateX(-50%);
}

.loading-label-zh {
  display: none;
}

.app[data-lang="zh"] .loading-text {
  display: none;
}

.app[data-lang="zh"] .loading-label-zh {
  display: block;
}

.result-panel {
  position: absolute;
  top: calc(var(--u) * 22.4);
  left: 50%;
  width: calc(var(--u) * 85.33);
  height: calc(var(--u) * 106.8);
  background: url("../assets/images/result-panel.png") center / 100% 100% no-repeat;
  transform: translateX(-50%);
}

.score-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--u) * 19.05);
}

.score-banner strong,
.save-tip,
.qr-copy {
  font-family: "YSCompressed", Impact, sans-serif;
  font-weight: 900;
  line-height: 0.95;
}

.score-banner strong {
  position: absolute;
  top: 50%;
  right: calc(var(--u) * 5.35);
  font-size: calc(var(--u) * 9.4);
  transform: translateY(-50%);
}

.leaderboard {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.leaderboard h2 {
  margin: 0;
  font-size: calc(var(--u) * 10);
  text-align: center;
}

.leaderboard-line {
  height: 1px;
  margin: calc(var(--u) * 8) 0 calc(var(--u) * 5.25);
  background: var(--line);
}

.table-head,
.rank-list li {
  display: grid;
  grid-template-columns: 23% 1fr 24%;
  align-items: center;
}

.table-head {
  color: var(--lime);
  font-size: calc(var(--u) * 4.15);
  font-weight: 700;
}

.table-head span:nth-child(2),
.rank-name {
  text-align: center;
}

.table-head span:nth-child(3),
.rank-score {
  text-align: right;
}

.rank-list {
  display: grid;
  position: absolute;
  top: calc(var(--u) * 49.8);
  left: calc(var(--u) * 6.7);
  width: calc(var(--u) * 71.9);
  gap: calc(var(--u) * 2.05);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: calc(var(--u) * 3.05);
  font-weight: 600;
  line-height: 1;
}

.rank-list li {
  color: #fff;
}

.rank-list li.is-current {
  color: var(--lime);
}

.rank-number {
  text-align: center;
}

.save-tip {
  position: absolute;
  top: calc(var(--u) * 136);
  left: calc(var(--u) * 8.1);
  right: calc(var(--u) * 6);
  margin: 0;
  font-size: calc(var(--u) * 6.85);
  color: #fff;
  white-space: nowrap;
}

.qr-area {
  position: absolute;
  top: calc(var(--u) * 170);
  left: 50%;
  display: grid;
  grid-template-columns: calc(var(--u) * 63.5) calc(var(--u) * 18.55);
  gap: calc(var(--u) * 8.5);
  align-items: center;
  width: calc(var(--u) * 90.6);
  transform: translateX(-50%);
}

.qr-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--u) * 18);
  border-radius: calc(var(--u) * 2.6);
  background: var(--lime);
  color: #020202;
  font-size: calc(var(--u) * 7);
  text-align: center;
}

.qr-code {
  width: calc(var(--u) * 18.55);
  height: calc(var(--u) * 18.55);
  border-radius: calc(var(--u) * 1.2);
}

.blocking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.blocking-modal.is-visible {
  display: flex;
}

.blocking-modal-card {
  width: min(82vw, 360px);
  padding: 28px 24px;
  border: 1px solid rgba(223, 255, 0, 0.62);
  border-radius: 18px;
  background: rgba(17, 23, 32, 0.98);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

.blocking-modal-card p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.app[data-screen="form"] .site-header,
.screen-form.is-active .form-card,
.screen-form.is-active .form-card h1,
.screen-form.is-active .field,
.screen-form.is-active .agreement,
.screen-form.is-active .primary-submit,
.screen-policy.is-active .policy-card,
.screen-result.is-active .save-tip,
.screen-result.is-active .rank-list li,
.blocking-modal.is-visible .blocking-modal-card {
  --enter-y: calc(var(--u) * 3);
  --enter-opacity: 1;
  animation-name: screenStepFadeUp;
  animation-duration: 760ms;
  animation-timing-function: cubic-bezier(0.18, 0.84, 0.28, 1);
  animation-fill-mode: backwards;
  will-change: opacity, transform;
}

.screen-form.is-active .game-logo,
.screen-policy.is-active .policy-close,
.screen-loading.is-active .loading-card,
.screen-result.is-active .result-panel,
.screen-result.is-active .qr-area {
  --enter-y: calc(var(--u) * 3);
  --enter-opacity: 1;
  animation-name: screenStepFadeUpCentered;
  animation-duration: 760ms;
  animation-timing-function: cubic-bezier(0.18, 0.84, 0.28, 1);
  animation-fill-mode: backwards;
  will-change: opacity, transform;
}

.screen-form.is-active .game-logo,
.app[data-screen="form"] .site-header {
  animation-delay: 80ms;
}

.screen-form.is-active .form-card,
.screen-policy.is-active .policy-card,
.screen-loading.is-active .loading-card,
.screen-result.is-active .result-panel {
  animation-delay: 180ms;
}

.screen-form.is-active .form-card h1,
.screen-result.is-active .save-tip {
  animation-delay: 300ms;
}

.screen-form.is-active .field:nth-of-type(1) {
  animation-delay: 410ms;
}

.screen-form.is-active .field:nth-of-type(2) {
  animation-delay: 500ms;
}

.screen-form.is-active .field:nth-of-type(3) {
  animation-delay: 590ms;
}

.screen-form.is-active .agreement,
.screen-policy.is-active .policy-close,
.screen-result.is-active .qr-area {
  animation-delay: 700ms;
}

.screen-form.is-active .primary-submit,
.screen-policy.is-active .policy-close {
  animation-delay: 820ms;
}

.screen-result.is-active .rank-list li:nth-child(1) {
  animation-delay: 380ms;
}

.screen-result.is-active .rank-list li:nth-child(2) {
  animation-delay: 450ms;
}

.screen-result.is-active .rank-list li:nth-child(3) {
  animation-delay: 520ms;
}

.screen-result.is-active .rank-list li:nth-child(4) {
  animation-delay: 590ms;
}

.screen-result.is-active .rank-list li:nth-child(5) {
  animation-delay: 660ms;
}

.screen-result.is-active .rank-list li:nth-child(6) {
  animation-delay: 730ms;
}

.screen-result.is-active .rank-list li:nth-child(7) {
  animation-delay: 800ms;
}

.screen-result.is-active .rank-list li:nth-child(8) {
  animation-delay: 870ms;
}

.screen-result.is-active .rank-list li:nth-child(9) {
  animation-delay: 940ms;
}

.screen-result.is-active .rank-list li:nth-child(10) {
  animation-delay: 1010ms;
}

@keyframes screenStepFadeUp {
  from {
    opacity: 0;
    transform: translateY(var(--enter-y));
  }
  to {
    opacity: var(--enter-opacity);
    transform: translateY(0);
  }
}

@keyframes screenStepFadeUpCentered {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(var(--enter-y));
  }
  to {
    opacity: var(--enter-opacity);
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes loadingSpin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes fieldShake {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(calc(var(--u) * -1));
  }
  70% {
    transform: translateX(calc(var(--u) * 1));
  }
}

/* Chinese screens use the text and proportions defined in the Figma CN frames. */
.app[data-lang="zh"] .form-card,
.app[data-lang="zh"] .loading-label-zh,
.app[data-lang="zh"] .score-label-zh,
.app[data-lang="zh"] .table-head-zh {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.app[data-lang="zh"] .form-card h1 {
  font-size: calc(var(--u) * 5.34);
  font-weight: 700;
}

.app[data-lang="zh"] .field input,
.app[data-lang="zh"] .field-optional span,
.app[data-lang="zh"] .country-picker {
  font-size: calc(var(--u) * 3.34);
}

.app[data-lang="zh"] .agreement {
  width: calc(var(--u) * 58.67);
  margin-right: auto;
  margin-left: auto;
  gap: calc(var(--u) * 2.4);
}

.app[data-lang="zh"] .checkmark {
  width: calc(var(--u) * 4.27);
  height: calc(var(--u) * 4.27);
  transform: none;
}

.app[data-lang="zh"] .agreement-copy span {
  font-size: calc(var(--u) * 4);
  line-height: 1.08;
}

.loading-label-zh {
  position: absolute;
  top: calc(var(--u) * 37.4);
  left: 0;
  width: 100%;
  color: var(--lime);
  font-size: calc(var(--u) * 4.67);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.score-label-zh,
.leaderboard-title-zh,
.table-head-zh {
  display: none;
}

.app[data-lang="zh"] .result-panel {
  height: calc(var(--u) * 109.1);
  background: transparent;
}

.app[data-lang="zh"] .score-banner {
  height: calc(var(--u) * 19.26);
  border-radius: calc(var(--u) * 2.7);
  background: var(--violet);
}

.app[data-lang="zh"] .score-label-zh {
  position: absolute;
  top: 50%;
  left: calc(var(--u) * 5.37);
  display: block;
  color: #fff;
  font-size: calc(var(--u) * 8.94);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.app[data-lang="zh"] .score-banner strong {
  right: calc(var(--u) * 5.37);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 8.94);
  font-weight: 900;
}

.app[data-lang="zh"] .leaderboard {
  top: calc(var(--u) * 21.05);
  bottom: 0;
  border: calc(var(--u) * 0.27) solid var(--violet);
  border-radius: calc(var(--u) * 2.7);
  background: #10151f;
}

.app[data-lang="zh"] .leaderboard-title-zh {
  position: absolute;
  top: calc(var(--u) * 5.35);
  left: 0;
  display: block;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "YSCompressed", Impact, sans-serif;
  font-size: calc(var(--u) * 9.84);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.app[data-lang="zh"] .table-head-zh {
  position: absolute;
  top: calc(var(--u) * 22.9);
  left: calc(var(--u) * 6.05);
  display: grid;
  width: calc(var(--u) * 74.45);
  color: var(--lime);
  font-size: calc(var(--u) * 4.03);
  font-weight: 700;
}

.app[data-lang="zh"] .rank-list {
  top: calc(var(--u) * 30.9);
  left: calc(var(--u) * 6.7);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 3.05);
}

.app[data-lang="zh"] .save-tip {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 5.34);
  font-weight: 700;
}

.app[data-lang="zh"] .qr-copy {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 6.4);
  font-weight: 700;
  line-height: calc(var(--u) * 7.34);
}

@media (max-height: 680px) {
  body {
    align-items: flex-start;
  }
}

/* China Joy 2026 mobile screens - synced from the latest Figma frames. */
.app {
  background-image: url("../assets/images/bg-new.png");
  background-position: center top;
  background-size: cover;
}

.site-header {
  top: 48px;
}

.brand-mark {
  width: 261px;
}

.language {
  position: fixed;
  top: 23px;
  right: 22px;
  font-size: 35px;
  text-transform: uppercase;
}

.game-logo {
  top: 171px;
  width: 472px;
}

.form-card {
  top: 727px;
  min-height: 721px;
  padding: 45px 97px 0;
  border-radius: 27px 27px 0 0;
  background: #111720;
  box-shadow: none;
}

.form-card h1 {
  height: 58px;
  margin: 0;
  font-size: 40px;
  line-height: 58px;
}

#entryForm {
  position: relative;
}

.field,
.field:first-of-type {
  height: 71px;
  margin-top: 35px;
}

.field + .field {
  margin-top: 22px;
}

.field input {
  height: 71px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  font-size: 23px;
}

.field-optional input {
  padding-right: 112px;
}

.field-optional span {
  right: 10px;
  font-size: 23px;
}

.phone-field input {
  padding-left: 132px;
}

.country-picker {
  left: 10px;
  width: 84px;
  gap: 0;
  height: 60px;
  font-size: 25px;
}

.country-native-select {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}

.country-code {
  min-width: 0;
  padding-right: 0;
  border-right: 0;
}

.country-arrow {
  position: absolute;
  top: 50%;
  left: 55px;
  width: 19px;
  height: 19px;
  border: 0;
  background: url("../assets/images/country-arrow.png") center / contain no-repeat;
  transform: translateY(-50%);
}

.agreement,
.app[data-lang="zh"] .agreement {
  position: absolute;
  top: 277px;
  left: 0;
  width: 556px;
  margin: 0;
  gap: 10px;
}

.checkmark,
.app[data-lang="zh"] .checkmark {
  width: 28px;
  height: 28px;
  transform: none;
}

.agreement-copy span,
.app[data-lang="zh"] .agreement-copy span {
  font-size: 24px;
  line-height: 28px;
  white-space: nowrap;
}

.primary-submit,
.app[data-lang="zh"] .primary-submit {
  position: absolute;
  top: 391px;
  left: -1px;
  width: 558px;
  height: 98px;
  margin: 0;
  border-radius: 7px;
  background: #dfff00;
  color: #05070c;
  font-family: "YSCompressed", Impact, sans-serif;
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
}

.app[data-lang="zh"] .form-card h1 {
  font-size: 40px;
  line-height: 58px;
}

.app[data-lang="zh"] .field input,
.app[data-lang="zh"] .field-optional span,
.app[data-lang="zh"] .country-picker {
  font-size: 25px;
}

.app[data-lang="zh"] .agreement {
  left: 67px;
  width: 489px;
}

.app[data-lang="zh"] .agreement-copy span {
  font-size: 30px;
  line-height: 43px;
}

.screen-policy {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: brightness(0.58);
}

.policy-card {
  top: 101px;
  left: 35px;
  width: 679px;
  height: 1258px;
  border: 0;
  background: transparent;
}

.policy-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 679px;
  height: 1086px;
  border: 2px solid #5138ff;
  border-radius: 30px;
  background: #0f141e;
  content: "";
}

.policy-copy {
  z-index: 1;
  top: 40px;
  left: 40px;
  width: 599px;
  height: 1005px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.policy-copy-en,
.policy-copy-zh {
  color: #fff;
  font-family: "YSText", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.18;
}

.policy-copy-en h2,
.policy-copy-zh h2 {
  height: 47px;
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 47px;
  text-align: center;
}

.policy-body {
  margin-top: 35px;
  line-height: 1.308;
  text-align: justify;
}

.policy-copy-zh {
  display: none;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.33;
}

.app[data-lang="zh"] .policy-copy-en {
  display: none;
}

.app[data-lang="zh"] .policy-copy-zh {
  display: block;
  font-size: 24px;
  line-height: 1.33;
}

.app[data-lang="zh"] .policy-copy-zh h2 {
  height: 58px;
  font-size: 40px;
  line-height: 58px;
}

.policy-close {
  top: 1250px;
  width: 100px;
  height: 100px;
}

.loading-card {
  top: 423px;
  width: 616px;
  height: 603px;
  border-radius: 28px;
  background: #111720;
}

.loading-ring {
  top: 105px;
  width: 392px;
  height: 392px;
  animation: loadingSpin 1.1s linear infinite !important;
}

.loading-label {
  position: absolute;
  top: 281px;
  left: 0;
  width: 100%;
  color: #dfff00;
  font-size: 35px;
  line-height: 41px;
  text-align: center;
}

.result-panel,
.app[data-lang="zh"] .result-panel {
  top: 304px;
  width: 649px;
  height: 848px;
  background: transparent;
}

.score-banner,
.app[data-lang="zh"] .score-banner {
  height: 144px;
  border-radius: 20px;
  background: #5138ff;
}

.score-label,
.app[data-lang="zh"] .score-label {
  position: absolute;
  top: 40px;
  left: 40px;
  color: #fff;
  font-family: "YSCompressed", Impact, sans-serif;
  font-size: 74px;
  font-weight: 900;
  line-height: 64px;
  text-transform: uppercase;
}

.score-banner strong,
.app[data-lang="zh"] .score-banner strong {
  top: 40px;
  right: 40px;
  font-size: 74px;
  line-height: 64px;
  transform: none;
}

.leaderboard,
.app[data-lang="zh"] .leaderboard {
  top: 158px;
  right: 0;
  bottom: 0;
  left: 0;
  border: 2px solid #5138ff;
  border-radius: 18px;
  background: #111720;
}

.leaderboard-title,
.app[data-lang="zh"] .leaderboard-title {
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "YSCompressed", Impact, sans-serif;
  font-size: 74px;
  font-weight: 900;
  line-height: 64px;
  text-align: center;
}

.table-head,
.app[data-lang="zh"] .table-head {
  position: absolute;
  top: 152px;
  left: 42px;
  display: grid;
  width: 561px;
  grid-template-columns: 23% 1fr 24%;
  color: #dfff00;
  font-size: 24px;
  font-weight: 700;
}

.rank-list,
.app[data-lang="zh"] .rank-list {
  top: 225px;
  left: 42px;
  width: 561px;
  gap: 12px;
  font-size: 21px;
  line-height: 31px;
}

.rank-list li {
  min-height: 31px;
}

.save-tip,
.app[data-lang="zh"] .save-tip {
  top: 1171px;
  left: 0;
  right: 0;
  font-family: "YSCompressed", Impact, sans-serif;
  font-size: 40px;
  line-height: 65px;
  text-align: center;
  text-transform: uppercase;
}

.qr-area {
  top: 1271px;
  width: 649px;
  grid-template-columns: 510px 139px;
  gap: 0;
}

.qr-copy,
.app[data-lang="zh"] .qr-copy {
  height: 139px;
  border-radius: 20px 0 0 20px;
  font-size: 55px;
  line-height: 46px;
  text-transform: uppercase;
}

.qr-code {
  width: 139px;
  height: 139px;
  border-radius: 0 20px 20px 0;
}

.app[data-lang="zh"] .score-label,
.app[data-lang="zh"] .score-banner strong,
.app[data-lang="zh"] .leaderboard-title,
.app[data-lang="zh"] .save-tip,
.app[data-lang="zh"] .qr-copy {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

.app[data-lang="zh"] .score-label {
  font-size: 66px;
}

.app[data-lang="zh"] .save-tip {
  font-size: 40px;
}

.app[data-lang="zh"] .qr-copy {
  font-size: 48px;
  line-height: 55px;
}

@media (prefers-reduced-motion: reduce) {
  .screen.is-active *:not(.loading-ring) {
    animation: none !important;
  }
}
