:root {
  --hj-fog: #4F6D7A;
  --hj-fog-dark: #354B55;
  --hj-coral: #E07A5F;
  --hj-ink: #243038;
  --hj-muted: #6F7F87;
  --hj-line: #D5E0E5;
  --hj-bg: #F4F7F8;
  --hj-white: #FFFFFF;
  --hj-wrap: 1120px;
  --hj-sans: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --hj-display: "Fraunces", "Songti SC", "SimSun", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--hj-sans);
  color: var(--hj-ink);
  background: var(--hj-bg);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
a:hover { color: var(--hj-fog-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  font-family: var(--hj-display);
}

.hj-wrap {
  width: min(100% - 32px, var(--hj-wrap));
  margin-inline: auto;
}

/* Header */
.hj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--hj-line);
}

.hj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.hj-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(56vw, 340px);
}

.hj-logo img { height: 42px; width: auto; }

.hj-logo-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.hj-logo-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--hj-fog);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(224, 122, 95, 0.15);
}

.hj-logo-cn {
  position: relative;
  z-index: 1;
  color: var(--hj-fog-dark);
  font-size: 18px;
  font-weight: 800;
}

.hj-logo-mark-sm {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.hj-logo-text { min-width: 0; }
.hj-logo-text strong {
  display: block;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hj-logo-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--hj-muted);
  margin-top: 2px;
  font-family: var(--hj-sans);
}

.hj-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hj-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hj-nav > ul > li { position: relative; }

.hj-nav > ul > li > a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 10px;
}

.hj-nav > ul > li.is-active > a,
.hj-nav > ul > li > a:hover {
  color: var(--hj-fog-dark);
  background: #E8EFF2;
}

.hj-subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: var(--hj-white);
  border: 1px solid var(--hj-line);
  box-shadow: 0 12px 28px rgba(36, 48, 56, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s;
  z-index: 20;
  border-radius: 12px;
}

.hj-nav > ul > li:hover > .hj-subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hj-subnav a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
}

.hj-subnav a:hover,
.hj-subnav .is-active a {
  background: #E8EFF2;
  color: var(--hj-fog-dark);
}

.hj-search {
  display: flex;
  border: 1px solid var(--hj-line);
  border-radius: 12px;
  overflow: hidden;
  background: #F7FAFB;
}

.hj-search input {
  width: 130px;
  border: 0;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  background: transparent;
  outline: none;
}

.hj-search button {
  border: 0;
  border-left: 1px solid var(--hj-line);
  background: var(--hj-fog);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.hj-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hj-line);
  background: var(--hj-white);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
}

.hj-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hj-ink);
  transition: .2s;
}

.hj-nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 44, 51, 0.4);
  z-index: 90;
}

body.nav-open .hj-nav-mask { display: block; }

/* Salon hero */
.hj-salon {
  padding: 48px 0 40px;
  background:
    radial-gradient(circle at 15% 80%, rgba(224, 122, 95, 0.12), transparent 35%),
    linear-gradient(145deg, #E9F0F3 0%, #F4F7F8 50%, #F8F1EE 100%);
  border-bottom: 1px solid var(--hj-line);
}

.hj-salon-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.hj-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--hj-coral);
  font-weight: 700;
  font-family: var(--hj-sans);
}

.hj-salon h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-bottom: 14px;
  max-width: 11em;
}

.hj-salon-desc {
  margin: 0 0 24px;
  max-width: 34em;
  color: var(--hj-muted);
  font-size: 16px;
  font-family: var(--hj-sans);
}

.hj-salon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--hj-sans);
}

.hj-btn-primary {
  background: var(--hj-fog);
  color: #fff;
}

.hj-btn-primary:hover {
  background: var(--hj-fog-dark);
  color: #fff;
}

.hj-btn-ghost {
  border-color: var(--hj-coral);
  color: var(--hj-coral);
  background: transparent;
}

.hj-btn-ghost:hover {
  background: var(--hj-coral);
  color: #fff;
}

.hj-table {
  display: flex;
  justify-content: center;
}

.hj-table-ring {
  position: relative;
  width: min(230px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(79, 109, 122, 0.35);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.55);
}

.hj-table-ring strong {
  font-size: 28px;
  color: var(--hj-fog-dark);
}

.hj-table-ring span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hj-fog);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(224, 122, 95, 0.35);
}

.hj-table-ring span:nth-child(1) { top: 8%; left: 46%; }
.hj-table-ring span:nth-child(2) { top: 28%; right: 10%; background: var(--hj-coral); }
.hj-table-ring span:nth-child(3) { bottom: 22%; right: 14%; }
.hj-table-ring span:nth-child(4) { bottom: 8%; left: 46%; background: var(--hj-coral); }
.hj-table-ring span:nth-child(5) { bottom: 28%; left: 10%; }
.hj-table-ring span:nth-child(6) { top: 28%; left: 10%; }

/* Agenda sessions */
.hj-agenda {
  padding: 28px 0 8px;
}

.hj-agenda-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hj-agenda-hd h2 { font-size: 20px; }
.hj-agenda-hd span {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--hj-muted);
  font-family: var(--hj-sans);
}

