/* ============================================================
   MuADMINS / MU GPS - home-search.css
   Inline homepage search results + entity modal + info section.
   Uses homepage design tokens for full visual consistency (Phase 9).
   ============================================================ */

/* ── Searching state - ring stays put (no jarring move), results appear below ── */
body.searching .scroll-cue { opacity:0; pointer-events:none; transition:opacity .3s; }

/* ── Results wrapper ── */
.hs-wrap {
  position:relative; z-index:10;
  max-width:880px; margin:0 auto; padding:8px 20px 60px;
}
.hs-loading {
  display:flex; align-items:center; justify-content:center; gap:14px;
  padding:60px 20px; color:var(--text-dim); font-size:14px;
}
.hs-spinner {
  width:22px; height:22px; border:2.5px solid rgba(90,180,255,.18);
  border-top-color:var(--blue); border-radius:50%;
  animation:hsSpin .8s linear infinite;
}
@keyframes hsSpin { to { transform:rotate(360deg); } }

.hs-results-head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--border);
}
.hs-count { font-family:var(--font-display); font-size:13px; font-weight:600; color:#eaf4ff; }
.hs-via   { font-size:11px; color:var(--text-muted); }

.hs-empty {
  text-align:center; padding:50px 20px; color:var(--text-dim); font-size:14px;
  background:var(--bg-glass); border:1px solid var(--border); border-radius:var(--radius);
}
.hs-perr {
  margin-top:14px; font-family:var(--font-display); font-size:11px; color:var(--orange);
  background:rgba(255,140,0,.06); border:1px solid rgba(255,140,0,.2);
  border-radius:8px; padding:12px; text-align:left; line-height:1.7;
}

/* ── Sections ── */
.hs-section { margin-bottom:26px; }
.hs-section-head {
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-size:10px; font-weight:600;
  letter-spacing:.16em; color:#8fd0ff; text-transform:uppercase;
  margin-bottom:12px;
}
.hs-section-n { color:var(--text-muted); font-weight:400; }
.hs-viewmore {
  margin-left:auto; font-family:var(--font-display); font-size:9px;
  letter-spacing:.1em; color:var(--text-dim); text-decoration:none; text-transform:none;
  transition:color .18s;
}
.hs-viewmore:hover { color:var(--blue-bright); }

/* ── Result card ── */
.hs-card {
  display:flex; align-items:flex-start; gap:13px; padding:14px 17px;
  background:linear-gradient(160deg, rgba(34,66,124,.46), rgba(24,50,100,.40));
  border:1px solid rgba(120,180,255,.22);
  border-radius:13px; margin-bottom:10px; cursor:pointer;
  transition:border-color .22s, transform .18s, box-shadow .22s, background .22s;
}
.hs-card:hover {
  border-color:rgba(130,204,255,.5); transform:translateY(-1px);
  background:linear-gradient(160deg, rgba(42,78,140,.55), rgba(30,60,118,.48));
  box-shadow:0 6px 24px rgba(20,60,140,.3);
}
.hs-fav {
  width:30px; height:30px; border-radius:7px; flex-shrink:0; object-fit:contain;
  background:rgba(120,180,255,.12); border:1px solid rgba(120,180,255,.22); padding:4px;
}
.hs-fav-txt {
  width:30px; height:30px; border-radius:7px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(90,180,255,.06); border:1px solid rgba(90,180,255,.14);
  font-family:var(--font-display); font-size:8px; font-weight:700; color:var(--blue);
}
.hs-card-body { flex:1; min-width:0; }
.hs-title {
  font-family:var(--font-display); font-size:14px; font-weight:600;
  color:#eaf4ff; line-height:1.35; margin-bottom:4px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.hs-prov {
  font-size:8px; font-weight:600; letter-spacing:.06em; padding:2px 7px;
  border-radius:4px; text-transform:uppercase; font-family:var(--font-body);
}
.hs-prov-brave  { background:rgba(255,90,40,.12); color:#ff8a5c; border:1px solid rgba(255,90,40,.24); }
.hs-prov-reddit { background:rgba(255,90,40,.10); color:#ff7a4c; border:1px solid rgba(255,90,40,.2); }
.hs-prov-db_index { background:rgba(18,224,255,.1); color:var(--cyan); border:1px solid rgba(18,224,255,.24); }
.hs-excerpt { font-size:12.5px; color:#aecdee; line-height:1.55; margin-bottom:7px; }
.hs-meta {
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  font-size:11px; color:#6f9ac4;
}
.hs-domain { color:#8fd0ff; font-weight:500; }
.hs-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; }
.hs-tag {
  font-size:9.5px; padding:2px 8px; background:rgba(120,180,255,.12);
  border:1px solid rgba(120,180,255,.24); border-radius:10px;
  color:#a8cdee; font-family:var(--font-display); letter-spacing:.04em;
}
.hs-open {
  flex-shrink:0; align-self:center; font-family:var(--font-display);
  font-size:8.5px; font-weight:600; letter-spacing:.1em; color:var(--blue);
  border:1px solid var(--border-blue); border-radius:6px; padding:6px 11px;
  cursor:pointer; transition:all .18s; text-transform:uppercase;
}
.hs-open:hover { background:rgba(90,180,255,.12); color:var(--blue-bright); }

/* ============================================================
   INFO SECTION (scroll-down: MU info + categories + searches)
   ============================================================ */
.info-section {
  position:relative; z-index:10; max-width:960px; margin:0 auto;
  padding:40px 24px 50px;
}
.info-eyebrow {
  font-family:var(--font-display); font-size:10px; font-weight:600;
  letter-spacing:.28em; color:var(--cyan); text-transform:uppercase;
  text-align:center; margin-bottom:12px;
}
.info-heading {
  font-family:var(--font-display); font-size:clamp(22px,4vw,30px); font-weight:700;
  color:#f0f7ff; text-align:center; margin:0 0 18px;
  text-shadow:0 0 24px rgba(120,180,255,.35);
}
.mu-intro { margin-bottom:42px; }
.mu-intro-text {
  max-width:760px; margin:0 auto; font-size:14.5px; line-height:1.85;
  color:#b4d4f2; text-align:center;
}
.mu-intro-text strong { color:#8fd0ff; }

.info-block { margin-bottom:38px; }
.info-block-title {
  font-family:var(--font-display); font-size:13px; font-weight:600;
  letter-spacing:.12em; color:var(--text); text-transform:uppercase;
  margin-bottom:18px; text-align:center;
}

/* Category grid */
.cat-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr));
  gap:12px;
}
.cat-tile {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; padding:22px 14px; background:var(--bg-glass);
  border:1px solid var(--border); border-radius:14px; cursor:pointer;
  font-family:var(--font-display); font-size:11px; font-weight:600;
  letter-spacing:.06em; color:var(--text-dim); text-transform:uppercase;
  transition:all .2s;
}
.cat-tile:hover {
  border-color:var(--border-blue); color:var(--text);
  transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.3);
  background:rgba(90,180,255,.05);
}
.cat-tile-ic {
  font-size:22px; line-height:1; color:var(--blue);
  filter:drop-shadow(0 0 8px rgba(90,180,255,.4));
}

/* Popular searches */
.popular-grid {
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
}
.pop-chip {
  padding:10px 18px; background:rgba(90,180,255,.04);
  border:1px solid rgba(90,180,255,.18); border-radius:22px;
  font-size:12.5px; color:var(--text-dim); cursor:pointer;
  transition:all .18s; font-family:var(--font-body);
}
.pop-chip:hover {
  background:rgba(90,180,255,.12); color:var(--text);
  border-color:var(--border-blue); transform:translateY(-1px);
}

/* ============================================================
   ENTITY MODAL (slide-out) - shared by inline search
   ============================================================ */
#entityModal { position:fixed; inset:0; z-index:2000; display:none; align-items:stretch; justify-content:flex-end; }
#entityModal.open { display:flex; }
.ent-overlay {
  position:absolute; inset:0; background:rgba(2,8,22,.74);
  backdrop-filter:blur(4px); animation:entFade .25s ease;
}
.ent-panel {
  position:relative; width:min(560px,100%); height:100%;
  background:linear-gradient(160deg,rgba(24,52,104,.99),rgba(16,38,82,.99));
  border-left:1px solid rgba(120,180,255,.3);
  box-shadow:-20px 0 60px rgba(0,0,0,.5);
  overflow-y:auto; animation:entSlide .3s cubic-bezier(.16,1,.3,1);
  padding:28px 30px;
}
@keyframes entFade { from{opacity:0} to{opacity:1} }
@keyframes entSlide { from{transform:translateX(40px);opacity:.4} to{transform:translateX(0);opacity:1} }
.ent-header {
  display:flex; align-items:flex-start; gap:14px; margin-bottom:22px;
  padding-bottom:20px; border-bottom:1px solid rgba(90,180,255,.12);
}
.ent-favicon {
  width:44px; height:44px; border-radius:10px; flex-shrink:0; object-fit:contain;
  background:rgba(90,180,255,.06); border:1px solid rgba(90,180,255,.18); padding:6px;
}
.ent-type-badge {
  display:inline-block; font-family:var(--font-display); font-size:8px; font-weight:700;
  letter-spacing:.16em; color:var(--cyan); background:rgba(18,224,255,.08);
  border:1px solid rgba(18,224,255,.22); border-radius:4px; padding:3px 9px;
  text-transform:uppercase; margin-bottom:8px;
}
.ent-title {
  font-family:var(--font-display); font-size:18px; font-weight:700;
  color:#f0f7ff; line-height:1.3; margin:0 0 7px;
}
.ent-domain { font-size:12px; color:#8fd0ff; }
.ent-section { margin-bottom:20px; }
.ent-section-title {
  font-family:var(--font-display); font-size:8.5px; font-weight:600;
  letter-spacing:.18em; color:var(--text-muted); text-transform:uppercase; margin-bottom:9px;
}
.ent-desc { font-size:13.5px; color:#b4d4f2; line-height:1.7; margin:0; }
.ent-tags { display:flex; flex-wrap:wrap; gap:7px; }
.ent-tag {
  font-size:11px; padding:5px 12px; background:rgba(90,180,255,.07);
  border:1px solid rgba(90,180,255,.20); border-radius:14px; color:var(--text-dim);
  text-decoration:none; cursor:pointer; transition:all .18s;
}
.ent-tag:hover { background:rgba(90,180,255,.16); color:var(--text); }
.ent-related-list { display:flex; flex-direction:column; gap:8px; }
.ent-related {
  display:flex; align-items:center; gap:10px; padding:9px 11px;
  background:rgba(120,180,255,.08); border:1px solid rgba(120,180,255,.16);
  border-radius:9px; cursor:pointer; transition:all .18s;
}
.ent-related:hover { border-color:rgba(130,204,255,.4); background:rgba(120,180,255,.16); }
.ent-related-fav { width:16px; height:16px; border-radius:3px; flex-shrink:0; }
.ent-related-title { font-size:12.5px; color:#c4ddf5; margin-bottom:2px; }
.ent-related-domain { font-size:10.5px; color:var(--blue); }
.ent-actions {
  display:flex; gap:10px; margin-top:26px; padding-top:20px;
  border-top:1px solid rgba(90,180,255,.12);
}
.ent-visit-btn {
  flex:1; text-align:center; padding:13px;
  background:linear-gradient(135deg,rgba(90,180,255,.22),rgba(40,120,220,.28));
  border:1px solid rgba(90,180,255,.45); border-radius:9px;
  font-family:var(--font-display); font-size:10px; font-weight:600;
  letter-spacing:.14em; color:var(--text); text-decoration:none; transition:all .2s;
}
.ent-visit-btn:hover {
  background:linear-gradient(135deg,rgba(90,180,255,.34),rgba(40,120,220,.4));
  box-shadow:0 0 20px rgba(90,180,255,.25);
}
.ent-close-btn {
  padding:13px 22px; background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12); border-radius:9px;
  font-family:var(--font-display); font-size:10px; font-weight:600;
  letter-spacing:.14em; color:var(--text-muted); cursor:pointer; transition:all .2s;
}
.ent-close-btn:hover { background:rgba(255,255,255,.08); color:var(--text); }

@media (max-width:600px){
  .ent-panel { width:100%; padding:22px 18px; }
  .cat-grid { grid-template-columns:repeat(auto-fill, minmax(120px,1fr)); }
}


/* ── Scroll cue - centered at bottom, never overlaps ── */
.scroll-cue {
  position:absolute; left:50%; bottom:34px; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  opacity:.55; transition:opacity .25s; z-index:5; pointer-events:none;
}
.scroll-cue:hover { opacity:.85; }
.scroll-mouse {
  width:22px; height:34px; border:2px solid rgba(140,190,255,.45);
  border-radius:12px; position:relative;
}
.scroll-mouse::after {
  content:''; position:absolute; left:50%; top:7px; transform:translateX(-50%);
  width:3px; height:7px; border-radius:2px; background:var(--blue);
  animation:scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{opacity:.3;top:7px} 50%{opacity:1;top:15px} }
.scroll-text {
  font-family:var(--font-display); font-size:8.5px; letter-spacing:.22em;
  color:var(--text-muted); text-transform:uppercase;
}

/* ── Footer ── */
.site-footer {
  position:relative; z-index:10; text-align:center;
  padding:36px 20px; border-top:1px solid var(--border);
}
.footer-copy {
  font-family:var(--font-display); font-size:9px; letter-spacing:.2em;
  color:var(--text-muted); text-transform:uppercase; margin-bottom:12px;
}
.footer-links { display:flex; gap:22px; justify-content:center; flex-wrap:wrap; }
.footer-links a {
  font-size:12px; color:var(--text-dim); text-decoration:none; cursor:pointer; transition:color .18s;
}
.footer-links a:hover { color:var(--blue); }
/* ── Toast (share confirmation) ── */
.mu-toast {
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(10px);
  background:rgba(28,56,108,.97); border:1px solid rgba(130,204,255,.42);
  color:#eaf4ff; padding:12px 22px; border-radius:11px; font-size:13px;
  font-family:var(--font-body); z-index:5000; opacity:0; pointer-events:none;
  box-shadow:0 10px 36px rgba(0,0,0,.45); transition:opacity .25s, transform .25s;
}
.mu-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── Entity SHARE button ── */
.ent-share-btn {
  padding:13px 20px; background:rgba(120,180,255,.10);
  border:1px solid rgba(120,180,255,.3); border-radius:9px;
  font-family:var(--font-display); font-size:10px; font-weight:600;
  letter-spacing:.14em; color:#8fd0ff; cursor:pointer; transition:all .2s;
}
.ent-share-btn:hover { background:rgba(120,180,255,.2); color:#d4ecff; }

/* ============================================================
   DEEP SERVER PROFILE (toplist ranks + live stats)
   ============================================================ */
.ent-deep-loading {
  display:flex; align-items:center; gap:10px; padding:10px 0;
  font-size:12px; color:#8fb8e0;
}
/* Live stats grid */
.ent-stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(95px,1fr)); gap:9px; }
.ent-stat {
  background:rgba(120,180,255,.08); border:1px solid rgba(120,180,255,.18);
  border-radius:10px; padding:11px 12px; text-align:center;
}
.ent-stat-v { font-family:var(--font-display); font-size:17px; font-weight:700; margin-bottom:3px; }
.ent-stat-l { font-size:9px; letter-spacing:.1em; color:#7ba0c8; text-transform:uppercase; }

/* MuGPS aggregate score */
.ent-mugps {
  display:flex; align-items:center; justify-content:space-between;
  background:linear-gradient(135deg,rgba(18,224,255,.12),rgba(90,180,255,.10));
  border:1px solid rgba(18,224,255,.3); border-radius:11px;
  padding:13px 16px; margin-bottom:12px;
}
.ent-mugps-label { font-family:var(--font-display); font-size:10px; letter-spacing:.14em; color:var(--cyan); text-transform:uppercase; }
.ent-mugps-score { font-family:var(--font-display); font-size:24px; font-weight:700; color:#fff; text-shadow:0 0 16px var(--cyan-glow); }

/* Toplist rank rows */
.ent-rank-list { display:flex; flex-direction:column; gap:7px; }
.ent-rank-row {
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(120,180,255,.06); border:1px solid rgba(120,180,255,.16);
  border-radius:9px; padding:10px 14px; text-decoration:none; transition:all .18s;
}
.ent-rank-row:hover { background:rgba(120,180,255,.14); border-color:rgba(130,204,255,.4); }
.ent-rank-site { font-size:13px; color:#cce4fb; font-weight:500; }
.ent-rank-pos { font-family:var(--font-display); font-size:15px; font-weight:700; color:#8fd0ff; }

/* Similar buttons */
.ent-sim-row { display:flex; flex-wrap:wrap; gap:8px; }
.ent-sim-btn {
  padding:8px 14px; background:rgba(120,180,255,.08);
  border:1px solid rgba(120,180,255,.22); border-radius:18px;
  font-size:11.5px; color:#a8cdee; cursor:pointer; transition:all .18s;
}
.ent-sim-btn:hover { background:rgba(120,180,255,.18); color:#eaf4ff; border-color:rgba(130,204,255,.4); }

/* ── Blocked search warning ── */
.hs-blocked {
  text-align:center; padding:48px 28px; max-width:520px; margin:10px auto;
  background:linear-gradient(160deg, rgba(60,30,30,.4), rgba(40,22,22,.35));
  border:1px solid rgba(255,140,90,.3); border-radius:16px;
}
.hs-blocked-icon { font-size:38px; margin-bottom:14px; }
.hs-blocked-title {
  font-family:var(--font-display); font-size:16px; font-weight:700;
  color:#ffb38a; letter-spacing:.04em; margin-bottom:10px;
}
.hs-blocked-text { font-size:13.5px; color:#e0c4b4; line-height:1.7; }

/* ── Card thumbnail (website snapshot) ── */
.hs-thumb { width:120px; height:68px; object-fit:cover; border-radius:9px; flex-shrink:0;
  border:1px solid rgba(120,180,255,.2); background:rgba(8,18,44,.6); }
@media (max-width:560px){ .hs-thumb{ width:84px; height:50px; } }

/* ── Featured (gold highlight) ── */
.hs-card-feat { border-color:rgba(255,205,70,.55) !important;
  box-shadow:0 0 0 1px rgba(255,205,70,.25), 0 6px 22px rgba(120,90,0,.18) !important;
  background:linear-gradient(160deg, rgba(60,52,30,.5), rgba(40,40,60,.42)) !important; }
.hs-feat-star { color:#ffd23c; text-shadow:0 0 10px rgba(255,205,70,.6); }

/* ── Entity website snapshot ── */
.ent-shot-wrap { border-radius:12px; overflow:hidden; border:1px solid rgba(120,180,255,.22); }
.ent-shot { width:100%; height:auto; display:block; background:rgba(8,18,44,.6); }

/* ── Entity social / forum buttons ── */
.ent-soc-row { display:flex; flex-wrap:wrap; gap:8px; }
.ent-soc { padding:9px 16px; border-radius:9px; font-family:var(--font-display); font-size:10.5px;
  font-weight:600; letter-spacing:.06em; text-decoration:none; transition:all .18s; border:1px solid; }
.ent-soc.fb { background:rgba(66,103,178,.15); border-color:rgba(66,103,178,.45); color:#8ab0ff; }
.ent-soc.dc { background:rgba(88,101,242,.15); border-color:rgba(88,101,242,.45); color:#a9b2ff; }
.ent-soc.fr { background:rgba(255,140,0,.12); border-color:rgba(255,140,0,.4); color:#ffb36a; }
.ent-soc.yt { background:rgba(255,40,40,.12); border-color:rgba(255,40,40,.4); color:#ff8a8a; }
.ent-soc:hover { filter:brightness(1.3); }

/* ── VIEW MORE in panel ── */
.ent-viewmore-btn { width:100%; padding:12px; background:rgba(120,180,255,.1);
  border:1px solid rgba(120,180,255,.28); border-radius:10px; font-family:var(--font-display);
  font-size:10px; font-weight:600; letter-spacing:.14em; color:#9fd0ff; cursor:pointer;
  transition:all .2s; margin-bottom:10px; }
.ent-viewmore-btn:hover { background:rgba(120,180,255,.2); color:#eaf4ff; }

/* ── Share menu modal ── */
#shareModal { position:fixed; inset:0; z-index:3000; display:none; align-items:center; justify-content:center; }
#shareModal.open { display:flex; }
.sh-overlay { position:absolute; inset:0; background:rgba(2,8,22,.72); backdrop-filter:blur(4px); }
.sh-panel { position:relative; width:min(480px,92vw);
  background:linear-gradient(160deg,rgba(22,46,96,.99),rgba(14,32,72,.99));
  border:1px solid rgba(120,180,255,.3); border-radius:16px; padding:26px 26px 22px;
  box-shadow:0 30px 80px rgba(0,0,0,.55); }
.sh-title { font-family:var(--font-display); font-size:15px; font-weight:700; color:#eaf4ff; margin-bottom:18px; }
.sh-label { font-family:var(--font-display); font-size:8.5px; letter-spacing:.18em; color:var(--text-muted); text-transform:uppercase; margin:16px 0 8px; }
.sh-row { display:flex; gap:8px; }
.sh-row input { flex:1; min-width:0; background:rgba(0,0,0,.3); border:1px solid rgba(120,180,255,.22);
  border-radius:8px; padding:10px 12px; color:#cce4fb; font-size:12px; font-family:monospace; }
.sh-copy { flex-shrink:0; background:rgba(120,180,255,.18); border:1px solid rgba(120,180,255,.4);
  color:#dcecff; font-family:var(--font-display); font-size:10px; letter-spacing:.08em; padding:0 16px; border-radius:8px; cursor:pointer; }
.sh-copy:hover { background:rgba(120,180,255,.3); }
.sh-social { display:flex; flex-wrap:wrap; gap:8px; }
.sh-soc { padding:10px 16px; border-radius:9px; font-size:12.5px; text-decoration:none; transition:all .18s; border:1px solid; }
.sh-soc.fb { background:rgba(66,103,178,.16); border-color:rgba(66,103,178,.5); color:#9ab8ff; }
.sh-soc.wa { background:rgba(37,211,102,.14); border-color:rgba(37,211,102,.45); color:#7ee6a0; }
.sh-soc.x  { background:rgba(160,180,210,.12); border-color:rgba(160,180,210,.4); color:#cdd9ee; }
.sh-soc.tg { background:rgba(42,171,238,.14); border-color:rgba(42,171,238,.45); color:#8fd4ff; }
.sh-soc.rd { background:rgba(255,69,0,.13); border-color:rgba(255,69,0,.4); color:#ff9a6a; }
.sh-soc:hover { filter:brightness(1.25); }
.sh-close { width:100%; margin-top:20px; padding:12px; background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12); border-radius:9px; color:var(--text-muted);
  font-family:var(--font-display); font-size:10px; letter-spacing:.14em; cursor:pointer; }
.sh-close:hover { background:rgba(255,255,255,.1); color:var(--text); }

/* ════ INLINE ACCORDION RESULTS (replaces the side panel) ════ */
.hs-result { display:flex; flex-direction:column; }
.hs-card { position:relative; }
.hs-caret { margin-left:8px; color:var(--text-muted); font-size:12px; transition:transform .3s ease; align-self:center; }
.hs-card-open { border-color:var(--border-blue) !important; background:var(--bg-item-h) !important; }
.hs-card-open .hs-caret { transform:rotate(180deg); color:var(--blue); }

.hs-acc {
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .38s ease, opacity .3s ease;
  border-left:2px solid transparent;
}
.hs-acc.open {
  max-height:none; overflow:visible; opacity:1;
  margin:2px 0 14px; padding:18px 20px;
  background:linear-gradient(160deg, var(--bg-glass), rgba(0,0,0,.18));
  border:1px solid var(--border-blue); border-radius:14px;
}
/* The detail sections reuse the existing .ent-* styles, now rendered inline */
.hs-acc.open .ent-section { margin-bottom:16px; }
.hs-acc.open .ent-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.hs-acc.open .ent-full-btn { background:rgba(212,160,48,.14); border-color:rgba(212,160,48,.5); color:var(--gold); }

/* The old right-side entity panel is retired - inline accordion is used instead */
#entityModal { display:none !important; }

/* ── Keywords strip (recent / popular / trending) ── */
.kw-strip { max-width:760px; margin:0 auto; padding:6px 18px 0; display:flex; flex-direction:column; gap:8px; }
body.searching .kw-strip { display:none; }
.kw-group { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.kw-label { font-family:var(--font-display); font-size:8.5px; letter-spacing:.16em; color:var(--text-muted); text-transform:uppercase; min-width:62px; }
.kw-chip { background:var(--bg-item); border:1px solid var(--border); color:var(--text-dim);
  font-size:11.5px; padding:5px 12px; border-radius:20px; cursor:pointer; transition:all .18s; }
.kw-chip:hover { border-color:var(--border-blue); color:var(--text); background:var(--bg-item-h); }

/* ── What is MuGPS blurb ── */
.mugps-about { max-width:760px; margin:0 auto 22px; padding:18px 22px; text-align:center;
  background:var(--bg-glass); border:1px solid var(--border-blue); border-radius:16px; }
.mugps-about-text { font-size:13.5px; line-height:1.7; color:var(--text-dim); margin:6px 0 0; }
.mugps-about .info-eyebrow { color:var(--blue); }

/* ── Sponsored / featured result - gold standout ── */
.hs-card-sponsored { border-color:rgba(212,160,48,.6) !important;
  box-shadow:0 0 0 1px rgba(212,160,48,.3), 0 6px 26px rgba(160,120,20,.22) !important;
  background:linear-gradient(160deg, rgba(60,50,24,.55), rgba(36,38,58,.42)) !important; }
.hs-sponsored-badge { display:inline-block; font-family:var(--font-display); font-size:8px; letter-spacing:.12em;
  color:#1a1205; background:linear-gradient(135deg,#ffd76a,#d4a030); padding:2px 8px; border-radius:5px;
  text-transform:uppercase; margin-left:8px; vertical-align:middle; font-weight:700; }
/* the owner's own project (2026-11-05): a quiet outline label, never gold like a paid placement */
.hs-owner-badge { display:inline-block; font-size:9.5px; letter-spacing:.06em; color:#9fd3ff; border:1px solid rgba(110,190,255,.55);
  padding:2px 7px; border-radius:4px; margin-left:8px; vertical-align:middle; font-weight:600; white-space:nowrap; }

/* Homepage entry to the MuADMINS Assistant (near the search) */
.ring-chat-btn {
  display:inline-flex; align-items:center; gap:8px; margin-top:12px;
  padding:9px 18px; border-radius:24px; cursor:pointer; text-decoration:none;
  background:linear-gradient(135deg, rgba(90,180,255,.16), rgba(90,180,255,.06));
  border:1px solid var(--border-blue); color:var(--text);
  font-size:12.5px; letter-spacing:.02em; transition:all .2s;
}
.ring-chat-btn:hover { background:rgba(90,180,255,.26); box-shadow:0 0 20px var(--blue-glow, rgba(90,180,255,.4)); transform:translateY(-1px); }
.ring-chat-btn svg { color:var(--cyan); }
body.searching .ring-chat-btn { opacity:0; pointer-events:none; }

/* "What is MuGPS?" sits above results; fade out once a search is active */
#mugpsAbout { transition:opacity .3s, max-height .4s; }
body.searching #mugpsAbout { opacity:0; max-height:0; overflow:hidden; margin:0; padding:0; pointer-events:none; }

/* Tag alignment - prevent overflow, keep rows tidy (P11) */
.hs-tags { display:flex; flex-wrap:wrap; gap:6px; max-width:100%; overflow:hidden; }
.hs-tag { max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex-shrink:0; }
.ent-tags { display:flex; flex-wrap:wrap; gap:7px; }
.ent-tag { max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Community rating badge in result cards (P4) */
.hs-rating { color:var(--gold, #ffcf6a); font-size:11.5px; font-weight:600; }

/* MuGPS ranking block + reviews (P3/P4/P7) */
.ent-seen { font-size:11px; color:var(--text-muted); margin-top:8px; }
.ent-review-box { background:rgba(0,0,0,.18); border:1px solid var(--border); border-radius:12px; padding:12px 14px; margin-bottom:12px; }
.ent-stars { display:flex; gap:4px; margin-bottom:8px; }
.ent-star { background:none; border:none; cursor:pointer; font-size:22px; line-height:1; color:#ffcf6a; padding:0; transition:transform .1s; }
.ent-star:hover { transform:scale(1.15); }
.ent-star.on { color:#ffd76a; }
.ent-review-text { width:100%; box-sizing:border-box; background:rgba(0,0,0,.28); border:1px solid var(--border);
  border-radius:9px; padding:9px 11px; color:var(--text); font-size:13px; font-family:inherit; resize:vertical; }
.ent-review-text:focus { outline:none; border-color:var(--border-blue); }
.ent-review-submit { margin-top:8px; background:linear-gradient(135deg,#2470d2,#1858b5); border:none; color:#fff;
  font-size:12px; letter-spacing:.04em; padding:9px 16px; border-radius:9px; cursor:pointer; }
.ent-review-submit:hover { box-shadow:0 0 16px var(--blue-glow, rgba(90,180,255,.4)); }
.ent-review-msg { font-size:12px; margin-top:8px; color:var(--text-dim); }
.ent-review-msg.ok { color:#7ee6a0; } .ent-review-msg.err { color:#ffb39a; }
.ent-review-msg a { color:var(--blue); }
.ent-reviews-list { display:flex; flex-direction:column; gap:10px; }
.ent-review { background:var(--bg-item); border:1px solid var(--border); border-radius:10px; padding:10px 12px; }
.ent-review-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:4px; }
.ent-review-user { font-size:12.5px; color:var(--text); font-weight:600; }
.ent-review-stars { color:#ffcf6a; font-size:12px; }
.ent-review-body { font-size:13px; color:var(--text-dim); line-height:1.55; }

/* Homepage account state (top-right) - shows real login state (#7) */
.home-account { position:fixed; top:14px; right:64px; z-index:60; display:flex; gap:8px; align-items:center; }
.home-account .ha-btn { font-size:12px; color:var(--text-dim); text-decoration:none; padding:7px 13px;
  border-radius:9px; border:1px solid transparent; transition:all .18s; white-space:nowrap; }
.home-account .ha-btn:hover { color:var(--text); border-color:var(--border-blue); }
.home-account .ha-user { color:var(--cyan); border:1px solid var(--border-blue); background:rgba(90,180,255,.10); }
.home-account .ha-cta { color:#fff; background:rgba(90,180,255,.18); border:1px solid var(--border-blue); }
.home-account .ha-cta:hover { background:rgba(90,180,255,.28); }
@media (max-width:560px){ .home-account{ right:58px; top:12px; } .home-account .ha-btn{ padding:6px 9px; font-size:11px; } }

/* ════ Search feeds: Recent / Popular / Trending (KB-styled, not AI pills) ════ */
.search-feeds { position:relative; z-index:10; max-width:860px; margin:0 auto; padding:20px 24px 0; }
.feed-block { margin-bottom:26px; text-align:center; }
.feed-block .info-eyebrow { margin-bottom:14px; }
.feed-row { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; }
/* clean, flat, futuristic tag - sharp-ish corners, thin border, accent glow on hover */
.feed-tag {
  display:inline-block; padding:8px 15px; cursor:pointer;
  background:rgba(90,180,255,.05); border:1px solid var(--border-blue); border-radius:6px;
  color:var(--text-dim); font-family:var(--font-display, 'Orbitron', monospace);
  font-size:11px; letter-spacing:.06em; text-transform:lowercase; transition:all .18s;
}
.feed-tag:hover { color:#fff; background:rgba(90,180,255,.14);
  border-color:var(--cyan); box-shadow:0 0 14px var(--blue-glow, rgba(90,180,255,.4)); transform:translateY(-1px); }
/* feeds fade away while a search is active (results take over above) */
body.searching .search-feeds { opacity:0; max-height:0; overflow:hidden; padding:0; margin:0; pointer-events:none; }
.search-feeds { transition:opacity .3s; }
@media (max-width:560px){ .feed-tag{ font-size:10.5px; padding:7px 12px; } }

/* MuGPS score help icon (#9) */
.ent-help { display:inline-flex; align-items:center; justify-content:center; width:14px; height:14px;
  border-radius:50%; border:1px solid var(--border-blue); color:var(--cyan); font-size:9px; font-weight:700;
  cursor:help; margin-left:4px; vertical-align:middle; }
.ent-help:hover { background:rgba(90,180,255,.2); }

/* Per-category Show More (#5) */
.hs-more-btn { display:block; width:100%; margin:8px 0 4px; padding:11px; cursor:pointer;
  background:rgba(90,180,255,.07); border:1px solid var(--border-blue); border-radius:10px;
  color:var(--cyan); font-family:var(--font-display,'Orbitron',monospace); font-size:11px;
  letter-spacing:.06em; text-transform:lowercase; transition:all .18s; }
.hs-more-btn:hover { background:rgba(90,180,255,.15); box-shadow:0 0 14px var(--blue-glow,rgba(90,180,255,.35)); }

/* ════ Filter panel (#4) ════ */
.hs-results-head { display:flex; align-items:center; gap:12px; }
.hs-filter-btn { margin-left:auto; background:rgba(90,180,255,.08); border:1px solid var(--border-blue);
  color:var(--cyan); font-size:11.5px; letter-spacing:.05em; padding:7px 14px; border-radius:9px; cursor:pointer; transition:all .18s; }
.hs-filter-btn:hover { background:rgba(90,180,255,.16); box-shadow:0 0 12px var(--blue-glow,rgba(90,180,255,.35)); }
.hs-via { color:var(--text-muted); font-size:11px; }
.hs-filter-panel { background:rgba(0,0,0,.22); border:1px solid var(--border); border-radius:12px;
  padding:16px 18px; margin:10px 0 16px; display:flex; flex-direction:column; gap:14px; }
.hs-filter-panel[hidden] { display:none; }   /* display:flex above beat the hidden attribute: the panel never closed and the Filter button did nothing (2026-10-29) */
.hs-filter-grp { display:flex; flex-direction:column; gap:7px; }
.hs-filter-row { display:flex; gap:22px; flex-wrap:wrap; }
.hs-filter-lbl { font-family:var(--font-display,'Orbitron',monospace); font-size:10px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--cyan); }
.hs-filter-types { display:flex; flex-wrap:wrap; gap:8px 14px; }
.hs-fchk { display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--text-dim); cursor:pointer; }
.hs-fchk input { width:15px; height:15px; accent-color:var(--blue); }
.hs-finput, .hs-fselect { background:rgba(0,0,0,.3); border:1px solid var(--border-blue); border-radius:8px;
  padding:8px 11px; color:var(--text); font-size:13px; min-width:170px; }
.hs-finput:focus, .hs-fselect:focus { outline:none; border-color:var(--cyan); }
.hs-filter-actions { display:flex; gap:10px; }
.hs-fapply { background:linear-gradient(135deg,#2470d2,#1858b5); border:none; color:#fff; font-size:12px;
  letter-spacing:.04em; padding:9px 18px; border-radius:9px; cursor:pointer; }
.hs-fapply:hover { box-shadow:0 0 16px var(--blue-glow,rgba(90,180,255,.4)); }
.hs-fclear { background:transparent; border:1px solid var(--border); color:var(--text-dim); font-size:12px;
  padding:9px 16px; border-radius:9px; cursor:pointer; }
.hs-fclear:hover { color:var(--text); border-color:var(--border-blue); }

/* Visible MuGPS tooltip bubble (#3) */
.ent-help { position:relative; }
.ent-tip { position:absolute; bottom:150%; left:50%; transform:translateX(-50%);
  width:250px; max-width:72vw; background:#0b1f44; color:#dce9fb; border:1px solid var(--border-blue);
  border-radius:9px; padding:11px 13px; font-size:11.5px; font-weight:400; line-height:1.55;
  letter-spacing:0; text-transform:none; text-align:left; opacity:0; visibility:hidden;
  pointer-events:none; transition:opacity .16s, visibility .16s; z-index:60;
  box-shadow:0 8px 26px rgba(0,0,0,.5); }
.ent-tip::after { content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  border:6px solid transparent; border-top-color:var(--border-blue); }
.ent-help:hover .ent-tip, .ent-help:focus .ent-tip { opacity:1; visibility:visible; }

/* Admin description / notes on profile (#16/#19) */
.ent-about-text { font-size:13.5px; line-height:1.7; color:var(--text-dim); }

/* Banned entity warning card (#17/#18) */
.ent-banned { background:rgba(220,60,50,.08); border:1px solid rgba(255,90,80,.45); border-radius:14px; padding:20px 22px; }
.ent-banned-title { font-family:var(--font-display,'Orbitron',monospace); font-size:14px; letter-spacing:.06em; color:#ff8a6a; margin-bottom:8px; }
.ent-banned-body { font-size:13.5px; line-height:1.65; color:#ffc9bd; }

/* Review date/time (#9) */
.ent-review-date { font-size:11px; color:var(--text-muted); margin-top:5px; }

/* MuGPS score source-count subtext (#11) */
.ent-stat-sub { font-size:10px; color:var(--text-muted); margin-top:3px; letter-spacing:.02em; }

/* Empty-section explanation (#19) - never leave dead empty boxes */
.ent-empty-note { font-size:12.5px; color:var(--text-muted); line-height:1.6; padding:4px 0; }

/* Review author link to public profile (#14) */
a.ent-review-user { color:var(--text); font-weight:600; font-size:13px; text-decoration:none; }
a.ent-review-user:hover { color:var(--cyan); }

/* Guest auth modal (#3) */
.mu-auth-modal{position:fixed;inset:0;z-index:2000;background:rgba(2,8,22,.74);display:flex;align-items:center;justify-content:center;padding:20px}
.mu-auth-box{position:relative;width:min(380px,92vw);background:#0b1f44;border:1px solid var(--border-blue);border-radius:16px;padding:28px 26px;text-align:center}
.mu-auth-title{font-family:var(--font-display,'Orbitron',monospace);font-size:16px;color:var(--text);margin-bottom:10px}
.mu-auth-text{font-size:13.5px;color:var(--text-dim);line-height:1.6;margin-bottom:20px}
.mu-auth-btns{display:flex;gap:10px;justify-content:center}
.mu-auth-btn{display:inline-block;padding:11px 22px;border-radius:10px;text-decoration:none;font-size:13px;border:1px solid var(--border-blue);color:var(--text)}
.mu-auth-btn.primary{background:linear-gradient(135deg,#2470d2,#1858b5);border:none;color:#fff}
.mu-auth-btn:hover{box-shadow:0 0 14px var(--blue-glow,rgba(90,180,255,.4))}
.mu-auth-x{position:absolute;top:10px;right:14px;background:none;border:none;color:var(--text-muted);font-size:22px;cursor:pointer}

/* Review trust badges + avatar (#6 security upgrade) */
.rev-av{width:22px;height:22px;border-radius:50%;object-fit:cover;margin-right:7px;vertical-align:middle}
.rev-badge{font-size:9px;font-weight:600;letter-spacing:.02em;padding:2px 7px;border-radius:5px;margin-left:6px}
.rev-badge.dc{background:rgba(88,101,242,.18);color:#aab4ff}
.rev-badge.rz{background:rgba(70,209,158,.14);color:#7fe6c1}
.ent-review-head{display:flex;align-items:center;flex-wrap:wrap;gap:2px}

/* Toplist presence box + modal (#4) */
.ent-toplist-box{display:block;width:100%;text-align:left;background:rgba(90,180,255,.08);border:1px solid var(--border-blue);border-radius:10px;padding:12px 14px;color:var(--text);font-size:13px;cursor:pointer}
.ent-toplist-box:hover{background:rgba(90,180,255,.15)}
.ent-toplist-box b{color:var(--cyan)}
.tl-list{display:flex;flex-direction:column;gap:7px;margin-top:6px;max-height:50vh;overflow-y:auto}
.tl-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:9px;text-decoration:none;color:var(--text);font-size:13px}
.tl-row:hover{border-color:var(--border-blue);color:var(--cyan)}
.tl-pos{color:var(--cyan);font-weight:600}

/* Website official vs discovery (#5) + help tooltip */
.ent-web-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border)}
.ent-web-row:last-child{border-bottom:none}
.ent-web-k{font-size:11px;letter-spacing:.04em;color:var(--text-muted);text-transform:uppercase}
.ent-web-v{font-size:13px;color:var(--cyan);text-decoration:none}
.ent-web-v.is-toplist{color:#ffb38a}
.ent-help{position:relative;display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:rgba(90,180,255,.18);color:#9fd0ff;font-size:10px;cursor:help;margin-left:6px}
.ent-help .ent-tip{display:none;position:absolute;bottom:140%;left:50%;transform:translateX(-50%);width:210px;background:#0b1f44;border:1px solid var(--border-blue);border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.4;color:var(--text-dim);z-index:30;text-transform:none;letter-spacing:0;font-weight:400}
.ent-help:hover .ent-tip,.ent-help:focus .ent-tip{display:block}

/* Detected On - trusted toplist intelligence (V4, no links) */
.det-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.det-badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;background:rgba(70,209,158,.1);border:1px solid rgba(70,209,158,.35);color:#7fe6c1;padding:6px 11px;border-radius:8px}
.det-badge b{color:#eaffe9;font-weight:700}

/* ===== MuGPS Score hero - colour tiers + glow (V4 #1) ===== */
.mugps-hero{position:relative;margin:0 0 14px;padding:18px 18px 14px;border-radius:14px;text-align:center;
  background:linear-gradient(150deg,rgba(12,26,56,.78),rgba(8,16,36,.5));border:1px solid var(--border-blue);overflow:hidden}
.mugps-hero-l{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#a7c6e8;
  display:flex;align-items:center;justify-content:center;gap:6px}
.mugps-hero-n{font-family:var(--font-display,'Orbitron',monospace);font-weight:700;font-size:50px;line-height:1.04;margin:5px 0 2px}
.mugps-hero-s{font-size:11px;color:var(--text-muted)}
.mugps-hero .ent-help{margin-left:2px}
/* tier: none / 0-49 gray */
.mugps-hero.mg-na{border-color:rgba(140,160,180,.3)} .mg-na .mugps-hero-n{color:#9fb0c4}
.mugps-hero.mg-gray{border-color:rgba(150,165,185,.45)}
.mg-gray .mugps-hero-n{color:#c6d2e0;text-shadow:0 0 14px rgba(170,190,215,.45)}
/* 50-99 electric blue */
.mugps-hero.mg-blue{border-color:rgba(60,140,255,.6);box-shadow:inset 0 0 26px rgba(60,140,255,.16)}
.mg-blue .mugps-hero-n{color:#4d9bff;text-shadow:0 0 18px rgba(60,140,255,.65)}
/* 100-149 cyan */
.mugps-hero.mg-cyan{border-color:rgba(40,224,224,.6);box-shadow:inset 0 0 28px rgba(40,224,224,.18)}
.mg-cyan .mugps-hero-n{color:#36e6e6;text-shadow:0 0 20px rgba(40,224,224,.72)}
/* 150-199 gold */
.mugps-hero.mg-gold{border-color:rgba(255,200,70,.62);box-shadow:inset 0 0 30px rgba(255,200,70,.2)}
.mg-gold .mugps-hero-n{color:#ffce5a;text-shadow:0 0 20px rgba(255,200,70,.72)}
/* 200+ gold + animated glow */
.mugps-hero.mg-elite{border-color:rgba(255,205,80,.9);
  box-shadow:0 0 38px rgba(255,200,70,.38),inset 0 0 60px rgba(255,200,70,.16);animation:mgGlow 2.6s ease-in-out infinite}
.mg-elite .mugps-hero-n{color:#ffd66e;text-shadow:0 0 30px rgba(255,205,80,.95),0 0 8px #fff3c4}
@keyframes mgGlow{0%,100%{box-shadow:0 0 34px rgba(255,200,70,.34),inset 0 0 56px rgba(255,200,70,.15)}
  50%{box-shadow:0 0 56px rgba(255,212,92,.62),inset 0 0 84px rgba(255,212,92,.26)}}

/* ===== Smart floating tooltip (replaces inline .ent-tip) ===== */
.ent-tip{ display:none !important; }   /* text is read by JS; never rendered inline (no clipping) */
.mu-float-tip{
  position:fixed; z-index:99999; max-width:300px;
  background:linear-gradient(160deg,#11295a,#0a1733);
  border:1px solid rgba(90,180,255,.45); border-radius:11px;
  padding:11px 13px; font-size:12px; line-height:1.55; color:#dce9fb;
  box-shadow:0 12px 36px rgba(0,8,24,.55), 0 0 0 1px rgba(90,180,255,.08), inset 0 0 22px rgba(60,140,255,.08);
  pointer-events:none; text-transform:none; letter-spacing:.01em; font-weight:400;
  opacity:0; transform:translateY(5px) scale(.97); transition:opacity .15s ease, transform .15s cubic-bezier(.2,.8,.3,1);
  display:none;
}
.mu-float-tip.show{ opacity:1; transform:translateY(0) scale(1); }

/* ── Mobile fixes (2026-10-29 by MuADMINS Tools) ─────────────────────────────────────────────
   Result card: the thumbnail, OPEN and the caret left the title and text about 65px on a phone
   (one word per line). Favicon + text now use the full width, OPEN and the caret get their own row. */
@media (max-width:600px){
  .hs-card { display:grid; grid-template-columns:30px minmax(0,1fr) auto; column-gap:11px; row-gap:10px; padding:13px 14px; }
  .hs-thumb { display:none; }
  .hs-fav, .hs-fav-txt { grid-column:1; grid-row:1; }
  .hs-card-body { grid-column:2 / 4; grid-row:1; }
  .hs-open { grid-column:1 / 3; grid-row:2; justify-self:start; font-size:10px; padding:10px 16px; }
  .hs-caret { grid-column:3; grid-row:2; margin-left:0; padding:8px 6px; }
  .hs-title { font-size:13.5px; }
  /* finger-sized filters, stars and footer links */
  .hs-filter-types { gap:8px; }
  .hs-fchk { padding:8px 12px; min-height:40px; box-sizing:border-box; border:1px solid var(--border); border-radius:10px; }
  .hs-fapply, .hs-fclear { min-height:42px; }
  .ent-star { padding:6px 4px; font-size:26px; }
  .footer-links { gap:2px 6px; }
  .footer-links a { display:inline-block; padding:11px 8px; }
}
/* no hover lift on touch screens (it sticks after a tap) */
@media (hover:none){ .hs-card:hover { transform:none; } .ent-star:hover { transform:none; } }

/* ── Sponsorship placements (2026-10-29 by MuADMINS Tools) ── */
.ent-spon { background:linear-gradient(160deg, rgba(70,52,10,.42), rgba(36,26,6,.4)) !important; border:1px solid rgba(212,160,48,.55) !important; border-radius:12px; padding:14px 16px !important; }
.ent-spon-tag { display:inline-block; font-family:var(--font-display); font-size:8.5px; letter-spacing:.14em; padding:3px 8px; border-radius:5px; background:var(--gold,#d4a030); color:#1a1300; margin-bottom:8px; }
.ent-spon-t { font-family:var(--font-display); font-size:14px; color:#fff3d6; line-height:1.35; margin-bottom:5px; }
.ent-spon-d { font-size:13px; color:#e6d4a8; line-height:1.55; }
.ent-spon-go { display:inline-flex; align-items:center; min-height:40px; margin-top:10px; padding:0 14px; border-radius:9px; font-size:12.5px; color:#1a1300; background:var(--gold,#d4a030); text-decoration:none; font-weight:600; }
.home-spon { margin-top:clamp(16px,3vh,28px); max-width:700px; width:100%; text-align:center; }
.home-spon-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; margin-top:10px; }
.home-spon-card { display:flex; align-items:center; gap:10px; padding:11px 13px; min-height:52px; box-sizing:border-box; border-radius:12px; text-align:left; text-decoration:none;
  background:linear-gradient(160deg, rgba(70,52,10,.5), rgba(36,26,6,.45)); border:1px solid rgba(212,160,48,.55); }
.home-spon-card:hover { border-color:rgba(255,205,90,.85); }
.home-spon-card img { width:28px; height:28px; border-radius:7px; flex-shrink:0; object-fit:contain; background:rgba(255,255,255,.06); padding:3px; }
.home-spon-txt { min-width:0; display:flex; flex-direction:column; }
.home-spon-t { font-size:13px; color:#fff3d6; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-spon-d { font-size:11px; color:var(--gold,#d4a030); margin-top:2px; }

/* freshness chips (2026-10-28): what the search really knows about a result */
.hs-fresh{display:inline-block;margin-left:7px;padding:0 7px;border-radius:9px;font-size:10px;line-height:17px;letter-spacing:.02em;border:1px solid rgba(255,255,255,.18);color:#cfe3f7;white-space:nowrap}
.hs-fresh-now{border-color:rgba(80,220,150,.55);color:#8ff0bf}
.hs-fresh-recent{border-color:rgba(140,190,255,.45);color:#b9d6ff}
.hs-fresh-curated{border-color:rgba(255,205,90,.6);color:#ffd986}
.hs-fresh-indexed{border-color:rgba(170,170,190,.45);color:#c9c9d8}
.hs-fresh-new{border-color:rgba(255,120,200,.55);color:#ffb3e0}
.hs-fresh-social{border-color:rgba(160,160,160,.35);color:#b8b8b8}
.hs-fresh-suspect{border-color:rgba(255,120,80,.55);color:#ffb39a}

/* Long words and web addresses in a title or excerpt break instead of pushing the card (and the page on a phone)
   wider than the screen (by MuADMINS Tools, 2026-10-29 22:10; seen on "files": an archive.org address in a title). */
.hs-title, .hs-excerpt { overflow-wrap:anywhere; }
.hs-card-body { min-width:0; }

/* "Own this server? Update this listing" under a server card's buttons (2026-10-29) */
.ent-own-link { display:inline-block; margin-top:10px; font-size:12px; color:var(--blue-bright, #8fd0ff); text-decoration:none; }
.ent-own-link:hover, .ent-own-link:focus-visible { text-decoration:underline; }
.ent-rev-del { margin-top:8px; background:none; border:1px solid rgba(255,120,90,.45); color:#ffb39a; border-radius:7px; padding:6px 10px; font-size:12px; cursor:pointer; }
.ent-rev-del:hover { background:rgba(255,120,90,.1); }

/* ---- Listing images (2026-10-30): owner images on cards, the profile gallery and the manage.php images card ---- */
#homeResults .hs-shot.hs-shot-own .hs-thumb { object-position:center; }
.ent-gal { display:flex; gap:8px; margin-top:8px; overflow-x:auto; padding-bottom:4px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
.ent-gal-t { flex:none; width:96px; aspect-ratio:16/9; padding:0; border:1px solid rgba(120,180,255,.22); border-radius:8px; overflow:hidden; background:rgba(8,18,44,.6); cursor:pointer; scroll-snap-align:start; opacity:.72; transition:opacity .2s, border-color .2s; }
.ent-gal-t img { width:100%; height:100%; object-fit:cover; display:block; }
.ent-gal-t:hover, .ent-gal-t:focus-visible, .ent-gal-t.on { opacity:1; border-color:rgba(120,190,255,.75); }
.ent-gal-t:focus-visible { outline:2px solid rgba(120,190,255,.9); outline-offset:2px; }
.mi-grid { list-style:none; margin:12px 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:12px; }
.mi-item { border:1px solid rgba(120,180,255,.22); border-radius:10px; overflow:hidden; background:rgba(8,18,44,.6); }
.mi-item img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.mi-off img { opacity:.4; }
.mi-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; padding:8px; }
.mi-bar form { margin:0; }
.mi-tag { font-size:12px; color:#9fd0ff; }
.mi-tag-off { color:#ffcf8a; }
.mi-btn { font:inherit; font-size:12px; padding:5px 10px; border-radius:7px; border:1px solid rgba(120,180,255,.35); background:rgba(20,50,100,.5); color:#dbeaff; cursor:pointer; min-height:32px; }
.mi-btn:hover { border-color:rgba(120,190,255,.8); }
.mi-btn-x { border-color:rgba(255,120,120,.4); background:rgba(90,20,30,.45); color:#ffd6d6; }
.mi-prem { align-items:center; gap:10px; margin-top:8px; }
@media (max-width:560px){ .ent-gal-t{ width:84px; } .mi-grid{ grid-template-columns:1fr 1fr; gap:8px; } }
@media (prefers-reduced-motion:reduce){ .ent-gal-t{ transition:none; } }

/* opening badge on server cards (api/search.php opens_in, 2026-10-30) */
.hs-opening { display: inline-block; padding: 0 8px; border-radius: 3px; font: 700 11px/20px var(--font-ui, sans-serif); letter-spacing: .02em;
  color: #2a1c00; background: #ffd27a; border: 1px solid #ffd27a; }
.hs-opening.hs-opened { color: #062a1c; background: #7fe6b6; border-color: #7fe6b6; }
