:root {
  --bg: #0f0a12;
  --bg-alt: #171019;
  --surface: #1c1420;
  --surface-hover: #241a2b;
  --border: #34222f;
  --text: #f3e9f0;
  --text-muted: #b9a6b8;
  --accent: #ff3d6e;
  --accent-2: #ff8a3d;
  --accent-soft: rgba(255, 61, 110, 0.15);
  --focus: #ffb84d;
  --radius: 14px;
  --chip-radius: 12px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}



.site-header {
  background: rgba(15, 10, 18, 0.75);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.header-titles {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}


.header-inner .brand {
  padding-right: 7rem;
}

.header-inner:has(#header-index-btn:not([hidden])):has(#sort-toggle:not([hidden])) .brand {
  padding-right: 13rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
}

.brand-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}


.header-controls {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-toggle-btn,
.header-index-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--chip-radius);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sort-toggle-btn svg,
.header-index-btn svg {
  width: 15px;
  height: 15px;
}

.header-index-btn svg {
  fill: currentColor;
}

.sort-toggle-btn .sort-toggle-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sort-toggle-btn:hover,
.header-index-btn:hover,
.sort-toggle-btn:focus-visible,
.header-index-btn:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.sort-toggle-btn.is-active {
  background: rgba(38, 152, 245, 0.18);
  border-color: transparent;
  color: #7cc4fb;
}


.sort-toggle-btn[hidden],
.header-index-btn[hidden] {
  display: none;
}


.get-extension-wrap {
  display: none;
  position: relative;
}

.get-extension-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--chip-radius);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.get-extension-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.get-extension-chevron {
  transition: transform 0.15s ease;
}

.get-extension-btn[aria-expanded="true"] .get-extension-chevron {
  transform: rotate(180deg);
}

.get-extension-btn:hover,
.get-extension-btn:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.get-extension-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 20;
}

.get-extension-menu[hidden] {
  display: none;
}

.get-extension-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: calc(var(--radius) - 6px);
  color: var(--text);
  font-size: 0.9rem;
}

.get-extension-option:hover,
.get-extension-option:focus-visible {
  background: var(--surface-hover);
}

.get-extension-option[aria-disabled="true"] {
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.get-extension-version {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (min-width: 720px) {
  .get-extension-wrap {
    display: inline-flex;
  }

  
  .header-inner .brand {
    padding-right: 13rem;
  }

  .header-inner:has(#header-index-btn:not([hidden])):has(#sort-toggle:not([hidden])) .brand {
    padding-right: 19rem;
  }
}




.page {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}


.toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
}


.search-wrap {
  position: relative;
  flex: 1 1 90px;
  min-width: 90px;
  max-width: 420px;
}

.live-filter-btn {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--chip-radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.live-filter-btn[hidden] {
  display: none;
}

.live-filter-btn:hover {
  border-color: #ef4444;
  color: var(--text);
}

.live-filter-btn .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  flex: 0 0 auto;
}

.live-filter-btn.is-active {
  background: rgba(239, 68, 68, 0.18);
  border-color: transparent;
  color: #ef4444;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  pointer-events: none;
}


#search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

#search-input {
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  border-radius: var(--chip-radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-clear-btn {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.search-clear-btn[hidden] {
  display: none;
}

.search-clear-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  transition: fill 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .search-clear-btn:hover svg {
    fill: #ef4444;
  }
}

.search-clear-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.search-clear-btn:focus-visible svg {
  fill: #ef4444;
}

#search-input::placeholder {
  color: var(--text-muted);
}

#search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.result-count {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.result-count svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.platform-filter {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.platform-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--chip-radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.platform-filter-btn:hover {
  border-color: var(--accent-2);
  color: var(--text);
}

.platform-filter-btn img {
  height: 12px;
  width: auto;
  display: block;
}

.platform-filter-btn svg {
  height: 12px;
  width: auto;
  display: block;
  fill: currentColor;
}


.platform-filter-btn.is-active {
  background: rgba(38, 152, 245, 0.18);
  border-color: transparent;
  color: #7cc4fb;
}



