/* Approved shop frames; modal content retains the shared ScrollCues owner. */
#modal[data-shop-theme]{--shop-paper:#f5ecd1;--shop-light:#fff7e1;--shop-ink:#304538;--shop-line:#c3ac7b;--shop-gold:#e4bc63;--shop-darkgold:#987238;--shop-frame:#446043;--shop-edge:#283e2e;--shop-trim:#b49a5c;width:min(740px,calc((100vw - 32px)/var(--ui-scale)));height:min(590px,calc((100dvh - 32px - var(--safe-top) - var(--safe-bottom))/var(--ui-scale)));max-height:none;padding:12px;border:4px solid var(--shop-edge);border-radius:3px;box-sizing:border-box;overflow:visible;background:var(--shop-frame);color:var(--shop-ink);box-shadow:inset 0 0 0 1px var(--shop-trim),inset 0 0 0 5px var(--shop-edge),0 5px 0 var(--shop-edge),0 12px 25px #15251d35;isolation:isolate}
#modal[data-shop-theme][open]{display:flex;flex-direction:column}
#modal[data-shop-theme]{container-type:inline-size}
#modal[data-shop-theme] *{box-sizing:border-box}
#modal[data-shop-theme]>header{position:static;flex:none;min-height:74px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px;padding:10px 38px 10px 16px;background:var(--shop-paper);border:1px solid var(--shop-line);box-shadow:inset 0 0 0 2px #fff7e1;z-index:1}
#modal[data-shop-theme] #modal-title{font:400 30px/1.1 var(--font-title);color:var(--shop-ink);margin:0}
#modal[data-shop-theme] #modal-kicker{font-size:11px;color:#8a693b;letter-spacing:1px;margin-bottom:5px}
#modal[data-shop-theme] #close-modal{position:absolute;z-index:9;right:-4px;top:-4px;width:38px;height:38px;min-height:38px;padding:0;border:2px solid var(--shop-edge);border-radius:0;background:var(--shop-frame);color:var(--shop-light);box-shadow:inset 0 0 0 1px var(--shop-trim);font:400 25px/1 var(--font-title);display:grid;place-items:center}
#modal[data-shop-theme] #close-modal:hover{background:var(--shop-edge)}
#modal[data-shop-theme] #modal-body{flex:1;min-height:0;margin-top:10px;padding:16px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--shop-line);border-radius:4px;background:var(--shop-paper);box-shadow:inset 0 0 0 2px #fff7e1;color:var(--shop-ink);font:400 18px/1.35 var(--font-body)}
#modal[data-shop-theme] h3{font:400 23px/1.2 var(--font-title);color:var(--shop-ink);margin:0 0 7px}
#modal[data-shop-theme] p{margin:0 0 12px}
#modal[data-shop-theme] .shop-intro{margin-bottom:14px;color:#586451}
#modal[data-shop-theme] .shop-seal{width:48px;height:48px;display:grid;place-items:center;border:1px solid #bf9b59;background:#e8dab3;box-shadow:inset 0 0 0 2px #f8eccb}
#modal[data-shop-theme] .shop-seal img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
#modal[data-shop-theme] button{font:400 13px/1.35 var(--font-ui);color:var(--shop-ink);border:1px solid var(--shop-darkgold);border-radius:3px;min-height:44px;padding:8px 11px;background:linear-gradient(#efd48b,#e4bc63);box-shadow:inset 0 0 0 1px #fff7e18c,0 2px 0 #776039;text-align:center}
#modal[data-shop-theme] button:hover{background:linear-gradient(#f3dda1,#ecc975)}
#modal[data-shop-theme] button:disabled{opacity:1;background:#e1d6bc;color:#6d6553;border-color:#b8a37c;box-shadow:none}
#modal[data-shop-theme] .item-list{gap:10px}
#modal[data-shop-theme] .shop-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--shop-line);background:#efe3be;border-radius:3px;box-shadow:inset 0 0 0 1px #fff5d580}
#modal[data-shop-theme] .shop-item>img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}
#modal[data-shop-theme] .item-text{min-width:0}
#modal[data-shop-theme] .item-text strong{font:400 14px/1.3 var(--font-ui)}
#modal[data-shop-theme] .item-text small{font:400 16px/1.35 var(--font-body);color:#697059;margin:5px 0 2px}
#modal[data-shop-theme] .shop-unit{font-size:16px;color:#80643a;white-space:nowrap}
#modal[data-shop-theme] .commerce-purchase{min-width:0;width:270px;grid-template-columns:104px 48px minmax(92px,1fr);align-items:center;gap:7px}
#modal[data-shop-theme] .shop-quantity{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;min-width:0}
#modal[data-shop-theme] .commerce-purchase .shop-quantity label{font-size:0;gap:0}
#modal[data-shop-theme] .shop-quantity button{padding:0!important;border-radius:0;font:400 18px/1.2 var(--font-body);background:#e5d5a8;box-shadow:none}
#modal[data-shop-theme] .commerce-purchase label{font:400 11px/1.15 var(--font-body);letter-spacing:0;color:#68745b;min-width:0}
#modal[data-shop-theme] .commerce-purchase input{width:100%;min-height:44px;text-align:center;border-radius:2px;font:400 16px/1.2 var(--font-body);padding:4px;color:var(--shop-ink);background:#fff7e1}
#modal[data-shop-theme] .commerce-purchase button{min-height:44px!important;padding:8px 10px!important;font-size:13px}
#modal[data-shop-theme] .commerce-total{font:400 16px/1.3 var(--font-body);color:#80643a;text-align:center}
#modal[data-shop-theme] .commerce-reason{font:400 14px/1.3 var(--font-body);color:#785735;overflow-wrap:anywhere}
#modal[data-shop-theme] .commerce-action{max-width:none;width:100%;flex:none;margin-top:auto}
#modal[data-shop-theme] .commerce-action button{width:100%}
#modal[data-shop-theme] .shop-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#modal[data-shop-theme] .shop-service{display:flex;flex-direction:column;gap:14px;min-width:0;padding:16px;border:1px solid var(--shop-line);background:#efe3be;border-radius:3px;box-shadow:inset 0 0 0 1px #fff5d580}
#modal[data-shop-theme] .shop-service p{margin:0}
#modal[data-shop-theme] .shop-service-heading{display:flex;align-items:center;gap:12px;min-height:52px}
#modal[data-shop-theme] .shop-service-heading>img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated;padding:4px;background:#e5dabb;border:1px solid #c4ac7a;border-radius:2px}
#modal[data-shop-theme] .shop-service-heading h3{margin:0}
#modal[data-shop-theme] .shop-cost{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:16px;color:#80643a}
#modal[data-shop-theme] .shop-cost span{display:inline-flex;align-items:center;gap:5px}
#modal[data-shop-theme] .shop-cost img{width:23px;height:23px;image-rendering:pixelated;object-fit:contain}
#modal[data-shop-theme] .shop-small{font-size:15px;color:#697059}
#modal[data-shop-theme] .shop-level{font-size:16px;color:#697059;display:block;margin-top:8px}
#modal[data-shop-theme] .shop-level b{font-weight:400;padding:2px 5px;background:#d9dfba}
#modal[data-shop-theme] .shop-footer{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;min-height:22px;padding:2px 4px 0;color:var(--shop-light);font:400 14px/1.25 var(--font-body)}
#modal[data-shop-theme] .shop-money{display:flex;align-items:center;gap:6px;white-space:nowrap;font:400 13px/1.3 var(--font-ui);color:#fff1c5}
#modal[data-shop-theme] .shop-coin{width:18px;height:18px;flex:none;background:url('../assets/icons/hud-icons.svg') 100% 0 / 800% 100% no-repeat;image-rendering:pixelated}
#modal[data-shop-theme] .shop-hours{white-space:nowrap;text-align:center;font-size:13px}
#modal[data-shop-theme] .shop-hours-compact{display:none}
#modal[data-shop-theme] .shop-footer-note{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
#modal[data-shop-theme] .shop-ornament{position:absolute;z-index:6;pointer-events:none;width:12px;height:12px;left:1px;top:1px}
#modal[data-shop-theme] .shop-ornament.bl{top:auto;bottom:1px}
#modal[data-shop-theme] .shop-ornament.br{left:auto;right:1px;top:auto;bottom:1px}
#modal[data-shop-theme] .shop-cafe-menu{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:22px;align-items:start}
#modal[data-shop-theme] .shop-cafe-plate{display:flex;align-items:center;justify-content:center;min-height:145px;background:radial-gradient(ellipse,#f9efd6 0 55%,#c6ac79 56% 58%,transparent 59%);margin:12px 0}
#modal[data-shop-theme] .shop-cafe-plate img{width:112px;height:112px;object-fit:contain;image-rendering:pixelated}
#modal[data-shop-theme] .shop-cafe-note{padding:18px 16px;border:1px solid #b48b5c;border-radius:5px;background:#ead8b4;box-shadow:inset 0 0 0 2px #f8ebcc}
#modal[data-shop-theme] .shop-kicker{font:400 11px/1.35 var(--font-ui);letter-spacing:1px;color:#8a693b}
#modal[data-shop-theme] .shop-vitals{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
#modal[data-shop-theme] .shop-vitals span{display:flex;align-items:center;gap:6px}
#modal[data-shop-theme] .shop-vitals span::before{content:'';width:18px;height:18px;background-image:url('../assets/icons/hud-icons.svg');background-size:800% 100%;image-rendering:pixelated}
#modal[data-shop-theme] .shop-vital-hp::before{background-position:71.428571% 0}
#modal[data-shop-theme] .shop-vital-energy::before{background-position:85.714286% 0}
#modal[data-shop-theme] .shop-cafe-menu .commerce-purchase{width:100%;max-width:410px;margin-top:16px}
#modal[data-shop-theme] .shop-fishing-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px;align-items:start}
#modal[data-shop-theme] .shop-fishing-grid .shop-item{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:12px}
#modal[data-shop-theme] .shop-fishing-grid .shop-item>img{width:34px;height:34px}
#modal[data-shop-theme] .shop-fishing-grid .commerce-purchase{grid-column:1/-1;width:100%;grid-template-columns:100px minmax(40px,1fr) minmax(86px,1fr)}
#modal[data-shop-theme] .shop-fish-shelf{border:1px solid #9aafa0;background:#dde4ce;border-radius:4px;padding:14px}
#modal[data-shop-theme] .shop-fish-shelf p{font-size:16px;color:#51685d}
#modal[data-shop-theme] .shop-fish-shelf .shop-item{background:#e8e8cf}
#modal[data-shop-theme] .shop-fish-shelf .commerce-purchase{grid-template-columns:100px minmax(0,1fr)}
#modal[data-shop-theme] .shop-fish-shelf [data-purchase-buy]{grid-column:1/-1}
#modal[data-shop-theme] .shop-fishing-tabs{display:none}
#modal[data-shop-theme] .shop-mira-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
#modal[data-shop-theme] .shop-mira-subhead h3{margin:0}
#modal[data-shop-theme] .tailor-shell{gap:14px}
#modal[data-shop-theme] .tailor-adjustments{padding:16px;border:1px solid #b9a994;border-radius:4px;background:#eee4cd}
#modal[data-shop-theme] .tailor-fitting{grid-template-columns:120px minmax(0,1fr);align-items:start}
#modal[data-shop-theme] .directional-preview{width:100%;height:auto;min-width:0;padding:8px;background:linear-gradient(#f3e4c6,#dedbbd);border:1px solid #b8a37b;border-radius:4px}
#modal[data-shop-theme] #tailor-preview{display:block;width:100%;height:154px;object-fit:contain;image-rendering:pixelated}
#modal[data-shop-theme] .directional-preview>.tailor-directions{position:static;inset:auto;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:3px;margin-top:6px}
#modal[data-shop-theme] .tailor-directions button{grid-area:auto;width:100%;height:44px;min-width:0;min-height:44px;padding:3px;font-size:15px;background:#e5d5a8;border:1px solid var(--shop-darkgold);box-shadow:none}
#modal[data-shop-theme] .tailor-directions button::before{content:none}
#modal[data-shop-theme] .tailor-controls{gap:12px}
#modal[data-shop-theme] .tailor-options,#modal[data-shop-theme] .tailor-colors{gap:9px}
#modal[data-shop-theme] .tailor-fitting label{font:400 15px/1.3 var(--font-body);color:var(--shop-ink);min-width:0}
#modal[data-shop-theme] .tailor-fitting select{font:400 16px/1.3 var(--font-body);padding:7px;width:100%;min-width:0;background:#fff7e5}
#modal[data-shop-theme] .tailor-actions{align-items:start;margin-top:12px}
#modal[data-shop-theme] #tailor-price{font:400 15px/1.3 var(--font-body);margin:0}
#modal[data-shop-theme] .tailor-textiles .item-row{padding:12px;border-color:var(--shop-line);background:#efe3be;min-height:72px}
#modal[data-shop-theme] .tailor-textiles .item-text strong{font-size:13px}
#modal[data-shop-theme] .tailor-textiles .item-row small{font-size:15px}
#modal[data-shop-theme] .backpack-service{padding:16px;border:1px solid #b9a994;border-radius:4px;background:#eee4cd}
#modal[data-shop-theme] .backpack-service-icon{display:block;width:100px;height:100px;object-fit:contain;image-rendering:pixelated;margin:8px auto 18px}
#modal[data-shop-theme] .backpack-service button{margin-right:8px;margin-top:8px}
#modal[data-shop-theme] .forest-bridge-card{padding:16px;margin-bottom:14px;border:1px solid var(--shop-line);background:#efe3be;border-radius:3px}

