
/* ================================================================
   LEGEND TOWN — LIVE TEAM DIRECTORY
================================================================ */
#dynamic-team-content {
  max-width:1280px !important;
  padding-inline:24px !important;
  padding-bottom:120px !important;
}
.lt-team-section {
  position:relative;
  margin-top:52px;
  padding:0;
}
.lt-team-section:first-child { margin-top:28px; }
.lt-team-section-head {
  display:flex; align-items:center; gap:16px; margin-bottom:20px;
}
.lt-team-rule {
  height:1px; flex:1;
  background:linear-gradient(90deg, transparent, rgba(148,163,184,.16));
}
[dir="rtl"] .lt-team-rule { background:linear-gradient(270deg, transparent, rgba(148,163,184,.16)); }
.lt-team-title-wrap {
  display:flex; align-items:center; gap:11px; flex:0 0 auto;
  padding:9px 14px; border:1px solid rgba(148,163,184,.12);
  border-radius:999px; background:rgba(15,23,42,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.lt-team-title-wrap .emoji { font-size:14px; }
.lt-team-title {
  margin:0; color:#f8fafc; font-size:13px; font-weight:950;
  letter-spacing:.16em; text-transform:uppercase;
}
.lt-team-count {
  min-width:24px; height:22px; padding:0 7px; display:inline-flex;
  align-items:center; justify-content:center; border-radius:999px;
  background:rgba(34,211,238,.10); color:#67e8f9;
  font:800 10px ui-monospace,SFMono-Regular,Menlo,monospace;
}
.lt-team-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:14px;
}
.lt-team-card {
  position:relative; min-width:0; padding:22px 16px 18px;
  border:1px solid rgba(148,163,184,.11);
  border-radius:20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34,211,238,.06), transparent 42%),
    rgba(9,13,23,.78);
  text-align:center;
  overflow:hidden;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.lt-team-card:before {
  content:""; position:absolute; left:15%; right:15%; top:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(34,211,238,.42), transparent);
  opacity:.5;
}
.lt-team-card:hover {
  transform:translateY(-5px);
  border-color:rgba(34,211,238,.28);
  box-shadow:0 18px 45px rgba(0,0,0,.28), 0 0 28px rgba(34,211,238,.06);
}
.lt-team-avatar-wrap {
  position:relative; width:86px; height:86px; margin:0 auto 13px;
}
.lt-team-avatar {
  display:block; width:86px; height:86px; border-radius:50%; object-fit:cover;
  border:2px solid rgba(148,163,184,.16);
  background:#0f172a;
  box-shadow:0 10px 30px rgba(0,0,0,.32);
}
.lt-team-status {
  position:absolute; right:3px; bottom:3px; width:13px; height:13px;
  border:3px solid #090d17; border-radius:50%; background:#22c55e;
  box-shadow:0 0 12px rgba(34,197,94,.5);
}
.lt-team-name {
  min-height:40px; display:flex; align-items:center; justify-content:center;
  color:#f8fafc; font-size:13px; font-weight:950; line-height:1.35;
  letter-spacing:.04em;
}
.lt-team-role {
  margin-top:5px; color:#64748b; font-size:10px; font-weight:700;
}
.lt-team-id {
  margin-top:9px; color:#334155; font:9px ui-monospace,SFMono-Regular,Menlo,monospace;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.lt-team-empty {
  margin-top:22px; padding:45px 20px; text-align:center;
  border:1px dashed rgba(148,163,184,.14); border-radius:22px;
  color:#64748b;
}
.lt-team-error {
  margin-top:22px; padding:18px; text-align:center; border-radius:18px;
  border:1px solid rgba(251,113,133,.12); background:rgba(127,29,29,.08);
  color:#94a3b8; font-size:12px;
}
.lt-team-sync {
  display:flex; justify-content:center; align-items:center; gap:7px;
  margin-top:18px; color:#475569; font-size:9px; letter-spacing:.08em;
}
.lt-team-sync i { width:5px; height:5px; border-radius:50%; background:#22c55e; box-shadow:0 0 8px rgba(34,197,94,.55); }

@media (max-width:900px) {
  #dynamic-team-content { padding-inline:16px !important; }
  .lt-team-grid { grid-template-columns:repeat(auto-fit, minmax(155px, 1fr)); }
}
@media (max-width:520px) {
  .lt-team-section-head { gap:9px; }
  .lt-team-rule { display:none; }
  .lt-team-title-wrap { margin-inline:auto; }
  .lt-team-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  .lt-team-card { padding:18px 9px 15px; border-radius:17px; }
  .lt-team-avatar-wrap, .lt-team-avatar { width:72px; height:72px; }
  .lt-team-name { font-size:11px; min-height:34px; }
}


/* Footer logo: use the local asset directly; never depend on Next image optimization. */
.lt-footer-logo{display:block;width:90px;height:90px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(34,211,238,.18));}