.table-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.creator-table {
  width: 100%;
  
  table-layout: fixed;
  border-collapse: collapse;
}

.creator-table col.col-spice {
  width: 720px;
}

.creator-table thead th {
  text-align: left;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.creator-table thead th span {
  vertical-align: middle;
}

.creator-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.creator-table tbody tr:last-child {
  border-bottom: none;
}

.creator-table tbody tr:hover {
  background: var(--surface-hover);
}

.creator-table tbody tr {
  cursor: pointer;
}

.creator-table tbody tr.is-profile-open {
  background: var(--surface-hover);
}

.creator-table tbody td {
  
  padding: 1.1rem;
  vertical-align: middle;
}


.creator-table tbody tr.profile-row {
  background: var(--bg-alt);
}

.creator-table tbody td.profile-cell {
  text-align: center;
  
  flex: 1 1 100%;
}

.view-profile-link {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.creator-table tbody tr.profile-row:hover .view-profile-link {
  color: var(--text);
}

.bio-content {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.bio-channel-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bio-channel-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.bio-channel-link:hover,
.bio-channel-link:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.bio-channel-link:hover,
.bio-channel-link:focus-visible {
  transform: translateY(-1px);
}


.bio-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-end;
}

.bio-socials-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bio-socials-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.bio-socials-link:hover,
.bio-socials-link:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}


.creator-table tbody td[data-label="Spice"] {
  vertical-align: top;
}

.name-cell {
  display: flex;
  
  align-items: flex-start;
  font-weight: 600;
  font-size: 1.2rem;
}

.name-link {
  display: inline-flex;
  
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  
  min-width: 0;
  max-width: 100%;
  
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}


.channel-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


@media (hover: hover) and (pointer: fine) {
  .name-link:hover {
    color: var(--accent);
    text-decoration: underline;
  }

  .name-link:hover .avatar {
    border-color: var(--accent);
    transform: scale(1.08);
  }
}

.name-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.name-link:focus-visible .avatar {
  border-color: var(--accent);
  transform: scale(1.08);
}

.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.avatar-img.is-loaded {
  opacity: 1;
}

.spice-handles {
  display: flex;
  
  flex-flow: row wrap;
  align-items: flex-start;
  
  column-gap: 0.4rem;
  row-gap: 0.65rem;
  
  margin-top: 1rem;
  
  margin-bottom: 1rem;
}

.spice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  background: rgba(38, 152, 245, 0.14);
  border: 1px solid transparent;
  color: #7cc4fb;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.spice-pill:hover {
  border-color: #7cc4fb;
  transform: translateY(-1px);
}


.spice-pill[class*="is-live-"]::after {
  content: "";
  
  order: -1;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}


.spice-pill[data-icon]::before,
.x-pill[data-icon]::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.spice-pill[data-icon="fansly"]::before {
  width: 17px;
  background-image: url("fansly.svg");
}

.spice-pill[data-icon="onlyfans"]::before {
  width: 21px;
  background-image: url("onlyfans.svg");
}

.spice-pill[data-icon="rplay"]::before {
  width: 23px;
  background-image: url("rplay.svg");
}

.spice-pill[data-icon="joystick"]::before {
  width: 23px;
  background-image: url("joystick.svg");
}


