:root {
  --stage-width: 1920;
  --stage-height: 1080;
  --scale: 1;
  --stage-left: 0px;
  --stage-top: 0px;
  --white: #fff;
  --ink: #121519;
  --panel: #1d2123;
  --panel-light: #3e4751;
  --accent: #e3c59f;
  --accent-soft: rgba(227, 197, 159, 0.3);
  --muted: rgba(255, 255, 255, 0.72);
  --font-cn: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-en: "Times New Roman", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  color: var(--white);
  font-family: var(--font-cn);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

#app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.boot-screen {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
  letter-spacing: 0;
}

.viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.stage {
  position: absolute;
  left: var(--stage-left);
  top: var(--stage-top);
  width: calc(var(--stage-width) * 1px);
  height: calc(var(--stage-height) * 1px);
  overflow: hidden;
  transform: scale(var(--scale));
  transform-origin: top left;
  background: #000;
}

.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.screen-bg,
.visual,
.logo,
.card-art,
.ornament-img {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.screen-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  left: 87.5px;
  top: 53px;
  width: 37.62px;
  height: 39.47px;
  z-index: 5;
}

.text-cn {
  margin: 0;
  font-family: var(--font-cn);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.text-en {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
}

.home-title {
  position: absolute;
  left: 173px;
  top: 278px;
  width: 405px;
  font-size: 96px;
  font-weight: 800;
}

.home-subtitle {
  position: absolute;
  left: 185px;
  top: 416px;
  width: 344px;
  font-size: 40px;
}

.home-visual {
  left: 877px;
  top: 19px;
  width: 1087px;
  height: 1359px;
  object-fit: contain;
}

.menu {
  position: absolute;
  left: 185px;
  top: 563px;
  display: grid;
  gap: 13px;
  width: 260px;
}

.menu-button {
  width: max-content;
  min-width: 254px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  font-size: 40px;
  line-height: 57px;
  cursor: pointer;
  transition: color 160ms ease, transform 120ms ease;
}

.menu-button:hover,
.menu-button:focus-visible {
  color: var(--accent);
  outline: none;
}

.menu-button:active,
.pressable:active,
.nav-button:active,
.start-button:active {
  transform: translateY(2px) scale(0.985);
}

.pool-bg {
  opacity: 0.6;
}

.detail-bg {
  opacity: 0.8;
}

.page-heading {
  position: absolute;
  left: 82px;
  top: 281px;
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 57px;
}

.small-nav {
  position: absolute;
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 34px;
  color: var(--white);
}

.esc-hint {
  left: 1731px;
  top: 984px;
}

.section-switch {
  position: absolute;
  top: 906px;
  display: flex;
  align-items: center;
  height: 37px;
  padding: 0 0 0 15px;
  border: 0;
  border-left: 1px solid var(--white);
  background: transparent;
  font-size: 24px;
  font-weight: 300;
  line-height: 34px;
  cursor: pointer;
  transition: color 160ms ease, transform 120ms ease;
}

.section-switch:hover,
.section-switch:focus-visible {
  color: var(--accent);
  outline: none;
}

.section-switch.general {
  left: 84px;
}

.section-switch.topic {
  left: 598px;
}

.section-note {
  font-size: 16px;
}

.pool-decoration {
  left: 82px;
  top: 335px;
  width: 205px;
  height: 16.97px;
}

.carousel-nav {
  position: absolute;
  left: 1734px;
  top: 290px;
  display: flex;
  gap: 22px;
  z-index: 5;
}

.nav-button {
  width: 40px;
  height: 45px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 160ms ease, transform 120ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  opacity: 1;
  outline: none;
}

.nav-button img {
  width: 100%;
  height: 100%;
}

.nav-button.next img {
  transform: scaleX(-1);
}

.pool-window {
  position: absolute;
  left: 84px;
  top: 352px;
  width: 2050px;
  height: 540px;
  overflow: hidden;
}

.pool-track {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding-top: 20px;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pool-card {
  position: relative;
  flex: 0 0 287px;
  width: 287px;
  height: 493px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: linear-gradient(180deg, rgba(44, 50, 56, 0.8), rgba(29, 33, 35, 0.8));
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.pool-card.is-featured {
  flex-basis: 484px;
  width: 484px;
}

.pool-card:hover,
.pool-card:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--panel-light), var(--panel));
  opacity: 1;
  box-shadow: inset 0 0 0 1px var(--accent), 0 4px 25px rgba(227, 197, 159, 0.15);
  outline: none;
  transform: translateY(-20px);
}

