/* The rail and illustration occupy separate columns at every width. */
.stage {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 60px;
 grid-template-areas: "bubble bubble" "pet orbs";
 column-gap: 5px;
 align-items: center;
}
.stage .bubble { grid-area: bubble; }
.stage .pet { grid-area: pet; max-width: 100%; }
.stage .companion-rail {
 grid-area: orbs;
 display: flex;
 flex-direction: column;
 gap: 10px;
 align-items: center;
}
.stage .companion-rail .companion-orb { position: static; flex: none; }
#storeOrb { gap: 2px; padding: 0; }
#storeOrb svg { width: 20px; height: 20px; }
#storeOrb small { font-size: 10px; line-height: 1.08; text-align: center; letter-spacing: normal; }

#sheet:has(.store-products) { max-height: 88vh; max-height: 88dvh; }
.store-content { padding-bottom: env(safe-area-inset-bottom, 0px); }
.store-content .store-intro { margin: 0 0 16px; color: #65725e; }
.store-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 13px; }
.store-product { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.store-concept {
 width: 100%;
 aspect-ratio: 1;
 background: #f6eedf url("/store-concepts.webp") no-repeat;
 background-size: 200% 200%;
 border-radius: 12px;
}
.store-concept-0 { background-image: url("/store-pocket.webp"); background-size: cover; background-position: center; }
.store-concept-1 { background-position: right top; }
.store-concept-2 { background-position: left bottom; }
.store-concept-3 { background-position: right bottom; }
.store-product h3 { margin: 9px 0 4px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.store-product p { margin: 0 0 8px; color: #5d6b59; }
.store-product .store-price { margin-top: auto; }
.store-content .store-price { color: var(--ink); font-size: 14px; }
.store-order { min-height: 44px; }
.store-not-available { margin-bottom: 24px; }
.store-notify-form label { display: block; }
.store-notify-form input { display: block; width: 100%; margin-top: 6px; min-height: 44px; font: inherit; }
.store-content .store-back { min-height: 44px; margin-top: 12px; }
