.widocs-profile-page {
  --profile-surface: #ffffff;
  --profile-surface-soft: #f5f9ff;
  --profile-border-strong: #d5e2f3;
  --profile-shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.08);
  --profile-shadow-card: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.widocs-profile-page .profile-credentials__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widocs-profile-page .profile-credentials__list li {
  position: relative;
  padding: 10px 14px 10px 28px;
  background: var(--profile-surface-soft);
  border: 1px solid var(--profile-border-strong);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #1f2937;
}

.widocs-profile-page .profile-credentials__list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  transform: translateY(-50%);
}

.widocs-profile-page .profile-credentials__links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.widocs-profile-page .profile-credentials__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--profile-border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: #1f2937;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.widocs-profile-page .profile-credentials__links a:hover,
.widocs-profile-page .profile-credentials__links a:focus-visible {
  background: var(--profile-surface-soft);
  border-color: #6366f1;
}

@media (max-width: 768px) {
  .widocs-profile-page .profile-credentials__list li {
    font-size: 13.5px;
    padding: 9px 12px 9px 26px;
  }
}

.widocs-profile-page .profile-card-shell {
  margin-top: 20px;
}

.widocs-profile-page .profile-card-top {
  align-items: flex-start;
  gap: 28px;
  padding: 32px;
  border-radius: 28px;
}

.widocs-profile-page .profile-card-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.widocs-profile-page .profile-card-top__avatar-wrap {
  width: 180px;
}

.widocs-profile-page .profile-card-top__avatar {
  width: 180px;
  height: 180px;
  border-width: 5px;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(8, 28, 58, 0.28);
}

.widocs-profile-page .profile-card-top__badge {
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
}

.widocs-profile-page .profile-card-top__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widocs-profile-page .profile-card-top__eyebrow {
  margin-bottom: 0;
  align-self: flex-start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.widocs-profile-page .profile-card-top__heading {
  gap: 12px;
}

.widocs-profile-page .profile-card-top__name {
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.12;
}

.widocs-profile-page .profile-card-top__title {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.widocs-profile-page .profile-card-top__focus {
  margin: -2px 0 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.widocs-profile-page .profile-card-top__summary {
  margin: 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.widocs-profile-page .profile-card-top__meta {
  gap: 10px;
}

.widocs-profile-page .profile-card-top__meta-item,
.widocs-profile-page .profile-card-top__tag,
.widocs-profile-page .profile-card-top__verified-pill {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.widocs-profile-page .profile-card-top__meta-item {
  backdrop-filter: blur(8px);
}

.widocs-profile-page .profile-card-top__tag {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widocs-profile-page .profile-card-mid {
  margin-top: 18px;
  gap: 14px;
}

.widocs-profile-page .profile-info-box {
  border-color: #dbe7f5;
  border-radius: 18px;
  padding: 18px 18px 20px;
  background: #ffffff;
}

.widocs-profile-page .profile-info-box h3 {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.widocs-profile-page .profile-info-box p {
  font-size: 18px;
}

.widocs-profile-page .profile-info-box--actionable .profile-info-box__link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #1a5fb4;
  text-decoration: none;
  font-weight: 600;
  word-break: keep-all;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.widocs-profile-page .profile-info-box--actionable .profile-info-box__link:hover,
.widocs-profile-page .profile-info-box--actionable .profile-info-box__link:focus-visible {
  color: #0f3f7d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.widocs-profile-page .profile-info-box--actionable .profile-info-box__link:focus-visible {
  outline: 2px solid #1a5fb4;
  outline-offset: 3px;
  border-radius: 4px;
}

.widocs-profile-page .profile-info-box__value-line {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  word-break: break-word;
  line-height: 1.45;
}

.widocs-profile-page .profile-info-box__map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.widocs-profile-page .profile-info-box__map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1a5fb4;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.widocs-profile-page .profile-info-box__map-link:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #0f3f7d;
}

.widocs-profile-page .profile-info-box__map-link:focus-visible {
  outline: 2px solid #1a5fb4;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .widocs-profile-page .profile-info-box__value-line {
    font-size: 16px;
  }
  .widocs-profile-page .profile-info-box__map-link {
    padding: 5px 9px;
    font-size: 11.5px;
  }
}

.widocs-profile-page .profile-info-box__value {
  font-size: 17px;
  word-break: break-word;
}

.widocs-profile-page .profile-info-box__hint {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: #4070b8;
  letter-spacing: 0.01em;
}

.widocs-profile-page .profile-info-box__hint::before {
  content: "→";
  margin-right: 4px;
}

@media (max-width: 768px) {
  .widocs-profile-page .profile-info-box__value {
    font-size: 16px;
  }
  .widocs-profile-page .profile-info-box__hint {
    font-size: 11.5px;
  }
}

.widocs-profile-page .profile-section-tabs {
  margin-top: 18px;
  margin-bottom: 4px;
  position: relative;
  z-index: 30;
}

.widocs-profile-page .profile-section-tabs--sticky {
  position: sticky;
  top: 74px;
}

.widocs-profile-page .profile-section-tabs__scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 24px 0;
  scrollbar-width: none;
  box-sizing: border-box;
}

.widocs-profile-page .profile-section-tabs__scroller::-webkit-scrollbar {
  display: none;
}

.widocs-profile-page .profile-section-tabs__nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.widocs-profile-page .profile-section-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-sub);
  border-radius: 0;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease;
}

.widocs-profile-page .profile-section-tabs__btn:hover {
  color: var(--primary);
}

.widocs-profile-page .profile-section-tabs__btn.is-active {
  color: var(--primary);
  font-weight: 700;
}

.widocs-profile-page .profile-section-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #1a5fb4 0%, #56a3ff 100%);
}

.widocs-profile-page .profile-content-section {
  margin-top: 36px;
  padding: 4px 0 10px;
}

.widocs-profile-page .profile-content-block + .profile-content-block {
  margin-top: 18px;
}

.widocs-profile-page .profile-content-block > .mypage-section-title,
.widocs-profile-page .profile-content-block > .profile-section-heading {
  display: none;
}

.widocs-profile-page .js-profile-panel.is-hidden,
.widocs-profile-page .js-profile-panel-group.is-hidden,
.widocs-profile-page .profile-tab-legacy {
  display: none !important;
}

.widocs-profile-page .profile-card-intro,
.widocs-profile-page .profile-card-disclaimer {
  border-radius: 20px;
}

.widocs-profile-page .profile-card-intro {
  padding: 28px 30px;
  background: #ffffff;
}

.widocs-profile-page .profile-section-heading {
  margin-bottom: 16px;
}

.widocs-profile-page .profile-section-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.widocs-profile-page .profile-card-intro__short {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.7;
}

.widocs-profile-page .profile-card-intro__long {
  max-width: none;
  font-size: 15px;
  line-height: 1.85;
}

.widocs-profile-page .profile-intro-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  border: 1px solid #d7e4f4;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.widocs-profile-page .profile-intro-toggle:hover {
  border-color: rgba(26, 95, 180, 0.4);
  background: #edf5ff;
  transform: translateY(-1px);
}

