/* Reference shop: warm merchant scene, gold frame, live violet commerce panels. */
#shop-dialog{--shop-ink:#fff3db;--shop-muted:#d0bfd9;--shop-gold:#e7bf77;--shop-panel:#14101eed;box-sizing:border-box;width:min(1480px,calc(100vw - 48px));height:min(850px,calc(100dvh - 40px));max-width:none;max-height:none;margin:auto;padding:70px 20px 28px;border:0;border-radius:0;color:var(--shop-ink);background:#24170f url('../assets/ui/shop-reference-v1/scene.webp') center/cover no-repeat;box-shadow:0 24px 70px #0009;font:14px/1.5 'Noto Sans Thai','Leelawadee UI',Tahoma,sans-serif;isolation:isolate;overflow:hidden}
#shop-dialog[open]{display:block}
#shop-dialog::backdrop{background:#100b12bd}
#shop-dialog *,#shop-dialog *::before,#shop-dialog *::after{box-sizing:border-box}
#shop-dialog [hidden]{display:none!important}
#shop-dialog :is(button,input,select){font:inherit;color:inherit}
#shop-dialog button{cursor:pointer}
#shop-dialog button:disabled{cursor:default;opacity:.5}
#shop-dialog :focus-visible{outline:2px solid #ffe3a2;outline-offset:3px}
#shop-dialog ::selection{background:#813799;color:#fff}
#shop-dialog :is(input,select){caret-color:#f6d286}
#shop-dialog *{scrollbar-width:thin;scrollbar-color:#ae8148 #16101f}
.shop-sprite{position:absolute;width:0;height:0;overflow:hidden}
.shop-sr,.shop-category{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.shop-frame{position:relative;height:100%;border:2px solid #e1ad61;border-radius:10px;box-shadow:inset 0 0 0 3px #3a2531,0 8px 25px #1109109c}
.shop-frame::before{content:'';position:absolute;inset:5px;border:1px solid #ad7847;border-radius:6px;pointer-events:none;z-index:3}
.shop-frame-gem{position:absolute;left:50%;top:-10px;width:19px;height:19px;border:2px solid #fce0a5;background:#bf384e;transform:rotate(45deg);box-shadow:inset 0 0 0 3px #612541;z-index:5}
.shop-header{position:absolute;left:0;right:0;top:-68px;height:65px;display:flex;align-items:center;justify-content:flex-end;gap:10px}
.shop-sign{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);min-width:190px;text-align:center;text-shadow:0 3px 6px #180c08}
.shop-sign small{display:block;font:11px/1.5 Georgia,serif;letter-spacing:.25em;color:#ffe0a7}
.shop-sign h2{margin:0;font-size:34px;font-weight:650;line-height:1.25;color:#ffe2a4}
.shop-sign::before,.shop-sign::after{content:'';position:absolute;bottom:7px;width:60px;height:12px;border-bottom:1px solid #e8bf79}
.shop-sign::before{right:100%;transform:skewY(12deg)}.shop-sign::after{left:100%;transform:skewY(-12deg)}
.shop-wallet{display:flex;align-items:center;gap:8px;max-width:40%;font-variant-numeric:tabular-nums}
.shop-chip{display:flex;align-items:center;gap:9px;min-height:36px;padding:4px 18px 4px 9px;border:1px solid #e7bd7c;border-radius:5px;background:#17121eec;box-shadow:inset 0 0 0 2px #4d3440}
.shop-chip svg{width:25px;height:25px;flex:none}.shop-chip b{font-size:20px;font-weight:500}
#shop-close{display:grid;place-items:center;width:44px;height:44px;border:2px solid #efcb8b;border-radius:4px;background:#201729;font:35px/1 Tahoma,sans-serif!important;color:#ffe4ab;box-shadow:inset 0 0 0 3px #443043}
#shop-close:hover{background:#453044}
.shop-body{display:grid;grid-template-columns:24% 46% 30%;height:100%;padding:6px;min-height:0}
.shop-host{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;padding:14px 20px 22px;overflow:hidden;border-right:1px solid #b38a54;border-radius:5px 0 0 5px}
.shop-keeper{position:absolute;inset:0 0 160px;display:grid;place-items:center;overflow:hidden}
.shop-keeper img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 16px #07051180)}
.shop-keeper>svg{width:70%;height:70%}
#shop-dialog[data-shop-npc="merchant"] .shop-keeper{visibility:hidden}
#shop-dialog:not([data-shop-npc="merchant"]) .shop-host{background:linear-gradient(180deg,#231522b0,#17111fd9)}
.shop-plate,.shop-speech{position:relative;background:#160f1be8;text-align:center;border:1px solid #cc9d63}
.shop-plate{padding:9px 10px 7px;border-radius:7px 7px 0 0;border-bottom:0}
.shop-plate strong{display:block;font-size:21px;font-weight:600;color:#ffe1a2;line-height:1.4;overflow-wrap:anywhere}
.shop-plate small{color:#d7bfca;font-size:12px}
.shop-speech{min-height:60px;margin:0;padding:10px 12px;border-radius:0 0 7px 7px;font-size:13px;line-height:1.65}
.shop-tabs{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px;position:relative}
.shop-tabs.single{display:none}
.shop-tabs button{flex:1;min-width:90px;border:1px solid #af8b60;border-radius:4px;background:#18101fec;padding:6px 8px;font-size:12px}
.shop-tabs button[aria-pressed=true]{border-color:#f3d18b;background:#594035;color:#fff1cd}
.shop-stock{display:flex;flex-direction:column;min-height:0;min-width:0;padding:16px 14px 10px;background:var(--shop-panel);border-right:1px solid #b38a54;gap:10px}
.shop-toolbar{display:flex;align-items:center;gap:10px}
.shop-side{display:flex;flex:1;gap:5px;min-width:0}
.shop-side button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:42px;padding:5px 9px;border:1px solid #755b84;border-radius:5px 5px 0 0;background:#2a1d35;color:#ceb6d5;font-size:16px;white-space:nowrap}
.shop-side svg{width:24px;height:24px;flex:none}.shop-side b:empty{display:none}.shop-side b{font-size:11px;padding:0 4px;background:#170d21;border-radius:3px}
.shop-side button[aria-pressed=true]{background:linear-gradient(#775438,#4c2e24);color:#ffedb5;border-color:#f9d48c;box-shadow:inset 0 0 0 2px #a9834a}
#shop-dialog[data-side=sell] .shop-side button[aria-pressed=true],#shop-dialog[data-side=refine] .shop-side button[aria-pressed=true]{background:#57306b;border-color:#d89ae9;color:#ffedff;box-shadow:inset 0 0 0 2px #854ca0}
.shop-search{display:flex;align-items:center;flex:0 1 33%;min-width:95px;height:36px;padding:0 9px;border:1px solid #77657f;border-radius:5px;background:#1b1325}
.shop-search svg{width:18px;height:18px;flex:none;color:#d2bed8}
#shop-search{width:100%;min-width:0;border:0;outline:none;background:transparent;padding:6px 7px;font-size:12px}
#shop-search::placeholder{color:#c6b2d0}
.shop-filter{border-top:1px solid #7a566346;padding-top:8px}
#shop-category-tabs{display:flex;gap:6px;overflow-x:auto;padding:1px 0 4px}
#shop-category-tabs button{flex:1 0 auto;border:1px solid #73587f;border-radius:5px;min-height:30px;padding:3px 10px;background:#271a31;font-size:12px;color:#e0cfdf;white-space:nowrap}
#shop-category-tabs button[aria-pressed=true]{background:linear-gradient(#f4d18c,#c7974d);color:#241629;border-color:#ffe6b7;font-weight:650}
#shop-access{margin:0;font-size:12px;color:#edcb8e;line-height:1.5}
#shop-access:empty{display:none}
#shop-access[data-tone=lock]{color:#ffbcb4}
#shop-items{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:8px;overflow:auto;padding:3px 4px 5px 2px}
.shop-item{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:135px;padding:6px 4px 4px;gap:2px;border:1px solid #9971a6;border-radius:7px;background:linear-gradient(155deg,#191621,#0b0d12 66%,#27132e);box-shadow:inset 0 0 0 2px #261e31;text-align:center;overflow:hidden}
.shop-item::before{content:'';position:absolute;inset:3px;border-top:1px solid #b999ca50;pointer-events:none;border-radius:3px}
.shop-item:hover{background:linear-gradient(155deg,#33203b,#10131c 66%,#3b2147);border-color:#e1adf1}
.shop-item[aria-pressed=true]{border:2px solid #ffe39a;padding:5px 3px 3px;box-shadow:inset 0 0 0 2px #9f7342,0 3px 12px #0008}
.shop-item[aria-pressed=true]::before{border-color:#fcd69d88}
.shop-item.is-dim{opacity:.65}
.shop-art{display:grid;place-items:center;width:100%;height:76px;flex:none}
.shop-art :is(img,svg){width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #000a)}
.shop-art{position:relative;overflow:hidden}
.shop-art :is(img,svg){position:absolute;inset:0;display:block;max-width:100%;max-height:100%;min-width:0;min-height:0}
.shop-art[data-weapon=true]{background:radial-gradient(ellipse at center,#9a877a,#4d4148 72%,#312536);border-radius:3px}
.shop-item strong{width:100%;min-height:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.5;font-weight:500;color:#f7e9f1;overflow-wrap:anywhere}
.shop-amount{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:13px;color:#ffdf9c;font-variant-numeric:tabular-nums;white-space:nowrap}
.shop-amount svg{width:19px;height:19px;flex:none}.shop-amount b{font-weight:500}
.shop-item .shop-amount{margin-top:auto;min-height:24px;width:calc(100% + 8px);border-top:1px solid #7853796b;background:#35203f80}
.shop-amount.is-short{color:#ffb29e}
.shop-tag{display:inline-block;max-width:100%;font-size:10px;line-height:1.5;color:#d4c2e4;overflow-wrap:anywhere}
.shop-tag[data-tone=warn]{color:#ffc7a1}.shop-tag[data-tone=ok]{color:#bbdfb4}.shop-tag[data-tone=sale]{color:#ffe596}.shop-refine-risk{color:#ffb7a8}
.shop-stock-footer{display:flex;align-items:center;gap:8px;min-height:30px;font-size:11px;color:var(--shop-muted)}
.shop-capacity{display:flex;align-items:center;gap:5px;flex:1;min-width:0}.shop-capacity svg{width:19px;height:19px}.shop-capacity b{white-space:nowrap}
#shop-refresh{display:flex;align-items:center;gap:4px;border:1px solid #796148;background:#221829;border-radius:4px;padding:4px 7px;font-size:11px}
#shop-refresh svg{width:15px;height:15px}
.shop-pager{display:flex;gap:5px;align-items:center;white-space:nowrap}.shop-pager button{border:1px solid #806344;background:#261c2c;border-radius:4px;width:25px;height:26px;font-size:20px}
.shop-detail{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px;padding:20px 20px 18px;background:#14101ef2;border-radius:0 5px 5px 0}
.shop-detail-info{display:grid;grid-template-columns:105px minmax(0,1fr);align-content:start;gap:6px 13px;min-height:0;flex:1;overflow:auto;padding:0 2px 4px}
.shop-art-large{grid-row:span 4;align-self:start;width:105px;height:122px;padding:5px;border:1px solid #d1ac72;border-radius:5px;background:linear-gradient(135deg,#1e1423,#0d0e15);box-shadow:inset 0 0 0 3px #382736}
#shop-item-name{margin:5px 0 0;font-size:23px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;color:#fff1c8}
#shop-item-kind{margin:0;font-size:12px;color:#d6c7df;line-height:1.55}
.shop-rarity{justify-self:start;align-self:start;padding:1px 9px;border-radius:20px;font-size:11px;color:#15121a;background:var(--rarity,#b6a9bd)}
#shop-description{margin:0;font-size:12px;line-height:1.65;color:#d7bfdc;overflow-wrap:anywhere}
#shop-effects{grid-column:1/-1;list-style:none;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #ac8356;display:flex;flex-direction:column}
#shop-effects:empty{display:none}
#shop-effects li{display:flex;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid #6750706b;font-size:12px;line-height:1.6}
#shop-effects svg{width:20px;height:20px;flex:none;color:#ffe0a1}
#shop-effects li span{flex:1;min-width:0}#shop-effects li b{font-weight:550;text-align:right}
.shop-owned{grid-column:1/-1;margin:4px 0 0;padding:7px 0;border-bottom:1px solid #94754966;display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;font-size:12px;color:#eee0f1}
.shop-owned svg{width:20px;height:20px;flex:none}.shop-owned small{flex:1 1 100%;color:#d0badb;line-height:1.5}
.shop-owned small:is(.shop-sale-note,.shop-daily){color:#f4d28f}
.shop-compare,.shop-set{grid-column:1/-1;font-size:12px;color:#ddc5e7;line-height:1.6}
.shop-set{margin:4px 0;padding:6px 0;border-top:1px solid #73527c}
#shop-compare .item-compare{background:#271b32;border-color:#765581;border-radius:4px;padding:7px 9px;--item-compare-good:#b1e4a0;--item-compare-bad:#ffb6a2;--item-compare-neutral:#d2bedb}
#shop-compare .item-compare h4{color:#ead0a1;font-size:12px}#shop-compare .item-compare li{font-size:12px;border-bottom-color:#80648866;gap:4px 7px}#shop-compare .item-compare-value{color:#fce9cd}
.shop-checkout{display:flex;flex-direction:column;gap:8px;flex:none}
.shop-unit-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#d8c0df;padding-bottom:8px;border-bottom:1px solid #94754966}
.shop-unit-row strong{font-weight:500}
.shop-quantity{display:flex;gap:6px;align-items:center;font-variant-numeric:tabular-nums}
.shop-quantity label{flex:1;font-size:13px}
.shop-quantity button,.shop-quantity input{height:36px;border:1px solid #bc9664;border-radius:4px;background:#211629;text-align:center;min-width:0}
.shop-quantity button{width:34px;font-size:23px;line-height:1}.shop-quantity input{width:48px;padding:0;font-size:17px;appearance:textfield;-moz-appearance:textfield}
.shop-quantity input::-webkit-inner-spin-button,.shop-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
#shop-max{width:auto;padding:0 9px;font-size:12px;background:#3b2c42}
.shop-summary{border-top:1px solid #94754966;padding-top:8px}.shop-total{margin:0;display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:15px}
#shop-total .shop-amount{font-size:20px;font-weight:550}#shop-total svg{width:25px;height:25px}
#shop-after{margin:3px 0 0;font-size:11px;color:#d2bade;text-align:right;line-height:1.5}
#shop-reason,#shop-result{margin:0;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
#shop-reason{color:#ffd2ad}#shop-result[data-tone=error]{color:#ffc0b1}#shop-result[data-tone=ok]{color:#c1e8b5}
#shop-reason:empty,#shop-result:empty{display:none}
#shop-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;border:2px solid #efc783;border-radius:7px;background:linear-gradient(180deg,#6b1e84,#420653 55%,#762b89);color:#fff0b8;font-size:22px;font-weight:650;box-shadow:inset 0 0 0 3px #a346aa,0 5px 12px #05020866}
#shop-submit:hover:not(:disabled){background:linear-gradient(180deg,#8b319f,#63156d 55%,#913ba1)}
.shop-submit-icon{width:28px;height:28px;flex:none}
.shop-bag-preview{flex:none;padding:10px 0 0;border-top:1px solid #ad835b}
.shop-bag-preview header{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;font-size:12px}.shop-bag-preview header strong{font-weight:550}.shop-bag-preview header span{color:#d6c3dd;font-variant-numeric:tabular-nums}
#shop-bag-items{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.shop-bag-item{position:relative;min-width:0;aspect-ratio:1;border:1px solid #735e7d;border-radius:4px;background:#171320;padding:3px}
#shop-dialog .shop-bag-item:disabled{opacity:1}.shop-bag-item img,.shop-bag-item svg{width:100%;height:100%;object-fit:contain}
.shop-bag-item span{position:absolute;bottom:1px;right:3px;font-size:11px;color:#fff;text-shadow:0 1px 3px #000,0 1px 3px #000}
.shop-bag-empty{grid-column:1/-1;margin:0;color:#d4bddb;font-size:12px}
.shop-footnote{position:absolute;bottom:-26px;left:0;right:0;margin:0;text-align:center;font-size:11px;color:#f1dce0;text-shadow:0 2px 3px #000}
.shop-empty{grid-column:1/-1;align-self:start;color:#e3cde7;line-height:1.8;padding:18px;font-size:14px}
.shop-skeleton{height:135px;background:#2b1c34;border:1px solid #705578;border-radius:5px}
.shop-was{color:#c7b4ca;margin-right:3px;font-size:.8em;text-decoration-thickness:1px}
/* Existing weapon repair remains above the stock with the same authority. */
.repair-panel{flex:none;margin:0;padding:8px 10px;border:1px solid #a88052;border-radius:4px;background:#24182f;color:#f8e9da;font-size:12px;max-height:120px;overflow:auto}
.repair-head,.repair-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}.repair-head{margin-bottom:5px}.repair-head small,.repair-row small{color:#d3bcd8}.repair-rows{display:grid;gap:8px}.repair-row strong{flex:1;overflow-wrap:anywhere}.repair-row small,.repair-bar{flex:1 1 100%}.repair-bar{height:6px;border-radius:3px;background:#100d19;overflow:hidden}.repair-bar i{display:block;height:100%;background:#b97de0}.repair-row button{padding:4px 9px;border:1px solid #dab877;border-radius:4px;background:#513663;color:#fff0ce}.repair-result,.repair-empty{margin:4px 0 0;font-size:12px;color:#dbc5df}.repair-result[data-tone=error]{color:#ffc0b1}.repair-result[data-tone=ok]{color:#c1e8b5}
@media(min-width:1200px) and (min-height:850px){.shop-item{min-height:146px}.shop-art{height:87px}.shop-item strong{font-size:12px}.shop-detail{padding:23px}.shop-art-large{width:115px;height:135px}.shop-detail-info{grid-template-columns:115px minmax(0,1fr)}#shop-item-name{font-size:25px}.shop-stock{padding:20px 16px 12px}}
@media(max-width:1150px){#shop-dialog{width:calc(100vw - 24px);padding-left:14px;padding-right:14px}.shop-body{grid-template-columns:19% 49% 32%}.shop-host{padding:10px 10px 17px}.shop-plate strong{font-size:17px}.shop-detail{padding:16px 12px}.shop-detail-info{grid-template-columns:75px minmax(0,1fr);gap:5px 9px}.shop-art-large{width:75px;height:90px}#shop-item-name{font-size:19px}.shop-stock{padding:12px 10px 8px}#shop-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.shop-toolbar{flex-wrap:wrap}.shop-search{flex-basis:100%;height:32px}.shop-side button{font-size:14px}.shop-sign h2{font-size:31px}.shop-bag-preview{padding-top:7px}#shop-bag-items{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:850px),(max-height:600px){#shop-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:50px 8px 12px}.shop-header{top:-48px;height:45px}.shop-sign h2{font-size:25px}.shop-sign small{display:none}.shop-sign::before,.shop-sign::after{width:30px}.shop-chip{min-height:30px;padding:3px 8px;gap:5px}.shop-chip b{font-size:16px}.shop-chip svg{width:20px;height:20px}#shop-close{width:34px;height:34px;font-size:28px!important}.shop-body{grid-template-columns:minmax(0,1fr) 290px}.shop-host{display:none}.shop-stock{gap:7px}.shop-toolbar{flex-wrap:nowrap}.shop-search{flex-basis:35%;height:33px}.shop-side button{min-height:34px;font-size:13px}.shop-side svg{width:19px;height:19px}.shop-detail{padding:12px;gap:9px}.shop-art-large{width:70px;height:75px}.shop-detail-info{grid-template-columns:70px minmax(0,1fr)}#shop-item-name{font-size:18px}.shop-bag-preview,.shop-footnote{display:none}.shop-item{min-height:112px}.shop-art{height:55px}.shop-item strong{font-size:11px}.shop-item .shop-amount{min-height:22px}#shop-items{grid-template-columns:repeat(4,minmax(0,1fr))}#shop-submit{min-height:43px;font-size:18px}#shop-effects li{padding:4px 0}.shop-quantity :is(button,input){height:32px}#shop-total .shop-amount{font-size:17px}}
@media(max-width:600px){#shop-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);padding:51px 6px 6px}.shop-header{top:-47px}.shop-sign{left:0;transform:none;min-width:0;text-align:left}.shop-sign h2{font-size:24px}.shop-sign::before,.shop-sign::after{display:none}.shop-wallet{max-width:66%;gap:4px}.shop-chip{padding:2px 6px}.shop-chip b{font-size:14px}.shop-chip svg{width:17px;height:17px}#shop-close{width:32px;height:32px}.shop-body{display:flex;flex-direction:column;padding:4px;overflow:hidden}.shop-stock{flex:1;min-height:160px;padding:8px;border-right:0;border-bottom:1px solid #b38a54;gap:6px}.shop-toolbar{gap:7px}.shop-side button{font-size:12px;padding:4px 6px;gap:4px}.shop-side svg{width:18px;height:18px}.shop-search{min-width:85px;flex-basis:39%}#shop-search{font-size:11px;padding:5px}#shop-category-tabs{gap:4px}#shop-category-tabs button{font-size:11px;padding:3px 8px;min-height:28px}.shop-filter{padding-top:4px}.shop-stock-footer{min-height:25px;font-size:10px}#shop-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.shop-item{min-height:113px}.shop-art{height:62px}.shop-detail{flex:none;max-height:45%;overflow:auto;padding:10px 12px;gap:6px;border-radius:0}.shop-detail-info{flex:none;overflow:visible;grid-template-columns:60px minmax(0,1fr);gap:2px 9px}.shop-art-large{grid-row:span 4;width:60px;height:70px}#shop-item-name{font-size:17px;margin:0}#shop-item-kind,.shop-rarity,#shop-description{font-size:11px}#shop-effects{margin-top:4px;padding-top:4px;flex-direction:row;flex-wrap:wrap;gap:3px 12px}#shop-effects li{padding:2px 0;font-size:11px;gap:4px;border-bottom:0}#shop-effects svg{width:16px;height:16px}#shop-effects li span{flex:none}.shop-owned{padding:3px 0;margin:1px 0;font-size:11px}.shop-owned small{flex:auto;font-size:10px}.shop-owned svg{width:16px;height:16px}.shop-compare{max-height:80px;overflow:auto}.shop-unit-row{padding-bottom:4px;font-size:11px}.shop-quantity :is(button,input){height:32px}.shop-checkout{gap:5px}.shop-summary{padding-top:5px}.shop-total{font-size:13px}#shop-after{font-size:10px}#shop-submit{min-height:40px;font-size:18px}#shop-reason,#shop-result{font-size:11px}.repair-panel{max-height:80px}.shop-set{font-size:11px}}
@media(prefers-reduced-motion:reduce){#shop-dialog *{animation:none!important;transition:none!important}}
@media(min-width:851px) and (min-height:601px){#shop-description{font-size:13px}#shop-effects li,.shop-owned{font-size:13px}.shop-item strong{font-size:12px}.shop-item .shop-amount{font-size:14px}}
@media(max-width:600px){.shop-detail{overflow:hidden;max-height:50%;min-height:270px}.shop-detail-info{flex:1;min-height:50px;overflow:auto;max-height:125px}.shop-checkout{flex:none}.shop-unit-row{padding-bottom:3px}.shop-summary{padding-top:3px}#shop-submit{min-height:40px}}
