/* =========================================================
   group_detail.css (SCOPED)
   Only applies inside .gh-group-page (group_detail.html)
   Merged from old groups.css + existing mobile overrides
   ========================================================= */

.gh-group-page .gh-group-card {
  padding: 0.8rem 0.9rem;
}

/* The whole group page takes the viewport height. */
.gh-group-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1272px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

/* Bootstrap .row is already flex; here we make it fill the page and not grow with content. */
.gh-group-page .gh-group-row {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}

.gh-group-page .gh-group-col {
  height: 80vh;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Main card in each column (channels / chat / members) */
.gh-group-page .gh-group-main-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Inner wrapper around chat area */
.gh-group-page .gh-group-chat-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#group-message-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.send-border {
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
}

/* =============================== */
/* FONT SIZE OVERRIDES: GROUP PAGE */
/* =============================== */

.gh-group-page .gh-group-chat-messages,
.gh-group-page .gh-group-chat-message,
.gh-group-page .gh-group-chat-meta,
.gh-group-page .gh-group-chat-author,
.gh-group-page .group-message-body {
  font-size: 0.9rem !important;
}

.gh-group-page .gh-group-members-list,
.gh-group-page .gh-group-member-name {
  font-size: 0.9rem !important;
}

/* === LEFT COLUMN: AVATAR + CHANNELS === */

.gh-group-page .gh-group-avatar-card {
  text-align: center;
  padding: 0.75rem 0.75rem 0.6rem;
  flex-shrink: 0;
}

.gh-group-page .gh-group-avatar-img {
  display: block;
  width: 100%;
  border-radius: 7%;
  object-fit: cover;
  margin: 0 auto;
}

