.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;
  }
}

.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;
}
.profilecard .face {
  height: auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #f3f4ee, #e6e9df);
}
.profilecard .face img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
@keyframes signal-drift {
  from { transform: translate3d(-1.8%, 1%, 0) rotate(-4deg) scale(.99); }
  to { transform: translate3d(2.2%, -1.5%, 0) rotate(4deg) scale(1.04); }
}
.heroart { pointer-events:none; transform-origin: 55% 52%; animation: signal-drift 16s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .heroart { animation: none; transform:none; } }
.match-card {min-width:0; align-self:start}
.match-artist,.match-topics {display:flex;align-items:center;gap:.5rem}
.match-artist img,.search-initial {width:36px;height:36px;border-radius:50%;object-fit:cover}
.match-artist>div {min-width:0;flex:1}
.match-artist small,.match-post small {display:block;color:#5e6b5b;font-size:.73rem}
.match-artist .linkbtn {text-align:left}
.match-topics {flex-wrap:wrap;margin:.45rem 0 .7rem}
.match-topic {border-radius:1rem;background:#edf2df;color:#324e20;font-size:.75rem;padding:.22rem .58rem}
.match-card p,.match-brand p {font-size:.82rem;margin:.6rem 0 .25rem}
.match-card details,.match-brand details {border-top:1px solid #e3e9de;padding-top:.65rem;margin-top:.7rem;font-size:.81rem}
.match-card summary,.match-brand summary {cursor:pointer}
.match-post {display:grid;gap:.25rem;padding:.65rem 0;color:inherit;overflow-wrap:anywhere}
.match-post:hover strong {text-decoration:underline}
.search-initial {display:grid;place-items:center;background:#e4ebd9;color:#34572a;font-style:normal}
.ig-verified {display:inline-grid;place-items:center;background:#2679bd;color:white;border-radius:50%;font-size:10px;width:14px;height:14px;vertical-align:middle}
#provider-note:empty {display:none}

.match-ring {
  --ink: #578a26;
  --diameter: 70px;
  display: inline-grid;
  place-items: center;
  width: var(--diameter);
  height: var(--diameter);
  flex: 0 0 var(--diameter);
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ink) var(--fit), #e6eadd var(--fit));
}
.match-ring.ring-low { --ink: #b55643; }
.match-ring.ring-mid { --ink: #af791c; }
.match-ring > b, .insight-grid .match-ring > b {
  display: grid; place-items: center; margin: 0;
  width: calc(100% - 10px); height: calc(100% - 10px);
  border-radius: 50%; background: white; color: #19291d;
  font: 650 14px/1 system-ui,sans-serif; letter-spacing:-.045em;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.fit-panel {display:flex;align-items:flex-start;flex-direction:column;gap:.7rem}
.fit-panel p {margin:0;color:#52604e;font-size:.82rem;line-height:1.45}
.fit-measure {display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.fit-measure>span:last-child {font-size:.82rem;font-weight:650;overflow-wrap:anywhere}
.fit-actions {display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.fit-pick,.fit-remove {font:inherit;font-size:.78rem;cursor:pointer;padding:.4rem .6rem;border-radius:.5rem}
.fit-pick {background:#edf3df;color:#2c481b;border:1px solid #d8e4bf}
.fit-remove {background:transparent;color:#586253;border:1px solid transparent}
.fit-remove:hover,.fit-remove:focus-visible {text-decoration:underline}
.brand-options:not(:empty) {display:grid;gap:2px;border:1px solid var(--edge);border-radius:12px;padding:4px;max-height:255px;overflow:auto}
.brand-option {display:flex;align-items:center;gap:10px;text-align:left;width:100%;background:transparent;border:0;padding:7px 10px;border-radius:8px;color:inherit;cursor:pointer}
.brand-option:is(:hover,:focus-visible) {background:#f0f5e7}
.brand-option img {width:34px;height:34px;object-fit:contain;border-radius:24%}
.brand-option small,.brand-option b {display:block}
.brand-option small {color:#5b6858}
.match-artist img,.hit-person img,.creator-head>img,.rankrow img,.stack img {
  object-fit:contain;object-position:center;border-radius:20%;flex-shrink:0;
}
.match-artist img {width:52px;height:52px;display:block}
.cover img,.detailcover,.post-tile img {object-fit:contain;object-position:center;background:#eef1e9}

.brand-lookup{min-width:0}
.brand-lookup .brand-options:not(:empty){margin-top:6px;background:var(--panel,#fff)}
.brand-monogram{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#e6efd7;color:#304622;font-weight:700}
.brand-option span:last-child{min-width:0;overflow-wrap:anywhere}
.brand-hint:not(:empty){display:block;margin-top:6px;color:#536549;font-size:.78rem}
.brand-hint a{color:#395823}

.brand-option img,.brand-hint a img{width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover}
.brand-hint a:has(img),.brand-hint a:has(.brand-monogram){display:inline-flex;align-items:center;gap:.45rem}
