/* ==========================================================================
   TubeCheck — YouTube Monetization Checker
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: #0c0c12;
  --surface: #121219;
  --surface-2: #171721;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f7;
  --muted: #a0a0af;
  --muted-2: #71717f;
  --accent: #ff2e63;
  --accent-2: #ff7a45;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 18px;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient grid + glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(255, 46, 99, 0.11), transparent 66%),
    radial-gradient(700px 480px at 92% 4%, rgba(255, 122, 69, 0.06), transparent 70%),
    radial-gradient(700px 480px at 4% 18%, rgba(124, 58, 237, 0.05), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 12%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 12%, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.gradient-text {
  background: linear-gradient(102deg, #ff2e63 0%, #ff5f4f 48%, #ff9a5a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(255, 46, 99, 0.28);
}

.brand-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13.5px;
  font-weight: 640;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lang-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.lang-picker:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 9px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lang-trigger:focus-visible {
  outline: 2px solid rgba(255, 46, 99, 0.55);
  outline-offset: 2px;
}

.lang-picker svg {
  flex: none;
  opacity: 0.75;
}

.lang-current {
  color: var(--text);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.02em;
}

.lang-caret {
  transition: transform 0.18s ease;
}

.lang-trigger[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 2px;
  width: 216px;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: langDrop 0.16s ease both;
}

@keyframes langDrop {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

.lang-option-code {
  width: 26px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.lang-option-name {
  font-size: 12.5px;
  font-weight: 600;
}

.lang-option[aria-selected="true"] {
  background: rgba(255, 46, 99, 0.09);
}

.lang-option[aria-selected="true"] .lang-option-code,
.lang-option[aria-selected="true"] .lang-option-name {
  color: var(--accent);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.theme-icon {
  width: 17px;
  height: 17px;
}

.theme-icon--sun {
  display: none;
}

html.light .theme-icon--sun {
  display: block;
}

html.light .theme-icon--moon {
  display: none;
}

/* ==========================================================================
   Share
   ========================================================================== */

.share-section {
  margin-top: 64px;
}

.share-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(600px 140px at 0% 0%, rgba(255, 46, 99, 0.07), transparent 70%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.share-intro {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.share-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 46, 99, 0.2);
  border-radius: 12px;
  background: rgba(255, 46, 99, 0.09);
  color: var(--accent);
}

.share-intro h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.share-intro p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 620;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.share-btn:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.share-btn svg {
  flex: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 88px 0 62px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto 0 -240px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(600px 220px at 50% 50%, rgba(255, 46, 99, 0.10), transparent 72%);
  filter: blur(14px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.hero h1 {
  max-width: 960px;
  margin: 24px 0 18px;
  font-size: clamp(40px, 6.4vw, 70px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15.5px, 1.8vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}

/* search */
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(790px, 100%);
  margin-top: 34px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 28, 38, 0.92), rgba(16, 16, 23, 0.94));
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search:focus-within {
  border-color: rgba(255, 46, 99, 0.55);
  box-shadow:
    0 0 0 4px rgba(255, 46, 99, 0.09),
    0 26px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.search.is-invalid {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow:
    0 0 0 4px rgba(248, 113, 113, 0.11),
    0 22px 64px rgba(0, 0, 0, 0.42);
}

.search-icon {
  display: flex;
  flex: none;
  margin-left: 11px;
  color: var(--muted-2);
}

.search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15.5px;
}

.search input::placeholder {
  color: #63636f;
}

.search button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 21px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #ff2e63, #ff5a3c);
  color: #fff;
  font-size: 14.5px;
  font-weight: 720;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(255, 46, 99, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.search button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(255, 46, 99, 0.38);
}

.search button:active:not(:disabled) {
  transform: translateY(0);
}

.search button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.search button:focus-visible,
.nav-cta:focus-visible,
.example:focus-visible,
.btn-ghost:focus-visible,
.link-btn:focus-visible,
.clear-recent:focus-visible {
  outline: 2px solid rgba(255, 46, 99, 0.8);
  outline-offset: 2px;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.search button.is-loading .spinner {
  display: inline-block;
}

.search button.is-loading .btn-arrow {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* examples */
.examples-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 13px;
}

.examples-label {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.example {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 620;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.example:hover {
  color: var(--text);
  border-color: rgba(255, 46, 99, 0.35);
  background: rgba(255, 46, 99, 0.08);
}

.recent-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.recent-divider {
  width: 1px;
  height: 16px;
  margin: 0 3px;
  background: var(--border-strong);
}

.clear-recent {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px;
}

.clear-recent:hover {
  color: var(--muted);
}

.micro {
  margin: 18px 0 0;
  color: #5d5d69;
  font-size: 12.5px;
}

.noscript {
  margin: 14px 0 0;
  padding: 9px 13px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.07);
  color: var(--amber);
  font-size: 12px;
}

/* ==========================================================================
   Results
   ========================================================================== */

.results-section {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  scroll-margin-top: 96px;
}

.result-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #14141c 0%, #0e0e14 100%);
  box-shadow: var(--shadow);
  animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* channel header */
.channel-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 32px 28px;
  border-bottom: 1px solid var(--border);
}

.channel-banner {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.22;
  filter: saturate(1.1);
  transform: scale(1.04);
}

.channel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 280px at 70% 0%, rgba(9, 9, 14, 0.32), transparent 72%),
    linear-gradient(180deg, rgba(9, 9, 14, 0.38), rgba(9, 9, 14, 0.94) 82%),
    linear-gradient(90deg, rgba(9, 9, 14, 0.88), transparent 65%);
  pointer-events: none;
}

