/* WO-MAPMOG-PORT-004, reworked LIVE LANE f22 (wplace Store reference). --v-* tokens only. */
.pc-sh-main { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; box-sizing: border-box; }
.pc-sh-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--v-line); }
.pc-sh-jump { display: flex; gap: 6px; overflow-x: auto; }
.pc-sh-chip { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--v-line); background: var(--v-card); color: var(--v-ink); font: 700 13px/1 var(--v-font); cursor: pointer; }
.pc-sh-chip[aria-current="true"] { background: var(--v-acc); border-color: var(--v-acc); color: var(--v-accink); }
.pc-sh-wallet { display: flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; border: 1px solid var(--v-line); background: var(--v-card); }
.pc-sh-bal { font: 800 16px/1 var(--v-font); color: var(--v-ink); }
.pc-sh-unit { font: 600 12px/1 var(--v-font); color: var(--v-mut); }
.pc-sh-earn { display: grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; border-radius: 999px; border: 0; background: var(--v-acc); color: var(--v-accink); cursor: pointer; }
.pc-sh-coin { display: inline-block; width: 12px; height: 12px; border-radius: 999px; background: var(--v-acc); box-shadow: inset 0 0 0 2px rgba(0,0,0,.18); flex: 0 0 auto; }
.pc-sh-msg { margin: 0; padding: 0 20px; min-height: 0; font: 700 13px/1.6 var(--v-font); color: var(--v-ink); }
.pc-sh-msg:empty { display: none; }
.pc-sh-scroll { flex: 1; min-height: 0; overflow: auto; padding: 4px 20px 24px; }
.pc-sh-section { padding-top: 18px; }
.pc-sh-head { margin-bottom: 12px; }
.pc-sh-title { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 18px/1.2 var(--v-font); color: var(--v-ink); }
.pc-sh-sub { margin: 4px 0 0; font: 500 13px/1.4 var(--v-font); color: var(--v-mut); }

/* Charges: two big offer cards. */
.pc-sh-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-sh-offer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px 18px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-card); text-align: center; }
.pc-sh-offer-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--v-trk); color: var(--v-acc); }
.pc-sh-offer-title { font: 800 22px/1.15 var(--v-font); color: var(--v-ink); }
.pc-sh-step { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; }
.pc-sh-stepbtn { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--v-line); background: var(--v-bg); color: var(--v-ink); font: 800 16px/1 var(--v-font); cursor: pointer; }
.pc-sh-stepbtn:disabled { opacity: .4; cursor: not-allowed; }
.pc-sh-qty { min-width: 40px; padding: 7px 0; border-radius: 999px; border: 1px solid var(--v-line); font: 800 14px/1 var(--v-font); color: var(--v-ink); text-align: center; }
.pc-sh-max { padding: 0 6px; border: 0; background: none; color: var(--v-mut); font: 800 12px/1 var(--v-font); letter-spacing: .06em; cursor: pointer; }

/* Price button, shared by every purchasable card. */
.pc-sh-price { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 150px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--v-acc); color: var(--v-accink); font: 800 14px/1 var(--v-font); cursor: pointer; }
.pc-sh-price .pc-sh-coin { box-shadow: inset 0 0 0 2px rgba(0,0,0,.35); }
.pc-sh-price:disabled { background: var(--v-trk); color: var(--v-mut); cursor: not-allowed; }
.pc-sh-price:disabled .pc-sh-coin { opacity: .5; }

/* Colors / frames: uniform small cards. */
.pc-sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pc-sh-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 12px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-card); text-align: center; }
.pc-sh-card .pc-sh-price { min-width: 0; width: 100%; padding: 8px 10px; font-size: 13px; }
.pc-sh-swatch { width: 52px; height: 52px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.pc-sh-name { font: 700 14px/1.2 var(--v-font); color: var(--v-ink); }
.pc-sh-owned { padding: 8px 10px; width: 100%; box-sizing: border-box; border-radius: 999px; background: var(--v-trk); color: var(--v-ink); font: 800 13px/1 var(--v-font); }
.pc-sh-card[data-owned="true"] { border-color: var(--v-acc); }
.pc-sh-framedemo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--v-trk); color: var(--v-ink); }

