.insights-intro {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 74% 13%, #1b3440, transparent 62%), #08141e;
}

.insights-intro-inner {
  display: grid;
  grid-template-columns: 1fr .86fr;
  align-items: center;
  gap: clamp(26px, 6vw, 92px);
  padding-block: clamp(27px, 5vw, 72px);
}

.insights-intro h1 {
  font-size: clamp(3.15rem, 7.55vw, 7.5rem);
  letter-spacing: -.065em;
  line-height: .97;
  margin: .17em 0 .22em;
  text-wrap: balance;
}

.insights-intro-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 21px;
  margin-top: 22px;
}

.insights-intro-links .site-link,
.insights-gallery-link {
  font-size: .91rem;
}

.insights-intro-photo {
  padding: 8px 8px 0;
  background: #08141e;
  border: 1px solid #4b6c76;
  border-top: 2px solid var(--cyan);
  min-width: 0;
}

.insights-intro-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.insights-intro-photo figcaption {
  padding: 7px 3px 8px;
  color: var(--muted);
  font-size: .8rem;
}

.insights-intro-photo b {
  margin-right: .42rem;
  color: var(--cyan);
  font-family: var(--mono);
}

.insights-workspace {
  padding-top: clamp(25px, 4vw, 54px);
}

.insights-snapshot {
  border: 1px solid #42646e;
  background: linear-gradient(107deg, #12313a, #0c1924 78%);
}

.insights-snapshot-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 13px clamp(16px, 2.2vw, 32px);
  border-bottom: 1px solid #42646e;
}

.insights-snapshot-head h2 {
  font-size: .91rem;
  letter-spacing: .035em;
  color: var(--cyan);
}

.insights-snapshot-head time {
  color: var(--muted);
  font: 400 .78rem/1.5 var(--mono);
}

.insights-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.insights-highlights div,
.insights-gallery-totals div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: start;
}

.insights-highlights div {
  padding: clamp(12px, 2.4vw, 31px) clamp(16px, 2.2vw, 32px);
}

.insights-highlights div + div {
  border-left: 1px solid #42646e;
}

.insights-highlights dt,
.insights-gallery-totals dt {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
  text-wrap: pretty;
}

.insights-highlights dd,
.insights-gallery-totals dd {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 5.1vw, 5.25rem);
  font-variant-numeric: tabular-nums;
  line-height: .98;
  letter-spacing: -.07em;
}

#top-share {
  color: var(--gold);
}

.insights-panels {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  gap: clamp(16px, 2.45vw, 34px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 40px);
}

.insights-panel {
  --panel-padding: clamp(14px, 2vw, 26px);
  min-width: 0;
  padding: var(--panel-padding);
  background: #0a1822;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
}

.insights-gallery {
  border-top-color: var(--gold);
}

.insights-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 13px 22px;
  margin-bottom: 15px;
}

.insights-panel-head h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.8rem);
  letter-spacing: -.038em;
  line-height: 1.1;
}

.insights-state {
  font-size: .9rem;
  color: var(--muted);
}

.insights-field {
  min-width: 0;
  max-width: 100%;
}

.insights-field label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .82rem;
}

.insights-field select {
  min-height: 44px;
  max-width: 100%;
  padding: 6px 26px 6px 10px;
  background: #071019;
  border: 1px solid #53757f;
  border-radius: 0;
  color: var(--text);
  font-size: .88rem;
}

.insights-ranking-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .77rem;
}

.insights-rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.insights-rank-row {
  display: grid;
  grid-template-columns: 2.1ch minmax(11ch, .9fr) minmax(0, 1fr) 8.5ch auto;
  gap: clamp(7px, 1.3vw, 17px);
  align-items: center;
  min-height: 49px;
  border-bottom: 1px solid var(--line);
}

.insights-rank-row:hover,
.insights-rank-row:focus-within {
  background-color: #132a35;
}

.insights-rank-position {
  color: var(--muted);
  font: 400 .77rem/1.4 var(--mono);
}

.insights-rank-name {
  display: flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.32;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.insights-rank-name:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.insights-rank-source {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--gold);
  font-size: .78rem;
  white-space: nowrap;
}

.insights-rank-source:hover {
  text-decoration: underline;
}

.insights-rank-value,
.insights-gallery-breakdown .insights-count {
  color: var(--cyan);
  font-weight: 700;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.insights-meter {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 0;
  background: #1b3945;
  vertical-align: middle;
}

.insights-meter::-webkit-meter-bar {
  background: #1b3945;
  border: 0;
  border-radius: 0;
}

.insights-meter::-webkit-meter-optimum-value {
  background: #79dde0;
  border-radius: 0;
}

.insights-meter::-moz-meter-bar {
  background: #79dde0;
}

.insights-gallery .insights-meter::-webkit-meter-optimum-value {
  background: var(--gold);
}

.insights-gallery .insights-meter::-moz-meter-bar {
  background: var(--gold);
}

.insights-pagination {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: space-between;
  padding-top: 14px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.insights-pagination button {
  min-height: 44px;
  padding: 5px 12px;
  background: #0b1c28;
  border: 1px solid #50757e;
  color: var(--cyan);
}

.insights-pagination button[aria-disabled="true"],
.insights-state button[aria-disabled="true"] {
  opacity: .6;
  cursor: default;
}

.insights-pagination button:not([aria-disabled="true"]):hover {
  background: #17353f;
}

.insights-state {
  padding: 11px 0;
}

.insights-state .action {
  margin-top: 8px;
}

.insights-snapshot .insights-state {
  padding-inline: clamp(16px, 2.2vw, 32px);
}

.insights-ranking-state {
  border-top: 1px solid var(--line);
}

#gallery-data h3 {
  margin-top: 19px;
  font-size: .95rem;
}

.insights-gallery-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(6.5rem,100%), 1fr));
  gap: 9px;
  margin: 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}

.insights-gallery-totals dd {
  color: var(--gold);
  font-size: clamp(1.9rem, 3.4vw, 3.6rem);
}

.insights-gallery-breakdown {
  margin: 5px 0 15px;
}

.insights-gallery-breakdown div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  padding: 5px 0;
  font-size: .85rem;
}

.insights-gallery-breakdown dd {
  margin: 0;
}

.insights-gallery-breakdown .insights-count {
  color: var(--gold);
}

.insights-gallery-breakdown .insights-category-meter {
  grid-column: 1 / -1;
  line-height: 0;
}

.insights-gallery-link {
  display: inline-block;
  min-height: 44px;
  padding: 9px 0;
  font-weight: 700;
}

@media (max-width: 830px) {
  .insights-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 630px) {
  .insights-intro-inner {
    grid-template-columns: 1fr;
  }


  .insights-highlights dd {
    font-size: clamp(1.6rem, 6.6vw, 2.6rem);
  }

  .insights-highlights dt {
    font-size: .78rem;
  }
}

@media (max-width: 435px) {
  .insights-rank-row {
    grid-template-columns: 2ch minmax(0, 1fr) auto auto;
    row-gap: 0;
    padding-bottom: 8px;
  }

  .insights-rank-row .insights-meter {
    grid-area: 2 / 2 / auto / 5;
    height: 5px;
  }

  .insights-highlights div {
    padding-inline: 9px;
  }
}
