.klaq-duel-entry {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 100%;
  min-height: 44px;
  margin-block-start: .8rem;
  padding: .5rem .75rem;
  border: 1px solid #916452;
  border-radius: 6px;
  background: #2c211e;
  color: #ffac90;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.klaq-duel-entry svg { flex: none; }
.klaq-duel-entry:hover { color: #ffe3d9; border-color: #ffac90; background: #392923; }
.klaq-duel-entry:focus-visible { outline: 2px solid #ffac90; outline-offset: 3px; }

/* Rank, projection and metadata remain above this single, independent action row. */
.hero .klaq-profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  width: min(100%, 26rem);
  margin-block-start: .8rem;
}

.hero .klaq-profile-actions .klaq-friend-entry { min-width: 0; margin: 0; }
.hero .klaq-profile-actions :is(.klaq-duel-entry, .klaq-friend-toggle) {
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: .45rem .55rem;
  font-size: .875rem;
  font-weight: 780;
  text-align: center;
  line-height: 1.18;
}
.hero .klaq-profile-actions .klaq-friend-toggle { height: 100%; }
.hero .klaq-profile-actions :is(.klaq-duel-entry, .klaq-friend-toggle) svg { width: 17px; height: 17px; }

.klaq-duel-label-mobile { display: none; }

@media (max-width: 960px) {
  .hero .klaq-profile-actions { width: min(100%, 23rem); grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .klaq-profile-actions .klaq-duel-label-desktop { display: none; }
  .klaq-profile-actions .klaq-duel-label-mobile { display: inline; }
}

@media (max-width: 400px) {
  .hero .klaq-profile-actions { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 6px; }
  .hero .klaq-profile-actions :is(.klaq-duel-entry, .klaq-friend-toggle) { gap: 5px; padding-inline: 5px; font-size: .8rem; }
  .hero .klaq-profile-actions :is(.klaq-duel-entry, .klaq-friend-toggle) svg { width: 16px; height: 16px; }
}

@media (max-width: 760px) {
  .hero .klaq-profile-actions { padding-block: 4px; margin-block-start: .55rem; }
  .hero .klaq-profile-actions :is(.klaq-duel-entry, .klaq-friend-toggle) { position: relative; min-height: 36px; }
  .hero .klaq-profile-actions :is(.klaq-duel-entry, .klaq-friend-toggle)::after {
    content: ""; position: absolute; inset: -4px 0;
  }
}
