/* JoyFlock aircraft shop — animated stages, hangar display and rarity badges.
   The canvas itself is drawn by site-plane-fx.js; this file only sizes the
   stages and styles the surrounding cards. Shared by /shop.html and the
   portal shell; the portal's Flight Party game cover is a STATIC authored
   illustration and deliberately never follows the equipped aircraft. */

.plane-fx-canvas{display:block;width:100%;height:100%}
.shop-plane-stage{position:relative;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}

/* ------------------------------------------------------------- hangar */
.shop-hangar{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:18px;
  max-width:1480px;margin:0 auto 24px;padding:18px 20px;
  border:1px solid #3b548f88;border-radius:16px;
  background:linear-gradient(150deg,#1a2750,#0e1734 72%);
  box-shadow:inset 0 1px 0 #ffffff10;
}
.shop-hangar-info{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0}
.shop-hangar-pill{
  align-self:flex-start;padding:3px 9px;border:1px solid #ffd47966;border-radius:999px;
  background:#ffd4791a;color:#ffe3a8;font-size:9px;font-weight:900;letter-spacing:1px;
}
.shop-hangar-info h2{margin:0;font-size:21px;font-weight:900;letter-spacing:-.4px;color:#eaf0ff}
.shop-hangar-info p{margin:0;max-width:560px;color:var(--jp-muted);font-size:11.5px;line-height:1.7}
.shop-hangar-current{
  display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:2px;font-size:11px;font-weight:800;color:#c8d3ff;
}
.shop-hangar-current b{color:#fff;font-size:12.5px}
.shop-hangar-current .shop-rarity{
  position:static;width:auto;padding:2px 8px;
  border:1px solid var(--shop-rarity-line);border-radius:999px;
  background:var(--shop-rarity-dim);
}
.shop-plane-stage--hero{
  height:262px;border:1px solid #ffffff14;border-radius:14px;
  background:radial-gradient(ellipse at 52% 62%,#2b3e61,#111b36 72%);
}

/* -------------------------------------------------------------- cards */
/* The six-column grid lives in site-shop.css and is shared by ALL sections:
   aircraft cards are exactly the same size as cursor / avatar / trail cards.
   Only the artwork differs — here it is an animated propeller canvas. */
.shop-card--plane{padding:30px 6px 10px}
.shop-card--plane .shop-plane-stage{height:98px;flex:none}
.shop-buy-art .shop-plane-stage--dialog{height:146px;flex:none}
.shop-current-plane{width:42px;height:34px;flex:none}

@media(max-width:760px){
  .shop-hangar{grid-template-columns:1fr;padding:16px}
  .shop-plane-stage--hero{height:220px}
}
@media(max-width:520px){
  .shop-plane-stage--hero{height:190px}
  .shop-card--plane .shop-plane-stage{height:84px}
  .shop-buy-art .shop-plane-stage--dialog{height:112px}
}
