/* The exchange counter uses the same illustrated rewards and receipt on both screens. */
.vt-stage:is([data-tv-scene='shops'], [data-tv-scene='reward'], [data-tv-scene='confirm'])
  .vt-world-art {
  --scene-hd: url('/art/rewards/booth.webp');
  background: #735443 linear-gradient(180deg, transparent 42%, #361c2042 100%) center / cover;
  background-image: linear-gradient(180deg, transparent 42%, #361c2042), var(--scene-hd);
}
@media (max-width: 1000px) and (max-resolution: 1.5dppx) {
  .vt-stage:is([data-tv-scene='shops'], [data-tv-scene='reward'], [data-tv-scene='confirm'])
    .vt-world-art {
    --scene-hd: url('/art/rewards/booth-sm.webp');
  }
}
.vt-stage:is([data-tv-scene='shops'], [data-tv-scene='reward'], [data-tv-scene='confirm'])
  .vt-world-title
  h1 {
  font-size: clamp(20px, min(5.3cqw, 9.5cqh), 98px);
}
.reward-booth {
  --paper: #fff4d9;
  --wood: #754930;
  --ink: #482f2d;
  position: absolute;
  inset: 26% 4% 5%;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  align-items: end;
  justify-items: center;
  color: var(--ink);
  font-size: clamp(12px, min(2.25cqw, 3.9cqh), 50px);
  line-height: 1.3;
}
.reward-art {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.reward-preview {
  position: absolute;
  inset: 1% 16% 44%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3%;
  isolation: isolate;
  padding-bottom: 0.45em;
}
.reward-preview::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 5% 0;
  height: 0.48em;
  border: 0.08em solid #895638;
  border-radius: 0.25em;
  background: linear-gradient(#f7cd82 0 34%, #c88c53 36% 82%, #a87143 84%);
  box-shadow: 0 0.24em 0.24em #583d2f40;
}
.reward-preview .reward-art {
  width: min(27%, 24cqh);
  height: 94%;
  filter: drop-shadow(0 0.2em 0.1em #6c482e60);
}
.reward-preview .reward-art:nth-child(2) {
  height: 100%;
}
.reward-vouchers,
.reward-catalog {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  gap: 2.3%;
}
.reward-vouchers {
  height: 72%;
  max-height: 32cqh;
}
.reward-voucher {
  --seal: #ffcf67;
  position: relative;
  flex: 1;
  max-width: 46%;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: 2%;
  border: 0.12em solid #875637;
  border-radius: 1em;
  padding: 0.5em 0.72em;
  background:
    radial-gradient(ellipse at 20% 22%, #fff4bf, transparent 50%), linear-gradient(#fff9e0, #f6dc99);
  box-shadow:
    inset 0 0 0 0.14em #fff2c5,
    inset 0 0 0 0.2em #d59752,
    0 0.2em 0.06em #603d2b,
    0 0.45em 0.65em #39273355;
}
.reward-voucher.voucher-qt {
  --seal: #a9b8ef;
  background:
    radial-gradient(ellipse at 20% 22%, #f8f1ff, transparent 50%), linear-gradient(#f7efff, #d7d6f0);
  box-shadow:
    inset 0 0 0 0.14em #f1eaff,
    inset 0 0 0 0.2em #a095bc,
    0 0.2em 0.06em #604959,
    0 0.45em 0.65em #39273355;
  border-color: #655174;
}
.voucher-purse {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
  height: 90%;
  display: grid;
  place-items: center;
}
.voucher-purse .reward-art {
  filter: drop-shadow(0 0.17em 0.12em #653c383f);
}
.voucher-caption {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.26em;
}
.voucher-caption strong {
  color: #473031;
  font-size: 1.15em;
}
.voucher-stock {
  font-size: 0.83em;
  color: #674c3e;
}
.voucher-balance {
  display: inline-flex;
  align-items: baseline;
  gap: 0.44em;
  font-size: 0.82em;
  white-space: nowrap;
  color: #564131;
}
.voucher-balance b {
  font-size: 1.2em;
  font-variant-numeric: tabular-nums;
}
.reward-catalog {
  height: 86%;
  align-items: stretch;
}
.reward-card {
  position: relative;
  min-width: 0;
  width: 31%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  background: radial-gradient(ellipse at 50% 30%, #fff4c3 0, #f9d599 57%, #deb77f 100%);
  border: 0.12em solid var(--wood);
  border-radius: 1em;
  box-shadow:
    inset 0 0 0 0.14em #fff0c6,
    0 0.2em 0.05em #654330,
    0 0.45em 0.6em #39273355;
}
.reward-object,
.reward-detail-art {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  position: relative;
  isolation: isolate;
  padding: 0.34em 0.38em 0.2em;
}
.reward-object:before,
.reward-detail-art:before {
  content: '';
  position: absolute;
  bottom: 4%;
  width: 62%;
  height: 10%;
  border-radius: 50%;
  background: #8f5c3426;
  filter: blur(0.12em);
  z-index: -1;
}
.reward-object > .reward-art,
.reward-detail-art > .reward-art {
  min-width: 0;
  min-height: 0;
  filter: drop-shadow(0 0.16em 0.12em #5b3a352e);
}
.reward-object > .icon,
.reward-detail-art > .icon {
  width: 45%;
  height: 45%;
  color: #896841;
}
.reward-card-label {
  padding: 0.45em 0.3em 0.55em;
  border-top: 0.095em solid #cfa879;
  border-radius: 0 0 0.82em 0.82em;
  background: linear-gradient(#fffae9, #fff1d0);
  color: var(--ink);
  display: grid;
  justify-items: center;
  align-content: center;
  row-gap: 0.22em;
  text-align: center;
}
.reward-card-label h2 {
  font-size: 1.01em;
  line-height: 1.28;
}
.reward-price,
.reward-state {
  display: inline-flex;
  gap: 0.33em;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}
.reward-price {
  font-size: 0.78em;
  font-weight: 650;
  color: #66503a;
}
.reward-price .reward-art {
  width: 1.5em;
  height: 1.5em;
  flex: none;
}
.reward-state {
  font-size: 0.73em;
  padding: 0.25em 0.56em;
  border-radius: 0.54em;
  font-weight: 650;
  background: #deefd1;
  color: #295339;
}
.reward-state .icon {
  flex: none;
  width: 0.94em;
  height: 0.94em;
}
.state-owned {
  color: #405071;
  background: #e6e8f4;
}
.state-short,
.state-closed {
  background: #f7dfc5;
  color: #804123;
}
.reward-catalog.count-4 {
  gap: 1.25%;
}
.reward-catalog.count-4 .reward-card {
  width: 24%;
}
.reward-catalog.count-1 .reward-card {
  width: 72%;
  height: 83%;
  align-self: end;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr) minmax(0, 1.18fr);
}
.reward-catalog.count-1 .reward-card-label {
  border-radius: 0 0.84em 0.84em 0;
  border-top: 0;
  border-left: 0.095em dashed #cca479;
  font-size: 1.25em;
}
.reward-booth [aria-current='true'] {
  outline: 0.16em solid #ffe185;
  outline-offset: 0.11em;
}
.reward-booth [aria-current='true']:after {
  content: '';
  position: absolute;
  top: -0.85em;
  left: 50%;
  width: 0.68em;
  height: 0.68em;
  background: #ffe185;
  border: 0.075em solid #8c592f;
  transform: translateX(-50%) rotate(45deg);
}
.reward-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  width: min(86%, 120cqh);
  height: 96%;
  min-height: 0;
  border: 0.13em solid #805036;
  border-radius: 1em;
  overflow: hidden;
  background: radial-gradient(ellipse at 22% 34%, #fff1b5, #f4ce8f 52%, #e4ba81);
  box-shadow:
    inset 0 0 0 0.18em #fff1c9,
    0 0.2em 0 #674532,
    0 0.46em 0.6em #39273355;
}
.reward-detail-art {
  padding: 8%;
}
.reward-receipt {
  min-width: 0;
  padding: 0.7em 0.95em;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(115deg, #fffbed, #fff0c9);
  border-left: 0.12em dashed #c69a6e;
}
.reward-receipt > small {
  font-size: 0.7em;
  color: #785435;
}
.reward-receipt h2 {
  font-size: 1.26em;
  line-height: 1.36;
  margin: 0.06em 0 0.14em;
  color: #4b332e;
}
.reward-receipt dl {
  width: 100%;
  display: grid;
  gap: 0.22em;
  margin: 0.45em 0 0;
  color: #554332;
  font-size: 0.79em;
}
.reward-receipt dl div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 0.5em;
}
.reward-receipt dt,
.reward-receipt dd {
  margin: 0;
}
.reward-receipt dd {
  font-weight: 600;
}
.reward-receipt .reward-after {
  padding-top: 0.25em;
  border-top: 0.1em dashed #c7a27a;
  color: #2d593a;
}
.reward-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  padding: 0.9em 1.2em;
  border-radius: 0.8em;
  background: #fff4d9;
  color: #604631;
}
.reward-empty > .icon {
  width: 1.5em;
  height: 1.5em;
}
.reward-guide {
  display: flex;
  align-items: center;
  gap: 0.8em;
  justify-content: space-between;
  color: #433a43;
  font-weight: 600;
  font-size: clamp(11px, 1.36vw, 36px);
}
.reward-guide > span {
  display: inline-flex;
  align-items: center;
  gap: 0.36em;
  padding: 0.14em 0.5em;
  border: 0.12em solid transparent;
  border-radius: 0.5em;
}
.reward-guide > span[aria-current='true'] {
  color: #453229;
  background: #ffe195;
  border-color: #bd804c;
}
.reward-guide > span:last-child {
  margin-left: auto;
}
.shop-departments {
  width: min(100%, 172cqh);
  height: min(100%, 56cqh);
  align-self: center;
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
  gap: max(5px, 1.65cqh);
}
.shop-dept,
.action-sheet[data-play-scene='shops'] .play-choice {
  --sign: #955843;
  --glaze: #f8d0ac;
  --paper: #fff4dd;
}
[data-department='upgrades'],
.action-sheet[data-play-scene='shops'] [data-choice='upgrades'] {
  --sign: #496c4c;
  --glaze: #bfdfac;
  --paper: #f1f9dd;
}
[data-department='decorations'],
.action-sheet[data-play-scene='shops'] [data-choice='decorations'] {
  --sign: #795475;
  --glaze: #dec2e6;
  --paper: #fcf0f7;
}
[data-department='supplies'],
.action-sheet[data-play-scene='shops'] [data-choice='supplies'] {
  --sign: #70602e;
  --glaze: #f1d578;
  --paper: #fff4ce;
}
.shop-dept {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  align-items: center;
  gap: 3%;
  padding: 0.2em 0.5em;
  border: max(1px, 0.12em) solid var(--sign);
  border-radius: 0.85em;
  background: linear-gradient(110deg, var(--glaze), var(--paper) 76%);
  box-shadow: inset 0 0 0 0.12em #ffffff8c, 0 0.18em 0 var(--sign);
}
.shop-dept-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.shop-dept-art > .reward-art {
  max-height: 20cqh;
  filter: drop-shadow(0 0.12em 0.05em #56392930);
}
.shop-dept-copy {
  display: grid;
  gap: 0.2em;
  color: #3f3429;
  text-align: left;
}
.shop-dept-copy strong {
  font-size: 1.08em;
  line-height: 1.15;
  text-wrap: balance;
}
.shop-dept-copy small {
  color: #584630;
  font-size: 0.72em;
  line-height: 1.2;
}
.shop-coupon {
  display: grid;
  place-items: center;
  width: 82%;
  max-height: 92%;
  aspect-ratio: 1.48;
  position: relative;
  border: 0.11em solid #9b6745;
  border-radius: 0.45em;
  background: linear-gradient(115deg,#fff8d9,#ffe396);
  box-shadow: 0 0.12em 0 #95684455;
  transform: rotate(-6deg);
}
.shop-coupon::before {
  content: '';
  position: absolute;
  inset: 10% auto 10% 17%;
  border-left: 0.1em dashed #b48446;
}
.shop-coupon > .reward-art {
  position: absolute;
  left: 23%;
  width: 66%;
  height: 88%;
}
.shop-offer-specs { color: #5c4f43; font-size: 0.72em; }
.reward-receipt .shop-product-description {
  margin: 0.18em 0;
  color: #5a493a;
  font-size: 0.76em;
  line-height: 1.3;
}
.shop-wallets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 12px;
  color: #584737;
  font-size: 0.82rem;
}
.shop-wallets > span { display: flex; align-items: center; gap: 4px; }
.shop-wallets .reward-art { width: 24px; height: 24px; }
.action-sheet .shop-wallet-link { margin: 0 0 10px; min-height: 42px; }
.action-sheet[data-play-scene='shops'] .play-choice {
  background: linear-gradient(120deg, var(--glaze), var(--paper) 63%);
  border-color: var(--sign);
  min-height: 78px;
}
.action-sheet .shop-dept-art { height: 60px; }
.action-sheet .shop-dept-copy small { font-size: 0.82rem; }
.phone-reward-label .shop-offer-specs { font-size: 0.74rem; }
@container (max-width: 460px) {
  .reward-booth {
    inset: 25% 4% 4%;
    font-size: clamp(10px, 3cqw, 13px);
  }
  .reward-catalog {
    height: 90%;
  }
  .reward-card-label h2 {
    font-size: 0.99em;
  }
  .reward-card-label {
    gap: 0.2em;
  }
  .reward-voucher {
    max-width: 49%;
  }
}
@container (max-aspect-ratio: 1/1) {
  .reward-preview {
    inset: 0 7% 69%;
  }
  .reward-vouchers {
    flex-direction: column;
    height: 66%;
    max-height: none;
    align-items: center;
  }
  .reward-voucher {
    width: 88%;
    max-width: 88%;
    min-height: 0;
  }
  .reward-voucher .voucher-purse {
    max-height: 10cqh;
  }
  .reward-catalog:not(.count-1) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 3%;
  }
  .reward-catalog:not(.count-1) .reward-card {
    width: 100%;
  }
  .reward-detail,
  .reward-catalog.count-1 .reward-card {
    width: 95%;
  }
}
