/* b225 OPUS PAGE 2/39 — /rip/packs/ */
html body .pnb-btn,html body .pnb-pack__cta{border-radius:var(--ctl-r)!important;font:var(--ctl-font)!important;height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;padding:0 16px!important;display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box}
html body .pnb-btn *,html body .pnb-pack__cta *{font-size:inherit!important;font-weight:inherit!important}
html body .pnb-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;max-width:100%}
html body .pnb-tabs::-webkit-scrollbar{display:none}
html body .pnb-tab{height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;border-radius:var(--ctl-r)!important;font:var(--ctl-font)!important;padding:0 14px!important;display:inline-flex!important;align-items:center;flex:0 0 auto;box-sizing:border-box;background:transparent;box-shadow:none}
html body .pnb-tab.is-on{background:rgba(168,85,247,.14)!important;box-shadow:inset 0 0 0 1px rgba(168,85,247,.42)!important;color:#fff!important}
html body .pnb-pack__stock.pack-stock{display:flex!important;flex-direction:column;gap:4px;padding:10px 12px!important;border-radius:10px!important;background:rgba(255,255,255,.04)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)!important}
html body .pnb-pack__stock.pack-stock,html body .pnb-pack__stock.pack-stock>:not(.pack-stock__of){font-family:Orbitron,sans-serif!important;font-weight:800!important;font-size:20px!important;line-height:1.1!important;font-variant-numeric:tabular-nums!important;color:#fff!important}
html body .pnb-pack__stock .pack-stock__of{font:500 12px/1.2 "Geist Mono",ui-monospace,monospace!important;text-transform:uppercase!important;letter-spacing:.14em!important;color:rgba(255,255,255,.80)!important;font-variant-numeric:tabular-nums}
/* slug guard: name renders pack id */
html body .pnb-pack__name{display:none!important}
html body .pnb-pack__price,html body .pnb-pack__range{display:block!important}
html body .pnb-pack .pnb-btn--primary:not(.pnb-pack__cta),html body .pnb-pack .pnb-pack__cta~.pnb-pack__cta,html body .pnb-pack .pnb-pack__cta .pnb-pack__cta{display:none!important}
html body .pnb-eyebrow,html body .pnb-cap,html body .pnb-pill,html body .pnb-pill--info,html body .pnb-pill--bad{font-family:"Geist Mono",ui-monospace,monospace!important;font-size:10.5px!important;font-weight:500!important;text-transform:uppercase!important;letter-spacing:.16em!important;line-height:1.2!important}
html body .pnb-eyebrow,html body .pnb-cap{color:rgba(255,255,255,.62)!important}
html body .pnb-pill--info{color:rgba(196,181,253,.92)!important}
html body .pnb-pill--bad{color:rgba(252,165,165,.92)!important}
html body,html body .pnb-page,html body .pnb-wrap{overflow-x:clip!important;max-width:100%}
html body .pnb-wrap,html body .pnb-packs-head,html body .pnb-pack,html body .pnb-pack__body{min-width:0;box-sizing:border-box}
html body .pnb-kinetic.pnb-chrome-text,html body .pnb-h1{max-width:100%;overflow-wrap:anywhere}
@media (max-width:767px){
html body .pnb-tab{font-size:12.5px!important}
html body .pnb-shelf.pnb-stagger{display:flex!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;max-width:100%;min-width:0;scrollbar-width:none}
html body .pnb-shelf::-webkit-scrollbar{display:none}
html body .pnb-shelf>.pnb-pack{flex:0 0 auto;scroll-snap-align:start}
}
@media (min-width:768px){
html body .pnb-shelf.pnb-stagger{display:grid!important;overflow:visible!important;min-width:0}
}

/* ══════════════════════════════════════════════════════════════════════
   b231 — FIX REGRESSIONS from the blunt b225 pass
   1. `.pnb-pack__name` was hidden — restore it (it holds the REAL name,
      e.g. "Vending Machine", not the slug).
   2. Text alignment was ragged: the "894" count centred while the price /
      floor / top-slab / pulls labels were left — everything now aligns to
      ONE left edge with the number baseline-locked to its label.
   3. The per-pack CTA must read as an action for THAT pack, not a generic
      global one.
   ══════════════════════════════════════════════════════════════════════ */

/* 1 — restore the pack name */
html body .pnb-pack__name{
  display:block!important;
  margin:0!important;
  font:600 15px/1.3 Inter,system-ui,sans-serif!important;
  color:#EDEAF6!important;
  text-align:left!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  min-width:0}

/* 2 — one left edge for ALL body text, full tile width */
html body .pnb-pack__body{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:8px!important;padding:12px 14px 14px!important;
  width:100%!important;min-width:0!important;box-sizing:border-box!important;text-align:left!important}
html body .pnb-pack__body > *{width:100%!important;min-width:0!important;text-align:left!important;
  justify-content:flex-start!important;align-items:flex-start!important}

/* the stock counter: number + label share the left edge, baseline aligned */
html body .pnb-pack__stock.pack-stock{
  display:flex!important;flex-direction:row!important;align-items:baseline!important;
  gap:8px!important;text-align:left!important;padding:9px 12px!important}
html body .pnb-pack__stock.pack-stock b{
  font:800 20px/1 Orbitron,Inter,sans-serif!important;color:#fff!important;
  font-variant-numeric:tabular-nums;flex:0 0 auto}
html body .pnb-pack__stock .pack-stock__of{
  font:700 10.5px/1.2 'Geist Mono',ui-monospace,monospace!important;
  letter-spacing:.14em!important;text-transform:uppercase!important;
  color:rgba(255,255,255,.82)!important;flex:1 1 auto;min-width:0;
  text-align:left!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* price row: price left, top-hit right — one baseline */
html body .pnb-pack__row{
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;
  gap:10px!important;width:100%!important;min-width:0!important}
html body .pnb-pack__price{
  font:800 17px/1 Orbitron,Inter,sans-serif!important;color:#fff!important;
  font-variant-numeric:tabular-nums;flex:0 0 auto;text-align:left!important}
html body .pnb-pack__row .pnb-cap{
  font:700 9.5px/1.2 'Geist Mono',ui-monospace,monospace!important;
  letter-spacing:.12em!important;text-transform:uppercase!important;
  color:rgba(255,255,255,.62)!important;flex:0 1 auto;min-width:0;
  text-align:right!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* floor / top slab: two equal columns, same label style, aligned */
html body .pnb-pack__range{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;
  width:100%!important;min-width:0!important}
html body .pnb-pack__range > span{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px;
  font:700 9.5px/1.2 'Geist Mono',ui-monospace,monospace!important;
  letter-spacing:.12em!important;text-transform:uppercase!important;
  color:rgba(255,255,255,.55)!important;min-width:0;text-align:left!important}
html body .pnb-pack__range b{
  font:700 13px/1.15 Orbitron,Inter,sans-serif!important;color:#EDEAF6!important;
  letter-spacing:0!important;text-transform:none!important;font-variant-numeric:tabular-nums}
html body .pnb-pack__range > span.top b{color:#C084FC!important}

/* pulls rail: left aligned, clipped, never overflowing */
html body .pnb-pack__pulls{
  display:flex!important;align-items:center!important;gap:6px!important;
  width:100%!important;min-width:0!important;overflow:hidden!important;
  justify-content:flex-start!important}
html body .pnb-pack__pulls > *{flex:0 0 auto}

/* 3 — per-pack CTA geometry + explicit action wording */
html body .pnb-pack__cta,html body .pnb-pack .pnb-btn--primary{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  width:100%!important;height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;
  padding:0 14px!important;border-radius:10px!important;box-sizing:border-box!important;
  font:800 13px/1 Optron,Orbitron,Inter,sans-serif!important;letter-spacing:.02em!important;
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;text-decoration:none}
html body .pnb-pack__cta:hover{filter:brightness(1.08)}

/* keep the artwork frameless (this part was right) */
html body .pnb-pack__art{background:transparent!important;border:0!important;box-shadow:none!important}

/* keep the last pack row clear of the fixed bar too */
html body .pnb-page,html body .pnb-wrap{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
html body .pnb-shelf{padding-bottom:12px!important}

/* ══════════════════════════════════════════════════════════════════════
   b235 — TWO FIXES
   1. THE PACK BUTTON WAS EMPTY. My b225 "duplicate CTA guard" hid
      `.pnb-btn--primary:not(.pnb-pack__cta)` — but the real button is a
      `.pnb-btn--primary` nested INSIDE the `.pnb-pack__cta` span, so the
      guard switched the actual button to display:none (measured 0x0).
      Re-enable it and keep the guard scoped to genuine sibling duplicates.
   2. POSSIBLE-PULL CARDS WERE 33x63px — too small to read. Enlarge them.
   ══════════════════════════════════════════════════════════════════════ */

/* 1 — the CTA must always render its button */
html body .pnb-pack__cta{display:flex!important;align-items:center!important;
  justify-content:center!important;width:100%!important;min-width:0!important}
html body .pnb-pack__cta .pnb-btn,
html body .pnb-pack__cta .pnb-btn--primary,
html body .pnb-pack .pnb-pack__cta > .pnb-btn,
html body .pnb-pack > .pnb-pack__cta .pnb-btn{
  display:flex!important;visibility:visible!important;opacity:1!important;
  width:100%!important;min-width:0!important;height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;
  align-items:center!important;justify-content:center!important;gap:8px;
  padding:0 14px!important;border-radius:10px!important;box-sizing:border-box!important;
  font:800 13px/1 Inter,system-ui,sans-serif!important;letter-spacing:.02em!important;
  color:#fff!important;background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the guard now only targets a SECOND sibling CTA, never the nested button */
html body .pnb-pack > .pnb-pack__cta ~ .pnb-pack__cta{display:none!important}

/* 2 — bigger possible-pull thumbnails */
html body .pnb-pack__pulls{
  display:flex!important;align-items:flex-end!important;gap:8px!important;
  width:100%!important;min-width:0!important;overflow:hidden!important;
  padding:4px 0 2px!important}
html body .pnb-pack__pulls .pnb-slab,
html body .pnb-pack__pulls > span{
  flex:0 0 auto!important;
  width:auto!important;min-width:0!important;
  height:auto!important}
html body .pnb-pack__pulls .pnb-slab__art,
html body .pnb-pack__pulls .pnb-slab__art img,
html body .pnb-pack__pulls img{
  height:104px!important;min-height:104px!important;
  width:auto!important;max-width:none!important;
  object-fit:contain!important;display:block;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.6))!important;
  border:0!important;background:transparent!important;border-radius:0!important}
/* hide the tiny price caption inside the mini slabs — it was unreadable */
html body .pnb-pack__pulls .pnb-slab__val,
html body .pnb-pack__pulls .pnb-slab__tier{display:none!important}

@media (max-width:400px){
  html body .pnb-pack__pulls .pnb-slab__art,
  html body .pnb-pack__pulls .pnb-slab__art img,
  html body .pnb-pack__pulls img{height:88px!important;min-height:88px!important}
  html body .pnb-pack__cta .pnb-btn{height:var(--ctl-h)!important;min-height:var(--ctl-h)!important}
}

/* ══════════════════════════════════════════════════════════════════════
   b236 — the pull thumbs blew the tile up at tablet width.
   `height:104px` + `max-width:none` let each thumb scale to its natural
   aspect, so the row got enormously wide and the tile grew to 1009px at
   768px (vs 599 at 390). Cap the width so THREE always fit, and let the
   height follow the available width instead of a fixed value.
   ══════════════════════════════════════════════════════════════════════ */
html body .pnb-pack__pulls{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:end!important;gap:8px!important;
  width:100%!important;min-width:0!important;
  overflow:hidden!important;padding:4px 0 2px!important}
html body .pnb-pack__pulls > .pnb-slab,
html body .pnb-pack__pulls > span{
  display:grid!important;place-items:end center!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:auto!important;overflow:hidden!important}
html body .pnb-pack__pulls .pnb-slab__art,
html body .pnb-pack__pulls img{
  display:block!important;
  width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;max-height:96px!important;
  object-fit:contain!important;object-position:bottom center;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.6))!important;
  border:0!important;background:transparent!important;border-radius:0!important}
@media (max-width:400px){
  html body .pnb-pack__pulls .pnb-slab__art,
  html body .pnb-pack__pulls img{max-height:84px!important}
}

/* ══════════════════════════════════════════════════════════════════════
   b237 — PACK ART HAD NO MAX-HEIGHT, so at 768px (single-column shelf)
   it ballooned to 418x650 and the tile grew to 1001px tall. Bound it so
   the art is identical across 390 / 768 / 1280.
   ══════════════════════════════════════════════════════════════════════ */
html body .pnb-pack__art{
  display:grid!important;place-items:center!important;
  width:100%!important;min-width:0!important;
  height:auto!important;max-height:none!important;
  overflow:visible!important;padding:14px 0 4px!important}
html body .pnb-pack__art img{
  display:block!important;
  width:auto!important;max-width:min(100%,220px)!important;
  height:auto!important;
  max-height:clamp(200px,32vh,280px)!important;
  object-fit:contain!important;object-position:center;
  margin:0 auto!important}
@media (min-width:768px){
  html body .pnb-pack__art img{max-width:min(100%,240px)!important;max-height:clamp(220px,26vh,300px)!important}
}
@media (min-width:1024px){
  html body .pnb-pack__art img{max-width:min(100%,200px)!important;max-height:clamp(200px,30vh,280px)!important}
}

/* the ART CONTAINER also carried aspect-ratio:3/3.9 — at 720px wide that
   forced 936px of height. Kill it; height must follow the capped image. */
html body .pnb-pack__art,
html body .pnb-pack .pack-art,
html body .pnb-pack__pulls{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important}

/* ══════════════════════════════════════════════════════════════════════
   b238 — THE ACTUAL BREAK: the art CONTAINER collapsed to height:0 while
   the <img> stayed 280px tall, so the pack artwork painted OVER the stock
   counter and the body text (measured: img 386→666 vs stock top 394).
   Give the container a real height that contains the image, and stop the
   image from overflowing its box.
   ══════════════════════════════════════════════════════════════════════ */
html body .pnb-pack__art{
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  width:100%!important;min-width:0!important;
  height:clamp(200px,32vh,280px)!important;
  min-height:clamp(200px,32vh,280px)!important;
  max-height:clamp(200px,32vh,280px)!important;
  overflow:hidden!important;
  padding:0!important;margin:0!important;
  aspect-ratio:auto!important;
  z-index:1!important}
html body .pnb-pack__art img{
  display:block!important;
  width:auto!important;max-width:100%!important;
  height:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center;
  margin:0 auto!important;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.6))!important;
  border:0!important;background:transparent!important;border-radius:0!important}