.widocs-profile-page .js-profile-intro-long.is-collapsed {
  display: none;
}

.widocs-profile-page .profile-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.widocs-profile-page .profile-keyword-tags.is-compact {
  max-height: 70px;
  overflow: hidden;
}

.widocs-profile-page .profile-keyword-tags li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(26, 95, 180, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, #eff6ff 0%, #f7fbff 100%);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.widocs-profile-page .profile-keyword-tags li::before {
  content: "#";
  margin-right: 2px;
}

.widocs-profile-page .profile-keyword-tags a {
  color: inherit;
  text-decoration: none;
}

.widocs-profile-page .profile-tags-toggle {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.widocs-profile-page .profile-accordion {
  overflow: hidden;
}

.widocs-profile-page .profile-accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.widocs-profile-page .profile-accordion__toggle::after {
  content: "+";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.widocs-profile-page .profile-accordion__toggle[aria-expanded="true"]::after {
  content: "−";
  background: #dceaff;
}

.widocs-profile-page .profile-accordion__toggle:hover::after {
  transform: scale(1.04);
}

.widocs-profile-page .profile-accordion__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.widocs-profile-page .profile-accordion__title {
  display: block;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.widocs-profile-page .profile-accordion__content {
  margin-top: 18px;
}

.widocs-profile-page .profile-accordion__content.is-collapsed {
  display: none;
}

.widocs-profile-page .profile-card-disclaimer {
  padding: 20px 22px;
  border-color: #d6e6fb;
  background: #f8fbff;
}

.widocs-profile-page .profile-faq-list {
  margin-top: 0;
}

.widocs-profile-page .profile-faq-item + .profile-faq-item {
  margin-top: 12px;
}

.widocs-profile-page .profile-faq-question {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  border: 1px solid #dce6f2;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.widocs-profile-page .profile-faq-question::after {
  content: "+";
  flex-shrink: 0;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
}

.widocs-profile-page .profile-faq-question[aria-expanded="true"] {
  border-color: rgba(26, 95, 180, 0.34);
  color: var(--primary);
}

.widocs-profile-page .profile-faq-question[aria-expanded="true"]::after {
  content: "−";
}

.widocs-profile-page .profile-faq-answer {
  margin: 10px 4px 0;
  padding: 0 10px 4px;
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 14px;
}

.widocs-profile-page .profile-faq-answer.is-collapsed {
  display: none;
}

/* ===== 웰니스 — 수동 QnA (전문가 직접 답변) ===== */
.widocs-profile-page .profile-card-intro--qna .profile-section-heading__eyebrow {
  color: var(--primary);
}
.widocs-profile-page .profile-section-heading__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.widocs-profile-page .profile-faq-item--manual {
  position: relative;
  border-radius: 12px;
  background: none;
  padding-left: 12px;
}
.widocs-profile-page .profile-faq-item--manual::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--primary);
}
.widocs-profile-page .profile-faq-question__mark {
  display: inline-block;
  margin-right: 8px;
  font-weight: 800;
  color: var(--primary);
}
.widocs-profile-page .profile-faq-question__text {
  font-weight: 700;
}
.widocs-profile-page .profile-faq-answer--manual {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.widocs-profile-page .profile-faq-answer--manual.is-collapsed { display: none; }
.widocs-profile-page .profile-faq-answer__mark {
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}
.widocs-profile-page .profile-faq-answer__text { flex: 1 1 auto; min-width: 0; }

.widocs-profile-page .profile-column-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.widocs-profile-page .profile-peer-card {
  height: 100%;
}

.widocs-profile-page .profile-symptom-group + .profile-symptom-group {
  margin-top: 18px;
}

.widocs-profile-page .profile-symptom-group__title a {
  color: var(--text);
  text-decoration: none;
}

.widocs-profile-page .profile-empty-state,
.widocs-profile-page .profile-fallback-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--profile-border-strong);
  border-radius: 20px;
  background: #fbfdff;
}