.pool-card:hover:active,
.pool-card:focus-visible:active {
  transform: translateY(-17px) scale(0.99);
}

.pool-card.is-locked {
  cursor: pointer;
}

.card-art {
  z-index: 1;
}

.card-art.all {
  left: 28px;
  top: 13px;
  width: 413px;
  height: 485px;
  object-fit: cover;
}

.card-art.jade {
  left: -30px;
  top: -42px;
  width: 442px;
  height: 552px;
  object-fit: cover;
}

.card-art.ding {
  left: 24px;
  top: -32px;
  width: 403px;
  height: 503px;
  object-fit: cover;
}

.card-art.warrior {
  left: 12px;
  top: 18px;
  width: 359px;
  height: 448px;
  object-fit: cover;
}

.card-art.lacquer {
  left: 21px;
  top: 104px;
  width: 434px;
  height: 284px;
  object-fit: cover;
}

.card-gradient {
  position: absolute;
  left: -1px;
  top: 161px;
  z-index: 2;
  width: 287px;
  height: 331px;
  background: linear-gradient(180deg, rgba(18, 21, 24, 0) 14.65%, #121519 79.91%);
}

.pool-card.is-featured .card-gradient {
  left: -14px;
  top: 163px;
  width: 496px;
  height: 328px;
}

.card-label {
  position: absolute;
  left: 16px;
  top: 392px;
  z-index: 3;
  width: 254px;
  text-align: right;
}

.pool-card.is-featured .card-label {
  left: 14px;
  right: 19px;
  width: auto;
  text-align: right;
}

.card-title {
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.18;
}

.card-subtitle {
  margin: 0;
  font-family: var(--font-en);
  color: var(--accent);
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
}

.detail-visual {
  left: 993px;
  top: -136px;
  width: 1217px;
  height: 1521px;
  object-fit: contain;
}

.bottom-shadow {
  position: absolute;
  left: -13px;
  top: 722px;
  width: 1933px;
  height: 358px;
  background: linear-gradient(180deg, rgba(18, 21, 24, 0) 14.65%, #121519 79.91%);
}

.detail-title {
  position: absolute;
  left: 131px;
  top: 354px;
  width: 565px;
  font-size: 96px;
  line-height: 1.2;
}

.detail-subtitle {
  position: absolute;
  left: 131px;
  top: 492px;
  width: 543px;
  font-size: 40px;
}

.detail-copy {
  position: absolute;
  left: 131px;
  top: 556px;
  width: 792px;
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 34px;
}

.detail-meta {
  position: absolute;
  left: 141px;
  top: 784px;
  margin: 0;
  width: 274px;
  font-size: 24px;
  line-height: 34px;
}

.detail-tab {
  position: absolute;
  left: 1766px;
  top: 63px;
  height: 37px;
  padding-left: 15px;
  border-left: 1px solid var(--white);
}

.detail-rule {
  position: absolute;
  left: 133px;
  top: 642px;
  width: 790px;
  height: 17px;
}

.detail-rule::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  width: 763px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 197, 159, 0.65), rgba(227, 197, 159, 0.18));
}

.detail-rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.custom-button {
  position: absolute;
  left: 619px;
  top: 784px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: color 160ms ease, transform 120ms ease;
}

.custom-button:hover,
.custom-button:focus-visible {
  color: var(--accent);
  outline: none;
}

.custom-chevron {
  width: 12px;
  height: 24px;
}