.channel-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.avatar-wrap {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
}

.avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  object-fit: cover;
  background: #1b1b25;
}

.avatar--fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.03em;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(255, 46, 99, 0.35), transparent 70%),
    linear-gradient(135deg, #2b2b3a, #15151d);
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.verified-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 3px solid #0e0e14;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  z-index: 2;
}

.identity-text {
  flex: 1;
  min-width: 250px;
}

.identity-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.identity-top h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.038em;
  overflow-wrap: anywhere;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 720;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-pill--good {
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
}

.status-pill--bad {
  color: var(--red);
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
}

.status-pill--warn {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.identity-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

.identity-meta .sep {
  margin: 0 7px;
  color: #4d4d59;
}

.identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 620;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--border-strong);
}

/* body */
.result-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.panel-label {
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.panel-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.55;
}

/* status */
.status-panel {
  position: relative;
  overflow: hidden;
}

.status-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 0 0, var(--status-glow, transparent), transparent 72%);
  pointer-events: none;
}

.status--good {
  --status-glow: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.22);
}

.status--bad {
  --status-glow: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.22);
}

.status--warn {
  --status-glow: rgba(251, 191, 36, 0.09);
  border-color: rgba(251, 191, 36, 0.22);
}

.status-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.status-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.status--good .status-icon {
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.24);
}

.status--bad .status-icon {
  color: var(--red);
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.24);
}

.status--warn .status-icon {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.09);
  border-color: rgba(251, 191, 36, 0.24);
}

.status-row h3 {
  margin: 1px 0 6px;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.022em;
}

.status-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

/* authenticity */
.score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.score-value {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.score-value small {
  margin-left: 2px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
}

.score-note {
  color: var(--muted);
  font-size: 11.5px;
  text-align: right;
}

.score-track {
  height: 8px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.02);
}

.stat-head {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 620;
}

.stat-head svg {
  color: var(--muted-2);
  opacity: 0.9;
}

