.cabinet > .offers.offer-machine {
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: var(--panel-width, 85.24%);
  max-width: none;
  min-height: 0;
  isolation: isolate;
  background: #172433;
  border: 0;
  border-radius: 0;
  color: #102238;
  text-align: left;
  box-shadow: none;
}
.offer-machine::before, .offer-machine::after { content: none; }
.offer-face {
  position: relative;
  width: 100%;
  aspect-ratio: 1432 / 1468;
  container-type: inline-size;
  isolation: isolate;
  background: #efac1b url("./assets/offers/cabinet-gold.webp") top center / 100% 100% no-repeat;
}
.member-word {
  position: absolute;
  top: 2.88%;
  left: 50%;
  transform: translateX(-50%);
  width: 46.96%;
  margin: 0;
  line-height: 0;
}
.member-word img, .ticket-slot, .ticket-paper {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ticket-unit {
  --paper-width: 88.39%;
  --paper-left: 5.70%;
  position: absolute;
  top: 18.15%;
  left: 13.4%;
  width: 34.98%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
}
.ticket-unit.returning-member {
  left: 51.7%;
  --paper-width: 89.53%;
  --paper-left: 5%;
}
.ticket-slot {
  filter: drop-shadow(0 .27cqw .24cqw rgb(67 31 3 / 48%));
}
.paper-travel {
  position: relative;
  overflow: hidden;
  width: 110%;
  margin-top: -11.028%;
  margin-left: -5%;
  padding-bottom: 8%;
  pointer-events: none;
}
.ticket-paper {
  position: relative;
  width: var(--paper-width);
  margin-left: var(--paper-left);
  filter: drop-shadow(.15cqw 1.25cqw .9cqw rgb(73 36 6 / 43%));
}
.offer-machine .offer-footbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin: 0;
  padding: .85rem clamp(1rem, 3vw, 3.5rem);
  border-top: 2px solid #77521d;
  background: #152437;
  color: #fff1d5;
}
.offer-machine .official {
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: 44px;
  padding: .5em 1.2em;
  background: #f7c653;
  color: #18242e;
  text-decoration: none;
  border: 1px solid #c19a43;
  border-radius: 6px;
}
.foot-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .12rem 1.15rem;
  font-size: .9rem;
}
.foot-controls a, .offer-machine .foot-controls .sound {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.offer-machine .foot-controls .sound { position: static; padding: 0 .2em; }
@media (max-width: 640px) {
  .offer-face {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    aspect-ratio: auto;
    padding: 9% 0 41%;
    background-image: url("./assets/offers/gold-head.webp"), url("./assets/offers/gold-foot.webp"), url("./assets/offers/gold-field.webp");
    background-position: top center, bottom center, center;
    background-size: 100% auto, 100% auto, 100% auto;
    background-repeat: no-repeat, no-repeat, repeat-y;
  }
  .member-word {
    position: relative;
    inset: auto;
    width: 58%;
    margin: 0 auto 7%;
    transform: none;
  }
  .ticket-unit, .ticket-unit.returning-member { position: relative; inset: auto; width: 73%; margin: 0 auto; }
  .ticket-unit + .ticket-unit { margin-top: 4%; }
  .ticket-paper { filter: drop-shadow(.15cqw 1.65cqw 1.1cqw rgb(73 36 6 / 43%)); }
  .offer-machine .offer-footbar { justify-content: center; padding: .9rem .6rem; }
  .foot-controls { justify-content: center; column-gap: .75rem; font-size: .85rem; }
}
/* Loose pieces of printed ticket stock, positioned in the heading margins. */
.ticket-scraps {
  position: absolute;
  top: 0;
  width: 31%;
  height: 100%;
  pointer-events: none;
  container-type: inline-size;
}
.scraps-left { right: 107%; }
.scraps-right { left: 107%; transform: rotate(13deg); }
.ticket-scraps i {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  top: 38%; left: 22%; width: 41%; height: 31%;
  color: #fdf0cf;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #fff1 3px 4px), #164981;
  font: 900 italic 18cqw/1 Georgia, serif;
  transform: rotate(-24deg);
  clip-path: polygon(0 4%, 72% 0, 75% 11%, 86% 7%, 83% 23%, 97% 29%, 91% 44%, 100% 52%, 94% 65%, 99% 83%, 90% 97%, 0 100%);
}
.ticket-scraps i:nth-child(2) { left: 4%; top: 22%; width: 13%; height: 17%; background: #ef6756; transform: rotate(31deg); }
.ticket-scraps i:nth-child(3) { left: 66%; top: 11%; width: 19%; height: 11%; background: repeating-linear-gradient(90deg,#f6ead0 0 2px,#2b847c 2px 4px); transform: rotate(22deg); }
.ticket-scraps i:nth-child(4) { left: 72%; top: 62%; width: 12%; height: 18%; background: #e66859; transform: rotate(43deg); }
.ticket-scraps i:nth-child(5) { left: 13%; top: 83%; width: 16%; height: 8%; background: #268e94; transform: rotate(-19deg); }
.scraps-right i:first-child { background-color: #af403b; transform: rotate(12deg); }
.scraps-right i:nth-child(2) { background: #165489; top: 6%; left: 21%; }
.scraps-right i:nth-child(4) { background: #235b8c; }
.scraps-right i:nth-child(5) { left: 45%; }
@media (max-width: 640px) {
  .ticket-scraps { width: 26%; }
  .scraps-left { right: 103%; }
  .scraps-right { left: 103%; }
}
@media (prefers-reduced-motion: no-preference) {
  .ticket-paper { transform: translateY(var(--feed-offset, 0%)); }
}

/* Continue the foreground cloud into the ticket face, then the game panel. */
.offer-face {
  aspect-ratio: 1432 / 1120;
  background: #f7bd23 url("./assets/bridge/cloud-enamel.webp") center / 100% 100% no-repeat;
}
.ticket-unit { top: 24%; }
.cabinet-base {
  width: var(--panel-width);
  margin: 0 auto;
}

.cabinet-base::before {
  content: "";
  display: block;
  aspect-ratio: 1432 / 116;
  background: url("./assets/offers/gold-foot.webp") center top / 100% auto no-repeat;
}
@media (max-width: 640px) {
  .offer-face { aspect-ratio: auto; padding-bottom: 8%; }
  .ticket-unit, .ticket-unit.returning-member { top: auto; }
}

.offer-footbar .age-notice {
  flex: 1 0 100%;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 0 .25rem;
  margin-top: .35rem;
  border-top: 1px solid #566376;
  color: #fff4df;
  text-align: left;
  line-height: 1.6;
}
.age-notice .age-badge {
  flex: none;
  border: 2px solid currentColor;
  border-radius: .45rem;
  padding: .1em .35em;
  color: #ffd15c;
  font: 800 1.35rem/1.4 system-ui, sans-serif;
}
.age-notice strong { font-size: 1.1rem; color: #ffd15c; }
.age-notice p { margin: .15em 0 0; font-size: 1rem; }

.offer-machine .offer-footbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  padding: clamp(20px, 3vw, 42px) clamp(18px, 4vw, 64px) 1rem;
  background: linear-gradient(135deg, #203550, #101e30 75%);
  border-top: 4px solid #d9ad53;
}
.offer-footbar .official { justify-self: start; }
.offer-footbar .foot-controls { justify-content: flex-end; }
.offer-footbar .age-notice {
  grid-column: 1 / -1;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid #405368;
  border-left: 4px solid #f7c653;
  border-radius: 8px;
  background: #101e30;
}
.offer-footbar .age-badge {
  border-radius: 50%;
  width: 2.8em;
  height: 2.8em;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 0;
}
.site-copyright {
  grid-column: 1 / -1;
  color: #ccd4dd;
  text-align: center;
  font-size: .85rem;
}
@media (max-width: 640px) {
  .offer-machine .offer-footbar { grid-template-columns: 1fr; gap: .85rem; }
  .offer-footbar .official { justify-self: center; }
  .offer-footbar .foot-controls { justify-content: center; }
  .offer-footbar .age-notice { align-items: flex-start; gap: .7rem; padding: 1rem .75rem; }
  .offer-footbar .age-badge { font-size: 1rem; }
}

.hall-faq {
  background: #13283c;
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
  text-align: left;
}
.hall-faq h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 3vw, 2rem); color: #ffe34e; }
.hall-faq details { border-top: 1px solid #516479; }
.hall-faq summary { padding: .9rem 0; cursor: pointer; font-weight: 700; line-height: 1.55; }
.hall-faq p { margin: 0 0 1rem; line-height: 1.8; max-width: 52ch; }
