/* The shop keeps the collection rail and gives the preview the main stage. */
#modal .collection-journal.shop-journal{grid-template-columns:140px minmax(0,1fr);gap:12px}
.shop-journal>.journal-detail[hidden]{display:none!important}
.shop-journal .journal-side{padding:12px;gap:10px}
.shop-journal .journal-side .journal-seal{font-size:28px}
.shop-journal .journal-side :is(.journal-sub,progress){display:none}
.shop-journal .journal-side h3{font-size:16px}
.shop-journal .journal-total{font-size:23px;margin:6px 0 12px}
.collection-journal.shop-journal .journal-shop-body{grid-column:2/-1;padding:0;border:0;background:none;box-shadow:none;overflow:hidden}
.collection-store{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;width:100%;height:100%;min-height:0;min-width:0;color:#ecdfbf}
.store-catalog,.store-detail{min-height:0;min-width:0;box-sizing:border-box;border:1px solid #bea16c88;border-radius:7px;background:linear-gradient(145deg,#193b49eb,#0e2532f5);box-shadow:0 7px 18px #0007,inset 0 0 0 3px #0b1b2655}
.store-catalog{display:flex;flex-direction:column;gap:12px;padding:14px 12px}
.store-heading{flex-shrink:0;padding:0 3px}
.collection-store .store-eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#bda874;line-height:1.6}
.journal-shop-body .store-heading h3{font-size:19px;letter-spacing:3px;margin:3px 0 0;color:#f2d99e}
.store-products{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;min-height:0;flex:1}
#modal .collection-store .store-product{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;min-height:0;margin:0;padding:10px!important;overflow:hidden;text-align:center;background:radial-gradient(ellipse at 50% 40%,#6191a62b,transparent 65%),linear-gradient(155deg,#1b3b4ad9,#102734e8),url('assets/ui/armory-display.png') center/cover!important;border-color:#6f879080!important;box-shadow:inset 0 1px 0 #d8e5dd19,0 3px 8px #0005!important;transition:border-color .18s,box-shadow .18s}
#modal .collection-store .store-product.selected{border-color:#f0ce86!important;box-shadow:inset 0 0 22px #d8b3651c,0 0 0 1px #ac8f52,0 5px 14px #0005!important}
#modal .collection-store .store-product.selected::after{content:'';position:absolute;top:0;left:18%;right:18%;height:2px;background:linear-gradient(90deg,transparent,#f4d792,transparent);box-shadow:0 0 12px #f0c770}
.store-product-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:4px;min-height:15px;flex-shrink:0}
.store-product-kind{font-size:10px;color:#b3c5c9;letter-spacing:1px}
.store-owned-mark{font-size:11px;line-height:15px;width:15px;height:15px;background:#91b6a326;color:#bbe0c0;border-radius:50%}
.store-product-mark{display:grid;place-items:center;width:66px;height:66px;min-height:32px;margin:auto 0 3px;border:1px solid #c5a56870;border-radius:50%;background:radial-gradient(#7a8e7f44,#18334266 70%);font:23px Georgia,serif;color:#eed59f;letter-spacing:3px;white-space:nowrap;text-shadow:0 2px 5px #0008;box-shadow:0 0 24px #7bb4bd15,inset 0 0 12px #d6bd5c12;flex-shrink:1}
.store-product--vip .store-product-mark{font-size:23px;letter-spacing:1px;border-radius:9px;transform:rotate(-4deg);background:linear-gradient(145deg,#b48b4933,#314b4455);border-color:#c9ad6c99;color:#f8dda0}
.store-product h4{margin:5px 0 7px;font-size:16px;line-height:1.2;color:#f2deb0;letter-spacing:2px;flex-shrink:0}
.store-product-price{display:flex;align-items:baseline;justify-content:center;gap:6px;flex-wrap:wrap;line-height:1.2;flex-shrink:0}
.store-product-price strong{font:16px Georgia,serif;color:#f1d693}
.store-product-price small{font-size:10px;color:#96b1bc}
.store-product-state{display:block;margin-top:auto;padding-top:7px;font-size:10px;color:#b9c9c3;line-height:1.4;flex-shrink:0}
.store-demo-note{flex-shrink:0;margin:0;text-align:center;color:#8ca6b3;font-size:10px!important;line-height:1.5!important}
.store-detail{padding:14px;overflow:hidden}
.store-detail .appearance-preview{grid-template-rows:auto minmax(100px,1fr) auto auto auto;height:100%;gap:8px}
.journal-shop-body .appearance-heading h3{font-size:23px;letter-spacing:4px;margin:0;color:#f0d69c}
.store-detail .appearance-stage{background:radial-gradient(ellipse at 50% 75%,#85b4c827,transparent 64%),linear-gradient(#112e3b55,#071a2899),url('assets/ui/armory-display.png') center/cover;box-shadow:inset 0 0 45px #020e1988}
.store-detail .appearance-stage small{font-size:10px!important;line-height:1.4;padding:4px 8px;color:#adc2cc}
.store-detail .appearance-skills{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
#modal .collection-store .appearance-skills button{padding:6px 2px!important;font-size:10px;letter-spacing:0;min-height:0}
.store-detail .appearance-skill-copy{margin:0;min-height:30px;font-size:11px!important;line-height:1.45!important;padding:3px 0;color:#afc3cb}
.store-detail .appearance-footer{gap:10px;padding-top:9px}
.store-detail .appearance-perks{min-width:0}
.store-detail .appearance-perks p{font-size:11px!important;line-height:1.6!important;margin:0}
.store-detail .appearance-bonus{font-weight:bold;color:#f0ce80}
.store-detail .appearance-bgm{color:#aec5ce}
#modal .collection-store .appearance-footer button,#modal .collection-store .store-vip-pay{padding:10px 13px!important;background:linear-gradient(#96713c,#674b2b)!important;border-color:#dfba72!important;color:#ffe6ac!important;flex-shrink:0;font-size:12px;line-height:1.35}
#modal .collection-store button:disabled{cursor:default;filter:none;transform:none;opacity:.65}
#modal .collection-store .appearance-footer button:disabled{background:linear-gradient(#284a48,#1b363b)!important;border-color:#739785!important;color:#c9dcc4!important;opacity:.85}
.store-vip{display:grid;grid-template-rows:auto minmax(130px,1fr) auto auto auto;gap:12px;height:100%;min-height:0}
.store-vip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.journal-shop-body .store-vip-heading h3{font-size:25px;letter-spacing:3px;margin:2px 0 0;color:#f1d99b}
.store-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;border:1px solid #8298a044;border-radius:20px;padding:5px 9px;color:#a4bac3;background:#112a3677}
.store-status::before{content:'';width:5px;height:5px;border-radius:50%;background:#758c96}
.store-status.is-active{color:#bddac5;border-color:#7ea89066;background:#315b4533}
.store-status.is-active::before{background:#b1d0a6;box-shadow:0 0 8px #9bc58a66}
.store-vip-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;overflow:hidden;border:1px solid #b99b6277;border-radius:6px;background:radial-gradient(ellipse at 50% 72%,#96b99530,transparent 60%),linear-gradient(#08213370,#091b2a88),url('assets/ui/armory-display.png') center/cover;box-shadow:inset 0 0 50px #020d1999}
.store-vip-monogram{position:absolute;top:6%;left:0;right:0;text-align:center;font:bold clamp(55px,8vw,100px) Georgia,serif;letter-spacing:16px;color:#c7b77c09;text-shadow:0 0 25px #dcca8b0b;pointer-events:none}
.store-vip-pet{display:block;width:min(100%,350px);height:calc(100% - 55px);max-height:270px;min-height:60px;object-fit:contain;image-rendering:pixelated;z-index:1;flex:1}
.store-vip-caption{flex-shrink:0;text-align:center;padding-bottom:14px;z-index:1}
.store-vip-caption small{font-size:9px;letter-spacing:3px;color:#adbdac}
.store-vip-caption h4{font-size:21px;letter-spacing:5px;color:#efd59c;margin:4px 0 0}
.store-vip-benefits{padding:2px 4px}
.store-vip-benefits p{margin:0;font-size:12px!important;line-height:1.55!important}
.store-vip-benefits .store-vip-ability{color:#e3ce93;font-weight:bold}
.store-vip-benefits .store-vip-help{color:#a9c0c8;font-size:11px!important;margin-top:4px}
.store-vip-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #bca16944}
.store-vip-summary strong{font-size:19px;color:#efd49a;letter-spacing:1px}
.store-vip-summary p{font-size:10px!important;line-height:1.5!important;color:#a4b9c3;margin:4px 0 0}
.store-vip-summary .store-vip-paid{color:#bbd7bd}
#modal .collection-store .store-vip-pay:disabled{background:linear-gradient(#315448,#203d3c)!important;border-color:#7ba185!important;color:#cbe0bc!important;opacity:1}
.store-payment-status{margin:0;font-size:11px!important;color:#f1b297;line-height:1.4!important}
.store-payment-status:empty{display:none}
@media(max-width:1000px) and (min-width:721px){
 #modal .collection-journal.shop-journal{grid-template-columns:115px minmax(0,1fr);gap:9px}
 .shop-journal .journal-side{padding:10px}
 #modal .shop-journal .journal-side button{font-size:11px;padding:9px 5px!important}
 .collection-store{grid-template-columns:150px minmax(0,1fr);gap:9px}
 .store-catalog{padding:12px 9px}
 .store-detail{padding:11px}
 .store-product-mark{width:55px;height:55px;font-size:19px}
 .store-detail .appearance-skills{grid-template-columns:repeat(4,minmax(0,1fr))}
 .store-detail .appearance-footer{align-items:stretch;flex-direction:column;gap:6px}
 #modal .collection-store .appearance-footer button{padding:7px 10px!important}
 .journal-shop-body .appearance-heading h3{font-size:19px}
 #modal .collection-store .appearance-controls button{padding:5px 6px!important;font-size:10px}
 .store-vip-footer{align-items:stretch;flex-direction:column;gap:8px}
 .store-vip-summary{display:flex;align-items:center;justify-content:space-between;gap:8px}
 .store-vip-summary p{margin:0}
}
html[lang="en"] .store-product--zhaoyun .store-product-mark{font-size:13px;letter-spacing:.2px}
html[lang="en"] .store-product h4{font-size:14px;letter-spacing:.5px}
html[lang="en"] .journal-shop-body .store-heading h3{font-size:17px;letter-spacing:1px;line-height:1.25}
@media(max-height:760px) and (min-width:721px){
 .shop-journal .journal-side{padding:10px;gap:7px}
 .shop-journal .journal-side .journal-seal{font-size:22px;line-height:1.1}
 .shop-journal .journal-side h3{font-size:13px;line-height:1.25}
 .shop-journal .journal-total{font-size:20px;line-height:1.2;margin:2px 0 5px}
 #modal .shop-journal .journal-side button{min-height:0!important;flex:0 0 auto;font-size:11px;line-height:1.25;letter-spacing:0;padding:8px 4px!important}
 .store-catalog{padding:10px;gap:8px}
 .store-product-mark{width:45px;height:45px;font-size:17px;margin:2px 0}
 html[lang="en"] .store-product--zhaoyun .store-product-mark{font-size:10.5px;letter-spacing:0}
 .store-product--vip .store-product-mark{font-size:18px}
 .store-product h4{font-size:14px;margin:3px 0 4px}
 html[lang="en"] .store-product h4{font-size:13px}
 #modal .collection-store .store-product{padding:8px!important}
 .store-product-price strong{font-size:14px}
 .store-product-state{padding-top:5px}
 .store-detail{padding:10px}
 .store-detail .appearance-preview{gap:6px}
 .store-vip{gap:8px}
 .store-vip-caption{padding-bottom:9px}
 .store-vip-caption h4{font-size:18px}
}
@media(max-width:720px){
 #modal .collection-journal.shop-journal{grid-template-columns:1fr;overflow:auto}
 .collection-journal.shop-journal .journal-shop-body{grid-column:1;overflow:visible}
 .shop-journal .journal-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .shop-journal .journal-side h3{display:none}
 #modal .shop-journal .journal-side button{font-size:10px;padding:8px 3px!important}
 .collection-store{grid-template-columns:1fr;height:auto}
 .store-catalog{padding:10px;gap:9px}
 .store-heading{display:flex;align-items:center;justify-content:space-between}
 .journal-shop-body .store-heading h3{font-size:16px;margin:0}
 .store-products{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
 #modal .collection-store .store-product{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;min-height:112px;text-align:left;align-items:center}
 .store-product-top{grid-column:1/-1}
 .store-product-mark{grid-column:1;grid-row:2/4;width:42px;height:42px;font-size:15px;margin:0}
 .store-product--vip .store-product-mark{font-size:16px}
 .store-product h4{grid-column:2;margin:3px 0;font-size:14px}
 .store-product-price{grid-column:2;justify-content:flex-start;gap:4px}
 .store-product-price strong{font-size:13px}
 .store-product-price small{font-size:9px}
 .store-product-state{grid-column:1/-1;margin:0;padding-top:6px;font-size:9px}
 .store-demo-note{display:none}
 .store-detail{height:560px;padding:12px}
 .store-detail .appearance-preview{min-height:0}
 .store-detail .appearance-skills{grid-template-columns:repeat(4,minmax(0,1fr))}
 .store-detail .appearance-footer{flex-direction:column;align-items:stretch;gap:8px}
 .journal-shop-body .appearance-heading h3{font-size:21px}
 #modal .collection-store .appearance-controls button{padding:5px 7px!important;font-size:10px}
 .store-vip-footer{align-items:stretch;flex-direction:column;gap:9px}
 .store-vip-summary{display:flex;align-items:center;justify-content:space-between;gap:8px}
 .store-vip-summary p{margin:0}
}

/* Finished Zhao Yun bundle art replaces the text seal in the product card. */
.store-product--zhaoyun .store-product-mark{border:0;border-radius:0;background:none;box-shadow:none;width:70px;height:70px;min-height:0}
.store-product-portrait{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 2px #061b2a99)}
.store-product-includes{display:block;white-space:pre-line;font-size:9px;line-height:1.5;color:#b7d3cc;margin:5px 0 0;flex-shrink:0}
@media(max-height:760px) and (min-width:721px){.store-product--zhaoyun .store-product-mark{width:51px;height:51px}.store-product-includes{font-size:8px;margin-top:3px}}
@media(max-width:720px){.store-product--zhaoyun .store-product-mark{width:48px;height:48px}.store-product-includes{grid-column:1/-1;margin:4px 0 0}}

/* Jack is a preview-only exhibition; its gallery never renders checkout. */
.collection-store:has(:is(.store-product--zakk,.store-product--JACK)) .store-products{grid-template-rows:none;grid-auto-rows:minmax(190px,auto);align-content:start;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 6px;scrollbar-width:thin}
:is(.store-product--zakk,.store-product--JACK) h4{font-size:14px;letter-spacing:0;line-height:1.4}:is(.store-product--zakk,.store-product--JACK) .store-product-price strong{color:#d5b7f1}:is(.store-product--zakk,.store-product--JACK) .store-product-state{color:#d5c8e4}
.jack-store-preview{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px}.store-detail .jack-store-preview>.appearance-preview{flex:1;min-height:0;height:auto}.jack-store-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:6px 0 0}.jack-store-actions small{color:#cabfcd;font-size:12px}.jack-demo-launch{color:#fff0ca!important;background:linear-gradient(#533461,#282139)!important;border:1px solid #c7a267!important;padding:10px 18px!important;font-size:14px!important}
.jack-demo-dialog{width:calc(100vw - 24px);max-width:1480px;height:calc(100dvh - 24px);max-height:960px;padding:8px;box-sizing:border-box;border:2px solid #b79860;border-radius:6px;background:#151329;color:#f2dcae;box-shadow:0 0 0 3px #31233d,0 18px 80px #000b;overflow:hidden}.jack-demo-dialog[open]{display:flex;flex-direction:column;gap:7px}.jack-demo-dialog::backdrop{background:#050b13cf}.jack-demo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 6px;flex:none}.jack-demo-heading strong{font-size:16px}.jack-demo-heading button{padding:7px 16px;border:1px solid #b89965;background:linear-gradient(#513b58,#262039);color:#f9e6bc;cursor:pointer;font:inherit}.jack-demo-dialog iframe{display:block;flex:1;min-height:0;width:100%;border:0;background:#121328}
.collection-store:has(:is(.store-product--zakk,.store-product--JACK)) .store-products{grid-auto-rows:minmax(210px,auto)}
.collection-store:has(:is(.store-product--zakk,.store-product--JACK)) .store-product-mark{flex:none;width:48px;height:48px;min-height:48px;margin:4px 0}
.collection-store:has(:is(.store-product--zakk,.store-product--JACK)) .store-product-portrait{width:100%;height:100%;object-fit:contain}