.stat-value {
  margin-top: 9px;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.032em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.stat-sub {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.45;
}

/* revenue */
.revenue-panel {
  background:
    linear-gradient(135deg, rgba(255, 46, 99, 0.055), rgba(255, 122, 69, 0.025) 42%, rgba(255, 255, 255, 0.014));
}

.revenue-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.revenue-big {
  margin-top: 2px;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1;
}

.revenue-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.revenue-side {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.revenue-side span {
  display: block;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.revenue-side strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11.5px;
}

.range-track {
  position: relative;
  height: 8px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.range-caption {
  margin: 7px 0 0;
  color: var(--muted-2);
  font-size: 11px;
}

.revenue-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.revenue-mini-grid span {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
}

.revenue-mini-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.revenue-mini-grid .small-strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.disclaimer {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.5;
}

.revenue-panel--empty .empty-text {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* details */
.details-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.detail-pill {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.detail-pill span {
  display: block;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 720;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.detail-pill strong {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  font-weight: 640;
}

.description-wrap {
  margin-top: 18px;
}

.description {
  margin: 0;
  overflow: hidden;
  max-height: 7.2em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
  white-space: pre-line;
  transition: max-height 0.25s ease;
}

.description.is-expanded {
  max-height: none;
}

.link-btn {
  display: inline-block;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}

.link-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chip-block {
  margin-top: 20px;
}

.chip-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 720;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  max-width: 100%;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.social-link span {
  overflow-wrap: anywhere;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* ==========================================================================
   Skeleton / error
   ========================================================================== */

.skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.015);
}

.sk-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sk-avatar {
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 50%;
}

.sk-lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.sk-line {
  height: 14px;
  border-radius: 7px;
}

.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sk-box {
  height: 86px;
  border-radius: 15px;
}

.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 25%,
    rgba(255, 255, 255, 0.085) 37%,
    rgba(255, 255, 255, 0.035) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.error-box {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 18px;
  background: rgba(248, 113, 113, 0.055);
  animation: rise 0.3s ease both;
}

.error-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
}

.error-box h3 {
  margin: 0 0 5px;
  font-size: 16.5px;
  font-weight: 700;
}

.error-box p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding-top: 76px;
}

#features,
#how,
#faq {
  scroll-margin-top: 92px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 10px 0 11px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.042em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.68;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.028);
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 46, 99, 0.18);
  border-radius: 12px;
  background: rgba(255, 46, 99, 0.085);
  color: var(--accent);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.step-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(255, 46, 99, 0.22);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 620;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   Footer / toast
   ========================================================================== */

.site-footer {
  margin-top: 84px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 11.5px;
}

.footer-row p {
  margin: 0;
}

.footer-brand {
  color: var(--muted);
  font-weight: 700;
}

.footer-row a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 80;
  padding: 11px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: #1c1c26;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .sk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .revenue-mini-grid,
  .details-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav {
    height: 64px;
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .nav-controls {
    gap: 6px;
  }

  .lang-picker {
    height: 34px;
  }

  .lang-picker .lang-globe {
    display: none;
  }

  .lang-trigger {
    gap: 5px;
    padding: 0 8px;
  }

  .lang-current {
    font-size: 11px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .share-section {
    margin-top: 48px;
  }

  .share-card {
    padding: 18px;
  }

  .share-actions {
    width: 100%;
  }

  .share-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero {
    padding: 58px 0 44px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(34px, 10vw, 46px);
  }

  .lede {
    font-size: 15px;
  }

  .search {
    flex-wrap: wrap;
    padding: 8px;
  }

  .search-icon {
    display: none;
  }

  .search input {
    flex: 1 1 100%;
    height: 46px;
    padding: 0 8px;
    font-size: 14.5px;
  }

  .search button {
    width: 100%;
    height: 46px;
    margin-top: 2px;
  }

  .examples-row {
    margin-top: 14px;
    font-size: 12px;
  }

  .recent-wrap {
    justify-content: center;
  }

  .micro {
    font-size: 11.5px;
  }

  .channel-hero {
    padding: 22px 20px 20px;
  }

  .avatar-wrap {
    width: 76px;
    height: 76px;
  }

  .avatar--fallback {
    font-size: 24px;
  }

  .verified-badge {
    width: 23px;
    height: 23px;
    border-width: 3px;
  }

  .identity-text {
    min-width: 0;
    flex-basis: calc(100% - 96px);
  }

  .identity-top h2 {
    font-size: 25px;
  }

  .result-body {
    gap: 12px;
    padding: 16px;
  }

  .panel {
    padding: 18px;
  }

  .result-grid {
    gap: 12px;
  }

  .stats-grid,
  .sk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .revenue-mini-grid,
  .details-top {
    grid-template-columns: 1fr;
  }

  .revenue-head {
    gap: 18px;
  }

  .revenue-side {
    gap: 24px;
  }

  .section {
    padding-top: 56px;
  }

  .feature-card,
  .step {
    padding: 20px;
  }

  .footer-row {
    flex-direction: column;
  }

  .toast {
    bottom: 16px;
    width: calc(100% - 32px);
    text-align: center;
  }
}

@media (max-width: 380px) {
  .stats-grid,
  .sk-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Light theme
   ========================================================================== */

html.light {
  color-scheme: light;
  --bg: #f5f6fb;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f1f7;
  --border: rgba(22, 22, 45, 0.09);
  --border-strong: rgba(22, 22, 45, 0.17);
  --text: #15151f;
  --muted: #5c5c6d;
  --muted-2: #878795;
  --green: #0f9f6e;
  --amber: #b7791f;
  --red: #dc4b4b;
  --shadow: 0 34px 90px rgba(28, 28, 70, 0.12);
}

html.light body::before {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(255, 46, 99, 0.08), transparent 66%),
    radial-gradient(700px 480px at 92% 4%, rgba(255, 122, 69, 0.07), transparent 70%),
    radial-gradient(700px 480px at 4% 18%, rgba(124, 58, 237, 0.05), transparent 70%);
}

html.light body::after {
  background-image:
    linear-gradient(rgba(24, 24, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 60, 0.035) 1px, transparent 1px);
}

html.light .site-header {
  background: rgba(255, 255, 255, 0.78);
}

html.light .nav-cta,
html.light .lang-picker,
html.light .theme-toggle {
  background: rgba(20, 20, 50, 0.035);
}

html.light .nav-cta:hover,
html.light .lang-picker:hover,
html.light .theme-toggle:hover {
  background: rgba(20, 20, 50, 0.07);
}

html.light .nav-cta:hover {
  border-color: var(--border-strong);
}

html.light .search {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, #ffffff, #f8f8fd);
  box-shadow:
    0 22px 60px rgba(28, 28, 70, 0.12),
    inset 0 1px 0 #ffffff;
}

html.light .search:focus-within {
  box-shadow:
    0 0 0 4px rgba(255, 46, 99, 0.1),
    0 26px 70px rgba(28, 28, 70, 0.14),
    inset 0 1px 0 #ffffff;
}

html.light .search input::placeholder {
  color: #9a9aa8;
}

html.light .search button {
  color: #ffffff;
}

html.light .result-card,
html.light .tool-panel,
html.light .calc-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
}

html.light .tools-dropdown,
html.light .lang-menu,
html.light .toast {
  background: #ffffff;
}

html.light .lang-option:hover,
html.light .lang-option:focus-visible {
  background: rgba(20, 20, 50, 0.05);
}

html.light .lang-option[aria-selected="true"] {
  background: rgba(255, 46, 99, 0.08);
}

html.light .tools-dropdown a:hover,
html.light .tools-toggle:hover,
html.light .tools-toggle[aria-expanded="true"] {
  background: rgba(20, 20, 50, 0.05);
}

html.light .score-track,
html.light .range-track {
  background: rgba(20, 20, 50, 0.08);
}

html.light .panel,
html.light .stat,
html.light .detail-pill,
html.light .chip,
html.light .social-link,
html.light .feature-card,
html.light .step,
html.light .faq-item,
html.light .tool-stat,
html.light .calc-result,
html.light .data-item,
html.light .tag-item,
html.light .guide-card,
html.light .thumb-actions a,
html.light .status-icon,
html.light .eyebrow,
html.light .example,
html.light .btn-ghost,
html.light .skeleton-card,
html.light .share-btn {
  background: rgba(20, 20, 50, 0.028);
}

html.light .example:hover,
html.light .btn-ghost:hover,
html.light .social-link:hover,
html.light .share-btn:hover {
  background: rgba(20, 20, 50, 0.06);
}

html.light .skeleton-card {
  border-color: var(--border);
}

html.light .shimmer {
  background: linear-gradient(
    90deg,
    rgba(20, 20, 50, 0.045) 25%,
    rgba(20, 20, 50, 0.095) 37%,
    rgba(20, 20, 50, 0.045) 63%
  );
  background-size: 400% 100%;
}

html.light .share-card {
  background:
    radial-gradient(600px 140px at 0% 0%, rgba(255, 46, 99, 0.06), transparent 70%),
    #ffffff;
  box-shadow: 0 24px 60px rgba(28, 28, 70, 0.1);
}

html.light .thumb-frame,
html.light .image-frame {
  background: repeating-linear-gradient(45deg, #f2f3f9 0 10px, #e9eaf2 10px 20px);
}

html.light .data-head-thumb,
html.light .thumb-strip a {
  background: #eceef5;
}

html.light .tool-empty {
  background: rgba(20, 20, 50, 0.015);
}

html.light .error-box {
  background: rgba(220, 75, 75, 0.055);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===========================================================================

/* ===========================================================================
   ENHANCED SECTIONS: Stats & Revenue, Category Revenue Matrix, Key Notes, Channel Tags, Verification
   =========================================================================== */

/* Section headers */
.tc-section-header {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tc-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text, #e4e4ed);
  margin: 0 0 0.35rem 0;
}
.tc-section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted, #9191a8);
  margin: 0;
}

/* Tabs */
.tc-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, #1e1e2a);
  margin-bottom: 1.25rem;
}
.tc-tab {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--text-muted, #9191a8);
  transition: all 0.2s ease;
}
.tc-tab:hover {
  color: var(--text, #e4e4ed);
}
.tc-tab.tc-tab--active,
.tc-tab.is-active {
  background: linear-gradient(135deg, #e94560, #ff6b6b);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
}
.tc-tab-content {
  display: none;
}
.tc-tab-content.tc-tab-content--active,
.tc-tab-content.is-active {
  display: block;
  animation: tcFadeIn 0.25s ease;
}
@keyframes tcFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bar Chart */
.tc-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border, #1e1e2a);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}
.tc-bar-row {
  display: grid;
  grid-template-columns: 85px 1fr 95px;
  align-items: center;
  gap: 1rem;
}
.tc-bar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted, #9191a8);
}
.tc-bar-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.tc-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #e94560, #ff6b6b);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tc-bar-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text, #e4e4ed);
  text-align: right;
  font-family: var(--font-mono, monospace);
}

/* Data Tables */
.tc-data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border, #1e1e2a);
  background: rgba(255, 255, 255, 0.01);
  margin-bottom: 1rem;
}
.tc-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.tc-data-table th,
.tc-data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border, #1e1e2a);
  text-align: left;
  vertical-align: middle;
}
.tc-data-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #9191a8);
  background: rgba(255, 255, 255, 0.03);
}
.tc-data-table td:first-child {
  color: var(--text, #e4e4ed);
  font-weight: 600;
  width: 28%;
  min-width: 160px;
}
.tc-data-table td:last-child {
  color: var(--text, #e4e4ed);
}
.tc-data-table tr:last-child td {
  border-bottom: none;
}

/* Category Revenue Matrix */
.tc-cpm-table td:nth-child(2),
.tc-cpm-table td:nth-child(3),
.tc-cpm-table th:nth-child(2),
.tc-cpm-table th:nth-child(3) {
  text-align: right;
}
.tc-cpm-table tr.tc-row-active,
.tc-cpm-table tr.tc-matrix-row-active {
  background: rgba(233, 69, 96, 0.12);
  font-weight: 700;
}
.tc-cpm-table tr.tc-row-active td:first-child {
  color: #ff6b6b;
  position: relative;
  padding-left: 1.75rem;
}
.tc-cpm-table tr.tc-row-active td:first-child::before {
  content: "▸";
  position: absolute;
  left: 0.6rem;
  font-size: 0.75rem;
  color: #e94560;
}

/* Key Notes Images & Descriptions */
.tc-thumb {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid var(--border, #1e1e2a);
  display: block;
}
.tc-thumb--wide {
  width: 180px;
  height: 55px;
  border-radius: 0.5rem;
  object-fit: cover;
}
.tc-desc-cell {
  max-width: 700px;
}
.tc-keynotes-desc {
  line-height: 1.5;
  color: var(--text-muted, #9191a8);
}
.tc-inline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Channel Tags section */
.tc-tags-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tc-tag-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #9191a8);
}
.tc-tags-channel {
  margin-bottom: 0.85rem;
}
.tc-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ff6b6b;
  text-decoration: none;
}
.tc-channel-link:hover {
  text-decoration: underline;
}
.tc-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tc-tag-chip {
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, #1e1e2a);
  color: var(--text, #e4e4ed);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.tc-tag-chip:hover {
  border-color: #e94560;
  background: rgba(233, 69, 96, 0.15);
  color: #ffffff;
  transform: translateY(-1px);
}
.tc-copy-tags-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

/* Human Verification Widget */
.human-verify-wrap {
  margin-top: 1.15rem;
  display: flex;
  justify-content: center;
}
.human-verify-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.65rem;
  background: var(--card, #111118);
  border: 1px solid var(--border, #1e1e2a);
  min-width: 290px;
  max-width: 340px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  user-select: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.human-verify-card:hover {
  border-color: rgba(233, 69, 96, 0.4);
}
.human-verify-card.is-verified {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.05);
}
.human-verify-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.human-checkbox-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 2px solid var(--border, #3a3a4e);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.human-checkbox-btn:hover {
  border-color: #e94560;
  transform: scale(1.05);
}
.human-checkbox-btn.is-checking {
  border-color: #ff6b6b;
  animation: humanSpin 0.9s linear infinite;
  border-top-color: transparent;
  border-radius: 50%;
  cursor: wait;
}
@keyframes humanSpin {
  to { transform: rotate(360deg); }
}
.human-checkbox-btn.is-success {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  animation: none;
}
.human-verify-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text, #e4e4ed);
}
.human-verify-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0.7;
}
.human-verify-badge svg {
  color: #e94560;
}
.human-verify-badge span {
  font-size: 0.62rem;
  color: var(--text-muted, #9191a8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Light mode overrides */
.light .tc-tabs {
  background: rgba(0, 0, 0, 0.04);
  border-color: #e2e3ec;
}
.light .tc-tab {
  color: #6b6b82;
}
.light .tc-bar-chart {
  background: #ffffff;
  border-color: #e2e3ec;
}
.light .tc-bar-track {
  background: rgba(0, 0, 0, 0.06);
}
.light .tc-bar-label {
  color: #6b6b82;
}
.light .tc-bar-value {
  color: #1a1a2e;
}
.light .tc-data-table-wrap {
  border-color: #e2e3ec;
  background: #ffffff;
}
.light .tc-data-table th {
  background: #f7f8fc;
  color: #6b6b82;
}
.light .tc-data-table th,
.light .tc-data-table td {
  border-color: #e2e3ec;
}
.light .tc-data-table td:first-child {
  color: #1a1a2e;
}
.light .tc-data-table td:last-child {
  color: #1a1a2e;
}
.light .tc-cpm-table tr.tc-row-active,
.light .tc-cpm-table tr.tc-matrix-row-active {
  background: rgba(233, 69, 96, 0.08);
}
.light .tc-tag-chip {
  background: #f7f8fc;
  border-color: #e2e3ec;
  color: #1a1a2e;
}
.light .tc-tag-chip:hover {
  background: rgba(233, 69, 96, 0.08);
  color: #e94560;
}
.light .human-verify-card {
  background: #ffffff;
  border-color: #e2e3ec;
}
.light .human-checkbox-btn {
  border-color: #d1d5db;
  background: #f9fafb;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .tc-bar-row {
    grid-template-columns: 75px 1fr 75px;
    gap: 0.5rem;
  }
  .tc-data-table th,
  .tc-data-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }
  .tc-data-table td:first-child {
    width: 38%;
  }
  .human-verify-card {
    min-width: 100%;
  }
}