.start-button {
  position: absolute;
  left: 141px;
  top: 831px;
  width: 575px;
  height: 105px;
  overflow: hidden;
  border: 1px solid var(--accent);
  background: linear-gradient(111deg, #383f44 23.68%, #22272a 92.03%);
  color: var(--white);
  cursor: pointer;
  transition: filter 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.start-button:hover,
.start-button:focus-visible {
  outline: none;
  filter: brightness(1.12);
  box-shadow: 0 0 24px rgba(227, 197, 159, 0.16);
}

.start-button::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -211px;
  width: 576px;
  height: 324px;
  background: url("./assets/ui/alpha/button-texture.png") center/cover no-repeat;
  opacity: 0.8;
}

.start-label {
  position: absolute;
  left: 0;
  top: 18px;
  width: 100%;
  text-align: center;
  font-size: 36px;
  line-height: 52px;
}

.button-rule {
  position: absolute;
  left: 185px;
  top: 71px;
  width: 205px;
  height: 17px;
}

.button-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 205px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 197, 159, 0.65), transparent);
}

.button-rule::after {
  content: "";
  position: absolute;
  left: 99px;
  top: 1px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.play-bg {
  opacity: 0.92;
}

.top-shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 132px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.52) 44%,
    rgba(0, 0, 0, 0) 100%
  );
}

.play-logo-button {
  position: absolute;
  left: 54px;
  top: 36px;
  z-index: 6;
  width: 31px;
  height: 33px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.play-logo {
  left: 0;
  top: 0;
  width: 31px;
  height: 33px;
}

.progress-box {
  position: absolute;
  left: 806px;
  top: 27px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  width: 127px;
  height: 50px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
  text-align: center;
}

.top-divider {
  position: absolute;
  left: 960px;
  top: 28px;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.55);
}

.timer-icon {
  position: absolute;
  left: 987px;
  top: 40px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.timer-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 1px;
  height: 7px;
  background: var(--accent);
}

.timer-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--accent);
  transform: rotate(35deg);
  transform-origin: left center;
}

.timer-block,
.score-block {
  position: absolute;
  color: var(--white);
}

.timer-block {
  left: 1029px;
  top: 27px;
  min-width: 190px;
  --timer-breathe-scale: 1.108;
}

.score-block {
  left: 1767px;
  top: 27px;
  min-width: 122px;
  text-align: right;
}

.timer-block p,
.score-block p {
  margin: 0;
  opacity: 0.5;
  font-size: 14px;
}

.timer-block strong,
.score-block strong {
  display: block;
  margin-top: -2px;
  font-size: 24px;
  font-weight: 400;
  transform-origin: right center;
  will-change: transform;
}

.timer-block strong {
  display: inline-block;
  transform-origin: center center;
  transition: color 140ms ease, font-size 140ms ease, margin 140ms ease;
}

.timer-block.is-critical strong {
  margin-top: -3px;
  color: #B73D32;
  font-size: 26px;
  text-shadow: 0 0 12px rgba(183, 61, 50, 0.32);
}

.timer-block.is-critical.is-pulsing strong {
  animation: timer-critical-pulse 820ms cubic-bezier(0.37, 0, 0.2, 1) both;
}

.timer-penalty {
  position: absolute;
  left: 76px;
  top: 29px;
  color: #B73D32;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 4px, 0);
  text-shadow: 0 0 8px rgba(183, 61, 50, 0.24);
  will-change: opacity, transform;
}

.timer-block.is-critical .timer-penalty {
  left: 82px;
  top: 37px;
}

.score-block-animated strong {
  transition: color 120ms ease;
}

.artifact-view {
  position: absolute;
  left: 36px;
  top: 125px;
  width: 835px;
  height: 696px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: #000;
}

.artifact-blur-bg {
  position: absolute;
  inset: -90px;
  width: calc(100% + 180px);
  height: calc(100% + 180px);
  object-fit: cover;
  opacity: 0.5;
  filter: blur(50px);
}

.artifact-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artifact-view.is-magnifying {
  cursor: none;
}

.play-screen.is-question-entering .artifact-view:not(.result-artifact-view) {
  animation: result-card-enter 620ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.artifact-missing {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
}

.magnifier-toggle {
  position: absolute;
  left: 753px;
  top: 618px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 17, 19, 0.76);
  cursor: pointer;
  transition: filter 120ms ease, transform 120ms ease;
}

