/* Personal forum signatures use live game selections over shared clan artwork. */
.clan-signature-banner {
  --signature-gold: #d0b477;
  display: grid;
  grid-template-columns: minmax(125px, 1fr) minmax(0, 1.85fr);
  gap: 6px 18px;
  width: min(100%, 700px);
  min-height: 112px;
  margin: 0 0 10px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #655337;
  border-left: 3px solid var(--signature-gold);
  border-radius: 7px;
  background: linear-gradient(90deg, #090b0ae0, #090b0a24), url('/assets/img/signature-clan.webp') center / cover #101211;
  box-shadow: inset 0 0 30px #0008;
  color: #e9e3d4;
  font-size: 12px;
  line-height: 1.35;
}
.clan-signature-identity { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; }
.clan-signature-clan { flex-shrink: 0; color: var(--signature-gold); text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.signature .clan-signature-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f2ecdf; font-family: var(--font-display, 'Big Shoulders Display', sans-serif); font-size: clamp(23px, 3vw, 28px); font-weight: 800; line-height: 1.05; text-decoration: none; }
.clan-signature-motto { color: #bbb5a7; font-size: 10px; }
.clan-signature-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; align-items: start; }
.signature .clan-signature-game { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #eee7d7; text-decoration: none; }
.clan-signature-cover { display: flex; align-items: center; height: 32px; color: var(--signature-gold); font-weight: 700; font-size: 16px; }
.clan-signature-cover > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #8e78515c; border-radius: 3px; background: #171b18; }
.signature .clan-signature-cover img { width: auto; height: auto; max-width: 100%; max-height: 32px; min-height: 0; object-fit: contain; opacity: .9; }
.clan-signature-game strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 11px; font-weight: 600; line-height: 1.2; }
.clan-signature-game small { color: var(--signature-gold); font-size: 10px; }
.clan-signature-banner a:hover { color: var(--signature-gold); }
.clan-signature-banner a:focus-visible { outline: 2px solid var(--signature-gold); outline-offset: 2px; border-radius: 2px; }
.clan-signature-empty { align-self: center; margin: 0; color: #c9bda6; font-size: 11px; }
.clan-signature-footer { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; min-width: 0; color: #bbb5a7; font-size: 9px; line-height: 1.4; }
.clan-signature-more { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signature .clan-signature-more a { color: inherit; text-decoration: none; }
.signature .clan-signature-more a:hover { color: var(--signature-gold); }
.signature .clan-signature-png { flex-shrink: 0; margin-left: auto; color: var(--signature-gold); font-size: 9px; text-decoration: none; }
.signature-embed { display: grid; grid-column: 1 / -1; min-width: 0; gap: 10px; }
.signature-embed input { font-size: 12px; }
.signature-embed[hidden] { display: none; }
@media (max-width: 600px) {
  .clan-signature-banner { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .clan-signature-identity { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; }
  .signature .clan-signature-name { font-size: 22px; }
  .clan-signature-motto { display: none; }
}
