/* ClutchHub v189 — canlı kullanıcı verisine göre otomatik kazanılan rozetler */
.profile-command-badges.user-badges-upgraded > :not(.user-badges-v189-panel) {
  display: none !important;
}

.user-badges-v189-panel {
  position: relative;
  width: 100%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #d7e2ef;
  background:
    linear-gradient(135deg, rgba(255, 75, 22, .045), transparent 32%),
    linear-gradient(#fff, #fbfdff);
  color: #0b1c39;
}

.public-player-hero + .user-badges-v189-panel {
  margin-top: 16px;
}

.user-badges-v189-panel::before,
.user-badges-v189-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.user-badges-v189-panel::before {
  top: 0;
  left: 0;
  width: 34px;
  height: 5px;
  background: #ff4b16;
  box-shadow: 8px 8px 0 -2px rgba(255, 75, 22, .24);
}

.user-badges-v189-panel::after {
  right: -1px;
  bottom: -1px;
  width: 42px;
  height: 42px;
  border-right: 3px solid #ff4b16;
  border-bottom: 3px solid #ff4b16;
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%, 0 86%, 86% 86%, 86% 14%, 48% 14%);
}

.user-badges-v189-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid #dce6f0;
}

.user-badges-v189-head > div {
  min-width: 0;
}

.user-badges-v189-head small {
  display: block;
  margin-bottom: 4px;
  color: #ff4b16;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.user-badges-v189-head h2 {
  margin: 0;
  color: #0b1c39;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .015em;
}

.user-badges-v189-summary {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #ffd2c0;
  border-radius: 4px;
  background: #fff7f2;
}

.user-badges-v189-summary strong {
  color: #e9430e;
  font-size: 22px;
  line-height: 1;
}

.user-badges-v189-summary span {
  color: #6a7890;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.user-badges-v189-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.user-badge-v189 {
  position: relative;
  display: grid;
  grid-template-rows: 76px auto auto;
  justify-items: center;
  min-width: 0;
  min-height: 146px;
  padding: 9px 7px 10px;
  border: 1px solid #dce5ef;
  border-radius: 5px;
  background: rgba(255, 255, 255, .92);
  color: #172a47;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.user-badge-v189:hover,
.user-badge-v189:focus-visible,
.user-badge-v189.is-selected {
  z-index: 2;
  border-color: #ff7442;
  outline: 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(24, 46, 75, .12);
}

.user-badge-v189 img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgba(10, 30, 55, .16));
}

.user-badge-v189 strong {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #10213e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-badge-v189 small {
  margin-top: 4px;
  color: #75849a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.user-badge-v189.is-earned::before {
  content: "KAZANILDI";
  position: absolute;
  top: 7px;
  right: 6px;
  z-index: 2;
  padding: 3px 5px;
  border-radius: 3px;
  background: #e9fff3;
  color: #079455;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .07em;
}

.user-badge-v189.is-locked {
  background: #f7f9fc;
  cursor: default;
}

.user-badge-v189.is-locked img {
  opacity: .25;
  filter: grayscale(1);
}

.user-badge-v189.is-locked strong,
.user-badge-v189.is-locked small {
  opacity: .55;
}

.user-badge-v189.is-locked::after {
  content: "KİLİTLİ";
  position: absolute;
  top: 36px;
  left: 50%;
  padding: 4px 7px;
  border: 1px solid #cdd8e5;
  border-radius: 3px;
  background: rgba(255, 255, 255, .94);
  color: #64748b;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
  transform: translateX(-50%);
}

.user-badges-v189-detail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #e0e7f0;
  border-left: 3px solid #ff4b16;
  background: #fff;
}

.user-badges-v189-detail img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.user-badges-v189-detail strong,
.user-badges-v189-detail span {
  display: block;
}

.user-badges-v189-detail strong {
  margin-bottom: 3px;
  color: #10213e;
  font-size: 13px;
  font-weight: 900;
}

.user-badges-v189-detail span {
  color: #687a94;
  font-size: 12px;
  line-height: 1.35;
}

.user-badges-v189-detail b {
  color: #e9430e;
  font-size: 11px;
  font-weight: 900;
}

.user-badges-v189-loading {
  padding: 24px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.user-badge-mini-strip {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 7px;
}

.user-badge-mini-strip img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgba(15, 35, 60, .14));
}

@media (max-width: 1180px) {
  .user-badges-v189-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .user-badges-v189-panel {
    padding: 16px 12px;
  }

  .user-badges-v189-head {
    align-items: flex-start;
  }

  .user-badges-v189-head h2 {
    font-size: 16px;
  }

  .user-badges-v189-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .user-badge-v189 {
    grid-template-rows: 62px auto auto;
    min-height: 130px;
  }

  .user-badge-v189 img {
    width: 60px;
    height: 60px;
  }

  .user-badges-v189-detail {
    grid-template-columns: auto 1fr;
  }

  .user-badges-v189-detail b {
    grid-column: 2;
  }
}
