/* Home page pack panel (Nov 18 2026, preview): see packpanel.js. Only active with body.pp-on (computers). */
body.pp-on .stage { max-width: 940px; }
.pp-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 26px; align-items: start; margin: 8px 0 6px; text-align: left; }
.pp-left { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: sticky; top: 84px; }
.pp-left .pack-stage { margin: 0; }
.pp-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 18px;
  background: rgba(16, 12, 40, .62); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pp-right > * { margin: 0 !important; }
.pp-right .set-progress, .pp-right .chase-strip { width: 100%; max-width: none; }
.pp-right .bulk-row, .pp-right .bank-row, .pp-right .reserve-row, .pp-right .buy-pack-row { justify-content: flex-start; text-align: left; }
.pp-best { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pp-best:hover { border-color: #f2c14e; }
.pp-k { font-size: 12px; font-weight: 800; letter-spacing: .03em; opacity: .85; }
.pp-bp { display: flex; align-items: center; gap: 10px; }
.pp-bp img { width: 40px; border-radius: 3px; flex: none; }
.pp-bp > span { display: flex; flex-direction: column; min-width: 0; }
.pp-bp b { font-size: 14px; } .pp-bp small { font-size: 12.5px; opacity: .75; }
/* from 1120px the left and right rails are fixed at the screen edges: keep the panel in the space between them */
@media (min-width: 1120px) {
  body.pp-on .stage { max-width: min(940px, calc(100vw - 560px)); padding: 0 6px; }
  .pp-wrap { grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 18px; }
}
@media (min-width: 1120px) and (max-width: 1399px) {
  .pp-left .pack-stage .pack { transform: scale(.82); transform-origin: top center; margin-bottom: -60px; }
  .pp-right { padding: 12px; }
}
@media (min-width: 1120px) and (max-width: 1399px) { .pp-right .cs-price { font-size: 11px; } .pp-right .cs-odds { font-size: 9.5px; } }
/* phones: one column, the panel right under the pack and its Open button */
@media (max-width: 899px) {
  .pp-wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pp-left { position: static; }
  .pp-right { padding: 12px; border-radius: 16px; }
}
.pp-left .ep-home { width: 100%; max-width: 320px; margin: 4px 0 0; }
/* Nov 19: the mode you're opening in, said quietly over the pack */
.pp-mode { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 7px; row-gap: 2px; width: 100%; font-size: 12.5px; color: #c9c6e6; text-align: center; }
.pp-mode b { white-space: nowrap; }
.pp-mode b { color: #fff; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 11.5px; }
.pp-mode-say { flex-basis: 100%; opacity: .8; }
.pp-mode-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffcb05; box-shadow: 0 0 8px rgba(255, 203, 5, .6); }
.pp-mode-dot.pp-sandbox { background: #7fb2ff; box-shadow: 0 0 8px rgba(127, 178, 255, .6); }
.pp-mode-dot.pp-rip { background: #ff7ad1; box-shadow: 0 0 8px rgba(255, 122, 209, .6); }
/* Open pack and Change pack: a little room between them, side by side or stacked */
.pp-left > div:has(> .open-btn) { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.pp-left > div:has(> .open-btn) > * { margin: 0 !important; }
/* both columns end together: the right panel stretches to the pack's height, the ways to open sit at its foot */
.pp-wrap { grid-template-columns: 300px minmax(0, 480px); justify-content: center; align-items: stretch; }
.pp-left { align-self: start; }
.pp-right { background: rgba(16, 12, 40, .45); box-shadow: 0 14px 34px rgba(0, 0, 0, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pp-ways { margin-top: auto !important; display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pp-ways > * { margin: 0 !important; }
.pp-ways .free-left { text-align: center; }
.pp-ways .bank-row, .pp-ways .reserve-row, .pp-ways .buy-pack-row, .pp-ways .bulk-row { justify-content: center; flex-wrap: wrap; gap: 8px; text-align: left; }
.pp-ways .bank-note, .pp-ways .buy-pack-note { font-size: 0; }
.pp-ways .bank-note .bank-how { font-size: 12px; }
.pp-ways .ep-home { max-width: none; width: 100%; }
/* compact chase cards: small thumbnails, price and odds in one tidy row, no God pack note */
.pp-right .chase-strip { padding: 10px 12px; }
.pp-right .cs-head { margin-bottom: 6px; }
.pp-right .cs-row { grid-template-columns: repeat(5, 54px); justify-content: space-between; gap: 6px; }
.pp-right .cs-price { font-size: 11px; margin-top: 2px; } .pp-right .cs-odds { font-size: 9.5px; }
.pp-right .cs-rate { margin-top: 6px; font-size: 11.5px; }
.pp-right .cs-god { display: none; }
@media (min-width: 1120px) { .pp-wrap { grid-template-columns: minmax(200px, 300px) minmax(0, 480px); } }
@media (max-width: 899px) { .pp-wrap { grid-template-columns: minmax(0, 1fr); } .pp-right .cs-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Nov 19: the pack is the hero. Bigger pack, a narrower and quieter panel beside it */
@media (min-width: 900px) {
  .pp-wrap { grid-template-columns: 330px minmax(0, 400px); gap: 28px; }
  .pp-left .pack { width: 252px; height: 360px; }
  .pp-left .open-btn { font-size: 19px; padding: 15px 44px; }
  .pp-right { background: rgba(16, 12, 40, .32); border-color: rgba(255, 255, 255, .07); box-shadow: none; padding: 12px; }
  .pp-right .chase-strip { background: rgba(255, 255, 255, .03); }
  .pp-right .cs-row { grid-template-columns: repeat(5, 46px); }
  .pp-right .cs-card .cs-img img { filter: saturate(.6) brightness(.72) !important; }
  .pp-right .cs-card:hover .cs-img img { filter: none !important; }
  .pp-right .cs-price { color: #e6e3f5; }
  .pp-best { padding: 9px 12px; } .pp-bp img { width: 32px; }
}
@media (min-width: 1120px) and (max-width: 1399px) {
  .pp-wrap { grid-template-columns: minmax(220px, 290px) minmax(0, 360px); gap: 20px; }
  .pp-left .pack-stage .pack { transform: none; margin-bottom: 0; width: 232px; height: 331px; }
}
