/* Power Rankings Builder — mockup-matched light ladder */

.prb-page {
  --prb-blue: var(--fh-accent, #00a3ff);
  --prb-navy: #0b1f3a;
  --prb-muted: #5b6b7c;
  --prb-line: rgba(11, 31, 58, 0.1);
  --prb-up: #12a15a;
  --prb-down: #d64545;
  --prb-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --prb-body: Inter, system-ui, sans-serif;
  margin: 0 auto;
  max-width: 1280px;
  font-family: var(--prb-body);
  color: var(--prb-navy);
}

.prb-board {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(240px, 280px);
  gap: 1.1rem 1.25rem;
  padding: 1.25rem 1.2rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ff-surface, #f4f8fd) 0%, var(--ff-surface-sunken, #eef3f9) 100%);
  border: 1px solid var(--prb-line);
}

/* Expanded HQ sidebar: compact banner at top. Collapsed: full left hero rail. */
@media (min-width: 768px) {
  .hq-layout:not(.hq-sidebar-collapsed) .prb-board {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    grid-template-areas:
      "hero hero"
      "board side"
      "foot foot";
    gap: 0.85rem 1rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand {
    grid-area: hero;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
    padding: 0.85rem 1.1rem;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__lockup {
    flex-shrink: 0;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__icon {
    width: 34px;
    height: 34px;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__wordmark-title {
    font-size: 0.95rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__domain {
    font-size: 0.62rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__copy {
    min-width: 0;
    flex: 1 1 220px;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__kicker {
    margin-bottom: 0.1rem;
    font-size: 0.62rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__title {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    line-height: 1;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__title-big,
  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__title-builder {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__title-builder {
    color: #4da3ff;
    -webkit-text-fill-color: #4da3ff;
    background: none;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__sub {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__actions {
    flex: 0 1 auto;
    min-width: 200px;
    max-width: 280px;
    margin-left: auto;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-features,
  .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__playbook,
  .hq-layout:not(.hq-sidebar-collapsed) .prb-creator-credit {
    display: none;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-main {
    grid-area: board;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-side {
    grid-area: side;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .prb-footer {
    grid-area: foot;
  }
}

.prb-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  min-width: 0;
  align-self: stretch;
  height: 100%;
  border-radius: 18px;
  padding: 1.1rem 1.05rem 0;
  color: #eaf2ff;
  background:
    radial-gradient(420px 260px at 110% 0%, rgba(37, 116, 235, 0.55), transparent 65%),
    radial-gradient(300px 300px at -20% 110%, rgba(24, 89, 189, 0.5), transparent 60%),
    linear-gradient(165deg, #0c2450 0%, #0a1e3d 55%, #081831 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px -22px rgba(8, 24, 49, 0.9);
}

.prb-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #cfe0f7;
}

.prb-brand__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.prb-brand__wordmark-title {
  font-family: var(--prb-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: #f4f8ff;
}

.prb-brand__hq {
  color: #4da3ff;
}

.prb-brand__domain {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #7fb3f5;
}

.prb-brand .prb-fantasy {
  color: #f4f8ff;
}

.prb-brand__copy {
  min-width: 0;
}

.prb-brand__kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fb3f5;
  margin-bottom: 0.25rem;
}

.prb-brand__title {
  margin: 0 0 0.45rem;
  display: grid;
  gap: 0.08rem;
  line-height: 0.92;
}

.prb-brand__title-big,
.prb-brand__title-builder {
  font-family: var(--prb-display);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prb-brand__title-big {
  color: #f4f8ff;
}

.prb-brand__title-builder {
  background: linear-gradient(100deg, #4da3ff 10%, #9cc9ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.prb-brand__sub {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #a9c2e6;
}

.prb-brand__sub .prb-tip--inline {
  border-bottom-color: rgba(127, 179, 245, 0.55);
  color: #dcebff;
}

.prb-features {
  list-style: none;
  margin: 0.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.prb-features > li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: flex-start;
  border-radius: 10px;
  padding: 0.1rem 0.15rem;
  outline: none;
}

.prb-features > li:hover {
  background: rgba(77, 163, 255, 0.1);
}

.prb-features__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(77, 163, 255, 0.16);
  color: #7fb3f5;
  border: 1px solid rgba(77, 163, 255, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.prb-features__icon svg {
  width: 15px;
  height: 15px;
}

.prb-features__copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.prb-features__copy strong {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dcebff;
  line-height: 1.15;
}

.prb-features__copy > span {
  display: block;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #8aa6cf;
}

.prb-brand .prb-info {
  background: rgba(255, 255, 255, 0.12);
  color: #a9c2e6;
  opacity: 0.75;
}

.prb-brand .prb-features > li:hover .prb-info,
.prb-brand .prb-info:hover,
.prb-brand .prb-info:focus-visible {
  background: #4da3ff;
  color: #fff;
  opacity: 1;
}

.prb-tip {
  position: relative;
  cursor: help;
}

.prb-tip--inline {
  display: inline;
  border-bottom: 1px dotted rgba(11, 31, 58, 0.35);
  font-weight: 700;
}

.prb-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 30;
  width: max-content;
  max-width: min(260px, 70vw);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: var(--prb-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.prb-tip::before {
  content: "";
  position: absolute;
  z-index: 31;
  border: 6px solid transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

/* Feature rows: open to the right into the board */
.prb-features > .prb-tip::after {
  left: calc(100% + 12px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.prb-features > .prb-tip::before {
  left: calc(100% + 0px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-right-color: var(--prb-navy);
  border-top-color: transparent;
}

.prb-brand__sub .prb-tip::after {
  left: 0;
  right: auto;
  bottom: calc(100% + 10px);
  top: auto;
  transform: none;
}

.prb-brand__sub .prb-tip::before {
  left: 16px;
  bottom: calc(100% + 4px);
  top: auto;
  transform: none;
  border-top-color: var(--prb-navy);
  border-right-color: transparent;
}

.prb-tip:hover::after,
.prb-tip:hover::before,
.prb-tip:focus-visible::after,
.prb-tip:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.prb-tip--below::after {
  left: 50%;
  top: calc(100% + 10px);
  bottom: auto;
  transform: translateX(-50%);
}

.prb-tip--below::before {
  left: 50%;
  top: calc(100% + 4px);
  bottom: auto;
  transform: translateX(-50%);
  border-top-color: transparent;
  border-bottom-color: var(--prb-navy);
  border-right-color: transparent;
}

/* Info tip icon (hover to reveal) */
.prb-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  margin-left: 0.28rem;
  vertical-align: middle;
  border: none;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.08);
  color: var(--ff-text-muted, #6b7790);
  cursor: help;
  flex-shrink: 0;
  opacity: 0.55;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.prb-info svg {
  width: 0.72rem;
  height: 0.72rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.prb-card__label:hover .prb-info,
.prb-main__head h2:hover .prb-info,
.prb-grid-label:hover .prb-info,
.prb-share__label:hover .prb-info,
.prb-features__copy strong:hover .prb-info,
.prb-pro-brand__title:hover .prb-info,
.prb-info:hover,
.prb-info:focus-visible {
  opacity: 1;
  background: var(--prb-blue);
  color: #fff;
  outline: none;
  transform: scale(1.06);
}

.prb-info::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  z-index: 40;
  width: max-content;
  max-width: min(260px, 70vw);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: var(--prb-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.prb-info::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  z-index: 41;
  border: 6px solid transparent;
  border-top-color: var(--prb-navy);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.prb-info:hover::after,
.prb-info:hover::before,
.prb-info:focus-visible::after,
.prb-info:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.prb-info--below::after {
  bottom: auto;
  top: calc(100% + 10px);
}

.prb-info--below::before {
  bottom: auto;
  top: calc(100% + 4px);
  border-top-color: transparent;
  border-bottom-color: var(--prb-navy);
}

.prb-card__label,
.prb-share__label,
.prb-grid-label,
.prb-main__head h2,
.prb-pro-brand__title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.prb-features > li:hover .prb-info {
  opacity: 1;
}

.prb-playbook__tip {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
}

.prb-playbook__tip .prb-info {
  opacity: 0.7;
  background: var(--ff-surface-raised, #fff);
  box-shadow: 0 1px 4px rgba(11, 31, 58, 0.12);
}

.prb-playbook:hover .prb-info,
.prb-playbook__tip .prb-info:hover,
.prb-playbook__tip .prb-info:focus-visible {
  opacity: 1;
}

.prb-playbook {
  margin-top: 0.35rem;
  min-height: 0;
  height: 168px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 70%, rgba(0, 163, 255, 0.1), transparent 48%),
    linear-gradient(180deg, var(--ff-surface-raised, #fbfdff) 0%, var(--ff-surface-sunken, #fff) 100%);
  border: 1px solid rgba(11, 31, 58, 0.1);
  position: relative;
  overflow: visible;
  display: grid;
  place-items: center;
  padding: 0.45rem 0.45rem 0.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  cursor: default;
}

.prb-playbook__art {
  width: 100%;
  max-width: 248px;
  height: 152px;
  display: block;
}

.prb-brand__playbook {
  margin-top: auto;
  margin-left: -1.05rem;
  margin-right: -1.05rem;
  margin-bottom: 0;
  padding-top: 0.75rem;
  flex-shrink: 0;
  position: relative;
}

.prb-brand__playbook .prb-playbook {
  margin-top: 0;
  min-height: 0;
  height: auto;
  border-radius: 0 0 18px 18px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 70%, rgba(0, 163, 255, 0.1), transparent 48%),
    linear-gradient(180deg, var(--ff-surface-raised, #fbfdff) 0%, var(--ff-surface-sunken, #fff) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.55rem 0.65rem;
  display: grid;
  place-items: center;
}

.prb-brand__playbook .prb-playbook__art {
  width: 100%;
  max-width: 248px;
  height: 152px;
  display: block;
}

.prb-brand__actions {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.prb-brand .prb-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 179, 245, 0.35);
  color: #dcebff;
}

.prb-brand .prb-btn--primary {
  background: #4da3ff;
  border-color: #4da3ff;
  color: #061428;
}

.prb-brand .prb-btn--ghost:hover {
  border-color: rgba(157, 201, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.prb-brand .prb-btn.is-active {
  background: #f4f8ff;
  border-color: #f4f8ff;
  color: var(--ff-heading, #0a1e3d);
}

.prb-brand .prb-creator-credit {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 179, 245, 0.28);
}

.prb-brand .prb-creator-credit__copy strong {
  color: #f4f8ff;
}

.prb-brand .prb-creator-credit__with {
  color: #a9c2e6;
}

.prb-btn {
  appearance: none;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--ff-surface-raised, #fff);
  color: var(--prb-navy);
  white-space: nowrap;
}

.prb-btn--reset {
  width: 100%;
  justify-self: stretch;
}

.prb-conf-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  min-width: 0;
  padding: 0.3rem;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(127, 179, 245, 0.16);
}

.prb-conf-seg .prb-btn {
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.4rem;
  text-align: center;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

.prb-btn--primary {
  background: var(--prb-blue);
  border-color: var(--prb-blue);
  color: #fff;
}

.prb-btn.is-active {
  background: var(--prb-navy);
  border-color: var(--prb-navy);
  color: #fff;
}

.prb-btn--ghost:hover {
  border-color: rgba(11, 31, 58, 0.28);
}

.prb-main {
  min-width: 0;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--prb-line);
  border-radius: 14px;
  padding: 0.9rem 0.85rem 0.95rem;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.05);
}

.prb-main__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.65rem;
  padding: 0 0.25rem;
  flex-wrap: wrap;
}

.prb-main__head h2 {
  margin: 0;
  font-family: var(--prb-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prb-navy);
}

.prb-main__head > span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--prb-muted);
}

.prb-scope {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  margin-left: auto;
  max-width: min(100%, 28rem);
}

.prb-scope__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.45rem 0.55rem;
}

.prb-scope__field {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.prb-scope__label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prb-muted);
  line-height: 1;
  padding-left: 0.15rem;
}

.prb-scope select {
  appearance: none;
  max-width: min(42vw, 9.5rem);
  min-width: 5.5rem;
  padding: 0.38rem 1.55rem 0.38rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.14);
  background: var(--ff-surface-raised, #fff)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6b7c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.5rem center;
  color: var(--prb-navy);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.prb-scope select:focus {
  outline: 2px solid rgba(0, 163, 255, 0.35);
  outline-offset: 1px;
}

.prb-scope__note {
  margin: 0;
  width: auto;
  max-width: 100%;
  text-align: right;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--prb-muted);
}

.prb-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prb-ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.prb-ladder__row {
  display: grid;
  grid-template-columns: 36px 40px minmax(0, 1.1fr) minmax(90px, 1fr) 52px 18px;
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: var(--ff-surface-raised, #fbfcfe);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.prb-ladder__row:active {
  cursor: grabbing;
}

.prb-ladder__row.is-dragging {
  opacity: 0.55;
  transform: scale(0.99);
}

.prb-ladder__row.is-drop-target {
  border-color: rgba(0, 163, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.18);
}

.prb-ladder__row.is-selected {
  border-color: rgba(0, 163, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2);
  background: #f3faff;
}

.prb-ladder__rank {
  font-family: var(--prb-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.prb-ladder__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.prb-ladder__logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.prb-ladder__team {
  min-width: 0;
}

.prb-ladder__team strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--prb-blue);
}

.prb-ladder__team span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.prb-ladder__score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.08rem 0.45rem;
  align-items: center;
  min-width: 0;
}

.prb-ladder__bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.08);
  overflow: hidden;
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
}

.prb-ladder__bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f7cff, var(--fh-accent, #00a3ff));
}

.prb-ladder__score-val {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--prb-navy);
  line-height: 1;
  text-align: right;
}

.prb-ladder__score-ctx {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 0.52rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--prb-blue, #00a3ff);
  line-height: 1;
  white-space: nowrap;
  text-align: right;
}

.prb-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.prb-delta--up {
  color: var(--prb-up, #12a15a);
}

.prb-delta--down {
  color: var(--prb-down, #d64545);
}

.prb-delta--flat {
  color: var(--prb-muted, #5b6b7c);
}

.prb-ladder__handle {
  width: 14px;
  height: 22px;
  background:
    radial-gradient(circle, rgba(11, 31, 58, 0.35) 1.2px, transparent 1.4px) 0 0 / 7px 7px,
    radial-gradient(circle, rgba(11, 31, 58, 0.35) 1.2px, transparent 1.4px) 7px 0 / 7px 7px;
  opacity: 0.55;
}

.prb-grid-wrap {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.prb-grid-label {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.45rem;
}

.prb-grid__row {
  display: grid;
  grid-template-columns: 22px 22px minmax(0, 1fr) auto;
  gap: 0.3rem;
  align-items: center;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(11, 31, 58, 0.07);
  background: var(--ff-surface-sunken, #f8fafc);
  cursor: grab;
  font-size: 0.68rem;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.prb-grid__row.is-dragging {
  opacity: 0.5;
}

.prb-grid__row.is-drop-target {
  border-color: rgba(0, 163, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 163, 255, 0.15);
}

.prb-grid__row strong {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prb-grid__row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.prb-side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
}

.prb-card {
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--prb-line);
  border-radius: 14px;
  padding: 0.85rem 0.8rem;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.04);
}

.prb-card__label {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.prb-card__head .prb-card__label {
  margin: 0;
}

.prb-meter__gauge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
}

.prb-meter__gauge svg {
  width: 100%;
  max-width: 220px;
  overflow: visible;
}

.prb-meter__track {
  stroke: rgba(11, 31, 58, 0.1);
}

.prb-meter__fill {
  stroke: var(--prb-blue);
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 0.45s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.35s ease;
}

.prb-meter__gauge.is-pulse .prb-meter__fill {
  filter: drop-shadow(0 0 6px rgba(0, 163, 255, 0.35));
}

.prb-meter__value {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -30%);
  text-align: center;
}

.prb-meter__value strong {
  display: block;
  font-family: var(--prb-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--prb-navy);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease;
}

.prb-meter__bolt {
  display: block;
  font-size: 0.95rem;
  line-height: 1;
  margin-bottom: 0.15rem;
  color: var(--prb-blue);
  filter: grayscale(0.1);
}

.prb-meter__value span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-meter__avg {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.58rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-meter__avg.is-up {
  color: var(--prb-up);
}

.prb-meter__avg.is-down {
  color: var(--prb-down);
}

.prb-meter__bolt {
  display: block;
  font-size: 0.95rem;
  line-height: 1;
  margin-bottom: 0.15rem;
  color: var(--prb-blue);
  filter: grayscale(0.1);
}

.prb-meter__value span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-trend__sub {
  margin: 0.15rem 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(91, 107, 124, 0.9);
}

.prb-trend__badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--prb-up);
  white-space: nowrap;
}

.prb-trend__chart {
  height: 118px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--ff-surface, #f8fbfe) 0%, var(--ff-surface-sunken, #eef4fa) 100%);
  border: 1px solid rgba(11, 31, 58, 0.08);
  display: grid;
  place-items: stretch;
  overflow: hidden;
  padding: 0.15rem 0.1rem 0;
}

.prb-trend__chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.prb-trend__meta {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--prb-muted);
}

.prb-bottom {
  display: grid;
  gap: 0.85rem;
}

.prb-tiers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.prb-tiers__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.prb-tiers__list span {
  color: var(--prb-muted);
  font-weight: 600;
}

.prb-tiers__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.prb-tiers__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.prb-tiers__dot--elite { background: #12c4b0; }
.prb-tiers__dot--strong { background: #1f7cff; }
.prb-tiers__dot--average { background: #7eb6ff; }
.prb-tiers__dot--rebuilding { background: #9aa4b2; }

.prb-movers__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.prb-movers__sub {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prb-movers__sub--up { color: var(--prb-up); }
.prb-movers__sub--down { color: var(--prb-down); }

.prb-movers ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.prb-movers li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
}

.prb-movers li img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.prb-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--prb-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prb-footer span span {
  color: var(--prb-blue);
}

.prb-footer img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .prb-board {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  }

  .prb-brand {
    grid-column: 1 / -1;
  }

  @media (min-width: 768px) {
    .hq-layout:not(.hq-sidebar-collapsed) .prb-board {
      grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    }
  }

  .prb-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prb-brand__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .prb-board {
    grid-template-columns: 1fr;
    padding: 1rem 0.85rem;
    gap: 0.85rem;
  }

  /* Mobile: drop marketing chrome — ladder first */
  .prb-features,
  .prb-brand__playbook {
    display: none !important;
  }

  /* Brand was height:100% for the playbook footer — collapse once it's gone */
  .prb-brand {
    height: auto;
    align-self: stretch;
    padding: 1.15rem 1.1rem 1.2rem;
    gap: 0.9rem;
  }

  .prb-brand__actions {
    gap: 0.7rem;
    margin-top: 0.1rem;
  }

  .prb-btn--reset {
    min-height: 44px;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    letter-spacing: 0.02em;
  }

  .prb-conf-seg {
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(127, 179, 245, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .prb-conf-seg .prb-btn {
    min-height: 44px;
    padding: 0.55rem 0.45rem;
    border-radius: 9px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .prb-brand .prb-conf-seg .prb-btn--primary,
  .prb-brand .prb-conf-seg .prb-btn.is-active {
    background: #fff;
    border-color: #fff;
    color: #0a1e3d;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  }

  @media (min-width: 768px) {
    .hq-layout:not(.hq-sidebar-collapsed) .prb-board {
      grid-template-columns: 1fr;
      grid-template-areas:
        "hero"
        "board"
        "side"
        "foot";
    }

    .hq-layout:not(.hq-sidebar-collapsed) .prb-brand {
      flex-direction: column;
      align-items: flex-start;
      height: auto;
    }

    .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__actions {
      margin-left: 0;
      max-width: none;
      width: 100%;
    }

    .hq-layout:not(.hq-sidebar-collapsed) .prb-brand__sub {
      white-space: normal;
    }
  }

  .prb-ladder__row {
    grid-template-columns: 28px 32px minmax(0, 1fr) 44px 14px;
    touch-action: none;
  }

  .prb-grid__row {
    touch-action: none;
  }

  .prb-ladder__score {
    display: none;
  }

  .prb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prb-main {
    margin-top: 0.15rem;
  }
}

/* —— Share / export —— */
.prb-creator-credit {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.1);
}

.prb-creator-credit[hidden] {
  display: none !important;
}

.prb-creator-credit__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--prb-navy);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.prb-creator-credit__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prb-creator-credit__initials {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.prb-creator-credit__copy strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--prb-navy);
  line-height: 1.2;
}

.prb-creator-credit__with {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--prb-muted);
}

.prb-share {
  margin-top: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: var(--ff-surface-sunken, #f8fafc);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.prb-share--exports {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.prb-share__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-share__presets,
.prb-share__exports {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.prb-share__preset,
.prb-share__export {
  appearance: none;
  border: 1px solid rgba(11, 31, 58, 0.14);
  background: var(--ff-surface-raised, #fff);
  color: var(--prb-navy);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.prb-share__preset.is-active,
.prb-share__export--link {
  background: var(--prb-blue);
  border-color: var(--prb-blue);
  color: #fff;
}

.prb-share__preset:hover,
.prb-share__export:hover {
  border-color: rgba(0, 163, 255, 0.45);
}

.prb-share__export--caption {
  background: #0b1f3a;
  border-color: var(--ff-heading, #0b1f3a);
  color: #fff;
}

.prb-caption {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.prb-caption__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prb-caption__text {
  width: 100%;
  min-height: 7.5rem;
  resize: vertical;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--prb-navy);
  background: var(--ff-surface-sunken, #f8fafc);
}

.prb-share__preset:disabled,
.prb-share__export:disabled,
.prb-share__btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.prb-share__status {
  flex: 1 0 100%;
  margin: 0;
  min-height: 1.1em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--prb-muted);
}

.prb-share__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.prb-share__btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9px;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.prb-share__btn svg {
  width: 15px;
  height: 15px;
}

.prb-share__btn--x { background: #0f172a; }
.prb-share__btn--facebook { background: #1877f2; }
.prb-share__btn--reddit { background: #ff4500; }
.prb-share__btn--linkedin { background: #0a66c2; }
.prb-share__btn--whatsapp { background: #25d366; }
.prb-share__btn--instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.prb-share__btn--native { background: var(--fh-accent, #00a3ff); }

.prb-share-settings {
  display: grid;
  gap: 0.75rem;
}

.prb-export-id {
  display: grid;
  gap: 0.55rem;
}

.prb-creator-field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--prb-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prb-creator-field input[type="text"] {
  appearance: none;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--prb-navy);
  background: var(--ff-surface-raised, #fff);
}

.prb-export-id__preview {
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  background: var(--pfn-bg-soft, #f4f8fd);
  border: 1px dashed rgba(11, 31, 58, 0.12);
}

.prb-export-id__preview-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prb-muted);
}

.prb-export-id__hint {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--prb-navy);
  text-transform: none;
  letter-spacing: 0;
}

.prb-pro-brand {
  display: grid;
  gap: 0.65rem;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 163, 255, 0.2);
  background: linear-gradient(180deg, var(--ff-surface, #f7fbff), var(--ff-surface-sunken, #eef6fd));
}

.prb-pro-brand.is-locked {
  opacity: 0.92;
}

.prb-pro-brand__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.prb-pro-brand__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--prb-navy);
}

.prb-pro-brand__sub {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  color: var(--prb-muted);
}

.prb-pro-brand__badge {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.08);
  color: var(--prb-navy);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prb-pro-brand__badge--on {
  background: rgba(18, 161, 90, 0.14);
  color: var(--prb-up);
}

.prb-pro-brand__preview {
  display: grid;
  grid-template-columns: 44px auto 44px;
  gap: 0.35rem 0.5rem;
  align-items: center;
  justify-content: start;
}

.prb-pro-brand__preview-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--prb-navy);
  color: #fff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  box-sizing: border-box;
}

.prb-pro-brand__preview-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.prb-pro-brand__preview-mark--fhq {
  background: #020617;
  border-color: rgba(0, 163, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 163, 255, 0.08);
}

.prb-pro-brand__preview-mark--fhq img,
.prb-pro-brand__preview-fhq {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2px;
  display: block;
}

.prb-pro-brand__preview-placeholder {
  font-size: 0.5rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  padding: 0.2rem;
}

.prb-pro-brand__preview-x {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--prb-blue);
  line-height: 1;
}

.prb-pro-brand__preview-caption {
  grid-column: 1 / -1;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--prb-muted);
}

.prb-pro-brand__controls {
  display: grid;
  gap: 0.55rem;
}

.prb-logo-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.prb-logo-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.prb-logo-upload__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: var(--prb-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.prb-pro-brand.is-locked .prb-logo-upload__btn {
  opacity: 0.55;
  cursor: not-allowed;
}

.prb-logo-upload__name {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--prb-muted);
  text-transform: none;
  letter-spacing: 0;
}

.prb-logo-upload__clear {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--prb-down);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: none;
}

.prb-accent-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.prb-accent-row input[type="color"] {
  width: 36px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 6px;
  background: var(--ff-surface-raised, #fff);
}

.prb-accent-row__hex {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--prb-navy);
  text-transform: none;
  letter-spacing: 0;
}

.prb-pro-brand__note {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--prb-muted);
}

.prb-capture-host {
  position: fixed;
  left: -10000px;
  top: 0;
  pointer-events: none;
  z-index: -1;
}

/* Always export the desktop 3-column board (ignore viewport media queries) */
.prb-board--capture {
  --prb-up: #12a15a;
  --prb-down: #d64545;
  --prb-blue: var(--fh-accent, #00a3ff);
  --prb-navy: #0b1f3a;
  --prb-muted: #5b6b7c;
  background: var(--pfn-bg-soft, #f4f8fd) !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(240px, 280px) !important;
  gap: 1.1rem 1.25rem !important;
  padding: 1.25rem 1.2rem 1rem !important;
  border-radius: 14px !important;
}

.prb-board--capture .prb-delta--up,
.prb-presentation .prb-delta--up {
  color: #12a15a !important;
}

.prb-board--capture .prb-delta--down,
.prb-presentation .prb-delta--down {
  color: #d64545 !important;
}

.prb-board--capture .prb-delta--flat,
.prb-presentation .prb-delta--flat {
  color: #5b6b7c !important;
}

.prb-board--capture .prb-brand {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  min-width: 0 !important;
}

.prb-board--capture .prb-features {
  display: grid !important;
  grid-template-columns: none !important;
  gap: 0.7rem !important;
}

.prb-board--capture .prb-main,
.prb-board--capture .prb-side {
  grid-column: auto !important;
}

.prb-board--capture .prb-ladder__handle,
.prb-board--capture .prb-share,
.prb-board--capture .prb-share-settings,
.prb-board--capture .prb-brand__actions,
.prb-board--capture .prb-info,
.prb-board--capture .prb-playbook__tip,
.prb-board--capture .prb-tip::after,
.prb-board--capture .prb-tip::before,
.prb-board--capture .prb-scope {
  display: none !important;
}

.prb-board--capture .prb-main__head {
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.75rem;
}

.prb-board--capture .prb-capture-edition {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-left: auto;
}

.prb-board--capture .prb-capture-edition span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--ff-heading, #0b1f3a);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.prb-board--capture .prb-capture-edition span:last-child:not(:only-child) {
  background: rgba(0, 163, 255, 0.12);
  color: #0077c2;
}

.prb-board--capture .prb-playbook {
  display: grid !important;
  height: 168px !important;
  margin-top: 0.35rem !important;
  flex-shrink: 0 !important;
}

.prb-board--capture .prb-capture-caption {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 10px;
  background: var(--ff-surface-raised, #ffffff);
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.prb-board--capture .prb-capture-caption__label {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prb-blue, #00a3ff);
}

.prb-board--capture .prb-capture-caption__body {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-wrap;
  color: var(--prb-navy, #0b1f3a);
  word-break: break-word;
}

/* Compact presentation (1:1 / 4:5 / 9:16) */
.prb-presentation {
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--ff-surface, #f4f8fd) 0%, var(--ff-surface-sunken, #eef3f9) 100%);
  color: var(--prb-navy);
  font-family: Inter, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  padding: 36px;
  overflow: hidden;
}

.prb-presentation--mini {
  gap: 18px;
}

.prb-mini__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.prb-mini__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prb-mini__brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.prb-mini__brand-word {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.prb-mini__brand-word span {
  color: var(--fh-accent, #00a3ff);
}

.prb-mini__brand-tag {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #5b6b7c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prb-mini__masthead {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.prb-mini__headline {
  flex-shrink: 0;
  text-align: left;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.prb-mini__headline h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ff-heading, #0b1f3a);
}

.prb-mini__headline p {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: #5b6b7c;
}

.prb-mini__headline span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #7a8a9c;
}

.prb-mini__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.prb-mini__edition,
.prb-mini__fresh {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.prb-mini__edition {
  background: rgba(11, 31, 58, 0.06);
  color: var(--ff-heading, #0b1f3a);
  text-transform: none;
}

.prb-mini__fresh {
  background: rgba(0, 163, 255, 0.12);
  color: #0077c2;
}

.prb-mini__hero {
  flex-shrink: 0;
  min-width: 0;
  background: linear-gradient(135deg, #0b1f3a 0%, #123056 100%);
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px 12px;
  border: 1px solid rgba(0, 163, 255, 0.35);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.22);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prb-mini__hero-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
}

.prb-mini__hero-main {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) 76px;
  gap: 10px 12px;
  align-items: center;
  min-width: 0;
}

.prb-mini__hero-rank {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.prb-mini__hero-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ff-surface-raised, #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(0, 163, 255, 0.55);
  font-weight: 800;
  color: var(--ff-heading, #0b1f3a);
  flex-shrink: 0;
}

.prb-mini__hero-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.prb-mini__hero-team {
  min-width: 0;
  overflow: hidden;
}

.prb-mini__hero-team strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prb-mini__hero-team span {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.18);
  color: #7dd3ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prb-mini__hero-stat {
  text-align: right;
  min-width: 72px;
  flex-shrink: 0;
}

.prb-mini__hero-stat strong {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.prb-mini__hero-stat span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.prb-mini__hero-delta {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
  align-self: flex-start;
}

.prb-mini__hero-delta.is-up,
.prb-mini__story-delta.is-up {
  color: #12a15a;
}

.prb-mini__hero-delta.is-down,
.prb-mini__story-delta.is-down {
  color: #d64545;
}

.prb-mini__hero-delta.is-flat {
  font-size: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.prb-mini__hook {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prb-mini__story {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker delta"
    "headline delta"
    "detail detail";
  gap: 2px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.1);
}

.prb-mini__story-kicker {
  grid-area: kicker;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
}

.prb-mini__story-headline {
  grid-area: headline;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prb-mini__story-detail {
  grid-area: detail;
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #5b6b7c;
}

.prb-mini__story-delta {
  grid-area: delta;
  align-self: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.prb-mini__insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.prb-mini__insight {
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.prb-mini__insight span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8a9c;
}

.prb-mini__insight strong {
  display: block;
  margin-top: 4px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--ff-heading, #0b1f3a);
}

.prb-mini__insight--riser strong {
  color: #12a15a;
  font-size: 20px;
}

.prb-mini__insight--faller strong {
  color: #d64545;
  font-size: 20px;
}

.prb-mini__dist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 31, 58, 0.04);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.prb-mini__dist-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.prb-mini__dist-row span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6b7c;
}

.prb-mini__dist-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.08);
  overflow: hidden;
}

.prb-mini__dist-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.prb-mini__dist-bar b {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 800;
  color: var(--ff-heading, #0b1f3a);
}

.prb-mini__dist-bar--elite i { background: var(--fh-accent, #00a3ff); }
.prb-mini__dist-bar--strong i { background: #3ecf8e; }
.prb-mini__dist-bar--average i { background: #f0b429; }
.prb-mini__dist-bar--rebuilding i { background: #94a3b8; }

.prb-presentation__credit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prb-presentation__credit-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--fh-accent, #00a3ff);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0b1f3a;
  color: #fff;
}

.prb-presentation__credit-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prb-presentation__credit-initials {
  font-size: 13px;
  font-weight: 800;
}

.prb-presentation__credit-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.prb-presentation__credit-with {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #5b6b7c;
}

.prb-mini__board {
  flex: 1;
  min-height: 0;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prb-mini__board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.prb-mini__board-head h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prb-mini__board-head span {
  font-size: 12px;
  font-weight: 700;
  color: #5b6b7c;
}

.prb-pack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  flex: 1;
  min-height: 0;
  align-content: start;
}

.prb-pack--grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.prb-pack__row {
  display: grid;
  grid-template-columns: 24px 26px minmax(0, 1fr) 40px 34px;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--ff-surface-sunken, #f8fafc);
  border: 1px solid rgba(11, 31, 58, 0.07);
  min-width: 0;
  box-sizing: border-box;
}

.prb-pack__row--top {
  background: rgba(0, 163, 255, 0.08);
  border-color: rgba(0, 163, 255, 0.28);
}

.prb-pack__rank {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.prb-pack__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.08);
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

.prb-pack__avatar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.prb-pack__meta {
  min-width: 0;
  overflow: hidden;
}

.prb-pack__meta strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--fh-accent, #00a3ff);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prb-pack__meta span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  color: #5b6b7c;
}

.prb-pack__power {
  text-align: right;
  min-width: 40px;
  justify-self: end;
}

.prb-pack__power strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ff-heading, #0b1f3a);
}

.prb-pack__power em {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
  white-space: nowrap;
}

.prb-pack__power i {
  display: block;
  height: 3px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--fh-accent, #00a3ff);
  max-width: 40px;
  margin-left: auto;
}

.prb-mini__insight-ctx {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
}

.prb-pack .prb-delta {
  font-size: 11px;
  font-weight: 800;
  min-width: 2.2em;
  text-align: right;
  white-space: nowrap;
  justify-self: end;
}

/* —— 16:9 landscape share (YouTube / X / Reddit) —— */
.prb-presentation--landscape {
  width: 1600px;
  height: 900px;
  padding: 22px 32px 18px;
  gap: 10px;
  background: linear-gradient(180deg, #f5f9fd 0%, #eef3f9 100%);
}

.prb-presentation--landscape .prb-mini__top {
  gap: 16px;
  flex-shrink: 0;
}

.prb-presentation--landscape .prb-mini__brand-icon {
  width: 42px;
  height: 42px;
}

.prb-presentation--landscape .prb-mini__brand-word {
  font-size: 28px;
}

.prb-presentation--landscape .prb-mini__brand-tag {
  font-size: 11px;
}

.prb-presentation--landscape .prb-mini__masthead {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  flex-shrink: 0;
}

.prb-presentation--landscape .prb-mini__headline h2 {
  font-size: 44px;
  line-height: 0.92;
  max-width: 18ch;
}

.prb-presentation--landscape .prb-mini__headline p {
  font-size: 14px;
  margin-top: 4px;
}

.prb-presentation--landscape .prb-mini__meta-row {
  margin-top: 8px;
}

.prb-presentation--landscape .prb-mini__hero {
  padding: 12px 14px 10px;
  border-radius: 14px;
  gap: 6px;
}

.prb-presentation--landscape .prb-mini__hero-main {
  grid-template-columns: auto auto minmax(0, 1fr) 76px;
  gap: 8px 12px;
}

.prb-presentation--landscape .prb-mini__hero-rank {
  font-size: 42px;
}

.prb-presentation--landscape .prb-mini__hero-logo {
  width: 48px;
  height: 48px;
}

.prb-presentation--landscape .prb-mini__hero-logo img {
  width: 36px;
  height: 36px;
}

.prb-presentation--landscape .prb-mini__hero-team strong {
  font-size: 18px;
}

.prb-presentation--landscape .prb-mini__hero-stat strong {
  font-size: 22px;
}

.prb-presentation--landscape .prb-mini__hero-delta {
  font-size: 11px;
}

.prb-presentation--landscape .prb-mini__hook {
  flex-shrink: 0;
}

.prb-presentation--landscape .prb-mini__insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.prb-presentation--landscape .prb-mini__insight {
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.prb-presentation--landscape .prb-mini__insight span {
  font-size: 10px;
}

.prb-presentation--landscape .prb-mini__insight strong {
  font-size: 17px;
}

.prb-presentation--landscape .prb-mini__board {
  flex: 1 1 auto;
  min-height: 0;
  padding: 10px 12px;
  gap: 6px;
  border-radius: 14px;
}

.prb-presentation--landscape .prb-mini__board-head {
  margin: 0;
}

.prb-presentation--landscape .prb-mini__board-head h3 {
  font-size: 16px;
}

.prb-presentation--landscape .prb-pack--landscape,
.prb-presentation--landscape .prb-pack--grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  align-content: stretch;
  flex: 1;
}

.prb-presentation--landscape .prb-pack__row {
  grid-template-columns: 28px 32px minmax(0, 1fr) 68px 36px;
  gap: 7px;
  padding: 6px 9px;
  min-height: 0;
  height: 100%;
  border-radius: 10px;
}

.prb-presentation--landscape .prb-pack__rank {
  font-size: 18px;
}

.prb-presentation--landscape .prb-pack__avatar {
  width: 30px;
  height: 30px;
}

.prb-presentation--landscape .prb-pack__avatar img {
  width: 22px;
  height: 22px;
}

.prb-presentation--landscape .prb-pack__meta strong {
  font-size: 13px;
  color: var(--ff-heading, #0b1f3a);
}

.prb-presentation--landscape .prb-pack__meta span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #5b6b7c;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prb-presentation--landscape .prb-pack__power {
  min-width: 60px;
}

.prb-presentation--landscape .prb-pack__power strong {
  font-size: 14px;
}

.prb-presentation--landscape .prb-pack__power i {
  max-width: 60px;
  height: 3px;
}

.prb-presentation--landscape .prb-presentation__foot {
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 6px;
  gap: 16px;
  align-items: center;
  min-height: 0;
}

.prb-presentation--landscape .prb-presentation__wordmark {
  font-size: 20px;
}

.prb-presentation--landscape .prb-presentation__watermark-line {
  font-size: 12px;
  line-height: 1.25;
}

.prb-presentation--landscape .prb-presentation__qr--lg {
  gap: 10px;
}

.prb-presentation--landscape .prb-presentation__qr-frame {
  width: var(--prb-qr-size, 120px);
  height: var(--prb-qr-size, 120px);
  padding: 6px;
}

.prb-presentation--landscape .prb-presentation__qr-copy strong {
  font-size: 13px;
}

.prb-presentation--landscape .prb-presentation__qr-copy span {
  font-size: 11px;
}

.prb-presentation--square .prb-mini__masthead {
  grid-template-columns: 1fr;
  gap: 12px;
}

.prb-presentation--square .prb-mini__headline {
  justify-content: flex-start;
}

.prb-presentation--square .prb-mini__headline h2 {
  font-size: 44px;
}

.prb-presentation--square .prb-mini__dist,
.prb-presentation--feed .prb-mini__dist {
  display: none;
}

.prb-presentation--square .prb-mini__insights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.prb-presentation--square .prb-mini__hero {
  padding: 14px 16px;
}

.prb-presentation--square .prb-mini__hero-main {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px 14px;
}

.prb-presentation--square .prb-mini__hero-team strong {
  font-size: 22px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.prb-presentation--square .prb-mini__hero-stat {
  min-width: 78px;
}

.prb-presentation--square .prb-mini__hero-stat strong {
  font-size: 36px;
}

.prb-presentation--square .prb-mini__hero-delta,
.prb-presentation--feed .prb-mini__hero-delta {
  font-size: 14px;
}

.prb-presentation--square .prb-mini__board {
  padding: 12px 14px;
}

.prb-presentation--square .prb-pack--grid {
  gap: 6px 10px;
}

.prb-presentation--square .prb-presentation__foot {
  gap: 12px;
}

.prb-presentation--square .prb-presentation__qr-copy strong {
  font-size: 12px;
}

.prb-presentation--feed {
  gap: 16px;
  padding: 36px 34px;
}

.prb-presentation--feed .prb-mini__masthead {
  grid-template-columns: 1fr;
  gap: 14px;
}

.prb-presentation--feed .prb-mini__headline h2 {
  font-size: 52px;
}

.prb-presentation--feed .prb-mini__hero-main {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px 14px;
}

.prb-presentation--feed .prb-mini__hero-team strong {
  font-size: 24px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.prb-presentation--feed .prb-mini__hero-stat strong {
  font-size: 40px;
}

.prb-presentation--feed .prb-mini__insights {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prb-presentation--feed .prb-mini__story {
  grid-template-columns: 1fr auto;
}

.prb-presentation--feed .prb-mini__board {
  flex: 1.15;
}

.prb-presentation--story {
  gap: 20px;
  padding: 44px 40px;
}

.prb-presentation--story .prb-mini__masthead {
  grid-template-columns: 1fr;
  gap: 16px;
}

.prb-presentation--story .prb-mini__headline h2 {
  font-size: 64px;
}

.prb-presentation--story .prb-mini__hero {
  padding: 18px 20px 14px;
}

.prb-presentation--story .prb-mini__hero-main {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 12px 16px;
}

.prb-presentation--story .prb-mini__hero-team strong {
  font-size: 28px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.prb-presentation--story .prb-mini__hero-stat {
  min-width: 96px;
}

.prb-presentation--story .prb-mini__hero-stat strong {
  font-size: 48px;
}

.prb-presentation--story .prb-mini__hero-delta {
  font-size: 14px;
}

.prb-presentation--story .prb-pack--grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.prb-presentation--story .prb-mini__board {
  flex: 1.2;
}

.prb-presentation--square .prb-pack__meta span,
.prb-presentation--feed .prb-pack__meta span,
.prb-presentation--story .prb-pack__meta span {
  display: none;
}

.prb-presentation--square .prb-pack__row,
.prb-presentation--feed .prb-pack__row,
.prb-presentation--story .prb-pack__row {
  grid-template-columns: 22px 28px minmax(0, 1fr) 42px 30px;
  padding: 6px 8px;
}

.prb-presentation--story .prb-pack__row {
  padding: 7px 9px;
}

.prb-presentation--square .prb-pack__meta strong,
.prb-presentation--feed .prb-pack__meta strong,
.prb-presentation--story .prb-pack__meta strong {
  font-size: 13px;
}

.prb-presentation--square .prb-pack__power strong,
.prb-presentation--feed .prb-pack__power strong,
.prb-presentation--story .prb-pack__power strong {
  font-size: 14px;
}

.prb-presentation__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.prb-presentation__foot--qr {
  margin-top: auto;
}

.prb-presentation__wordmark {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prb-presentation__watermark-line {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #5b6b7c;
}

.prb-presentation__qr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prb-presentation__qr-frame {
  width: var(--prb-qr-size, 132px);
  height: var(--prb-qr-size, 132px);
  padding: 8px;
  border-radius: 14px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-sizing: border-box;
}

.prb-presentation__qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.prb-presentation__qr-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.prb-presentation__qr-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #5b6b7c;
}

/* Share landing */
.prb-share-landing {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ff-heading, #0b1f3a);
}

.prb-share-landing__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.prb-share-landing__back {
  color: var(--fh-accent, #00a3ff);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
}

.prb-share-landing__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.prb-share-landing__wordmark {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prb-share-landing__wordmark span {
  color: var(--fh-accent, #00a3ff);
}

.prb-share-landing__product {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b6b7c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prb-share-landing__card {
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.06);
}

.prb-share-landing__title {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prb-share-landing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0.45rem 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5b6b7c;
}

.prb-share-landing__hero {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.prb-share-landing__hero img {
  width: 100%;
  display: block;
}

.prb-share-landing__board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.prb-share-landing__board li {
  display: grid;
  grid-template-columns: 36px 28px minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: var(--ff-surface-sunken, #f8fafc);
  border: 1px solid rgba(11, 31, 58, 0.07);
}

.prb-share-landing__rank {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

.prb-share-landing__board img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.prb-share-landing__team strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
}

.prb-share-landing__team span {
  display: block;
  font-size: 0.7rem;
  color: #5b6b7c;
}

.prb-share-landing__delta.is-up { color: #12a15a; font-weight: 800; font-size: 0.72rem; }
.prb-share-landing__delta.is-down { color: #d64545; font-weight: 800; font-size: 0.72rem; }

.prb-share-landing__stats {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5b6b7c;
}

.prb-share-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Email capture — between builder and SEO */
.prb-capture {
  max-width: 1100px;
  margin: 1.5rem auto 0.35rem;
  padding: 0 1.25rem;
}

.prb-capture__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.prb-capture__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fh-accent, #00a3ff);
}

.prb-capture__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--ff-heading, #0b1f3a);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prb-capture__sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #5b6b7c;
}

.prb-capture__intents {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.prb-capture__intents li {
  display: grid;
  gap: 0.1rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(0, 163, 255, 0.05);
  border: 1px solid rgba(0, 163, 255, 0.12);
  cursor: pointer;
}

.prb-capture__intents li.is-active {
  background: rgba(0, 163, 255, 0.12);
  border-color: rgba(0, 163, 255, 0.35);
}

.prb-capture__intents strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ff-heading, #0b1f3a);
}

.prb-capture__intents span {
  font-size: 0.74rem;
  font-weight: 600;
  color: #5b6b7c;
  line-height: 1.35;
}

.prb-capture__form {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.prb-capture__email input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 31, 58, 0.14);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ff-heading, #0b1f3a);
  background: var(--ff-surface-raised, #fff);
}

.prb-capture__email input:focus {
  outline: 2px solid rgba(0, 163, 255, 0.35);
  outline-offset: 1px;
  border-color: rgba(0, 163, 255, 0.45);
}

.prb-capture__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #5b6b7c;
  font-weight: 600;
}

.prb-capture__consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.prb-capture__form button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  background: var(--fh-accent, #00a3ff);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.prb-capture__form button:hover {
  background: #0090e0;
}

.prb-capture__form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.prb-capture__status {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6b7c;
}

.prb-capture__status.is-success {
  color: #0f7a45;
}

.prb-capture__status.is-error {
  color: #c0392b;
}

.prb-capture .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .prb-capture__card {
    grid-template-columns: 1fr;
    padding: 1rem 1.05rem;
  }
}

/* Crawlable SEO / AI extractability block (below builder UI) */
.prb-seo {
  max-width: 1100px;
  margin: 2rem auto 3rem;
  padding: 0 1.25rem 1rem;
  color: #1a2330;
}

.prb-seo__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b7aa3;
}

.prb-seo h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}

.prb-seo__lead {
  margin: 0 0 1.25rem;
  max-width: 52rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3d4a5c;
}

.prb-seo__lead time {
  display: inline;
  font-weight: 600;
  color: #1a2330;
}

.prb-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.prb-seo__block {
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(26, 35, 48, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.prb-seo__block h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.prb-seo__block p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3d4a5c;
}

.prb-seo-compare {
  margin: 0 0 1.35rem;
}

.prb-seo-compare h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.prb-seo-compare__wrap {
  overflow-x: auto;
  border: 1px solid rgba(26, 35, 48, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.prb-seo-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.4;
}

.prb-seo-compare__table th,
.prb-seo-compare__table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(26, 35, 48, 0.08);
  vertical-align: top;
}

.prb-seo-compare__table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6b7c;
  background: rgba(11, 31, 58, 0.04);
}

.prb-seo-compare__table tbody th {
  font-weight: 700;
  color: #1a2330;
  white-space: nowrap;
}

.prb-seo-compare__table tbody tr:last-child th,
.prb-seo-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.prb-seo-faq h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.prb-seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
}

.prb-seo-faq-item {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(26, 35, 48, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.prb-seo-faq-item dt {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.prb-seo-faq-item dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3d4a5c;
}

.prb-seo-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.prb-seo-related a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: #fff;
  color: #0b1f3a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
}

.prb-seo-related a:hover {
  background: #f0f7ff;
  border-color: rgba(0, 163, 255, 0.45);
  color: #0066c2;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 119, 194, 0.12);
}

.prb-seo-related a:focus-visible {
  outline: 2px solid #00a3ff;
  outline-offset: 2px;
}

.prb-seo-related a:active {
  transform: translateY(1px);
}

.prb-seo-related__all {
  background: #0b1f3a !important;
  border-color: #0b1f3a !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.18) !important;
}

.prb-seo-related__all:hover {
  background: #123056 !important;
  border-color: #123056 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.22) !important;
}

@media (max-width: 820px) {
  .prb-seo__grid {
    grid-template-columns: 1fr;
  }

  .prb-seo-related {
    gap: 0.45rem;
  }

  .prb-seo-related a {
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }
}
