/* ======================================================
   Wehome Profile PC UI — Toss-style unified
   html.profile-force-desktop-ui + min-width 1024px only
   ====================================================== */

.up-dt-only { display: none !important; }

@media (min-width: 1024px) {

html.profile-force-desktop-ui {
  --up-dt-content-w: 1240px;
  --up-dt-max-w: min(var(--up-dt-content-w), calc(100vw - 80px));
  --up-dt-aside-w: 380px;
  --up-dt-header-h: 56px;
}

html.profile-force-desktop-ui,
html.profile-force-desktop-ui body {
  background: #f2f4f6;
  color: #191f28;
  font-family: -apple-system, 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
}

html.profile-force-desktop-ui nav#bottom_nav,
html.profile-force-desktop-ui .body-bgr-cover,
html.profile-force-desktop-ui body > #wehome-no-history-logo,
html.profile-force-desktop-ui #body #ch-plugin,
html.profile-force-desktop-ui #body footer,
html.profile-force-desktop-ui .wh-page-nav-wrap {
  display: none !important;
}

html.profile-force-desktop-ui .up-dt-only {
  display: block !important;
}

/* ── PC 헤더 ── */
html.profile-force-desktop-ui #upDtHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

html.profile-force-desktop-ui #upDtHeader.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
}

html.profile-force-desktop-ui .up-dt-header-inner {
  max-width: var(--up-dt-max-w);
  margin: 0 auto;
  height: var(--up-dt-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

html.profile-force-desktop-ui .up-dt-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

html.profile-force-desktop-ui .up-dt-brand img {
  height: 24px;
  width: auto;
}

html.profile-force-desktop-ui .up-dt-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

html.profile-force-desktop-ui .up-dt-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e8eb;
  border-radius: 50%;
  background: #fff;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

html.profile-force-desktop-ui .up-dt-header-btn:hover {
  background: #f5f5f5;
  border-color: #d1d6db;
}

html.profile-force-desktop-ui .up-dt-header-btn .material-symbols-outlined {
  font-size: 20px;
}

/* ── 페이지 셸 ── */
html.profile-force-desktop-ui body#body {
  background: #f2f4f6 !important;
}

html.profile-force-desktop-ui div#content.up-wrap {
  max-width: var(--up-dt-max-w) !important;
  margin: 0 auto !important;
  padding: calc(var(--up-dt-header-h) + 24px) 0 48px !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  min-height: 100vh;
}

html.profile-force-desktop-ui .up-wrap {
  font-family: -apple-system, 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
}

html.profile-force-desktop-ui .up-wrap .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ── 히어로 ── */
html.profile-force-desktop-ui .up-hero {
  margin-top: 0;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  gap: 24px;
  align-items: center;
}

html.profile-force-desktop-ui .up-avatar {
  width: 120px;
  height: 120px;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

html.profile-force-desktop-ui .up-hero-name {
  font-size: 28px;
  font-weight: 800;
  color: #191f28;
  white-space: normal;
  margin-bottom: 14px;
}

html.profile-force-desktop-ui .up-stat-val {
  font-size: 20px;
  color: #191f28;
}

html.profile-force-desktop-ui .up-stat-label {
  font-size: 12px;
  color: #8b95a1;
}

html.profile-force-desktop-ui .up-hero-badge {
  background: rgba(104, 0, 205, 0.08);
  color: #6800cd;
}

html.profile-force-desktop-ui .up-cert-badge {
  background: #f2f4f6;
  color: #4e5968;
}

/* ── 2열 레이아웃 ── */
html.profile-force-desktop-ui .up-dt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--up-dt-aside-w);
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}

html.profile-force-desktop-ui .up-dt-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html.profile-force-desktop-ui .up-dt-aside {
  position: sticky;
  top: calc(var(--up-dt-header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html.profile-force-desktop-ui .up-dt-main .up-section,
html.profile-force-desktop-ui .up-dt-aside .up-section {
  margin-top: 0 !important;
}

/* ── 섹션 카드 ── */
html.profile-force-desktop-ui .up-section {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 24px;
}

html.profile-force-desktop-ui .up-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #191f28;
  margin-bottom: 18px;
}

html.profile-force-desktop-ui .up-bio {
  font-size: 15px;
  color: #4e5968;
  line-height: 1.75;
}

html.profile-force-desktop-ui .up-about-icon {
  background: rgba(104, 0, 205, 0.06);
  border-radius: 12px;
}

html.profile-force-desktop-ui .up-about-val {
  color: #191f28;
}

html.profile-force-desktop-ui .up-dt-layout--single {
  grid-template-columns: 1fr;
}

html.profile-force-desktop-ui .up-dt-layout--single .up-dt-aside {
  display: none;
}

/* ── 리뷰 그리드 ── */
html.profile-force-desktop-ui .up-reviews-scroll {
  overflow: visible;
}

html.profile-force-desktop-ui .up-reviews-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100% !important;
}

html.profile-force-desktop-ui .up-reviews-list .slick-list,
html.profile-force-desktop-ui .up-reviews-list .slick-track {
  display: contents !important;
  width: auto !important;
  transform: none !important;
}

html.profile-force-desktop-ui .up-reviews-list .slick-slide {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  height: auto !important;
}

html.profile-force-desktop-ui .up-review-card {
  width: 100% !important;
  background: #fafbfc;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  padding: 18px;
}

html.profile-force-desktop-ui .up-review-text {
  -webkit-line-clamp: 6;
  font-size: 14px;
  color: #4e5968;
}

html.profile-force-desktop-ui .up-viewmore {
  border-radius: 14px;
  border-color: #e5e8eb;
  color: #191f28;
  transition: background 0.15s;
}

html.profile-force-desktop-ui .up-viewmore:hover {
  background: #f2f4f6;
}

/* ── 인증 ── */
html.profile-force-desktop-ui .up-verify-item {
  padding: 10px 14px;
  background: #fafbfc;
  border: 1px solid #eef1f4;
  border-radius: 12px;
}

html.profile-force-desktop-ui .up-verify-item .material-symbols-outlined {
  color: #16a34a;
}

/* ── 숙소 목록 (사이드바) ── */
html.profile-force-desktop-ui .up-dt-aside .up-listings {
  gap: 16px;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-card {
  flex-direction: column;
  gap: 0;
  background: #fafbfc;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-img {
  width: 100%;
  height: 180px;
  border-radius: 0;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-info {
  padding: 14px 16px 16px;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-name {
  font-size: 15px;
  font-weight: 700;
  color: #191f28;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-addr {
  color: #8b95a1;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-star svg {
  color: #6800cd;
}

html.profile-force-desktop-ui .up-dt-aside .up-listing-star .new-badge {
  background: rgba(104, 0, 205, 0.08);
  color: #6800cd;
}

/* ── 진입 애니메이션 ── */
html.profile-force-desktop-ui .up-hero,
html.profile-force-desktop-ui .up-dt-layout {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html.profile-force-desktop-ui.profile-desktop-ready .up-hero,
html.profile-force-desktop-ui.profile-desktop-ready .up-dt-layout {
  opacity: 1;
  transform: none;
}

}

@media (prefers-reduced-motion: reduce) {
  html.profile-force-desktop-ui .up-hero,
  html.profile-force-desktop-ui .up-dt-layout {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