/* Flags: your flag banner, then a dense list. */
.pc-sh-myflag { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--v-acc); border-radius: 14px; background: var(--v-card); }
.pc-sh-myflag-emoji { font-size: 30px; line-height: 1; }
.pc-sh-myflag-text { font: 700 14px/1.3 var(--v-font); color: var(--v-ink); }
.pc-sh-flags { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pc-sh-flag { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--v-line); border-radius: 12px; background: var(--v-card); }
.pc-sh-flag-emoji { font-size: 28px; line-height: 1; }
.pc-sh-flag-name { font: 600 12px/1.2 var(--v-font); color: var(--v-mut); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

@media (max-width: 600px) {
  .pc-sh-bar { flex-direction: column-reverse; align-items: stretch; padding: 10px 12px; }
  .pc-sh-wallet { align-self: flex-end; }
  .pc-sh-scroll { padding: 4px 12px 20px; }
  .pc-sh-offers { grid-template-columns: 1fr; }
  .pc-sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-sh-flags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pc-sh-offer-icon .pc-icon { width: 40px; height: 40px; }
.pc-sh-earn .pc-icon { width: 12px; height: 12px; }
.pc-sh-title .pc-icon, .pc-sh-framedemo .pc-icon { width: 18px; height: 18px; }
.pc-sh-framedemo .pc-icon { width: 28px; height: 28px; }
.pc-sh-flagbuy { min-width: 0; width: 100%; padding: 5px 6px; font-size: 12px; gap: 4px; }
.pc-sh-flagbuy .pc-sh-coin { width: 9px; height: 9px; }
.pc-sh-offer { position: relative; }
.pc-sh-tag { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 999px; font: 800 12px/1.3 var(--v-font); letter-spacing: .04em; }
.pc-sh-tag-perm { background: var(--v-acc); color: var(--v-accink); }
.pc-sh-tag-once { background: var(--v-trk); color: var(--v-ink); }
.pc-sh-offer[data-offer="refill"] .pc-sh-offer-icon { color: var(--v-live); }
/* Gems: premium currency, looks only (D-2026-10-03-002). Violet so it never reads as a coin. */
.pc-sh-wallets { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.pc-sh-gem { display: inline-block; width: 12px; height: 12px; flex: 0 0 auto; background: #8b5cf6; transform: rotate(45deg) scale(.85); border-radius: 2px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.pc-sh-gem-lg { width: 34px; height: 34px; border-radius: 6px; }
.pc-sh-gembig { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--v-trk); }
.pc-sh-gemadd { background: #8b5cf6; color: #fff; }
.pc-sh-gemprice:disabled { background: var(--v-trk); color: var(--v-ink); }
.pc-sh-gemprice:disabled .pc-sh-gem { opacity: 1; }
.pc-sh-gempacks .pc-sh-name { font-size: 15px; }
@media (max-width: 600px) { .pc-sh-wallets { align-self: flex-end; } }
/* Color packs (f24). */
.pc-sh-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.pc-sh-pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 12px 14px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-card); text-align: center; }
.pc-sh-pack[data-owned="true"] { border-color: var(--v-acc); }
.pc-sh-pack .pc-sh-price { min-width: 0; width: 100%; padding: 9px 10px; }
.pc-sh-packsw { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 168px; }
.pc-sh-packdot { width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.pc-sh-was { font: 600 12px/1 var(--v-font); color: var(--v-mut); text-decoration: line-through; }
.pc-sh-tag-save { background: var(--v-live); color: #fff; }
.pc-sh-pack .pc-sh-price:disabled { background: var(--v-acc); color: var(--v-accink); opacity: .55; }
@media (max-width: 600px) { .pc-sh-packs { grid-template-columns: 1fr; } }
.pc-sh-pack .pc-sh-was { margin-top: auto; }
.pc-sh-packsw { max-width: 100%; flex-wrap: nowrap; }
.pc-sh-pack[data-pack="all"] .pc-sh-packdot { width: 22px; height: 22px; }
@media (max-width: 600px) { .pc-sh-packsw { flex-wrap: wrap; } }
/* Preview on your card (f25, f25b: copy of the real player card). */
.pc-sh-preview { display: flex; align-items: center; gap: 16px; margin: 10px 20px 0; padding: 10px 14px; border: 1px dashed var(--v-line); border-radius: 14px; background: var(--v-card); }
.pc-sh-preview[data-previewing="true"] { align-items: flex-start; border: 2px solid var(--v-acc); background: var(--v-trk); }
.pc-sh-preview[hidden], .pc-sh-myflag[hidden] { display: none; }
.pc-sh-pvcard:empty { display: none; }
.pc-sh-pvcard { flex: 0 0 340px; max-width: 340px; }
.pc-sh-pvcard #pc-profile-panel.pc-sh-pvprof { position: static !important; inset: auto !important; transform: none !important; width: auto !important; max-width: none !important; height: auto !important; max-height: none !important; margin: 0 !important; animation: none !important; transition: none !important; box-shadow: 0 2px 10px rgba(0,0,0,.12); pointer-events: none; }
.pc-sh-pvprof .pc-hc, .pc-sh-pvprof .pc-hcb, .pc-sh-pvprof .pc-sheet-x, .pc-sh-pvprof .pc-id-pencil { visibility: hidden; }
.pc-sh-pvwho { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1; }
.pc-sh-pvname { font: 800 16px/1.2 var(--v-font); color: var(--v-ink); }
.pc-sh-pvreset { margin-top: 4px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--v-line); background: var(--v-bg); color: var(--v-ink); font: 700 13px/1 var(--v-font); cursor: pointer; }
.pc-sh-try { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--v-line); background: var(--v-bg); color: var(--v-ink); font: 700 12px/1 var(--v-font); cursor: pointer; }
.pc-sh-try[aria-pressed="true"] { background: var(--v-ink); color: var(--v-bg); border-color: var(--v-ink); }
.pc-sh-flagtry { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.pc-sh-flag:has(.pc-sh-flagtry[aria-pressed="true"]) { border: 2px solid var(--v-acc); }
@media (max-width: 600px) {
  .pc-sh-preview { margin: 8px 12px 0; }
  .pc-sh-preview[data-previewing="true"] { flex-direction: column; }
  .pc-sh-pvcard { flex: 0 0 auto; max-width: 100%; width: 100%; }
}
