/* Page-level grid chrome for the 航栈 homepage clone.
   Ported from docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   (stage / shell / layout / bento grid + card grid-placement). Component internals
   live in each component's own .css file. */

.hz-stage {
  background: radial-gradient(circle at 50% 8%, #fffffff0, #0000 34%), #edf0f6;
  min-height: 100vh;
  padding: clamp(8px, 1.2vw, 20px);
}

.hz-shell {
  border-radius: var(--hz-radius-shell);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #fdfdfdf0;
  border: 3px solid #ffffffb8;
  width: min(1720px, 100%);
  min-height: calc(100vh - clamp(16px, 2.4vw, 40px));
  margin: 0 auto;
  padding: 0 clamp(16px, 1.6vw, 28px) 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px #4a52691f;
}

.hz-layout {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  display: grid;
}

.hz-main {
  z-index: 1;
  min-width: 0;
  position: relative;
}

.hz-bento {
  grid-template-rows: 242px 86px 255px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

/* card grid placement (desktop) */
.hz-feature { grid-area: 1/1/3/6; }
.hz-radar { grid-area: 1/6/auto/9; }
.hz-trending { grid-area: 1/9/auto/13; }
.hz-progress { grid-area: 2/6/auto/13; }
.hz-community,
.hz-reading,
.hz-tools { grid-row: 3; padding: 18px 20px; }
.hz-reading { grid-column: 1/4; }
.hz-tools { grid-column: 4/9; }
.hz-community { grid-column: 9/13; }

/* shared card chrome */
.hz-card {
  border-radius: var(--hz-radius-card);
  background: #fff;
  border: 1px solid #9191910e;
  min-width: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px #46495b0b;
}
.hz-card h2,
.hz-card p {
  margin: 0;
}
.hz-card-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.hz-card-heading h2,
.hz-progress > h2 {
  letter-spacing: -0.03em;
  font-size: 18px;
}

@media (width <= 1180px) {
  .hz-shell { padding-inline: 18px; }
  .hz-layout { grid-template-columns: 1fr; }
  .hz-bento { grid-template-rows: 260px 90px 240px 260px; }
  .hz-feature { grid-column: 1/7; }
  .hz-radar { grid-column: 7/13; }
  .hz-trending { grid-area: 2/7/4/13; }
  .hz-progress { grid-area: 3/1/auto/7; }
  .hz-reading { grid-area: 4/1/auto/5; }
  .hz-tools { grid-area: 4/5/auto/13; }
  .hz-community { grid-area: 5/1/auto/13; min-height: 235px; }
}

@media (width <= 820px) {
  .hz-stage { padding: 8px; }
  .hz-shell { border-width: 3px; border-radius: 22px; padding: 0 18px 10px; }
  .hz-bento {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    display: flex;
  }
  .hz-bento > * {
    width: 100%;
    min-width: 0;
  }
}

@media (width <= 540px) {
  .hz-stage { padding: 0; }
  .hz-shell { border: 0; border-radius: 0; min-height: 100vh; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  :after,
  :before {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Hero intro (status / h1 / copy / search) for the 航栈 homepage clone.
   Ported verbatim (de-minified) from
   docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css */

.hz-intro {
  grid-template-columns: minmax(360px, 1fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: 40px;
  min-height: 172px;
  padding: 10px 12px 20px 10px;
  display: grid;
}

.hz-status {
  color: #77777c;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  font-size: 14px;
  display: flex;
}

.hz-status span {
  background: #efffb2;
  border: 2px solid #cdef4d;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  box-shadow: inset 0 0 0 3px #fff;
}

.hz-intro h1 {
  letter-spacing: -0.065em;
  margin: 0;
  font-size: clamp(38px, 3.4vw, 55px);
  line-height: 1.08;
}

.hz-intro-copy > p:last-child {
  color: #77777c;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.hz-search {
  border-radius: var(--hz-radius-card);
  background: #fff;
  border: 1px solid #26262a14;
  align-items: center;
  gap: 15px;
  height: 54px;
  padding: 0 14px 0 21px;
  transition: border-color 0.18s, box-shadow 0.18s;
  display: flex;
  box-shadow: 0 10px 35px #5a5c6e09;
}

.hz-search > svg {
  color: #202024;
  flex: none;
}

.hz-search:focus-within {
  border-color: #b9c46d;
  box-shadow: 0 0 0 4px #dffe642e;
}

.hz-search input {
  color: #18181a;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-shadow: none;
  appearance: none;
  background: 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  flex: 1;
  padding: 0;
}

.hz-search input:focus,
.hz-search input:focus-visible,
.hz-search input:hover {
  box-shadow: none;
  background: 0 0;
  border: 0;
  outline: 0;
  transform: none;
}

.hz-search input::placeholder {
  color: #a4a4aa;
}

.hz-search kbd {
  color: #99999f;
  width: 37px;
  height: 28px;
  font: inherit;
  background: #f6f6f7;
  border-radius: 8px;
  flex: none;
  place-items: center;
  display: grid;
}

@media (width <= 1180px) {
  .hz-intro {
    padding-inline: 8px;
  }
}

@media (width <= 820px) {
  .hz-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 52px 4px 35px;
  }
  .hz-intro,
  .hz-intro-copy {
    min-width: 0;
  }
  .hz-intro h1 {
    overflow-wrap: anywhere;
    text-wrap: balance;
    max-width: 100%;
    font-size: clamp(36px, 9vw, 50px);
  }
  .hz-search {
    max-width: 100%;
    height: 60px;
  }
  /* shared source rule ported as-is (bento half duplicated in HomePage.css) */
  .hz-bento,
  .hz-search {
    width: 100%;
    min-width: 0;
  }
}

@media (width <= 540px) {
  .hz-intro-copy > p:last-child {
    overflow-wrap: anywhere;
    max-width: 320px;
  }
  .hz-intro {
    gap: 22px;
    padding: 42px 4px 30px;
  }
  .hz-intro h1 {
    letter-spacing: -0.045em;
    font-size: clamp(34px, 10.5vw, 40px);
  }
}
/* 最新抵达 feature card — 航栈 (vipbic.com) clone.
   Ported from docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   (verbatim declarations, cascade order preserved). Only the SECOND-generation
   .hz-feature design is ported — the legacy compass/map-sheet block is dead and
   overridden upstream. .hz-card chrome + grid placement live in HomePage.css.
   The route-ticket flight loop keyframes are new (not in the original site). */

/* --- shared card-copy primitives (shared between both feature generations) --- */

.hz-card-copy {
  z-index: 3;
  height: 100%;
  position: relative;
}

.hz-card-label {
  font-size: 15px;
  font-weight: 720;
}

.hz-author-row {
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  display: flex;
}

.hz-author-row > span:last-child {
  gap: 3px;
  font-size: 13px;
  display: grid;
}

.hz-author-row small {
  color: #85868d;
}

.hz-avatar {
  color: #fff;
  background: linear-gradient(145deg, #5a78a4, #1e2635);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 750;
  display: grid;
  overflow: hidden;
}

/* source groups this with ".hz-pick-author>span img" (daily-pick card, not ported here) */
.hz-avatar img {
  border-radius: inherit;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.hz-avatar-yang {
  background: linear-gradient(145deg, #f5a26c 0 46%, #242631 47% 100%);
}

.hz-read-button {
  background: #ffffffeb;
  border-radius: 999px;
  align-items: center;
  gap: 24px;
  padding: 7px 7px 7px 22px;
  font-size: 14px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: 0 10px 30px #44497014;
}

.hz-read-button span {
  color: #fff;
  background: #111113;
  border-radius: 50%;
  place-items: center;
  width: 36px;
  height: 36px;
  transition: transform 0.18s;
  display: grid;
}

.hz-read-button:hover span {
  transform: translate(2px);
}

/* --- current feature design (second generation) --- */

.hz-feature {
  isolation: isolate;
  background: #f4f5ef;
  padding: 0;
}

.hz-feature:before {
  content: "";
  background: #dfff58;
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hz-feature .hz-card-copy {
  box-sizing: border-box;
  flex-direction: column;
  width: 66%;
  padding: 27px 12px 25px 30px;
  display: flex;
}

.hz-feature-topline {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hz-feature .hz-card-label {
  color: #202117;
  background: #dfff58;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
}

.hz-feature-date {
  color: #8d8f87;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
}

.hz-feature h2 {
  letter-spacing: -0.05em;
  text-wrap: balance;
  -webkit-line-clamp: 3;
  margin-top: 16px;
  font-size: clamp(23px, 1.75vw, 30px);
  line-height: 1.25;
}

.hz-feature h2,
.hz-feature-excerpt {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.hz-feature-excerpt {
  color: #72746d;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 11px !important;
}

.hz-feature-footer {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  display: flex;
}

.hz-feature .hz-author-row {
  min-width: 0;
  margin-top: 0;
}

.hz-feature .hz-author-row > span:last-child {
  overflow: hidden;
}

.hz-feature .hz-author-row strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.hz-feature .hz-author-row small {
  align-items: center;
  gap: 4px;
  display: flex;
}

.hz-feature .hz-read-button {
  color: #fff;
  box-shadow: none;
  background: #181a17;
  flex: none;
  gap: 11px;
  padding: 5px 5px 5px 14px;
  font-size: 12px;
  position: static;
}

.hz-feature .hz-read-button span {
  color: #191b17;
  background: #dfff58;
  width: 31px;
  height: 31px;
}

.hz-feature > .hz-card-copy > .hz-read-button {
  width: fit-content;
  margin-top: auto;
}

.hz-feature-visual {
  z-index: 2;
  color: #fff;
  background: radial-gradient(circle at 76% 22%, #dfff5847, #0000 21%),
    repeating-linear-gradient(110deg, #0000 0 38px, #ffffff0a 39px 40px), #191b19;
  width: 34%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
}

.hz-feature-visual:before {
  z-index: 1;
  content: "";
  background: linear-gradient(#1113110d, #111311ad);
  position: absolute;
  inset: 0;
}

.hz-feature-visual.has-cover:before {
  background: linear-gradient(#11131133, #111311e0);
}

.hz-feature-visual > img {
  -o-object-fit: cover;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
  width: 100%;
  height: 100%;
}

.hz-feature-index {
  z-index: 2;
  color: #ffffff38;
  letter-spacing: -0.08em;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 16px;
}

.hz-route-ticket {
  z-index: 3;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #1315139e;
  border: 1px solid #ffffff2b;
  border-radius: 14px;
  padding: 14px;
  position: absolute;
  bottom: 18px;
  left: 17px;
  right: 17px;
  box-shadow: 0 12px 28px #0000002b;
}

.hz-route-ticket > span {
  color: #dfff58;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 800;
}

.hz-route-ticket small,
.hz-route-ticket strong {
  display: block;
}

.hz-route-ticket strong {
  margin-top: 9px;
  font-size: 15px;
}

.hz-route-ticket small,
.hz-route-ticket strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.hz-route-ticket small {
  color: #ffffff8f;
  margin-top: 4px;
  font-size: 10px;
}

.hz-route-track {
  color: #dfff58;
  height: 26px;
  margin-top: 7px;
  position: relative;
}

.hz-route-arrival,
.hz-route-origin {
  z-index: 2;
  background: #dfff58;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hz-route-origin {
  left: 0;
  box-shadow: 0 0 0 3px #dfff5826;
}

.hz-route-arrival {
  z-index: 1;
  opacity: 0;
  background: #dfff58b8;
  right: 6px;
  box-shadow: 0 0 14px #dfff5885;
}

.hz-route-dashes {
  background: repeating-linear-gradient(90deg, #dfff58a6 0 5px, #0000 5px 9px);
  height: 1px;
  position: absolute;
  top: 50%;
  left: 12px;
  right: 24px;
  transform: translateY(-50%);
}

.hz-route-plane,
.hz-route-signal {
  z-index: 3;
  position: absolute;
  top: 50%;
  right: 0;
}

.hz-route-signal {
  filter: blur(2px);
  opacity: 0;
  background: radial-gradient(circle, #dfff58b8 0, #dfff5833 42%, #0000 72%);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.hz-route-plane {
  filter: drop-shadow(0 0 5px #dfff586b);
  transform-origin: 58%;
  will-change: transform, opacity;
  place-items: center;
  width: 24px;
  height: 24px;
  display: grid;
  transform: translateY(-50%);
}

.hz-route-plane svg {
  stroke-width: 2px;
  display: block;
}

/* --- route ticket flight loop (new — ambient ~4.6s cycle) --- */

.hz-route-plane {
  animation: hz-plane-loop 4.6s ease-in-out infinite;
}

.hz-route-plane svg {
  animation: hz-plane-tilt 4.6s ease-in-out infinite;
}

@keyframes hz-plane-loop {
  0% {
    left: 0;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  80% {
    left: calc(100% - 26px);
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 0;
  }
}

@keyframes hz-plane-tilt {
  0%,
  100% {
    transform: rotate(6deg);
  }
  45% {
    transform: rotate(-4deg);
  }
}

.hz-route-arrival {
  animation: hz-arrival-pulse 4.6s ease-in-out infinite;
}

@keyframes hz-arrival-pulse {
  0%,
  70%,
  88%,
  100% {
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
}

.hz-route-signal {
  animation: hz-signal-flash 4.6s ease-in-out infinite;
}

@keyframes hz-signal-flash {
  0%,
  70%,
  88%,
  100% {
    opacity: 0;
  }
  78% {
    opacity: 0.9;
  }
}

/* --- responsive (feature rules only; grid placement lives in HomePage.css) --- */

@media (width <= 820px) {
  .hz-feature {
    min-height: 390px;
  }
  .hz-feature .hz-card-copy {
    width: 62%;
  }
  .hz-feature-visual {
    width: 38%;
  }
}

@media (width <= 540px) {
  .hz-feature {
    min-height: 420px;
    padding: 0;
  }
  .hz-feature .hz-card-copy {
    width: 100%;
    height: 69%;
    padding: 22px 22px 20px;
  }
  .hz-feature h2 {
    overflow-wrap: anywhere;
    text-wrap: balance;
    -webkit-line-clamp: 2;
    max-width: 100%;
    margin-top: 13px;
    font-size: 25px;
  }
  .hz-feature-excerpt {
    -webkit-line-clamp: 1;
    margin-top: 8px !important;
  }
  .hz-feature-visual {
    width: 100%;
    height: 31%;
    top: auto;
    bottom: 0;
  }
  .hz-feature-index {
    font-size: 50px;
    top: 12px;
    left: 20px;
  }
  .hz-route-ticket {
    box-sizing: border-box;
    width: min(62%, 250px);
    padding: 10px 12px;
    inset: 14px 16px 14px auto;
  }
  .hz-route-track {
    margin-top: 5px;
  }
  .hz-route-ticket strong {
    margin-top: 4px;
  }
  .hz-route-ticket small {
    display: none;
  }
}
/* 最新发布 (hz-reading) card internals — daily pick story.
   Ported from docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   (reading half only, cascade order preserved). Card chrome (.hz-card /
   .hz-card-heading), row-3 padding and all grid placement live in HomePage.css. */

.hz-reading {
  flex-direction: column;
  display: flex;
}
.hz-reading .hz-card-heading {
  flex: none;
}

.hz-daily-pick {
  background: #fff;
}
.hz-pick-story {
  border-radius: var(--hz-radius-inner);
  background: radial-gradient(circle at 92% 92%, #c4e6ffe6, #0000 38%),
    linear-gradient(145deg, #f0efff, #fff4e8);
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  margin-top: 10px;
  padding: 15px 16px 13px;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hz-pick-story:after {
  content: "";
  background: #ffffff6e;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  position: absolute;
  bottom: -48px;
  right: -34px;
}
.hz-pick-story:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px #534e7e1c;
}

.hz-pick-meta {
  flex: none;
  align-items: center;
  gap: 8px;
  display: flex;
}
.hz-pick-meta em,
.hz-pick-meta span {
  font-size: var(--hz-font-min);
  border-radius: 999px;
  padding: 5px 8px;
  font-style: normal;
  line-height: 1;
}
.hz-pick-meta span {
  color: #fff;
  background: #171719;
}
.hz-pick-meta em {
  color: #78767f;
  background: #ffffff9e;
}

.hz-pick-story h3 {
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 92%;
  margin: 11px 0 5px;
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 680;
  line-height: 1.25;
}
.hz-pick-story h3,
.hz-pick-story > p {
  z-index: 1;
  flex: none;
  position: relative;
  overflow: hidden;
}
.hz-pick-story > p {
  color: #77757d;
  max-width: 88%;
  min-height: 3.1em;
  max-height: 3.1em;
  font-size: var(--hz-font-min);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.55;
  display: -webkit-box;
}

.hz-pick-author {
  z-index: 2;
  flex: none;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  display: flex;
  position: relative;
}
.hz-pick-author > span {
  color: #fff;
  width: 28px;
  height: 28px;
  font-size: var(--hz-font-min);
  background: linear-gradient(145deg, #f8a16f 0 48%, #29292e 49% 100%);
  border-radius: 50%;
  place-items: center;
  font-weight: 680;
  display: grid;
  overflow: hidden;
}
.hz-pick-author p {
  gap: 1px;
  display: grid;
}
.hz-pick-author strong {
  font-size: var(--hz-font-min);
  font-weight: 650;
}
.hz-pick-author small {
  color: #8e8c94;
  font-size: var(--hz-font-min);
}
.hz-pick-author i {
  color: #fff;
  background: #171719;
  border-radius: 50%;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-left: auto;
  transition: transform 0.2s;
  display: grid;
}
.hz-pick-story:hover .hz-pick-author i {
  transform: translate(3px);
}

.hz-pick-orb {
  color: #171719;
  background: #dfff6b;
  border-radius: 9px;
  place-items: center;
  width: 37px;
  height: 37px;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.22s;
  display: grid;
  position: absolute;
  top: 13px;
  right: 14px;
  transform: rotate(4deg);
  box-shadow: 0 8px 18px #a8c64833;
}
.hz-pick-story:hover .hz-pick-orb {
  transform: rotate(10deg) scale(1.06);
}

@media (width <= 820px) {
  .hz-reading {
    min-height: 255px;
  }
}

.hz-pick-author small,
.hz-pick-author strong,
.hz-pick-author > span,
.hz-pick-meta em,
.hz-pick-meta span,
.hz-pick-story > p {
  font-size: 12px;
}
/* 发现好工具 card internals (featured tool + 3 rows, CSS-art logos).
   Ported verbatim (de-minified) from
   docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   Card chrome (.hz-card / .hz-card-heading) and grid placement live in HomePage.css. */

.hz-tools {
  flex-direction: column;
  display: flex;
}
.hz-tools .hz-card-heading {
  flex: none;
}

/* heading right tag (no source selector — inferred) */
.hz-tools .hz-card-heading small {
  color: #96969c;
  font-size: 12px;
}

.hz-tool-showcase {
  flex: 1 1 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 10px;
  min-height: 0;
  margin-top: 10px;
  display: grid;
}

.hz-tool-featured {
  border-radius: var(--hz-radius-inner);
  background: radial-gradient(circle at 94% 16%, #ffffffb8, #0000 25%),
    linear-gradient(145deg, #dff8ed, #effff8);
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 13px 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hz-tool-featured:after {
  content: "";
  background: #5be6b021;
  border-radius: 50%;
  width: 115px;
  height: 115px;
  position: absolute;
  bottom: -45px;
  right: -28px;
}
.hz-tool-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px #3d96741a;
}
.hz-tool-featured-foot,
.hz-tool-featured-head,
.hz-tool-featured-main {
  z-index: 1;
  position: relative;
}
.hz-tool-featured-head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.hz-tool-featured-head em {
  color: #287b5c;
  font-size: var(--hz-font-min);
  background: #ffffffb8;
  border-radius: 999px;
  padding: 5px 8px;
  font-style: normal;
  font-weight: 650;
}
.hz-tool-featured-main {
  align-items: center;
  gap: 11px;
  margin-top: auto;
  display: flex;
}
.hz-tool-featured-main > span:last-child {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.hz-tool-featured-main strong {
  font-size: 18px;
  line-height: 1;
}
.hz-tool-featured-foot,
.hz-tool-featured-main small {
  color: #668378;
  font-size: var(--hz-font-min);
}
.hz-tool-featured-foot {
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  display: flex;
}
.hz-tool-featured-foot i {
  color: #27795a;
  font-size: var(--hz-font-min);
  font-style: normal;
  font-weight: 700;
}

.hz-tool-list {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  min-height: 0;
  display: grid;
}
.hz-tool-row {
  background: #f7f7f8;
  border-radius: 10px;
  grid-template-columns: 34px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 6px 9px 6px 7px;
  transition: background 0.18s, transform 0.18s;
  display: grid;
}
.hz-tool-row:hover {
  background: #f0f0f2;
  transform: translate(3px);
}
.hz-tool-row > span:nth-child(2) {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.hz-tool-row small,
.hz-tool-row strong {
  font-size: var(--hz-font-min);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.hz-tool-row small {
  color: #96969c;
}

/* CSS-art logos */
.hz-tool-logo {
  border-radius: 10px;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 9px;
  display: grid;
}
.hz-tool-featured .hz-tool-logo {
  width: 48px;
  height: 48px;
  margin: 0;
}
.hz-tool-row .hz-tool-logo {
  border-radius: 8px;
  width: 34px;
  height: 34px;
  margin: 0;
}
.hz-tool-logo.cursor {
  background: linear-gradient(145deg, #171719, #43434a);
  box-shadow: 0 8px 15px #14141629;
}
.hz-tool-logo.cursor i {
  border: 7px solid #e8e8e9;
  width: 27px;
  height: 27px;
  transform: rotate(45deg);
  box-shadow: inset 4px 4px #777980;
}
.hz-tool-row .hz-tool-logo.cursor i {
  border-width: 5px;
  width: 18px;
  height: 18px;
}
.hz-tool-logo.nuxt {
  color: #fff;
  clip-path: polygon(50% 4%, 97% 88%, 3% 88%);
  background: linear-gradient(145deg, #1bdc95, #02a96f);
}
.hz-tool-logo.nuxt b {
  transform: translateY(5px);
}
.hz-tool-logo.turbo {
  color: #fff;
  background: #111113;
  box-shadow: 0 8px 15px #14141624;
}
.hz-tool-logo.turbo b {
  font-size: 24px;
}
.hz-tool-row .hz-tool-logo.turbo b {
  font-size: 17px;
}
.hz-tool-logo.figma {
  background: #f4f4f5;
}
.figma-mark {
  width: 26px;
  height: 38px;
  position: relative;
}
.figma-mark em {
  border-radius: 7px 0 0 7px;
  width: 13px;
  height: 13px;
  position: absolute;
}
.figma-mark em:first-child {
  background: #f24e1e;
  top: 0;
  left: 0;
}
.figma-mark em:nth-child(2) {
  background: #ff7262;
  border-radius: 0 7px 7px 0;
  top: 0;
  right: 0;
}
.figma-mark em:nth-child(3) {
  background: #a259ff;
  top: 13px;
  left: 0;
}
.figma-mark em:nth-child(4) {
  background: #1abcfe;
  border-radius: 50%;
  top: 13px;
  right: 0;
}
.figma-mark em:nth-child(5) {
  background: #0acf83;
  top: 26px;
  left: 0;
}
.hz-tool-row .figma-mark {
  width: 18px;
  height: 27px;
  transform: scale(0.7);
}

/* final 12px grouping (tools-related selectors) */
.hz-tool-featured-foot,
.hz-tool-featured-foot i,
.hz-tool-featured-head em,
.hz-tool-featured-main small,
.hz-tool-row small,
.hz-tool-row strong {
  font-size: 12px;
}

@media (width <= 820px) {
  .hz-tools {
    min-height: 260px;
  }
}

@media (width <= 540px) {
  .hz-tool-showcase {
    grid-template-rows: 155px 1fr;
    grid-template-columns: 1fr;
  }
  .hz-tools {
    min-height: 420px;
  }
}
/* 社区现场 (CommunityCard) — LIVE pill + discussion rows.
   Ported verbatim (de-minified) from
   docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   Card chrome (.hz-card / .hz-card-heading / row-3 padding) and all grid
   placement are owned by HomePage.css. */

.hz-community {
  flex-direction: column;
  display: flex;
}

.hz-community .hz-card-heading {
  flex: none;
}

.hz-community-heading {
  align-items: center;
  gap: 9px;
  display: flex;
}

.hz-community-heading > i {
  color: #f25b3c;
  font-size: var(--hz-font-min);
  letter-spacing: 0.08em;
  background: #fff0eb;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  font-style: normal;
  font-weight: 750;
  display: flex;
}

.hz-community-heading > i b {
  background: #ff5d3e;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: 1.8s ease-in-out infinite hz-live-pulse;
  box-shadow: 0 0 0 3px #ff5d3e1f;
}

@keyframes hz-live-pulse {
  50% {
    opacity: 0.55;
    transform: scale(0.78);
  }
}

.hz-discussion-row {
  border-bottom: 0;
  flex: 1 1 0;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 0;
  display: grid;
}

.hz-discussion-row:last-child {
  border-bottom: 0;
}

.hz-discussion-row:nth-child(3) .hz-avatar {
  background: linear-gradient(145deg, #f4a8c6, #7e4e7f);
}

.hz-discussion-row:nth-child(4) .hz-avatar {
  background: linear-gradient(145deg, #ef976e, #604237);
}

.hz-discussion-row > span:nth-child(2) {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 3px 9px;
  min-width: 0;
  display: grid;
}

.hz-discussion-row > span:nth-child(2) small {
  color: #74747a;
  font-size: var(--hz-font-min);
  background: #f5f5f6;
  border-radius: 7px;
  grid-row: 1;
  padding: 4px 7px;
}

.hz-discussion-row > span:nth-child(2) strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  grid-row: 1;
  font-size: 12px;
  font-weight: 610;
  overflow: hidden;
}

.hz-discussion-row > span:nth-child(2) em {
  color: #a0a0a6;
  font-size: var(--hz-font-min);
  grid-column: 1/-1;
  font-style: normal;
}

.hz-replies {
  font-size: var(--hz-font-min);
  background: #f7f7f8;
  border-radius: 999px;
  gap: 5px;
  padding: 7px 9px;
  align-items: center;
  display: flex;
}

/* Avatar base (shared with FeatureCard.css — identical duplicate is fine) */
.hz-avatar {
  color: #fff;
  background: linear-gradient(145deg, #5a78a4, #1e2635);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 750;
  display: grid;
  overflow: hidden;
}

.hz-avatar img {
  border-radius: inherit;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* Final 12px grouping rule — community selectors */
.hz-community-heading > i,
.hz-discussion-row small,
.hz-discussion-row > span:nth-child(2) em,
.hz-replies {
  font-size: 12px;
}

@media (width <= 1180px) {
  .hz-community {
    min-height: 235px;
  }
}

@media (width <= 820px) {
  .hz-community {
    min-height: 255px;
  }

  .hz-community {
    display: flex;
  }
}

@media (width <= 540px) {
  .hz-discussion-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .hz-replies {
    display: none;
  }
}
/* TrendingCard — 热门阅读 (ported verbatim from source-hz-home.css;
   grid placement intentionally omitted — owned by HomePage.css) */

.hz-trending {
  background:
    radial-gradient(circle at 96% 0, #ccff3614, #0000 35%),
    linear-gradient(145deg, #fffdfb, #fff 62%);
  flex-direction: column;
  padding: 20px 22px 16px;
  display: flex;
}

.hz-trending-title {
  align-items: center;
  gap: 10px;
  display: flex;
}

.hz-fire {
  color: #ff593a;
  background: #fff8f5;
  border: 1px solid #f4d9d0;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.hz-trending-status {
  color: #25270f;
  background: #d7ff50;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 720;
  display: inline-flex;
}

.hz-trend-item {
  color: #202024;
  border-top: 1px solid #26262a13;
  flex: 1 1 0;
  grid-template-columns: 34px 3px minmax(0, 1fr) 64px 34px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 78px;
  padding: 9px 0;
  transition: color 0.18s;
  display: grid;
}

.hz-card-heading + .hz-trend-item {
  border-top: 0;
  margin-top: 7px;
}

.hz-trend-item:focus-visible,
.hz-trend-item:hover {
  color: #050505;
}

.hz-trend-item:focus-visible {
  outline-offset: 3px;
  border-radius: 10px;
  outline: 2px solid #bcea32;
}

.hz-trend-rank {
  letter-spacing: -0.05em;
  font-size: 20px;
  font-weight: 760;
}

.hz-trend-marker {
  background: #cefa43;
  border-radius: 999px;
  width: 3px;
  height: 34px;
}

.hz-trend-copy {
  gap: 5px;
  min-width: 0;
  display: grid;
}

.hz-trend-item strong {
  letter-spacing: -0.02em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.hz-trend-item small {
  color: #9a8f8b;
  font-size: var(--hz-font-min);
  align-items: center;
  gap: 7px;
  display: flex;
}

.hz-trend-item small i {
  color: #c0c0c4;
  font-style: normal;
}

.hz-trend-heat {
  background: #f1f5e5;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.hz-trend-heat i {
  border-radius: inherit;
  background: linear-gradient(90deg, #bdf12b, #d7ff50);
  height: 100%;
  transition: width 0.22s;
  display: block;
}

.hz-trend-item:focus-visible .hz-trend-heat i,
.hz-trend-item:hover .hz-trend-heat i {
  width: 100% !important;
}

.hz-trend-action {
  background: #fff;
  border: 1px solid #e7e7e9;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  transition:
    transform 0.18s,
    border-color 0.18s,
    background 0.18s;
  display: grid;
}

.hz-trend-item:focus-visible .hz-trend-action,
.hz-trend-item:hover .hz-trend-action {
  background: #d7ff50;
  border-color: #c8f23d;
  transform: translate(2px);
}

@media (width <= 820px) {
  .hz-trending {
    min-height: 260px;
  }
}

@media (width <= 540px) {
  .hz-trend-item {
    grid-template-columns: 32px 3px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .hz-trend-heat {
    display: none;
  }
}
/* RadarCard — 灵感雷达 (orbits + topic pills)
   Declarations ported verbatim from source-hz-home.css; grid placement
   intentionally omitted (owned by HomePage.css). */

.hz-radar {
  padding: 26px;
}

.hz-radar-map {
  height: 174px;
  margin-top: 4px;
  position: relative;
}

.hz-radar-orbit {
  will-change: transform;
  border: 1px dashed #d9d9dd;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hz-orbit-spin 40s linear infinite;
}

.orbit-one {
  width: 112px;
  height: 112px;
  animation-duration: 28s;
  animation-direction: reverse;
}

.orbit-two {
  width: 174px;
  height: 174px;
}

.hz-radar-core {
  z-index: 2;
  background: #e7ff86;
  border-radius: 50%;
  place-items: center;
  width: 55px;
  height: 55px;
  display: grid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 #dffe6438;
}

.hz-radar-core,
.hz-topic {
  will-change: transform;
  position: absolute;
}

.hz-topic {
  z-index: 3;
  white-space: nowrap;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
}

.topic-nuxt {
  background: #dff4ee;
  top: 24px;
  left: 0;
}

.topic-ai {
  background: #eee8ff;
  top: 23px;
  right: 0;
}

.topic-open {
  background: #fff3bd;
  bottom: 16px;
  left: 11px;
}

.topic-indie {
  background: #e6ecff;
  bottom: 16px;
  right: 0;
}

.orbit-marker {
  z-index: 2;
  background: #4b4b50;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  box-shadow: 0 3px 8px #14141829;
}

.marker-one {
  background: #38393e;
  top: 50%;
  left: -5px;
}

.marker-two {
  background: #7272de;
  top: 10%;
  right: 17%;
}

.marker-three {
  background: #f1b950;
  bottom: 7%;
  left: 20%;
}

/* Time-driven rotation — outer 40s normal, inner 28s reverse.
   Keyframes preserve the translate(-50%,-50%) pivot. */
@keyframes hz-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (width <= 820px) {
  .hz-radar {
    min-height: 260px;
  }
}
.hz-progress {
  grid-template-columns: 1.1fr repeat(3, 1fr);
  align-items: center;
  padding: 15px 24px;
  display: grid;
}

.hz-progress-item {
  border-left: 1px solid #26262a0d;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding-left: 21px;
  display: flex;
}

.hz-progress-item > span {
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.hz-progress-item .mint {
  color: #168b62;
  background: #e6f7ee;
}

.hz-progress-item .violet {
  color: #5156d8;
  background: #f0efff;
}

.hz-progress-item .coral {
  color: #ff593b;
  background: #fff0eb;
}

.hz-progress-item p {
  color: #83838a;
  font-size: var(--hz-font-min);
  gap: 3px;
  display: grid;
}

.hz-progress-item strong {
  color: #151517;
  font-size: 24px;
  font-weight: 560;
  line-height: 1;
}

.hz-progress-item strong small {
  font-size: 12px;
  font-weight: 450;
}

.hz-progress-item .hz-stat-number {
  font-variant-numeric: tabular-nums;
  height: 1em;
  display: block;
  overflow: hidden;
}

.hz-stat-reel {
  will-change: transform;
  flex-direction: column;
  display: flex;
}

.hz-stat-reel > span {
  flex: 0 0 1em;
  height: 1em;
  line-height: 1;
}

/* Load-driven one-shot roll-up */
.hz-stat-reel {
  animation: hz-reel 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hz-progress-item:nth-child(2) .hz-stat-reel {
  animation-delay: 0.08s;
}

.hz-progress-item:nth-child(3) .hz-stat-reel {
  animation-delay: 0.16s;
}

.hz-progress-item:nth-child(4) .hz-stat-reel {
  animation-delay: 0.24s;
}

@keyframes hz-reel {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1em);
  }
}

@media (width <= 1180px) {
  .hz-progress {
    grid-template-columns: repeat(3, 1fr);
  }

  .hz-progress > h2 {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .hz-progress-item:first-of-type {
    border-left: 0;
    padding-left: 0;
  }
}

@media (width <= 820px) {
  .hz-progress {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    min-height: 190px;
  }

  .hz-progress > h2 {
    grid-column: 1 / -1;
  }

  .hz-progress-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 12px;
  }
}

@media (width <= 540px) {
  .hz-progress {
    grid-template-columns: 1fr;
    min-height: 345px;
  }

  .hz-progress-item {
    border-top: 1px solid #ececef;
    border-left: 0;
    flex-direction: row;
    align-items: center;
    padding: 12px 0 0;
  }
}
/* SiteRail (left icon rail + WeChat hover popover) for the 航栈 homepage clone.
   Rail rules ported verbatim (de-minified) from
   docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   Popover card rules ported verbatim from
   docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/WechatOfficialCard.Dw-dzxdk.css
   with every  scoped attribute stripped (React port, no Vue SFC scoping). */

/* ---------- rail ---------- */

.hz-rail {
  z-index: 30;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding-top: 204px;
  display: flex;
  position: relative;
}

.hz-rail a,
.hz-rail button {
  color: #77787d;
  width: 48px;
  height: 48px;
  font: inherit;
  background: #f6f6f7;
  border: 0;
  border-radius: 50%;
  place-items: center;
  padding: 0;
  transition: color 0.18s, background 0.18s, transform 0.18s;
  display: grid;
  position: relative;
}

.hz-rail a:hover,
.hz-rail button:hover {
  color: #171719;
  transform: translateY(-2px);
}

.hz-rail a.active {
  color: #fff;
  background: #101012;
  box-shadow: 0 8px 22px #11111329;
}

/* ---------- wechat button ---------- */

.hz-rail-wechat-wrap {
  width: 48px;
  height: 48px;
  position: relative;
}

.hz-rail-wechat {
  cursor: default;
}

.hz-rail-wechat > svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65px;
  width: 23px;
  height: 23px;
  overflow: visible;
}

.hz-rail-wechat > svg circle {
  fill: currentColor;
  stroke: none;
}

/* ---------- popover ---------- */

.hz-rail-wechat-popover {
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform-origin: 0;
  white-space: normal;
  width: 400px;
  max-width: calc(100vw - 150px);
  transition: opacity 0.18s, transform 0.18s;
  display: block;
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  transform: translate(8px, -50%) scale(0.98);
}

.hz-rail-wechat-popover:before {
  z-index: 2;
  content: "";
  border-top: 7px solid #0000;
  border-bottom: 7px solid #0000;
  border-right: 8px solid #0ec66b;
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
}

.hz-rail-wechat-wrap:focus-within > .hz-rail-wechat-popover,
.hz-rail-wechat-wrap:hover > .hz-rail-wechat-popover {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.hz-rail-wechat:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #aeff1f7a;
}

/* ---------- wechat official card (WechatOfficialCard.Dw-dzxdk.css, unscoped) ---------- */

.tool-wechat-card-v2 {
  z-index: 1;
  color: #f7fff9;
  background: radial-gradient(circle at 95% 5%, #fff3, #0000 10rem),
    linear-gradient(145deg, #0ec66b, #08aa5e);
  border: 1px solid #ffffff7a;
  border-radius: 20px;
  grid-template-columns: minmax(0, 1fr) 124px;
  grid-template-areas: "copy qr" "hint qr";
  align-items: center;
  gap: 12px 18px;
  width: min(100%, 400px);
  min-width: 0;
  padding: 20px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px #078d4d29;
}

.tool-wechat-card-v2:after {
  content: "";
  pointer-events: none;
  border: 1px solid #ffffff2e;
  border-radius: 50%;
  width: 170px;
  height: 170px;
  position: absolute;
  bottom: -62px;
  right: -42px;
}

.tool-wechat-card-v2 > small,
.tool-wechat-copy-v2,
.tool-wechat-visual-v2 {
  z-index: 1;
  position: relative;
}

.tool-wechat-copy-v2 {
  grid-area: copy;
}

.tool-wechat-copy-v2 > span {
  color: #ffffffbd;
  letter-spacing: 0.18em;
  font-size: 9px;
  font-weight: 780;
}

.tool-wechat-copy-v2 h2 {
  letter-spacing: -0.035em;
  margin: 6px 0 0;
  font-size: clamp(21px, 1.5vw, 25px);
  line-height: 1.18;
}

.tool-wechat-copy-v2 p {
  color: #ffffffc7;
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.55;
}

.tool-wechat-search-v2 {
  color: #1d3728;
  background: #fffffff0;
  border-radius: 9px;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 32px;
  margin-top: 12px;
  padding: 0 10px;
  font-size: 10px;
  display: flex;
}

.tool-wechat-search-v2 svg {
  color: #8b9790;
}

.tool-wechat-search-v2 span {
  color: #758078;
}

.tool-wechat-search-v2 strong {
  font-size: 12px;
}

.tool-wechat-visual-v2 {
  background: #fff;
  border-radius: 15px;
  grid-area: qr;
  align-self: center;
  margin: 0;
  padding: 7px;
  box-shadow: 0 10px 26px #04532d2e;
}

.tool-wechat-visual-v2 img {
  aspect-ratio: 1;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 9px;
  width: 100%;
  display: block;
}

.tool-wechat-card-v2 > small {
  color: #fffc;
  letter-spacing: 0.04em;
  grid-area: hint;
  font-size: 10px;
  font-weight: 650;
}

@media (width <= 760px) {
  .tool-wechat-card-v2 {
    border-radius: 17px;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px 14px;
    padding: 18px;
  }

  .tool-wechat-copy-v2 > span {
    display: none;
  }

  .tool-wechat-copy-v2 h2 {
    max-width: none;
  }
}

/* ---------- rail responsive ---------- */

@media (width <= 1180px) {
  .hz-rail {
    display: none;
  }
}
.hz-footer {
  align-items: center;
  display: flex;
  color: #96969c;
  justify-content: center;
  gap: 24px;
  min-height: 42px;
  font-size: 13px;
}

.hz-footer span {
  background: #bfc0c5;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}
/* Homepage header + mobile nav for the 航栈 homepage clone.
   Ported verbatim from docs/research/www-vipbic-com-0aebd0a7/root-8a5edab2/assets/source-hz-home.css
   (header slice only; cascade order preserved — the trailing base rule
   `.hz-menu-button, .hz-mobile-nav { display: none }` must stay AFTER `.hz-menu-button, .hz-round-button`).
   Stage/shell/layout chrome lives in HomePage.css. */

.hz-header {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  display: grid;
}

.hz-brand {
  letter-spacing: -0.05em;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-size: 25px;
  font-weight: 780;
  display: inline-flex;
}

.hz-brand img {
  -o-object-fit: contain;
  object-fit: contain;
  width: 31px;
  height: 31px;
}

.hz-nav {
  align-items: center;
  gap: 8px;
  display: flex;
}

.hz-nav a {
  border-radius: var(--hz-radius-inner);
  color: #3d3d40;
  text-align: center;
  min-width: 66px;
  padding: 12px 18px;
  font-size: 14px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.hz-nav a:hover {
  background: #f3f3f4;
  transform: translateY(-1px);
}

.hz-nav a.active {
  color: #fff;
  background: #111113;
  box-shadow: 0 6px 18px #11111326;
}

.hz-header-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  display: flex;
}

.hz-menu-button,
.hz-round-button {
  color: #171719;
  cursor: pointer;
  background: #fff;
  border: 1px solid #26262a14;
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  transition: transform 0.18s, border-color 0.18s;
  display: grid;
}

.hz-menu-button:hover,
.hz-round-button:hover {
  border-color: #bfc0c5;
  transform: translateY(-2px);
}

.hz-publish {
  color: #171719;
  text-align: center;
  background: #dfff6b;
  border: 1px solid #0000;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  display: inline-flex;
}

.hz-publish:hover {
  background: #d5f45f;
  border-color: #0000;
  transform: translateY(-1px);
}

.hz-profile {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, #f7a976 0 47%, #25252a 48% 100%);
  border: 4px solid #f3f3f4;
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-weight: 700;
  display: grid;
}

.hz-profile img {
  border-radius: inherit;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hz-profile-login {
  color: #fff;
  background: #171719;
  border: 1px solid #0000;
  border-radius: 12px;
  width: auto;
  min-width: 54px;
  height: auto;
  padding: 9px 12px;
  font-size: 12px;
}

.hz-menu-button,
.hz-mobile-nav {
  display: none;
}

@media (width <= 1180px) {
  .hz-header { grid-template-columns: auto 1fr auto; }
  .hz-nav { justify-self: center; }
  .hz-nav a { min-width: auto; padding-inline: 15px; }
}

@media (width <= 820px) {
  .hz-header { grid-template-columns: 1fr auto; min-height: 78px; }
  .hz-brand { font-size: 22px; }
  .hz-brand img { width: 28px; height: 28px; }
  .hz-nav,
  .hz-publish,
  .hz-round-button { display: none; }
  .hz-menu-button { display: grid; }
  .hz-mobile-nav {
    background: #f8f8f9;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 7px;
    display: grid;
  }
  .hz-mobile-nav a {
    text-align: center;
    border-radius: 9px;
    padding: 10px 4px;
    font-size: 13px;
  }
  .hz-mobile-nav a:first-child {
    color: #fff;
    background: #151517;
  }
}
