
/* POTIONS-CLIENT-20261120: scope only new catalogue/owned cards. */
.potions-v3 .potion-card,.potions-v3-owned .potion-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px;padding:12px 8px;border-top:1px solid #d7c69b;border-bottom:0}.potions-v3-art{width:80px;height:80px;object-fit:contain;display:block}.potions-v3 .potion-description,.potions-v3-owned .potion-description{min-width:0}.potions-v3 .potion-description h3,.potions-v3-owned .potion-description h3{font:700 14px/20px Verdana,sans-serif;margin:0}.potions-v3 .potion-description p,.potions-v3-owned .potion-description p{margin:0 0 4px;overflow-wrap:anywhere}.potions-v3-buy,.potions-v3 .potion-selection{grid-column:1/-1;text-align:center}.potions-v3 .potion-intro{text-align:center;padding:0 8px}.potions-v3 .potion-selection{width:auto}.potions-v3 .potion-feedback:empty{display:none}.potions-v3-owned .potion-description h3{display:block;position:static;isolation:auto;height:auto;min-height:0;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere}.potions-v3-owned .potion-description h3:before,.potions-v3-owned .potion-description h3:after{content:none;display:none}.potions-v3 .potion-quantity{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}

/* Pending purchases keep their illustrations and native disabled semantics. */
.potion-catalogue.potions-v3 button:disabled { opacity: 1; }
.potion-catalogue.potions-v3 button { -webkit-user-select: none; user-select: none; }
.potion-catalogue.potions-v3 { -webkit-tap-highlight-color: transparent; }
.potion-disclosure { grid-column: 1 / -1; }
.potion-motion-part { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 160ms ease-in-out; }
.potion-disclosure[data-expanded="true"] .potion-motion-part { transition-timing-function: ease-out; }
.potion-motion-part[data-open="true"] { grid-template-rows: 1fr; }
.potion-motion-clip { min-height: 0; overflow: hidden; }
.potion-motion-part[data-open="true"] button:focus-visible { outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .potion-disclosure .potion-motion-part { transition: none; }
}

.potion-purchase-sticky {
  position: sticky;
  top: calc(28px + env(safe-area-inset-top, 0px));
  z-index: 4;
  background: #480b12;
  color: #ffe1a1;
}
.potion-purchase-sticky a { color: inherit; text-decoration: underline; }
.potion-purchase-sticky a:focus-visible { outline: 2px solid currentColor; }