.gh-group-page .gh-group-avatar-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.gh-group-page .gh-group-channels-card {
  font-size: 0.85rem;
  padding-top: 0.6rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gh-group-page .gh-group-channels-header {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.25rem;
}

.gh-group-page .gh-group-channel-list {
  margin: 0;
  padding: 0.1rem 0 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.gh-group-page .gh-group-channel-item {
  margin-bottom: 0.15rem;
}

.gh-group-page .gh-group-channel-link {
  display: block;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}

.gh-group-page .gh-group-channel-item.is-active .gh-group-channel-link {
  background: rgba(255, 223, 0, 0.16);
  opacity: 1;
}

.gh-inline-add-btn {
  color: #FFDF00;
  border-color: #FFDF00;
}

.gh-inline-add-btn:hover {
  color: #000000;
  border-color: #FFDF00;
  background-color:  #FFDF00;
}

.gh-group-page .gh-group-channel-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.gh-channel-delete-btn {
  color: rgba(190, 0, 0, 0.747) !important;
}


/* NEW JOIN BLURRIED GROUP */ 
.gh-group-page .is-locked {
  position: relative;
}

.gh-group-page .gh-locked-content {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

.gh-group-page .gh-group-channels-card.is-locked::after,
.gh-group-page .gh-group-members-card.is-locked::after,
.gh-group-page .gh-group-members-strip-card.is-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.18);
  pointer-events: none;
}

.gh-group-page .gh-group-chat-card.is-locked {
  position: relative;
}

.gh-group-page .gh-group-join-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.gh-group-page .gh-group-join-panel {
  width: min(100%, 420px);
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(12, 12, 16, 0.94);
  border: 1px solid rgba(255, 223, 0, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.gh-group-page .gh-group-join-title {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.gh-group-page .gh-group-join-btn {
  min-width: 150px;
}

.gh-group-page .gh-group-join-fields {
  text-align: left;
}

.gh-group-page .gh-group-join-input {
  margin-top: 0.35rem;
}

.gh-group-page .gh-preview-block {
  display: block;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.08)
  );
  border-radius: 8px;
}

.gh-group-page .gh-preview-channel {
  pointer-events: none;
}

.gh-group-page .gh-preview-message-meta {
  width: 140px;
  height: 10px;
  margin-bottom: 0.45rem;
}

.gh-group-page .gh-preview-message-line {
  width: 100%;
  height: 12px;
  margin-bottom: 0.35rem;
}

.gh-group-page .gh-preview-message-line--short {
  width: 68%;
  margin-bottom: 0;
}

.gh-group-page .gh-preview-input {
  width: 100%;
  height: 42px;
  border-radius: 14px;
}

.gh-group-page .gh-preview-member-name {
  width: 72%;
  height: 12px;
  margin-bottom: 0.35rem;
}

.gh-group-page .gh-preview-member-role {
  width: 42px;
  height: 10px;
  border-radius: 999px;
}

.gh-group-page .gh-preview-strip-name {
  width: 56px;
  height: 10px;
  margin: 0.2rem auto 0;
}

.gh-group-page .gh-group-chat-preview {
  flex: 1 1 auto;
  min-height: 0;
}

/* === MIDDLE COLUMN: CHAT === */

.gh-group-page .gh-group-chat-card {
  padding: 0.9rem 1.1rem 0.7rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gh-group-page .gh-group-chat-header {
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.4rem;
}

.gh-group-page .gh-group-chat-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.gh-group-page .gh-group-chat-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* SCROLLABLE MESSAGES AREA */
.gh-group-page .gh-group-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
  font-size: 0.85rem;
}

.gh-group-page .gh-group-chat-message {
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.gh-group-page .gh-group-chat-message--self {
  background: rgba(255, 223, 0, 0.04);
}

.gh-group-page .gh-group-chat-message--self:hover {
  background: rgba(255, 223, 0, 0.07);
}

.gh-group-page .gh-group-chat-message:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.gh-group-page .msg-timesince {
  color: #927f00;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Avatar circle */
.gh-group-page .gh-chat-avatar {
  flex-shrink: 0;
}

.gh-group-page .gh-chat-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111;
}

/* Bubble content */
.gh-group-page .gh-chat-bubble {
  flex: 1;
  min-width: 0;
}

.gh-group-page .gh-group-chat-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.9;
  font-size: 0.75rem;
  margin-bottom: 0.05rem;
}

.gh-group-page .gh-group-chat-author {
  color: #fff;
}

.gh-group-page .gh-group-chat-input {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.45rem;
  margin-top: 0.3rem;
}

/* === RIGHT COLUMN: MEMBERS === */

.gh-group-page .gh-group-members-card {
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gh-group-page .gh-group-members-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* === Member list layout === */

.gh-group-page .gh-member-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0;
}

.gh-group-page .gh-member-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gh-group-page .gh-member-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.gh-group-page .gh-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
  border: 1px solid rgba(255,255,255,0.18);
  display: block;
  object-position: center;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* Members list: avatar wrapper to position presence dot */
.gh-group-page .gh-member-avatar-wrap {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

/* Reuse the same pulse-dot base, but override placement for small member avatars */
.gh-group-page .gh-member-avatar-wrap .pulse-dot {
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-width: 2px;
}

.gh-group-page .gh-member-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.gh-group-page .gh-member-name-line {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gh-group-page .gh-member-name {
  font-weight: 500;
}

.gh-group-page .gh-member-crown {
  font-size: 0.85rem;
  color: #FFDF00;
  text-shadow: 0 0 8px rgba(255,223,0,0.6);
  position: relative;
  top: -3px;
  display: inline-block;
}

.gh-group-page .gh-member-role-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
}

/* === MENTIONS (highlight in messages) === */

.gh-group-page .group-message-body .mention {
  font-weight: 600;
  padding: 0 2px;
  border-radius: 4px;
  line-height: 1.35;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* Mention dropdown (autocomplete) */
.gh-group-page .gh-mention-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0.5rem;
  transform: translateY(-6px);
  width: 220px;
  background-color: #101015;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  z-index: 60;
  font-size: 0.8rem;
}

.gh-group-page .gh-mention-dropdown .mention-item {
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gh-group-page .gh-mention-dropdown .mention-item::before {
  content: "●";
  font-size: 0.55rem;
  opacity: 0.6;
  margin-top: 1px;
}

.gh-group-page .gh-mention-dropdown .mention-item:hover {
  background: linear-gradient(
    90deg,
    rgba(255, 223, 0, 0.15),
    rgba(255, 223, 0, 0.02)
  );
}

/* === INLINE CHANNEL CREATE === */

.gh-group-page .gh-inline-channel-create {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.gh-group-page .gh-inline-channel-input {
  font-size: 0.8rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  background: #0b0b0f;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}

.gh-group-page .gh-inline-channel-input:focus {
  box-shadow: 0 0 0 2px rgba(255,223,0,0.3);
  border-color: rgba(255,223,0,0.5);
}

.gh-group-page .gh-inline-channel-form {
  margin: 0;
}

/* Drag & drop look */
.gh-group-page .gh-group-channel-item[draggable="true"] { cursor: grab; }
.gh-group-page .gh-group-channel-item.dragging { opacity: 0.6; }

/* Topic edit */
.gh-group-page .gh-topic-edit-box { margin-top: 0.35rem; }

.gh-group-page .gh-topic-input {
  font-size: 0.8rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  background: #0b0b0f;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}

.gh-group-page .gh-topic-input:focus {
  box-shadow: 0 0 0 2px rgba(255,223,0,0.3);
  border-color: rgba(255,223,0,0.5);
}


/* =========================================================
   MOBILE OVERRIDES (your existing group_detail.css content)
   ========================================================= */

@media (max-width: 767.98px){

  .gh-group-page .gh-group-avatar-card{
    width: 250px;
    height: 250px;
    padding: 0.60rem 0.75rem 0.55rem;
    text-align: center;
    margin: 0 auto;
  }

  .gh-group-page .gh-group-avatar-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gh-group-page .gh-group-avatar-img{
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .gh-group-page .gh-group-avatar-name{
    margin-top: 0.45rem;
    font-size: 0.90rem;
    line-height: 1.15;
    text-align: center;
  }

  .gh-group-page .gh-group-members-strip-card{
    padding: 0.75rem 0.85rem 0.70rem;
  }

  .gh-group-page .gh-members-strip-header{
    padding-bottom: 0.35rem;
    margin-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gh-group-page .gh-members-strip{
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .gh-group-page .gh-members-strip::-webkit-scrollbar{
    height: 6px;
  }

  .gh-group-page .gh-members-strip::-webkit-scrollbar-thumb{
    background: rgba(255, 223, 0, 0.25);
    border-radius: 999px;
  }

  .gh-group-page .gh-members-strip-item{
    flex: 0 0 auto;
    width: 72px;
    text-align: center;
    scroll-snap-align: start;
  }

  .gh-group-page .gh-members-strip-avatar-wrap{
    position: relative;
    width: 54px;
    height: 54px;
    margin: 0 auto 0.35rem;
  }

  .gh-group-page .gh-members-strip-avatar{
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255,255,255,0.16);
    background: #111;
  }

  .gh-group-page .gh-members-strip-avatar-wrap .pulse-dot{
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .gh-group-page .gh-members-strip-username{
    font-size: 0.72rem;
    line-height: 1.10;
    opacity: 0.92;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* CHANNELS HEIGHT (detail page only) */
  .gh-group-page .gh-group-row > .gh-group-col:first-child{
    height: auto !important;
    display: block !important;
  }

  .gh-group-page .gh-group-channels-card{
    height: 220px !important;
    display: flex;
    flex-direction: column;
  }

  .gh-group-page .gh-group-channel-list{
    flex: 1;
    overflow-y: auto;
  }
}

/* =========================================================
   GROUP OVERVIEW, SECTION NAVIGATION AND LFG
   ========================================================= */

.gh-group-page {
  gap: 0.8rem;
}

.gh-group-page .gh-group-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 132px;
  padding: 1rem 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 223, 0, 0.14);
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 223, 0, 0.09), transparent 30%),
    linear-gradient(120deg, rgba(30, 30, 28, 0.96), rgba(15, 15, 18, 0.98));
}

.gh-group-hero-identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.gh-group-hero-avatar { width: 100px; height: 100px; flex: 0 0 auto; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,223,0,.28); }
.gh-group-hero-copy { min-width: 0; }
.gh-group-eyebrow, .gh-section-kicker { display: block; color: #ffdf00; font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.gh-group-hero h1 { margin: .12rem 0 .22rem; font-size: 1.45rem; font-weight: 750; }
.gh-group-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.62); font-size: .82rem; }
.gh-group-hero-stats { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .65rem; color: rgba(255,255,255,.78); font-size: .74rem; }
.gh-group-hero-stats i { margin-right: .2rem; color: #ffdf00; }
.gh-group-hero-stats .gh-online-icon { font-size: .42rem; vertical-align: middle; color: #35d27f; }
.gh-group-hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; flex-wrap: wrap; }

.gh-group-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
  width: 100%;
  margin: .05rem 0 .15rem;
}

.gh-group-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.gh-group-tab:hover,
.gh-group-tab.is-active {
  border-color: rgba(255, 213, 0, 0.38);
  background: rgba(184, 156, 1, 0.06);
  color: #ffd500;
}

.gh-group-tab small {
  padding: .12rem .34rem;
  border-radius: 999px;
  color: rgba(255,255,255,.44);
  background: rgba(255,255,255,.06);
  font-size: .56rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gh-group-tab.is-disabled {
  cursor: not-allowed;
  opacity: .52;
}

.gh-group-tab.is-disabled:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
}

.gh-group-page .gh-group-row { margin-top: 0; }
.gh-group-page .gh-group-overview-col { height: 80vh; }
.gh-group-overview {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.15rem;
  overflow: hidden;
}
.gh-overview-section + .gh-overview-section { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.08); }
.gh-lfg-overview-section {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.gh-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.gh-section-heading h2, .gh-group-join-overview h2 { margin: .12rem 0 0; font-size: 1.05rem; }
.gh-section-heading p { margin: .18rem 0 0; color: rgba(255,255,255,.48); font-size: .72rem; }
.gh-group-info-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); gap: .8rem; }
.gh-group-about-card, .gh-group-details-card { padding: 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.022); }
.gh-group-about-card h3 { margin: 0 0 .35rem; font-size: .95rem; }
.gh-group-about-card p { margin: 0; color: rgba(255,255,255,.63); font-size: .78rem; line-height: 1.55; }
.gh-group-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.gh-group-tags span { padding: .2rem .48rem; border-radius: 999px; color: #d8c33c; background: rgba(255,223,0,.08); font-size: .65rem; }
.gh-group-details-card { display: grid; gap: .65rem; }
.gh-detail-row { display: flex; align-items: center; gap: .65rem; }
.gh-detail-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 8px; color: #ffdf00; background: rgba(255,223,0,.09); }
.gh-detail-row div { display: flex; flex-direction: column; min-width: 0; }
.gh-detail-row small { color: rgba(255,255,255,.42); font-size: .62rem; text-transform: uppercase; }
.gh-detail-row strong { overflow: hidden; color: rgba(255,255,255,.88); font-size: .75rem; font-weight: 600; text-overflow: ellipsis; }

.gh-overview-lfg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  gap: .7rem;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: .35rem;
  padding-bottom: .25rem;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(255, 223, 0, .72) rgba(255, 255, 255, .04);
  scrollbar-width: thin;
}
.gh-overview-lfg-grid > .gh-lfg-card {
  width: 100%;
  height: max-content;
  min-height: max-content;
  align-self: start;
}
.gh-overview-lfg-grid::-webkit-scrollbar { width: 7px; }
.gh-overview-lfg-grid::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.04); }
.gh-overview-lfg-grid::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,223,0,.72); }
.gh-overview-lfg-grid::-webkit-scrollbar-thumb:hover { background: #ffdf00; }
.gh-lfg-card { position: relative; padding: .85rem; border: 1px solid rgba(255,223,0,.17); border-radius: 12px; background: linear-gradient(145deg, rgba(255,223,0,.055), rgba(255,255,255,.018)); overflow: hidden; }
.gh-lfg-card::after { content: ""; position: absolute; top: -30px; right: -25px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,223,0,.055); pointer-events: none; }
.gh-lfg-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.gh-lfg-live { display: inline-flex; align-items: center; gap: .35rem; color: #d7c33d; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gh-lfg-live i { width: 6px; height: 6px; border-radius: 50%; background: #38d980; box-shadow: 0 0 8px rgba(56,217,128,.8); }
.gh-lfg-count { color: rgba(255,255,255,.48); font-size: .67rem; }
.gh-lfg-count strong { color: #fff; }
.gh-lfg-card h3 { position: relative; z-index: 1; margin: .55rem 0 .18rem; font-size: .92rem; }
.gh-lfg-card p { position: relative; z-index: 1; margin: 0 0 .55rem; color: rgba(255,255,255,.55); font-size: .72rem; }
.gh-lfg-host { margin: .45rem 0 .65rem; color: rgba(255,255,255,.46); font-size: .66rem; }
.gh-lfg-roster {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .55rem 0 .7rem;
  padding: .65rem 0 .25rem;
  border-top: 1px solid rgba(255,255,255,.07);
  overflow-x: auto;
  scrollbar-width: thin;
}
.gh-lfg-player {
  display: flex;
  flex: 0 0 62px;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.gh-lfg-player:hover { color: #ffdf00; }
.gh-lfg-player-avatar-wrap { position: relative; display: block; width: 42px; height: 42px; margin-bottom: .3rem; }
.gh-lfg-player-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: #111;
  object-fit: cover;
}
.gh-lfg-player-avatar--fallback { display: grid; place-items: center; color: #ffdf00; background: rgba(255,223,0,.08); font-size: .8rem; font-weight: 800; }
.gh-lfg-rank-icon {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 19px;
  height: 19px;
  border: 2px solid #181819;
  border-radius: 50%;
  background: #181819;
  object-fit: contain;
}
.gh-lfg-player strong, .gh-lfg-player small { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-lfg-player strong { color: rgba(255,255,255,.88); font-size: .61rem; font-weight: 700; }
.gh-lfg-player small { margin-top: .05rem; color: rgba(255,255,255,.4); font-size: .52rem; }
.gh-lfg-player:hover strong { color: #ffdf00; }
.gh-lfg-code { display: flex; align-items: center; gap: .45rem; margin: .55rem 0; padding: .45rem .55rem; border: 1px dashed rgba(255,223,0,.3); border-radius: 8px; background: rgba(0,0,0,.24); }
.gh-lfg-code span { color: rgba(255,255,255,.42); font-size: .61rem; text-transform: uppercase; }
.gh-lfg-code strong { flex: 1; color: #ffdf00; font-size: .75rem; letter-spacing: .05em; }
.gh-lfg-code button, .gh-lfg-composer-head button { padding: 0; border: 0; color: rgba(255,255,255,.58); background: transparent; }
.gh-lfg-card-actions { display: flex; gap: .4rem; }
.gh-lfg-empty { grid-column: 1 / -1; padding: 1.5rem; border: 1px dashed rgba(255,255,255,.11); border-radius: 12px; text-align: center; }
.gh-lfg-empty-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto .45rem; border-radius: 10px; color: #ffdf00; background: rgba(255,223,0,.08); }
.gh-lfg-empty h3 { margin: 0; font-size: .86rem; }
.gh-lfg-empty p { margin: .22rem 0 0; color: rgba(255,255,255,.46); font-size: .7rem; }
.gh-lfg-empty code, .gh-lfg-command-hint code { color: #ffdf00; }
.gh-lfg-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem;
  color: rgba(255,255,255,.48);
  font-size: .68rem;
}
.gh-lfg-loading span {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,223,0,.22);
  border-top-color: #ffdf00;
  border-radius: 50%;
  animation: gh-lfg-spin .7s linear infinite;
}
@keyframes gh-lfg-spin { to { transform: rotate(360deg); } }

.gh-lfg-card--chat { max-width: 580px; margin-top: .3rem; padding: .72rem .8rem; }
.gh-lfg-card--chat h3 { font-size: .84rem; }
.gh-lfg-command-hint { color: rgba(255,255,255,.42); font-size: .68rem; }
.gh-lfg-composer { margin-top: auto; margin-bottom: .45rem; padding: .8rem; border: 1px solid rgba(255,223,0,.22); border-radius: 12px; background: #111114; box-shadow: 0 -12px 35px rgba(0,0,0,.3); }
.gh-lfg-composer-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .7rem; }
.gh-lfg-composer-head div { display: flex; flex-direction: column; }
.gh-lfg-composer-head span { color: #ffdf00; font-size: .78rem; font-weight: 700; }
.gh-lfg-composer-head small { color: rgba(255,255,255,.4); font-size: .62rem; }
.gh-lfg-composer-head button { font-size: 1.1rem; line-height: 1; }
.gh-lfg-form-grid { display: grid; grid-template-columns: 1fr 1fr 120px; gap: .55rem; }
.gh-lfg-form-grid label { display: flex; flex-direction: column; gap: .2rem; color: rgba(255,255,255,.65); font-size: .62rem; }
.gh-lfg-form-grid label > span { font-weight: 600; }
.gh-lfg-form-grid label small { color: rgba(255,255,255,.35); font-weight: 400; }
.gh-lfg-note-field { grid-column: 1 / -1; }
.gh-lfg-composer input, .gh-lfg-composer select { border-color: rgba(255,255,255,.1); color: #fff; background: #09090c; font-size: .72rem; }
.gh-lfg-composer-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .7rem; }

.gh-group-join-overview { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; border: 1px solid rgba(255,223,0,.17); border-radius: 12px; background: rgba(255,223,0,.04); }
.gh-overview-join-form { display: flex; align-items: center; gap: .5rem; }
.gh-members-online { color: rgba(255,255,255,.42); font-size: .62rem; }
.gh-online-count,
.gh-members-online b { color: #ffdf00; }

@media (max-width: 991.98px) {
  .gh-group-info-grid, .gh-overview-lfg-grid { grid-template-columns: 1fr; }
  .gh-lfg-form-grid { grid-template-columns: 1fr 110px; }
  .gh-lfg-note-field { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  .gh-group-page { overflow: visible; }
  .gh-group-page .gh-group-hero { align-items: flex-start; flex-direction: column; }
  .gh-group-hero-avatar { width: 76px; height: 76px; }
  .gh-group-hero-actions { width: 100%; justify-content: flex-start; }
  .gh-group-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gh-group-tabs::-webkit-scrollbar { display: none; }
  .gh-group-tab {
    flex: 0 0 auto;
    min-width: 110px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: .78rem;
    scroll-snap-align: start;
  }
  .gh-group-page .gh-group-overview-col { height: auto; }
  .gh-group-overview { overflow: visible; }
  .gh-lfg-overview-section { overflow: visible; }
  .gh-overview-lfg-grid {
    flex: none;
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }
  .gh-section-heading, .gh-group-join-overview { align-items: flex-start; flex-direction: column; }
  .gh-overview-join-form { align-items: stretch; flex-direction: column; width: 100%; }
  .gh-lfg-form-grid { grid-template-columns: 1fr; }
  .gh-lfg-note-field { grid-column: auto; }
  .gh-lfg-command-hint { display: none; }
}
