/* Shop controls remain separate from the fixed mobile game navigation. */
.dialog.shop-dialog{width:min(850px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;background:#fff;padding:30px;overscroll-behavior:contain}.shop-content{color:#2e4039}.shop-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-right:24px;margin-bottom:22px}.shop-header h2{font-size:27px}.shop-header p{color:#7c877f;font-size:12px;margin-top:5px}.shop-coins{display:inline-flex;white-space:nowrap;padding:9px 12px;border-radius:12px;background:#fff6df;color:#95733f;font-weight:700}.shop-pet-section{display:flex;align-items:center;gap:18px;border:1px solid #e7ece8;border-radius:17px;padding:10px 18px;margin-bottom:20px;background:#fafcfb}.shop-pet-art{width:90px;height:90px;flex:0 0 90px;display:grid;place-items:center}.shop-pet-art .sprite{width:100%;height:100%;margin:0}.shop-pet-art>span{font-size:38px;color:#cad7ce}.shop-pet-details{flex:1;min-width:0}.shop-pet-details label{display:block;font-size:11px;color:#7a8980;margin-bottom:6px}.shop-pet-details select{max-width:100%;width:100%;height:42px;border:1px solid #dce5de;border-radius:9px;background:white;padding:7px 10px;color:#354b3d}.shop-pet-vitals{display:flex;gap:15px;flex-wrap:wrap;margin-top:8px;font-size:11px}.shop-hp{color:#ab5b58}.shop-mp{color:#4c7caa}.shop-pet-vitals b{margin-left:4px;font-variant-numeric:tabular-nums}.shop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.shop-product{min-width:0;display:flex;flex-direction:column;align-items:center;border:1px solid #e5e9e6;border-radius:17px;padding:19px 14px 15px;background:linear-gradient(#fff,#fcfdfc)}.shop-product-art{display:grid;place-items:center;height:83px;margin-bottom:8px}.shop-ball-icon{width:66px;height:66px;filter:drop-shadow(0 5px 4px #768b7620)}.shop-egg-icon{width:64px;height:80px;object-fit:contain}.shop-potion-icon{width:66px;height:80px;filter:drop-shadow(0 5px 4px #768b7620)}.shop-potion-icon.is-hp{--vial-glass:#fff0ed;--vial-edge:#dbada8;--vial-liquid:#d77872}.shop-potion-icon.is-mp{--vial-glass:#edf5ff;--vial-edge:#a9c1db;--vial-liquid:#709fcf}.shop-product-copy{text-align:center;width:100%}.shop-product-copy h3{font-size:16px}.shop-product-copy p{font-size:11px;line-height:1.7;color:#77867b;min-height:38px;margin:7px 0}.shop-stock{display:inline-flex;gap:5px;align-items:center;font-size:11px;border-radius:20px;background:#f0f4f1;padding:5px 10px;color:#6a7e6f}.shop-stock b{color:#354e3d}.shop-product-actions{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:auto;padding-top:16px}.shop-buy,.shop-use{width:100%;min-height:44px;padding:10px 8px;border-radius:10px;font-size:12px;font-weight:600}.shop-buy{display:flex;justify-content:space-between;align-items:center;gap:6px;background:#496953;color:#fff}.shop-buy span{font-size:11px;font-weight:500;color:#edf4da}.shop-use{background:#f7faf8;color:#486a53;border:1px solid #d8e4db}.shop-product-note,.shop-buy-note{font-size:10px;line-height:1.6;color:#8a928a;text-align:center}.shop-buy-note{color:#ac7460}.shop-rest-note{font-size:11px;color:#839085;line-height:1.8;margin-top:20px}.shop-status{font-size:12px;color:#486951;line-height:1.8;min-height:22px;margin-top:12px}.shop-retry{width:100%;min-height:44px;margin-top:10px}.shop-open-items{min-height:44px;padding:10px 14px;border:1px solid #dbe5de;border-radius:10px;background:#f8fbf9;color:#45674e;font-size:12px}.room-rest-panel .shop-open-items{margin-left:8px}.collection-section-heading{flex-wrap:wrap}.pet-card-actions .shop-open-items{width:100%;font-size:11px}.shop-dialog button:focus-visible{outline:3px solid #c69556;outline-offset:3px}
@media(max-width:760px){.dialog.shop-dialog{width:100%;max-height:calc(100dvh - max(12px,env(safe-area-inset-top,0px)));padding:24px 18px calc(22px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0}.shop-header{align-items:flex-start;padding-right:25px;margin-bottom:18px}.shop-header h2{font-size:24px}.shop-header p{font-size:11px}.shop-coins{font-size:12px;padding:8px 10px}.shop-products{grid-template-columns:1fr;gap:12px}.shop-product{display:grid;grid-template-columns:70px 1fr;gap:10px 15px;align-items:center;padding:15px}.shop-product-art{height:78px;margin:0}.shop-product-copy{text-align:left}.shop-product-copy p{min-height:0;margin:5px 0 7px}.shop-product-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:4px}.shop-product-note,.shop-buy-note{grid-column:1/-1}.shop-product:first-child .shop-buy{grid-column:1/-1}.shop-pet-section{gap:10px;padding:10px}.shop-pet-art{width:65px;height:70px;flex-basis:65px}.shop-pet-vitals{gap:10px;font-size:10px}.collection-section-heading>.shop-open-items{font-size:11px;padding:8px 11px}.pet-card-actions .shop-open-items{grid-column:1/-1}}

.shop-location-note{font-size:12px;line-height:1.8;margin-top:18px;padding:10px 12px;background:#f5f8f6;border-radius:10px;color:#617566}.is-inventory .shop-product-actions{padding-top:12px}.is-inventory .shop-use{grid-column:1/-1}

.is-shop .shop-buy{grid-column:1/-1}

.shop-treat-icon{width:76px;height:80px;filter:drop-shadow(0 4px 3px #97642d14)}
