.shop-dialog{max-width:620px}
#upgrade-shop [hidden]{display:none!important}
.shop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.shop-wallet{flex-shrink:0;border:1px solid #d8c593;border-radius:12px;padding:9px 14px;text-align:center;background:#f5edda;color:#86672e}
.shop-wallet strong{display:block;font:27px/1 Georgia,serif;font-variant-numeric:tabular-nums}
.shop-wallet span{font-size:10px;letter-spacing:1px}
.shop-content{padding:0 24px 24px}
.shop-free{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #c8d0b4;border-radius:12px;background:#edf0e3}
.shop-free strong{flex-shrink:0;font-size:14px;font-weight:650;color:#566840}
.shop-free p{margin:0;max-width:190px;font-size:11px;line-height:1.4;color:#7a8069;text-align:right}
.shop-note{margin:10px 0;font-size:12px;line-height:1.5;color:#7d7f6a}
.shop-empty{margin:22px 0;padding:20px 14px;text-align:center;font-size:14px;color:#7a8069}
.upgrade-list{display:grid;gap:10px;margin:14px 0}
.upgrade-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:13px;align-items:center;padding:15px;border:1px solid #d9d3c0;border-radius:14px;background:#fffdf5}
.upgrade-title{display:flex;gap:11px;align-items:center;min-width:0}
.upgrade-title>div{min-width:0}
.upgrade-symbol{display:grid;place-items:center;flex:0 0 36px;height:40px;border-radius:11px;font-size:25px;background:#ede6f1;color:#7b648c}
.upgrade-pulp .upgrade-symbol{background:#e9eed8;color:#7c8a4a}
.upgrade-basket .upgrade-symbol{background:#f1e4cf;color:#a17c42}
.upgrade-title h3{margin:0;font:21px/1.15 Georgia,serif;color:#516045}
.upgrade-title p{margin:5px 0 0;font-size:12px;line-height:1.4;color:#777b66}
.upgrade-current{display:block;margin-top:6px;font-size:10px;line-height:1.4;color:#879174}
.upgrade-purchase{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:78px}
.upgrade-purchase button{width:100%;min-height:44px;padding:8px 9px;border:1px solid #728456;border-radius:10px;background:#819761;color:#fffdeb;font-family:inherit;font-size:18px;font-weight:650;line-height:1.15;white-space:nowrap;cursor:pointer;font-variant-numeric:tabular-nums}
.upgrade-purchase button span{display:block;margin-top:2px;font-size:10px;font-weight:400}
.upgrade-purchase button:disabled{background:#f0edde;color:#9a9481;border-color:#d8d1bd;cursor:default}
.upgrade-purchase small{max-width:85px;font-size:10px;line-height:1.3;text-align:center;color:#91866c}
.upgrade-owned{font-size:11px;white-space:nowrap;color:#718253}
.upgrade-manage{grid-column:1/-1;margin-top:6px;margin-left:47px;font-size:11px;color:#938772}
.upgrade-manage summary{display:list-item;width:max-content;cursor:pointer;min-height:44px;line-height:44px;font-size:10px}
.upgrade-refund{display:block;margin:1px 0 2px;padding:8px 10px;min-height:44px;border:1px solid #d6cfbb;border-radius:8px;background:transparent;color:#87775a;font-size:11px;cursor:pointer}
.upgrade-purchase button:focus-visible,.upgrade-manage summary:focus-visible,.upgrade-refund:focus-visible{outline:3px solid #b1be8c;outline-offset:3px}
.shop-message{margin:12px 0;color:#687748;font-size:12px;line-height:1.5}
.shop-rules{margin-top:15px;font-size:11px;line-height:1.7;color:#837b66}
.shop-rules summary{cursor:pointer;font-weight:600;min-height:34px;line-height:34px}
.shop-rules p{margin:8px 0}
.result-coins{margin:0 0 14px;color:#927135;font-weight:650;font-size:14px}
.result-upgrade{font-size:12px;color:#6f7c43;margin:0 0 12px}
.result-shop-button{margin:9px auto 0}
.result-shop-button.has-news{border-color:#879764;background:#eef1dd;color:#526534}
.upgrade-card.is-new{border-color:#a5ae74}
.upgrade-new{display:inline-block;vertical-align:middle;margin-left:7px;padding:3px 5px;border-radius:5px;background:#edf1d8;color:#63783b;font:600 9px/1.1 system-ui,sans-serif}
.shop-news-dot{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#9b7439;box-shadow:0 0 0 3px #9b743914}
.shop-tab-new{position:absolute;top:1px;right:0;font-size:8px;line-height:1.3;color:#8b6e38;font-weight:650}
.shop-news-dot[hidden],.shop-tab-new[hidden]{display:none}
.shop-map-button{margin-bottom:13px;padding:10px 16px;min-height:44px;border:1px solid #c7bc9c;border-radius:9px;background:#f6edd6;color:#7c6c43}
.volley-badge{font-family:inherit;pointer-events:none;padding:5px 8px;font-size:10px}
.shop-launch{color:#8f743b}

html[data-theme=dark] .shop-wallet{background:#463d27;color:#ecd08b;border-color:#796740}
html[data-theme=dark] .shop-free{background:#303e29;border-color:#627049;color:#d5ddbd}
html[data-theme=dark] .shop-free strong{color:#d4e0ac}
html[data-theme=dark] .shop-free p,html[data-theme=dark] .shop-note,html[data-theme=dark] .shop-empty,html[data-theme=dark] .shop-rules{color:#b8b5a0}
html[data-theme=dark] .upgrade-card{background:#293226;border-color:#4a5840}
html[data-theme=dark] .upgrade-title h3{color:#e0e6c9}
html[data-theme=dark] .upgrade-title p,html[data-theme=dark] .upgrade-purchase small{color:#b8b79f}
html[data-theme=dark] .upgrade-current{color:#a9b593}
html[data-theme=dark] .upgrade-purchase button:disabled{background:#343c2e;color:#919b81;border-color:#556046}
html[data-theme=dark] .upgrade-manage{color:#aaa28c}
html[data-theme=dark] .upgrade-refund{color:#c2b48c;border-color:#5b624c}
html[data-theme=dark] .shop-message,html[data-theme=dark] .upgrade-owned{color:#d1dfac}
html[data-theme=dark] .result-coins{color:#dfc786}
html[data-theme=dark] .result-upgrade{color:#c4d89f}
html[data-theme=dark] .result-shop-button.has-news{background:#35432a;color:#d3e2b0;border-color:#879764}
html[data-theme=dark] .upgrade-card.is-new{border-color:#a5ae74}
html[data-theme=dark] .upgrade-new{background:#415131;color:#e0e9b4}
html[data-theme=dark] .shop-news-dot{background:#d8bd74}
html[data-theme=dark] .shop-tab-new{color:#d8bd74}
html[data-theme=dark] .shop-map-button{background:#3c402b;color:#e4d6a7;border-color:#6b6c46}

@media(max-width:600px){
  .shop-content{padding:0 16px 20px}
  .shop-heading{gap:12px}
  .shop-wallet{padding:9px 12px}
  .shop-wallet strong{font-size:24px}
  .upgrade-card{padding:13px;column-gap:10px}
  .upgrade-title{gap:9px}
  .upgrade-title h3{font-size:20px}
  .upgrade-manage{margin-left:45px}
  .shop-dialog .campaign-dialog-head{padding:19px 16px 14px}
}
@media(max-width:365px){
  .upgrade-card{padding:11px;column-gap:8px}
  .upgrade-symbol{flex-basis:30px;height:36px;font-size:22px}
  .upgrade-title h3{font-size:18px}
  .upgrade-title p{font-size:11px}
  .upgrade-purchase{width:67px}
  .upgrade-manage{margin-left:39px}
  .shop-free{padding:11px}
  .shop-free p{font-size:10px}
}