.spice-pill[data-icon="patreon"]::before,
.x-pill[data-icon="x"]::before {
  width: 14px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.spice-pill[data-icon="patreon"]::before {
  -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 436 476"><path d="M436 143c-.084-60.778-47.57-110.591-103.285-128.565C263.528-7.884 172.279-4.649 106.214 26.424 26.142 64.089.988 146.596.051 228.883c-.77 67.653 6.004 245.841 106.83 247.11 74.917.948 86.072-95.279 120.737-141.623 24.662-32.972 56.417-42.285 95.507-51.929C390.309 265.865 436.097 213.011 436 143Z"/></svg>');
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 436 476"><path d="M436 143c-.084-60.778-47.57-110.591-103.285-128.565C263.528-7.884 172.279-4.649 106.214 26.424 26.142 64.089.988 146.596.051 228.883c-.77 67.653 6.004 245.841 106.83 247.11 74.917.948 86.072-95.279 120.737-141.623 24.662-32.972 56.417-42.285 95.507-51.929C390.309 265.865 436.097 213.011 436 143Z"/></svg>');
}

.x-pill[data-icon="x"]::before {
  -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.9 2H22l-7.2 8.3L23.3 22h-6.6l-5.2-6.8L5.3 22H2.2l7.7-8.9L1 2h6.8l4.7 6.2L18.9 2zm-1.2 18h1.8L7.3 4h-2l12.4 16z"/></svg>');
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.9 2H22l-7.2 8.3L23.3 22h-6.6l-5.2-6.8L5.3 22H2.2l7.7-8.9L1 2h6.8l4.7 6.2L18.9 2zm-1.2 18h1.8L7.3 4h-2l12.4 16z"/></svg>');
}


.x-pill[data-icon="bsky"]::before {
  width: 14px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%230085FF" d="M256 0c141.385 0 256 114.615 256 256S397.385 512 256 512 0 397.385 0 256 114.615 0 256 0z"/><path fill="%23fff" fill-rule="nonzero" d="M183.776 158.537c29.233 22.022 60.681 66.666 72.223 90.625 11.543-23.959 42.992-68.603 72.225-90.625 21.097-15.886 55.275-28.181 55.275 10.937 0 7.81-4.463 65.631-7.084 75.02-9.1 32.629-42.27 40.953-71.774 35.916 51.573 8.806 64.691 37.97 36.357 67.137-53.808 55.394-77.34-13.898-83.364-31.653-1.738-5.111-1.49-5.228-3.268 0-6.026 17.755-29.555 87.047-83.364 31.653-28.334-29.167-15.216-58.331 36.357-67.137-29.504 5.037-62.674-3.287-71.774-35.916-2.621-9.389-7.084-67.21-7.084-75.02 0-39.118 34.182-26.823 55.275-10.937z"/></svg>');
}


.other-pill {
  background: rgba(168, 133, 245, 0.14);
  color: #b9a2fb;
}

.other-pill:hover {
  border-color: #b9a2fb;
}

.x-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.x-pill:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  margin: 0;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--chip-radius);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.load-more-btn:hover,
.load-more-btn:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.load-more-wrap[hidden] {
  display: none;
}



.site-footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}


.back-to-index {
  margin: 0 auto 0.75rem;
  font-size: 0.9rem;
}

.back-to-index a {
  color: var(--text-muted);
  font-weight: 600;
}

.back-to-index a:hover {
  color: var(--accent);
}

.criteria-toggle-btn {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 0.4rem;
  margin: 0 auto 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--chip-radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.criteria-toggle-btn:hover {
  border-color: var(--accent-2);
  color: #7cc4fb;
}

.criteria-toggle-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform 0.15s ease;
}

.criteria-toggle-btn.expanded .criteria-toggle-icon {
  transform: rotate(180deg);
}

.criteria-content {
  max-width: 480px;
  margin: 0 auto 0.75rem;
}

