/* Kaptain Stream: the Stream badges screen in Profile Studio (badge-library.js), in the Screening Room look: sections split by
   space, lists on one surface split by hairlines, one mint action. */
.bl-body {
  scrollbar-gutter: stable;
}
/* Scoped to the overlay so it outranks the 38px small-button rule in studio-mint.css. */
.bl-tap,
#profile-studio-overlay .bl-tap {
  min-height: 44px;
}

/* Title column: the looks, the community sets and the Advanced switch under the intro. It scrolls with the page, since
   an open community list is taller than a window. */
.bl-aside {
  margin-top: 26px;
}
@media (min-width: 1100px) {
  #ps-content[data-screen='badges'] > .ps-body:has(> .scr-col) > .ps-page-head {
    position: static;
  }
}
.bl-h2 {
  margin: 0 0 10px 4px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--scr-text-3, #8b93a3);
}
.bl-looks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bl-community-head,
.bl-fold-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
}
.bl-card-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.bl-card.is-on {
  background: rgba(0, 245, 160, 0.07);
  box-shadow: inset 0 0 0 1.5px rgba(0, 245, 160, 0.6);
}
.bl-community,
.bl-fold {
  margin-top: 8px;
  border-radius: 16px;
  background: var(--scr-fill, rgba(255, 255, 255, 0.04));
}
:is(.bl-community-head, .bl-fold-head) {
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
:is(.bl-community-head, .bl-fold-head)::-webkit-details-marker {
  display: none;
}
:is(.bl-community-head, .bl-fold-head) .bl-card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #c7ccd6;
}
:is(.bl-community-head, .bl-fold-head):focus-visible {
  outline: 2px solid var(--scr-mint, #00f5a0);
  outline-offset: 2px;
}
.bl-chev {
  flex: none;
  color: #5d6576;
  transition: transform 0.25s var(--scr-ease, ease);
}
:is(.bl-community, .bl-fold)[open] .bl-chev {
  transform: rotate(90deg);
}
.bl-fold-body {
  padding: 0 16px 18px;
}
.bl-community > :not(summary) {
  margin-left: 12px;
  margin-right: 12px;
}
.bl-community > .bl-note {
  margin-bottom: 14px;
}
.bl-community .bl-gallery {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.bl-community .bl-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
.bl-adv-row {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding-left: 4px;
}
.bl-adv-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  color: var(--scr-text, #fff);
  cursor: pointer;
}
.bl-adv-switch input,
.bl-check input,
.bl-switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--scr-mint, #00f5a0);
}

/* Sections */
.bl-sec {
  margin: 0 0 44px;
}
.bl-h {
  margin: 0 0 14px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--scr-text, #fff);
}
.bl-subhead {
  margin: 22px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--scr-text-3, #8b93a3);
}
.bl-quiet,
.bl-note,
.bl-card-line {
  color: var(--scr-text-3, #8b93a3);
  font-size: 13px;
  line-height: 1.45;
}
.bl-note {
  margin: 8px 0 0;
  max-width: 62ch;
}

/* Fields */
.bl-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--scr-text-2, #b4bac6);
}
.bl-input {
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid var(--scr-line, rgba(255, 255, 255, 0.07));
  border-radius: 12px;
  background: var(--scr-fill, rgba(255, 255, 255, 0.04));
  color: var(--scr-text, #fff);
  font: inherit;
  font-weight: 500;
}
.bl-input::placeholder {
  color: var(--scr-text-3, #8b93a3);
}
.bl-input:focus-visible {
  outline: 2px solid var(--scr-mint, #00f5a0);
  outline-offset: 1px;
}
.bl-mono {
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.bl-seg,
.bl-row-actions,
.bl-adv-move,
.bl-own-actions,
.bl-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bl-seg {
  margin-bottom: 12px;
}

/* Grouped lists: one surface, hairlines between rows. */
.bl-list,
.bl-streams,
.bl-warnings {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--scr-fill, rgba(255, 255, 255, 0.04));
}
.bl-list > li + li,
.bl-streams > li + li {
  box-shadow: inset 0 1px 0 var(--scr-line, rgba(255, 255, 255, 0.07));
}
.bl-group + .bl-group .bl-subhead {
  margin-top: 26px;
}

/* Preview: a pretend Nuvio stream list in a screen frame, pinned above the wall on wide screens so every tap shows. */
.bl-preview {
  margin-bottom: 26px;
}
.bl-preview-in {
  padding: 8px;
  border-radius: 20px;
  background: #15181f;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 60px -36px rgba(0, 0, 0, 0.9);
}
.bl-preview .bl-h2 {
  margin: 8px 0 8px 10px;
}
.bl-preview .bl-streams {
  border-radius: 13px;
  background: #0a0c11;
}
.bl-preview #bl-title-add {
  margin: 6px 0 0 4px;
}
/* Pinned flush with the top of the scroll area: -48px undoes the page's top padding, which sticky positions measure from. */
@media (min-width: 1100px) {
  .bl-preview {
    position: sticky;
    top: -48px;
    z-index: 4;
    padding-top: 10px;
    margin-top: -10px;
    background: var(--scr-ground, #07080b);
  }
  .bl-preview::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
    background: linear-gradient(var(--scr-ground, #07080b), transparent);
    pointer-events: none;
  }
}
.bl-stream {
  display: grid;
  gap: 8px;
  padding: 12px 16px 14px;
}
@media (min-width: 1100px) {
  .bl-stream {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 6px 16px;
    min-height: 48px;
  }
}

/* The badge wall: one row per kind, the kind's name on the left and its badges as chips. A badge is only its picture,
   lit when on and dimmed when off, so the wall reads like the stream list it changes. */
.bl-group {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 8px 0;
}
.bl-group + .bl-group {
  margin-top: 0;
  box-shadow: inset 0 1px 0 var(--scr-line, rgba(255, 255, 255, 0.07));
}
.bl-group > .bl-subhead,
.bl-group + .bl-group .bl-subhead {
  margin: 15px 0 0 4px;
}
@media (max-width: 640px) {
  .bl-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .bl-group > .bl-subhead,
  .bl-group + .bl-group .bl-subhead {
    margin-top: 10px;
  }
}
.bl-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bl-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 46px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--scr-text-3, #8b93a3);
  font: inherit;
  cursor: pointer;
  transition:
    background 0.2s var(--scr-ease, ease),
    box-shadow 0.2s var(--scr-ease, ease),
    transform 0.2s var(--scr-ease, ease);
}
.bl-tile:hover {
  background: var(--scr-fill, rgba(255, 255, 255, 0.04));
}
.bl-tile:active {
  transform: scale(0.96);
}
/* Lifted above the picture: a dimmed (off) picture's opacity gives it its own layer, which would otherwise sit on top. */
.bl-tile input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.bl-tile:has(input:focus-visible),
.bl-tile-add:focus-visible {
  outline: 2px solid var(--scr-mint, #00f5a0);
  outline-offset: 2px;
}
.bl-tile .bl-pic {
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  opacity: 0.3;
  filter: grayscale(1);
  transition:
    opacity 0.2s var(--scr-ease, ease),
    filter 0.2s var(--scr-ease, ease);
}
.bl-tile:hover .bl-pic {
  opacity: 0.6;
}
.bl-tile .bl-badge-img {
  max-width: 100%;
}
.bl-tile.is-on {
  background: rgba(0, 245, 160, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.3);
}
.bl-tile.is-on .bl-pic {
  opacity: 1;
  filter: none;
}
.bl-tile.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.bl-tile-add {
  flex-direction: row;
  gap: 6px;
  padding: 0 14px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--scr-text-3, #8b93a3);
}
.bl-tile-add:hover {
  color: var(--scr-text, #fff);
  box-shadow: inset 0 0 0 1.5px rgba(0, 245, 160, 0.5);
}
.bl-wall-sec .bl-more > .bl-note {
  margin-bottom: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .bl-tile,
  .bl-tile .bl-pic,
  .bl-chev,
  .bl-look,
  .bl-look-mark {
    transition: none;
  }
  .bl-wiz-panel.is-entering {
    animation: none;
  }
}
/* The stream name reads as plain text and only shows it can be edited on hover or focus. Scoped to the overlay so it
   outranks Studio's own input box. */
#profile-studio-overlay .bl-stream-title {
  min-height: 36px;
  margin: 0 -8px;
  width: calc(100% + 16px);
  padding: 4px 8px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--scr-text-2, #b4bac6);
  font-size: 14px;
  font-weight: 500;
}
#profile-studio-overlay .bl-stream-title:hover,
#profile-studio-overlay .bl-stream-title:focus-visible {
  background: rgba(255, 255, 255, 0.05) !important;
}
.bl-stream-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 24px;
}
/* Nuvio's chip, scaled up 1.25x for the page: 20dp high with 3dp side padding, the picture 16dp high and 34-92dp wide. */
.bl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 4px;
  border-radius: 5px;
}
.bl-badge-img {
  display: block;
  height: 20px;
  width: auto;
  min-width: 0;
  max-width: 115px;
  object-fit: contain;
}
.bl-badge-text {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--scr-line, rgba(255, 255, 255, 0.07));
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--scr-text-2, #b4bac6);
}

/* Start from: a gallery of sets. */
.bl-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.bl-card {
  display: grid;
  align-content: start;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--scr-fill, rgba(255, 255, 255, 0.04));
  color: var(--scr-text, #fff);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    background 0.2s var(--scr-ease, ease),
    box-shadow 0.2s var(--scr-ease, ease);
}
.bl-card:hover {
  background: var(--scr-fill-2, rgba(255, 255, 255, 0.07));
}
.bl-card:focus-visible {
  outline: 2px solid var(--scr-mint, #00f5a0);
  outline-offset: 2px;
}
.bl-card.is-on {
  box-shadow: inset 0 0 0 2px var(--scr-mint, #00f5a0);
}
.bl-card-name {
  font-weight: 700;
  font-size: 15px;
}
.bl-card-pics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.bl-card-pics img {
  height: 20px;
  width: auto;
}
.bl-gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.bl-search {
  flex: 0 1 280px;
  margin: 14px 0 10px;
}
.bl-empty {
  padding: 16px 0;
  color: var(--scr-text-3, #8b93a3);
}

/* Badges: tick rows. */
.bl-check label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 18px;
  cursor: pointer;
}
.bl-check-name {
  font-weight: 600;
  color: var(--scr-text, #fff);
}
.bl-check.is-off .bl-pic {
  opacity: 0.35;
}
.bl-pic {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
}
.bl-pic-lg .bl-chip {
  height: 36px;
}
.bl-pic-lg .bl-badge-img {
  height: 28px;
}
.bl-more {
  margin-top: 18px;
}
.bl-more > summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--scr-mint, #00f5a0);
}

/* Your own badge */
.bl-own {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
}
.bl-own.is-off .bl-pic {
  opacity: 0.35;
}
.bl-own-text {
  display: grid;
  flex: 1 1 180px;
  gap: 2px;
}
.bl-own-form {
  display: grid;
  gap: 22px;
  margin-top: 16px;
}
.bl-own-fields {
  display: grid;
  gap: 14px;
}
.bl-own-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
@media (min-width: 760px) {
  .bl-own-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .bl-own-side {
    flex-direction: column;
    align-items: stretch;
    min-width: 160px;
  }
  .bl-own-side .bl-pic {
    justify-content: center;
    min-height: 44px;
  }
}

/* Advanced */
.bl-adv {
  display: grid;
  gap: 10px;
  padding: 14px 18px 18px;
}
.bl-adv.is-off .bl-pic {
  opacity: 0.35;
}
.bl-adv-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.bl-adv-top .bl-check-name {
  flex: 1 1 140px;
}
.bl-adv-pair {
  display: grid;
  gap: 10px;
}
@media (min-width: 760px) {
  .bl-adv-pair {
    grid-template-columns: minmax(0, 1fr) 200px;
  }
}
.bl-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.bl-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 18px;
}
.bl-slot-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  flex: 1 1 160px;
}
.bl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scr-mint, #00f5a0);
}
.bl-warnings li {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--scr-text-2, #b4bac6);
}