.artifact-view.is-magnifying .magnifier-toggle {
  cursor: pointer;
}

.magnifier-toggle:active {
  filter: brightness(1.22);
  transform: translateY(2px) scale(0.94);
}

.magnifier-toggle::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.magnifier-toggle::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 30px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  transform: rotate(45deg);
  transform-origin: left center;
}

.artifact-magnifier {
  position: absolute;
  z-index: 8;
  width: 200px;
  height: 200px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background-color: rgba(20, 22, 24, 0.88);
  background-repeat: no-repeat;
  pointer-events: none;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.04), 0 16px 50px rgba(0, 0, 0, 0.4);
}

.map-panel {
  position: absolute;
  left: 901px;
  top: 126px;
  width: 982px;
  height: 611px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: rgba(28, 31, 36, 0.82);
  cursor: grab;
}

.map-panel:active {
  cursor: grabbing;
}

.result-map-panel:active {
  cursor: grabbing;
}

.panel-title {
  position: absolute;
  left: 14px;
  top: 11px;
  z-index: 5;
  margin: 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 300;
  line-height: 29px;
}

.map-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-panel-title-text {
  white-space: nowrap;
}

.location-help-button {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  padding: 0;
  border: 1px solid rgba(228, 198, 160, 0.74);
  border-radius: 50%;
  background: rgba(8, 12, 16, 0.46);
  color: rgba(244, 229, 205, 0.94);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.location-help-button:hover,
.location-help-button:focus-visible {
  border-color: rgba(244, 229, 205, 0.96);
  color: var(--white);
}

.location-help-tooltip {
  position: absolute;
  left: 0;
  top: 34px;
  width: 420px;
  padding: 10px 12px;
  border: 1px solid rgba(228, 198, 160, 0.52);
  background: rgba(10, 14, 18, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  color: rgba(244, 229, 205, 0.94);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 170ms cubic-bezier(0.33, 0, 0.2, 1),
    transform 170ms cubic-bezier(0.33, 0, 0.2, 1);
}

.location-help-button:hover + .location-help-tooltip,
.location-help-button:focus + .location-help-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.trace-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.province-shape {
  fill: rgba(27, 31, 35, 0.62);
  stroke: rgba(227, 197, 159, 0.58);
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
}

.selected-location {
  fill: #d95a43;
  stroke: #f1d8b7;
  stroke-width: 4;
  filter: drop-shadow(0 0 7px rgba(227, 197, 159, 0.95));
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.answer-location {
  fill: #7f9c6c;
  stroke: #f1d8b7;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(127, 156, 108, 0.82));
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.guess-location {
  fill: #B73D32;
  stroke: #f1d8b7;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(183, 61, 50, 0.86));
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.result-location-link {
  fill: none;
  stroke: rgba(227, 197, 159, 0.82);
  stroke-width: 2;
  stroke-dasharray: 8 9;
  stroke-linecap: round;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.coordinate {
  position: absolute;
  bottom: 18px;
  z-index: 5;
  margin: 0;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 12px;
}

.coord-lat {
  left: 22px;
}

.coord-lon {
  left: 78px;
}

.timeline-panel {
  position: absolute;
  left: 901px;
  top: 756px;
  width: 982px;
  height: 285px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: #1c1f24;
}

.timeline-texture {
  position: absolute;
  left: -1px;
  top: -42px;
  width: 982px;
  height: 553px;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

.timeline-title {
  top: 13px;
}

.era-labels span {
  position: absolute;
  top: 69px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  opacity: 0.5;
  transform: translateX(-50%);
  white-space: nowrap;
}

.era-labels span.active {
  opacity: 1;
}

.current-year-label {
  position: absolute;
  top: 100px;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}

.current-year-tick {
  position: absolute;
  top: 119px;
  width: 1px;
  height: 10px;
  background: var(--accent);
}

.timeline-track {
  position: absolute;
  left: 27px;
  top: 140px;
  width: 926px;
  height: 24px;
  cursor: pointer;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 926px;
  height: 3px;
  background: var(--accent);
}

.timeline-tick {
  position: absolute;
  top: 3px;
  width: 1px;
  height: 10px;
  background: rgba(227, 197, 159, 0.78);
}

.timeline-knob {
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  cursor: grab;
}

.timeline-knob::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1c1f24;
}

.year-entry {
  position: absolute;
  left: 31px;
  top: 195px;
  display: block;
  width: 161px;
  height: 60px;
  border: 1px solid var(--accent-soft);
  background: #1b1c1e;
}

.year-entry input {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 100px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 32px;
  text-align: right;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.year-entry input::-webkit-outer-spin-button,
.year-entry input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.year-entry span {
  position: absolute;
  left: 128px;
  top: 14px;
  font-size: 20px;
}

.submit-answer {
  position: absolute;
  left: 1569px;
  top: 947px;
  width: 297px;
  height: 70px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: linear-gradient(107deg, #383f44 23.676%, #22272a 92.025%);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: filter 120ms ease, transform 120ms ease;
}

.submit-answer::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -211px;
  width: 576px;
  height: 324px;
  background: url("./assets/ui/alpha/button-texture.png") center/cover no-repeat;
  opacity: 0.8;
}

.submit-answer:disabled {
  cursor: default;
  opacity: 0.55;
}

.submit-answer:active:not(:disabled) {
  filter: brightness(1.16);
  transform: translateY(2px);
}

.submit-answer span {
  position: relative;
  z-index: 1;
}

.hint-panel {
  position: absolute;
  top: 834px;
  width: 269px;
  height: 207px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: #181b1f;
  color: var(--white);
  cursor: pointer;
  transition: border-color 120ms ease, filter 120ms ease, transform 120ms ease;
}

.play-screen.is-question-entering .hint-panel:not(.result-hint-panel) {
  animation: result-card-enter 620ms cubic-bezier(0.19, 1, 0.22, 1) var(--entry-delay, 80ms) both;
}

.hint-panel:active:not(:disabled) {
  border-color: rgba(227, 197, 159, 0.92);
  filter: brightness(1.16);
  transform: translateY(2px);
}

.hint-panel:disabled {
  cursor: default;
}

.hint-panel.is-locked:not(.is-available) .lock-icon {
  top: 102px;
}

.hint-heading,
.hint-cost,
.hint-copy,
.unlock-text {
  position: absolute;
  font-size: 20px;
  font-weight: 300;
}

.hint-heading {
  left: 8px;
  top: 11px;
  width: 103px;
  text-align: center;
}

.hint-cost {
  right: 21px;
  top: 11px;
  white-space: nowrap;
}

.hint-line {
  position: absolute;
  left: 16px;
  top: 52px;
  width: 236px;
  height: 1px;
  background: var(--accent-soft);
}

.hint-copy {
  left: 21px;
  top: 80px;
  width: 227px;
  line-height: 1.45;
  text-align: left;
}

.unlock-text {
  left: 94px;
  top: 128px;
  white-space: nowrap;
}

.lock-icon {
  position: absolute;
  left: 118px;
  top: 84px;
  width: 34px;
  height: 38px;
  object-fit: contain;
  pointer-events: none;
}

.lock-icon::before {
  content: none;
}

.result-screen .top-shadow,
.result-screen .play-logo-button,
.result-screen .progress-box,
.result-screen .top-divider,
.result-screen .timer-icon,
.result-screen .timer-block,
.result-screen .score-block {
  z-index: 7;
}

.result-artifact-view {
  left: 35px;
}

.answer-title-block {
  position: absolute;
  left: 898px;
  top: 130px;
  width: 983px;
  height: 147px;
  color: var(--white);
  animation: result-enter 560ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.answer-title-block h1,
.answer-title-en,
.answer-meta-line {
  position: absolute;
  left: 0;
  margin: 0;
  line-height: normal;
}

.answer-title-block h1 {
  top: 0;
  width: 983px;
  font-size: 48px;
  font-weight: 300;
  white-space: nowrap;
}

.answer-title-en {
  top: 77px;
  width: 983px;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

.answer-meta-line {
  top: 113px;
  width: 983px;
  font-size: 24px;
  font-weight: 300;
  white-space: nowrap;
}

.result-score-card,
.result-total-card {
  position: absolute;
  overflow: hidden;
  border: 0;
  background: rgba(41, 45, 48, 0.5);
  color: var(--white);
  animation: result-card-enter 620ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.result-place-card {
  left: 898px;
  top: 303px;
  width: 482px;
  height: 207px;
  animation-delay: 80ms;
}

.result-date-card {
  left: 898px;
  top: 522px;
  width: 482px;
  height: 207px;
  animation-delay: 140ms;
}

.result-card-title,
.result-card-value,
.result-card-label {
  position: absolute;
  left: 34px;
  margin: 0;
  font-weight: 300;
  line-height: normal;
}

.result-card-title {
  top: 25px;
  width: 424px;
  color: var(--accent);
  font-size: 20px;
}

.result-card-value {
  top: 78px;
  width: 175px;
  font-size: 40px;
}

.result-card-label {
  top: 132px;
  width: 180px;
  font-size: 20px;
}

.score-ring {
  position: absolute;
  left: 300px;
  top: 23px;
  width: 154px;
  height: 154px;
}

.score-ring svg {
  position: absolute;
  inset: 0;
  width: 154px;
  height: 154px;
  overflow: visible;
  transform: rotate(-90deg);
}

.score-ring-track,
.score-ring-progress {
  fill: none;
  stroke-width: 4;
}

.score-ring-track {
  stroke: rgba(227, 197, 159, 0.22);
}

.score-ring-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 433.54;
  stroke-dashoffset: 433.54;
}

.score-ring strong,
.score-ring span {
  position: absolute;
  left: 25px;
  width: 105px;
  text-align: center;
  line-height: normal;
}

.score-ring strong {
  top: 34px;
  font-size: 40px;
  font-weight: 300;
}

.score-ring span {
  top: 84px;
  opacity: 0.5;
  font-size: 20px;
}

.result-map-panel {
  position: absolute;
  left: 1392px;
  top: 302px;
  width: 489px;
  height: 427px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: rgba(28, 31, 36, 0.82);
  cursor: grab;
  animation: result-card-enter 620ms cubic-bezier(0.19, 1, 0.22, 1) 180ms both;
}

.result-trace-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.result-map-panel .province-shape {
  fill: rgba(27, 31, 35, 0.58);
}

.result-total-card {
  left: 898px;
  top: 741px;
  width: 983px;
  height: 164px;
  animation-delay: 240ms;
}

.result-total-card p {
  position: absolute;
  left: 34px;
  top: 25px;
  margin: 0;
  width: 424px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 300;
}

.result-total-card strong {
  position: absolute;
  left: 350px;
  top: 43px;
  width: 173px;
  color: var(--white);
  font-size: 54px;
  font-weight: 300;
  line-height: normal;
  text-align: center;
}

.result-total-card span {
  position: absolute;
  left: 503px;
  top: 68px;
  width: 121px;
  opacity: 0.5;
  color: var(--white);
  font-size: 32px;
  line-height: normal;
  text-align: center;
}

.score-stamp {
  position: absolute;
  left: 630px;
  top: 48px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: rotate(3deg) scale(1.8);
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}

.score-stamp img {
  position: relative;
  z-index: 1;
  width: 42px;
  height: auto;
  object-fit: contain;
}

.score-stamp.is-stamped {
  opacity: 1;
  transform: rotate(3deg) scale(1);
}

.score-stamp-zhun-duan img {
  width: 42px;
}

.result-hint-panel {
  top: 835px;
  cursor: default;
  animation: result-card-enter 620ms cubic-bezier(0.19, 1, 0.22, 1) var(--entry-delay, 80ms) both;
}

.result-hint-panel .hint-heading {
  left: 20px;
  width: 78px;
}

.result-hint-panel .hint-line {
  left: 20px;
  width: 229px;
}

.answer-result-button {
  position: absolute;
  left: 1584px;
  top: 947px;
  width: 297px;
  height: 70px;
  overflow: hidden;
  border: 1px solid var(--accent-soft);
  background: linear-gradient(107deg, #383f44 23.676%, #22272a 92.025%);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: filter 120ms ease, transform 120ms ease;
}

.answer-result-button::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -211px;
  width: 576px;
  height: 324px;
  background: url("./assets/ui/alpha/button-texture.png") center/cover no-repeat;
  opacity: 0.8;
}

.answer-result-button.is-waiting {
  opacity: 0;
  pointer-events: none;
  cursor: default;
  transform: translateY(12px);
}

.answer-result-button.is-ready {
  animation: result-card-enter 420ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.answer-result-button:disabled {
  pointer-events: none;
}

.answer-result-button:active:not(:disabled) {
  filter: brightness(1.16);
  transform: translateY(2px);
}

.answer-result-button span {
  position: relative;
  z-index: 1;
}

@keyframes timer-critical-pulse {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(var(--timer-breathe-scale));
  }
  100% {
    transform: scale(1);
  }
}

@keyframes result-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes result-card-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.round-result-backdrop {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}

.round-result-popup {
  position: relative;
  width: 650px;
  min-height: 598px;
  padding: 44px 48px 46px;
  overflow: hidden;
  border: 1px solid rgba(227, 197, 159, 0.72);
  background:
    linear-gradient(180deg, rgba(36, 43, 45, 0.96), rgba(15, 18, 20, 0.98)),
    url("./assets/ui/alpha/detail-bg.png") center/cover no-repeat;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
  color: var(--white);
  text-align: center;
}

.round-result-popup::before,
.round-result-popup::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 48px;
  height: 1px;
  background: rgba(227, 197, 159, 0.45);
}

.round-result-popup::before {
  top: 96px;
}

.round-result-popup::after {
  bottom: 136px;
}

.round-result-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 21px;
  letter-spacing: 0;
}

.round-result-popup h2 {
  margin: 0 0 28px;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.18;
}

.round-answer-meta {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  text-align: left;
}

.round-answer-meta p,
.round-score-grid p,
.round-total-score,
.run-total-score {
  margin: 0;
}

.round-answer-meta p {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: baseline;
  font-size: 23px;
  line-height: 1.4;
}

.round-answer-meta span,
.round-score-grid span,
.round-total-score span,
.run-total-score span {
  color: rgba(255, 255, 255, 0.62);
}

.round-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 28px;
}

.round-score-grid p {
  display: grid;
  gap: 9px;
  padding: 19px 18px 18px;
  border: 1px solid rgba(227, 197, 159, 0.24);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.round-score-grid span {
  font-size: 18px;
}

.round-score-grid strong {
  font-size: 30px;
  font-weight: 400;
}

.round-total-score,
.run-total-score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
}

.round-total-score {
  margin-top: 8px;
}

.round-total-score span,
.run-total-score span {
  font-size: 21px;
}

.round-total-score strong {
  color: var(--accent);
  font-size: 42px;
  font-weight: 400;
}

.run-total-score {
  margin-top: 10px;
}

.run-total-score strong {
  font-size: 30px;
  font-weight: 400;
}

.round-result-button {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 42px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--accent);
  background: linear-gradient(107deg, #383f44 23.676%, #22272a 92.025%);
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.round-result-button::before {
  content: "";
  position: absolute;
  left: -12px;
  top: -188px;
  width: 650px;
  height: 365px;
  background: url("./assets/ui/alpha/button-texture.png") center/cover no-repeat;
  opacity: 0.8;
}

.round-result-button span {
  position: relative;
  z-index: 1;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 30;
  min-width: 260px;
  max-width: 720px;
  padding: 16px 28px;
  border: 1px solid rgba(227, 197, 159, 0.4);
  background: rgba(18, 21, 24, 0.88);
  color: var(--accent);
  font-size: 22px;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.loading,
.error {
  display: grid;
  height: 100%;
  place-items: center;
  background: #000;
  color: var(--accent);
  font-size: 26px;
}