.site-stats {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.site-stats strong {
  color: #d9cdd8;
  font-weight: 700;
}




@media (max-width: 1100px) {
  
  .table-section {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .creator-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .creator-table,
  .creator-table tbody,
  .creator-table tr {
    display: block;
    width: 100%;
  }

  .creator-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.65rem;
    column-gap: 0.6rem;
    
    padding: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
  }

  .creator-table tbody tr:last-child {
    margin-bottom: 0;
  }

  
  .creator-table tbody tr.is-profile-open {
    margin-bottom: 0;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .creator-table tbody tr.profile-row {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  
  .creator-table tbody td.profile-cell {
    padding: 0;
  }

  .creator-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    text-align: left;
  }

  
  .creator-table tbody td[data-label="Channel"] {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.2rem;
  }

  
  .creator-table tbody td.name-cell {
    display: flex;
    align-items: center;
  }

  .creator-table tbody td:empty {
    display: none;
  }

  
  .creator-table tbody td[data-label="Spice"],
  .creator-table tbody .spice-handles {
    display: contents;
  }

  
  .creator-table tbody .spice-pill,
  .creator-table tbody .x-pill {
    order: 4;
  }

  
  .creator-table tbody tr::after {
    content: "";
    order: 3;
    flex-basis: 100%;
    width: 0;
  }
}



@media (max-width: 760px) {
  .platform-filter-btn:not([data-platform="all"]) span {
    display: none;
  }

  .platform-filter-btn:not([data-platform="all"]) {
    padding-inline: 0.5rem;
  }

  
  .result-count-total {
    display: none;
  }
}


@media (max-width: 720px) {
  .sort-toggle-btn,
  .header-index-btn {
    padding: 0.4rem 0.7rem;
  }

  .header-inner .brand {
    padding-right: 2.5rem;
  }

  .header-inner:has(#header-index-btn:not([hidden])):has(#sort-toggle:not([hidden])) .brand {
    padding-right: 4.5rem;
  }

  .sort-toggle-btn span,
  .header-index-btn span {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 1rem;
  }

  .header-controls {
    top: 1rem;
    right: 1rem;
    gap: 0.4rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .page {
    padding: 1rem 1rem 2rem;
  }

  .search-wrap {
    max-width: none;
    min-width: 0;
  }

  .result-count {
    text-align: right;
  }

}




.creator-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  --creator-avatar-size: clamp(88px, 11vw, 148px);
}


.creator-profile {
  display: flex;
  width: 100%;
  padding: 0.5rem 0 2rem;
}

.avatar-xl {
  width: var(--creator-avatar-size);
  height: var(--creator-avatar-size);
  background: transparent;
  
  border: 3px solid var(--surface);
}

.creator-banner-img {
  display: block;
  width: 100%;
  height: auto;
}


.creator-card {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}


.creator-profile-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: var(--surface);
  padding: 0 1.25rem 1.25rem;
}

.creator-profile-head {
  position: relative;
  margin: 0 -1.25rem;
  background: var(--bg-alt);
  overflow: hidden;
}

.creator-profile-head.has-banner {
  background: transparent;
}



.creator-profile-head.has-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.creator-profile-identity {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(0.7rem, 1.9vw, 1.25rem);
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
}

.creator-profile-head.has-banner + .creator-profile-identity {
  margin-top: calc(var(--creator-avatar-size) * -0.5);
}

.creator-profile-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.creator-profile-side {
  margin-left: auto;
  margin-top: calc(var(--creator-avatar-size) * 0.75 - 18px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  min-width: 0;
  width: min(58ch, 62%);
}


.creator-profile-head:not(.has-banner) + .creator-profile-identity .creator-profile-side {
  margin-top: 0;
}

.creator-profile .channel-name {
  min-width: 0;
  margin: 0.15rem 0 0;
  
  line-height: 1.3;
  transform: none;
  font-size: clamp(1.35rem, 3.7vw, 2.7rem);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.95),
    1px -1px 0 rgba(0, 0, 0, 0.95),
    -1px 1px 0 rgba(0, 0, 0, 0.95),
    1px 1px 0 rgba(0, 0, 0, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(0, 0, 0, 0.8);
}

.creator-profile-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
  width: auto;
}

.creator-quick-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.creator-quick-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.creator-socials-link svg {
  fill: currentColor;
}

.creator-quick-link:hover,
.creator-quick-link:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.creator-channel-link,
.creator-socials-link {
  color: var(--text-muted);
}

.creator-channel-link:hover,
.creator-channel-link:focus-visible,
.creator-socials-link:hover,
.creator-socials-link:focus-visible {
  border-color: var(--text-muted);
}


.creator-profile .spice-handles {
  margin-top: 0;
  margin-bottom: 0;
}

.creator-profile .bio-content {
  text-align: left;
}

.creator-inline-bio {
  margin: 0;
  padding: 0.15rem 0.2rem 0;
  width: 100%;
  text-align: left;
}

@media (max-width: 1100px) {
  .creator-profile {
    padding: 0.5rem 0 2rem;
  }

  .creator-profile-card {
    padding: 0 1rem 1rem;
  }

  .creator-profile-head {
    margin: 0 -1rem;
  }
}

@media (max-width: 760px) {
  .creator-profile-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .creator-profile-actions {
    gap: 0.45rem;
  }

  .creator-quick-link {
    padding: 0.45rem;
  }

  .creator-quick-link-label {
    display: none;
  }
}




.creator-stream-tabs {
  width: 100%;
  padding: 0 0 2rem;
}

.stream-tabs-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  padding: 1.25rem;
}

