/*
 * Collections — the image-pack store and one pack's page.
 *
 * Deliberately its own stylesheet rather than an extension of
 * bn_private-content.css: a collection has no character, so none of that
 * file's character chrome applies, and sharing it would mean every future
 * change to one grid had to be checked against the other.
 */

/*
 * .content-area is a flex row, so this is a flex ITEM. Without `flex: 1` it
 * is shrink-to-fit, i.e. it has no definite width — and a grid sized with
 * `auto-fill` inside an indefinite container resolves to ONE column. That is
 * what made the store a single stack of enormous cards. `min-width: 0` stops
 * a long title from pushing the whole column wider than the viewport.
 */
.col-page {
  flex: 1;
  min-width: 0;
  padding: 0 16px 48px;
}

/* ── The banner ──────────────────────────────────────────────────────────── */

/*
 * Above the filters, full width of the page column.
 *
 * No aspect-ratio here: the width/height attributes on the <img> and the
 * <source> carry it, which is what lets the browser reserve the right box
 * per breakpoint before any bytes arrive. A single CSS ratio would be
 * wrong for one of the two crops.
 */
.col-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: 16px;
}

@media (max-width: 600px) {
  .col-banner { border-radius: 12px; margin-top: 10px; }
}

/* ── The bar ─────────────────────────────────────────────────────────────── */

.col-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 16px;
  /* Search on the left, style pills after it. They wrap to their own line
     before the search box gets squeezed down to a slot. */
  flex-wrap: wrap;
}

.col-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-600);
  border-radius: 10px;
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  line-height: 20px;
  padding: 9px 12px;
}

.col-search::placeholder { color: var(--neutral-400); }