.widocs-profile-page .profile-empty-state p,
.widocs-profile-page .profile-fallback-card p {
  margin-bottom: 8px;
}

.widocs-profile-page .profile-fallback-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.widocs-profile-page .profile-fallback-card__link::after {
  content: "→";
}

@media (max-width: 1200px) {
  .widocs-profile-page .profile-column-grid {
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .widocs-profile-page .profile-card-top {
    padding: 28px;
  }

  .widocs-profile-page .profile-card-mid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widocs-profile-page .profile-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .widocs-profile-page .profile-card-shell {
    margin-top: 16px;
  }

  .widocs-profile-page .profile-card-top {
    gap: 18px;
    padding: 24px 20px;
    border-radius: 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .widocs-profile-page .profile-card-top__avatar-wrap {
    width: auto;
  }

  .widocs-profile-page .profile-card-top__body {
    width: 100%;
    align-items: center;
  }

  .widocs-profile-page .profile-card-top__heading {
    justify-content: center;
  }

  .widocs-profile-page .profile-card-top__title,
  .widocs-profile-page .profile-card-top__focus,
  .widocs-profile-page .profile-card-top__summary {
    text-align: center;
  }

  .widocs-profile-page .profile-card-top__meta {
    justify-content: center;
  }

  .widocs-profile-page .profile-section-tabs {
    margin-top: 14px;
  }

  .widocs-profile-page .profile-section-tabs--sticky {
    top: 64px;
  }

  .widocs-profile-page .profile-section-tabs__scroller {
    padding: 4px 16px 0;
  }

  .widocs-profile-page .profile-section-tabs__nav {
    min-width: max-content;
    gap: 2px;
    padding: 0;
  }

  .widocs-profile-page .profile-section-tabs__btn {
    padding: 12px 14px;
    font-size: 14px;
  }

  .widocs-profile-page .profile-content-section {
    margin-top: 28px;
    padding-bottom: 2px;
  }

  .widocs-profile-page .profile-card-intro,
  .widocs-profile-page .profile-card-disclaimer {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .widocs-profile-page .profile-accordion__toggle {
    gap: 12px;
  }

  .widocs-profile-page .profile-accordion__title {
    font-size: 22px;
  }

  .widocs-profile-page .profile-column-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .widocs-profile-page .profile-card-top__meta-item,
  .widocs-profile-page .profile-card-top__tag,
  .widocs-profile-page .profile-card-top__verified-pill {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .widocs-profile-page .profile-card-top {
    padding: 22px 16px;
  }

  .widocs-profile-page .profile-card-top__avatar {
    width: 144px;
    height: 144px;
  }

  .widocs-profile-page .profile-card-top__name {
    font-size: 28px;
  }

  .widocs-profile-page .profile-card-top__focus {
    font-size: 18px;
  }

  .widocs-profile-page .profile-card-top__summary {
    font-size: 14px;
  }

  .widocs-profile-page .profile-card-mid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .widocs-profile-page .profile-info-box {
    min-height: auto;
  }

  .widocs-profile-page .profile-keyword-tags.is-compact {
    max-height: 74px;
  }

  .widocs-profile-page .profile-faq-question {
    min-height: 44px;
    padding: 13px 16px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .widocs-profile-page .profile-card-top__meta {
    gap: 8px;
  }

  .widocs-profile-page .profile-card-top__meta-item,
  .widocs-profile-page .profile-card-top__tag,
  .widocs-profile-page .profile-card-top__verified-pill {
    width: 100%;
    justify-content: center;
  }

  .widocs-profile-page .profile-section-tabs__btn {
    padding-inline: 13px;
  }
}

@media (max-width: 782px) {
  .admin-bar .widocs-profile-page .profile-section-tabs--sticky {
    top: 110px;
  }
}

@media (min-width: 783px) {
  .admin-bar .widocs-profile-page .profile-section-tabs--sticky {
    top: 102px;
  }
}

/* Design refinement layer: profile hero, sticky tabs, cards, and mobile UX */
.widocs-profile-page {
  --profile-hero-grad-start: #0f3d75;
  --profile-hero-grad-end: #1f6dd1;
  --profile-hero-accent: rgba(255, 255, 255, 0.16);
  --profile-tab-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  --profile-card-hover-shadow: 0 28px 52px rgba(15, 23, 42, 0.14);
  --profile-section-gap: 40px;
  --profile-mobile-section-gap: 24px;
}

.widocs-profile-page .profile-card-top,
.widocs-profile-page .profile-card-top.profile-card-top--health {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, var(--profile-hero-grad-start) 0%, var(--profile-hero-grad-end) 100%);
}

.widocs-profile-page .profile-card-top::before {
  content: "";
  position: absolute;
  inset: auto auto -72px -52px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--profile-hero-accent);
  filter: blur(8px);
  pointer-events: none;
}

.widocs-profile-page .profile-card-top__body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.widocs-profile-page .profile-card-top__heading {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.widocs-profile-page .profile-card-top__name {
  max-width: 100%;
  letter-spacing: -0.03em;
}

.widocs-profile-page .profile-card-top__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 27, 47, 0.32);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.widocs-profile-page .profile-card-top__focus {
  max-width: 100%;
}

.widocs-profile-page .profile-card-top__summary {
  position: relative;
  padding-left: 18px;
}

.widocs-profile-page .profile-card-top__summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: calc(100% - 0.9em);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.22));
}

