/* Authored ticket PNGs form the pile; transforms only move the individual paper pieces. */
.menu-panel[data-page="pick"] { width: 760px; padding-left: 72px; padding-right: 72px; }
.menu-panel[data-page="pick"] .menu-header { padding-bottom: 9px; }
.menu-panel[data-page="pick"] .menu-header h1 { font-size: 29px; }
.menu-panel[data-page="pick"] .menu-header #menu-description { margin-top: 6px; font-size: 14px; }
#market-pick .pick-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#market-pick .pick-heading > b { color: #2b4e40; font-size: 18px; font-weight: 500; }
#market-pick .pick-heading .market-btn { flex: none; min-height: 31px; padding: 4px 10px; }
#market-pick .pick-hint { margin: 3px 0 5px; color: #817053; font-size: 13px; line-height: 1.5; }
.ticket-pile-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-pile-navigation .market-btn { padding: 4px 11px; min-height: 31px; font-size: 13px; }
.ticket-pile-readout { color: #334f41; font-size: 15px; font-variant-numeric: tabular-nums; }
.ticket-pile-board { position: relative; height: 208px; margin: 6px -4px 0; isolation: isolate; }
.ticket-pile-card {
  position: absolute; top: 0; left: 50%; width: 38px; height: 112px; margin: 0; padding: 0; overflow: visible;
  border: 0; border-radius: 0; background: transparent; color: #3d4936; cursor: pointer;
  transform-origin: 42px 56px; transition: transform 380ms cubic-bezier(.2,.75,.25,1), filter 200ms;
  -webkit-tap-highlight-color: transparent;
}
.ticket-pile-face { display: block; width: 84px; max-width: none; height: 112px; object-fit: fill; pointer-events: none; image-rendering: pixelated; }
.ticket-pile-tail {
  position: absolute; left: 3px; top: 5px; min-width: 29px; padding: 3px 4px; color: #304a3d; isolation: isolate;
  font-size: 12px; font-weight: 700;
  font-family: ui-monospace, monospace; text-align: center; pointer-events: none;
}
/* the current card wears the shop's authored gold selection frame */
.ticket-pile-card.is-current::after { content: ''; position: absolute; left: -6px; top: -6px; width: 96px; height: 124px; pointer-events: none;
  border-style: solid; border-width: 10px; border-image: url("assets/px/select.png") 8 / 10px round; }
.ticket-pile-card.is-picked .ticket-pile-tail { font-size: 22px; min-width: 56px; }
.ticket-pile-card:disabled:not(.is-picked) { cursor: default; }
.ticket-pile-card:focus-visible { outline: 2px solid #a55b36; outline-offset: 4px; }
.ticket-pile-tray { position: absolute; inset: 138px 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 38px; }
.ticket-pile-tray > span { position: absolute; top: 8px; left: 0; color: #927c5c; font-size: 12px; max-width: 110px; line-height: 1.5; }
.ticket-pile-slot { position: relative; isolation: isolate; width: 48px; height: 63px; margin-bottom: 4px; color: #a68858; font-style: normal; text-align: center; line-height: 63px; font-size: 16px; }
.ticket-pile-status { margin: 3px 0 5px; color: #4b5d46; text-align: center; font-size: 13px; min-height: 19px; line-height: 1.45; }
#market-pick .pick-purchase { display: block; width: 100%; min-height: 34px; padding: 5px 10px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .ticket-pile-card { transition: none; } }
@media (max-width: 680px) {
  .menu-panel[data-page="pick"] { width: 760px; padding-left: 68px; padding-right: 68px; }
}
