/* Shared storefront layout; host visuals use the jg prefix. Loaded without JS work. */
:root{--sfInk:#3e285d;--sfMuted:#796a88;--sfPurple:#7040bb;--sfPaper:#fffaf3;--sfLine:#e8dced}
.sfDialog,.sfDialog *{box-sizing:border-box}
.sfWalletHelp{font-size:12px;line-height:1.45;color:var(--sfMuted);margin:7px 0 0;max-width:580px}.sfBalance{display:inline-flex;align-items:center;gap:6px}.sfCoinIcon{width:26px;height:26px;object-fit:contain;flex:none}
#screen-shop .storeShell{height:100%;min-height:0;padding:0;max-width:none;overflow:hidden;display:flex;flex-direction:column}
#shopStore{flex:1;min-height:0}
.storefront{--sfInk:#3e285d;--sfMuted:#796a88;--sfPurple:#7040bb;--sfPaper:#fffaf3;--sfLine:#e8dced;color:var(--sfInk);font-family:Nunito,system-ui,sans-serif;display:flex;flex-direction:column;height:100%;min-height:0;max-width:1240px;margin:0 auto;padding:18px 28px;box-sizing:border-box}
.storefront *{box-sizing:border-box}.storefront [hidden]{display:none!important}
.storefront button{font-family:inherit;cursor:pointer;touch-action:manipulation}.storefront button:disabled{opacity:.55;cursor:default}
.storefront :focus-visible{outline:3px solid #3b88b7;outline-offset:4px}
.sfHeader{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 16px}.sfHeader h1{font-size:clamp(24px,2.6vw,36px);line-height:1.1;margin:3px 0 8px;letter-spacing:-.6px}.sfLead{font-size:15px;margin:0;color:var(--sfMuted)}
.sfEyebrow{font-size:10px;font-weight:900;letter-spacing:1.8px;margin:0;color:#91709e}.sfTools{display:flex;align-items:center;gap:12px;flex-shrink:0}.sfBalance{background:#fff0c6;border:1px solid #f1d489;padding:9px 13px;border-radius:30px;color:#755620;font-weight:900;white-space:nowrap}
.sfButton,.sfTab,.sfChip{font-size:14px;border:1px solid var(--sfLine);min-height:44px;padding:10px 17px;border-radius:16px;background:#fffaf8;color:var(--sfInk);font-weight:850;box-shadow:0 3px 0 #dacbdf}.sfPrimary{color:white;background:linear-gradient(#9762dc,#7540ba);border-color:#7140b5;box-shadow:0 3px 0 #4e2987}.sfQuiet[aria-pressed=true],.sfTab[aria-pressed=true]{color:white;background:#7445bc;border-color:#7445bc;box-shadow:0 3px 0 #4b2b79}.sfNav{display:flex;gap:10px;border-bottom:1px solid var(--sfLine);padding:0 0 17px;flex-shrink:0}.sfTab{min-width:124px}.sfScroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:18px 5px 24px;scrollbar-gutter:stable}.sfCollectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sfCollectionHead h2{margin:0 0 3px;font-size:22px}.sfCollectionHead p{margin:0;font-size:13px;color:var(--sfMuted)}.sfFilters{display:flex;gap:7px}.sfChip{padding:6px 12px;min-height:38px;font-size:12px;box-shadow:none;border-radius:30px}.sfChip[aria-pressed=true]{background:#e7dbf9;border-color:#c3a9e5}
.sfGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.sfCard{min-width:0;background:var(--sfPaper);border-radius:22px;box-shadow:0 6px 0 #e2d4de,0 12px 25px #50375d0b;border:1px solid #fff;overflow:hidden}.sfCardOpen{display:block;text-align:left;background:none;border:0;padding:0;width:100%;height:100%;color:inherit}.sfCardOpen:active{transform:translateY(2px)}.sfVisual{position:relative;aspect-ratio:1.65;background:#e9e3da;overflow:hidden}.sfBadge{position:absolute;left:13px;top:12px;padding:5px 10px;border-radius:20px;background:#fffcf2f2;color:#5c4275;font-size:11px;font-weight:900;box-shadow:0 2px 8px #0001}.sfCardInfo{padding:17px 19px}.sfCardInfo h3{font-size:21px;line-height:1.2;margin:7px 0 8px}.sfCardSummary{font-size:12px;color:var(--sfMuted);line-height:1.5;margin:0;min-height:36px}.sfCardFoot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:17px;padding-top:13px;border-top:1px solid var(--sfLine)}.sfCardFoot strong{font-size:18px}.sfCardFoot small,.sfDetailFoot small{display:block;color:var(--sfMuted);font-size:10px;margin-top:3px}.sfArrow{display:grid;place-items:center;border-radius:50%;background:#e8dbf6;width:34px;height:34px;font-size:24px}.sfFooter{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:11px;border-top:1px solid var(--sfLine);font-size:11px;color:var(--sfMuted);flex-shrink:0}.sfTextButton{border:0;background:none;text-decoration:underline;color:var(--sfPurple);min-height:36px;white-space:nowrap}.sfNotice{background:#f0e7f8;padding:12px 16px;border-radius:13px;font-size:14px;margin-bottom:12px}.sfEmpty{text-align:center;max-width:460px;margin:36px auto}.sfEmptyIcon{font-size:42px;color:#bba0d7}.sfEmpty h3{font-size:22px}.sfEmpty p{line-height:1.6;color:var(--sfMuted)}
.sfDialog{background:var(--sfPaper);border:1px solid #fff;border-radius:25px;padding:0;color:var(--sfInk);width:min(880px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);box-shadow:0 25px 80px #25173255;overflow:hidden}.sfDialog::backdrop{background:#251a38a1}.sfDialogInner{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}.sfDetailTop{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--sfLine);flex-shrink:0}.sfClose{border:0;background:#eee4f3;color:var(--sfInk);border-radius:50%;width:42px;height:42px;font-size:27px}.sfDetailContent{display:grid;grid-template-columns:1.15fr 1fr;overflow:auto;min-height:0;padding:24px;gap:26px;overscroll-behavior:contain}.sfDetailCopy h2{font-size:29px;line-height:1.15;margin:2px 0 14px}.sfDetailDescription{color:var(--sfMuted);line-height:1.55;font-size:15px}.sfIncluded{font-weight:900;font-size:14px;border-block:1px solid var(--sfLine);padding:14px 0}.sfFact{font-size:12px;line-height:1.5;padding-left:16px;position:relative}.sfFact:before{content:'✓';position:absolute;left:0;color:#368c78}.sfWallet,.sfWarning{font-size:12px;padding:10px 12px;background:#fff0c9;border-radius:12px;line-height:1.5}.sfDetailFoot{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--sfLine);padding:15px 24px 20px;background:#fffaf3;flex-shrink:0}.sfDetailFoot strong{font-size:21px}
.jgPackCollage{height:100%;display:flex;align-items:center;justify-content:center;gap:0;padding:20px 14px 12px;background:linear-gradient(135deg,#b5d5cb,#f5e3b3)}.jgPackCollage .jgPicture{background:#fffbf2;padding:5px 5px 15px;width:39%;flex-shrink:0;box-shadow:0 6px 13px #26443844;transform:rotate(-9deg);margin-right:-16%;position:relative}.jgPackCollage .jgPicture:nth-child(2){transform:rotate(7deg) translateY(4px);z-index:1}.jgPackCollage .jgPicture:last-child{transform:rotate(-3deg);margin-right:0}.jgPicture img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.jgPackLarge{margin:0;background:white;padding:8px 8px 12px;border-radius:14px;box-shadow:0 4px 12px #553c5e19}.jgPackLarge img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.jgPackLarge figcaption{text-align:center;margin-top:8px;font-size:13px;font-weight:800}.jgPackGallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px}.jgPackGallery .jgPicture{border:2px solid transparent;border-radius:10px;background:#eee5ee;padding:4px;color:var(--sfInk)}.jgPackGallery .jgPicture[aria-pressed=true]{border-color:#8853c3;background:#eadcfb}.jgPackGallery img{border-radius:5px}.jgPackGallery span{font-size:9px;display:block;line-height:1.2;margin-top:4px}.jgNoArt{height:100%;display:grid;place-items:center;padding:24px;text-align:center;background:#e9e1ee;color:#776582;min-height:160px}
.jgCosmeticStage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:180px;padding:30px 16px;background:linear-gradient(145deg,#f2dfc5,#e5d8c4);overflow:hidden}.sfDetailVisual>.jgCosmeticStage{min-height:300px;border-radius:18px}.jgVisualCaption{position:absolute;bottom:8px;left:12px;color:#71634f;font-size:10px;font-weight:800}.jgPlayerDisc{display:grid;place-items:center;background:#b492d9;color:white;border:5px solid white;box-shadow:0 5px 9px #5e477c22;border-radius:50%;width:58px;height:58px;font-size:29px;font-weight:900;margin-bottom:6px}.jgPlayerName{font-size:16px}.jgPlayerTitle{font-size:12px;font-weight:900;color:#875298}.jgTablePicture{width:56%;max-width:200px;aspect-ratio:4/3;border:6px solid #fffcf6;box-shadow:0 5px 12px #39251f38;transform:rotate(-7deg);overflow:hidden}.jgTablePicture img{width:100%;height:100%;object-fit:cover}.jgTablePicture>span{display:grid;place-items:center;height:100%;background:#acb6d1;color:white;font-size:40px}.jgCosmeticStage[data-variant=lavender-window] .jgTablePicture{border:6px solid #c4b4e0}.jgCosmeticStage[data-variant=sunlit-corner] .jgTablePicture{border:6px solid #efd58c}.jgCosmeticStage[data-variant=linen-morning]{background:radial-gradient(ellipse at center,#f8ecdcaa,transparent 65%),repeating-linear-gradient(90deg,#fff2 0 1px,transparent 1px 7px),#d5c5ac}.jgCosmeticStage[data-variant=coastal-wood]{background:repeating-linear-gradient(8deg,#fff3 0 2px,transparent 2px 10px),#c6d1c9}.jgPiece{display:block;width:37px;height:37px;border-radius:9px;background:#b495d5;box-shadow:0 3px 0 #8366a5;position:relative}.jgPiece:before{content:'';position:absolute;width:16px;height:16px;border-radius:50%;background:inherit;left:10px;top:-8px}.jgLoosePiece{position:absolute;right:22px;bottom:35px;transform:rotate(20deg)}.jgLoosePieceTwo{right:auto;left:25px;bottom:25px;background:#d8ac7b;transform:rotate(-21deg)}.jgSnapPieces{position:relative;display:flex;gap:3px;padding:30px}.jgSnapPieces .jgPiece:last-child{background:#deb56e;transform:rotate(90deg)}
@media(min-width:1100px){.sfGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.sfVisual{aspect-ratio:1.7}}
@media(max-width:800px){.storefront{padding:15px 18px}.sfGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sfHeader{align-items:flex-start}.sfTools{flex-direction:column;align-items:flex-end;gap:7px}.sfLead{font-size:13px}.sfDetailContent{gap:18px;padding:18px}.sfFooter{font-size:10px}}
@media(max-width:520px){.storefront{padding:12px 12px 8px}.sfHeader{gap:9px;padding-bottom:12px}.sfHeader h1{font-size:23px;max-width:220px}.sfHeader .sfEyebrow{font-size:8px}.sfLead{font-size:11px;line-height:1.4}.sfTools{gap:6px}.sfTools .sfButton{padding:7px 10px;font-size:12px;min-height:40px}.sfBalance{font-size:11px;padding:6px 9px}.sfNav{padding-bottom:12px}.sfTab{flex:1;min-width:0;min-height:42px;font-size:14px;padding:8px}.sfScroll{padding:13px 2px 20px}.sfCollectionHead{align-items:flex-start}.sfCollectionHead h2{font-size:19px}.sfCollectionHead p{font-size:11px;max-width:260px}.sfGrid{grid-template-columns:1fr;gap:17px}.sfVisual{aspect-ratio:1.9}.sfCardInfo{padding:13px 16px}.sfCardInfo h3{font-size:22px}.sfCardSummary{min-height:0}.sfCardFoot{margin-top:11px;padding-top:10px}.sfFooter>span{max-width:180px;font-size:9px}.sfTextButton{font-size:10px}.sfDialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:19px}.sfDialogInner{max-height:calc(100dvh - 18px)}.sfDetailTop{padding:9px 14px}.sfDetailContent{grid-template-columns:1fr;gap:16px;padding:15px}.sfDetailCopy h2{font-size:25px}.sfDetailDescription{font-size:13px}.sfDetailFoot{padding:12px 15px 16px;gap:9px}.sfDetailFoot .sfButton{font-size:13px;padding:10px 13px}.sfDetailFoot strong{font-size:18px}.jgPackLarge img{max-height:210px}.jgPackGallery span{font-size:9px}.sfEmpty{margin:20px auto}.sfFilters{gap:4px}.sfChip{font-size:10px;padding:5px 9px}}
@media(prefers-reduced-motion:reduce){.storefront *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(min-width:801px){.sfGrid:has(>.sfCard[data-layout="feature"]:only-child){grid-template-columns:minmax(0,1000px)}.sfCard[data-layout="feature"]:only-child .sfCardOpen{display:grid;grid-template-columns:1.05fr 1fr}.sfCard[data-layout="feature"]:only-child .sfVisual{height:100%;min-height:230px;aspect-ratio:auto}.sfCard[data-layout="feature"]:only-child .sfCardInfo{display:flex;flex-direction:column;justify-content:center;padding:24px}.sfCard[data-layout="feature"]:only-child .sfCardSummary{min-height:0}}

.jgThemePreview{width:100%;height:100%;padding:10px;background:linear-gradient(135deg,#e8dccb,#d0c2ae)}
.sfVisual:has(.jgThemePreview){aspect-ratio:4/3}
.sfDetailVisual>.jgThemePreview{height:auto;border-radius:16px;padding:12px}
.jgThemeCanvas{width:100%}.jgThemeControls{display:flex;gap:8px;justify-content:center;margin-top:14px;flex-wrap:wrap}
.jgThemeNote{font-size:11px;line-height:1.5;color:#685d50;margin:6px 0 0}.jgThemePreview>.sfTextButton{display:block;margin:6px auto 0;min-height:44px}
/* Purchase detail text stays compact; optional terms expand within the dialog. */
.checkoutInformation{font-size:.88rem;text-align:left;color:var(--ink,#413552);line-height:1.5;overflow-wrap:anywhere}
.checkoutPriceNote{font-weight:750;margin:.2rem 0}.checkoutDeliveryNote{margin:.4rem 0 .7rem}
.checkoutTerms{border-top:1px solid #b8a2bf;padding:.65rem 0;margin:.5rem 0}.checkoutTerms summary{font-weight:750;cursor:pointer;min-height:40px;display:list-item;align-content:center;outline-offset:4px}
.checkoutTerms section{margin:.7rem 0}.checkoutTerms h3{font-size:.95rem;margin:.1rem 0}.checkoutTerms p{margin:.25rem 0}.checkoutTerms a{color:#5837a0;text-decoration:underline}.checkoutTerms button{margin:.4rem 0;min-height:44px}.checkoutTerms small{display:block;color:#63556d;margin-top:.3rem}
@media(max-width:600px){body[data-ui-theme] #paidCheckout{padding:18px;max-height:calc(100dvh - 20px)}body[data-ui-theme] #paidCheckout .paidCheckoutArt{height:76px}body[data-ui-theme] #paidCheckout .paidCheckoutArt .shopIllustration{width:90px;height:76px;margin-bottom:4px}body[data-ui-theme] #paidCheckout .packArtCaption{display:none}#paidCheckoutTitle{font-size:1.4rem}body[data-ui-theme] #paidCheckout .paidCheckoutConsent{margin-top:10px;padding:10px}}
@media(max-width:420px){body[data-ui-theme] #paidCheckout .paidCheckoutArt{display:none}}

.sfCurrency{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#665077}.sfCurrency select{font:inherit;color:#48315f;background:#fffdf7;border:1px solid #d6c4df;border-radius:12px;min-height:40px;padding:6px 9px;max-width:145px}.sfTools{flex-wrap:wrap}.sfCurrency select:focus-visible{outline:3px solid #a87ad6;outline-offset:2px}
/* Permanent capability product: native artwork, no tracking or external assets. */
.sfAdFreeArt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(ellipse at 50% 40%,#fff6d6,#f1e9fa 75%);color:#503572;text-align:center;padding:24px}.sfAdFreeEmblem{width:clamp(110px,18vw,185px);filter:drop-shadow(0 9px 8px #805d4026)}.sfAdFreeEmblem svg{display:block;width:100%}.sfAdFreeArt>strong{font-size:clamp(24px,3vw,34px)}.sfAdFreeArt>span{font-size:15px}.adFreeResultBonus{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:12px;border-top:1px dashed #bea5d2}.adFreeResultBonus p{font-size:14px;max-width:28rem}
@media(max-width:520px){.sfHeader{flex-direction:column;align-items:stretch}.sfTools{flex-direction:row;align-items:center;justify-content:space-between}.sfTools .sfCurrency{margin-left:auto;font-size:0;gap:0}.sfTools .sfCurrency select{font-size:12px}}

/* SHOP4: one catalogue scroll, with host-defined payment departments. */
.sfDepartmentStore{display:block;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:30px}
.sfDepartmentStore .sfScroll{display:block;overflow:visible;min-height:0;padding:0 0 24px;scrollbar-gutter:auto}
.sfDepartmentStore .sfHeader{padding-bottom:18px}.sfDepartmentStore .sfHeader h1{font-weight:1000}
.sfDepartments{display:flex;gap:13px;max-width:630px;margin-bottom:20px}
.sfDepartments:empty{display:none}.sfDepartment{flex:1;border:1px solid #c8b1db;border-radius:18px;padding:12px 19px;background:#fffdf7;color:var(--sfInk);box-shadow:0 4px #d9cadf;text-align:left;min-height:66px}
.sfDepartment strong{font-size:22px;font-weight:1000;display:block;line-height:1.2}.sfDepartment small{display:block;font-size:12px;margin-top:3px;color:var(--sfMuted)}
.sfDepartment[aria-pressed=true]{color:white;background:linear-gradient(#9944ef,#7930c4);border-color:#6a29ad;box-shadow:inset 0 2px #cea1fa,0 4px #54228a}.sfDepartment[aria-pressed=true] small{color:#f3e8ff}
.sfDepartment:last-child[aria-pressed=true]{background:linear-gradient(#ffe7a3,#ffda7c);border-color:#d7ad51;box-shadow:inset 0 2px #fff3d2,0 4px #c4a15b;color:#644214}.sfDepartment:last-child[aria-pressed=true] small{color:#795b26}
.sfDepartmentStore .sfNav{gap:8px;padding-bottom:0;border-bottom:0;flex-wrap:wrap}.sfDepartmentStore .sfTab{min-width:0;min-height:44px;border-radius:25px;box-shadow:none;font-size:13px;padding:9px 16px}.sfDepartmentStore .sfTab[aria-pressed=true]{color:#5d2b94;background:#eadcf7;border-color:#cdb2e5}
.sfDepartmentHint{margin:16px 0 24px;color:var(--sfMuted);font-size:13px}.sfDepartmentStore .sfCollectionHead{margin-bottom:19px}.sfDepartmentStore .sfGrid{gap:23px}.sfDepartmentStore .sfCard{border:1px solid #dfd0c2;box-shadow:1px 5px #deccbb50;border-radius:20px}
.sfDepartmentStore .sfVisual{aspect-ratio:4/3}.sfDepartmentStore .sfCardInfo{padding:18px}.sfPriceTag{position:absolute;right:12px;top:12px;border:1px solid #e5d5be;border-radius:12px;padding:5px 10px;font-size:14px;font-weight:1000;background:#fff8e5f5;box-shadow:0 2px 7px #37204c12;color:#5d3d19}
.sfArrow{font-size:13px;font-weight:900;width:auto;min-width:72px;height:auto;min-height:35px;padding:7px 10px;border-radius:13px}.sfCardFoot{flex-wrap:wrap}.sfCardFoot>div{min-width:0}.sfCardFoot strong{overflow-wrap:anywhere}
.sfSection+.sfSection{border-top:1px dashed #d7c1e1;margin-top:30px;padding-top:23px}.sfSectionTitle{font-size:25px;margin:0 0 7px}.sfSectionHint{font-size:13px;color:var(--sfMuted);margin:0 0 20px}.sfGrid[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.sfDepartmentStore .sfFooter{padding-top:17px;flex-wrap:wrap}.sfDetailCopy>.sfButton{display:block;width:100%;margin-top:8px}.sfDetailFoot>div{min-width:0}.sfDetailFoot .sfButton{max-width:70%;overflow-wrap:anywhere;white-space:normal}
@media(max-width:850px){.sfDepartmentStore .sfGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.sfDepartmentStore .sfVisual{aspect-ratio:1.5}}
@media(max-width:520px){.sfDepartmentStore{padding:15px 15px 24px}.sfDepartmentStore .sfHeader{gap:10px;padding-bottom:17px}.sfDepartmentStore .sfHeader h1{font-size:29px;margin:0}.sfDepartmentStore .sfHeader .sfEyebrow,.sfDepartmentStore .sfLead{display:none}.sfDepartmentStore .sfTools{gap:7px}.sfDepartmentStore .sfBalance{padding:6px 9px;font-size:12px}.sfDepartmentStore .sfCoinIcon{width:24px;height:24px}.sfDepartmentStore .sfTools .sfButton{padding:8px 11px;font-size:12px}.sfDepartments{gap:9px;margin-bottom:17px}.sfDepartment{min-height:60px;padding:10px 12px;border-radius:16px}.sfDepartment strong{font-size:20px}.sfDepartment small{font-size:10px}.sfDepartmentStore .sfTab{padding:8px 12px;font-size:12px}.sfDepartmentHint{font-size:12px;margin:13px 0 20px}.sfDepartmentStore .sfGrid,.sfGrid[data-columns="2"]{grid-template-columns:1fr}.sfDepartmentStore .sfVisual{aspect-ratio:1.65}.sfDepartmentStore .sfCollectionHead h2{font-size:23px}.sfDepartmentStore .sfFooter>span{max-width:none;font-size:11px}.sfDepartmentStore .sfTextButton{font-size:12px}.sfDetailFoot{flex-wrap:wrap}.sfDetailFoot .sfButton{max-width:100%;flex:1;min-width:145px}.sfDepartments~.sfNav:empty{display:none}}
@media(max-width:360px){.sfDepartmentStore .sfTab{font-size:11px;padding:8px 10px}.sfDepartment strong{font-size:17px}.sfDepartment{padding:10px}.sfDepartmentStore .sfTools{flex-wrap:wrap}}
/* SHOP6: one product/review surface; receipt state uses the same controls. */
html body #paidCheckout.paidCheckout{width:min(1060px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;overflow:hidden;border:1px solid #e1d2df;border-radius:25px;background:#fffbf4;color:#3e285d;box-shadow:0 22px 80px #25173255;font-family:Nunito,system-ui,sans-serif}
html body #paidCheckout.paidCheckout .purchaseSheet{display:flex;flex-direction:column;max-height:calc(100dvh - 30px)}
html body #paidCheckout.paidCheckout .purchaseHeading{padding:18px 24px 16px;border-bottom:1px solid #e6d8e4;flex:none;background:linear-gradient(110deg,#fff5df,#f1e8fa)}
html body #paidCheckout.paidCheckout .shopConfirmClose{position:static;float:right;margin:0 0 5px 15px;width:44px;height:44px;min-height:44px;border-radius:50%;background:#fffcf8;color:#3e285d;font-size:26px;box-shadow:0 3px 0 #d8c9d1;padding:0}
html body #paidCheckout.paidCheckout h2{font:900 clamp(22px,3vw,32px)/1.15 Nunito,system-ui,sans-serif;letter-spacing:0;margin:10px 52px 0 0;overflow-wrap:anywhere;clear:none}
html body #paidCheckout.paidCheckout .eyebrow{font-size:10px;max-width:calc(100% - 64px);letter-spacing:.05em;color:#755124}
html body #paidCheckout.paidCheckout .purchaseScroll{overflow:auto;min-height:0;overscroll-behavior:contain;overflow-anchor:none}
html body #paidCheckout.paidCheckout .purchaseColumns{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:24px;align-items:start}
html body #paidCheckout.paidCheckout :is(.purchaseMedia,.purchaseCopy){min-width:0}
html body #paidCheckout.paidCheckout .paidCheckoutArt{height:auto;margin:0;min-height:0}
html body #paidCheckout.paidCheckout .paidCheckoutArt .tableThemeScene{width:min(100%,400px);max-width:none;max-height:none}
.themeSoundOptions{border:1px solid #dfd0e5;border-radius:12px;padding:10px 13px;margin-top:8px}.themeSoundOptions summary{font:850 12px Nunito,system-ui,sans-serif;cursor:pointer;min-height:30px;line-height:30px;color:#62427b}.themeSoundOptions .sfChip{margin:5px 4px 0 0}.themeSoundOptions>.toolbar{display:flex;flex-wrap:wrap;gap:4px}.themeSoundOptions .themeMixer{margin:8px 0 13px}
html body #paidCheckout.paidCheckout .packArtCaption{display:block;font-size:11px;line-height:1.4;margin:0 0 12px;color:#7b658e;text-align:center}
html body #paidCheckout.paidCheckout .jgPackGallery:has(>.jgPicture:only-child){display:none}
html body #paidCheckout.paidCheckout .jgPackLarge{box-shadow:0 5px 18px #553c5e18}
html body #paidCheckout.paidCheckout .jgPackLarge img{max-height:380px;object-fit:contain}
html body #paidCheckout.paidCheckout p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
html body #paidCheckout.paidCheckout #paidCheckoutDescription{margin:0 0 15px;color:#776386}
html body #paidCheckout.paidCheckout .paidCheckoutContents{font-size:14px;font-weight:850;margin:0 0 14px;padding:13px 15px;background:#f1e8fa;border:1px solid #d9c8e5;border-radius:12px;color:#3e285d}
html body #paidCheckout.paidCheckout .checkoutPriceNote{font-weight:850;font-size:12px;margin:12px 0 6px;color:#5e486e}
html body #paidCheckout.paidCheckout .checkoutDeliveryNote{font-size:12px;color:#776386;margin:6px 0 12px}
html body #paidCheckout.paidCheckout .checkoutTerms{font-size:13px;border-block:1px solid #e5d6e3;padding:12px 0;margin:12px 0}
html body #paidCheckout.paidCheckout .checkoutTerms summary{cursor:pointer;font-weight:850;padding:5px 0;color:#55366e}
html body #paidCheckout.paidCheckout .checkoutTerms :is(p,h3,small,a){font-size:12px;overflow-wrap:anywhere}
html body #paidCheckout.paidCheckout .paidCheckoutConsent{display:flex;align-items:flex-start;gap:12px;margin:16px 0;padding:13px;border:1px solid #c8b2dc;border-radius:12px;background:#fffcf7;font-size:12px;line-height:1.5;color:#49325f;cursor:pointer;clear:none}
html body #paidCheckout.paidCheckout .paidCheckoutConsent input{width:24px;height:24px;flex:none;margin:0;accent-color:#8735d6}
html body #paidCheckout.paidCheckout .paidCheckoutStatus{font-size:12px;padding:11px 13px;background:#edf5ee;border-radius:10px;color:#39654d;margin:12px 0}
html body #paidCheckout.paidCheckout .paidCheckoutStatus.paidCheckoutError{background:#fff1e9;color:#9b4050;border-left:3px solid #b95362}
html body #paidCheckout.paidCheckout .scCheckoutHandoff{font-size:11px;line-height:1.5;margin:10px 0;color:#776386}
html body #paidCheckout.paidCheckout .modalActions{position:static;clear:none;bottom:auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:16px 24px 19px;border-top:1px solid #e1d1df;background:#fff9ed;box-shadow:0 -4px 15px #50325c08;flex:none}
html body #paidCheckout.paidCheckout .modalActions button{flex:0 1 auto;max-width:100%;min-height:46px;font-size:14px;white-space:normal;line-height:1.3;padding:12px 19px;border-radius:15px}
html body #paidCheckout.paidCheckout .purchasePrice{margin-right:auto;min-width:120px}
html body #paidCheckout.paidCheckout .purchasePrice small{display:block;font-size:10px;color:#776386}
html body #paidCheckout.paidCheckout .paidCheckoutTotal{display:block;font:900 26px/1.2 Nunito,system-ui,sans-serif;padding:0;margin:4px 0 0;border:0;background:none;color:#3e285d}
html body #paidCheckout.paidCheckout:not([data-state=review]){width:min(700px,calc(100vw - 28px))}
html body #paidCheckout.paidCheckout:not([data-state=review]) .purchaseMedia{display:none}
html body #paidCheckout.paidCheckout:not([data-state=review]) .purchaseColumns{grid-template-columns:1fr}
html body #paidCheckout.paidCheckout:not([data-state=review]) .scCheckoutHandoff{display:none}
.shopCoinQuote{margin:18px 0;border:1px solid #e5cf9c;border-radius:14px;background:#fff7df;padding:10px 15px;color:#5c431e}.shopCoinQuote>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.shopCoinQuote>div:last-child{border-top:1px solid #e4cf9d;font-weight:900}.shopCoinQuote dd{margin:0;font-weight:900}
@media(max-width:760px){html body #paidCheckout.paidCheckout .purchaseColumns{grid-template-columns:1fr;gap:20px;padding:18px}.purchaseMedia{max-width:520px;width:100%;margin:auto}html body #paidCheckout.paidCheckout .jgPackLarge img{max-height:240px}html body #paidCheckout.paidCheckout .purchaseHeading{padding:15px 18px}html body #paidCheckout.paidCheckout .modalActions{padding:13px 18px 17px}html body #paidCheckout.paidCheckout .modalActions button{font-size:13px;padding:11px 12px;flex:1}html body #paidCheckout.paidCheckout .purchasePrice{flex-basis:100%}html body #paidCheckout.paidCheckout .paidCheckoutTotal{font-size:23px}html body #paidCheckout.paidCheckout h2{font-size:24px}html body #paidCheckout.paidCheckout .purchasePrice small{display:inline;margin-right:10px}html body #paidCheckout.paidCheckout .paidCheckoutTotal{display:inline}}
html body #paidCheckout.paidCheckout [hidden]{display:none!important}
html body #paidCheckout.paidCheckout .purchasePrice:has(strong:empty){display:none}.jgProductSizes{font-size:11px;text-align:center;color:#776386;line-height:1.5}.demoEmail{padding:24px;max-height:calc(100dvh - 42px);overflow:auto;overscroll-behavior:contain}.demoEmail h2{margin:0 0 14px;font-size:25px;line-height:1.2}.demoEmail p{line-height:1.6}.demoEmailActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.demoEmailActions .sfButton{flex:1 1 180px;min-height:48px;white-space:normal}
@media(forced-colors:active){html body #paidCheckout.paidCheckout :is(.purchaseHeading,.modalActions,.paidCheckoutContents,.paidCheckoutConsent,.checkoutTerms){border-color:ButtonText}}
/* SHOP5: product identity, current basket savings and honest previews. */
.sfDepartmentStore .sfVisual:has(>.jgBundleArt){aspect-ratio:2}
.sfCard{transition:border-color .18s,box-shadow .18s}.sfCardInfo{display:flex;flex-direction:column}.sfCardInfo h3{overflow-wrap:anywhere;line-height:1.2}.sfCardSummary{line-height:1.5}.sfCardInfo .sfCardFoot{margin-top:auto;padding-top:13px}.sfCardOpen{display:flex;flex-direction:column}.sfCardOpen>.sfVisual{width:100%;flex:none}.sfCardOpen>.sfCardInfo{flex:1;width:100%}.sfCardFoot{gap:9px}.sfArrow{font-size:12px;line-height:1.3;text-align:center;max-width:100%;border:1px solid #d9c3ed;min-height:40px}.sfCardFacts{display:flex;flex-wrap:wrap;gap:5px;list-style:none;padding:0;margin:4px 0 18px}.sfCardFacts li{font-size:11px;font-weight:850;padding:5px 8px;border:1px solid #ddcfe5;border-radius:9px;background:#f3edf7}.sfSaving{font-size:12px;font-weight:900;color:#2c6a55;background:#e6f3e9;border:1px solid #bbd9c4;border-radius:9px;padding:7px 9px;margin:0 0 14px}.sfCardNote{font-size:12px;line-height:1.5;padding:9px 10px;margin:0 0 14px;border-radius:9px;background:#fff1cf;color:#705322}.sfCard[data-state=partial] .sfBadge,.sfCard[data-state=partial] .sfArrow{background:#fff0bf;color:#6d4c19}.sfCard[data-state=unknown] .sfBadge,.sfCard[data-state=unavailable] .sfBadge{background:#ece7f1;color:#5f4c72}.sfCard[data-state=owned] .sfBadge{background:#e0f3e7;color:#296345}.sfBadge{max-width:62%;white-space:normal;line-height:1.25}
.sfDepartmentStore .sfVisual{aspect-ratio:1.5;background:radial-gradient(ellipse at 40% 15%,#fff5d8,#eadfd2)}.sfVisual>div:has(>.tableThemeScene){height:100%;width:100%;display:flex;align-items:center;justify-content:center;padding:12px}.sfVisual>div>.tableThemeScene{width:auto;height:100%;max-width:100%}.sfVisual.jgPackArt{padding:12px;background:linear-gradient(135deg,#f3e7d5,#e5dcef)}.jgSinglePicture{display:block;width:100%;height:100%;object-fit:contain;border-radius:12px;box-shadow:0 5px 12px #472e4a25}.jgBundleArt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:10px;height:100%;padding:25px 14px 13px;background:radial-gradient(ellipse at 50% 0,#fff9ec,#e5d8e8)}.jgBundleTile{margin:0;min-width:0;background:#fffaf3;padding:6px;border-radius:9px;box-shadow:0 6px 14px #49305220;transform:rotate(-5deg)}.jgBundleTile:nth-child(2){transform:translateY(-7px) rotate(2deg)}.jgBundleTile:nth-child(3){transform:rotate(6deg)}.jgBundleTile figcaption{font-size:11px;font-weight:900;text-align:center;line-height:1.25;margin-top:7px;overflow-wrap:anywhere}.jgBundleTile .tableThemeScene{box-shadow:none}
.jgEffectIllustration{width:155px;height:155px;object-fit:contain;position:absolute;inset:0;margin:auto;filter:drop-shadow(0 7px 10px #855d8130)}.jgCosmeticStage:has(.jgEffectIllustration) .jgSnapPieces{visibility:hidden}.jgGlowSample{filter:drop-shadow(0 0 15px #ffec95);background:radial-gradient(ellipse,#fff3b8aa,transparent 70%);border-radius:50%}.jgCosmeticStage[data-kind=title]{background:radial-gradient(ellipse at 50% 20%,#fff5db,#e7dcf2);gap:4px}.jgCosmeticStage[data-kind=title] .jgPlayerTitle{padding:6px 14px;border-radius:30px;background:#fff7dd;border:1px solid #dfc797;color:#77501c}.jgPlayerName{max-width:100%;overflow-wrap:anywhere;text-align:center}
/* Same frame tokens for real library/player components and isolated samples. */
html[data-cosmetic-frame=lavender-window],.jgFrameSample[data-frame=lavender-window]{--cosmetic-frame-edge:#b998d9;--cosmetic-frame-wash:#efe5fa}
html[data-cosmetic-frame=sunlit-corner],.jgFrameSample[data-frame=sunlit-corner]{--cosmetic-frame-edge:#e6c376;--cosmetic-frame-wash:#fff3ce}
html:is([data-cosmetic-frame=lavender-window],[data-cosmetic-frame=sunlit-corner]) body #screen-library .motifCard[data-motif],html:is([data-cosmetic-frame=lavender-window],[data-cosmetic-frame=sunlit-corner]) body #screen-home .playerStrip,.jgFrameSample .motifCard,.jgFrameSample .playerStrip{border-color:var(--cosmetic-frame-edge);outline:2px solid var(--cosmetic-frame-edge);outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--cosmetic-frame-wash),0 5px 14px #62497720}
.jgFrameSample{gap:14px;padding:25px 20px 28px;background:radial-gradient(ellipse at 50% 10%,#fff9ed,#e7ddf1)}.jgFrameSample .motifCard{max-width:205px;width:70%;border-style:solid;border-width:4px;border-radius:14px;transform:rotate(-5deg);background:#fffaf3;overflow:hidden}.jgFrameSample .motifCard img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px}.jgMiniCaption{display:block;font-size:10px;padding:8px 6px;text-align:center;color:#604773}.jgFrameSample .playerStrip{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;border:1px solid var(--cosmetic-frame-edge);border-radius:12px;max-width:240px;width:95%;margin:0;padding:9px 11px;background:#fffaf3;color:#4e3764}.jgFrameSample .playerStrip strong{font-size:11px;line-height:1.3;overflow-wrap:anywhere}.jgMiniAvatar{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;background:#ded1ef;font-size:16px;font-weight:1000;color:#6b4d87}.sfDetailVisual>.jgFrameSample{min-height:365px}.sfDetailVisual .jgFrameSample .motifCard{max-width:260px}
@media(min-width:801px){.sfCard[data-layout=feature]:only-child .sfVisual{min-height:270px}.sfCard[data-layout=feature]:only-child .sfCardInfo h3{font-size:28px}.sfCard[data-layout=feature]:only-child .sfCardInfo .sfCardFoot{margin-top:10px}.sfCard[data-layout=feature]:only-child .sfArrow{background:linear-gradient(#a252f4,#8136d0);color:white;border-color:#7b37bb;padding:12px 16px;box-shadow:0 3px 0 #5e2996}}
@media(max-width:520px){.sfDepartmentStore .sfVisual{aspect-ratio:1.65}.sfDepartmentStore .sfCardInfo{padding:15px}.sfCardInfo h3{font-size:23px}.sfCardSummary{font-size:12px}.sfCardFoot strong{font-size:20px}.sfArrow{font-size:12px;min-height:44px;padding:9px 11px}.sfCardFacts{margin-bottom:13px}.sfCardFacts li{font-size:10px}.sfCardNote,.sfSaving{font-size:11px}.jgBundleArt{gap:6px;padding:26px 10px 14px}.jgBundleTile{padding:4px}.jgBundleTile figcaption{font-size:9px}.sfDepartmentStore .sfDepartmentHint{margin-bottom:17px}.sfDepartmentStore .sfCollectionHead{margin-bottom:15px}.sfDepartmentStore .sfHeader{padding-bottom:13px}.jgFrameSample{gap:10px;padding-block:19px 25px}.jgFrameSample .motifCard{max-width:150px;width:55%}.jgFrameSample .playerStrip{max-width:220px;padding:7px 10px}.jgMiniCaption{font-size:8px;padding:5px}.jgEffectIllustration{width:135px;height:135px}.sfDetailVisual>.jgFrameSample .motifCard{width:80%;max-width:230px}}
@media(prefers-reduced-motion:reduce){.sfCard{transition:none}}@media(forced-colors:active){.sfBadge,.sfSaving,.sfCardNote,.sfCardFacts li{border:1px solid CanvasText}.sfArrow{border:1px solid ButtonText}}
@media(forced-colors:active){.sfDepartment,.sfDepartment[aria-pressed=true],.sfDepartment:last-child[aria-pressed=true],.sfPriceTag{border:1px solid CanvasText;color:CanvasText;background:Canvas;box-shadow:none}.sfDepartment[aria-pressed=true]{outline:2px solid Highlight}.sfDepartment small,.sfDepartment[aria-pressed=true] small,.sfDepartment:last-child[aria-pressed=true] small{color:CanvasText}}

/* SHOP7: optional saving goal, distinct from medals and XP. */
.sfCoinGoal{display:flex;align-items:center;gap:18px;margin:0 0 24px;padding:20px 24px;border:1px solid #e1bc70;border-radius:22px;background:linear-gradient(110deg,#fff1c8,#fffaf0 65%);color:#49315f;box-shadow:0 4px 0 #e8d7bb}.sfCoinGoal[hidden],.coinGoalShortcut[hidden]{display:none!important}.sfGoalCoin{flex:none;width:56px;height:56px;object-fit:contain}.sfGoalCopy{flex:1;min-width:0}.sfGoalCopy h2{font-size:24px;margin:3px 0 5px;overflow-wrap:anywhere}.sfGoalCopy p{margin:4px 0 7px;font-weight:750}.sfGoalCopy>small:last-child{display:block;font-size:12px;color:#775735;line-height:1.5}.sfGoalCopy progress{display:block;width:100%;max-width:440px;height:13px;margin:9px 0;accent-color:#a36c14}.sfGoalActions{display:flex;flex-direction:column;gap:8px;min-width:150px}.sfGoalHelp{display:block;margin:8px 0;color:#72578b;line-height:1.5}.sfAcquired{font-size:25px!important;font-weight:900;color:#277a66;margin:0 0 16px!important}.sfDetailFoot:has(.sfQuiet){flex-wrap:wrap}.sfDetailFoot:has(.sfQuiet)>.sfQuiet{background:#fff9ed}.coinGoalShortcut{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid #dcc08a;border-radius:18px;background:#fff6dc;color:#4d365e;min-width:0}.coinGoalShortcut>small{font-size:11px;line-height:1.5}.coinGoalShortcut>strong{font-size:20px;overflow-wrap:anywhere}.coinGoalShortcut>span{font-size:14px;font-weight:750}.coinGoalShortcut button{align-self:flex-start;min-height:44px;margin-top:4px}#resultCoinGoal{margin:18px 0;text-align:left}#resultCoinGoal>strong{font-size:20px}
@media(max-width:600px){.sfCoinGoal{padding:16px;gap:10px;flex-wrap:wrap}.sfGoalCoin{width:40px;height:40px;align-self:flex-start}.sfGoalCopy{flex-basis:calc(100% - 60px)}.sfGoalCopy h2{font-size:21px}.sfGoalCopy p{font-size:14px}.sfGoalActions{width:100%;display:grid;grid-template-columns:1fr 1fr}.sfGoalActions .sfTextButton{grid-column:1/-1}.sfGoalActions .sfButton{min-width:0;font-size:13px;padding:11px 9px}.sfDetailFoot:has(.sfQuiet)>div{flex:1 0 100%}.sfDetailFoot:has(.sfQuiet)>.sfButton{flex:1;min-width:0;font-size:14px;padding:12px}.coinGoalShortcut{padding:15px}.coinGoalShortcut>strong{font-size:18px}}
@media(forced-colors:active){.sfCoinGoal,.coinGoalShortcut{background:Canvas;color:CanvasText;border:1px solid CanvasText}.sfAcquired{color:CanvasText}.sfGoalCopy>small:last-child,.sfGoalHelp{color:CanvasText}}

.sfGoalActions .sfTextButton{min-height:44px}

.jgNameTag{position:relative;background:#fffdf9;border:7px solid #a767de;border-top-width:36px;border-radius:20px;padding:18px 22px;transform:rotate(-6deg);box-shadow:0 9px 0 #d8c2e7,0 18px 28px #4e265727;min-width:200px;max-width:90%;color:#412357}.jgNameTag small{position:absolute;left:14px;top:-29px;font-size:12px;font-weight:900;letter-spacing:.14em;color:white}.jgNameTag strong{font-size:30px;font-family:Kalam,cursive}.jgNameTag>span{position:absolute;right:-22px;bottom:-25px;color:#ffc341;font-size:60px;text-shadow:0 3px 0 #d2942f}.nameChangeButton{font:inherit;font-weight:800;font-size:12px;color:#7430bb;border:1px solid #ccb4e3;border-radius:14px;background:#fffcf5;padding:8px 12px;cursor:pointer}.nameChangeButton[hidden]{display:none}
@media(max-width:700px){.nameChangeButton{flex:none;width:44px;min-width:44px;min-height:44px;margin:-10px 0;padding:0;font-size:0}.nameChangeButton::before{content:"✎";font-size:22px;line-height:1}}

/* Premium is an optional presentation tier; price and ownership stay explicit. */
.sfCard[data-edition=premium]{border:1px solid #c8a45c;box-shadow:0 5px 0 #ddc38a,0 12px 26px #8b62151c}.sfCard[data-edition=premium] .sfVisual{aspect-ratio:4/3;background:linear-gradient(145deg,#fff8e4,#e7d2a3)}.sfEditionBadge{position:absolute;left:12px;bottom:12px;border:1px solid #e4c67c;border-radius:20px;padding:5px 11px;background:linear-gradient(120deg,#fff8d9,#f2d17d);color:#61410c;font-size:12px;font-weight:900;box-shadow:0 2px 8px #66400e24}.sfCard[data-edition=premium] .sfEyebrow{color:#86601b}.sfDialog[data-edition=premium] .sfDetailVisual,#paidCheckout[data-edition=premium] #paidCheckoutArt{border:1px solid #c8a45c;border-radius:18px;background:#fff8e9}#paidCheckout[data-edition=premium] .paidCheckoutEyebrow{color:#735116}@media(forced-colors:active){.sfCard[data-edition=premium],.sfEditionBadge{border:1px solid CanvasText;box-shadow:none;background:Canvas;color:CanvasText}}
