/* Creator cabinet: keep the gaps between panels free of drop shadows. */
#view-creator :is(
  .creator-capsule,
  .creator-overview-hero,
  .dash-section,
  .favorite-creators,
  .vsh-message-inbox,
  .creator-inbox-card,
  .my-contests__card,
  .my-contests__contest,
  .portfolio-dashboard__works,
  .portfolio-dashboard__side-card,
  .creator-brief-sidebar,
  .creator-brief-detail,
  .creator-brief-board__empty,
  .creator-profile-card,
  .creator-settings-section,
  .creator-settings-card,
  .creator-settings-hero,
  .creator-settings-menu,
  .creator-scout-card,
  .creator-scout-panel,
  .creator-payouts-card
){box-shadow:none!important}

/* The navigation capsule changes colour on hover without shifting. */
#view-creator .creator-capsule a{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease!important;
}
#view-creator .creator-capsule a:hover,
#view-creator .creator-capsule a:active{transform:none!important}

/* Touch browsers can retain :hover after a horizontal swipe. Only the current
   route is highlighted; hover feedback remains available for mouse users. */
@media (hover:none), (pointer:coarse){
  html:root body #view-creator .creator-capsule a:not(.active):not([aria-current="page"]):hover{
    background:transparent!important;
    color:#335e32!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body #view-creator .creator-capsule a:not(.active):not([aria-current="page"]):hover{
    color:#a6b5a8!important;
  }
}

/* The skill label is a wrapper; paint only its rounded inner capsule. */
html[data-theme="dark"] #view-creator .creator-skills label,
html[data-theme="dark"] #view-creator .creator-skills label:has(input:checked){
  background:transparent!important;
  border:0!important;
}
html[data-theme="dark"] #view-creator .creator-skills label>span{
  background:rgba(20,29,23,.6)!important;
  color:#e8efe4!important;
}
html[data-theme="dark"] #view-creator .creator-skills label>input:checked+span{
  background:rgba(31,46,28,.9)!important;
  border-color:#d5ff6b!important;
  color:#d5ff6b!important;
}

/* Overview counters need dark numerals on their pale lime circles. */
html[data-theme="dark"] #creator-overview #creator-projects-preview .workspace-summary--projects .workspace-summary__number,
html[data-theme="dark"] #creator-overview [data-favorite-creators] .favorite-creators__count{
  color:#18301c!important;
}

/* Empty saved-creators copy and browse link in the dark overview. */
html[data-theme="dark"] #creator-overview [data-favorite-creators] .favorite-creators__empty p{
  color:#fff!important;
  font-size:11px;
}
html[data-theme="dark"] #creator-overview [data-favorite-creators] .favorite-creators__empty a{
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:#fff!important;
  transition:color .18s ease;
}
html[data-theme="dark"] #creator-overview [data-favorite-creators] .favorite-creators__empty a:hover,
html[data-theme="dark"] #creator-overview [data-favorite-creators] .favorite-creators__empty a:focus-visible{
  color:#d5ff6b!important;
}
#creator-overview [data-favorite-creators] .favorite-creators__arrow{
  display:inline-block;
  transition:transform .18s ease;
}
#creator-overview [data-favorite-creators] .favorite-creators__empty a:hover .favorite-creators__arrow,
#creator-overview [data-favorite-creators] .favorite-creators__empty a:focus-visible .favorite-creators__arrow{
  transform:translate(2px,-2px);
}
@media(prefers-reduced-motion:reduce){
  #creator-overview [data-favorite-creators] .favorite-creators__arrow{transition:none}
}

/* Keep the profile settings panels flat, so their gradients do not form
   dark bands in the narrow gaps between sections. */
html[data-theme="dark"]:root body #view-creator :is(
  .creator-settings-section,
  .creator-settings-left > .creator-profile-card,
  .creator-settings-aside-note,
  .creator-settings-footer
){
  background-color:#142019!important;
  background-image:none!important;
  box-shadow:none!important;
}
html[data-theme="dark"]:root body #view-creator #creator-inline-form.creator-profile-card{
  background:transparent!important;
  box-shadow:none!important;
}