.col-search:focus {
  outline: none;
  border-color: var(--purple-400, #CC95FF);
}

/* ── Art-style pills ─────────────────────────────────────────────────────── */

/*
 * Deliberately the same control as `.pc-style` on Private Content, down to
 * the outlined-not-filled selected state, rather than a lookalike. They are
 * not shared selectors because that stylesheet is loaded by exactly one
 * page; if a third page ever needs them, they move to bn_modals.css the way
 * the purchase sheets did.
 */
.col-styles {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  flex-wrap: wrap;
}

.col-style {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--neutral-700, #2a2a33);
  border-radius: 999px;
  background: var(--neutral-800, #16161c);
  color: var(--neutral-200, #e6e6ea);
  /* A <button> does not inherit the page font. Without this the row renders
     in the browser default while everything around it is Heebo. */
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.col-style:hover {
  border-color: var(--purple-400, #CC95FF);
  color: #fff;
}

/* Outlined when selected, not filled: these pills are a view you are in,
   and a filled one would be the loudest thing on a page whose whole job is
   to sell the covers underneath it. */
.col-style.on {
  border-color: var(--purple-400, #CC95FF);
  color: var(--purple-400, #CC95FF);
}

.col-style:focus-visible {
  outline: 2px solid var(--purple-400, #CC95FF);
  outline-offset: 2px;
}

.col-style-count {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  opacity: 0.55;
}

/* The files in /img/icons are black-filled, so on a near-black pill they are
   an invisible square. Flatten to black, then lift the lot to white. */
.col-style-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* Tinted to match the active label rather than left white, which would be
   the brightest pixel in a pill that is only outlined. */
.col-style.on .col-style-icon {
  filter: brightness(0) saturate(100%) invert(72%) sepia(23%)
    saturate(1226%) hue-rotate(221deg) brightness(102%) contrast(101%);
}

/* ── Detail page: what a pack adds to the album layout ───────────────────── */

/*
 * The header, badges, action bar and media grid come from
 * bn_single-album.css. Only the three things a pack has and an album does
 * not live here, so the shared furniture stays in one file.
 */

/*
 * The header must not shrink.
 *
 * `.album-content` is a column flex container, so its children shrink by
 * default when the container is height-constrained — and `.album-header`
 * is `overflow: hidden`, so shrinking does not scroll, it CLIPS. The album
 * page never meets this because an album has no description and its header
 * is short; add the description below and the badges and the whole action
 * bar disappear. One line, and the two pages stay on the same markup.
 */
.album-content .album-header { flex-shrink: 0; }

/* An album has no description; a pack is sold on one, so it gets a line
   under the title and above the badges. */
.album-desc {
  position: relative;
  z-index: 1;
  margin: 6px 0 10px;
  max-width: 62ch;
  color: var(--neutral-200, #e6e6ea);
  font-size: 14px;
  line-height: 20px;
}

/* Reads beside the item count, where an album puts the character's name. */
.album-owned-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--purple-800);
  color: var(--purple-400, #CC95FF);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

/* No avatar to hold the row's height, so the slot sets its own. */
.album-content .album-char-info { min-height: 40px; }

/* The actions wrap to a second line on a phone rather than squeezing three
   labels into one; `white-space: nowrap` on .btn-char would otherwise push
   them off the right edge. */
@media (max-width: 760px) {
  .album-content .album-character-bar { flex-wrap: wrap; }
  .album-content .album-char-actions { flex-wrap: wrap; }
}

/* ── Sort & filter panel ─────────────────────────────────────────────────── */

/*
 * The chips used to be a row on the page. That held up until a real
 * catalogue arrived carrying thirty-odd tags and the controls took three
 * lines above the fold — more room than the grid they filter. So they sit
 * behind one button, the way Private Content's do.
 */
.col-filter {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}

.col-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--neutral-700, #2a2a33);
  border-radius: 10px;
  background: var(--neutral-800, #16161c);
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s;
}

.col-filter-btn:hover { border-color: var(--purple-400, #CC95FF); }

.col-filter-btn:focus-visible,
.col-filter-row:focus-visible,
.col-chip:focus-visible,
.col-filter-clear:focus-visible {
  outline: 2px solid var(--purple-400, #CC95FF);
  outline-offset: 2px;
}

.col-filter-btn img {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* How many chips are on. Not the style pills: those are on the bar where
   you can already see them, and counting them here would be a number for
   something this panel cannot show you. */
.col-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--purple-400, #CC95FF);
  color: #000;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.col-filter-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  /* Anchored to the button's right edge, and never wider than the screen it
     is on: 320px does not fit a 375px phone once the page padding is off,
     and a panel hanging past the right edge cannot be reached. */
  width: min(320px, calc(100vw - 32px));
  /* --vhu for the same reason as .cin below: a raw vh is multiplied by
     the root zoom on a wide display. Capped at 560px, so this one only
     ever ran over on a short window, but it is the same bug. */
  max-height: min(calc(var(--vhu, 1vh) * 70), 560px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--neutral-700, #2a2a33);
  border-radius: 14px;
  background: var(--neutral-900, #0e0e12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}

.col-filter-group + .col-filter-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--neutral-700, #2a2a33);
}

.col-filter-head {
  margin: 0 0 6px;
  padding: 0 2px;
  color: var(--neutral-400, #9a9aa6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.col-filter-row {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.col-filter-row:hover { background: var(--neutral-700, #2a2a33); }

.col-filter-row.on {
  background: var(--purple-800);
  font-weight: 600;
}

/* A tick on the chosen sort, so a one-of-many choice does not rest on the
   fill colour alone. */
.col-filter-row.on::after {
  content: '\2713';
  float: right;
  color: var(--purple-400, #CC95FF);
}

.col-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 2px 2px;
}

.col-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--neutral-700, #2a2a33);
  border-radius: 999px;
  background: transparent;
  color: var(--neutral-400, #9a9aa6);
  /* A <button> does not inherit the page font. */
  font-family: 'Heebo', sans-serif;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.col-chip:hover {
  border-color: var(--purple-400, #CC95FF);
  color: #fff;
}

/* Filled when on, where `.col-style` is only outlined: a chip is a set you
   add to, a pill is the view you are in. */
.col-chip.on {
  background: var(--purple-400, #CC95FF);
  border-color: var(--purple-400, #CC95FF);
  color: #000;
  font-weight: 600;
}

.col-chip-count {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  opacity: 0.55;
}

.col-chip.on .col-chip-count { opacity: 0.6; }

.col-filter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--neutral-700, #2a2a33);
  color: var(--neutral-400, #9a9aa6);
  font-size: 12px;
}

.col-filter-clear {
  border: none;
  background: none;
  color: var(--purple-400, #CC95FF);
  font-family: 'Heebo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.col-filter-clear:disabled {
  color: var(--neutral-500, #6b6b78);
  cursor: default;
}

/* ── The grid ────────────────────────────────────────────────────────────── */

.col-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.col-card {
  display: flex;
  flex-direction: column;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Heebo', sans-serif;
  transition: border-color 0.2s, transform 0.2s;
}

.col-card:hover {
  border-color: var(--neutral-500);
  transform: translateY(-2px);
}

/* The cover and title, as one target that opens the pack. The card itself
   is a plain div because the CTA below holds a button of its own, and a
   button inside a button is markup the browser silently unpicks. */
.col-open {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.col-open:focus-visible,
.col-cta button:focus-visible {
  outline: 2px solid var(--purple-400, #CC95FF);
  outline-offset: -2px;
}

.col-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #2a2a33, #15151a);
}

.col-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.col-cover-empty { width: 100%; height: 100%; }

/* ── A card with more than one cover ──────────────────────────────────────
 *
 * The covers are stacked, not swapped: every one is in the same box and
 * only `opacity` decides which is seen, so a change is one compositor
 * property and never a layout.
 *
 * Three states, and the middle one is the whole trick:
 *
 *   .on     the cover showing now, fading in, on top
 *   .under  the one it is replacing, held at FULL opacity beneath it
 *   (none)  every other cover, transparent and out of the way
 *
 * Holding the outgoing cover opaque underneath is what keeps the fade
 * clean. Cross-fading them — one to 0 as the other goes to 1 — leaves
 * both near half in the middle, and the dark card background shows
 * through as a flicker on every single change.
 *
 * Only `.col-cover-layer` is positioned, never `.col-cover img`: the lock
 * badge is an <img> in this same box and absolute-positioning it would
 * drop it over the whole cover.
 */
.col-cover-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.75s ease;
}

.col-cover-layer.under {
  opacity: 1;
  z-index: 1;
  /* It is already opaque from its turn as `.on`; transitioning it here
     would animate it back to the value it is at. */
  transition: none;
}

.col-cover-layer.on {
  opacity: 1;
  z-index: 2;
}

/* The lock sits on the cover because a locked pack has nothing else to
   show: `images` is [] by contract, so the cover IS the card.
 *
 * In the premium amber of Private Content's crown — the same #EAB23F as
 * .pc-crown in bn_private-content.css, and the same 8px radius, so the
 * two badges read as one family across the two stores. Not a token: the
 * palette in bn_style.css has no amber, and --yellow-400 is a pale lemon
 * that disappears against the card.
 *
 * It replaces a translucent black chip that mostly read as a smudge on
 * the cover. The backdrop blur went with it — there is nothing to blur
 * behind a solid fill, and it cost a compositor layer per card on a grid
 * that runs seven wide. */
.col-lock {
  position: absolute;
  /* Above the stacked cover layers, which run z-index 0–2. */
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #EAB23F;
}

/*
 * brightness(0) rather than no filter.
 *
 * The crown's glyph ships dark (#292D32) and needs nothing, but this lock
 * ships fill="#9E9E9E" — a mid grey that on amber is neither black nor
 * legible. brightness(0) drives any colour to pure black, so it stays
 * right if the glyph is ever re-exported in another shade.
 */
.col-lock img {
  width: 12px;
  height: 12px;
  filter: brightness(0);
}

.col-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 10px;
}

.col-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  /* One line: a two-line title pushes the price out of alignment across
     the row, and the full text is on the pack's own page. */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.col-meta {
  color: var(--neutral-400);
  font-size: 11px;
  line-height: 15px;
  min-height: 15px;
}

/*
 * The tag row, under the image count.
 *
 * Spans rather than a <ul>/<li>, because this lives inside .col-open, which
 * is a <button> — a list inside a button is flow content inside phrasing
 * content, and the parser resolves that by moving the list out of the card.
 * Private Content's .pc-tags IS a list; nothing wraps it there.
 *
 * Wrapping is allowed and the row is left-aligned to the title above it
 * (.pc-tags centres, because its card centres everything). A card that
 * takes a second line of tags just makes its grid row taller, and the
 * row's cards stretch to match, so the Collect buttons stay in line.
 */
.col-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.col-tag {
  padding: 2px 7px;
  border: 1px solid var(--neutral-700);
  border-radius: 999px;
  background: var(--neutral-900);
  color: var(--neutral-400);
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  /* A tag is a label, not a paragraph: wrap the row between tags rather
     than breaking "Semi-Realistic" across two lines. */
  white-space: nowrap;
}

/* ── The call to action ──────────────────────────────────────────────────── */

/*
 * Same shape as .pc-cta on Private Content, on purpose: the two stores sit
 * one sidebar item apart and a user who has bought an album once should not
 * have to learn a second control to buy a pack.
 */
.col-cta {
  margin: 0 8px 8px;
  padding: 4px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.col-cta.locked { background: var(--purple-800); }
.col-cta.unlocked { background: var(--neutral-700); }

.col-cta button {
  width: 100%;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.col-cta button:hover:not(:disabled) { transform: translateY(-1px); }
.col-cta button:disabled { opacity: 0.6; cursor: default; }

.col-cta.locked button {
  background: var(--purple-400, #CC95FF);
  color: #000;
}

.col-cta.unlocked button {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.56);
}

.col-cta-note {
  padding: 5px 0 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--neutral-400);
}

/* ── Prices and badges ───────────────────────────────────────────────────── */

.col-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  color: #fff;
}

.col-price {
  width: 100%;
  padding: 5px 0 2px;
}

.col-price img { width: 16px; height: 16px; }

/* The old price, struck through, after the live one — same order as
   .pc-price, where the number you pay is the one you read first. */
.col-price s {
  color: var(--neutral-500);
  font-weight: 400;
  font-size: 12px;
}

.col-price-was {
  color: var(--neutral-400);
  font-weight: 400;
  margin-right: 2px;
}

/* ── States ──────────────────────────────────────────────────────────────── */

.col-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--neutral-400);
  font-size: 14px;
  line-height: 20px;
}

/* A link mid-sentence rather than a button shape: it sits in a line of body
   copy on a screen with nothing else on it, where a second call to action
   would read as the main one. */
.col-retry {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--purple-400, #CC95FF);
  text-decoration: underline;
  cursor: pointer;
}

.col-retry:hover { color: #fff; }

.col-more {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
}

.col-more button {
  background: var(--neutral-800);
  border: 1px solid var(--neutral-600);
  border-radius: 20px;
  color: var(--neutral-300);
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.col-more button:hover:not(:disabled) {
  background: var(--neutral-700);
  border-color: var(--neutral-500);
}

.col-more button:disabled { opacity: 0.7; cursor: default; }

/* ── Skeletons ───────────────────────────────────────────────────────────── */

.col-skeleton { pointer-events: none; }

.col-sk-line {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: var(--neutral-700);
}

.col-sk-short { width: 55%; }

/*
 * The filter bar while the packs load.
 *
 * Every placeholder matches the control it stands in for, because the
 * point is the bar's HEIGHT: `.col-bar` is `align-items: center` and its
 * tallest child is the 40px search box, so the bar is 12 + 40 + 16 = 68px
 * whether or not anything has arrived. Get that wrong and the grid still
 * jumps, just by less.
 *
 * The pill widths are invented — the real ones are as wide as their
 * labels, and the labels come from the packs. They only have to be
 * shorter than the search box, which keeps them off the bar's height.
 */
/*
 * The search placeholder IS a `.col-search`, disabled — so it needs no
 * size of its own, only the shimmer and no visible border.
 *
 * Sizing it by hand is what this avoids. Where the bar wraps is decided
 * on each item's flex base, and an <input>'s base is its intrinsic
 * width: a browser default that no stylesheet here knows. A hand-picked
 * number is right at some widths and off by a whole 46px row at others.
 */
.col-sk-search {
  border-color: transparent;
}

/*
 * Four pills, at the widths the four real ones come out to: All, Anime,
 * Realistic, Semi-Realistic. Measured, not guessed — on a phone the pills
 * wrap to two lines and WHERE they wrap sets the bar's height, so a
 * placeholder set that is narrower by one pill is a bar that is 42px
 * short and a grid that jumps when the labels arrive.
 *
 * Four because the style vocabulary is a fixed taxonomy, and the real row
 * is drawn only when there is more than one style to choose between.
 */
.col-sk-pill {
  flex: 0 0 auto;
  height: 34px;
  border-radius: 999px;
}

.col-sk-pill-1 { width: 48px; }
.col-sk-pill-2 { width: 92px; }
.col-sk-pill-3 { width: 84px; }
.col-sk-pill-4 { width: 140px; }

.col-sk-filter {
  /* The same push to the right as `.col-filter`, or the button lands
     mid-row and slides outward when the real bar replaces this. */
  margin-left: auto;
  flex: 0 0 auto;
  height: 34px;
  /* The real button at its default sort label, "Recommended", plus the
     chevron. It is the last item on the line, so a width that is short
     by a few px is a line that wraps one step late. */
  width: 139px;
  border-radius: 10px;
}

.col-skeleton .col-cover,
.col-photo.col-skeleton,
.col-bar-sk .col-sk-search,
.col-bar-sk .col-sk-pill,
.col-bar-sk .col-sk-filter {
  background: linear-gradient(90deg, #1b1b20 25%, #232328 37%, #1b1b20 63%);
  background-size: 400% 100%;
  animation: col-shimmer 1.4s ease infinite;
}

@keyframes col-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .col-skeleton .col-cover,
  .col-photo.col-skeleton,
  .col-bar-sk .col-sk-search,
  .col-bar-sk .col-sk-pill,
  .col-bar-sk .col-sk-filter { animation: none; }
  .col-card:hover { transform: none; }
  /* Belt and braces: the rotator already declines to tick under reduced
     motion, so this only matters if a cover is mid-fade when the setting
     changes. */
  .col-cover-layer { transition: none; }
}

/* ── One collection ──────────────────────────────────────────────────────── */

.col-detail { flex: 1; min-width: 0; padding: 0 16px 48px; }

.col-detail-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 20px;
}

.col-detail-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin: 0;
}

.col-detail-desc {
  color: var(--neutral-300);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  max-width: 68ch;
}

.col-detail-count {
  color: var(--neutral-400);
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}

.col-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.col-tag {
  background: var(--neutral-700);
  border-radius: 999px;
  color: var(--neutral-300);
  font-size: 11px;
  line-height: 16px;
  padding: 2px 10px;
}

.col-notice {
  background: var(--neutral-800);
  border: 1px solid var(--neutral-600);
  border-radius: 10px;
  color: var(--neutral-300);
  font-size: 13px;
  line-height: 18px;
  margin: 0 0 20px;
  padding: 10px 14px;
}

.col-buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 8px 0 32px;
  /*
   * Take the column's width instead of the Collect button's.
   *
   * .album-content is a centred flex COLUMN, so align-items: center is
   * the horizontal axis and every child is shrink-to-fit. That made this
   * block as wide as the widest thing in it — the button, about 200px —
   * and a percentage width on anything inside it resolved against that.
   * The old flat cover was capped the same way; `min(360px, 100%)` can
   * only ever have been 200px here. Stretching is what lets the peek
   * slider below size itself off the page rather than off a button.
   */
  align-self: stretch;
}

/* ── The locked pack's peek slider ────────────────────────────────────────
 *
 * Three cards: one centred and sharp, one either side scaled back. The
 * stage is a fixed-ratio box and every card is absolutely positioned
 * inside it, so rotating the ring only changes transforms — nothing
 * reflows, and the movement is one compositor property.
 *
 * Sizes are in percentages of the stage so the whole thing scales with
 * its column; only the stage width changes between breakpoints.
 */
.cpk {
  width: 100%;
  /* Room for the flanks at the widest the stage ever gets. */
  max-width: 560px;
  margin-inline: auto;
}

.cpk-live:focus-visible {
  outline: 2px solid var(--purple-400, #CC95FF);
  outline-offset: 6px;
  border-radius: 18px;
}

.cpk-stage {
  position: relative;
  width: 100%;
  /* The centre card is 62% of this box and 3:4, so the box has to be tall
     enough for it: 0.62 * 4/3 ≈ 0.827. */
  aspect-ratio: 1 / 0.827;
  /* The flanks are clipped by the column, not by this box — letting them
     run to the edge is what makes the ring read as continuing. */
  overflow: visible;
  /* Horizontal drags are the slider's; vertical ones are the page's. A
     phone must still be able to scroll with a finger on the cover. */
  touch-action: pan-y;
}

/*
 * The ring the cards live in, and the only thing a drag moves.
 *
 * Each slide is positioned by its own slot transform, so following the
 * pointer by moving their shared parent composes with all of them at
 * once: one property on one element per frame, rather than five
 * transforms recomputed in JS. The arrows sit outside it deliberately —
 * they are controls, and controls that slide away under the finger using
 * them are a bug.
 */
.cpk-ring {
  position: absolute;
  inset: 0;
  transition: transform 0.28s ease;
  will-change: transform;
}

/* Mid-drag the transform IS the finger; animating towards it would make
   the cards lag behind the hand. The settle back to centre on release
   keeps the transition, because the inline transform is removed in the
   same render that drops this class. */
.cpk-dragging .cpk-ring { transition: none; }

.cpk-live .cpk-stage { cursor: grab; }
.cpk-dragging .cpk-stage { cursor: grabbing; }

/* A drag across pictures otherwise ends up selecting them. */
.cpk-live .cpk-slide,
.cpk-live .cpk-slide img { user-select: none; -webkit-user-drag: none; }

.cpk-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2a33, #15151a);
  /* Padding and border reset, because a side card is a <button>. */
  padding: 0;
  border: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

.cpk-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slots. translateX is a share of the card's own width, so the overlap
   holds at every stage size. */
.cpk-slide[data-slot="0"] {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.cpk-slide[data-slot="-1"] {
  transform: translate(-108%, -50%) scale(0.82);
  opacity: 0.62;
  z-index: 2;
}

.cpk-slide[data-slot="1"] {
  transform: translate(8%, -50%) scale(0.82);
  opacity: 0.62;
  z-index: 2;
}

.cpk-live .cpk-slide:not(.is-centre) { cursor: pointer; }

.cpk-live .cpk-slide:not(.is-centre):hover,
.cpk-live .cpk-slide:not(.is-centre):focus-visible {
  opacity: 0.85;
}

/*
 * The blurred shapes: the pack continuing past what is being shown.
 *
 * A copy of whichever cover is centred, blurred past recognition and
 * dimmed, so it reads as colour and depth rather than as another
 * picture. They fill two jobs with one rule — a gap among the three real
 * slots (a one- or two-cover pack would otherwise be lopsided), and the
 * pair beyond those slots that runs off both edges.
 *
 * They inherit their slot transform from `.cpk-slide[data-slot=…]` like
 * any other card; only `-2` and `2` are new, and only the opacity and
 * the blur are theirs. `scale` on the image hides the transparent edge a
 * large blur radius leaves behind, which would otherwise show as a pale
 * halo around each shape.
 */
.cpk-ghost {
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.cpk-ghost img {
  filter: blur(18px) saturate(1.25) brightness(0.62);
  transform: scale(1.25);
}

/*
 * The outer pair, smaller and further out.
 *
 * Placed by where their CENTRE lands, not by eye. A slide sits at
 * `left: 50%` and is then translated by a share of its own width, so its
 * centre is at `0.5S + (tx + 0.5)·W` with W = 62%S. The real flanks work
 * out to ±36% of the stage from the middle; these sit at ±66%, which is
 * far enough that most of each one is past the edge. Change the slide
 * width and both numbers need recomputing.
 */
.cpk-slide[data-slot="-2"] {
  transform: translate(-156%, -50%) scale(0.62);
  z-index: 0;
  opacity: 0.34;
}

.cpk-slide[data-slot="2"] {
  transform: translate(56%, -50%) scale(0.62);
  z-index: 0;
  opacity: 0.34;
}

/* Further out means less of it, so it is blurred harder — at this size a
   softer blur starts to resolve into a recognisable body. */
.cpk-slide[data-slot="-2"] img,
.cpk-slide[data-slot="2"] img {
  filter: blur(24px) saturate(1.2) brightness(0.55);
}

/*
 * The arrows.
 *
 * Over the flanks rather than outside the stage: the stage is already as
 * wide as the column allows, and buttons added beside it would either
 * shrink the covers or push the whole thing off-centre. Above every
 * slide (the centre card is z-index 3) and outside the dragged ring, so
 * they stay put while the cards move under them.
 */
.cpk-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(16, 16, 20, 0.62);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.cpk-arrow-prev { left: 6px; }
.cpk-arrow-next { right: 6px; }

.cpk-arrow:hover {
  background: rgba(16, 16, 20, 0.86);
  border-color: rgba(255, 255, 255, 0.34);
}

.cpk-arrow:active { transform: translateY(-50%) scale(0.92); }

.cpk-arrow:focus-visible {
  outline: 2px solid var(--purple-400, #CC95FF);
  outline-offset: 2px;
}

/* The chevron: two borders on a rotated square. No new asset for a shape
   the stylesheet can draw, and it stays sharp at every zoom. */
.cpk-arrow span {
  width: 9px;
  height: 9px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 1px;
}

.cpk-arrow-prev span { transform: rotate(45deg); margin-left: 3px; }
.cpk-arrow-next span { transform: rotate(-135deg); margin-right: 3px; }

.cpk-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.cpk-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--neutral-600, #4a4a52);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cpk-dot.on {
  background: var(--purple-400, #CC95FF);
  transform: scale(1.3);
}

.cpk-dot:focus-visible {
  outline: 2px solid var(--purple-400, #CC95FF);
  outline-offset: 3px;
}

/*
 * On a phone the flanks peek past the centre rather than sitting beside
 * it: there is no room for three cards, so each one shows about 18% of
 * the stage at the screen edge.
 *
 * The offsets are not guesses. A slide is `left: 50%` then translated by
 * a share of its OWN width and scaled about its centre, so its edges land
 * at `0.5S + tx·W + 0.5W ∓ 0.5·k·W`. At W = 64% and k = 0.82 that puts
 * the left card's visible strip at 0 → 0.18S and the right card's at
 * 0.82S → S, which is why these two numbers are not mirror images of
 * each other. Change the width and both need recomputing.
 *
 * The first attempt kept the 72% centre from desktop and the flanks fell
 * almost entirely outside the viewport — a dark band at each edge that
 * read as page background rather than as a card.
 */
@media (max-width: 600px) {
  /* 0.64 × 4/3, so the box is exactly as tall as the centre card. */
  .cpk-stage { aspect-ratio: 1 / 0.853; }
  .cpk-slide { width: 64%; }

  .cpk-slide[data-slot="-1"] { transform: translate(-98%, -50%) scale(0.82); }
  .cpk-slide[data-slot="1"] { transform: translate(41%, -50%) scale(0.82); }

  /* A sliver has less area to read, so it is dimmed less. */
  .cpk-slide[data-slot="-1"],
  .cpk-slide[data-slot="1"] { opacity: 0.75; }
  .cpk-ghost { opacity: 0.62; }

  /*
   * No outer pair on a phone.
   *
   * The real flanks already run off both edges here — the right-hand one
   * is centred past the viewport — so a shape beyond them would be
   * entirely outside the screen: invisible, and still decoded and
   * blurred for every pack a thumb scrolls past.
   */
  .cpk-slide[data-slot="-2"],
  .cpk-slide[data-slot="2"] { display: none; }

  /* Tighter against the edge, and small enough to leave the cover
     itself the room on a narrow screen. */
  .cpk-arrow { width: 32px; height: 32px; }
  .cpk-arrow-prev { left: 2px; }
  .cpk-arrow-next { right: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .cpk-slide,
  .cpk-ring { transition: none; }
}

/* .col-buy-cover was the single flat cover the peek slider replaced. */

.col-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 11px 24px;
  min-width: 200px;
}

.col-buy-btn img { width: 18px; height: 18px; }

.col-buy-btn:disabled {
  opacity: 0.65;
  cursor: default;
  box-shadow: none;
}

.col-buy-btn .col-price-was { color: #6b6b73; }

.col-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.col-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--neutral-800);
}

.col-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.col-photo-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1b1b20 25%, #232328 37%, #1b1b20 63%);
  background-size: 400% 100%;
  animation: col-shimmer 1.4s ease infinite;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

/*
 * Counts, not `auto-fill`. The sidebar takes a fixed slice off the left, so
 * the grid's own width is always narrower than the viewport these queries
 * measure — tuned for that, which is why the steps sit where they do.
 *
 * Two columns is the floor, and the queries below never reach one: a single
 * column turns a browsable store into a scroll. Seven is the ceiling — past
 * about 1600px there is room for a seventh card without the covers getting
 * too small to read, and below it five keeps them legible.
 */
@media (max-width: 1600px) {
  .col-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .col-photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1280px) {
  .col-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .col-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .col-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .col-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (max-width: 600px) {
  .col-grid { gap: 8px; }
  .col-photo-grid { gap: 8px; }
}

@media (max-width: 480px) {
  .col-page, .col-detail { padding-left: 10px; padding-right: 10px; }
  .col-detail-title { font-size: 20px; line-height: 26px; }
  .col-search { max-width: none; }
}

/* ── The first-visit intro ───────────────────────────────────────────────── */

/*
 * BnCollectionsIntro. Shown once per browser, so these rules are dead
 * weight for almost every page load — about a kilobyte, in a stylesheet the
 * page already fetches. A file of its own would cost a second request or a
 * frame of unstyled modal, both worse than the kilobyte.
 *
 * z-index 1100 sits above bn_modals.css (1000). The unlock sheet can open
 * from a card behind this, and the intro must not end up underneath the
 * thing it is explaining.
 */
.cin-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  animation: cin-fade 0.18s ease-out;
}

.cin {
  position: relative;
  width: 100%;
  max-width: 480px;
  /* The card scrolls, not the page behind it — the body is locked while
     this is open, and on a short laptop window the copy runs past the
     screen.

     --vhu, not vh. The root carries a `zoom` ladder above 2000px (see the
     high-resolution block in bn_style.css), and `zoom` scales a vh along
     with everything else — so a raw `100vh` here came out 11% taller than
     the screen on a 2000px display and the card overflowed off both the
     top and the bottom. --vhu is that same 1vh pre-divided by the scale in
     force, which is why every other full-height box in this codebase is
     written this way. */
  max-height: calc(calc(var(--vhu, 1vh) * 100) - 40px);
  max-height: calc(calc(var(--dvhu, 1dvh) * 100) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #1a1a1a;
  border: 1px solid var(--neutral-700);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  font-family: 'Heebo', sans-serif;
  animation: cin-rise 0.22s ease-out;
}

.cin:focus { outline: none; }

/*
 * The scrollbar, in the house dark.
 *
 * Same 4px / --neutral-700 thumb as .content-area in bn_style.css, plus
 * the standards pair for Firefox, which has no ::-webkit pseudo-elements
 * and would otherwise keep drawing the platform's light grey bar down the
 * side of a black modal.
 *
 * `transparent` for the track rather than a colour: the card's own
 * background shows through, so the bar stays right if the modal is ever
 * restyled.
 */
.cin { scrollbar-width: thin; scrollbar-color: var(--neutral-700) transparent; }
.cin::-webkit-scrollbar { width: 4px; }
.cin::-webkit-scrollbar-track { background: transparent; }
.cin::-webkit-scrollbar-thumb { background: var(--neutral-700); border-radius: 4px; }

/* The Sort & filter panel on this page scrolls too, and was showing the
   same platform bar. */
.col-filter-menu { scrollbar-width: thin; scrollbar-color: var(--neutral-700) transparent; }
.col-filter-menu::-webkit-scrollbar { width: 4px; }
.col-filter-menu::-webkit-scrollbar-track { background: transparent; }
.col-filter-menu::-webkit-scrollbar-thumb { background: var(--neutral-700); border-radius: 4px; }

.cin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #333;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--neutral-400);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.cin-close:hover { color: #fff; border-color: var(--neutral-500); }
.cin-close:focus-visible { outline: 2px solid var(--purple-400); outline-offset: 2px; }

/* ── The mosaic ──────────────────────────────────────────────────────────── */

/*
 * Eight real covers, newest first, in two rows of four.
 *
 * `position: relative` carries the fade below, and the gradient background
 * shows through while the covers are still loading, so an empty strip reads
 * as part of the card rather than as eight grey holes.
 */
.cin-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a2a 0%, #0a1a2a 50%, #1a0a1a 100%);
}

.cin-thumb { background: #202024; overflow: hidden; }

.cin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The fade into the body, so the mosaic ends rather than stops. Over the
   images, under nothing — the close button carries its own z-index. */
.cin-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0) 35%, #1a1a1a 100%);
}

/* ── The copy ────────────────────────────────────────────────────────────── */

.cin-body { padding: 22px 24px 20px; }

.cin-kicker {
  margin: 0 0 6px;
  color: var(--purple-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cin-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.cin-title span { color: var(--purple-400); }

.cin-lede {
  margin: 0 0 20px;
  color: var(--neutral-400);
  font-size: 14px;
  line-height: 1.55;
}

.cin-lede strong { color: var(--neutral-300); font-weight: 600; }

.cin-label {
  margin: 0 0 10px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.cin-item {
  display: flex;
  flex-direction: column;
  /* A touch more room than the emoji version had: with nothing above the
     title the card is shorter, and the padding is what keeps it from
     reading as a cramped box of text. */
  padding: 14px 13px;
  border: 1px solid #222;
  border-radius: 10px;
  background: #141414;
}

/* No icon slot: see WHAT_IS_INSIDE in BnCollectionsIntro.jsx. The title
   carries the card, so it is a notch bolder than it was under an emoji. */
.cin-item-label {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 18px;
}

.cin-item-desc {
  margin-top: 2px;
  color: var(--neutral-500);
  font-size: 12px;
  line-height: 1.4;
}

.cin-how { margin: 0 0 20px; padding: 0; list-style: none; }

.cin-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #1f1f1f;
}

.cin-step:last-child { border-bottom: none; }

.cin-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple-400);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.cin-step-text {
  color: var(--neutral-400);
  font-size: 13.5px;
  line-height: 1.45;
}

.cin-step-text strong { color: #fff; font-weight: 600; }

.cin-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--neutral-700);
  border-radius: 10px;
  background: #141414;
  color: var(--neutral-400);
  font-size: 13px;
}

.cin-price strong { color: #fff; font-weight: 700; }
.cin-price-note { color: var(--purple-400); font-weight: 600; }

/*
 * The buttons ride the bottom of the scrolling card.
 *
 * Sticky rather than a shorter modal: the copy is the feature, and on a
 * 1080p laptop the card scrolls whatever is trimmed. The gradient is what
 * keeps the step underneath from appearing to end at the button edge.
 */
.cin-foot {
  position: sticky;
  bottom: 0;
  padding: 18px 0 2px;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0), #1a1a1a 18%);
}

.cin-cta {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--purple-400);
  color: #000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cin-cta:hover { background: #B97BF5; }

.cin-skip {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  color: var(--neutral-500);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.cin-skip:hover { color: var(--neutral-400); }

.cin-cta:focus-visible,
.cin-skip:focus-visible { outline: 2px solid var(--purple-400); outline-offset: 2px; }

.cin-trust {
  margin: 8px 0 0;
  color: var(--neutral-600);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@keyframes cin-fade { from { opacity: 0; } to { opacity: 1; } }

@keyframes cin-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cin-overlay, .cin { animation: none; }
}

/*
 * Phones. The overlay loses its padding so the card can use the full width,
 * and the mosaic loses a row — at 360px four columns of cover are 88px
 * each, and two rows of that is a third of the screen before a word of the
 * explanation. One row of four, shorter, leaves the heading above the fold.
 */
@media (max-width: 520px) {
  .cin-overlay { padding: 0; align-items: flex-end; }

  .cin {
    max-width: none;
    max-height: calc(var(--vhu, 1vh) * 92);
    max-height: calc(var(--dvhu, 1dvh) * 92);
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }

  /* Both rows survive on a phone, at a height that keeps the heading
     above the fold: 180px of an 812px screen is a fifth of it, and four
     92px tiles at 88px tall is still a recognisable crop. */
  .cin-strip { height: 180px; }
  .cin-body { padding: 18px 16px 16px; }
  .cin-title { font-size: 21px; }
  .cin-grid { gap: 8px; }
  .cin-item { padding: 11px; }
  .cin-item-desc { font-size: 11.5px; }
}

/* Very narrow: one "what's inside" card per row. Two of them side by side
   at 320px leaves about 130px each, and every description breaks to four
   lines, which is taller than stacking them. */
@media (max-width: 360px) {
  .cin-grid { grid-template-columns: 1fr; }
}