/* The bar: what Apply will do, and the one mint button. */
.bl-bar {
  flex-wrap: wrap;
}
.bl-bar .scr-bar-text {
  flex: 1 1 260px;
  line-height: 1.45;
}
.bl-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.bl-review {
  display: grid;
  flex: 1 1 260px;
  gap: 10px;
  min-width: 0;
  color: var(--scr-text, #fff);
  font-size: 14px;
  line-height: 1.45;
}
.bl-review p {
  margin: 0;
  max-width: 62ch;
}
.bl-review strong {
  font-weight: 600;
}
.bl-bar-more {
  color: var(--scr-text-3, #8b93a3);
}

/* On a phone the same bar is Studio's action footer under the page (both screens render it there), so it is always in
   reach and the "View my collection" button rides above it. On wider screens Studio docks it the same way
   (collections-core.js dockChangeBar). */
.ps-actions-footer:is(.bl-bar, .ss-bar) {
  gap: 10px;
}
.ps-actions-footer:is(.bl-bar, .ss-bar) :is(.scr-bar-text, .bl-review) {
  flex: 1 1 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #c7ccd6;
}
.ps-actions-footer:is(.bl-bar, .ss-bar) :is(.scr-bar-text, .bl-review) strong {
  color: var(--scr-text, #fff);
}
.ps-actions-footer.bl-bar .bl-bar-actions {
  flex: 1 1 100%;
}
/* Auto stream select's footer is one row on a phone: the short sentence beside Turn on. */
.ps-actions-footer.ss-bar {
  flex-wrap: nowrap;
}
.ps-actions-footer.ss-bar .scr-bar-text {
  flex: 1 1 auto;
}
.ps-actions-footer.ss-bar .ss-bar-more {
  display: none;
}
#profile-studio-overlay .ps-actions-footer.ss-bar .ps-btn {
  flex: none;
}
/* The floating "View my collection" button rides above each footer's real height. */
html:has(.ps-actions-footer.ss-bar) {
  --kcv-offset: 92px;
}
html:has(.ps-actions-footer.bl-bar) {
  --kcv-offset: 120px;
}
html:has(.ps-actions-footer.bl-bar .bl-review) {
  --kcv-offset: 176px;
}
.ps-actions-footer.bl-bar .bl-bar-actions .scr-bar-go {
  flex: 1;
}
.bl-choose {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 4px;
}
.bl-choose legend {
  margin-bottom: 6px;
  font-weight: 600;
}
.bl-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.bl-review > .bl-tap {
  justify-self: start;
}

/* ---- The two-step flow (Look, then Badges), laid out like Auto stream select and the Create Folder wizard: the
   question and step dots in a narrow column, the answers beside it, Back and Next in the bar. ---- */
#profile-studio-overlay .bl-body.bl-wiz .ps-page-title {
  font:
    700 1.05rem/1.3 Outfit,
    Inter,
    sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none;
  color: var(--scr-text-2, #b4bac6);
}
.bl-wiz .bl-aside {
  margin-top: 0;
}
.bl-wiz .bl-adv-row {
  margin-top: 26px;
}
@media (min-width: 1100px) {
  #ps-content[data-screen='badges'] > .ps-body.bl-wiz:has(> .scr-col) {
    grid-template-columns: minmax(240px, 300px) minmax(0, 760px);
    column-gap: clamp(32px, 5vw, 72px);
    justify-content: center;
  }
  /* The answers start level with the question, not below it. */
  #ps-content[data-screen='badges'] > .ps-body.bl-wiz > .scr-col {
    padding-top: 40px;
  }
}
@media (max-width: 1099px) {
  .bl-wiz-panel {
    margin-top: 22px;
  }
}
.bl-wiz-panel.is-entering {
  animation: ss-step-in 0.3s var(--scr-ease, ease);
}
.bl-wiz-panel.is-entering[data-dir='back'] {
  animation-name: ss-step-back;
}

