/* =========================================================
   Polish pass: chase strip + product cards (desktop + mobile)
   ========================================================= */

/* ---------- chase: small cards ---------- */
.cc { border-color: color-mix(in srgb, var(--c, #fff) 22%, var(--line)); align-self: start; }
/* never stretch the small cards to the hero's height (left empty space under the art) */
.chase-cards { align-content: start; align-items: start; }
.cc img { display: block; }
.cc:hover { border-color: color-mix(in srgb, var(--c, #fff) 55%, transparent); }
.cc-rank {
  position: absolute; top: 7px; left: 7px; z-index: 1;
  padding: 3px 7px; border-radius: 7px; font: 800 11px/1.1 var(--head); font-style: normal; color: var(--text);
  background: rgba(6, 4, 10, .78); border: 1px solid var(--line-2);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.cc-foot { padding: 30px 8px 9px; }
.cc-foot b { font: 800 17px/1.1 var(--head); letter-spacing: -.01em; color: var(--text); }
.cc-foot b > span { margin-right: 3px; font-size: 12px !important; letter-spacing: .04em !important; vertical-align: 2px; }
.cc-foot b small { margin-left: 2px; font-size: 10px; font-weight: 700; color: var(--muted); }

/* ---------- drops: framed product cards ---------- */
.drops { position: relative; }
.drops::before {
  content: ""; position: absolute; inset: -40px -80px; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent);
}
.drop { --c: var(--pink); padding: 10px 10px 12px; border-radius: 20px; }
.drop-tag { margin: 0 0 10px; }
.drop .drop-img, .drop.tiered .drop-img {
  overflow: hidden; margin: 0 0 14px; padding-top: 118%; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line));
  background:
    radial-gradient(70% 55% at 50% 48%, color-mix(in srgb, var(--c) 28%, transparent), transparent 75%),
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -40px 50px -30px rgba(0, 0, 0, .7);
}
.drop-img img { inset: 6% 9%; width: 82%; height: 88%; }
.drop-img.k-bundle img { inset: 6% 6%; width: 88%; height: 88%; object-fit: contain; border-radius: 0; }
.drop-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .drop-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .drop-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a lone wide product (the landscape bundle box) gets a double-width card */
.drop-row > .drop:only-child { grid-column: span 2; }
.drop-row > .drop:only-child .drop-img { padding-top: 78%; }
.drop-title { margin: 0 3px; font-size: 15.5px; }
.drop-row2 { margin: 4px 3px 14px; }
.drop-row2 b { font-size: 21px; letter-spacing: -.01em; }
.drop-btns { grid-template-columns: 1fr 40px; gap: 7px; }
.dbtn { height: 40px; border-radius: 12px; font-size: 12.5px; }
.dbtn .ic { width: 15px; height: 15px; }
.dbtn-off { border-style: solid; }
.dbtn-sq { padding: 0; color: #dccbff; background: rgba(167, 123, 255, .14); border: 1px solid rgba(167, 123, 255, .42); }
.dbtn-sq:hover { background: rgba(167, 123, 255, .26); border-color: rgba(167, 123, 255, .7); }

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  /* chase: hero = card left, numbers right */
  .chase-grid { gap: 12px; }
  .chase-hero { flex-direction: row; align-items: center; gap: 16px; min-height: 0; padding: 16px; border-radius: 18px; }
  .chase-hero .ch-img { position: static; order: -1; flex: none; width: 38%; max-width: 150px; transform: rotate(-3deg); }
  .chase-hero .ch-img:hover { transform: rotate(0) scale(1.03); }
  .ch-copy { max-width: none; min-width: 0; }
  .ch-k { font-size: 9.5px; letter-spacing: .14em; }
  .ch-big { margin: 10px 0 8px; font-size: 52px; }
  .ch-big small { font-size: 15px; vertical-align: 26px; margin-left: 4px; }
  .ch-name { font-size: 16px; }
  .ch-sub { font-size: 9.5px; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ch-chips { margin-top: 10px; gap: 5px; }
  .ch-chips span { height: 26px; padding: 0 9px; font-size: 10.5px; }

  /* chase: rest = swipeable strip */
  .chase-cards {
    display: flex; grid-template-columns: none; gap: 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 2px 16px 12px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .chase-cards::-webkit-scrollbar { display: none; }
  .cc { flex: 0 0 132px; scroll-snap-align: start; }
  .cc-foot b { font-size: 15px; }

  /* drops: tighter 2-up */
  .drop { padding: 8px 8px 10px; border-radius: 16px; }
  .drop-tag { padding: 5px 8px; font-size: 10.5px; margin-bottom: 8px; }
  .drop .drop-img, .drop.tiered .drop-img { margin-bottom: 10px; border-radius: 12px; }
  .drop-title { font-size: 13.5px; }
  .drop-row2 { margin: 2px 3px 10px; }
  .drop-row2 b { font-size: 17px; }
  .drop-row2 span { font-size: 10.5px; }
  .drop-btns { grid-template-columns: 1fr 36px; gap: 6px; }
  .dbtn { height: 36px; font-size: 11.5px; border-radius: 10px; }
  .dbtn .ic { width: 13px; height: 13px; }
}

/* ---------- uniform card frames ----------
   Every card image is 5:7. Lock the frame to 5:7 with the padding trick so it
   can never shrink inside a flex column, and keep the text block aligned below. */
.cell { gap: 0; min-width: 0; }

/* odds panel: per-slot + per-pack lines */
.odd .p small { font: 600 13px var(--body); color: var(--dim); letter-spacing: 0; margin-left: 4px; }
.odd .d.pk { margin-top: 6px; color: var(--c); font-weight: 700; font-size: 12px; }
@media (max-width: 720px) { .grid:not(.binder-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cell .tilt { flex: none; width: 100%; height: 0; padding-top: 140%; aspect-ratio: auto; overflow: hidden; }
.cell .tilt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell-btn { margin-top: auto; }
.cell-row { margin-bottom: 10px; }
.cell-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc img, .bslot, .slot { aspect-ratio: 5 / 7; }
