/*
 * 海外／跨站建案卡。
 *
 * 每一條規則都收在 .overseas-project-card 底下，不是為了美觀：房地王的
 * .ht-skeleton-card .ht-skeleton-media 有 aspect-ratio: 3/2，特異性 (0,2,0)。
 * 這些規則原本寫成 body.page-index .overseas-project-media，特異性 (0,2,1) 所以贏；
 * 搬進套件時解除頁型限定會掉到 (0,1,0)，圖片比例就被骨架那條蓋成 3/2。
 * 收在卡片底下讓它回到 (0,2,0) 並且不依賴載入順序以外的假設，
 * 同時也避免套件的類名洩漏到使用端其他地方。
 */

.overseas-project-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 0.0625rem solid #f3f4f6;
  border-radius: 1rem;
  transition: border-color .15s, box-shadow .15s;
}

.overseas-project-card:hover {
  border-color: #e5e7eb;
  box-shadow: 0 0.625rem 1.5rem rgba(17, 24, 39, .1);
}

.overseas-project-card .overseas-project-media {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.overseas-project-card .overseas-project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s;
}

.overseas-project-card:hover .overseas-project-media img {
  transform: scale(1.02);
}

.overseas-project-card .overseas-project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.overseas-project-card .overseas-project-title {
  overflow: hidden;
  color: #111827;
  font-size: var(--ht-type-card-title);
  font-weight: 700;
  line-height: 1.375;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overseas-project-card .overseas-project-description {
  display: -webkit-box;
  overflow: hidden;
  color: #6b7280;
  font-size: var(--ht-text-base);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.overseas-project-card .overseas-project-category-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: auto;
}

/*
 * 標籤色刻意用 hex，不追房地王的 Tailwind 色票。房地王升到 Tailwind 4 之後
 * gray-500／gray-100 改用 OKLCH：轉成 sRGB 是 rgb(106,114,130)／rgb(243,244,246)，
 * 這裡的 #6b7280／#f3f4f6 是 rgb(107,114,128)／rgb(243,244,246)——背景完全相同，
 * 文字差 ≤2/255，實機截圖分辨不出來。2026-08-29 使用者決定維持 hex：
 * 套件不依賴任一使用端的 Tailwind 版本，比消掉那 2/255 值錢。看到這個差異不用「修」。
 */
.overseas-project-card .overseas-project-category.card-tag {
  display: inline-block;
  padding: 0.125rem 0.75rem;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 9999px;
}

@media (max-width: 63.9375rem) {
  .overseas-project-card {
    flex: 0 0 min(78vw, 20rem);
    scroll-snap-align: start;
  }
}

/*
 * 海外建案卡片列的容器。負右邊距讓橫滑內容越過使用端的 px-4／sm:px-6
 * 外框貼齊畫面邊緣；使用端若採用不同內距，應自行覆寫對應值。
 */
:where(.overseas-projects-grid) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 63.9375rem) {
  :where(.overseas-projects-grid) {
    display: flex;
    gap: 0.75rem;
    margin-right: -1rem;
    padding-right: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  :where(.overseas-projects-grid)::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 40rem) and (max-width: 63.9375rem) {
  :where(.overseas-projects-grid) {
    margin-right: -1.5rem;
    padding-right: 1.5rem;
  }
}

.project-card-link {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 0.0625rem solid #f3f4f6;
  border-radius: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.project-card-link.project-card--unavailable {
  opacity: .6;
}

.project-card-link .project-card-media {
  position: relative;
  overflow: hidden;
}

.project-card-link .project-card-image {
  display: block;
  width: 100%;
  height: auto;
}

.project-card-link .project-card-body {
  display: flex;
  padding: 1rem 1.25rem;
  flex: 1 1 0%;
  flex-direction: column;
}

.project-card-link .ht-skeleton-media img {
  backface-visibility: hidden;
  transition: opacity 280ms ease, transform 200ms ease;
}

.project-card-link .card-title {
  margin-bottom: 0.5rem;
  color: #111827;
  font-size: var(--ht-text-lg);
  font-weight: 700;
  line-height: 1.375;
}

.project-card-link .project-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0.75rem;
  color: #6b7280;
  font-size: var(--ht-text-base);
  /* Tailwind 的 text-base 同時給字級與行高，改寫成自有規則時只帶字級會讓行高
     繼承卡片的 1.75，實測整張卡因此高 4px。使用端兩個斷點量到的比值都是 1.5，
     與 text-base 的 1.5rem 一致。 */
  line-height: 1.5rem;
}

/*
 * 詳情頁錨點列（detail-anchor-topbar 元件＋mobile-anchor-shortcut.js）。
 *
 * 工單 0005：這組標記需要的樣式改由套件出貨——海外是第二個使用端，先前只載套件
 * CSS 時錨點列沒有膠囊樣式、桌機不會隱藏、浮起時內容跳一個列高。值逐項照主站
 * 建案頁實測（custom.css 的 .anav-top-bar／.anav-link 與 project.css 的浮起規則）。
 *
 * 全部包 :where() 歸零特異性：主站同名規則照樣勝出、主站零差異；沒有那些檔案的
 * 使用端拿到這裡的預設值。原本的 border-bottom 已拿掉——主站以
 * `border-bottom: 0 !important` 蓋掉它，正式站畫面上從來沒有這條線。
 * 同特異性靠載入順序：.is-floating 規則一律排在一般 top 規則之後。
 */
:where(.detail-anchor-topbar) {
  position: sticky;
  top: 4rem;
  z-index: 490;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0;
  margin-bottom: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: top .25s ease;
}

/*
 * 外殼樣式一律包在 :where() 裡把特異性歸零。
 *
 * cards.css 在使用端是最後載入的，所以套件與使用端寫出同分的選擇器時套件會贏——
 * 房地王的 `.page-footer-full .footer-inner { padding-top/bottom: 1rem }` 手機覆寫
 * 就是這樣被 `.site-footer .site-footer-inner` 蓋掉，頁尾在 390px 高了 8.5px。
 * 用 :where() 之後套件只提供「沒人管時的預設值」，使用端任何一條規則都贏得過它，
 * 不必依賴載入順序。新網站沒有自己的規則時仍會拿到這裡的預設。
 */
:where(.site-footer) {
  background: #fff;
  border-top: 0.0625rem solid #e5e7eb;
}

:where(.site-footer .site-footer-inner) {
  padding: 1.25rem 1rem;
}

:where(.section-header-more-icon),
:where(.mobile-main-navigation-sheet-close-icon) {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (min-width: 64rem) {
  :where(.site-footer .site-footer-inner) {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

.detail-anchor-topbar-scroll {
  overflow-x: auto;
  max-width: 80rem;
  margin-right: auto;
  margin-left: auto;
}

.detail-anchor-topbar-nav {
  display: flex;
  padding: 0.375rem 1rem;
}

@media (min-width: 40rem) {
  .detail-anchor-topbar-nav {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 64rem) {
  :where(.detail-anchor-topbar) {
    top: 5rem;
  }

  .detail-anchor-topbar-nav {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

/* 錨點列的水平捲動容器不顯示捲軸；主站是寫在 .anav-top-bar>div 上，值相同。 */
:where(.detail-anchor-topbar-scroll) {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

:where(.detail-anchor-topbar-scroll)::-webkit-scrollbar {
  display: none;
}

/*
 * 膠囊之間的間距。主站的 `#anchor-nav { gap: 0.5rem !important }` 一律贏過這條，
 * 值相同所以畫面不變；沒有那條規則的使用端拿到一樣的 0.5rem。
 */
:where(.detail-anchor-topbar-nav) {
  gap: 0.5rem;
}

/* 錨點膠囊，照主站 custom.css 的 .anav-link 三條逐字搬。 */
:where(.anav-link) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: .375rem .875rem;
  min-height: 2.75rem;
  font-size: var(--ht-text-base, 1rem);
  font-weight: 500;
  color: #374151;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .18s, color .18s, box-shadow .18s;
  user-select: none;
}

:where(.anav-link:hover) {
  background: #e5e7eb;
  color: #111827;
}

:where(.anav-link.active) {
  background: var(--page-brand-50, #fef3ee);
  color: var(--page-brand-600, #ff5722);
  border-color: transparent;
  font-weight: 600;
}

@media (max-width: 79.9375rem) {
  :where(.detail-anchor-topbar-scroll) {
    scroll-padding-inline: 1rem;
  }
}

/* ≥80rem 由 detail-anchor-sidebar 接手，錨點列自己隱藏，不需要使用端再按頁型寫一次。 */
@media (min-width: 80rem) {
  :where(.detail-anchor-topbar) {
    display: none;
  }
}

/*
 * mobile-anchor-shortcut.js 的浮起狀態。class 與 placeholder 都是套件 JS 自己加的，
 * 樣式跟著出貨；值照主站 project.css 的浮起規則（placeholder 高度由 JS inline 控制）。
 * 浮起動畫與狀態同時出貨；使用端若有頁型例外可在自己的 media query 覆寫。
 */
@media (max-width: 79.9375rem) {
  :where(.detail-anchor-topbar.is-floating) {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    z-index: 470;
    margin: 0;
    padding: 0.5rem 0;
    will-change: transform, opacity;
    animation: ht-anchor-float-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  :where(.anav-top-bar-placeholder) {
    display: block;
    width: 100%;
    height: 0;
  }
}

@keyframes ht-anchor-float-in {
  from {
    opacity: 0;
    transform: translate3d(0, -0.5rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.detail-anchor-topbar.is-floating) {
    animation: none;
  }
}

@media (min-width: 64rem) and (max-width: 79.9375rem) {
  :where(.detail-anchor-topbar.is-floating) {
    top: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* body.mob-header-hidden 是套件 mobile-header-scroll.js 自己加的 class，不是頁型。
   排在所有 top 規則之後，同特異性時靠順序勝出。 */
@media (max-width: 79.9375rem) {
  :where(body.mob-header-hidden .detail-anchor-topbar.is-floating) {
    top: 0;
  }
}

/*
 * Article card supports two link contracts without knowing the consuming page:
 * a whole-card link and a split-link card. Both layouts are self-contained so
 * vendor Blade files never depend on a consumer's Tailwind content scan.
 */
.article-card {
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 0.0625rem solid #f3f4f6;
  border-radius: 1rem;
}

.article-card-linked {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.article-card-linked:hover {
  border-color: #e5e7eb;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, .08);
}

.article-card .article-card-media {
  display: block;
  overflow: hidden;
  min-height: 0;
  background: #f3f4f6;
}

.article-card-linked .article-card-media {
  /* 有 aspect-ratio 的 grid 項目，align-self／justify-self 的 normal 會當成 start，
     圖片不會跟文字欄一起撐滿整列。兩軸都要 stretch：只拉高度的話，
     比例會改從高度反推寬度，媒體框會蓋進文字欄。4:3 仍然是最小高度。 */
  align-self: stretch;
  justify-self: stretch;
  aspect-ratio: 4 / 3;
}

.article-card .article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .article-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--brand-600, #e4007f);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--brand-50, #fdf2f8);
}

.article-card .article-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.article-card-linked .article-card-body {
  gap: 0.5rem;
  padding: 1rem;
}

.article-card .article-card-date {
  color: #9ca3af;
  font-size: var(--ht-type-meta);
  white-space: nowrap;
}

.article-card-linked .card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: var(--ht-type-card-title);
  line-height: 1.375;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-linked .article-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: #6b7280;
  font-size: var(--ht-text-base);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-split-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  transition: box-shadow .15s;
}

.article-card-split-links:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}

.article-card-split-links .article-card-media {
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
}

.article-card-split-links .article-cover-img {
  transition: transform .3s;
}

.article-card-split-links:hover .article-cover-img {
  transform: scale(1.03);
}

.article-card-split-links .article-card-placeholder {
  color: #e5e7eb;
  background: #f9fafb;
}

.article-card-split-links .article-card-body {
  gap: 0.625rem;
  padding: 1.25rem;
}

.article-card-split-links .article-title {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: var(--ht-text-base-plus);
  font-weight: 700;
  line-height: 1.375;
  transition: color .15s;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-split-links .article-title:hover {
  color: var(--brand-600, #e4007f);
}

.article-card-split-links .article-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: #6b7280;
  font-size: var(--ht-text-sm);
  line-height: 1.625;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-split-links .article-readmore {
  display: inline-flex;
  align-items: center;
  color: var(--page-brand-color, var(--brand-600, #ff5722));
  font-size: var(--ht-text-sm);
  font-weight: 500;
  transition: color .15s;
}

.article-card-split-links .article-readmore:hover {
  color: var(--page-brand-700, var(--brand-700, #e64a19));
}

.article-card-split-links .article-thumb-placeholder-icon {
  font-size: 2.5rem;
}

@media (min-width: 40rem) {
  .article-card-split-links {
    flex-direction: row;
  }

  .article-card-split-links .article-card-media {
    width: 16rem;
  }
}

@media (min-width: 64rem) {
  .article-card-split-links .article-card-media {
    width: 18rem;
  }
}

@media (max-width: 39.9375rem) {
  .article-card-linked .article-card-media {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .article-card-linked .article-card-media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/*
 * 錨點列在使用端是水平捲動容器：內容比容器寬時要能捲，比容器窄時要撐滿。
 * 這兩條原本是 Blade 上的 w-max / min-w-full，搬進套件後 Tailwind 掃不到而失效。
 *
 * 刻意不設 gap。Blade 上原本還有一個 gap-0.5，但它從來沒有生效過——房地王的
 * custom.css 有 `#anchor-nav { gap: 0.5rem !important }`，ID 選擇器加 !important
 * 一律贏過工具類。2026-08-30 一度在這裡補上 gap 並用 !important 蓋回去，實測會把
 * 正式站的 8.5px 改成 2.1px；那是新的外觀改動而不是修復，已回退。
 * 間距屬於使用端的決定，套件不搶。
 */
.anav-top-bar #anchor-nav {
  width: max-content;
  min-width: 100%;
}

.project-card-link .project-card-region,
.project-card-link .project-card-status {
  font-weight: inherit;
  white-space: nowrap;
}

.project-card-link .project-card-meta-separator {
  margin: 0 0.375rem;
  color: #d1d5db;
}

.project-card-link .project-origin-badge {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  color: #fff;
  font-size: var(--ht-text-sm);
  font-weight: 600;
  line-height: 1.2;
  background: var(--brand-600, #e4007f);
  border: 0;
  border-radius: 0 0 0.75rem 0;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .project-card-link:hover {
    border-color: #e5e7eb;
    box-shadow: 0 0.625rem 1.5rem rgba(17, 24, 39, 0.1);
  }

  .project-card-link:hover .ht-skeleton-media img {
    transform: scale(1.02);
  }
}

.project-card-link.listing-card,
.project-card-link .listing-card-media {
  min-width: 0;
}

.project-card-link.listing-card {
  max-width: 100%;
}

.project-card-link .listing-card-media img {
  width: 100%;
  max-width: 100%;
}

.project-card-link.listing-card:focus-visible {
  outline: 3px solid var(--brand-600, #ff5722);
  outline-offset: 3px;
}

@media (max-width: 63.9375rem) {
  .mobile-native-ad-recommendation .project-card-link {
    flex-direction: row;
    align-items: stretch;
  }

  .mobile-native-ad-recommendation .project-card-link > .ht-skeleton-media {
    flex: 0 0 45%;
    width: 45%;
  }

  .mobile-native-ad-recommendation .project-card-link > .ht-skeleton-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-native-ad-recommendation .project-card-link > :last-child {
    flex: 1 1 55%;
    min-width: 0;
    padding-left: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

}

@media (min-width: 45rem) and (max-width: 63.9375rem) {
  .mobile-native-ad .project-card-link {
    width: 100%;
    max-width: none;
  }
}

.detail-page-content-divider {
  border-top: 0.0625rem solid #f3f4f6;
}

.detail-page-shell {
  width: 100%;
  max-width: 80rem;
  margin-right: auto;
  margin-left: auto;
  padding: 2.5rem 1rem;
}

.detail-page-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.detail-page-main {
  min-width: 0;
  flex: 1 1 0%;
}

.detail-page-main > :not(:last-child) {
  margin-bottom: 3.5rem;
}

@media (min-width: 40rem) {
  .detail-page-shell {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 64rem) {
  .detail-page-shell {
    padding: 3.5rem 2rem;
  }

  .detail-page-layout {
    flex-direction: row;
    gap: 1.5rem;
  }

}

@media (min-width: 64rem) and (max-width: 82.9375rem) {
  :where(.detail-page-layout > aside) {
    width: 18rem;
    flex-basis: 18rem;
  }
}

@media (min-width: 83rem) {
  .detail-page-layout {
    gap: 2rem;
  }

  :where(.detail-page-layout > aside) {
    width: 22rem;
  }
}

@media (min-width: 90.0625rem) {
  .detail-page-layout {
    gap: 2.5rem;
  }
}

@media (min-width: 96rem) {
  .detail-page-layout {
    gap: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card-link,
  .project-card-link img {
    transition: none;
  }
}

/* Shared site header defaults. :where() keeps product styles authoritative. */
:where(.site-header) {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-color: oklch(0.967 0.003 264.542);
  border-bottom-width: 0.0625rem;
  border-bottom-style: solid;
}

:where(.site-header-inner) {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  overflow: visible;
}

:where(#nav-bar) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 4rem;
}

:where(#nav-logo) {
  width: auto;
  height: 3rem;
}

:where(#pnav-container) {
  flex: 1;
  display: none;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
}

:where(.pnav-item) {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  position: relative;
}

:where(.pnav-link) {
  display: flex;
  align-items: center;
  gap: 0.1875rem;
  min-height: 2.75rem;
  padding: 0 0.6875rem;
  color: #374151;
  font-family: inherit;
  font-size: var(--ht-text-sm, 0.875rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}

:where(.pnav-link:hover, .pnav-item:hover > .pnav-link) {
  color: var(--brand-600, #ff5722);
}

:where(.pnav-chevron) {
  display: inline-block;
  flex-shrink: 0;
  color: #6b7280;
  font-size: 0.6875rem;
  line-height: 1;
  transition: transform .2s;
}

:where(.pnav-item:hover .pnav-chevron, .pnav-chevron.rotated) {
  transform: rotate(180deg);
}

:where(.pnav-item:hover .pnav-chevron) {
  color: var(--brand-600, #ff5722);
}

:where(.pnav-dd) {
  position: fixed;
  top: var(--dd-top, 5rem);
  left: var(--dd-left, 0rem);
  z-index: 9999;
  display: none;
  min-width: 9.375rem;
  padding: 0.375rem 0;
  background: #fff;
  border: 0.0625rem solid #e5e7eb;
  border-radius: 0.625rem;
  box-shadow: 0 0.75rem 2.25rem rgba(0, 0, 0, .13);
}

:where(.pnav-item:hover .pnav-dd) {
  display: block;
}

:where(.pnav-dd a, .dm-dd a) {
  display: block;
  padding: 0.5625rem 1.125rem;
  color: #374151;
  font-size: var(--ht-text-sm, 0.875rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .1s, color .1s;
}

:where(.pnav-dd a:hover, .dm-dd a:hover) {
  color: var(--brand-600, #ff5722);
  background: var(--brand-50, #fef3ee);
}

:where(#pnav-more) {
  margin-left: 0;
}

:where(#pnav-more .pnav-dd) {
  right: var(--dd-right-px, 0rem) !important;
  left: auto !important;
  padding: 0.75rem 0.375rem;
}

:where(.pnav-more) { display: none; }
:where(.pnav-more-trigger) { color: var(--brand-600, #ff5722); font-weight: 600; }
:where(.pnav-more-dd) { min-width: 12.5rem; padding: 0.75rem 0.375rem; }
:where(.more-col) { display: inline-block; min-width: 7.5rem; padding: 0 0.375rem; vertical-align: top; }
:where(.more-col-title) { padding: 0.125rem 0.625rem 0.4375rem; margin-bottom: 0.1875rem; color: #9ca3af; font-size: var(--ht-text-sm, 0.875rem); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-bottom: 0.0625rem solid #e5e7eb; }
:where(.more-col a) { display: block; padding: 0.4375rem 0.625rem; color: #374151; font-size: var(--ht-text-sm, 0.875rem); font-weight: 500; text-decoration: none; border-radius: 0.375rem; transition: background .1s, color .1s; }
:where(.more-col a:hover) { color: var(--brand-600, #ff5722); background: var(--brand-50, #fef3ee); }
:where(.more-single) { padding: 0.4375rem 0.625rem; }
:where(.more-single a) { border-radius: 0.375rem; }

:where(.site-header-icon-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: oklch(0.551 0.027 264.364);
  border-radius: 0.5rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 150ms;
}

:where(.site-header-icon-button:hover) { background: oklch(0.967 0.003 264.542); }
:where(.site-header-icon-base) { font-size: 1rem; line-height: 1.5rem; }
:where(.site-header-menu-button) { flex-shrink: 0; }
:where(#hamburger-btn, #member-btn) { width: 2.75rem; min-width: 2.75rem; height: 2.75rem; min-height: 2.75rem; }
:where(.site-header-logo-link) { display: flex; align-items: center; flex-shrink: 0; margin-right: 0.25rem; }
:where(.site-header-actions) { display: flex; align-items: center; flex-shrink: 0; gap: 0.5rem; margin-left: auto; }
:where(.header-member-desktop) { display: none; }
:where(.dm-group) { position: relative; }
:where(.dm-group > button) { min-height: 2.75rem; }
:where(.header-member-trigger) { display: flex; align-items: center; gap: 0.375rem; padding: 0.5rem 0.75rem; color: oklch(0.373 0.034 259.733); font-size: var(--ht-text-sm, 0.875rem); font-weight: 500; line-height: 1.5; white-space: nowrap; border-radius: 0.5rem; cursor: pointer; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: 150ms; }
:where(.header-member-trigger:hover) { color: var(--brand-600, #ff5722); background: var(--brand-50, #fef3ee); }
:where(.header-member-icon) { font-size: 0.75rem; line-height: 1rem; }
:where(.dm-group .dm-dd) { position: absolute; top: 100%; right: 0; z-index: 9999; display: none; min-width: 10rem; padding: 0.375rem 0; background: #fff; border: 0.0625rem solid #e5e7eb; border-radius: 0.625rem; box-shadow: 0 0.75rem 2.25rem rgba(0, 0, 0, .13); }
:where(.dm-group:hover .dm-dd) { display: block; }
:where(.dm-header) { display: flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1.125rem 0.375rem; margin-bottom: 0.25rem; color: #9ca3af; font-size: var(--ht-text-sm, 0.875rem); font-weight: 700; letter-spacing: .04em; border-bottom: 0.0625rem solid #f3f4f6; }
:where(.dm-header-icon) { display: inline-block; flex-shrink: 0; font-size: 0.75rem; line-height: 1; }
:where(.dm-divider) { margin: 0.25rem 0; border: none; border-top: 0.0625rem solid #f3f4f6; }
:where(.muted-link) { color: #9ca3af !important; }

:where(.ht-side-panel-overlay) { position: fixed; inset: 0; z-index: 9990; visibility: hidden; pointer-events: none; transition: visibility 0s .36s; }
:where(.ht-side-panel-overlay.is-open) { visibility: visible; pointer-events: auto; transition: visibility 0s 0s; }
:where(.ht-side-panel-backdrop) { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); cursor: pointer; transition: background .36s ease-out, backdrop-filter .36s ease-out; }
:where(.ht-side-panel-overlay.is-open .ht-side-panel-backdrop) { background: var(--ht-scrim, rgba(0, 0, 0, .35)); backdrop-filter: var(--ht-scrim-blur, blur(0)); -webkit-backdrop-filter: var(--ht-scrim-blur, blur(0)); }
:where(.ht-side-panel) { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; background: #fff; transition: transform .36s cubic-bezier(.22, 1, .36, 1); }
:where(.ht-side-panel--start) { left: 0; width: 76%; max-width: 23.75rem; overflow: hidden; box-shadow: 0.375rem 0 2rem rgba(0, 0, 0, .13); transform: translateX(-100%); }
:where(.ht-side-panel--end) { right: 0; width: 72%; max-width: 16.25rem; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: -0.375rem 0 2rem rgba(0, 0, 0, .13); transform: translateX(100%); }
:where(.ht-side-panel-overlay.is-open .ht-side-panel) { transform: translateX(0); }
:where(#mobile-panel-body) { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
:where(.panel-head) { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 4rem; padding-right: 1.25rem; padding-left: 1.25rem; border-bottom: 0.0625rem solid rgba(0, 0, 0, .06); }
:where(.panel-logo) { width: auto; height: 3rem; }
:where(.mobile-panel-navigation) { padding: 0.75rem; }

:where(.sb-link) { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; color: #374151; font-family: inherit; font-size: var(--ht-text-base, 1rem); font-weight: 500; text-decoration: none; background: none; border: none; border-radius: 0.5rem; cursor: pointer; transition: background .15s, color .15s; }
:where(.sb-link:hover, .sb-link.active) { color: var(--brand-600, #ff5722); background: var(--brand-50, #fef3ee); }
:where(.sb-link.active) { font-weight: 600; }
:where(.sb-link-menu) { justify-content: space-between; width: 100%; }
:where(.sb-link-sub) { display: flex; align-items: center; padding: 0.625rem 0.75rem 0.625rem 2rem; color: #6b7280; font-size: var(--ht-text-base, 1rem); font-weight: 500; text-decoration: none; border-radius: 0.5rem; transition: background .15s, color .15s; }
:where(.sb-link-sub:hover) { color: var(--brand-600, #ff5722); background: var(--brand-50, #fef3ee); }
:where(.sb-link-count) { flex: 0 0 auto; margin-left: 0.75rem; color: #9ca3af; font-size: var(--ht-text-2xs-plus, 0.75rem); font-weight: 500; line-height: 1.2; }
:where(.sb-link.active .sb-link-count), :where(.sb-link-sub.active .sb-link-count) { color: var(--brand-600, #ff5722); }
:where(.msub-panel) { max-height: 0; overflow: hidden; transition: max-height .28s ease-out; }
:where(.msub-panel.is-open) { max-height: 37.5rem; }

:where(.mob-footer) { flex-shrink: 0; padding: 1.5rem; border-top: 0.0625rem solid rgba(0, 0, 0, .06); }
:where(.mob-footer-links) { display: flex; flex-direction: column; gap: 0.125rem; }
:where(#mob-footer a) { display: flex; align-items: center; width: 100%; min-height: 2.75rem; padding: 0.5rem 0; color: #6b7280; font-size: var(--ht-text-sm, 0.875rem); text-decoration: none; white-space: nowrap; }
:where(.mob-footer-copy) { margin-top: 1.125rem; }
:where(#mob-footer p) { color: #9ca3af; font-size: var(--ht-text-2xs-plus, 0.75rem); line-height: 1.6; }

:where(.member-panel-title) { color: oklch(0.373 0.034 259.733); font-size: var(--ht-type-body, 1rem); font-weight: 600; line-height: 1.4285714286; }
:where(.member-profile) { padding: 1rem 1.25rem; border-bottom: 0.0625rem solid rgba(0, 0, 0, .06); }
:where(.member-profile-name) { margin: 0; color: #1f2937; font-size: var(--ht-text-sm, 0.875rem); font-weight: 600; line-height: 1.5; }
:where(.member-profile-status) { margin: 0.125rem 0 0; color: #9ca3af; font-size: var(--ht-type-meta, 0.75rem); line-height: 1.5; }
:where(.member-actions) { display: flex; gap: 0.625rem; padding: 0.75rem 1rem; border-bottom: 0.0625rem solid rgba(0, 0, 0, .06); }
:where(.member-menu-links) { border-bottom: 0.0625rem solid rgba(0, 0, 0, .06); }
:where(.member-menu-link) { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; padding: 0.75rem 1.25rem; color: #374151; font-size: var(--ht-text-sm, 0.875rem); font-weight: 500; text-decoration: none; border-bottom: 0.0625rem solid #f3f4f6; transition: color .15s, background-color .15s; }
:where(.member-menu-link:last-child) { border-bottom: 0; }
:where(.member-menu-link:hover) { color: var(--brand-600, #ff5722); background: var(--brand-50, #fef3ee); }
:where(.member-menu-link .pnav-chevron) { width: 0.75rem; height: 0.75rem; transform: rotate(-90deg); }
:where(.member-menu-logout) { justify-content: flex-start; color: var(--brand-600, #ff5722); font-weight: 500; }
:where(.mem-btn-login, .mem-btn-register) { flex: 1; padding: 0.625rem 0; font-size: var(--ht-text-sm, 0.875rem); font-weight: 500; text-align: center; text-decoration: none; border: 0.0625rem solid #e5e7eb; border-radius: 0.5rem; }
:where(.mem-btn-login) { color: #374151; transition: border-color .15s, color .15s; }
:where(.mem-btn-login:hover) { color: var(--brand-600, #ff5722); border-color: var(--brand-600, #ff5722); }
:where(.mem-btn-register) { color: #fff; font-weight: 600; background: var(--brand-600, #ff5722); border-color: var(--brand-600, #ff5722); transition: opacity .15s; }
:where(.mem-btn-register:hover) { opacity: .88; }

@media (min-width: 64rem) {
  :where(#nav-bar) { height: 5rem; }
  :where(#nav-logo) { height: 3.5rem; }
  :where(#pnav-container) { display: flex; }
  :where(.site-header-inner) { padding-right: 1.5rem; padding-left: 1.5rem; }
  :where(.site-header-menu-button, .site-header-member-button) { display: none; }
  :where(.site-header-actions) { margin-left: 0.75rem; }
  :where(.header-member-desktop) { display: block; }
}
