
/* H1.1: always-visible sticky 5-menu nav (no hamburger) */
.menu-btn,
.mobile-menu-panel,
.mobile-quick-wrap,
.mobile-account-bar,
.utility { display: none !important; }

.hk-topbar.topbar {
  position: sticky;
  top: 0;
  z-index: 10050;
  background: rgba(13,11,22,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.hk-topbar-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 12px;
}
.hk-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hk-lang a {
  display: inline-flex !important;
  padding: 7px 10px;
  border-radius: 10px;
  background: #1d192c;
  font-size: 12px;
  font-weight: 800;
}
.hk-menu.primary-nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  overflow: visible !important;
  flex: none !important;
  order: unset !important;
  padding: 0 !important;
  align-items: stretch !important;
}
.hk-menu.primary-nav a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal !important;
  line-height: 1.25;
  min-height: 40px;
  padding: 8px 6px !important;
  border-radius: 12px !important;
  background: #211c35;
  border: 1px solid #322c48;
  color: #f3f0ff !important;
  font-size: 13px;
  font-weight: 800;
}
.hk-menu.primary-nav a.on,
.hk-menu.primary-nav a:hover {
  background: linear-gradient(135deg, #9b7bff, #7f64e8) !important;
  color: #120e21 !important;
  border-color: transparent;
}
.main {
  padding-top: 22px;
}

/* Mobile: wrap to 3+2, keep all visible, sticky */
@media (max-width: 860px) {
  .hk-menu.primary-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .hk-menu.primary-nav a {
    font-size: 12px;
    min-height: 42px;
    padding: 9px 4px !important;
  }
  .brand small { display: none; }
  .top-inner, .hk-topbar-inner { height: auto !important; min-height: 0 !important; }
  /* defeat old style.css hamburger rules */
  .primary-nav { display: grid !important; }
  .menu-btn { display: none !important; }
}
@media (max-width: 420px) {
  .hk-menu.primary-nav a { font-size: 11px; letter-spacing: -0.2px; }
}
@media (min-width: 861px) {
  .hk-menu.primary-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.share-bars{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.share-row{display:grid;grid-template-columns:140px 1fr 64px;gap:10px;align-items:center}
.share-label{font-size:14px}
.share-track{height:14px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}
.share-fill{height:100%;border-radius:999px}
.share-pct{font-variant-numeric:tabular-nums;text-align:right;font-size:14px}
.share-table{width:100%;border-collapse:collapse;margin-top:10px}
.share-table th,.share-table td{border-bottom:1px solid rgba(255,255,255,.08);padding:8px 6px;text-align:left}
@media(max-width:640px){.share-row{grid-template-columns:1fr;gap:4px}.share-pct{text-align:left}}
.product-card img{object-fit:cover}
.news-explain ul { margin:8px 0 16px 1.1em; }
.news-explain h2 { margin-top:18px; }
.product-card .btn { font-size:13px; }

/* H1.2: compact companion invite on news/board pages */
.hk-companion {
  margin: 28px 0 10px;
  padding: 18px 20px;
  border: 1px solid #322c48;
  border-radius: 16px;
  background: #1d192c;
}
.hk-companion-title {
  font-weight: 800;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
  color: #f3f0ff;
}
.hk-companion-line {
  margin: 0 0 14px;
  color: #c8c2d9;
  font-size: 14px;
  line-height: 1.45;
}
.hk-companion .btn { font-size: 13px; }

/* H1.3: home recommended posts at top, large tappable cards */
.hk-week-posts {
  margin: 0 0 28px;
}
.hk-week-posts .section-head {
  margin-bottom: 12px;
}
.hk-week-posts .section-head h2 {
  font-size: 22px;
  line-height: 1.35;
}
.hk-week-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hk-week-card {
  display: block;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 48px 20px 20px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(31,27,50,.96), rgba(21,18,34,.96));
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.hk-week-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  color: #f3f0ff;
}
.hk-week-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #c8c2d9;
}
.hk-week-card::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9b7bff;
  font-weight: 800;
  font-size: 20px;
  pointer-events: none;
}
.hk-week-card:hover,
.hk-week-card:focus-visible {
  border-color: #9b7bff;
  background: #211c35;
}
@media (min-width: 861px) {
  .hk-week-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .hk-week-card {
    min-height: 140px;
  }
}
@media (max-width: 860px) {
  .hk-week-posts .section-head h2 {
    font-size: 20px;
  }
  .hk-week-card {
    padding: 22px 48px 22px 18px;
    min-height: 108px;
  }
  .hk-week-card h3 { font-size: 16px; }
}
