@charset "utf-8";

/* 회원 등급/뱃지 — sebu-badge, sebu-level-chip */

.sebu-author-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: inherit;
  line-height: 1.4;
}

.sebu-author-line__nick {
  font-weight: 700;
}

.sebu-badge,
.sebu-level-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  vertical-align: middle;
}

.sebu-badge__icon,
.sebu-level-chip__icon {
  font-size: 0.85em;
  line-height: 1;
}

.sebu-badge--default,
.sebu-level-chip.sebu-badge--default {
  background: #f1f5f9;
  color: #475569;
}

.sebu-badge--life,
.sebu-level-chip.sebu-badge--life {
  background: #dbeafe;
  color: #1d4ed8;
}

.sebu-badge--food,
.sebu-level-chip.sebu-badge--food {
  background: #ffedd5;
  color: #c2410c;
}

.sebu-badge--meetup,
.sebu-level-chip.sebu-badge--meetup {
  background: #dcfce7;
  color: #166534;
}

.sebu-badge--trade,
.sebu-level-chip.sebu-badge--trade {
  background: #ede9fe;
  color: #6d28d9;
}

.sebu-badge--official,
.sebu-badge-official {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.sebu-badge--vip,
.sebu-level-chip.sebu-badge--vip {
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  color: #fde68a;
}

.sebu-badge-main {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.public-group-chat__author-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
  vertical-align: middle;
}

/* 마이페이지 등급/뱃지 */
.member-growth-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px 32px;
}

.member-growth-hero {
  margin-bottom: 20px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #eff6ff 0%, #fff 55%);
  border: 1px solid #bfdbfe;
}

.member-growth-hero__level {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}

.member-growth-hero__score {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #475569;
}

.member-growth-hero__next {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}

.member-growth-progress {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.member-growth-progress__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.member-growth-section {
  margin-bottom: 22px;
}

.member-growth-section__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.member-growth-badge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-growth-badge-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.member-growth-badge-item.is-main {
  border-color: #93c5fd;
  background: #f0f9ff;
}

.member-growth-badge-item__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.member-growth-badge-item__desc {
  margin: 4px 0 0;
  width: 100%;
  font-size: 0.78rem;
  color: #64748b;
}

.member-growth-set-main-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.member-growth-set-main-btn.is-active {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1d4ed8;
}

.member-growth-log-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-growth-log-list__item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.84rem;
}

.member-growth-log-list__score {
  font-weight: 800;
  color: #2563eb;
}

@media (min-width: 640px) {
  .member-growth-badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
