@property --gyh-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.community-page.chat-page .chat-cover-copy {
  width: min(760px, 90%);
  max-width: 90%;
}
.community-page.chat-page .chat-cover-copy span { font-size: clamp(16px, 1.4vw, 22px); }
.community-page.chat-page .chat-cover-copy h1 { font-size: clamp(32px, 4vw, 72px); line-height: 1.3; }
.community-page.chat-page .chat-cover-copy p { font-size: clamp(18px, 1.8vw, 28px); line-height: 1.6; }

.community-page.chat-page .chat-channel-head.gyh-game-banner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  max-height: 320px;
  min-height: 0;
  overflow: hidden;
}
.community-page.chat-page .chat-channel-head.gyh-game-banner .chat-channel-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
}
.community-page.chat-page .chat-channel-head.gyh-game-banner::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: #0a1424 var(--gyh-banner) center / cover no-repeat;
  filter: blur(14px) brightness(.48);
}
.community-page.chat-page .chat-shell aside .chat-category button { min-height: 77px; }
.community-page.chat-page .chat-shell aside .chat-category button .chat-channel-label { font-size: 15px; }

.community-page.chat-page .chat-room-presence {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
.community-page.chat-page .chat-room-presence > strong { order: 0; }
.community-page.chat-page .chat-room-presence > :is(.gyh-global-announcement, .gyh-announcement) {
  order: 1;
  position: relative;
  margin: 0;
  padding: 10px 12px;
  border: 2px solid transparent;
  border-radius: 9px;
  background: linear-gradient(#241119, #241119) padding-box,
    conic-gradient(from var(--gyh-border-angle), #6a1023, #ff284a, #ffe3e8, #ff284a, #6a1023 38%, #6a1023) border-box;
  box-shadow: 0 0 12px #ff234866;
  color: #fff2f3;
  animation: gyh-announcement-border 4s linear infinite;
}
.community-page.chat-page .chat-room-presence > :is(.gyh-global-announcement, .gyh-announcement) strong { color: #ff9faa; }
@keyframes gyh-announcement-border { to { --gyh-border-angle: 360deg; } }
@media (max-width: 700px) {
  .community-page.chat-page .chat-cover-copy { width: 90%; max-width: 90%; }
  .community-page.chat-page .chat-cover-copy span { font-size: 15px; }
  .community-page.chat-page .chat-cover-copy h1 { font-size: clamp(26px, 6vw, 40px); }
  .community-page.chat-page .chat-cover-copy p { font-size: clamp(15px, 3.7vw, 20px); }
  .community-page.chat-page .chat-shell aside .chat-category button { width: 224px; min-width: 224px; }
}
@media (prefers-reduced-motion: reduce) {
  .community-page.chat-page .chat-room-presence > :is(.gyh-global-announcement, .gyh-announcement) { animation: none; }
}
