/* KOLscope brand foundation, limited to the redesigned screens. */
:root {
  --ks-forest: #103d35;
  --ks-paper: #f5f7f2;
  --ks-ink: #162522;
  --ks-muted: #4f655e;
  --ks-mint: #cae1d0;
  --ks-line: #dce5db;
  --ks-white: #fff;
}

body:is(.brand-home,.brand-explorer,.brand-workspace) {
  color-scheme: light;
  --bg: var(--ks-paper);
  --panel: var(--ks-white);
  --text: var(--ks-ink);
  --muted: var(--ks-muted);
  --accent: var(--ks-forest);
  --gold: var(--ks-forest);
  --line: var(--ks-line);
  --border: var(--ks-line);
  --coral: var(--ks-forest);
  background: var(--bg);
  color: var(--text);
}
body:is(.brand-home,.brand-explorer) > header { background: var(--ks-white); border-color: var(--ks-line); }
body:is(.brand-home,.brand-explorer,.brand-workspace) a.brand {
  display:flex; align-items:center; gap:9px; color:var(--ks-forest);
  font-weight:800; letter-spacing:-.05em; text-decoration:none;
}
.focus-mark { display:block; object-fit:contain; flex:none; }
.brand-workspace .brand { width:max-content; font-size:24px; }
.brand-home .hero {
  background:var(--ks-forest); color:var(--ks-paper); overflow:clip; isolation:isolate;
  margin-top:24px; border-radius:22px;
}
.brand-home .hero-glow {
  inset:0; width:auto; height:auto; left:0; transform:none; z-index:-1;
  background:radial-gradient(ellipse at 85% 5%,#cae1d040,transparent 48%);
}
.brand-home .hero-copy, .brand-home .hero-meta { color:#e3eee5; }
.brand-home .search { background:#fff; border-color:#cae1d0; }
.brand-home .search input, .brand-home .search-at { color:var(--ks-ink); }
.brand-home .search input::placeholder { color:var(--ks-muted); }
.brand-home .hero .scope { color:var(--ks-forest); background:var(--ks-mint); }
.brand-home .hero .try a { color:var(--ks-paper); background:#fff1; border-color:#ffffff5c; }
.brand-home .hero .search-error, .brand-home .hero .home-search-status { color:#fff; }
.brand-home :is(.refresh,.directory-filters input:not([type=checkbox]),.directory-filters select,.custom-budget>div,.budget-presets button,.empty,.estimate-notice,.home-account-menu) {
  background:var(--ks-white); color:var(--ks-ink); border-color:var(--ks-line);
}
.brand-home .budget-presets button.active, .brand-home .home-account-menu a:hover { background:var(--ks-mint); color:var(--ks-forest); }
.brand-home .directory-filters input::placeholder { color:var(--ks-muted); }
.brand-home .estimate-notice strong { color:var(--ks-forest); }
.brand-home > footer { background:var(--ks-white); }
.brand-home .directory-portrait {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:7px;
  padding-inline-end:6px;
}
.brand-home .directory-portrait .portrait { margin-inline:auto; }
.directory-category-plate {
  align-self:center; min-width:36px; display:grid; padding:2px 3px; border-radius:5px;
  border:1px solid var(--plate-rim); color:var(--plate-ink); font:800 10px/1.5 Arial,sans-serif;
  text-align:center; text-shadow:0 1px 0 var(--plate-light);
  background:repeating-linear-gradient(0deg,#fff2 0 1px,#0001 1px 2px,transparent 2px 3px),
    linear-gradient(145deg,var(--plate-light),var(--plate-mid) 52%,var(--plate-light) 78%,var(--plate-mid));
  box-shadow:inset 0 0 0 1px var(--plate-light),0 2px 3px #25140c5e;
}
.directory-category-plate span+span { border-top:1px solid color-mix(in srgb,var(--plate-rim) 50%,transparent); }

.brand-explorer .search, .brand-explorer .search input, .brand-explorer .tabs {
  color:var(--ks-ink); background:var(--ks-white); border-color:var(--ks-line);
}
.brand-explorer .search input::placeholder { color:var(--ks-muted); }
.brand-explorer .primary, .brand-workspace .primary { background:var(--ks-forest); color:white; border-color:var(--ks-forest); }
.brand-explorer :is(.mainpanel,.listing,.profile-data,.shell,.content-panel), .brand-workspace :is(.panel,.claim-card,.account-strip,.claim-search,#summaryBox,.claim-access,.browser-help) {
  background:var(--ks-white); color:var(--ks-ink); border-color:var(--ks-line);
}
.brand-explorer :is(.listing-chip,.badge), .brand-workspace :is(.pill,.claim-steps li,.rate-availability) {
  background:#e7efe9; color:var(--ks-forest); border-color:var(--ks-line);
}
.brand-explorer #creatorCard.has-achievement {
  display:block; background:transparent; color:var(--ks-ink);
  padding:0!important; border:0; box-shadow:none; border-radius:0!important;
}
#creatorCard.has-achievement::before,#creatorCard.has-achievement::after { display:none; }
#creatorCard.has-achievement > :is(.cardtop,.rating-crown,.portrait,.cardname,.cardhandle,.cardaudience,.cardstats,.photohelp) { display:none; }
#creatorCard.has-achievement > .card-rating-help { color:var(--ks-muted); padding:0 4px; }
#creatorCard.has-achievement > .claim-button:not(.hide) {
  margin-top:8px; color:var(--ks-forest); background:var(--ks-white); border-color:var(--ks-line);
}
#creatorCard.has-achievement .creator-card-actions :is(#makeDealOffer,#shareCreatorCard) {
  color:var(--ks-forest); background:var(--ks-white); border-color:#b4cbbd;
}
#creatorCard.has-achievement .creator-card-actions #shareCreatorCard { background:var(--ks-forest); color:white; }

.achievement-preview { position:relative; margin:0; width:100%; }
.achievement-preview canvas { display:block; width:100%; height:auto; border-radius:12px; }
.achievement-preview .achievement-portrait {
  position:absolute; left:32%; top:12.1%; width:36%; height:22%;
  object-fit:contain; background:#211916; border-radius:5px;
}
.achievement-preview details { font-size:12px; margin:7px 0; color:var(--ks-muted); }
.achievement-preview summary { cursor:pointer; color:var(--ks-forest); font-weight:700; }
.achievement-preview p { margin:4px 0; }

.brand-workspace .workspace-nav button { color:var(--ks-muted); }
.brand-workspace .workspace-nav button.active { color:var(--ks-forest); border-color:var(--ks-forest); }
.brand-workspace :is(.workspace-action,.outline,input:not([type=checkbox]),select,textarea) {
  color:var(--ks-ink); background:var(--ks-white); border-color:var(--ks-line);
}
.brand-workspace :is(.workspace-action:hover,.workspace-action[aria-expanded=true],.choices label:has(input:checked)) { background:#ebf4ec; border-color:#9abfa9; }
.brand-workspace .workspace-action strong,.brand-workspace .profile-package-summary strong { color:var(--ks-forest); }
.brand-workspace .workspace-action span { color:var(--ks-muted); }
.brand-workspace .workspace-empty { background:#ebf4ec; border-color:#9abfa9; }
.brand-workspace .my-achievement { margin-block:16px; }
.brand-workspace .my-achievement h4 { margin:0 0 8px; font-size:17px; }
.brand-workspace .my-achievement .achievement-preview { max-width:345px; margin-block:9px; }
.brand-workspace .my-achievement p:empty { display:none; }
body:is(.brand-explorer,.brand-workspace) .share-card-dialog {
  color-scheme:light; color:var(--ks-ink); background:var(--ks-paper); border-color:var(--ks-line);
}
body:is(.brand-explorer,.brand-workspace) .share-card-dialog :is(select,button) {
  color:var(--ks-forest); background:var(--ks-white); border-color:#a6c3b3;
}
body:is(.brand-explorer,.brand-workspace) .share-card-dialog [data-download] {
  background:var(--ks-forest); color:white;
}
body:is(.brand-explorer,.brand-workspace) .share-card-dialog :is([data-status],.share-card-help) { color:var(--ks-muted); }
.share-card-heading > div { display:flex; align-items:center; gap:10px; }
.share-card-heading h2 { margin:0; }
body:is(.brand-home,.brand-explorer,.brand-workspace) :focus-visible { outline:2px solid #47866e; outline-offset:3px; }

@media(max-width:640px){
  .brand-home .hero { margin-top:10px; border-radius:14px; }
  .brand-home .directory-portrait { gap:4px; padding-inline-end:1px; }
  .directory-category-plate { min-width:29px; font-size:9px; }
}

.brand-home .navlinks a { color:var(--ks-muted); }
.brand-home .navlinks a:hover,.brand-home .navlinks a:focus-visible { color:var(--ks-forest); }
.brand-home .eyebrow { color:var(--ks-forest); }
.brand-explorer #searchBtn.scope-button { background:var(--ks-forest); color:white; border-color:var(--ks-forest); box-shadow:none; }
.brand-explorer #searchBtn.scope-button:hover:not(:disabled) { background:#1a5548; }
.brand-explorer .tabs button.active { color:var(--ks-forest); }
.brand-explorer .hero .overview,
.brand-explorer :is(.pricepanel,.creator-listing,.top-card,.creator-reputation,.reputation-card) {
  background:var(--ks-white); color:var(--ks-ink); border-color:var(--ks-line);
}
.brand-explorer .hero .overview .statgrid .hero-metric { background:#edf4ed; border-color:var(--ks-line); }
.brand-explorer .hero .overview .hero-metric b,
.brand-explorer :is(.creator-listing h2,.metric-explanation summary,.top-card a,.reputation-eyebrow,.reputation-title>span,.reputation-more summary,.reputation-rating,.reputation-badge) { color:var(--ks-forest); }
.brand-explorer :is(.listing-note,.listing-label,.reputation-muted,.reputation-score span),
.brand-workspace .claim-meta { color:var(--ks-muted); }
.brand-explorer .reputation-summary { background:#edf4ed; }
.brand-explorer .estimate-notice { color:var(--ks-muted); background:#edf4ed; border-color:#b4cbbd; border-left-color:var(--ks-forest); }
.brand-workspace .profile-package-summary { border-color:var(--ks-line); }
@media(min-width:850px){
  .brand-workspace .claim-card:has(.my-achievement canvas) { display:grid; grid-template-columns:minmax(300px,345px) minmax(0,1fr); column-gap:32px; align-items:start; }
  .brand-workspace .claim-card:has(.my-achievement canvas)>:not(.my-achievement,.profile-management) { grid-column:1/-1; }
  .brand-workspace .claim-card:has(.my-achievement canvas)>.claim-meta { margin:2px 0; }
  .brand-workspace .claim-card:has(.my-achievement canvas)>.pill { justify-self:start; }
  .brand-workspace .claim-card:has(.my-achievement canvas)>.profile-management { margin-top:27px; }
}
.brand-home #directoryFilterForm { background:var(--ks-white); border-color:var(--ks-line); }
.brand-home #directoryFilterForm label>span:last-child { color:var(--ks-muted); }
.brand-home #directoryFilterForm>.refresh { background:var(--ks-forest); color:white; }
.brand-home :is(#recentGrid,#budgetGrid) .creator.has-category-plate { grid-template-columns:minmax(0,1fr) 104px; }
.brand-home :is(#recentGrid,#budgetGrid) .directory-portrait {
  grid-column:2; grid-row:2; grid-template-columns:minmax(0,1fr) 32px;
  align-self:center; gap:6px; padding-inline-end:4px;
}
.brand-home :is(#recentGrid,#budgetGrid) .directory-portrait .portrait {
  grid-column:1; grid-row:1; width:min(100%,60px); height:auto; aspect-ratio:1; margin:0;
}
.brand-home .directory-category-plate { min-width:0; padding-inline:2px; }
.brand-home :is(#recentGrid,#budgetGrid) .has-category-plate .fee { font-size:clamp(9px,16cqi,14px); }
@media(max-width:600px){
  .brand-home :is(#recentGrid,#budgetGrid) .creator.has-category-plate { grid-template-columns:minmax(0,1fr) 87px; }
  .brand-home :is(#recentGrid,#budgetGrid) .directory-portrait { grid-template-columns:minmax(0,1fr) 28px; gap:4px; padding-inline-end:2px; }
  .brand-home :is(#recentGrid,#budgetGrid) .has-category-plate .fee { font-size:10px; }
}

/* Align Overview sections to one gutter at both viewport sizes. */
.brand-explorer #summary .overview { --overview-inset:clamp(16px,2.4vw,26px); }
.brand-explorer #summary .overview > :is(.bio,.performance-heading,.statgrid,.sample-line,.post-breakdown,.overviewfoot) {
  padding-inline:var(--overview-inset);
}
.brand-explorer #summary .overview > :is(.creator-listing,.metric-explanation,.featured-section,.audience-section) {
  margin-inline:var(--overview-inset);
}
.brand-explorer .post-breakdown { padding-block:12px 4px; }
.brand-explorer .featured-section { margin-block:22px; }
.brand-explorer .featured-reel {
  display:flex; flex-direction:column; color:var(--ks-ink);
  background:var(--ks-white); border-color:var(--ks-line);
}
.brand-explorer .featured-reel:hover { border-color:#8eb39f; }
.brand-explorer .featured-cover { background:#e7efe9; }
.brand-explorer .featured-cover img { inset:0; object-position:center; }
.brand-explorer .featured-rank { color:white; background:#103d35eb; }
.brand-explorer .featured-play { color:white; background:#103d35c9; }
.brand-explorer .featured-copy { padding:clamp(12px,1.4vw,16px); }
.brand-explorer .featured-copy strong { color:var(--ks-forest); }
.brand-explorer .featured-caption { color:var(--ks-ink); }
.brand-explorer .audience-section {
  background:#edf4ed; border:1px solid var(--ks-line); padding:clamp(16px,2vw,22px);
}
.brand-explorer .audience-section .outline { color:var(--ks-forest); background:var(--ks-white); border-color:#b4cbbd; }
.brand-explorer .audience-dna { --aud-gold:var(--ks-forest); --aud-muted:var(--ks-muted); color:var(--ks-ink); }
.brand-explorer :is(.audience-highlights,.audience-breakdown,.audience-ring>div) {
  color:var(--ks-ink); background:var(--ks-white); border-color:var(--ks-line);
}
.brand-explorer :is(.audience-highlight+.audience-highlight,.audience-more,.audience-footer) { border-color:var(--ks-line); }
.brand-explorer :is(.audience-highlight>span,.audience-highlight small,.audience-card-head>span,.audience-dna .audience-source) { color:var(--ks-muted); }
.brand-explorer :is(.audience-highlight strong,.audience-more summary,.audience-footer summary) { color:var(--ks-forest); }
.brand-explorer .audience-track { background:#e7efe9; }
.brand-explorer .audience-track>span { background:linear-gradient(90deg,#337868,#8bb7a0); }
.brand-explorer .audience-ring>div { box-shadow:0 0 0 5px #fff9; }
.brand-explorer .audience-badge,.brand-explorer .audience-status { background:var(--ks-white); color:var(--ks-forest); border-color:var(--ks-line); }

.brand-explorer #similar {
  padding:clamp(16px,2.4vw,26px);
}
.brand-explorer #similar .discovery-controls {
  gap:12px; margin-block:18px;
}
.brand-explorer #similar .discovery-controls label[hidden] { display:none; }
.brand-explorer :is(.discovery-controls,.filterbar) :is(select,input),
.brand-explorer #similar button.outline {
  color:var(--ks-ink); background:var(--ks-white); border-color:#b4cbbd;
  min-height:42px;
}
.brand-explorer #similar button.outline:hover:not(:disabled) { color:var(--ks-forest); background:#edf4ed; }
.brand-explorer #similar :is(#altStatus,.comparebox p) { max-width:78ch; line-height:1.6; }
.brand-explorer #similar .comparebox { border-color:var(--ks-line); }
.brand-explorer .info-button { color:var(--ks-forest); border-color:#86a999; }
@media(max-width:640px){
  .brand-explorer .featured-reels { grid-template-columns:minmax(0,1fr); gap:12px; }
  .brand-explorer #similar .discovery-controls {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .brand-explorer #similar .discovery-controls :is(label,select,button) { width:100%; min-width:0; max-width:100%; }
  .brand-explorer #similar .discovery-controls select { text-overflow:ellipsis; }
}

@font-face {
  font-family:"Inter Variable";
  src:url("/fonts/InterVariable.woff2?v=4.1") format("woff2");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}

body.brand-explorer {
  --explorer-font:"Inter Variable",system-ui,sans-serif;
  --explorer-control-line:#6e8b7d;
  --explorer-section-size:1.5rem;
  --explorer-metric-size:2.25rem;
  font:1rem/1.5 var(--explorer-font);
}
.brand-explorer .share-card-dialog { font-family:var(--explorer-font); }
.brand-explorer :is(.titlebar h1,.panel h2,.audience-dna .audience-title) { overflow-wrap:anywhere; }
.brand-explorer .titlebar h1 { font-size:clamp(1.625rem,2.5vw,2rem); line-height:1.2; }
.brand-explorer :is(.sectionhead h2,.featured-heading h2,.audience-section h2,.creator-listing h2,.share-card-heading h2) {
  font-size:var(--explorer-section-size);
  line-height:1.25;
}
.brand-explorer :is(.featured-note,.featured-caption,.audience-section p,.discovery p,.bio,.metric-explanation p) {
  font-size:1rem;
  line-height:1.5;
}
.brand-explorer :is(.statgrid small,.featured-copy small,.sample-line,.overviewfoot,#postBreakdown .badge,.achievement-preview details) {
  font-size:.8125rem;
  line-height:1.4;
}
.brand-explorer .featured-copy strong { font-size:1.125rem; line-height:1.3; }
.brand-explorer :is(.tabs button,.discovery-controls label,.discovery-controls button,.featured-heading a,.metric-explanation summary,.audience-section .outline) {
  font-size:.875rem;
  font-weight:600;
  line-height:1.4;
}
.brand-explorer .tabs button { flex:none; white-space:nowrap; }
.brand-explorer :is(.search input,.discovery-controls select,.discovery-controls input,.filterbar select,.filterbar input,.share-card-dialog select) {
  font-family:inherit;
  font-size:1rem;
  border-color:var(--explorer-control-line);
}
.brand-explorer #similar button.outline,
.brand-explorer .audience-section .outline { border-color:var(--explorer-control-line); }
.brand-explorer .hero .overview .hero-metric b,
.brand-explorer .pricepanel .price {
  font-size:var(--explorer-metric-size);
  line-height:1.15;
  overflow-wrap:anywhere;
}
.brand-explorer :is(.statgrid b,.pricepanel,.featured-copy strong,.sample-line b,#compareTable td) {
  font-variant-numeric:tabular-nums;
}
.brand-explorer .hero .overview .bio { max-height:none; overflow-wrap:anywhere; }
.brand-explorer .sourcebar {
  background:#edf4ed; color:var(--ks-muted); border-color:var(--ks-line);
}
.brand-explorer #similar .alternatives > :only-child:not(.alternative) { grid-column:1/-1; }
.brand-explorer #altCategory { max-width:min(100%,18rem); }
@media(max-width:640px){
  body.brand-explorer {
    --explorer-section-size:1.25rem;
    --explorer-metric-size:1.75rem;
  }
  .brand-explorer .tabs { gap:12px; }
  .brand-explorer .featured-heading { flex-wrap:wrap; }
}
@media(max-width:480px){
  .brand-explorer #similar .discovery-controls label { grid-column:1/-1; }
  .brand-explorer #similar #altCategory { max-width:100%; }
}
@media(max-width:360px){
  .brand-explorer #similar .discovery-controls { grid-template-columns:minmax(0,1fr); }
}

.brand-explorer .lookup-countdown {
  width:fit-content;
  padding:.375rem .75rem;
  border-radius:7px;
  background:#fde6e2;
  color:#442724;
  font-weight:650;
  font-variant-numeric:tabular-nums;
}
.brand-explorer .lookup-error button:disabled,
.brand-explorer #searchBtn:disabled { opacity:.65; cursor:wait; }

.brand-explorer .scope-loading {
  display:flex;
  align-items:flex-start;
  gap:1rem;
  padding:clamp(1rem,2.4vw,1.5rem);
  margin:0 0 1.5rem;
  border:1px solid #b4cbbd;
  border-radius:14px;
  background:#edf4ed;
  color:var(--ks-ink);
}
.brand-explorer .scope-loading[hidden] { display:none; }
.scope-loading-mark {
  flex:none;
  position:relative;
  border-radius:12px;
  overflow:hidden;
}
.scope-loading-mark img { display:block; }
.scope-loading-mark::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,transparent 33%,#cae1d062 48%,#e8fff4c7 50%,transparent 57%);
  animation:scope-focus-sweep 1.8s ease-in-out infinite;
}
.scope-loading-copy { min-width:0; }
.scope-loading-copy h2 {
  color:var(--ks-forest);
  font-size:1.125rem;
  line-height:1.3;
  margin:0 0 .375rem;
  overflow-wrap:anywhere;
}
.scope-loading-copy p { margin:0; }
.scope-loading-copy small {
  display:block;
  color:var(--ks-muted);
  font-size:.875rem;
  margin-top:.375rem;
}
.brand-explorer:has(#scopeLoading:not([hidden])) #status {
  position:absolute;
  width:1px;
  height:1px;
  clip-path:inset(50%);
  overflow:hidden;
}
.brand-explorer .scope-progress:after {
  background:linear-gradient(90deg,transparent,#337868,#cae1d0,transparent);
}
@keyframes scope-focus-sweep {
  from { transform:translateY(-90%); }
  to { transform:translateY(90%); }
}
@media(prefers-reduced-motion:reduce) {
  .scope-loading-mark::after { animation:none; opacity:0; }
}