.hj-sessions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hj-sessions a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: var(--hj-white);
  border: 1px solid var(--hj-line);
  border-radius: 16px;
  border-top: 3px solid var(--hj-fog);
  min-height: 140px;
}

.hj-sessions li:nth-child(2) a { border-top-color: var(--hj-coral); }
.hj-sessions li:nth-child(3) a { border-top-color: #6B8F9C; }
.hj-sessions li:nth-child(4) a { border-top-color: #A86B5A; }

.hj-sessions a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(79, 109, 122, 0.08);
}

.hj-sessions em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--hj-coral);
  font-weight: 800;
  font-family: var(--hj-sans);
}

.hj-sessions strong { font-size: 17px; }
.hj-sessions span { font-size: 13px; color: var(--hj-muted); font-family: var(--hj-sans); }

.hj-home-body { padding: 28px 0 56px; }

.hj-section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hj-section-hd h2 {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hj-section-hd h2::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--hj-fog);
  box-shadow: inset 0 0 0 3px rgba(224, 122, 95, 0.35);
}

.hj-section-hd a {
  font-size: 13px;
  color: var(--hj-fog);
  font-family: var(--hj-sans);
}

.hj-block { margin-bottom: 36px; }

.hj-talklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hj-talk {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "tag title time"
    ". desc desc";
  gap: 6px 16px;
  padding: 18px 20px;
  background: var(--hj-white);
  border: 1px solid var(--hj-line);
  border-radius: 14px;
  align-items: baseline;
}

.hj-talk:hover { border-color: var(--hj-fog); }
.hj-talk-tag {
  grid-area: tag;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--hj-fog);
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--hj-sans);
}
.hj-talk h3 { grid-area: title; font-size: 18px; }
.hj-talk p { grid-area: desc; margin: 0; font-size: 14px; color: var(--hj-muted); font-family: var(--hj-sans); }
.hj-talk time { grid-area: time; font-size: 12px; color: var(--hj-muted); font-family: var(--hj-sans); }

.hj-dual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.hj-review {
  background: var(--hj-white);
  border: 1px solid var(--hj-line);
  border-radius: 16px;
  padding: 6px 18px;
}

.hj-review li + li { border-top: 1px solid var(--hj-line); }

.hj-review a { display: block; padding: 16px 0; }
.hj-review em {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--hj-coral);
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--hj-sans);
}
.hj-review h3 { font-size: 16px; margin-bottom: 6px; }
.hj-review p { margin: 0 0 8px; font-size: 13px; color: var(--hj-muted); font-family: var(--hj-sans); }
.hj-review time { font-size: 12px; color: var(--hj-muted); font-family: var(--hj-sans); }

.hj-block-coral {
  background: linear-gradient(160deg, #E07A5F 0%, #C45F48 100%);
  color: #FFF8F5;
  padding: 20px 18px;
  border-radius: 16px;
}

.hj-block-coral .hj-section-hd h2 { color: #fff; }
.hj-block-coral .hj-section-hd h2::before {
  border-color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.hj-block-coral .hj-section-hd a { color: #FFE4DB; }

.hj-topics li + li { border-top: 1px solid rgba(255, 255, 255, 0.2); }

.hj-topics a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  align-items: baseline;
  color: #FFF8F5;
}

.hj-topics strong {
  font-weight: 600;
  font-size: 15px;
  font-family: var(--hj-display);
}

.hj-topics span {
  flex-shrink: 0;
  font-size: 12px;
  color: #FFE4DB;
  font-family: var(--hj-sans);
}

.hj-topics a:hover strong { color: #fff; }

/* Interior */
.hj-crumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--hj-muted);
  background: #E8EFF2;
  border-bottom: 1px solid var(--hj-line);
  font-family: var(--hj-sans);
}

.hj-crumb span { margin: 0 6px; opacity: 0.5; }

.hj-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 32px 0 56px;
  align-items: start;
}

.hj-panel {
  background: var(--hj-white);
  border: 1px solid var(--hj-line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}

.hj-list-panel { padding: 26px; }

.hj-page-title {
  font-size: 26px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--hj-fog);
}

.hj-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--hj-muted);
  font-family: var(--hj-sans);
}

.hj-article-list li + li { border-top: 1px solid var(--hj-line); }

.hj-article-list a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  align-items: start;
}

.hj-article-list a:not(:has(img)) { grid-template-columns: 1fr; }
.hj-article-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #E8EFF2;
}
.hj-article-list h2 { font-size: 18px; margin-bottom: 8px; }
.hj-article-list p { margin: 0 0 10px; font-size: 14px; color: var(--hj-muted); font-family: var(--hj-sans); }

.hj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--hj-muted);
  font-family: var(--hj-sans);
}

.hj-meta.center { justify-content: center; margin: 12px 0 24px; }

.hj-detail { padding: 32px 28px; }
.hj-detail > h1 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 18em;
}