/* rows below the art must sit under it, never behind */
html body .pnb-pack__stock,html body .pnb-pack__body{
  position:relative!important;z-index:2!important}

@media (max-width:400px){
  html body .pnb-pack__art{height:clamp(180px,28vh,240px)!important;
    min-height:180px!important;max-height:240px!important}
}

/* ══════════════════════════════════════════════════════════════════════
   b239 — THE "TWO OVERLAPPING BUTTONS"
   `.pnb-pack__cta` is a WRAPPER span and `.pnb-btn--primary` is the real
   button nested inside it. My b231 rule applied the purple gradient,
   1px border and drop-shadow to BOTH, and because they occupy the exact
   same box (231x40) it rendered as two buttons stacked on top of each
   other — double border, double shadow, doubled text.
   The wrapper must be an invisible layout box ONLY.
   ══════════════════════════════════════════════════════════════════════ */
html body .pnb-pack__cta,
html body .pnb-pack > .pnb-pack__cta{
  background:none!important;
  background-image:none!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  outline:0!important;
  min-height:0!important;
  display:block!important;
  width:100%!important;min-width:0!important;
  position:relative!important;
  z-index:auto!important;
  isolation:auto!important}

/* the real button is the ONLY painted element */
html body .pnb-pack__cta .pnb-btn,
html body .pnb-pack__cta .pnb-btn--primary{
  position:relative!important;
  display:flex!important;visibility:visible!important;opacity:1!important;
  width:100%!important;height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;
  align-items:center!important;justify-content:center!important;gap:8px;
  padding:0 14px!important;margin:0!important;
  border-radius:10px!important;box-sizing:border-box!important;
  font:800 13px/1 Inter,system-ui,sans-serif!important;letter-spacing:.02em!important;
  color:#fff!important;
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

html body .pnb-pack__cta .pnb-btn::before,
html body .pnb-pack__cta .pnb-btn::after{content:none!important;display:none!important}

@media (max-width:400px){
  html body .pnb-pack__cta .pnb-btn,
  html body .pnb-pack__cta .pnb-btn--primary{height:var(--ctl-h)!important;min-height:var(--ctl-h)!important}
}

/* ══════════════════════════════════════════════════════════════════════
   b240 — "BUTTON ON BUTTON" on the packs page.
   The fixed sticky bar (`Open a pack →`, pinned bottom, z90) sat ON TOP of
   each card's own OPEN button while scrolling — measured overlap at
   bar 790→834 vs button 810→848.
   The packs page does not need a sticky CTA at all: every pack card
   already carries its own OPEN button. Remove it here and clear the
   space it occupied.
   ══════════════════════════════════════════════════════════════════════ */
/* superseded by b241 scoping below */
/* superseded by b241 scoping below */
html body main,html body .pnb-page,html body .pnb-wrap{
  padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
/* and make sure nothing else is pinned over the OPEN buttons */
html body .pnb-shelf,html body .pnb-pack{position:relative!important;z-index:1!important}
html body .pnb-pack__cta{position:relative!important;z-index:2!important}

/* ══════════════════════════════════════════════════════════════════════
   b241 — SCOPE THE STICKY-BAR HIDE CORRECTLY
   b240 hid `.pn-sticky` GLOBALLY, which also removed the sticky "Open"
   button from the PACK DETAIL page where it is the primary action.
   The sticky bar is only redundant on the PACKS LISTING (every card there
   already has its own OPEN button). That listing is the only page that
   renders `.pnb-shelf`, so scope the hide to it with :has().
   ══════════════════════════════════════════════════════════════════════ */
body:has(.pnb-shelf) .pn-sticky,
body:has(.pnb-shelf) .pn-sticky__b{display:none!important}

/* everywhere else the sticky bar is restored and must clear content */
body:not(:has(.pnb-shelf)) .pn-sticky{
  display:block!important;
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;
  z-index:90!important;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;
  background:linear-gradient(transparent,rgba(7,7,13,.96) 38%)!important;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-top:1px solid rgba(255,255,255,.08)!important}
body:not(:has(.pnb-shelf)) .pn-sticky__b{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  width:100%!important;height:var(--ctl-h-lg)!important;min-height:var(--ctl-h-lg)!important;
  padding:0 20px!important;border-radius:14px!important;box-sizing:border-box!important;
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  font:800 13px/1 Orbitron,Inter,sans-serif!important;letter-spacing:.06em!important;
  text-transform:uppercase;text-decoration:none;
  box-shadow:0 12px 30px -12px rgba(168,85,247,.82)!important}
/* the page must never end under the bar */
body:not(:has(.pnb-shelf)) main{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}

/* ══════════════════════════════════════════════════════════════════════
   b242 — the "pkm-entry" TEXT ON THE PACK.
   The pack-detail (and hero) artwork carries a `.pack-top > .tag` that
   literally prints the slug + tier: "PKM · ENTRY". The owner does not
   want any id/tag text printed on the pack box.
   Hide the tag element itself (the pack art already shows the wordmark).
   ══════════════════════════════════════════════════════════════════════ */
html body .pack-top .tag,
html body .pack-top > span.tag,
html body .pnb-pack__badge,
html body .pack-detail__pack ~ .pack-top,
html body .pack-art .pack-top,
html body .pnb-pack__art .pack-top{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  padding:0!important;margin:0!important;
  border:0!important;overflow:hidden!important}

/* keep the pack visual's spacing intact now that the band is gone */
html body .pack-visual{padding-top:0!important}
