/* A full-width catalog. Supporting activities have their own destinations. */
.studio .shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0 30px; }
.studio .shop-heading h3 { font-size: clamp(25px,2.4vw,35px); letter-spacing: -1px; line-height: 1.4; margin: 9px 0; }
.studio .shop-heading p { font-size: 13px; color: var(--studio-muted); }
.studio .shop-wallet { display: grid; grid-template-columns: auto auto; align-items: center; gap: 3px 20px; border-left: 1px solid var(--line); padding-left: 30px; flex-shrink: 0; }
.studio .shop-wallet > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--studio-muted); }
.studio .shop-wallet > span svg { color: #b28b32; width: 17px; }
.studio .shop-wallet > strong { font-size: 35px; font-weight: 600; grid-column: 2; grid-row: 1 / 3; font-variant-numeric: tabular-nums; }
.studio .shop-wallet > button { display: flex; align-items: center; gap: 4px; background: transparent; color: var(--studio-deep); padding: 4px 0; font-size: 11px; }
.studio .shop-wallet > button svg { width: 13px; height: 13px; }
.studio .shop-wish { display: flex; align-items: center; gap: 20px; padding: 23px 26px; border-radius: 18px; background: #ebe8f6; margin-bottom: 34px; }
.studio .shop-wish-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #ffffff9c; color: #8a6aac; flex-shrink: 0; }
.studio .shop-wish-icon svg { width: 27px; height: 27px; }
.studio .shop-wish-copy { flex: 1; min-width: 0; }
.studio .shop-wish-copy h4 { font-size: 17px; margin: 2px 0 5px; overflow-wrap: anywhere; }
.studio .shop-wish-copy p { font-size: 12px; color: #7b708b; }
.studio .shop-wish-copy .micro-label { font-size: 9px; color: #887399; }
.studio .shop-wish-progress { width: 190px; flex-shrink: 0; }
.studio .shop-wish-progress > span { display: block; font-size: 12px; text-align: right; color: #7b708b; margin-bottom: 10px; }
.studio .shop-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 23px; }
.studio .shop-toolbar h4 { font-size: 19px; margin-bottom: 14px; }
.studio #shopCount { color: var(--studio-muted); font-size: 11px; font-weight: 400; margin-left: 8px; }
.studio .shop-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.studio .shop-filters button { background: transparent; border: 1px solid transparent; color: var(--studio-muted); padding: 8px 13px; border-radius: 22px; font-size: 12px; }
.studio .shop-filters button[aria-pressed="true"] { background: var(--studio-ink); color: white; }
.studio .shop-filters button:hover { border-color: #a6b9aa; }
.studio .shop-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: white; border: 1px solid var(--line); border-radius: 12px; width: 220px; }
.studio .shop-search svg { width: 16px; color: var(--studio-muted); }
.studio .shop-search input { padding: 10px 0; background: transparent; border: 0; width: 100%; min-width: 0; font-size: 12px; }
.studio #studentRedeemList.shop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.studio .shop-item { --item-bg: #eaf3e8; --item-ink: #66865c; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-width: 0; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.studio .shop-item:hover { border-color: #aacbb4; box-shadow: 0 8px 25px #20352e08; }
.studio .shop-item.tone-1 { --item-bg: #eeebf8; --item-ink: #8c74aa; }
.studio .shop-item.tone-2 { --item-bg: #fbefdf; --item-ink: #af8754; }
.studio .shop-item.is-wish { border-color: #bcabd2; }
.studio .shop-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.studio .shop-item-icon { width: 54px; height: 54px; border-radius: 17px; color: var(--item-ink); background: var(--item-bg); display: grid; place-items: center; }
.studio .shop-item-icon svg { width: 27px; height: 27px; stroke-width: 1.5; }
.studio .shop-item .wish-toggle { position: static; width: 40px; height: 40px; padding: 10px; background: #f7f8f4; }
.studio .shop-item .wish-toggle[aria-pressed="true"] { background: #f9eaf3; }
.studio .shop-item-category { font-size: 10px; color: var(--studio-muted); margin-bottom: 6px; }
.studio .shop-item h4 { font-size: 17px; font-weight: 650; line-height: 1.6; margin-bottom: 22px; overflow-wrap: anywhere; flex: 1; }
.studio .shop-item-price { display: flex; align-items: baseline; gap: 5px; }
.studio .shop-item-price svg { width: 16px; height: 16px; color: #b49345; align-self: center; }
.studio .shop-item-price strong { font-size: 25px; font-weight: 600; }
.studio .shop-item-price > span, .studio .shop-item-price > small { color: var(--studio-muted); font-size: 11px; }
.studio .shop-item-price > small { margin-left: auto; }
.studio .shop-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.studio .shop-item-bottom > span { font-size: 11px; color: var(--studio-muted); }
.studio .shop-item-bottom > .can-redeem { color: var(--studio-deep); }
.studio .shop-item-bottom button { padding: 9px 12px; min-height: 40px; font-size: 12px; white-space: nowrap; }
.studio .shop-item-bottom button svg { width: 15px; height: 15px; }
.studio .shop-grid > .studio-empty { grid-column: 1 / -1; }
.studio .shop-footnote { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--studio-muted); margin: 20px 0 32px; }
.studio .shop-footnote svg { width: 14px; height: 14px; }
.studio .shop-extras { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 25px; gap: 24px; }
.studio .shop-extra { text-align: left; display: flex; align-items: center; gap: 13px; background: transparent; min-width: 0; padding: 12px 0; }
.studio .shop-extra-icon { width: 44px; height: 44px; display: grid; place-items: center; color: #8b987a; background: #eaf0e4; border-radius: 14px; flex-shrink: 0; }
.studio .shop-extra strong { font-size: 13px; display: block; font-weight: 600; }
.studio .shop-extra small { font-size: 11px; color: var(--studio-muted); display: block; margin-top: 5px; }
.studio .shop-extra-link { margin-left: auto; font-size: 11px; color: var(--studio-deep); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.studio .shop-extra-link svg { width: 14px; height: 14px; }
.studio .shop-extra:hover .shop-extra-link { text-decoration: underline; }
.studio .shop-dialog-intro { font-size: 13px; color: var(--studio-muted); line-height: 1.9; margin-bottom: 22px; }
.studio #shopDrawDialog { width: min(480px,calc(100% - 28px)); }
.studio #shopDrawDialog .lottery-wheel-container { padding: 25px 15px; text-align: center; background: #f1f4ea; }
.studio #shopDrawDialog .lottery-wheel, .studio #shopDrawDialog #wheelCanvas { width: 260px; height: 260px; }
.studio #shopDrawDialog .lottery-hint { margin-top: 12px; font-size: 12px; }
.studio #shopLedgerDialog #scoreHistory { border: 0; padding: 0; background: transparent; }
.studio #shopLedgerDialog #scoreHistory > h4 { display: none; }
@media (max-width: 1180px) {
  .studio #studentRedeemList.shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio .shop-extras { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  .studio .shop-heading { align-items: flex-start; flex-direction: column; gap: 14px; padding: 4px 0 18px; }
  .studio .shop-heading > div > .micro-label { display: none; }
  .studio .shop-heading h3 { font-size: 24px; margin: 0 0 6px; }
  .studio .shop-heading p { font-size: 12px; }
  .studio .shop-wallet { border: 0; background: var(--studio-soft); padding: 10px 14px; border-radius: 12px; width: 100%; grid-template-columns: auto 1fr auto; gap: 12px; }
  .studio .shop-wallet > strong { text-align: left; font-size: 24px; grid-row: 1; grid-column: 2; }
  .studio .shop-wallet > button { grid-row: 1; grid-column: 3; }
  .studio .shop-wish { padding: 15px; gap: 12px; flex-wrap: wrap; margin-bottom: 23px; }
  .studio .shop-wish-copy h4 { font-size: 15px; }
  .studio .shop-wish-icon { width: 42px; height: 42px; }
  .studio .shop-wish-progress { width: 100%; margin-top: 2px; display: flex; align-items: center; gap: 12px; }
  .studio .shop-wish-progress > span { order: 2; margin: 0; font-size: 11px; }
  .studio .shop-wish-progress > .slim-progress { flex: 1; }
  .studio .shop-toolbar { align-items: stretch; flex-direction: column; gap: 15px; }
  .studio .shop-search { width: 100%; }
  .studio .shop-filters button { padding: 8px 11px; }
  .studio .shop-item { padding: 18px; }
  .studio .shop-item h4 { font-size: 16px; margin-bottom: 15px; }
  .studio .shop-item-top { margin-bottom: 14px; }
  .studio .shop-footnote { line-height: 1.8; align-items: flex-start; }
  .studio .shop-footnote svg { margin-top: 3px; }
  .studio .shop-extra { flex-wrap: wrap; }
  .studio .shop-extra-link { margin-left: 57px; }
  .studio #shopDrawDialog .lottery-wheel, .studio #shopDrawDialog #wheelCanvas { width: 230px; height: 230px; }
}
@media (max-width: 520px) {
  .studio #studentRedeemList.shop-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