/* Step 1: a look is a card with the sample streams drawn in it, the round mark on the right as in the other wizards. */
.bl-looks {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 12px;
}
.bl-card.bl-look {
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #151923;
  transition:
    border-color 0.2s var(--scr-ease, ease),
    background 0.2s var(--scr-ease, ease),
    transform 0.2s var(--scr-ease, ease);
}
.bl-card.bl-look:hover {
  border-color: rgba(0, 245, 160, 0.4);
  transform: translateY(-1px);
}
.bl-card.bl-look.is-on {
  border-color: rgba(0, 245, 160, 0.65);
  background: rgba(0, 245, 160, 0.07);
  box-shadow: none;
}
.bl-look-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.bl-look .bl-card-name {
  font:
    700 1.05rem Outfit,
    Inter,
    sans-serif;
}
.bl-look-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition:
    border-color 0.2s var(--scr-ease, ease),
    background 0.2s var(--scr-ease, ease),
    box-shadow 0.2s var(--scr-ease, ease);
}
.bl-look.is-on .bl-look-mark {
  border-color: var(--scr-mint, #00f5a0);
  background: var(--scr-mint, #00f5a0);
  box-shadow: inset 0 0 0 4px #10241d;
}
/* One shelf of badges per card: the style's sample eight, a preset's whole list, or a community set's first few. */
.bl-shelf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 14px;
  border-radius: 12px;
  background: #0a0c11;
}
.bl-shelf .bl-chip {
  flex: none;
  height: 28px;
  padding: 0;
}
.bl-shelf .bl-badge-img {
  height: 24px;
  max-width: 140px;
}

/* The bar: Back on the left, one short line, the one mint button. The fuller sentence waits behind the (i). */
.bl-bar .bl-prev {
  flex: none;
  padding: 0 18px;
}
.bl-review p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 4px;
}
.bl-info {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -12px -6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.bl-info > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font:
    700 12px/1 Inter,
    sans-serif;
  color: var(--scr-text-3, #8b93a3);
}
.bl-info:hover > span,
.bl-info[aria-expanded='true'] > span {
  color: var(--scr-text, #fff);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.55);
}
.bl-info:focus-visible {
  outline: 2px solid var(--scr-mint, #00f5a0);
  outline-offset: -6px;
  border-radius: 50%;
}
.bl-review .bl-bar-more {
  flex-basis: 100%;
  font-size: 13px;
}
/* The floating collection button would sit on this screen's bar. */
html:has(#ps-content[data-screen='badges']) .kcv-pill {
  display: none;
}

/* Step 1: Kaptain's styles or the community sets, one segmented switch above the cards. */
.bl-source {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--scr-fill, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 100%;
}
.bl-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9aa3b2;
  font:
    600 14px Inter,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.2s var(--scr-ease, ease),
    color 0.2s var(--scr-ease, ease);
}
.bl-source-btn:hover {
  color: #e6e9ef;
}
.bl-source-btn[aria-pressed='true'] {
  background: #1f2531;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.45);
}
.bl-source-btn:focus-visible {
  outline: 2px solid var(--scr-mint, #00f5a0);
  outline-offset: 2px;
}
.bl-source-n {
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #c7ccd6;
}
.bl-wiz .bl-search {
  display: block;
  margin-bottom: 12px;
}