.stream-main-tabs,
.fansly-month-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fansly-month-pills {
  justify-content: flex-end;
}

.stream-tab-panel {
  display: none;
}

.stream-tab-panel.is-active {
  display: block;
}

.stream-empty-message {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}


.stream-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--chip-radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.stream-tab-btn img {
  height: 12px;
  width: auto;
  display: block;
}

.stream-tab-btn:hover {
  border-color: var(--accent-2);
  color: var(--text);
}

.stream-tab-btn.is-active {
  background: rgba(38, 152, 245, 0.18);
  border-color: transparent;
  color: #7cc4fb;
}


.fansly-month-btn {
  padding: 0.3rem 0.7rem;
  border-radius: var(--chip-radius);
  border: 1px solid transparent;
  background: rgba(38, 152, 245, 0.14);
  color: #7cc4fb;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fansly-month-btn:hover {
  border-color: #7cc4fb;
}

.fansly-month-btn.is-active {
  background: rgba(38, 152, 245, 0.32);
  border-color: #7cc4fb;
}

.fansly-graph-panel {
  display: none;
}

.fansly-graph-panel.is-active {
  display: block;
}

.fansly-graph-panel svg {
  width: 100%;
  height: auto;
  display: block;
}

.fansly-axis-text,
.stream-axis-text {
  fill: rgba(243, 233, 240, 0.5);
  font-size: 11px;
}

.fansly-line,
.stream-line {
  fill: none;
  stroke: #0284c7;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}


.fansly-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.fansly-stat {
  font-size: 0.85rem;
  color: var(--text);
}

.fansly-stat-label {
  color: var(--text-muted);
  font-weight: 500;
}



.streams-table {
  width: 100%;
  border-collapse: collapse;
}

.streams-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.streams-table td {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.streams-table tbody tr:last-child td {
  border-bottom: none;
}

.streams-table tbody tr:hover {
  background: var(--surface-hover);
}

.stream-row.is-expandable {
  cursor: pointer;
}

.stream-row.is-expandable td:first-child::before {
  content: "▸ ";
  color: var(--text-muted);
}

.stream-row.is-expandable.is-open td:first-child::before {
  content: "▾ ";
}

.stream-graph-row td {
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.viewer-graph-svg {
  width: 100%;
  height: auto;
  display: block;
}




.insights-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 1.5fr) minmax(14rem, 1fr);
  align-items: start;
  gap: 1.25rem;
}

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

.insights-info-card,
.insights-graph-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.insights-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.insights-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.insights-tz-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0.75rem 0 0;
}


.insights-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insights-stat {
  font-size: 0.85rem;
  color: var(--text);
}

.insights-stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

.insights-main-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}


.insights-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--chip-radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.insights-tab-btn:hover {
  border-color: var(--accent-2);
  color: var(--text);
}

.insights-tab-btn.is-active {
  background: rgba(38, 152, 245, 0.18);
  border-color: transparent;
  color: #7cc4fb;
}

.insights-tab-panel {
  display: none;
}

.insights-tab-panel.is-active {
  display: block;
}

.insights-empty-message {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}


.insights-heatmap {
  display: grid;
  grid-template-columns: 3rem repeat(7, minmax(0, 1.8rem));
  gap: 2px;
  max-width: 100%;
  width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
}

.insights-heatmap-corner {
  background: transparent;
}

.insights-heatmap-day-label,
.insights-heatmap-hour-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.2rem;
}

.insights-heatmap-hour-label {
  justify-content: flex-end;
  padding-right: 0.4rem;
}


.insights-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(38, 152, 245, var(--intensity, 0));
  border: 1px solid var(--border);
}
