/* Modrinth-style shop browse + product layout, in the Vexor Core look. */
.wrap.wide { max-width: 1280px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js-hidden { display: none !important; }
.browse-head h1 { font-size: clamp(32px, 4.5vw, 44px); }
.browse-head .lede { margin-bottom: 26px; }

.browse { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 18px; }
.filters-box { background: rgba(8,8,10,.62); border: 1px solid var(--border-color); border-radius: 12px; backdrop-filter: blur(8px); }
.filters-box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-weight: 600; font-size: 15px; cursor: pointer; }
.filters-box > summary::-webkit-details-marker { display: none; }
.filters-box > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); margin-left: 10px; transition: transform .15s; }
.filters-box[open] > summary::after { transform: rotate(-135deg); }
.filters-box > summary span:first-child { margin-right: auto; }
.count-pill { background: #fff; color: #000; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.filters-body { padding: 0 18px 18px; border-top: 1px solid var(--border-color); }
.facet { border: 0; margin: 0; padding: 14px 0 6px; border-bottom: 1px solid var(--border-color); }
.facet:last-of-type { border-bottom: 0; }
.facet legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding: 0; margin-bottom: 8px; }
.facet-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 8px; border-radius: 8px; cursor: pointer; color: var(--text-secondary); font-size: 14px; }
.facet-opt:hover { background: rgba(255,255,255,.05); color: #fff; }
.facet-opt input { width: 16px; height: 16px; margin: 0; accent-color: #fff; flex: none; }
.facet-opt input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.facet-label { flex: 1; }
.facet-count { color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.facet-opt.empty-opt { opacity: .4; cursor: default; }
.filters-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.facet-note { color: var(--text-muted); font-size: 12px; line-height: 1.5; margin: 14px 0 0; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 280px; margin: 0; }
.search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search input { margin: 0; padding: 11px 12px 11px 40px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.45); border-radius: 10px; font-size: 15px; width: 100%; color: #fff; font-family: inherit; }
.search input::placeholder { color: #71717a; }
.search input:focus, .sort select:focus { outline: none; border-color: rgba(255,255,255,.6); box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.sort { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-muted); font-size: 13px; }
.sort select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: #fff; background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 10px 34px 10px 12px; cursor: pointer; }
.sort select option { background: #0b0b0d; }
.view-toggle { display: flex; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; overflow: hidden; }
.view-toggle a { display: grid; place-items: center; width: 42px; height: 42px; color: var(--text-muted); }
.view-toggle a + a { border-left: 1px solid rgba(255,255,255,.16); }
.view-toggle a:hover { color: #fff; background: rgba(255,255,255,.06); }
.view-toggle a.on { color: #000; background: #fff; }
.view-toggle svg { width: 18px; height: 18px; }

.result-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 14px; color: var(--text-muted); font-size: 14px; }
.result-meta strong { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--text-secondary); background: rgba(255,255,255,.06); border: 1px solid var(--border-color); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.chip.ver-chip { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; }
a.chip.removable { color: #fff; border-color: rgba(255,255,255,.25); }
a.chip.removable:hover { background: rgba(255,255,255,.12); }

.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.result { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; background: rgba(8,8,10,.62); border: 1px solid var(--border-color); border-radius: 12px; backdrop-filter: blur(8px); transition: border-color .15s; }
.result:hover { border-color: var(--border-active); }
.result-icon img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; background: #111; border: 1px solid var(--border-color); display: block; }
.result-icon img.logo-fit, .p-icon.logo-fit { object-fit: contain; padding: 14px; }
.result-main { min-width: 0; }
.result-main h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.result-main h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.by { color: var(--text-muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.result-desc { margin: 0 0 10px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; min-width: 150px; }
.result-price .amount { font-size: 22px; font-weight: 650; letter-spacing: -.02em; display: block; line-height: 1.1; }
.result-price .per { display: block; font-size: 11px; }
.updated { color: var(--text-muted); font-size: 12px; }

.result-list.grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.result-list.grid .result { grid-template-columns: 64px minmax(0, 1fr); align-items: start; height: 100%; }
.result-list.grid .result-icon img { width: 64px; height: 64px; border-radius: 12px; }
.result-list.grid .result-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; border-top: 1px solid var(--border-color); padding-top: 12px; margin-top: auto; }
.result-list.grid .updated { display: none; }
.result-list.grid .result-desc { -webkit-line-clamp: 3; }
.empty-title { color: #fff; font-weight: 600; margin: 0 0 14px; }

/* Product page */
.crumbs { color: var(--text-muted); font-size: 14px; margin: 0 0 18px; }
.crumbs a:hover { color: #fff; }
.p-head { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px; background: rgba(8,8,10,.62); border: 1px solid var(--border-color); border-radius: 12px; backdrop-filter: blur(8px); }
.p-icon { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: #111; border: 1px solid var(--border-color); }
.p-title h1 { font-size: clamp(28px, 4vw, 40px); }
.p-title .by { margin: 4px 0 0; }
.p-summary { color: var(--text-secondary); margin: 10px 0 12px; line-height: 1.55; max-width: 70ch; }
.p-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.p-cta .amount { font-size: 28px; }
.p-cta .btn { min-width: 150px; }
.tabs { display: flex; gap: 4px; margin: 18px 0; padding: 6px; background: rgba(8,8,10,.62); border: 1px solid var(--border-color); border-radius: 12px; overflow-x: auto; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.tabs a { color: var(--text-muted); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.tabs a.on { color: #000; background: #fff; }
.tab-count { font-size: 11px; opacity: .7; margin-left: 4px; }
.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.p-section { margin-bottom: 18px; scroll-margin-top: 80px; }
.p-section h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.p-section .hero-shot { margin-top: 12px; aspect-ratio: auto; height: auto; max-height: 520px; object-fit: contain; }
.p-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 70px; }
.p-side .buy { position: static; scroll-margin-top: 80px; }
.side-box h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; color: var(--text-secondary); text-align: right; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; color: var(--text-secondary); font-size: 14px; }
.side-links a:hover { background: rgba(255,255,255,.06); color: #fff; }
.buy input[type="email"] { border-color: rgba(255,255,255,.16); }
.buy input[type="email"]:focus { outline: none; border-color: rgba(255,255,255,.6); box-shadow: 0 0 0 3px rgba(255,255,255,.14); }

@media (max-width: 900px) {
  .browse { grid-template-columns: 1fr; gap: 14px; }
  .filters { position: static; }
  .p-layout { grid-template-columns: 1fr; }
  .p-side { position: static; }
}
@media (max-width: 640px) {
  .result { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
  .result-icon img { width: 64px; height: 64px; border-radius: 12px; }
  .result-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; min-width: 0; border-top: 1px solid var(--border-color); padding-top: 12px; }
  .result-side .updated { display: none; }
  .result-main h2 .by { display: block; margin-top: 2px; }
  .toolbar .sort { flex: 1; }
  .toolbar .sort select { flex: 1; }
  .sort-label { display: none; }
  .p-head { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; gap: 14px; }
  .p-icon { width: 64px; height: 64px; border-radius: 12px; }
  .p-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; border-top: 1px solid var(--border-color); padding-top: 14px; }
  .p-cta .btn { min-width: 0; }
}
.wrap.wide ~ .site-foot .inner { max-width: 1280px; }
.facet legend { float: left; width: 100%; }
.facet legend + * { clear: both; }
.buy .actions .btn:only-child { background: #fff; color: #000; border-color: #fff; }
.buy .actions .btn:only-child:hover { background: #e4e4e7; }
.result-list.grid .by { display: block; margin-top: 2px; }
@media (max-width: 480px) { .top .brand { font-size: 15px; gap: 8px; } .top .brand img { width: 28px; height: 28px; } .top-nav { gap: 2px; } .top-nav a:not(.btn) { padding: 8px 6px; } }
.chip.tag-chip { color: #fff; background: rgba(255,255,255,.1); }
.chip.plat-chip { border-color: rgba(255,255,255,.18); }
.side-label { color: var(--text-muted); font-size: 12px; margin: 10px 0 6px; }
.side-label:first-of-type { margin-top: 0; }

/* ---------- Bundles and promo codes ---------- */
.chip.bundle-chip { color: #000; background: #fff; border-color: #fff; font-weight: 600; }
.bundle-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.bundle-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--border-color); border-radius: 10px; background: rgba(255,255,255,.03); }
.bundle-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.bundle-name a { color: #fff; }
.bundle-meta { font-size: 13px; color: var(--text-muted); }
.saving { margin: 14px 0 0; font-weight: 600; color: #4ade80; }
.prices s.was { color: var(--text-muted); font-size: 15px; margin-right: 2px; }
.promo-form { margin: 14px 0 6px; padding: 12px 0 0; border-top: 1px solid var(--border-color); }
.promo-form > label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.promo-row .btn { flex: 0 0 auto; }
.promo-note { margin: 8px 0 0; font-size: 13px; }
.promo-note.ok { color: #4ade80; }
.promo-note.ok a { color: var(--text-secondary); margin-left: 4px; }
.promo-note.error { color: #f87171; }
.buy .actions .btn[disabled] { opacity: .4; cursor: not-allowed; }
.key-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.key-list .key { margin: 4px 0 0; }
.key-name { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.your-price { margin: 6px 0 10px; padding: 10px 12px; border: 1px solid rgba(74,222,128,.35); background: rgba(74,222,128,.08); border-radius: 10px; font-size: 14px; }
.your-price strong { font-size: 17px; }
.your-price.all { border-color: var(--border-color); background: rgba(255,255,255,.04); }
.chip.owned-chip { color: #4ade80; border-color: rgba(74,222,128,.35); }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 22px 0 4px; }
.pager .pg { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border-color); color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.pager .pg.on { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.pager .pg:hover:not(.on) { border-color: var(--border-active); color: #fff; }

/* ---------- Bundles row ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin: 6px 0 12px; }
.sec-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.sec-head p { margin: 0; color: var(--text-muted); font-size: 13.5px; }
.plugins-head { margin-top: 28px; }
.bundles-row { margin-bottom: 8px; }
.bundle-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.bundle-cards .featured { grid-column: 1 / -1; }
.bcard { position: relative; display: flex; flex-direction: column; height: 100%; background: rgba(8,8,10,.7); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; backdrop-filter: blur(8px); }
.bcard-banner { display: block; background: #111; border-bottom: 1px solid var(--border-color); overflow: hidden; }
.bcard-banner img { width: 100%; height: auto; aspect-ratio: 1024 / 409; object-fit: cover; display: block; }
.bcard-banner img.logo-fit { object-fit: contain; padding: 22px; }
.featured .bcard-banner img { height: 100%; }
.featured .bcard { flex-direction: row; }
.featured .off-badge { right: auto; left: calc(52% - 92px); }
.featured .bcard-banner { flex: 0 0 52%; border-bottom: 0; border-right: 1px solid var(--border-color); }
.featured .bcard-body { justify-content: center; }
.off-badge { position: absolute; top: 10px; right: 10px; background: #4ade80; color: #04130a; font-weight: 750; font-size: 13px; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.off-badge.inline { position: static; font-size: 11px; padding: 2px 8px; box-shadow: none; vertical-align: middle; }
.bcard-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1 1 auto; min-width: 0; }
.bcard-body h3 { margin: 0; font-size: 17px; letter-spacing: -.015em; line-height: 1.25; }
.bcard-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bcard-icons { display: flex; align-items: center; gap: 10px; min-width: 0; }
.icon-stack { display: inline-flex; align-items: center; padding-left: 8px; }
.icon-stack img, .icon-stack .more { width: 30px; height: 30px; border-radius: 9px; margin-left: -8px; border: 2px solid #0b0b0d; background: #151518; object-fit: cover; display: block; }
.icon-stack img.logo-fit { object-fit: contain; padding: 4px; }
.icon-stack .more { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 650; color: var(--text-secondary); width: auto; min-width: 30px; padding: 0 6px; }
.bcard-count { font-size: 13px; color: var(--text-secondary); white-space: nowrap; }
.bcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border-color); }
.bcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.bcard-price s, .peek-price s { color: var(--text-muted); font-size: 14px; }
.bcard-price strong { font-size: 21px; letter-spacing: -.02em; }
.bcard-price .per { flex-basis: 100%; font-size: 11.5px; color: var(--text-muted); }

/* ---------- Hover peek: the card grows upwards over what's above it ---------- */
.card-wrap { position: relative; }
.result-list.grid > .card-wrap, .bundle-cards > .card-wrap { display: flex; }
.result-list.grid > .card-wrap > .result, .bundle-cards > .card-wrap > .bcard { flex: 1 1 auto; }
.peek { position: absolute; left: -4px; right: -4px; bottom: -4px; z-index: 30; display: flex; flex-direction: column; max-height: 100%; overflow: hidden;
  background: #0b0b0d; border: 1px solid var(--border-active); border-radius: 14px; box-shadow: 0 22px 50px rgba(0,0,0,.6), 0 2px 0 rgba(255,255,255,.04) inset;
  color: inherit; text-decoration: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
  min-height: 0; --grow: 96px;
  transition: max-height .24s ease, min-height .24s ease, opacity .2s ease, transform .24s ease, visibility 0s linear .24s; }
.peek-banner { display: block; flex: 0 0 auto; aspect-ratio: 1024 / 409; max-height: 170px; background: #111; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.peek-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peek-banner img.logo-fit { object-fit: contain; padding: 18px; }
.peek-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; min-width: 0; }
.peek-title { font-weight: 650; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.peek-tag { color: var(--text-secondary); font-size: 13.5px; line-height: 1.45; }
.peek-list { color: var(--text-muted); font-size: 12.5px; line-height: 1.45; }
.peek .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.peek-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border-color); padding-top: 10px; }
.peek-price strong { font-size: 18px; }
.peek-price .per { font-size: 11.5px; color: var(--text-muted); }
/* list view: banner beside the details so the panel only grows a little */
.result-list.list .peek { flex-direction: row; --grow: 64px; }
.result-list.list .peek { height: calc(100% + 8px + var(--grow)); }
.result-list.list .peek-banner { flex: 0 0 auto; height: 100%; width: auto; max-height: none; max-width: 45%; aspect-ratio: 1024 / 409; border-bottom: 0; border-right: 1px solid var(--border-color); }
.peek-bundle { --grow: 72px; }
.result-list.list .peek-body { flex: 1 1 auto; justify-content: center; }

@media (hover: hover) and (pointer: fine) {
  .card-wrap:hover, .card-wrap:focus-within { z-index: 30; }
  .card-wrap:hover > .peek, .card-wrap:focus-within > .peek {
    min-height: calc(100% + 8px + var(--grow)); max-height: 520px; opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
    transition: max-height .24s ease, min-height .24s ease, opacity .18s ease, transform .24s ease, visibility 0s;
  }
}
/* Touch screens: no hover panel, the card links straight to the product. */
@media (hover: none), (pointer: coarse) { .peek { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .peek, .card-wrap:hover > .peek, .card-wrap:focus-within > .peek { transition: none; transform: none; }
}
@media (max-width: 640px) {
  .featured .bcard { flex-direction: column; }
  .featured .bcard-banner { flex: none; border-right: 0; border-bottom: 1px solid var(--border-color); }
  .bundle-cards { grid-template-columns: 1fr; }
}
@media (hover: none), (pointer: coarse) {
  .result, .bcard { position: relative; }
  .result h2 a::after, .bcard-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .result .btn, .bcard .btn { position: relative; z-index: 2; }
}
@media (max-width: 640px) {
  .result-list.list .peek { flex-direction: column; height: auto; }
  .result-list.list .peek-banner { width: 100%; height: auto; max-width: none; border-right: 0; border-bottom: 1px solid var(--border-color); }
}

.best-badge{position:absolute;top:10px;left:10px;z-index:2;background:#f27f4f;color:#111;font-weight:700;font-size:12px;padding:3px 8px;border-radius:999px}
.best-badge.inline{position:static;display:inline-block;vertical-align:middle;margin-left:6px;font-size:11px;padding:2px 7px}

/* ---------- UX pass 28 Oct 2026: skip link, contrast, tap targets, sticky filters, plugins-first ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 12px 16px; border-radius: 10px; text-decoration: none; transition: top .15s; }
.skip-link:focus, .skip-link:focus-visible { top: 12px; outline: 2px solid #f27f4f; outline-offset: 2px; }
main:focus { outline: none; }
/* Darker scrim over the photographic background so text keeps its contrast. */
.scene::after { background: linear-gradient(180deg, rgba(5, 5, 5, .74), rgba(5, 5, 5, .62) 40%, rgba(5, 5, 5, .82)); }
/* Plugins are listed first; bundles follow. */
.plugins-head.first { margin-top: 0; }
.jump-link { color: var(--text-secondary); font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.jump-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bundles-row.after-plugins { margin-top: 32px; scroll-margin-top: 72px; }
@media (max-width: 900px) {
  /* Filters bar stays on screen while scrolling the results. */
  .filters { position: sticky; top: 0; z-index: 6; }
  .filters-box { background: rgba(8, 8, 10, .92); }
  .filters-box[open] .filters-body { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
  .filters-box > summary { min-height: 48px; }
  .bundles-row.after-plugins { scroll-margin-top: 64px; }
}
@media (max-width: 900px), (pointer: coarse) {
  /* Tap targets of at least 44 px. */
  .facet-opt { min-height: 44px; padding: 10px 8px; }
  .facet-opt input { width: 22px; height: 22px; }
  .chip.tag-chip, a.chip { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .sort select { min-height: 44px; }
  .view-toggle a { width: 44px; height: 44px; }
  .top-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .pager .pg { min-width: 44px; height: 44px; }
}
.p-cta .btn.signin-cta { white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 640px) {
  .p-cta { flex-wrap: wrap; gap: 10px 14px; }
  .p-cta .btn.signin-cta { order: 3; flex: 1 1 100%; min-height: 44px; }
}
