/* PIE LAND · 우주 창고 화면 (pie-vault.js 의 mountPanel 이 그리는 칸) */
.pie-vault {
  margin: 36px 0 8px; padding: 22px clamp(16px, 3vw, 28px);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.16), rgba(32, 212, 180, 0.08)), var(--card, #1d1f3a);
  border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 18px;
}
.pv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pv-head b { font-size: 1.2rem; display: block; }
.pv-head small { color: var(--muted, #a3a6c8); font-size: 0.88rem; }
.pv-sum { font-size: 0.85rem; font-weight: 700; color: #191433; background: linear-gradient(90deg, #ffd23f, #ffb347); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pv-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.pv-game { background: rgba(10, 10, 30, 0.35); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pv-gname { font-weight: 800; font-size: 0.98rem; color: var(--text, #f2f3ff); text-decoration: none; }
.pv-gname:hover { color: var(--accent-2, #20d4b4); }
.pv-items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 8px 10px; }
.pv-ico { grid-row: 1 / 3; font-size: 1.5rem; line-height: 1; }
.pv-nm { font-size: 0.78rem; color: var(--muted, #a3a6c8); font-weight: 600; }
.pv-n { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pv-item.zero { opacity: 0.42; }
.pv-how { font-size: 0.8rem; color: var(--muted, #a3a6c8); }
.pv-log { margin-top: 16px; font-size: 0.85rem; color: #d6d8f5; display: flex; flex-direction: column; gap: 4px; }
.pv-log b { font-size: 0.9rem; margin-bottom: 2px; }
.pv-log span { font-weight: 700; }
.pv-log i { color: var(--muted, #a3a6c8); font-style: normal; font-size: 0.78rem; margin-left: 4px; }

/* 아케이드 게임 결과 칸 안의 '창고로 보냈어요' 줄 */
.pv-reward { margin: 10px 0 4px; padding: 8px 12px; border-radius: 10px; font-size: 0.9rem; line-height: 1.6;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.22), rgba(32, 212, 180, 0.16)); border: 1px solid rgba(255,255,255,.1); }
.pv-reward b { color: #ffd23f; }
.pv-reward a { color: var(--accent-2, #20d4b4); font-weight: 700; margin-left: 6px; white-space: nowrap; }
.pv-reward.rare { border-color: #ffd23f; box-shadow: 0 0 0 2px rgba(255, 210, 63, 0.35), 0 0 22px rgba(255, 210, 63, 0.25); }
.pv-rare { display: block; font-weight: 800; color: #ffd23f; margin-bottom: 2px; }

/* 💾 PIE LAND 전체 백업 (창고 칸 아래) */
.pv-bk { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 10, 30, 0.35); border: 1px solid var(--border, rgba(255,255,255,.08)); font-size: 0.88rem; }
.pv-bk.warn { border-color: #ffd23f; box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.35); }
.pv-bkh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pv-bkh b { font-size: 1rem; }
.pv-bkh small { color: var(--muted, #a3a6c8); font-weight: 700; }
.pv-bk.warn .pv-bkh small { color: #ffd23f; }
.pv-bk p { margin: 6px 0 10px; color: var(--muted, #a3a6c8); line-height: 1.55; }
.pv-bkrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.pv-bkrow button { padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(124, 92, 255, 0.25); color: var(--text, #f2f3ff); font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.pv-bkrow button:hover { background: rgba(124, 92, 255, 0.4); }
.pv-bkrow button.yes { background: #20d4b4; color: #0d1030; }
.pv-code { width: 100%; min-height: 70px; margin-top: 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.3); color: #d6d8f5; font: 12px ui-monospace, monospace; padding: 8px; box-sizing: border-box; }
.pv-bkmsg { margin-top: 6px; line-height: 1.6; }
.pv-bkmsg .ok { color: #20d4b4; font-weight: 700; }
.pv-bkmsg .no { color: #ff8fa3; font-weight: 700; }
.pv-ios { position: relative; margin: 4px 0 10px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 210, 63, 0.18), rgba(255, 143, 163, 0.14)); border: 1px solid rgba(255, 210, 63, 0.5); line-height: 1.6; }
.pv-ios > b:first-child { display: block; color: #ffd23f; margin-bottom: 4px; }
.pv-ios small { display: block; margin-top: 6px; color: #e6e7ff; }
.pv-ios-x { margin-top: 8px; padding: 6px 12px; border-radius: 8px; border: 0; background: #ffd23f; color: #191433; font-weight: 800; cursor: pointer; }
.pv-ok { margin: 4px 0 8px; color: #20d4b4; font-weight: 700; }

.pv-iosbar { display: block; position: sticky; top: 0; z-index: 50; padding: 9px 14px; text-align: center; font-size: 0.85rem; line-height: 1.5; color: #191433; background: #ffd23f; text-decoration: none; font-weight: 600; }
.pv-iosbar span { font-weight: 800; margin-left: 4px; white-space: nowrap; }

.pv-pity { display: block; margin-top: 4px; font-size: 0.82rem; color: #d6d8f5; }
.pv-pity b { color: #ffb347; margin: 0 4px; }
.pv-pity i { display: inline-block; vertical-align: middle; width: 90px; height: 8px; margin: 0 8px 0 2px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.pv-pity u { display: block; height: 100%; background: linear-gradient(90deg, #ffb347, #ffd23f); }
