/* Ebotnote Spider Search — front-end styles. Theme typography is inherited. */
.ebot-search-shell,
.ebot-search-shell * { box-sizing: border-box; }

.ebot-search-shell {
  width: 100%;
  color: inherit;
  font: inherit;
}

.ebot-search-accountbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  font-size: 14px;
}

.ebot-search-accountbar a { color: inherit; text-decoration: none; }
.ebot-search-accountbar a:hover { text-decoration: underline; }

.ebot-search-form {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 20px;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.ebot-search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d4d4d8;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  font: inherit;
  outline: none;
}

.ebot-search-form input[type="search"]:focus {
  border-color: #a1a1aa;
  box-shadow: 0 0 0 3px rgba(24,24,27,.08);
}

.ebot-search-form button {
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid #18181b;
  border-radius: 9px;
  background: #18181b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ebot-search-meta { margin: 20px 0 12px; color: #71717a; font-size: 14px; }
.ebot-search-results { display: grid; gap: 14px; }
.ebot-result { padding: 18px 0; border-bottom: 1px solid #e4e4e7; }
.ebot-result-host { margin-bottom: 4px; color: #71717a; font-size: 13px; }
.ebot-result h3 { margin: 0 0 4px; font-size: 1.15em; line-height: 1.35; }
.ebot-result h3 a { color: inherit; text-decoration: none; }
.ebot-result h3 a:hover { text-decoration: underline; }
.ebot-result-url { overflow-wrap: anywhere; color: #52525b; font-size: 13px; }
.ebot-result p { margin: 8px 0 0; line-height: 1.6; }
.ebot-result mark { padding: 0 2px; background: #fef3c7; color: inherit; }
.ebot-empty { padding: 20px 0; color: #71717a; }
.ebot-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.ebot-pagination .page-numbers { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid #e4e4e7; border-radius: 8px; color: inherit; text-decoration: none; }
.ebot-pagination .current { background: #18181b; color: #fff; border-color: #18181b; }

@media (max-width: 640px) {
  .ebot-search-form { flex-direction: column; padding: 14px; }
  .ebot-search-form button { width: 100%; }
}

/* ============================================================
   INLINE RELATED RESULTS — injected by the SPIDER engine
   ============================================================ */
.ebot-inline-spider {
    width: 100%;
    margin: 10px 0 0;
    padding: 9px 0 0;
    border-top: 1px solid #e4e4e7;
    background: transparent;
    box-shadow: none;
}
.ebot-inline-spider__label {
    margin: 0 0 6px;
    color: #71717a;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ebot-inline-spider__results {
    display: grid;
    gap: 6px;
}
.ebot-inline-spider__result {
    min-width: 0;
}
.ebot-inline-spider__source {
    margin: 0 0 1px;
    color: #a1a1aa;
    font-size: 8px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.ebot-inline-spider__title,
.ebot-inline-spider__more {
    color: #27272a;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}
.ebot-inline-spider__title:hover,
.ebot-inline-spider__more:hover {
    color: #09090b;
    text-decoration: underline;
}
.ebot-inline-spider__more {
    display: inline-block;
    margin-top: 7px;
    color: #71717a;
    font-size: 9px;
}

/* TAU-NODE — trusted network source indicator */
.ebot-trusted-node,
.ebot-inline-spider__trusted {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 5px;
    border: 1px solid #d4d4d8;
    border-radius: 999px;
    background: #fafafa;
    color: #52525b;
    font-size: .85em;
    font-weight: 600;
    line-height: 1.35;
    vertical-align: baseline;
}
.ebot-inline-spider__trusted {
    margin-left: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #71717a;
    font-size: inherit;
}


/* ============================================================
   AUTO-APPENDED TRUSTED NETWORK SOURCES — single posts
   ============================================================ */
.ebot-post-trusted-nodes {
    width: 100%;
    margin: 22px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #e4e4e7;
    color: inherit;
    font: inherit;
}
.ebot-post-trusted-nodes__label {
    margin: 0 0 10px;
    color: #71717a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ebot-post-trusted-nodes__list {
    display: grid;
    gap: 9px;
}
.ebot-post-trusted-nodes__item {
    min-width: 0;
}
.ebot-post-trusted-nodes__source {
    margin: 0 0 2px;
    color: #a1a1aa;
    font-size: 9px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.ebot-post-trusted-nodes__source span {
    color: #71717a;
    font-weight: 600;
}
.ebot-post-trusted-nodes__item > a {
    color: #27272a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
}
.ebot-post-trusted-nodes__item > a:hover {
    color: #09090b;
    text-decoration: underline;
}
