/* The store shares the camp's cream, hand-drawn outlines and raised green buttons. */
.view.shop-view:not(.mother-view){padding:12px 13px 20px;background:#fbf9ed}
.shop-front{display:flex;flex-direction:column;gap:14px;max-width:430px;margin:0 auto;padding-bottom:6px}
.shop-chest-shelf{position:relative;flex:none;min-width:0;border-radius:15px;scroll-margin-block:12px;outline:2px solid transparent;outline-offset:4px}
.shop-chest-shelf:empty{display:none}
.shop-chest-shelf .chest-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
.shop-chest-shelf .chest-chip{position:relative;min-width:0;min-height:126px;justify-content:center;gap:3px;padding:8px 4px;border:1.5px solid #c8d0ae;border-radius:13px;background:linear-gradient(150deg,#fffcef,#eeefda);box-shadow:0 3px 0 #ccd3b5,inset 0 1px 0 #fffef6;transition:transform .12s,box-shadow .12s}
.shop-chest-shelf .chest-chip:active{transform:translateY(2px);box-shadow:0 1px 0 #c3cba9,inset 0 1px 0 #fffef6}
.shop-chest-shelf .chest-chip>svg,.shop-chest-shelf .chest-chip>img{display:block;flex:none;width:38px;height:38px;object-fit:contain}
.shop-chest-shelf .chest-chip strong{display:flex;align-items:center;justify-content:center;min-height:30px;max-width:100%;margin:0;font-size:12px;line-height:1.25;color:#506744;text-align:center;overflow-wrap:anywhere}
.shop-chest-shelf .chest-chip .chest-quantity{font-size:12px;line-height:1.2;color:#536b43;font-weight:800}
.shop-chest-shelf .chest-chip small{display:flex;align-items:center;justify-content:center;min-height:16px;max-width:100%;font-size:12px;line-height:1.2;color:#7a8968;font-variant-numeric:tabular-nums;text-align:center}
.shop-chest-shelf .chest-chip small .gem-amount{gap:2px}
.shop-chest-shelf .chest-chip small .gem-amount>svg,.shop-chest-shelf .chest-chip small .gem-amount>img{width:16px;height:16px;flex:none}
.shop-chest-shelf .chest-chip>.notice-dot{top:7px;right:7px}
.shop-chest-shelf .reward-chest-row{display:flex;gap:7px;margin-top:10px}
.shop-chest-shelf .reward-chest{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:44px;gap:6px;padding:8px 7px;border:1px solid #d3bf85;border-radius:11px;background:#f7eac4;box-shadow:0 2px 0 #d8c89c;font-size:12px;font-weight:750;line-height:1.25;text-align:center;color:#746039}
.shop-chest-shelf .reward-chest>svg,.shop-chest-shelf .reward-chest>img{flex:none;width:25px;height:25px;object-fit:contain}
.shop-chest-shelf .reward-chest>span{min-width:0;overflow-wrap:anywhere}
.shop-chest-shelf .reward-chest>.notice-dot{top:4px;right:4px}
.shop-chest-shelf.is-highlighted{animation:shop-chest-highlight 1.2s ease-out 1}
@keyframes shop-chest-highlight{0%,100%{outline-color:transparent;box-shadow:0 0 0 0 #d8b35d00}25%,55%{outline-color:#c9a451;box-shadow:0 0 0 6px #dfbd6c25}}
.shop-featured,.shop-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.shop-offer{appearance:none;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;min-width:0;padding:12px 10px 11px;border:1.5px solid #bdcba2;border-radius:17px;background:linear-gradient(145deg,#fffdf0,#eef0db);box-shadow:0 4px 0 #c7d2ae,inset 0 1px 0 #fffef7;color:#354c36;text-align:center;overflow:hidden;transition:transform .12s,box-shadow .12s;touch-action:manipulation}
.shop-offer:active{transform:translateY(3px);box-shadow:0 1px 0 #b6c69b,inset 0 1px 0 #fffef7}
.shop-offer:focus-visible{outline:3px solid #d2a64e;outline-offset:3px}
.shop-offer-title{position:relative;z-index:2;display:block;max-width:100%;font-weight:800;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.shop-benefit{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;min-height:30px;margin:0 0 8px;color:#778363;font-weight:650;font-size:12px;line-height:1.25}
.shop-price{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:6px;min-height:39px;width:100%;margin-top:auto;padding:6px 10px;border:1px solid #597142;border-radius:10px;background:linear-gradient(#7e985f,#68834f);box-shadow:0 3px 0 #4d643c,inset 0 1px 0 #a4b97b;color:#fffbe7;font-size:17px;line-height:1.1;white-space:nowrap}
.shop-price b{font-weight:800}
.shop-price svg,.shop-price img{display:block;width:23px;height:23px;flex:none}
.shop-price--gems{color:#fffde9}
.shop-special-art,.shop-pack-art{position:relative;display:block;flex:none;z-index:1;width:100%;height:94px;margin:2px auto 0;pointer-events:none}
.shop-art-halo{position:absolute;width:110px;height:73px;left:50%;top:8px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,#fff9d9 0%,#e3e8c7 58%,#e3e8c700 72%)}
.shop-hero{position:absolute;display:block}
.shop-hero img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 0 #53634620)}
.shop-hero--guard{left:calc(50% - 26px);top:1px;width:68px;height:87px}
.shop-ad-badge{position:absolute;left:calc(50% - 52px);bottom:6px;width:51px;height:44px;transform:rotate(-8deg);filter:drop-shadow(0 3px 0 #75825e35)}
.shop-ad-badge svg{width:100%;height:100%}
.shop-offer--noads{background:linear-gradient(145deg,#fdf9e6,#eaf0d6)}
.shop-offer--builder{background:linear-gradient(145deg,#fcf6df,#ece8cb);border-color:#c8c294;box-shadow:0 4px 0 #cec69d,inset 0 1px 0 #fffef7}
.shop-building-art{position:absolute;width:94px;height:81px;object-fit:contain;left:calc(50% - 58px);top:3px;filter:drop-shadow(0 3px 0 #7f784926)}
.shop-hero--builder{left:calc(50% - 1px);bottom:2px;width:66px;height:76px}
.shop-builder-plus{position:absolute;right:calc(50% - 57px);top:4px;display:grid;place-items:center;width:26px;height:26px;border:2px solid #9c854b;border-radius:50%;background:#f3d688;color:#79633b;font-size:22px;font-weight:900;line-height:1;box-shadow:0 2px 0 #9c854b30}
.shop-offer--starter{flex-direction:row;justify-content:flex-start;align-items:stretch;min-height:160px;width:100%;padding:16px 14px;border:2px solid #c3a055;background:linear-gradient(105deg,#fff1c4 0%,#f7e2a4 46%,#e2d194 100%);box-shadow:0 4px 0 #b39857,inset 0 0 0 3px #fff6d09c;text-align:left}
.shop-offer--starter:active{box-shadow:0 1px 0 #b39857,inset 0 0 0 3px #fff6d09c}
.shop-starter-copy{position:relative;z-index:3;display:flex;align-items:flex-start;flex-direction:column;min-width:0;width:52%;gap:10px}
.shop-offer--starter .shop-offer-title{font-size:21px;color:#6a532d;text-shadow:0 1px 0 #fff3cb}
.shop-starter-rewards{display:flex;align-items:center;gap:12px;color:#665834;font-size:16px;line-height:1}
.shop-starter-rewards>span{display:flex;align-items:center;gap:3px;white-space:nowrap}
.shop-starter-rewards svg,.shop-starter-rewards img{width:23px;height:23px;flex:none}
.shop-starter-rewards>span:nth-child(2)>svg{width:27px}
.shop-offer--starter .shop-price{width:126px;max-width:100%;min-height:39px}
.shop-starter-art{position:absolute;right:1px;top:0;width:51%;height:100%;pointer-events:none}
.shop-starter-glow{position:absolute;inset:4px -4px;background:radial-gradient(ellipse at 52% 55%,#fff9d8 0%,#ffefb36e 45%,#ffefb300 72%)}
.shop-starter-chest{position:absolute;right:8px;bottom:12px;width:87px;transform:rotate(7deg);filter:drop-shadow(0 4px 0 #8f774b30)}
.shop-starter-chest svg{width:100%;height:auto}
.shop-starter-gem{position:absolute;right:1px;bottom:13px;width:38px;height:38px;transform:rotate(12deg);z-index:3}
.shop-starter-gem svg,.shop-starter-gem img{width:100%;height:100%}
.shop-starter-bow{left:0;top:11px;width:70px;height:105px;transform:rotate(-5deg)}
.shop-starter-sword{right:23px;top:8px;width:77px;height:112px;transform:rotate(6deg);z-index:2}
.shop-starter-spark{position:absolute;color:#fff9d8;text-shadow:0 1px 0 #aa8740;font-size:27px}
.shop-starter-spark--one{right:8px;top:13px}
.shop-starter-spark--two{left:3px;bottom:12px;font-size:18px}
.shop-section{margin-top:5px;min-width:0}
.shop-section h2{font-size:15px;line-height:1.4;letter-spacing:.02em;color:#6b7b58;margin:0 0 10px;padding-left:2px}
.shop-offer--resources,.shop-offer--diamonds{min-height:204px}
.shop-offer--resources .shop-offer-title,.shop-offer--diamonds .shop-offer-title{font-size:15px;line-height:1.3;min-height:20px}
.shop-pack-art{height:91px;margin-top:2px}
.shop-pack-chest{position:absolute;left:calc(50% - 37px);top:13px;width:75px;transform:rotate(-4deg)}
.shop-pack-chest svg{width:100%;height:auto}
.shop-resource-piece{position:absolute;display:block;width:33px;height:33px;filter:drop-shadow(0 2px 0 #5b6d4826)}
.shop-resource-piece svg{width:100%;height:100%}
.shop-resource-piece--wood{left:calc(50% - 47px);bottom:7px;transform:rotate(-11deg)}
.shop-resource-piece--ore{left:calc(50% + 13px);bottom:9px;transform:rotate(8deg)}
.shop-resource-piece--gold{left:calc(50% - 12px);bottom:1px;width:35px;height:35px}
.shop-materials{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:3px;width:88%;max-width:138px;min-height:34px;margin:0 auto 8px;line-height:1.15;color:#687954;font-size:12px;font-variant-numeric:tabular-nums}
.shop-materials>span{display:flex;flex-direction:column;align-items:center;gap:2px;white-space:nowrap}
.shop-materials svg{width:16px;height:16px;flex:none}
.shop-gem-quantity{display:flex;align-items:center;justify-content:center;gap:4px;min-height:27px;margin-bottom:8px;color:#536e45;font-size:18px;line-height:1.1;font-variant-numeric:tabular-nums}
.shop-gem-quantity svg,.shop-gem-quantity img{width:23px;height:23px}
.shop-diamond-art .shop-art-halo{background:radial-gradient(ellipse,#eff9ec 0%,#e3e9ca 58%,#e3e9ca00 73%)}
.shop-gem-piece{position:absolute;display:block;width:52px;height:52px;left:calc(50% - 26px);top:20px;filter:drop-shadow(0 3px 0 #526e5e20)}
.shop-gem-piece svg,.shop-gem-piece img{width:100%;height:100%}
.shop-gem-piece--0{z-index:3;transform:rotate(-5deg)}
.shop-gem-piece--1{left:calc(50% - 52px);top:11px;transform:rotate(-20deg) scale(.84);z-index:1}
.shop-gem-piece--2{left:calc(50% + 1px);top:13px;transform:rotate(17deg) scale(.86);z-index:1}
.shop-gem-piece--3{left:calc(50% - 27px);top:-3px;transform:rotate(5deg) scale(.82);z-index:0}
.shop-gem-piece--4{left:calc(50% - 1px);top:33px;transform:rotate(19deg) scale(.67);z-index:4}
.shop-diamond-art--1 .shop-gem-piece--0{width:62px;height:62px;left:calc(50% - 31px);top:14px}
.shop-featured--single{grid-template-columns:minmax(0,1fr)}
.shop-featured--single>.shop-offer{display:grid;grid-template-columns:95px minmax(0,1fr) 94px;grid-template-rows:auto auto;column-gap:8px;text-align:left;min-height:111px;align-items:center;padding:10px}
.shop-featured--single .shop-special-art{grid-column:1;grid-row:1/3;height:86px;width:95px;margin:0}
.shop-featured--single .shop-offer-title{grid-column:2;grid-row:1;font-size:16px;align-self:end}
.shop-featured--single .shop-benefit{grid-column:2;grid-row:2;min-height:0;margin:6px 0 0;justify-content:flex-start;align-self:start}
.shop-featured--single .shop-price{grid-column:3;grid-row:1/3;margin:0;min-width:0}
.shop-demo-note{text-align:center;font-size:11px;line-height:1.4;color:#919a81;margin:2px 0 0}
@container game (max-width:350px){
  .view.shop-view:not(.mother-view){padding:10px 10px 18px}
  .shop-front{gap:12px}
  .shop-featured,.shop-pack-grid{gap:10px}
  .shop-offer{padding:11px 7px 10px;border-radius:15px}
  .shop-offer-title{font-size:15px}
  .shop-special-art{height:84px}
  .shop-hero--guard{height:78px;top:0}
  .shop-benefit{font-size:11px;min-height:30px}
  .shop-price{font-size:16px;min-height:39px}
  .shop-offer--starter{min-height:153px;padding:14px 11px}
  .shop-offer--starter .shop-offer-title{font-size:19px}
  .shop-starter-copy{width:54%;gap:10px}
  .shop-starter-rewards{font-size:14px;gap:7px}
  .shop-starter-rewards svg,.shop-starter-rewards img{width:20px;height:20px}
  .shop-starter-art{width:49%}
  .shop-starter-bow{width:57px;height:91px;top:19px}
  .shop-starter-sword{width:66px;height:103px;right:15px;top:12px}
  .shop-starter-chest{right:7px;width:72px}
  .shop-starter-gem{right:-1px;width:31px;height:31px}
  .shop-materials{font-size:12px;gap:2px}
  .shop-featured--single>.shop-offer{grid-template-columns:78px minmax(0,1fr) 76px;gap:6px}
  .shop-featured--single .shop-special-art{width:78px}
  .shop-featured--single .shop-offer-title{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.shop-offer,.shop-chest-shelf .chest-chip{transition:none}.shop-chest-shelf.is-highlighted{animation:none;outline-color:#c9a451}}
