.brand .brandname {
  display: block;
  line-height: 1.04;
}
.brandname small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.035em;
  font-weight: 480;
  color: #54624f;
  margin: 5px 0 0 2px;
}
.postgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.post-tile {
  border: 1px solid var(--edge);
  background: white;
  padding: 9px;
  border-radius: 13px;
  min-width: 0;
  transition: transform 0.18s;
}
.post-tile:hover {
  transform: translateY(-2px);
}
.post-tile > div {
  position: relative;
}
.post-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #e5ebdf;
  border-radius: 7px;
}
.post-tile b {
  position: absolute;
  left: 6px;
  top: 6px;
  background: #182213dc;
  color: white;
  border-radius: 10px;
  padding: 3px 7px;
  font-size: 9px;
}
.post-tile strong,
.post-tile small {
  display: block;
  margin: 7px 2px 0;
}
.post-tile strong {
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-tile small,
.insight-grid small,
.creator-head small {
  color: var(--muted);
  font-size: 11px;
}
dialog:has(.creator-view) {
  width: min(1060px, 95vw);
}
.creator-view {
  display: grid;
  gap: 16px;
}
.creator-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.creator-head > img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 17px;
}
.creator-head p,
.insight-grid p,
.insight-grid details {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 6px 0;
}
.netlinks {
  display: flex;
  gap: 12px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 650;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.insight-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.insight-grid > div {
  border: 1px solid var(--edge);
  border-radius: 13px;
  padding: 13px;
  background: #fbfcf8;
}
.insight-grid small,
.insight-grid strong,
.insight-grid b {
  display: block;
}
.insight-grid strong {
  font-size: 28px;
  letter-spacing: -0.05em;
  margin: 9px 0;
}
.insight-grid b {
  margin: 9px 0;
  font-size: 14px;
}
.insight-grid summary {
  cursor: pointer;
  color: #3c582a;
  font-weight: 580;
}
.source-link {
  display: block;
  font-size: 11px;
  padding: 3px 0;
  color: #324b29;
}
.source-link:hover {
  text-decoration: underline;
}
#safety-form {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
#safety-form input {
  max-width: 100%;
  min-width: 0;
  flex: 1;
  border: 1px solid var(--edge);
  padding: 5px;
  border-radius: 6px;
}
.creator-view .sectionhead {
  margin: 3px 0;
}
.social-search .results {
  max-height: 32vh;
}
.social-search .helper {
  margin: 8px 0;
}
.social-search .results small {
  line-height: 1.5;
}
.creator-view .postgrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.insight-grid:has(details) {
  align-items: stretch;
}
#brand-results .listgrid {
  margin-top: 13px;
}
.brandname {
  white-space: nowrap;
}
@supports (appearance: base-select) {
  select,
  select::picker(select) {
    appearance: base-select;
  }
  select {
    border: 1px solid #ced8c2;
    border-radius: 9px;
    background: #f7faf1;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #25341e;
    font: inherit;
    font-size: 12px;
  }
  select::picker(select) {
    background: #fcfff6;
    border: 1px solid #c7d3b8;
    box-shadow: 0 9px 24px #26361924;
    border-radius: 10px;
    padding: 4px;
    margin-top: 4px;
    color: #263720;
  }
  select option {
    background: transparent;
    color: #293623;
    border-radius: 7px;
    padding: 8px 10px;
    cursor: pointer;
  }
  select option:checked {
    background: #e0f2ba;
    font-weight: 650;
  }
  select option:focus,
  select option:hover {
    background: #ecf3e0;
    color: #203314;
  }
  select::picker-icon {
    color: #546b42;
    transition: transform 0.16s;
  }
  select:open::picker-icon {
    transform: rotate(180deg);
  }
  option::checkmark {
    color: #426823;
  }
}
@media (max-width: 860px) {
  .postgrid,
  .insight-grid,
  .creator-view .postgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .creator-head {
    align-items: start;
    gap: 10px;
  }
  .creator-head > img {
    width: 54px;
    height: 54px;
  }
  .insight-grid {
    gap: 7px;
  }
  .insight-grid.two {
    grid-template-columns: 1fr;
  }
  .postgrid {
    gap: 7px;
  }
  .creator-view .sectionhead {
    display: block;
  }
  .brand .brandname {
    font-size: 20px;
  }
  .social-search .results button {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}

.insight-grid .fit-ring {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#79a631 var(--score), #e5ebdb 0);
  font-size: 15px;
}
.fit-ring span {
  background: white;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.compare-bars {
  height: 62px;
  display: flex;
  align-items: end;
  gap: 5px;
}
.compare-bars i {
  display: block;
  background: #abc95e;
  width: 28%;
  min-height: 1px;
  border-radius: 5px 5px 0 0;
}
.compare-bars i + i {
  background: #bcc6b2;
}
.social-search .hit-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hit-person img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.hit-person b,
.hit-person small {
  display: block;
}
.social-search .results button {
  flex-direction: row;
  align-items: center;
}
dialog:has(.social-search) {
  width: min(820px, 94vw);
}
.ranking-bars {
  display: grid;
  gap: 7px;
}
.ranking-bars > div {
  display: grid;
  grid-template-columns: minmax(100px, 20%) minmax(10px, 1fr) 65px;
  align-items: center;
  gap: 10px;
}
.ranking-bars i {
  height: 7px;
  background: linear-gradient(90deg, #5a7a39, #b8db62);
  border-radius: 5px;
}
.ranking-bars b {
  font-size: 12px;
  text-align: right;
}
.network-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: end;
}
.network-chip {
  font-size: 10px;
  font-weight: 600;
  color: #42563d;
  background: #f1f5e9;
  border-radius: 20px;
  padding: 4px 7px;
}
