.cst-shop,.cst-owned .bm-body{min-width:0;color:var(--tx,#493052)}
.cst-tabs{display:grid;grid-template-columns:repeat(var(--cst-tab-count,3),minmax(0,1fr));gap:5px;padding:5px;margin:12px 0 16px;border-radius:16px;background:#f1eaf8}
.cst-tab{box-sizing:border-box;min-width:0;min-height:44px;padding:10px 5px;border:0;border-radius:12px;background:transparent;color:#876a98;font:600 .8rem/1.3 -apple-system,'Segoe UI',sans-serif;overflow-wrap:anywhere;cursor:pointer}
.cst-tab[aria-selected=true]{background:#fff;color:#704394;box-shadow:0 3px 12px #6e448d12}
.cst-collection-tabs{background:linear-gradient(110deg,#fff7e4,#f1e9f6);border:1px solid #e6d8c4}
.cst-collection-tabs .cst-tab[aria-selected=true]{background:linear-gradient(115deg,#ac8147,#d3ad68);color:#fffdf5;box-shadow:0 3px 10px #a17a3b21}
.cst-note,.cst-balance,.cst-status{font:.8rem/1.45 -apple-system,'Segoe UI',sans-serif;color:#8d759b;overflow-wrap:anywhere;margin:10px 0}
.cst-balance{margin-top:0;font-weight:600;color:#77528c}
.cst-status{min-height:1.4em;color:#87628e}
.cst-pane{min-width:0}.cst-pane>.cst-note{margin:8px 5px 13px;text-align:center}
.cst-vip-panel{padding:18px;border:1px solid #e9dcc4;border-radius:22px;background:radial-gradient(ellipse at 80% 0,#fbe8ad66,transparent 60%),linear-gradient(135deg,#fffdf7,#fbf5ff);box-shadow:inset 0 1px 0 #fff}
.cst-vip-panel>h3{font-size:1rem;line-height:1.35;margin:0 0 10px;color:#624173}
.cst-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;margin:10px 0 5px;min-width:0}
.cst-price del{font:500 1rem/1.3 -apple-system,'Segoe UI',sans-serif;color:#a48aab;text-decoration-thickness:1.5px}
.cst-price strong{font:700 2.1rem/1.15 -apple-system,'Segoe UI',sans-serif;color:#8658ad;letter-spacing:-.04em;overflow-wrap:anywhere}
.cst-price>span{font:.8rem/1.4 -apple-system,'Segoe UI',sans-serif;color:#8c7299}
.cst-promotion{display:inline-block;border:1px solid #e8d4a2;border-radius:999px;background:#fff8e5;color:#957135;font:.72rem/1.4 -apple-system,'Segoe UI',sans-serif;padding:5px 9px;margin:4px 0 8px}
.cst-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;max-width:100%;min-height:46px;padding:11px 14px;border:1px solid #dfcdeb;border-radius:13px;background:#fff;color:#805795;font:600 .8rem/1.35 -apple-system,'Segoe UI',sans-serif;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.cst-primary{border-color:transparent;background:linear-gradient(120deg,#8442ce,#aa6ce0);color:#fff;box-shadow:0 5px 15px #8b51bb20}
.cst-soft{background:#faf6ff;border-color:#e6dcef;color:#805795}
.cst-button:disabled{opacity:.5;cursor:default}
.cst-vip-panel>.cst-button{width:100%;margin-top:8px}
.cst-collection{margin-top:16px;padding:10px 8px 14px}
.cst-gallery-actions[data-single-action=true]{grid-template-columns:1fr}
.cst-owned-footer,
.cst-owned-section + .cst-owned-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--vxp-edge, #ded2ea);
}
.cst-owned-footer > .cst-button { width: 100%; }
.cst-owned-heading {
  margin: 0 2px 6px;
  color: var(--vxp-ink, var(--tx, #493052));
  font-size: calc(.9rem * var(--pr-font-factor, 1));
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.cst-owned-empty {
  margin: 0 2px;
  color: var(--vxp-muted, #765f86);
  font-size: calc(.8rem * var(--pr-font-factor, 1));
  line-height: 1.4;
}
.bm-dialog.ps-dialog [data-card-appearance] > .ps-current-card.cst-card-selected {
  margin: 6px 0 12px;
}
.cst-profile-card-header {
  display: flex;
  flex: 0 0 100%;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cst-profile-card-header > h3 {
  min-width: 0;
  margin: 0;
  color: var(--vxp-ink, var(--tx, #493052));
  font-size: calc(.875rem * var(--pr-font-factor, 1));
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.cst-card-count {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  gap: 4px;
  padding: 4px 9px 5px;
  border: 1px solid var(--vxp-edge, #ded2ea);
  border-radius: 999px;
  background: var(--vxp-surface, #fffafd);
  color: var(--vxp-muted, #765a85);
  font: .75rem/1.15 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cst-card-count > strong {
  color: var(--vxp-text-accent, #71518e);
  font: 700 1.25rem/1 Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.cst-profile-card-preview {
  flex: 0 0 100%;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 16px;
}
.cst-profile-card-preview > .bm-card-scene {
  width: 100%;
  margin-inline: auto;
}
.cst-owned-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 1.25vw, 7px);
  padding: 2px;
}
.cst-owned-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  aspect-ratio: 2 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--tx, #463052) 18%, transparent);
  border-radius: 8px;
  background: linear-gradient(150deg, var(--surface, #ebe1f7), var(--surface-deep, #c8b6dc));
  color: var(--ink, #513b65);
  cursor: pointer;
}
.cst-owned-card-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.cst-owned-card-art > :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cst-owned-card-base .cst-owned-card-art {
  inset: 3px 3px auto;
  height: 57%;
  border-radius: 5px;
}
.cst-owned-card-base::before,
.cst-owned-card-vip::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 23% 27%;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
  opacity: .32;
  pointer-events: none;
}
.cst-owned-card-vip::before {
  color: #513b65;
  opacity: .42;
}
.cst-owned-card[aria-current="true"] {
  border-color: #8955bd;
  box-shadow: inset 0 0 0 1px #8955bd;
}
.cst-owned-card[aria-current="true"]::after {
  content: "✓";
  position: absolute;
  z-index: 2;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #7543ac;
  color: #fff;
  font: 700 11px/1 system-ui, sans-serif;
}
.cst-owned-card:focus-visible { outline: 2px solid #985fcd; outline-offset: 1px; }
.bm-dialog.cst-card-detail {
  box-sizing: border-box;
  width: min(420px, calc(100% - 20px));
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cst-card-detail > h2 {
  padding-right: 40px;
  margin: 0 0 14px;
  font-size: 1.16rem;
  overflow-wrap: anywhere;
}
.cst-card-detail-stage {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}
.cst-card-detail-stage > .bm-card-scene { width: 100%; margin-inline: auto; }
.cst-card-choice { display: flex; width: 100%; margin-top: 14px; }
.cst-card-choice-status:empty { display: none; }
.cst-card-loading {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: min(35vh, 250px);
  text-align: center;
}
.cst-card-loading p { margin: 0; }
.cst-card-spinner {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border: 3px solid #9c78b956;
  border-top-color: #8955bd;
  border-radius: 50%;
  animation: cst-card-spin .8s linear infinite;
}
.cst-card-detail [hidden] { display: none !important; }
@keyframes cst-card-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cst-card-spinner { animation: none; }
}
.bm-dialog.cst-owned,.bm-dialog.cst-store-popup{box-sizing:border-box;width:min(440px,calc(100% - 20px));max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:20px 20px max(20px,env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.cst-owned>h2,.cst-store-popup>h2{padding-right:40px;font-size:1.18rem;line-height:1.35;margin:0 0 14px}
.cst-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:9px;margin-top:16px}
.cst-confirm-name{font-weight:650;font-size:1rem;color:#654573}
.cst-confirm-price{font:700 1.25rem/1.35 -apple-system,'Segoe UI',sans-serif;color:#8a5aa4}
.cst-confirm [data-refresh-price]{width:100%;margin-top:10px}
.cst-button:focus-visible,.cst-tab:focus-visible{outline:3px solid #aa78ca;outline-offset:3px}
/* Collection names form a touch-scrollable ribbon; purchases and earned rewards
   have separate filters. Native scrolling keeps pinch zoom and WebKit inertia. */
.cst-access-tabs{padding:0;background:transparent;gap:6px;margin-bottom:10px}
.cst-access-tabs .cst-tab{border:1px solid #e6dced;border-radius:999px;min-height:44px;background:#fcf9ff;color:#8c749b}
.cst-access-tabs .cst-tab[aria-selected=true]{background:#775099;border-color:#775099;color:#fff;box-shadow:0 4px 12px #77509922}
.cst-collection-tabs{position:relative;display:flex;gap:7px;max-width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;padding:7px;border-radius:19px}
.cst-collection-tabs::-webkit-scrollbar{display:none}
.cst-collection-tabs .cst-tab{flex:0 0 auto;min-width:112px;padding:11px 22px;white-space:nowrap;scroll-snap-align:center;transition:background .2s,color .2s,box-shadow .2s}
.cst-acquisition{display:table;max-width:100%;box-sizing:border-box;margin:0 auto 8px;padding:7px 12px;border-radius:999px;background:#eee4f7;color:#78528f;text-align:center;font:600 .75rem/1.45 -apple-system,'Segoe UI',sans-serif;overflow-wrap:anywhere}
.cst-acquisition[data-acquisition=reward]{background:#faf1d9;color:#947038}
.cst-acquisition[data-acquisition=free]{background:#edf5f0;color:#5b7c69}
.cst-benefits-button{background:linear-gradient(115deg,#fff6df,#f4eafb);color:#845f8b;border-color:#e6d6ba;gap:8px}
.cst-benefits-button::before{content:'✦';font-size:1.1em;color:#b9914f}
.bm-dialog.cst-vip-details{box-sizing:border-box;width:min(440px,calc(100% - 20px));max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:22px 18px max(22px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 100% 0,#fff1d9,transparent 55%),#fff}
.cst-vip-details>h2{padding-right:38px;font-size:1.2rem;line-height:1.4}
.cst-vip-details .bm-body{min-width:0}
.cst-benefits{display:grid;gap:8px;margin-top:14px}
.cst-benefit{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #eae0ee;border-radius:16px;background:#fff9;min-width:0}
.cst-benefit-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #ebd8b6;border-radius:14px;background:linear-gradient(130deg,#fff8df,#f5e7f8);color:#ad8349;font:700 .9rem/1.2 -apple-system,'Segoe UI',sans-serif}
.cst-benefit>div{min-width:0;overflow-wrap:anywhere}
.cst-benefit strong,.cst-benefit>div>span{display:block;font:.85rem/1.45 -apple-system,'Segoe UI',sans-serif;color:#735183}
.cst-benefit strong{font-weight:650}.cst-benefit>div>span{font-size:.75rem;color:#94809e;margin-top:3px}
.cst-preview-title{font:650 .9rem/1.4 -apple-system,'Segoe UI',sans-serif;color:#765486;margin:22px 0 8px}
.cst-vip-faq{margin-top:16px;color:#8a7497;font:.8rem/1.5 -apple-system,'Segoe UI',sans-serif}
.cst-vip-faq>summary{cursor:pointer;min-height:44px;padding:8px 0;box-sizing:border-box}
/* The original reputation entry remains the single data source and action.
   Its visible cabinet entry occupies a separate compact card. */
.cst-review-hidden,.cst-review-source{display:none!important}
.card.cst-review-block{padding:10px 14px;border-radius:20px}
.cst-review-entry{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;min-height:44px;padding:6px 2px;border:0;background:transparent;color:var(--tx,#493052);font:inherit;cursor:pointer;text-align:left}
.cst-review-entry>strong{font-size:calc(14px * var(--pr-font-factor,1));font-weight:650;flex:none}
.cst-review-value{margin-left:auto;min-width:0;color:#855aa1;font-size:calc(12px * var(--pr-font-factor,1));line-height:1.5;overflow-wrap:anywhere;text-align:right}
.cst-review-chevron{color:#b5a2c0;font-size:24px;line-height:1;flex:none}
.cst-review-entry:disabled{opacity:.5;cursor:default}
.cst-look-section{min-width:0;overflow:hidden;padding:16px 0 14px;margin:0 0 18px;border:1px solid #e9dff0;border-radius:23px;background:linear-gradient(135deg,#fbf7ff,#fff)}
.cst-look-section[data-appearance-tier=premium]{border-color:#e9d9b9;background:radial-gradient(ellipse at 100% 0,#f9e7b655,transparent 65%),linear-gradient(135deg,#fffdf6,#fcf7ff)}
.cst-look-heading{margin:0 18px 10px;font:650 calc(1rem * var(--pr-font-factor,1))/1.4 -apple-system,'Segoe UI',sans-serif;color:#74518a}
.cst-look-section[data-appearance-tier=premium]>.cst-look-heading{color:#a27a3c}
.cst-look-section[data-appearance-tier=premium]>.cst-look-heading::before{content:'✦';margin-right:7px;color:#c6a25b}
.cst-look-stage{position:relative;min-width:0}
.cst-look-track{position:relative;display:flex;gap:10px;box-sizing:border-box;width:100%;padding:6px 14px 10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:14px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;outline-offset:-3px}
.cst-look-track::-webkit-scrollbar{display:none}
.cst-look-slide{box-sizing:border-box;flex:0 0 calc(100% - 18px);min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.cst-look-arrow{position:absolute;z-index:1;top:calc(50% - 22px);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#765a8a;font:30px/1 Georgia,serif;cursor:pointer;opacity:.6}
.cst-look-arrow::before{content:'';position:absolute;z-index:-1;inset:7px;border-radius:50%;background:#fffe;box-shadow:0 2px 10px #452f6420}
.cst-look-prev{left:0}.cst-look-next{right:0}.cst-look-arrow:disabled{opacity:.2;cursor:default}
.cst-look-arrow:hover,.cst-look-arrow:focus-visible{opacity:1}
.cst-look-pagination{display:flex;align-items:center;justify-content:center;gap:10px;min-height:22px;margin:0 15px 8px;color:#a18bad}
.cst-look-count{font:calc(.67rem * var(--pr-font-factor,1))/1.4 -apple-system,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums}
.cst-look-dots{display:flex;gap:5px;align-items:center}.cst-look-dots>i{display:block;width:5px;height:5px;border-radius:99px;background:#d8cbe2;transition:width .2s,background .2s}
.cst-look-dots>i.is-active{width:15px;background:#9c7bb4}
.cst-look-name{margin:0 18px;font:650 calc(.86rem * var(--pr-font-factor,1))/1.5 -apple-system,'Segoe UI',sans-serif;color:#71517f;overflow-wrap:anywhere}
.cst-look-price{margin:5px 18px 12px;font:calc(.78rem * var(--pr-font-factor,1))/1.5 -apple-system,'Segoe UI',sans-serif;color:#9880a3;overflow-wrap:anywhere}
.cst-look-section>.cst-look-buy{display:flex;width:calc(100% - 36px);margin:0 18px;font-size:calc(.8rem * var(--pr-font-factor,1))}
.cst-look-section>.cst-note{margin-inline:18px}
.cst-theme-preview{box-sizing:border-box;min-width:0;min-height:245px;overflow:hidden;border:1px solid #00000008;border-radius:19px;background:var(--cst-look-background);color:var(--cst-look-ink);box-shadow:0 4px 14px #46305b0d;font-family:-apple-system,'Segoe UI',sans-serif}
.cst-mini-top{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:10px 13px;background:linear-gradient(110deg,var(--cst-look-primary),var(--cst-look-secondary));color:#fff;font-size:.66rem;line-height:1.4}
.cst-mini-top>strong{font-weight:700}
.cst-mini-profile{display:flex;flex-direction:column;align-items:center;gap:7px;margin:10px;padding:15px 11px 10px;border-radius:16px;background:var(--cst-look-surface);text-align:center}
.cst-mini-avatar{display:grid;place-items:center;box-sizing:border-box;width:47px;height:47px;flex:none;border-radius:50%;background:linear-gradient(140deg,var(--cst-look-background),var(--cst-look-secondary));color:var(--cst-look-primary);font-size:1rem;margin:4px 0 3px}
.cst-mini-name{font-size:.65rem;line-height:1.4;overflow-wrap:anywhere;font-weight:650}
.cst-mini-city{font-size:.52rem;line-height:1.4;opacity:.6}
.cst-mini-studio{align-self:stretch;margin-top:3px;padding:9px 8px;border-radius:10px;background:var(--cst-look-background);color:var(--cst-look-primary);font-size:.59rem;line-height:1.4;font-weight:600}
.cst-mini-portfolio{display:flex;justify-content:space-around;gap:6px;padding:5px;margin:0 10px;border-radius:11px;background:var(--cst-look-surface);color:var(--cst-look-primary);font-size:.58rem;line-height:1.4}
.cst-mini-portfolio>span{flex:1;text-align:center;padding:5px 4px;border-radius:7px}.cst-mini-active{background:var(--cst-look-background)}
.cst-mini-feed{display:grid;gap:6px;margin:9px 10px;padding:11px;background:var(--cst-look-surface);border-radius:11px}
.cst-mini-feed>i{display:block;width:76%;height:4px;border-radius:99px;background:var(--cst-look-background)}.cst-mini-feed>i+i{width:51%}
.cst-mini-nav{display:flex;justify-content:space-around;align-items:center;gap:5px;background:var(--cst-look-surface);padding:8px 5px;color:var(--cst-look-primary);font-size:.49rem;line-height:1.4}
.cst-mini-heart{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;background:linear-gradient(140deg,var(--cst-look-primary),var(--cst-look-secondary));color:white;font-size:1rem;font-style:normal;box-shadow:inset 0 0 0 3px #ffffff55}
.cst-swipe-hint .cst-look-slide:first-child .cst-theme-preview{animation:cst-swipe-peek 1.1s ease-in-out .25s 1}
@keyframes cst-swipe-peek{0%,100%{transform:translateX(0)}35%{transform:translateX(-5px)}65%{transform:translateX(2px)}}
.cst-review-entry:focus-visible,.cst-look-arrow:focus-visible,.cst-look-track:focus-visible{outline:3px solid #b997cf;outline-offset:2px}
@media(max-width:360px){.bm-dialog.cst-owned,.bm-dialog.cst-store-popup{padding-inline:14px}.cst-actions{grid-template-columns:1fr}.cst-tab{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.cst-shop *,.cst-owned *,.cst-vip-details *{scroll-behavior:auto;transition:none!important;animation:none!important}}

/* Smaller artwork, full-size labels and touch targets on the VIP tab. */
.bc-dialog button.bc-back.cst-shop-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  align-self: start;
  gap: 4px;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 6px 14px 6px 9px;
  border-radius: 14px;
  font-family: inherit; font-weight: 600; font-size: .875rem; line-height: 1.3;
}
.bc-dialog .bc-navigation:has(.cst-shop-back) { margin-bottom: 6px; }
.cst-pane[data-cst-pane="vip"] .cst-vip-panel {
  box-sizing: border-box;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: clamp(10px, 3.5vw, 18px);
}
.cst-vip-panel > * { min-width: 0; }
.cst-vip-until { margin: 0; font-weight: 700; font-size: 1rem; }
.cst-vip-panel .vxp-gallery,
.cst-vip-cards .cst-collection { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.cst-vip-rail-head { display: grid; grid-template-columns: minmax(0,1fr) 44px 44px; gap: 3px; align-items: center; }
.cst-vip-panel .cst-vip-rail-head h3,
.cst-vip-price h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.cst-vip-panel .cst-vip-rail-head button {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--vxp-accent,var(--p,#765491));
  font: 1.75rem/1 system-ui,sans-serif;
}
.cst-vip-rail-head button:disabled { opacity: .3; }
.cst-vip-panel .vxp-stage, .cst-vip-cards .l10-track {
  border-radius: 14px;
  background: var(--vxp-bg,var(--card,#fffbff));
}
.cst-vip-panel [data-vxp-gallery="showcase"] .vxp-slide,
.cst-vip-cards .l10-slide {
  display: flex; flex-flow: row nowrap; align-items: center; justify-content: flex-start;
  gap: clamp(10px,3vw,18px); padding: 9px 12px;
}
.cst-vip-panel .vxp-compact-preview { position: relative; flex: none; max-width: 34%; min-width: 0; margin: 0; }
.cst-vip-panel .vxp-compact-preview > .vxp-mini { transform: translateX(-50%) scale(.3333333333); }
.cst-vip-panel [data-vxp-gallery="showcase"] [hidden] { display: none !important; }
.cst-vip-panel .vxp-apply-theme, .cst-vip-cards .l10-soft {
  width: auto; min-height: 44px; margin: 4px 0 0; padding: 8px 14px;
  border-radius: 12px; font-size: .8125rem;
}
.cst-vip-cards .l10-track { padding: 0; }
.cst-vip-cards .l10-preview-stage { width: 25%; max-width: 60px; flex: none; margin: 0; }
.cst-vip-cards .cst-gallery-actions { display: flex; justify-content: flex-start; margin: 0; }
.cst-slide-copy { display: grid; gap: 3px; min-width: 0; text-align: start; overflow-wrap: anywhere; }
.cst-slide-copy strong { font-size: .9375rem; line-height: 1.28; }
.cst-slide-copy span, .cst-slide-copy small, .cst-vip-features dd { font-size: .8125rem; line-height: 1.45; color: var(--vxp-muted,#6c5b75); }
.cst-slide-copy small { font-variant-numeric: tabular-nums; }
.cst-vip-features, .cst-vip-price { margin: 0; padding-top: 14px; border-top: 1px solid var(--vxp-edge,#e4d7e8); }
.cst-vip-features dt { font-weight: 650; }
.cst-vip-features dd { margin: 3px 0 12px; }
.cst-vip-features dd:last-child { margin-bottom: 0; }
.cst-vip-price .cst-button { width: 100%; margin-top: 6px; }
.cst-vip-price .cst-balance { margin: 6px 0 2px; }
.cst-vip-panel .cst-vip-faq { margin: 0; }

/* One-third profile thumbnails, as in the VIP showcase. */
.cst-look-section .cst-vip-rail-head{margin:0 12px}
.cst-look-section .cst-look-heading{margin:0 4px;font-size:1rem}
.cst-look-section .cst-look-arrow{position:static;opacity:1;background:transparent;color:var(--vxp-accent,#765491)}
.cst-look-section .cst-look-arrow:disabled{opacity:.3}
.cst-look-section .cst-look-arrow::before{display:none}
.cst-look-section .cst-look-track{gap:0;padding:0;scroll-padding:0}
.cst-look-section .cst-look-slide{display:flex;align-items:center;flex:0 0 100%;padding:9px 14px;gap:clamp(10px,3vw,18px)}
.cst-look-slide .vxp-compact-preview{flex:none;width:82px;height:145px;max-width:34%;--vxp-preview-scale:.3333333333}
.cst-look-slide .vxp-compact-preview>.cst-theme-preview{position:absolute;left:0;top:0;width:246px;transform:scale(.3333333333);transform-origin:0 0;pointer-events:none}
.cst-look-section .cst-look-buy{margin-top:6px}

/* Рамки аватара в магазине */
.cst-shop > [data-cst-tabs="store"] {grid-template-columns:repeat(4,minmax(0,1fr))}
.cst-shop > [data-cst-tabs="store"] > button {min-width:0;padding-inline:2px}
.cst-frame-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px}
.cst-frame-row {display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border-radius:16px;background:var(--vxp-surface,#fff)}
.cst-frame-holder {position:relative;display:grid;place-items:center;flex:0 0 66px;height:66px}
.cst-frame-avatar {position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--vxp-soft,#efe5f5);font-weight:700}
.cst-frame-avatar img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.cst-frame-info {display:grid;gap:3px;justify-items:start;min-width:0;overflow-wrap:anywhere}
.cst-frame-info .cst-button {min-height:44px;margin:0;padding:5px 10px}

.cst-vip-panel > .cst-vip-includes-title {
  margin: 0; font-size: 1.2rem; line-height: 1.25;
}
.cst-vip-panel > .cst-vip-more {
  padding-top: 14px; border-top: 1px solid var(--vxp-edge,#e4d7e8);
}
.cst-vip-more > h3 { margin: 0 0 12px; font-size: 1rem; line-height: 1.3; }
.cst-vip-more > .cst-vip-features { margin: 0; padding: 0; border: 0; }

/* The VIP sample keeps its avatar artwork and sits flush with the other galleries. */
.cst-vip-panel .cst-look-section[data-appearance-tier="vip-frames"] {
  margin:0; padding:0; border:0 !important; border-radius:0;
  background:transparent !important; box-shadow:none !important;
}
.cst-vip-panel [data-appearance-tier="vip-frames"] > .cst-vip-rail-head,
.cst-vip-panel [data-appearance-tier="vip-frames"] .cst-look-heading {margin:0}
.cst-frame-controls {align-items:center; margin:0 0 6px;}
.cst-frame-count {font-weight:650; font-variant-numeric:tabular-nums}
.cst-frame-controls > .cst-frame-arrow {
  display:grid; place-items:center; width:44px; height:44px;
  padding:0; margin:0; border:0; border-radius:50%; background:transparent;
  color:var(--vxp-accent,#765491); font:1.75rem/1 system-ui,sans-serif; cursor:pointer;
}
.cst-frame-controls > .cst-frame-arrow:disabled {opacity:.3; cursor:default}
.cst-frame-list.cst-frame-track {
  position:relative; display:flex; align-items:stretch; gap:0; width:100%; max-width:100%;
  min-width:0; box-sizing:border-box; padding:0; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y pinch-zoom;
}
.cst-frame-track::-webkit-scrollbar {display:none}
.cst-frame-track:focus-visible,.cst-frame-arrow:focus-visible {outline:2px solid var(--vxp-accent,#765491); outline-offset:-2px}
.cst-frame-track > .cst-frame-row {
  box-sizing:border-box; flex:0 0 100%; min-width:0; display:flex; flex-flow:column nowrap;
  align-items:center; justify-content:flex-start; gap:8px; padding:12px 12px 16px;
  scroll-snap-align:start; scroll-snap-stop:always;
}
.cst-frame-track .cst-frame-holder {
  --frame-preview:clamp(94px,27vw,116px);
  width:calc(var(--frame-preview) * 1.54); height:calc(var(--frame-preview) * 1.54); flex:none;
}
.cst-frame-track .cst-frame-avatar {width:var(--frame-preview); height:var(--frame-preview)}
.cst-frame-track .cst-frame-info {justify-items:center; text-align:center; gap:8px; max-width:100%}

.bm-dialog.bc-dialog.purchase-receipt {
  box-sizing: border-box;
  width: min(92vw, 390px);
  height: auto;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
}
.purchase-receipt .bm-body {
  display: grid;
  gap: 10px;
}
.purchase-receipt .purchase-name {
  font-size: 1.125rem;
  line-height: 1.35;
}
.purchase-receipt .bm-body p { margin: 0; }
.purchase-receipt .purchase-path { margin-bottom: 4px; }
.purchase-receipt .bm-body button { min-height: 44px; }
