#shopPanel.view.full { display: flex; flex-direction: column; gap: 8px; max-width: 1100px; height: 100%; overflow: hidden; }
#shopPanel .final-note { flex: 0 0 auto; margin: 0; }
#shopPanel > .msg:empty { display: none; }
.sf { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.sf-page { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; container: sfpage / size; }
.sf-page[hidden] { display: none; }
#shopPanel section[hidden] { display: none; }

.sf-h { display: flex; align-items: center; gap: 10px; min-height: 28px; flex: 0 0 auto; }
.sf-h h3 { margin: 0; font-size: 15px; font-weight: 800; color: #fff; }
.sf-when { margin-left: auto; font-size: 11.5px; color: #8a90b5; text-align: right; }
.sf-you { margin-left: 6px; padding: 2px 7px; border-radius: 99px; font-size: 10px; font-weight: 800; color: #9cc8ff; background: rgba(92,155,255,.14); vertical-align: 2px; }
.sf-seg { margin-left: auto; display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.05); }
.sf-seg button { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.1; color: #a3a8cc; cursor: pointer; transition: background 140ms cubic-bezier(.4,0,.2,1), color 140ms cubic-bezier(.4,0,.2,1); }
.sf-seg button:hover { color: #fff; }
.sf-seg button[aria-selected="true"] { background: #272c4b; color: #fff; box-shadow: inset 0 0 0 1px rgba(150,180,255,.35); }
.sf-seg button small { display: block; font-size: 9.5px; font-weight: 600; color: #8a90b5; }

.sf-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sf-grid2 { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 8px; }
#shopPanel .sf-card, .sf-bub {
  position: relative; min-width: 0; height: auto; margin: 0; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid transparent; border-radius: 16px; font: inherit; color: #eceefa; text-align: center; cursor: pointer;
  background: radial-gradient(110% 70% at 50% 0%, color-mix(in srgb, var(--c, #3ee07a) 16%, transparent), transparent 70%), #20243f;
  box-shadow: none; transition: transform 140ms cubic-bezier(.4,0,.2,1), border-color 140ms cubic-bezier(.4,0,.2,1);
}
#shopPanel .sf-card:hover, .sf-bub:hover, .sf-band:hover, .sf-coinsrow:hover { border-color: rgba(255,255,255,.16); }
#shopPanel .sf-card:active, .sf-bub:active, .sf-band:active { transform: scale(.98); }
#shopPanel .sf-card.owned { opacity: 1; filter: none; }
#shopPanel .sf-card .swatch, .sf-orb { --a: clamp(44px, min(16cqw, 20cqh), 104px); width: var(--a); height: var(--a); flex: 0 0 auto; margin: 0 0 2px; border-radius: 50%;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c, #3ee07a) 75%, transparent), 0 6px 16px rgba(0,0,0,.35); }
.sf-bub .sf-nm { flex-shrink: 0; } 
.sf-nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; }
.sf-rar { font-size: 10.5px; font-weight: 700; color: var(--c); }
.sf-rar::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--c); }
.sf-price, .sf-owned, .sf-tag { font-size: 14px; font-weight: 800; color: #ffe27a; font-variant-numeric: tabular-nums; }
.sf-owned { color: #3ee07a; }
.sf-tag { color: #a3a8cc; font-size: 12px; }
.sf-bub small, .sf-band small { font-size: 10.5px; color: #a3a8cc; }

.sf-bubrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.sf-bub { --c: #3ee07a; }
.sf-orb { --c: #3ee07a; position: relative; }
.sf-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border-radius: 16px; font: inherit; color: #eceefa; text-align: left; cursor: pointer;
  background: radial-gradient(120% 140% at 0% 0%, rgba(62,224,122,.2), transparent 60%), #20243f; border: 1px solid rgba(62,224,122,.35); transition: transform 140ms cubic-bezier(.4,0,.2,1); }
.sf-band .sf-orb { --a: clamp(40px, min(14cqw, 9cqh), 72px); }
.sf-band-txt { min-width: 0; }
.sf-band b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-kick { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c, #3ee07a); }
.sf-own { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 14px; font: inherit; font-size: 13px; color: #d9ffe7; cursor: pointer; text-align: left;
  background: rgba(62,224,122,.1); border: 1px solid rgba(62,224,122,.3); }
.sf-go { margin-left: auto; font-weight: 800; color: #9cc8ff; white-space: nowrap; }
.sf-own .sf-go { color: #3ee07a; }

.sf-coinsrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; font: inherit; color: #eceefa; text-align: left; cursor: pointer; background: #20243f; flex: 0 0 auto; }
.sf-coinsrow[hidden] { display: none; }
.sf-coinsrow b { font-size: 14px; } .sf-coinsrow small { display: block; font-size: 11.5px; color: #a3a8cc; }
.sf-coins-h { gap: 12px; }
.sf-intro { margin: 0; font-size: 12.5px; color: #a3a8cc; }
.sf-back { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); font: inherit; font-size: 13px; color: #a3a8cc; cursor: pointer; }
#betaSection { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#shopPanel .beta-band.sf-grid2 { padding: 0; }
#shopPanel .sf-grid2 .beta-item { --c: #c9d2ea; position: relative; min-width: 0; height: auto; margin: 0; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid transparent; border-radius: 16px; background: radial-gradient(110% 70% at 50% 0%, rgba(201,210,234,.12), transparent 70%), #20243f; transform: none; }
#shopPanel .sf-grid2 .beta-art { --a: clamp(48px, min(28cqw, 20cqh), 132px); width: var(--a); height: var(--a); margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(255,201,60,.7), 0 6px 16px rgba(0,0,0,.35); }
#shopPanel .sf-grid2 .beta-name { font-size: 14px; font-weight: 800; }
#shopPanel .sf-grid2 .beta-gems { font-size: 13.5px; font-weight: 800; color: #8fd8ff; }
#shopPanel .sf-grid2 .beta-price { min-height: 30px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 13.5px; font-weight: 800; color: #1b1730; opacity: 1; background: linear-gradient(180deg, #e2d0ff, #a979ff); }
#shopPanel .sf-grid2 .beta-stock { font-size: 10.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #8a90b5; }

#offerSection { position: relative; flex: 0 0 auto; }
#shopPanel .sf-offer-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#shopPanel .sf-offer-strip.solo { grid-template-columns: 1fr; }
#shopPanel .sf-of { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; min-height: 0; border-radius: 16px;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c) 24%, transparent), transparent 60%), #20243f; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: none; }
#shopPanel .sf-of .offer-swatch { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 50%; }
#shopPanel .sf-of .offer-art, #shopPanel .sf-of .offer-claimed-art .swatch { --a: 56px; width: var(--a); height: var(--a); margin: 0; border-radius: 50%; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 75%, transparent); }
#shopPanel .sf-of .offer-info { min-width: 0; text-align: left; }
#shopPanel .sf-of .offer-name { display: block; font-size: 15px; font-weight: 800; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#shopPanel .sf-of .offer-tag { display: block; font-size: 11.5px; color: #a3a8cc; margin: 0; }
.sf-of-act { display: flex; align-items: center; gap: 10px; }
.sf-of-when { font-size: 11px; color: #8a90b5; white-space: nowrap; }
#shopPanel .sf-of .offer-btn { min-height: 44px; min-width: 44px; padding: 0 18px; border: 0; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 800; color: #1b1730; cursor: pointer;
  background: linear-gradient(180deg, #ffe07a, #ffb627); box-shadow: 0 3px 0 #b9811a; }
#shopPanel .sf-of .offer-btn.paid { background: linear-gradient(180deg, #e2d0ff, #a979ff); box-shadow: 0 3px 0 #6c48b8; }
#shopPanel .sf-of .offer-btn:disabled { opacity: .7; cursor: default; }
#shopPanel .sf-of .offer-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #b9811a; }
.sf-dots { display: none; }
.sf-thumb { display: none; }

@media (min-width: 761px) {
  #shopFront { padding: 18px; border-radius: 16px; background: #191c33; border: 1px solid rgba(255,255,255,.08); }
  .sf-today, .sf-newband { display: none; }
  .sf-page[data-sf="home"] { gap: 14px; }
  #shopPanel .sf-page[data-sf="home"] .sf-card .swatch { --a: clamp(48px, min(9cqw, 14cqh), 96px); }
  .sf-bub .sf-orb { --a: clamp(44px, min(8cqw, 12cqh), 88px); }
  .sf-page[data-sf="coins"] .sf-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; align-content: start; }
  #shopPanel .sf-page[data-sf="coins"] .beta-art { --a: clamp(64px, min(14cqw, 30cqh), 140px); }
}

@media (max-width: 760px) {
  #shopPanel.view.full { gap: 8px; }
  .sf-skins, .sf-shelf, .sf-coinsrow, .sf-back { display: none !important; }
  .sf-page { gap: 8px; }
  .sf-coins-h { justify-content: center; }
  .sf-intro { text-align: center; }
  
.sf-today { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
  .sf-today .sf-grid4 { flex: 1 1 auto; min-height: 0; gap: 6px; grid-template-rows: minmax(0, 1fr); }
  .sf-today .sf-card { padding: 8px 3px; }
  #shopPanel .sf-today .sf-card .swatch { --a: clamp(38px, min(16cqw, 14cqh), 92px); }
  .sf-today .sf-nm { font-size: 12px; } .sf-today .sf-rar { font-size: 9.5px; } .sf-today .sf-price, .sf-today .sf-owned { font-size: 12.5px; }
  .sf-newband { flex: 0 0 auto; }
  
#shopPanel .sf-offer-strip { grid-template-columns: 1fr; }
  #shopPanel .sf-offer-strip:not(.solo) > .sf-of { display: none; }
  #shopPanel .sf-offer-strip[data-i="0"]:not(.solo) > .sf-of:nth-child(1),
  #shopPanel .sf-offer-strip[data-i="1"]:not(.solo) > .sf-of:nth-child(2) { display: grid; animation: sfIn 140ms linear; }
  #shopPanel .sf-of { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 12px; padding: 12px; }
  #shopPanel .sf-of .offer-swatch, #shopPanel .sf-of .offer-claimed-art { grid-row: 1 / 3; }
  #shopPanel .sf-of .offer-art, #shopPanel .sf-of .offer-claimed-art .swatch { --a: clamp(52px, 19cqw, 96px); }
  #shopPanel .sf-of .offer-name { font-size: 17px; white-space: normal; line-height: 1.15; }
  #shopPanel .sf-of .offer-btn { flex: 1 1 auto; }
  .sf-dots { display: flex; gap: 0; position: absolute; top: -2px; right: 2px; }
  .sf-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .sf-dots button::after { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #3a4068; transition: width 140ms cubic-bezier(.4,0,.2,1); }
  .sf-dots button[aria-selected="true"]::after { width: 18px; background: #9cc8ff; }
  
#shopPanel .sf-grid2 .sf-card .swatch, .sf-grid2 .sf-orb { --a: clamp(48px, min(30cqw, 19cqh), 150px); }
  .sf-grid2 .sf-nm { font-size: 14px; }
  
#sfBubGrid { grid-template-columns: minmax(0, 1fr); }
  #sfBubGrid .sf-bub { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 12px; row-gap: 2px; padding: 6px 12px; text-align: left; }
  #sfBubGrid .sf-bub .sf-orb { --a: clamp(36px, 9cqh, 52px); grid-row: 1 / 3; }
  #sfBubGrid .sf-bub .sf-nm { grid-column: 2; align-self: end; white-space: normal; text-overflow: clip; line-height: 1.15; font-size: 15px; }
  #sfBubGrid .sf-bub small { grid-column: 2; align-self: start; }
  #sfBubGrid .sf-bub .sf-price { grid-column: 3; grid-row: 1 / 3; }
  
@container sfpage (max-height: 300px) { #sfBubGrid .sf-bub { padding: 3px 12px; } #sfBubGrid .sf-bub small { display: none; } #sfBubGrid .sf-bub .sf-orb { --a: 30px; } #sfBubGrid .sf-bub .sf-nm { grid-row: 1 / 3; align-self: center; font-size: 13.5px; } }
  .sf-page[data-sf="skins"] .sf-seg4 { margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex: 0 0 auto; }
  
.sf-thumb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; flex: 0 0 auto; border-radius: 16px; background: #11142a; border: 1px solid rgba(255,255,255,.08); }
  .sf-thumb button { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 11.5px; font-weight: 700; color: #a3a8cc; cursor: pointer; }
  .sf-thumb button[aria-selected="true"] { background: #272c4b; color: #fff; box-shadow: inset 0 0 0 1px rgba(150,180,255,.35); }
  .sf-thumb .swatch, .sf-thumb .sf-orb { --a: 22px; width: 22px; height: 22px; margin: 0; border-radius: 50%; box-shadow: none; flex: 0 0 auto; overflow: hidden; }
  .sf-thumb .sf-orb .fx-ring { display: none; }
  #shopPanel .final-note { font-size: 10.5px; }
}
@keyframes sfIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #shopPanel .sf-of { animation: none !important; } }
@media (max-width: 760px) and (max-height: 700px) { #shopPanel .sf-of .offer-tag { display: none; } #shopPanel .sf-of { padding: 10px; } #shopPanel .sf-of .offer-name { font-size: 15px; white-space: nowrap; } .sf-page { gap: 6px; } .sf-today .sf-grid4 { min-height: 0; } #shopPanel .sf-of .offer-art, #shopPanel .sf-of .offer-claimed-art .swatch { --a: 58px; } }

.sf-coinsrow { height: 52px; }
#shopPanel .sf-grid2 .beta-art { flex: 0 0 auto; aspect-ratio: 1; height: var(--a); }
#shopPanel .sf-grid2 .beta-art img, .sf-thumb .swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 761px) {
  #shopPanel .sf-page[data-sf="home"] .sf-card .swatch { --a: clamp(48px, min(8cqw, 11cqh), 80px); }
  #shopPanel .sf-page[data-sf="home"] .sf-card { padding: 10px 6px 8px; gap: 3px; }
  .sf-bub .sf-orb { --a: clamp(44px, min(6cqw, 10cqh), 66px); }
  .sf-bub { padding: 10px 6px 8px; gap: 3px; }
  .sf-of-when { display: none; }
}
@media (max-width: 760px) {
  #shopPanel .sf-grid2 .sf-card .swatch, .sf-grid2 .sf-orb { --a: clamp(48px, min(34cqw, 21cqh), 150px); }
  .sf-today .sf-grid4 { min-height: 118px; }
}

@media (max-width: 760px) {
  .sf-today { flex: 0 0 auto; }
  .sf-today .sf-grid4 { flex: 0 0 auto; grid-template-rows: auto; }
  #shopPanel .sf-today .sf-card .swatch { --a: clamp(38px, min(17cqw, 14cqh), 92px); }
  .sf-page[data-sf="home"] { justify-content: space-evenly; }
  #shopPanel .sf-offer-strip:not(.solo) .offer-info { padding-right: 64px; }
  @container sfpage (min-height: 520px) {
    .sf-page[data-sf="home"] .sf-shelf { display: flex !important; flex-direction: column; gap: 6px; flex: 1 1 auto; min-height: 0; }
    .sf-page[data-sf="home"] .sf-shelf .sf-when { display: none; }
    .sf-page[data-sf="home"] .sf-bubrow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(0, 1fr); }
    .sf-page[data-sf="home"] .sf-bubrow .sf-bub:nth-child(n+4) { display: none; }
    .sf-page[data-sf="home"] .sf-bub { padding: 8px 3px; }
    .sf-page[data-sf="home"] .sf-bub .sf-orb { --a: clamp(48px, min(22cqw, 14cqh), 110px); }
    .sf-page[data-sf="home"] .sf-bub .sf-nm { font-size: 12px; }
    .sf-page[data-sf="home"] .sf-bub small { font-size: 9.5px; }
    .sf-newband { display: none; }
  }
}
@media (min-width: 761px) {
  #shopPanel .sf-page[data-sf="home"] .sf-card .swatch { --a: clamp(48px, min(9cqw, 13cqh), 92px); }
  .sf-bub .sf-orb { --a: clamp(44px, min(6.5cqw, 11cqh), 76px); }
}

.sp-wal { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: #a3a8cc; }
@media (max-width: 760px) {
  .sp-backdrop { align-items: flex-end; padding: 0; }
  .sp-card { max-width: none; border-radius: 22px 22px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(32px); transition: transform 220ms cubic-bezier(.16,1,.3,1), opacity 180ms ease; }
  .sp-card::before { content: ""; display: block; width: 40px; height: 5px; margin: -6px auto 6px; border-radius: 99px; background: #4a5180; }
  .sp-backdrop.show .sp-card { transform: none; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .sp-card { transform: none; } }
#shopPanel .sf-of .offer-swatch { width: var(--a, 56px); height: var(--a, 56px); overflow: visible; }
#shopPanel .sf-of .offer-swatch .offer-art { width: 100%; height: 100%; }
#shopPanel .sf-of .offer-swatch { --a: 56px; }
@media (max-width: 760px) { #shopPanel .sf-of .offer-swatch, #shopPanel .sf-of .offer-claimed-art { --a: clamp(52px, 19cqw, 96px); } }
@media (max-width: 760px) and (max-height: 700px) { #shopPanel .sf-of .offer-swatch, #shopPanel .sf-of .offer-claimed-art { --a: 58px; } }
.sf-intro b { color: #fff; }
#skinPreview .sp-price { text-align: center; }

@media (min-width: 761px) {
  #shopPanel.view.full { height: auto; max-height: 100%; align-self: center; }
  .sf { flex: 0 1 auto; }
  .sf-page { flex: 0 1 auto; container: sfpage / inline-size; }
  #shopPanel .sf-page[data-sf="home"] .sf-card .swatch { --a: clamp(52px, min(9cqw, 10.5vh), 104px); }
  #shopPanel .sf-page[data-sf="home"] .sf-card { padding: clamp(10px, 1.4vh, 16px) 8px clamp(8px, 1.2vh, 14px); gap: 4px; }
  .sf-bub .sf-orb { --a: clamp(48px, min(7cqw, 8.5vh), 84px); }
  .sf-bub { padding: clamp(10px, 1.4vh, 16px) 8px clamp(8px, 1.2vh, 14px); gap: 3px; }
  #shopPanel .sf-page[data-sf="coins"] .beta-art { --a: clamp(72px, 13cqw, 150px); }
  #shopPanel .sf-page[data-sf="coins"] .beta-item { justify-content: flex-start; } 
}
.sf-coinsrow-txt { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sf-coinstack { display: flex; flex: 0 0 auto; }
.sf-coinstack img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; margin-left: -9px; box-shadow: 0 0 0 2px #20243f, 0 0 0 3px rgba(255,201,60,.6); }
.sf-coinstack img:first-child { margin-left: 0; }
