/* Scoped presentation only: preserve the existing emote gallery and page UI. */
.store-products__entry { min-width: 0; }
.store-entry__category[aria-current="page"] { color: var(--ui-signal); box-shadow: inset 0 -2px currentColor; }
.store-products .profile-medallion__core { width: var(--profile-core-size); height: var(--profile-core-size); background: var(--ui-paper); }
.store-products__metadata { display: grid; gap: 4px; padding: 10px 3px 0; font-size: .82rem; line-height: 1.5; overflow-wrap: anywhere; }
.store-products__metadata span { color: var(--ui-dim); font-size: .72rem; }
.store-products .emote-set-card__main { width: 100%; text-align: start; border: 0; background: none; color: inherit; font: inherit; }
.store-products .store-products__frame-cover { overflow: visible; background: var(--ui-paper-2); }
.store-products__frame-cover .profile-medallion { width: 108px; height: 108px; --profile-core-size: 96px; }
.store-products .emote-set-card__cover .profile-medallion__frame-art { border-radius: 0; }
.store-products__notice { padding: 20px 0; color: var(--ui-dim); font-size: .9rem; line-height: 1.6; }
.store-products__detail { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.store-products__detail-frame { display: grid; place-items: center; min-height: 300px; padding: 42px; background: var(--ui-paper-2); }
.store-products__detail-frame .profile-medallion { width: 132px; height: 132px; --profile-core-size: 108px; }
.store-products__detail-copy { min-width: 0; }
.store-products__detail h2 { margin: 6px 0 14px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; overflow-wrap: anywhere; }
.store-products__kind { margin: 0; color: var(--ui-dim); font-size: .8rem; }
.store-products__description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.store-products__detail .store-products__metadata { padding: 12px 0; font-size: 1.05rem; }
.store-products__detail-emote .emote-set-card__main { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 30px; }
.store-products__detail-emote .emote-set-card__cover { width: 150px; height: 150px; }
.store-products__detail-emote .emote-set-card__text { text-align: center; }
.store-products__emotes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 12px; }
.store-products__emotes .emote-chip { width: 100%; aspect-ratio: 1; height: auto; }
.store-frames { gap: 24px; }
.store-frames__browse { display: grid; gap: 18px; }
.frame-spotlight__cover { display: grid; place-items: center; overflow: visible; background: transparent; }
.frame-spotlight__cover .profile-medallion { width: 304px; height: 304px; max-width: 100%; --profile-core-size: 152px; }
.frame-spotlight__cover .profile-medallion__core { width: var(--profile-core-size); height: var(--profile-core-size); font-size: 46px; }
.frame-spotlight__cover .profile-medallion__frame-art { border-radius: 0; }
.store-frames .emote-store-section { display: grid; gap: 18px; }
.store-attendance { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid var(--ui-line); border-radius: 16px; background: color-mix(in srgb, var(--ui-signal) 4%, var(--ui-paper)); }
.store-attendance__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: color-mix(in srgb, var(--ui-signal) 12%, var(--ui-paper-2)); color: var(--ui-signal); }
.store-attendance__icon .icon { width: 19px; height: 19px; }
.store-attendance__copy { display: grid; min-width: 0; gap: 2px; }
.store-attendance__copy > span { color: var(--ui-signal); font-size: .58rem; font-weight: 850; letter-spacing: .1em; }
.store-attendance__copy strong { font-size: .86rem; }
.store-attendance__copy p { margin: 0; color: var(--ui-dim); font-size: .72rem; line-height: 1.45; }
.store-attendance__action { display: grid; justify-items: end; gap: 7px; }
.store-attendance__action > small { color: var(--ui-dim); font-size: .64rem; font-variant-numeric: tabular-nums; }
.store-attendance__form { display: grid; justify-items: end; gap: 5px; }
.store-attendance__form .solid-button { min-height: 40px; padding-inline: 15px; }
.store-attendance__form .auth-form-error { max-width: 310px; margin: 0; font-size: .68rem; text-align: end; }
.store-attendance__done, .store-attendance__ineligible { color: var(--ui-ink); font-size: .73rem; font-weight: 800; }
.store-attendance.is-unavailable { grid-template-columns: 42px minmax(0, 1fr); background: var(--ui-paper); }
.store-attendance.is-unavailable .store-attendance__icon { color: var(--ui-dim); background: var(--ui-paper-2); }
.store-frames__summary { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ui-line); }
.store-frames__summary h2 { margin: 4px 0; font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.04em; }
.store-frames__summary p { margin: 0; color: var(--ui-dim); font-size: .78rem; }
.store-frames__summary > div:last-child { min-width: 170px; display: grid; justify-items: end; gap: 4px; }
.store-frames__summary small { color: var(--ui-dim); font-size: .64rem; font-weight: 800; letter-spacing: .08em; }
.store-frames__summary strong { font-size: .92rem; }
.store-frames__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; max-width: 620px; }
.store-frames__search label { min-width: 0; }
.store-frames__search input[type="search"] { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--ui-line); border-radius: 10px; background: var(--ui-paper); color: var(--ui-ink); font: inherit; outline: 0; }
.store-frames__search input[type="search"]:focus-visible { border-color: var(--ui-signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ui-signal) 12%, transparent); }
.store-frames__filters { display: flex; flex-wrap: wrap; gap: 7px; }
.store-frames__filters a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--ui-line); border-radius: 9px; color: var(--ui-dim); text-decoration: none; font-size: .76rem; font-weight: 800; }
.store-frames__filters a[aria-current="page"] { border-color: var(--ui-ink); background: var(--ui-ink); color: var(--ui-paper); }
.store-frames__pages { display: flex; justify-content: center; gap: 6px; padding-top: 8px; }
.store-frames__pages a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ui-line); border-radius: 9px; color: var(--ui-dim); text-decoration: none; font-size: .76rem; font-weight: 800; }
.store-frames__pages a[aria-current="page"] { border-color: var(--ui-ink); background: var(--ui-ink); color: var(--ui-paper); }
.store-frames__detail-head { display: flex; margin-bottom: -10px; }
.store-frames__detail-action { display: flex; justify-content: end; padding-top: 18px; border-top: 1px solid var(--ui-line); }
.store-frames__detail-action > * { min-width: min(100%, 260px); }
.store-frames__gate { margin: 0; color: var(--ui-dim); font-size: .82rem; line-height: 1.6; text-align: end; }
.store-frames__purchase { display: grid; gap: 8px; }
.store-frames__purchase .solid-button { width: 100%; }
.store-badges { gap: 24px; }
.store-badges__browse { display: grid; gap: 18px; }
.store-badges__summary { padding-bottom: 18px; border-bottom: 1px solid var(--ui-line); }
.store-badges__summary h2 { margin: 4px 0; font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.04em; }
.store-badges__summary p { margin: 0; color: var(--ui-dim); font-size: .78rem; }
.store-badges__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.store-badges__card { min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 15px; background: var(--ui-paper); }
.store-badges__card > a { min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 13px; align-items: center; padding: 16px; color: inherit; text-decoration: none; }
.store-badges__card > a:hover .store-badges__art { transform: translateY(-2px); }
.store-badges__art { width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 22px; background: color-mix(in srgb, var(--ui-signal) 8%, var(--ui-paper-2)); transition: transform .16s ease; }
.store-badges__art img { width: 100%; height: 100%; object-fit: contain; }
.store-badges__art > span { font-size: 1.35rem; font-weight: 900; color: var(--ui-dim); }
.store-badges__art[data-art-state="pending"] { border: 1px dashed var(--ui-line); }
.store-badges__copy { min-width: 0; display: grid; gap: 6px; }
.store-badges__copy strong { font-size: .86rem; line-height: 1.45; overflow-wrap: anywhere; }
.store-badges__copy small { color: var(--ui-dim); font-size: .7rem; line-height: 1.5; overflow-wrap: anywhere; }
.store-badges__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--ui-line); color: var(--ui-dim); font-size: .67rem; }
.store-badges__meta em { font-style: normal; }
.store-badges__pages { display: flex; justify-content: center; gap: 6px; padding-top: 8px; }
.store-badges__pages a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ui-line); border-radius: 9px; color: var(--ui-dim); text-decoration: none; font-size: .76rem; font-weight: 800; }
.store-badges__pages a[aria-current="page"] { border-color: var(--ui-ink); background: var(--ui-ink); color: var(--ui-paper); }
.store-badges__detail-head { display: flex; margin-bottom: -10px; }
.store-badges__detail { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.store-badges__detail-visual { min-height: 300px; display: grid; place-items: center; padding: 42px; background: var(--ui-paper-2); border-radius: 15px; }
.store-badges__art--detail { width: 180px; height: 180px; border-radius: 48px; }
.store-badges__detail-copy > p:first-child { margin: 0; color: var(--ui-dim); font-size: .8rem; }
.store-badges__detail-copy h2 { margin: 6px 0 14px; font-size: clamp(1.4rem, 3vw, 2rem); }
.store-badges__detail-copy > p:not(:first-child) { color: var(--ui-dim); line-height: 1.7; }
.store-badges__detail-copy dl { display: grid; gap: 8px; margin: 20px 0 0; }
.store-badges__detail-copy dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding-top: 8px; border-top: 1px solid var(--ui-line); }
.store-badges__detail-copy dt { color: var(--ui-dim); font-size: .72rem; }
.store-badges__detail-copy dd { margin: 0; font-size: .78rem; overflow-wrap: anywhere; }
.store-badges__detail-action { display: flex; justify-content: end; padding-top: 18px; border-top: 1px solid var(--ui-line); }
.store-badges__detail-action > * { min-width: min(100%, 260px); }
.store-badges__gate { margin: 0; color: var(--ui-dim); font-size: .82rem; line-height: 1.6; text-align: end; }
@media (max-width: 680px) {
  .frame-spotlight__cover .profile-medallion { width: 236px; height: 236px; --profile-core-size: 118px; }
  .frame-spotlight__cover .profile-medallion__core { font-size: 36px; }
  .store-products__detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .store-products__detail-frame { min-height: 260px; }
  .store-products__frame-cover .profile-medallion { width: 84px; height: 84px; --profile-core-size: 72px; }
  .store-frames__summary { align-items: start; }
  .store-frames__summary > div:last-child { min-width: 0; justify-items: end; }
  .store-attendance { grid-template-columns: 42px minmax(0, 1fr); padding: 13px 14px; }
  .store-attendance__action { grid-column: 1 / -1; width: 100%; justify-items: stretch; padding-top: 3px; }
  .store-attendance__action > small { text-align: end; }
  .store-attendance__form { justify-items: stretch; }
  .store-attendance__form .solid-button { min-height: 44px; width: 100%; }
  .store-attendance__form .auth-form-error { max-width: none; text-align: start; }
  .store-frames__search { max-width: none; }
  .store-frames__detail-action { justify-content: stretch; }
  .store-frames__detail-action > * { width: 100%; }
  .store-badges__grid { grid-template-columns: minmax(0, 1fr); }
  .store-badges__detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .store-badges__detail-visual { min-height: 250px; }
  .store-badges__detail-action { justify-content: stretch; }
  .store-badges__detail-action > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .store-products .emote-set-card__cover { transition: none; }
  .store-products .emote-set-card__main:hover .emote-set-card__cover { transform: none; }
  .store-badges__art { transition: none; }
}
