/* Game layer: intentionally independent of the museum shell styles. */
.preview-ribbon {
  gap: 12px;
}
.slash {
  opacity: 0.5;
}
.eyebrow span {
  width: 28px;
  height: 1px;
  background: #8a353a;
}
.eyebrow b {
  color: #9b9a94;
  margin-left: 24px;
  font-size: 10px;
}
.intro {
  min-height: 330px;
  padding-top: 55px;
  padding-bottom: 43px;
}
.intro h1 {
  font-size: clamp(58px, 6vw, 92px);
  margin: 23px 0 19px;
}
.intro .copy {
  max-width: 665px;
  font-size: 14px;
  line-height: 1.7;
  color: #555854;
}
.solid-link {
  margin-top: 13px;
}
.solid-link span {
  font-size: 20px;
  font-weight: 400;
}
.intro-stamp {
  justify-self: end;
  align-self: end;
  text-align: right;
  color: #77746d;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.16em;
  position: relative;
  z-index: 1;
}
.nav-wallet span {
  font-size: 17px;
  font-weight: 400;
}
.game-section {
  padding: 64px clamp(28px, 5vw, 86px) 74px;
  background: var(--paper);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 25px;
}
.section-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  margin: 10px 0 0;
  letter-spacing: -0.035em;
}
.section-heading h2 small {
  font-size: 22px;
  color: #8d8580;
  margin-left: 7px;
}
.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: 25px;
}
.prize-side {
  min-width: 0;
}
.art-frame {
  aspect-ratio: 1.16 / 1;
}
.orbit-one {
  width: 80%;
  height: 22%;
  left: 10%;
  top: 42%;
  z-index: 6;
}
.orbit-two {
  width: 70%;
  height: 15%;
  left: 16%;
  top: 57%;
  z-index: 4;
  transform: rotate(20deg);
}
.text-button {
  border: none;
  border-bottom: 1px solid #8f8d87;
  background: none;
  white-space: nowrap;
  padding: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
}
.text-button:hover {
  color: var(--accent);
}
.work-caption {
  align-items: end;
}
.prize-context {
  padding-top: 23px;
  display: flex;
  gap: 18px;
  align-items: start;
}
.context-number {
  font:
    23px Georgia,
    serif;
  color: #a15e59;
}
.prize-context p {
  font-size: 11px;
  line-height: 1.7;
  color: #84837e;
  max-width: 450px;
  margin: 0;
}
.machine {
  background: var(--machine);
  color: #f7f5ed;
  min-width: 0;
  padding: 31px clamp(26px, 3.2vw, 45px) 29px;
  box-shadow: 0 12px 30px #2a24210f;
}
.machine-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.machine-top h3 {
  font:
    400 39px / 1.15 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 19px 0 0;
}
.machine-chip {
  color: #c6b9a7;
  border: 1px solid #716f6b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 7px 9px;
  white-space: nowrap;
}
.machine-stats {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  margin-top: 27px;
  border-top: 1px solid #474b4b;
  border-bottom: 1px solid #474b4b;
}
.machine-stats > div {
  padding: 14px 12px 14px 0;
  border-right: 1px solid #474b4b;
}
.machine-stats > div:not(:first-child) {
  padding-left: 16px;
}
.machine-stats > div:last-child {
  border: none;
}
.machine-stats span {
  display: block;
  font-size: 9px;
  color: #9fa7a6;
  letter-spacing: 0.03em;
}
.machine-stats strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  margin-top: 6px;
  white-space: nowrap;
}
.machine-stats strong small {
  font-size: 9px;
  color: #c1b09f;
  letter-spacing: 0.08em;
}
.reel-label,
.stake-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b8a29b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.reel-label {
  margin: 26px 0 11px;
}
.reel-label span:last-child {
  color: #a2a6a3;
}
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  perspective: 900px;
}
.reel {
  height: 149px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  background: linear-gradient(145deg, #343235, #21272a 70%);
  border: 1px solid #6d6461;
  box-shadow:
    inset 0 0 0 1px #d5b69120,
    0 5px 9px #0002;
  overflow: hidden;
}
.reel:after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #8e746155;
  pointer-events: none;
}
/* VAULT_14 GA5: symbol and name span the reel, so changing text never moves their boxes. */
.reel-symbol,
.reel-name {
  align-self: stretch;
  text-align: center;
}
.reel-symbol {
  font:
    400 clamp(54px, 5.8vw, 80px) / 1 Georgia,
    serif;
  color: #d4ac7f;
  text-shadow: 0 5px 12px #07090a88;
}
.reel-name {
  white-space: nowrap;
  font-size: 9px;
  color: #bfae9c;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.reels.spinning .reel {
  animation: reel-pulse 0.19s linear infinite alternate;
}
.reels.spinning .reel:nth-child(2) {
  animation-delay: 0.07s;
}
.reels.spinning .reel:nth-child(3) {
  animation-delay: 0.13s;
}
@keyframes reel-pulse {
  from {
    transform: translateY(-5px);
    filter: blur(1px);
  }
  to {
    transform: translateY(5px);
    filter: blur(0);
  }
}
.outcome {
  min-height: 64px;
  padding: 17px 0 14px;
  border-bottom: 1px solid #444b4d;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.outcome strong {
  font:
    400 18px Georgia,
    serif;
  color: #f2eadc;
}
.outcome span {
  font-size: 10px;
  color: #9ca6a5;
  line-height: 1.5;
  /* VAULT_14 GA5: two lines are kept even when a state has no detail, so the panel never changes height. */
  min-height: 3em;
}
.outcome.win strong {
  color: #e9c392;
}
.outcome.jackpot strong {
  color: var(--gold);
}
.stake-line {
  margin: 25px 0 12px;
  color: #d3d0c7;
}
.stake-line span:last-child {
  color: #9ba3a2;
}
.stake-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.stake {
  height: 48px;
  background: #272d31;
  color: #d8d6d0;
  border: 1px solid #555b5c;
  font-size: 17px;
  font-weight: 500;
}
.stake small {
  font-size: 8px;
  color: #a3a7a4;
  letter-spacing: 0.08em;
  margin-left: 3px;
}
.stake.active {
  background: #463539;
  border-color: #cba89a;
  color: white;
  box-shadow: inset 0 0 0 1px #cba89a55;
}
.stake:hover {
  border-color: #d7b9a9;
}
.spin-button {
  border: 0;
  width: 100%;
  min-height: 53px;
  padding: 0 16px 0 20px;
  background: var(--rose);
  color: white;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.spin-button span {
  font-size: 21px;
  font-weight: 400;
}
.spin-button:hover:not(:disabled) {
  background: #c08076;
}
.spin-button:disabled {
  cursor: not-allowed;
  background: #55595b;
  color: #c2c6c3;
}
.machine-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}
.machine-actions button {
  border: 0;
  background: none;
  color: #dbd2c5;
  border-bottom: 1px solid #777878;
  padding: 0 0 4px;
  font-size: 10px;
}
.machine-actions button:hover {
  color: #fff;
}
.machine-note {
  font-size: 9px;
  line-height: 1.6;
  color: #899290;
  margin: 18px 0 0;
}
.record-section {
  background: #eae8e2;
  padding: 54px clamp(28px, 5vw, 86px);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 6vw;
  align-items: start;
}
.record-intro h2,
.rules-section h2 {
  font:
    400 38px / 1.18 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 11px 0 16px;
}
.record-intro p {
  color: #777874;
  font-size: 12px;
  line-height: 1.75;
  max-width: 370px;
}
.record-card {
  background: #f5f4ee;
  border: 1px solid #d9d6ce;
  min-height: 208px;
}
.record-head {
  display: flex;
  justify-content: space-between;
  padding: 17px 21px;
  border-bottom: 1px solid #d9d6ce;
  color: #8e504e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.record-head span:last-child {
  color: #96938c;
}
.empty-history {
  padding: 54px 20px;
  text-align: center;
  font-size: 11px;
  color: #888983;
}
.history-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e4e1d8;
  padding: 13px 21px;
  font-size: 11px;
}
.history-row:last-child {
  border: none;
}
.history-row .history-index {
  font:
    18px Georgia,
    serif;
  color: #a15958;
}
.history-row strong {
  font-weight: 600;
}
.history-row small {
  display: block;
  color: #888a85;
  margin-top: 4px;
  font-size: 10px;
}
.history-row .payout {
  font-weight: 700;
  color: #595c57;
}
.history-row .payout.positive {
  color: #975044;
}
.rules-section {
  background: var(--paper);
  padding: 68px clamp(28px, 5vw, 86px) 85px;
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.rules-grid article {
  border-top: 1px solid #a7a29a;
  padding-top: 20px;
}
.rules-grid article > span {
  color: #9a4947;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.rules-grid strong {
  display: block;
  font:
    400 25px Georgia,
    serif;
  margin: 20px 0 9px;
}
.rules-grid p {
  color: #777974;
  font-size: 12px;
  line-height: 1.75;
  max-width: 350px;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.modal p {
  font-size: 13px;
  color: #646763;
  line-height: 1.8;
}
.claim-note {
  padding: 15px 17px;
  background: #e7e1d7;
  border-left: 2px solid #a55d58;
  margin: 21px 0;
  font-size: 11px;
  color: #555b58;
  line-height: 1.6;
}
.claim-note strong {
  display: block;
  color: #792e37;
  font-size: 12px;
  margin-bottom: 5px;
}
.modal-action {
  cursor: pointer;
}
@media (max-width: 1050px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .art-frame {
    aspect-ratio: 1.45 / 1;
  }
  .machine {
    max-width: none;
  }
  .record-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .record-intro p {
    max-width: 650px;
  }
}
@media (max-width: 650px) {
  .preview-ribbon {
    font-size: 7px;
    gap: 5px;
    letter-spacing: 0.06em;
  }
  .intro {
    padding: 43px 23px 49px;
    min-height: 0;
  }
  .intro h1 {
    font-size: clamp(46px, 10.5vw, 65px);
  }
  .intro .copy {
    font-size: 13px;
  }
  .intro-stamp {
    display: none;
  }
  .game-section {
    padding: 46px 20px 54px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .section-heading h2 small {
    font-size: 14px;
    display: inline-block;
    white-space: nowrap;
  }
  .status-badge {
    font-size: 7px;
    padding: 8px;
    white-space: nowrap;
  }
  .art-frame {
    aspect-ratio: 0.98 / 1;
  }
  .work-caption {
    align-items: start;
  }
  .work-caption h3 {
    font-size: 24px;
  }
  .text-button {
    font-size: 9px;
    margin-top: 20px;
  }
  .machine {
    padding: 28px 20px;
  }
  .machine-top h3 {
    font-size: 35px;
  }
  .machine-chip {
    font-size: 7px;
  }
  .machine-stats strong {
    font-size: 16px;
  }
  .machine-stats strong small {
    display: block;
    margin-top: 3px;
    font-size: 8px;
  }
  .reel {
    height: 104px;
  }
  .reel-symbol {
    font-size: 48px;
  }
  .reel-name {
    font-size: 7px;
  }
  .reel-label {
    font-size: 7px;
  }
  .machine-actions button {
    font-size: 9px;
  }
  .record-section {
    padding: 48px 20px;
  }
  .record-intro h2,
  .rules-section h2 {
    font-size: 33px;
  }
  .record-head {
    padding: 15px 12px;
    font-size: 8px;
  }
  .history-row {
    padding: 12px;
    grid-template-columns: 25px 1fr auto;
    gap: 7px;
    font-size: 10px;
  }
  .history-row .history-index {
    font-size: 15px;
  }
  .rules-section {
    padding: 53px 20px 64px;
  }
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rules-grid strong {
    margin: 15px 0 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reels.spinning .reel {
    animation: none;
  }
}
.wallet-panel {
  margin-top: 22px;
  padding: 17px 19px;
  border: 1px solid #d4cfc4;
  background: #f2f0e8;
  overflow-wrap: anywhere;
}
.wallet-panel strong {
  font:
    19px Georgia,
    serif;
  color: #7d4142;
}
.wallet-panel p {
  font-size: 11px;
  line-height: 1.6;
  color: #555b58;
  margin: 8px 0 0;
}
