.community-page.chat-page .chat-cover-copy::before {
  width: min(360px, 78vw);
  height: auto;
  aspect-ratio: 120 / 82.7539;
  max-width: none;
}

.community-page.chat-page .social-nav > a,
.community-page.chat-page .social-nav > button.gyh-share-chat {
  --neon: #57e8ff;
  --neon-glow: rgba(36, 211, 255, .36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  color: #f4fbff;
  background: linear-gradient(135deg, #142337, #101324);
  border: 1px solid var(--neon);
  border-radius: 10px;
  text-decoration: none;
  animation: gyh-nav-glow 2.8s ease-in-out infinite;
}

.community-page.chat-page .social-nav > a::before,
.community-page.chat-page .social-nav > button.gyh-share-chat::before {
  content: '';
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  background: var(--neon);
  filter: drop-shadow(0 0 5px var(--neon-glow));
  mask: var(--nav-icon) center / contain no-repeat;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
}

.community-page.chat-page .social-nav > .gyh-chat-home {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 1 11h3v10h6v-6h4v6h6V11h3L12 2z'/%3E%3C/svg%3E");
}
.community-page.chat-page .social-nav > a[href='/leaderboard'] {
  --neon: #ffc45b;
  --neon-glow: rgba(255, 175, 51, .42);
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h12v3h4v3c0 3-2 5-5 5h-.3a6 6 0 0 1-3.7 2.8V19h4v3H7v-3h4v-3.2A6 6 0 0 1 7.3 13H7c-3 0-5-2-5-5V5h4V2zm0 5H4v1c0 1.5.8 2.5 2.2 2.9A9 9 0 0 1 6 9V7zm12 0v2c0 .7-.1 1.3-.2 1.9C19.2 10.5 20 9.5 20 8V7h-2z'/%3E%3C/svg%3E");
}
.community-page.chat-page .social-nav > a[href='/social'] {
  --neon: #c89bff;
  --neon-glow: rgba(184, 111, 255, .42);
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm6.5-1a3.5 3.5 0 1 0 0-7 5.8 5.8 0 0 1 0 7zM9 13c-4 0-7 2-7 4.5V21h14v-3.5C16 15 13 13 9 13zm7-1c-.6 0-1.2.1-1.7.2 2.2 1.1 3.7 3 3.7 5.3V21h4v-3.5c0-3-2.5-5.5-6-5.5z'/%3E%3C/svg%3E");
}
.community-page.chat-page .social-nav > button.gyh-share-chat {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 16a3 3 0 0 0-2.7 1.7l-6.4-3.6a3.5 3.5 0 0 0 0-4.2l6.4-3.6a3 3 0 1 0-.9-1.7L8 8.2a3.5 3.5 0 1 0 0 7.6l6.4 3.6A3 3 0 1 0 18 16z'/%3E%3C/svg%3E");
}
.community-page.chat-page .social-nav > :is(a, button.gyh-share-chat):hover,
.community-page.chat-page .social-nav > :is(a, button.gyh-share-chat):focus-visible {
  filter: brightness(1.2);
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}
@keyframes gyh-nav-glow {
  0%, 100% { box-shadow: 0 0 5px var(--neon-glow), inset 0 0 4px var(--neon-glow); }
  50% { box-shadow: 0 0 15px var(--neon-glow), inset 0 0 9px var(--neon-glow); }
}
@media (prefers-reduced-motion: reduce) {
  .community-page.chat-page .social-nav > :is(a, button.gyh-share-chat) { animation: none; }
}