.hj-richtext {
  font-size: 16px;
  line-height: 1.9;
  color: #2C3A42;
  font-family: var(--hj-sans);
}
.hj-richtext p { margin: 0 0 1.1em; }
.hj-richtext img { margin: 1em auto; border-radius: 12px; }
.hj-richtext a { color: var(--hj-fog-dark); text-decoration: underline; text-underline-offset: 3px; }

.hj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hj-tags a {
  padding: 4px 10px;
  border: 1px solid var(--hj-line);
  font-size: 12px;
  background: #E8EFF2;
  border-radius: 999px;
  font-family: var(--hj-sans);
}

.hj-tags a:hover {
  border-color: var(--hj-fog);
  color: var(--hj-fog-dark);
}

.hj-pagerow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--hj-line);
  font-size: 14px;
  font-family: var(--hj-sans);
}

.hj-pagination { margin-top: 24px; }

.hj-page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hj-page a,
.hj-page .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--hj-line);
  font-size: 13px;
  background: var(--hj-white);
  border-radius: 10px;
  font-family: var(--hj-sans);
}

.hj-page .active a,
.hj-page a:hover {
  background: var(--hj-fog);
  border-color: var(--hj-fog);
  color: #fff;
}

.hj-side .hj-panel { margin-bottom: 16px; }
.hj-panel-hd {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hj-line);
}
.hj-panel-hd h3 { font-size: 15px; }

.hj-rank { counter-reset: hj-rank; }
.hj-rank li {
  counter-increment: hj-rank;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hj-line);
  font-size: 13px;
  font-family: var(--hj-sans);
}
.hj-rank li::before {
  content: counter(hj-rank, decimal-leading-zero);
  color: var(--hj-coral);
  font-weight: 700;
  flex-shrink: 0;
}

.hj-side-list li + li { border-top: 1px solid var(--hj-line); }
.hj-side-list a { display: block; padding: 10px 0; font-size: 13px; font-family: var(--hj-sans); }
.hj-ad { font-size: 14px; color: var(--hj-muted); font-family: var(--hj-sans); }

/* Footer */
.hj-footer {
  background: #243038;
  color: #C5D2D8;
  padding: 44px 0 24px;
}

.hj-footer a { color: #EAF1F4; }
.hj-footer a:hover { color: #F0A891; }

.hj-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.hj-foot-brand h3 {
  font-size: 18px;
  color: #F0A891;
  margin: 0 0 8px;
}

.hj-footer h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F0A891;
  margin-bottom: 12px;
  font-family: var(--hj-sans);
}

.hj-footer p { margin: 0 0 8px; font-size: 14px; font-family: var(--hj-sans); }
.hj-foot-links { display: flex; flex-direction: column; gap: 8px; }
.hj-foot-links a { font-size: 14px; font-family: var(--hj-sans); }

.hj-friendlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(240, 168, 145, 0.2);
  font-size: 13px;
  font-family: var(--hj-sans);
}

.hj-friendlinks span { color: #F0A891; }

.hj-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 168, 145, 0.2);
  font-size: 12px;
  color: #8A9AA2;
  font-family: var(--hj-sans);
}

@media (max-width: 980px) {
  .hj-salon-grid { grid-template-columns: 1fr; }
  .hj-table { order: -1; }
  .hj-table-ring { width: 160px; }
  .hj-table-ring strong { font-size: 22px; }
  .hj-sessions { grid-template-columns: repeat(2, 1fr); }
  .hj-dual { grid-template-columns: 1fr; }
  .hj-layout { grid-template-columns: 1fr; }
  .hj-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hj-header {
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
  }
  .hj-nav-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 120;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #fff !important;
  }
  .hj-nav-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    background: var(--hj-ink, #243038) !important;
    opacity: 1 !important;
    flex: 0 0 auto;
  }

  .hj-nav {
    display: flex !important;
    position: fixed !important;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100%;
    height: 100dvh;
    background: var(--hj-white);
    border-left: 1px solid var(--hj-line);
    flex-direction: column;
    align-items: stretch;
    padding: 72px 20px 28px;
    gap: 18px;
    z-index: 130;
    transform: translate3d(100%, 0, 0);
    transition: transform .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hj-nav.is-open { transform: translate3d(0, 0, 0); }
  .hj-nav-mask { z-index: 125; }

  .hj-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .hj-nav > ul > li > a {
    border-radius: 0;
    border-bottom: 1px solid var(--hj-line);
    padding: 14px 4px;
  }

  .hj-subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    display: none;
    background: transparent;
    padding: 0 0 8px 12px;
    border-radius: 0;
  }

  .hj-nav > ul > li.is-open > .hj-subnav { display: block; }

  .hj-search { width: 100%; }
  .hj-search input { flex: 1; width: auto; }

  body.nav-open .hj-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .hj-nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .hj-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hj-talk {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "desc"
      "time";
  }
  .hj-article-list a { grid-template-columns: 1fr; }
  .hj-detail { padding: 22px 16px; }
  .hj-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hj-sessions { grid-template-columns: 1fr; }
  .hj-salon-actions { flex-direction: column; }
  .hj-btn { width: 100%; }
  .hj-logo-text strong { font-size: 14px; }
}
