body {
  background: var(--tf-bg);
  color: var(--tf-text);
}

body, button, input, select, textarea {
  color: var(--tf-text);
}

a {
  color: var(--tf-accent);
}

.site-content,
.inside-article,
.widget,
.site-main .comment-respond,
.comments-area,
.paging-navigation,
.post-navigation {
  background: transparent;
}

.botcrawl-wrap {
  width: min(100% - 32px, var(--tf-wide));
  margin-inline: auto;
}

.botcrawl-card,
.site-main .inside-article,
.bbpress .inside-article {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--tf-line);
  border-radius: var(--tf-radius);
  box-shadow: var(--tf-shadow);
  padding: 24px;
}

.botcrawl-neon-card {
  position: relative;
  overflow: hidden;
}

.botcrawl-neon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(122, 240, 255, 0.08);
}

.botcrawl-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--tf-accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.botcrawl-section-heading {
  margin-bottom: 18px;
}

.botcrawl-section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.botcrawl-section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.botcrawl-home-grid {
  display: grid;
  gap: 24px;
  padding-block: 24px 48px;
}

.botcrawl-home-section + .botcrawl-home-section {
  margin-top: 4px;
}

.botcrawl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.botcrawl-post-card,
.botcrawl-download-card {
  display: grid;
  gap: 16px;
  height: 100%;
}

.botcrawl-post-card__media img,
.botcrawl-download-card__media img,
.botcrawl-featured-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--tf-radius) - 6px);
}

.botcrawl-post-card__title,
.botcrawl-download-card__title,
.botcrawl-featured-title,
.botcrawl-download-title {
  margin: 0;
  line-height: 1.1;
}

.botcrawl-post-card__footer,
.botcrawl-download-card__footer {
  margin-top: auto;
}

.botcrawl-post-card__readmore,
.button,
.botcrawl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(122, 240, 255, 0.24);
  background: rgba(62, 199, 255, 0.08);
  color: var(--tf-text);
  text-decoration: none;
  font-weight: 600;
}

.botcrawl-home-featured .botcrawl-card {
  display: grid;
  gap: 18px;
}

.botcrawl-featured-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}

.botcrawl-topic-meta,
.entry-meta,
.botcrawl-download-hero__meta,
.botcrawl-taxonomy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--tf-text-soft);
  font-size: 0.92rem;
}

.botcrawl-download-single-layout {
  display: grid;
  gap: 24px;
  padding-block: 24px 48px;
}

.botcrawl-download-hero {
  display: grid;
  grid-template-columns: 1.5fr minmax(260px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.botcrawl-download-stats {
  display: grid;
  gap: 14px;
}

.botcrawl-stat {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--tf-line);
}

.botcrawl-stat__label {
  display: block;
  color: var(--tf-text-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.botcrawl-download-content {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.botcrawl-download-sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

.botcrawl-download-list,
.botcrawl-taxonomy-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.botcrawl-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.botcrawl-archive-hero {
  margin: 24px 0;
}

.botcrawl-news-lane {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--tf-line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 24px;
}

.botcrawl-news-lane__label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tf-accent-2);
  font-size: 0.82rem;
}

.botcrawl-news-lane__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.botcrawl-news-lane__item {
  color: var(--tf-text);
  text-decoration: none;
  font-size: 0.92rem;
}

.botcrawl-news-lane__date {
  color: var(--tf-text-soft);
  margin-right: 6px;
}

.botcrawl-topic-solved-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(67, 209, 141, 0.12);
  color: var(--tf-success);
  border: 1px solid rgba(67, 209, 141, 0.24);
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
  margin-right: 6px;
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer,
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header {
  background: rgba(255,255,255,0.03);
  border-color: var(--tf-line);
  color: var(--tf-text);
}

#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies {
  border-color: var(--tf-line);
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  border-color: var(--tf-line);
  background: rgba(255,255,255,0.01);
}

@media (max-width: 900px) {
  .botcrawl-grid,
  .botcrawl-featured-story,
  .botcrawl-download-hero,
  .botcrawl-download-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .botcrawl-grid {
    grid-template-columns: 1fr;
  }

  .botcrawl-section-heading--split,
  .botcrawl-toolbar,
  .botcrawl-news-lane {
    grid-template-columns: 1fr;
    display: grid;
  }
}