.widocs-profile-page .profile-card-top__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.widocs-profile-page .profile-card-top__meta-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.widocs-profile-page .profile-card-top__meta-item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.widocs-profile-page .profile-card-top__verified-pill {
  background: rgba(255, 255, 255, 0.96);
  color: #11498d;
}

.widocs-profile-page .profile-card-top__tag {
  background: rgba(13, 27, 47, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.widocs-profile-page .profile-card-mid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.widocs-profile-page .profile-info-box {
  position: relative;
  overflow: hidden;
}

.widocs-profile-page .profile-info-box::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #1a5fb4 0%, #65a9ff 100%);
}

.widocs-profile-page .profile-section-tabs {
  margin-top: 20px;
}

.widocs-profile-page .profile-section-tabs--sticky {
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.widocs-profile-page .profile-section-tabs--sticky.is-stuck {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.widocs-profile-page .profile-content-section {
  margin-top: var(--profile-section-gap);
}

.widocs-profile-page .profile-card-intro,
.widocs-profile-page .profile-card-disclaimer,
.widocs-profile-page .profile-fallback-card,
.widocs-profile-page .profile-empty-state {
  position: relative;
}

.widocs-profile-page .profile-card-intro {
  border: 1px solid rgba(214, 228, 245, 0.82);
}

.widocs-profile-page .profile-section-heading__eyebrow,
.widocs-profile-page .profile-accordion__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.widocs-profile-page .profile-section-heading__eyebrow::after,
.widocs-profile-page .profile-accordion__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.widocs-profile-page .profile-intro-toggle,
.widocs-profile-page .profile-tags-toggle {
  min-height: 44px;
}

.widocs-profile-page .profile-keyword-tags {
  gap: 10px 8px;
}

.widocs-profile-page .profile-keyword-tags li,
.widocs-profile-page .profile-keyword-tags a {
  max-width: 100%;
}

.widocs-profile-page .profile-keyword-tags li {
  align-items: flex-start;
  white-space: normal;
  word-break: keep-all;
}

.widocs-profile-page .profile-faq-question {
  min-height: 56px;
}

.widocs-profile-page .profile-peer-card .col-card__title {
  letter-spacing: -0.02em;
}

.widocs-profile-page .profile-peer-card .profile-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.widocs-profile-page .profile-peer-card .profile-card-cta::after {
  content: "→";
  transition: transform 0.18s ease;
}

.widocs-profile-page .profile-peer-card:hover .profile-card-cta::after,
.widocs-profile-page .profile-peer-card .profile-card-cta:hover::after {
  transform: translateX(2px);
}

.widocs-profile-page .profile-peer-card {
  border-style: solid;
  background: #ffffff;
}

.widocs-profile-page .profile-fallback-card {
  overflow: hidden;
}

.widocs-profile-page .profile-fallback-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.widocs-profile-page .profile-fallback-card > * {
  position: relative;
  z-index: 1;
}

.widocs-profile-page .profile-fallback-card__link {
  min-height: 44px;
}

.widocs-profile-page .profile-peer-card:focus-visible,
.widocs-profile-page .profile-peer-card .profile-card-cta:focus-visible,
.widocs-profile-page .profile-section-tabs__btn:focus-visible,
.widocs-profile-page .profile-intro-toggle:focus-visible,
.widocs-profile-page .profile-tags-toggle:focus-visible,
.widocs-profile-page .profile-faq-question:focus-visible,
.widocs-profile-page .profile-accordion__toggle:focus-visible {
  outline: 3px solid rgba(26, 95, 180, 0.2);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .widocs-profile-page .profile-card-mid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widocs-profile-page .profile-content-section {
    margin-top: 34px;
  }
}

@media (max-width: 768px) {
  .widocs-profile-page .profile-card-top__heading {
    justify-content: center;
    align-items: center;
  }

  .widocs-profile-page .profile-card-top__title {
    margin-inline: auto;
  }

  .widocs-profile-page .profile-card-top__summary {
    padding-left: 0;
  }

  .widocs-profile-page .profile-card-top__summary::before {
    display: none;
  }

  .widocs-profile-page .profile-card-top__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .widocs-profile-page .profile-card-top__meta-item,
  .widocs-profile-page .profile-card-top__tag,
  .widocs-profile-page .profile-card-top__verified-pill {
    justify-content: center;
  }

  .widocs-profile-page .profile-content-section {
    margin-top: var(--profile-mobile-section-gap);
  }

  .widocs-profile-page .profile-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .widocs-profile-page .profile-card-top__meta {
    grid-template-columns: 1fr;
  }

  .widocs-profile-page .profile-column-grid {
    grid-template-columns: 1fr;
  }

  .widocs-profile-page .profile-keyword-tags.is-compact {
    max-height: 78px;
  }
}

@media (max-width: 480px) {
  .widocs-profile-page .profile-section-tabs__btn {
    min-height: 42px;
  }

  .widocs-profile-page .profile-card-intro,
  .widocs-profile-page .profile-card-disclaimer,
  .widocs-profile-page .profile-fallback-card,
  .widocs-profile-page .profile-empty-state {
    border-radius: 16px;
  }

  .widocs-profile-page .profile-faq-question {
    min-height: 48px;
  }
}

/* ── 팔로우 버튼 ────────────────────────────────────────────────── */
.profile-follow-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.profile-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.12s;
  backdrop-filter: blur(4px);
}

.profile-follow-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.profile-follow-btn:active:not(:disabled) {
  transform: translateY(0);
}

.profile-follow-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* 팔로잉 상태 */
.profile-follow-btn.is-following {
  background: rgba(255, 255, 255, 0.9);
  color: #1a5fb4;
  border-color: rgba(255, 255, 255, 0.9);
}

.profile-follow-btn.is-following:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.75);
}

/* 아이콘 토글: 기본 = +, 팔로잉 = ✓ */
.profile-follow-btn__icon-add  { display: inline-block; }
.profile-follow-btn__icon-check { display: none; }
.profile-follow-btn.is-following .profile-follow-btn__icon-add  { display: none; }
.profile-follow-btn.is-following .profile-follow-btn__icon-check { display: inline-block; }

.profile-follow-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