@media(max-width:700px){
 #modal[data-shop-theme]{width:calc((100vw - 20px)/var(--ui-scale));padding:10px}
 #modal[data-shop-theme]>header{padding:10px 38px 10px 12px;gap:10px;grid-template-columns:39px minmax(0,1fr);min-height:72px}
 #modal[data-shop-theme] #modal-title{font-size:25px}
 #modal[data-shop-theme] #modal-kicker{font-size:10px;letter-spacing:.6px}
 #modal[data-shop-theme] .shop-seal{width:39px;height:39px}
 #modal[data-shop-theme] .shop-seal img{width:29px;height:29px}
 #modal[data-shop-theme] #modal-body{padding:12px}
 #modal[data-shop-theme] .shop-service-grid,#modal[data-shop-theme] .shop-fishing-grid,#modal[data-shop-theme] .shop-cafe-menu{grid-template-columns:minmax(0,1fr)}
 #modal[data-shop-theme] .shop-item{grid-template-columns:37px minmax(0,1fr);padding:11px;gap:10px}
 #modal[data-shop-theme] .shop-item>img{width:37px;height:37px}
 #modal[data-shop-theme] .shop-item .commerce-purchase,#modal[data-shop-theme] .tailor-textiles .commerce-purchase{grid-column:1/-1;width:100%;grid-template-columns:104px 38px minmax(84px,1fr);margin-top:4px}
 #modal[data-shop-theme] .shop-footer{gap:6px}
 #modal[data-shop-theme] .shop-money{font-size:12px;gap:4px}
 #modal[data-shop-theme] .shop-hours-full{display:none}
 #modal[data-shop-theme] .shop-hours-compact{display:inline;font-size:12px}
 #modal[data-shop-theme] .shop-footer-note{font-size:13px}
 #modal[data-shop-theme] .tailor-textiles .item-row{flex-wrap:wrap}
 #modal[data-shop-theme] .tailor-fitting{grid-template-columns:110px minmax(0,1fr);gap:10px}
 #modal[data-shop-theme] #tailor-preview{height:124px}
 #modal[data-shop-theme] .tailor-directions{grid-template-columns:repeat(2,minmax(0,1fr))}
 #modal[data-shop-theme] .tailor-options,#modal[data-shop-theme] .tailor-colors{grid-template-columns:1fr;gap:7px}
 #modal[data-shop-theme] .tailor-fitting label{justify-content:space-between;flex-wrap:wrap}
 #modal[data-shop-theme] .tailor-actions{flex-direction:column;gap:10px}
 #modal[data-shop-theme] .tailor-actions .row{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
 #modal[data-shop-theme] .tailor-actions button{min-width:0;white-space:normal}
}
@media(max-width:700px) and (orientation:portrait){
 #modal[data-shop-theme]{height:min(680px,calc((100dvh - 24px - var(--safe-top) - var(--safe-bottom))/var(--ui-scale)))}
 #modal[data-shop-theme] .shop-footer{grid-template-columns:auto minmax(0,1fr)}
 #modal[data-shop-theme] .shop-hours{display:none}
 #modal[data-shop-theme="elias"] .shop-fishing-intro,#modal[data-shop-theme="elias"] [data-fishing-panel]>h3{display:none}
 #modal[data-shop-theme="elias"] .shop-fishing-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:12px}
 #modal[data-shop-theme="elias"] .shop-fishing-tabs button{min-width:0;background:#dde4ce;border-color:#8a9e8e}
 #modal[data-shop-theme="elias"] .shop-fishing-tabs button:hover{background:#c9d7c0}
 #modal[data-shop-theme="elias"] .shop-fishing-tabs button[aria-selected="true"]{background:linear-gradient(#efd48b,#e4bc63);border-color:var(--shop-darkgold)}
}
@media(max-width:360px) and (orientation:portrait){
 #modal[data-shop-theme] .commerce-purchase,#modal[data-shop-theme] .shop-item .commerce-purchase,#modal[data-shop-theme] .tailor-textiles .commerce-purchase{grid-template-columns:104px minmax(0,1fr)}
 #modal[data-shop-theme] [data-purchase-buy]{grid-column:1/-1}
}
@container (max-width:320px){
 #modal[data-shop-theme] .commerce-purchase,#modal[data-shop-theme] .shop-item .commerce-purchase,#modal[data-shop-theme] .tailor-textiles .commerce-purchase{grid-template-columns:104px minmax(0,1fr)}
 #modal[data-shop-theme] [data-purchase-buy]{grid-column:1/-1}
}
#modal[data-shop-theme] .shop-fish-shelf .shop-item .commerce-purchase{grid-template-columns:100px minmax(0,1fr)}
@media(max-width:1100px) and (max-height:560px) and (orientation:landscape){
 #modal[data-shop-theme]{width:min(900px,calc((100vw - 20px)/var(--ui-scale)));height:calc((100dvh - 20px - var(--safe-top) - var(--safe-bottom))/var(--ui-scale));padding:9px}
 #modal[data-shop-theme]>header{min-height:58px;padding:6px 40px 6px 12px;grid-template-columns:38px minmax(0,1fr)}
 #modal[data-shop-theme] #modal-title{font-size:25px}
 #modal[data-shop-theme] .shop-seal{width:38px;height:38px}
 #modal[data-shop-theme] .shop-seal img{width:26px;height:26px}
 #modal[data-shop-theme] #modal-body{padding:12px;margin-top:8px}
 #modal[data-shop-theme] .shop-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #modal[data-shop-theme] .shop-fishing-grid{grid-template-columns:minmax(0,1fr) 230px}
 #modal[data-shop-theme] .shop-cafe-menu{grid-template-columns:minmax(0,1fr) 210px;gap:16px}
 #modal[data-shop-theme] .shop-cafe-plate{min-height:95px;margin:5px 0}
 #modal[data-shop-theme] .shop-cafe-plate img{width:80px;height:80px}
 #modal[data-shop-theme] .shop-hours-full{display:none}
 #modal[data-shop-theme] .shop-hours-compact{display:inline;font-size:12px}
 #modal[data-shop-theme] .tailor-fitting{grid-template-columns:110px minmax(0,1fr)}
 #modal[data-shop-theme] .tailor-options,#modal[data-shop-theme] .tailor-colors{grid-template-columns:repeat(2,minmax(0,1fr))}
 #modal[data-shop-theme] #tailor-preview{height:124px}
}
@media(max-width:600px) and (orientation:landscape){
 #modal[data-shop-theme] .shop-fishing-grid,#modal[data-shop-theme] .shop-cafe-menu{grid-template-columns:minmax(0,1fr)}
 #modal[data-shop-theme] .shop-hours-compact{font-size:11px}
 #modal[data-shop-theme] .shop-footer-note{font-size:11px}
}

