.forum-sponsor-strip,
.sponsor-widget-upgrade {
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.98));
  border: 1px solid rgba(224, 228, 238, 0.95);
  box-shadow: 0 18px 45px rgba(94, 107, 139, 0.14);
}

.forum-sponsor-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
  margin: 24px 0 32px;
}

.forum-sponsor-strip h3,
.sponsor-widget-upgrade h4,
.live-chat-panel-title {
  color: #3e3f5e;
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.forum-sponsor-strip p,
.sponsor-widget-upgrade p {
  color: #6c6f87;
  line-height: 1.6;
}

.forum-sponsor-tags,
.sponsor-widget-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.forum-sponsor-tags span,
.sponsor-widget-list span {
  background: #eef2ff;
  color: #5b5fd6;
  border: 1px solid #dde3ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.sponsor-widget-upgrade + .sponsor-widget-upgrade {
  margin-top: 18px;
}

.sponsor-logo-grid {
  display: grid;
  gap: 14px;
}

.sponsor-logo-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: #f7f8fc;
  border: 1px solid #e7eaf5;
}

.sponsor-logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.sponsor-logo-badge--gold {
  background: linear-gradient(135deg, #202531, #7f5b1f);
}

.sponsor-logo-badge--violet {
  background: linear-gradient(135deg, #615dfa, #3f46c7);
}

.sponsor-logo-copy strong {
  display: block;
  color: #3e3f5e;
  margin-bottom: 4px;
}

.sponsor-logo-copy p {
  margin: 0;
  color: #6c6f87;
}

.live-chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10002;
  min-width: 132px;
  height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #615dfa, #4fd1ff);
  color: #ffffff;
  border: 0;
  box-shadow: 0 20px 45px rgba(97, 93, 250, 0.24);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-chat-launcher-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.live-chat-launcher-text {
  letter-spacing: 0.01em;
}

.live-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: min(380px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 132px));
  z-index: 10001;
  display: none;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e6e9f3;
  box-shadow: 0 25px 55px rgba(94, 107, 139, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 248, 252, 0.99));
}

.live-chat-panel.is-open {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.live-chat-panel-header {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6e9f3;
  background: linear-gradient(135deg, rgba(97, 93, 250, 0.08), rgba(79, 209, 255, 0.08));
}

.live-chat-panel-meta,
.live-chat-status {
  color: #6c6f87;
  font-size: 0.82rem;
}

.live-chat-close {
  background: #f2f4f8;
  color: #615dfa;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.live-chat-messages {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-chat-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f5f7fb;
  color: #3e3f5e;
  border: 1px solid #e6e9f3;
}

.live-chat-message.own {
  margin-left: auto;
  background: #eef2ff;
  border-color: #d9ddff;
}

.live-chat-message-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.live-chat-author {
  color: #615dfa;
  font-weight: 700;
}

.live-chat-time {
  color: #8f96a3;
}

.live-chat-status {
  padding: 0 16px 10px;
}

.live-chat-form {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid #e6e9f3;
}

.live-chat-form input {
  height: 50px;
  border-radius: 14px;
}

.live-chat-form button {
  min-width: 92px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #615dfa, #4fd1ff);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
}

.chat-widget,
.chat-widget-button,
#chat-widget-messages,
#chat-widget-message {
  display: none !important;
}

.badge-list,
.badge-item,
.badge-item-stat,
.user-avatar-badge,
.icon-badges,
a[href="quests.html"],
a[href="badges.html"],
a[data-title="Rozetler"],
a[data-title="Badges"],
a[data-title="Gorevler"],
a[data-title="Quests"],
a[href="profile-badges.html"],
a[href="badges.html"] .icon-badges {
  display: none !important;
}

@media (max-width: 900px) {
  .forum-sponsor-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .live-chat-panel {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
    height: min(70vh, 560px);
    border-radius: 20px;
  }

  .live-chat-launcher {
    right: 12px;
    bottom: 16px;
    min-width: 118px;
    height: 54px;
    padding: 0 16px;
  }

  .live-chat-launcher-text {
    font-size: 0.9rem;
  }

  .live-chat-form {
    grid-template-columns: 1fr;
  }

  .live-chat-form button {
    width: 100%;
    min-width: 0;
    height: 48px;
  }
}

body[data-page="overview"] .progress-arc-summary,
body[data-page="overview"] .achievement-status-list,
body[data-page="overview"] .badge-list,
body[data-page="overview"] .achievement-box,
body[data-page="overview"] .quest-preview-list,
body[data-page="overview"] .profile-stats,
body[data-page="overview"] .stats-box {
  display: none !important;
}