/* Six approved material palettes and corner treatments. */
#modal[data-shop-theme="rosa"]{background:repeating-linear-gradient(0deg,transparent 0 14px,#20342628 14px 16px),linear-gradient(100deg,#415a3a,#58714c,#415a3a)}
#modal[data-shop-theme="rosa"] .shop-ornament{border:1px solid #d6b66d;border-radius:0 8px;background:#8b9c62;rotate:12deg;box-shadow:2px 2px 0 #233829}
#modal[data-shop-theme="cafe"]{--shop-frame:#a36a46;--shop-edge:#614435;--shop-trim:#d5b27b;border-radius:7px;background:repeating-linear-gradient(90deg,transparent 0 22px,#6d473834 22px 24px),linear-gradient(#b17a51,#916042)}
#modal[data-shop-theme="cafe"] .shop-ornament{width:11px;height:11px;background:#e0b985;border:2px solid #6e4b37;box-shadow:inset 0 0 0 1px #f3d7ac;rotate:45deg;left:2px;top:2px}
#modal[data-shop-theme="cafe"] .shop-ornament.bl{top:auto;bottom:2px}#modal[data-shop-theme="cafe"] .shop-ornament.br{left:auto;right:2px;top:auto;bottom:2px}
#modal[data-shop-theme="cafe"] #modal-body{background:repeating-linear-gradient(0deg,transparent 0 36px,#b28b5833 36px 37px),#f1e3c3}
#modal[data-shop-theme="caio"]{--shop-frame:#886139;--shop-edge:#493522;--shop-trim:#c3a16a;background:repeating-linear-gradient(0deg,#5b3d232a 0 2px,transparent 2px 11px),repeating-linear-gradient(100deg,#b28a5215 0 4px,transparent 4px 44px),linear-gradient(110deg,#765331,#a27a48,#795633);border-radius:2px}
#modal[data-shop-theme="caio"] .shop-ornament{width:13px;height:17px;background:#b58b52;border:2px solid #493522;box-shadow:inset 0 0 0 1px #d7b77b}
#modal[data-shop-theme="smith"]{--shop-frame:#67706b;--shop-edge:#333a37;--shop-trim:#bf9466;background:repeating-linear-gradient(100deg,transparent 0 3px,#e1e3cc12 3px 4px),linear-gradient(120deg,#6d756d,#4c5753,#7d8375);clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)}
#modal[data-shop-theme="smith"] .shop-ornament{background:#c29a6a;border:2px solid #353a33;border-radius:50%;width:9px;height:9px;left:3px;top:3px;box-shadow:inset 1px 1px 0 #e0bd85}
#modal[data-shop-theme="smith"] .shop-ornament.bl{top:auto;bottom:3px}#modal[data-shop-theme="smith"] .shop-ornament.br{left:auto;right:3px;top:auto;bottom:3px}
#modal[data-shop-theme="smith"] .shop-service-heading>img{padding:5px;border:1px solid #b4a789;border-radius:3px;background:#ded7bf;box-shadow:inset 1px 1px 0 #fff1d4}
#modal[data-shop-theme="mira"]{--shop-frame:#806678;--shop-edge:#473949;--shop-trim:#d8bf96;background:repeating-linear-gradient(0deg,transparent 0 2px,#d4c4a816 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,#d4c4a810 2px 3px),#7e6576;border-radius:5px}
#modal[data-shop-theme="mira"]::before{content:'';position:absolute;inset:4px;border:1px dashed #dbc9a3;pointer-events:none;border-radius:3px}
#modal[data-shop-theme="mira"] .shop-ornament{width:11px;height:11px;background:#c3aa83;border-radius:50%;border:2px solid #493c48;box-shadow:inset 0 0 0 1px #e9d6b2;left:2px;top:2px}
#modal[data-shop-theme="mira"] .shop-ornament.bl{top:auto;bottom:2px}#modal[data-shop-theme="mira"] .shop-ornament.br{left:auto;right:2px;top:auto;bottom:2px}
#modal[data-shop-theme="elias"]{--shop-frame:#547375;--shop-edge:#2b474b;--shop-trim:#ccbd92;background:linear-gradient(100deg,#4b696e,#728c86,#4d6b6c);border-radius:3px;box-shadow:inset 0 0 0 2px #d5c292,inset 0 0 0 5px #89795b,0 5px 0 #2b474b,0 12px 25px #15251d35}
#modal[data-shop-theme="elias"]::before{content:'';position:absolute;inset:2px;border:2px dashed #e4d2a3;pointer-events:none}
#modal[data-shop-theme="elias"] .shop-ornament{width:14px;height:14px;border:3px double #e1cca0;border-radius:50%;background:#5d7672;box-shadow:0 0 0 1px #3b5554;left:1px;top:1px}
#modal[data-shop-theme="elias"] .shop-ornament.bl{top:auto;bottom:1px}#modal[data-shop-theme="elias"] .shop-ornament.br{left:auto;right:1px;top:auto;bottom:1px}
