/**
 * Jiahe soft blue skin
 *
 * Loaded after the original theme stylesheet so the business plugins can keep
 * their markup and data while sharing one visual system.
 */

:root {
  --jh-primary: #6b7de1;
  --jh-primary-hover: #5f70d4;
  --jh-secondary: #8797ea;
  --jh-primary-soft: #f0f2ff;
  --jh-primary-soft-strong: #e8ebff;
  --jh-page: #f7f8fc;
  --jh-card: #ffffff;
  --jh-border: #dee4f5;
  --jh-heading: #1d3158;
  --jh-text: #33476e;
  --jh-muted: #71809b;
  --jh-danger: #f0445e;
  --jh-warning: #f5a400;
  --jh-radius: 12px;
  --jh-shadow: 0 6px 20px rgba(42, 62, 120, 0.055);
  --jh-module-title-size: 14px;
  --jh-module-icon-size: 14px;
  --jh-action-height: 30px;
  --jh-action-font-size: 11px;
  --jh-action-radius: 6px;

  --primary: var(--jh-primary);
  --nav-bg-color: var(--jh-primary);
  --main-bg-color: var(--jh-page);
  --secondary: var(--jh-muted);
}

html,
body {
  background: var(--jh-page);
  color: var(--jh-text);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

a,
.btn-link {
  color: var(--jh-heading);
}

a:hover,
.btn-link:hover {
  color: var(--jh-primary);
}

.text-primary,
.nav-link.active,
.list-group-item.active {
  color: var(--jh-primary) !important;
}

.text-muted,
.text-grey,
.text-secondary {
  color: var(--jh-muted) !important;
}

.bg-primary,
.badge-primary,
.jb-blue,
.progress-bar,
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--jh-primary) !important;
  border-color: var(--jh-primary) !important;
}

.jb-cyan,
.badge-info {
  background-color: var(--jh-secondary) !important;
  border-color: var(--jh-secondary) !important;
  color: #fff !important;
}

.jb-red,
.badge-danger,
.text-danger {
  color: var(--jh-danger) !important;
}

.jb-red,
.badge-danger {
  background-color: var(--jh-danger) !important;
  border-color: var(--jh-danger) !important;
  color: #fff !important;
}

.btn {
  border-radius: 8px;
  font-weight: 500;
}

.btn-primary,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background: var(--jh-primary) !important;
  border-color: var(--jh-primary) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  background: var(--jh-primary-hover) !important;
  border-color: var(--jh-primary-hover) !important;
  box-shadow: none !important;
}

.btn-outline-primary {
  border-color: var(--jh-primary) !important;
  color: var(--jh-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.active {
  background: var(--jh-primary) !important;
  border-color: var(--jh-primary) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-secondary {
  background: var(--jh-primary-soft) !important;
  border-color: transparent !important;
  color: var(--jh-text) !important;
}

.btn-secondary:hover,
.btn-secondary.active {
  background: var(--jh-primary) !important;
  color: #fff !important;
}

.form-control,
.custom-select,
.input-group-text {
  background: #fff;
  border-color: var(--jh-border);
  color: var(--jh-text);
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--jh-secondary);
  box-shadow: 0 0 0 3px rgba(107, 125, 225, 0.12);
}

.card,
.breadcrumb,
.alert-light,
.modal-content,
.dropdown-menu {
  background: var(--jh-card) !important;
  border: 1px solid var(--jh-border) !important;
  border-radius: var(--jh-radius) !important;
  box-shadow: var(--jh-shadow) !important;
}

.card-header,
.card-footer {
  border-color: var(--jh-border);
}

.card-header-tabs > .nav-item > .nav-link.active::after {
  background: var(--jh-primary) !important;
  border-radius: 999px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.list-group-item.active {
  background: var(--jh-primary-soft) !important;
  border-color: transparent !important;
}

.pagination .page-link {
  border-color: var(--jh-border);
  color: var(--jh-primary);
}

.pagination .page-item.active .page-link {
  background: var(--jh-primary);
  border-color: var(--jh-primary);
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--jh-border) !important;
  box-shadow: 0 4px 18px rgba(42, 62, 120, 0.045) !important;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand,
.MobilemenuBtn,
#mobile_nav .nav-dark {
  color: var(--jh-heading) !important;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--jh-primary) !important;
}

.navbar .logo-2 {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.jh-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--jh-heading) !important;
  font-weight: 750;
}

.jh-brand-name {
  max-width: 9em;
  overflow: hidden;
  font-size: 21px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mobile_nav {
  min-height: 54px;
}

#mobile_nav .MobilemenuBtn,
#mobile_nav .navbar-brand {
  margin: 0;
}

#mobile_nav.jh-mobile-home-nav {
  display: flex;
  min-width: 0;
  gap: 7px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.jh-mobile-home-nav .MobilemenuBtn {
  display: inline-flex;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.jh-mobile-home-brand {
  display: inline-flex;
  min-width: 0;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: var(--jh-heading) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.jh-mobile-home-brand img {
  display: block;
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  border-radius: 8px;
}

.jh-mobile-header-search {
  display: grid;
  min-width: 0;
  height: 34px;
  margin: 0 0 0 auto;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr) 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 8px;
}

.jh-mobile-header-search-field {
  display: flex;
  min-width: 0;
  padding: 0 8px;
  align-items: center;
  gap: 6px;
}

.jh-mobile-header-search-field i {
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-mobile-header-search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--jh-heading);
  font-size: 11px;
  background: transparent;
  border: 0;
  outline: 0;
}

.jh-mobile-header-search-field input::placeholder {
  color: #9aa5bb;
}

.jh-mobile-header-search button {
  padding: 0 !important;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border: 0;
}

/* Home announcement and statistics */
.xzgg {
  background: var(--jh-card) !important;
  border: 1px solid var(--jh-border) !important;
  border-radius: 10px !important;
  color: var(--jh-primary) !important;
  box-shadow: none !important;
}

.xzgg b,
.xzhy,
.zsky-thread-link-text {
  background: none !important;
  color: var(--jh-primary) !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
}

.xzhy .text-muted,
.xzhy i {
  color: var(--jh-muted) !important;
}

/* Mobile notice and statistics. */
.jh-home-notice {
  display: flex;
  min-height: 40px;
  padding: 7px 12px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  background: linear-gradient(90deg, #f7f8ff 0%, #f1f3ff 100%);
  border: 1px solid var(--jh-border);
  border-radius: 10px;
  box-shadow: var(--jh-shadow);
}

.jh-home-notice-icon {
  flex: 0 0 auto;
  color: var(--jh-primary);
  font-size: 16px;
}

.jh-home-notice-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

.jh-home-notice-track {
  display: inline-flex;
  width: max-content;
  min-width: 100%;
  padding-left: 100%;
  align-items: center;
  box-sizing: content-box;
  animation: jh-home-notice-scroll 13s linear infinite;
  animation-delay: -4s;
  will-change: transform;
}

.jh-home-notice-track span {
  color: #4f63c7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.jh-home-notice:hover .jh-home-notice-track {
  animation-play-state: paused;
}

@keyframes jh-home-notice-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.jh-home-notice-more {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--jh-primary);
  font-size: 12px;
}

.jh-home-stats {
  display: grid;
  min-height: 58px;
  padding: 6px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
  box-shadow: var(--jh-shadow);
}

.jh-home-stat {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.jh-home-stat + .jh-home-stat::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 1px;
  background: var(--jh-border);
  content: "";
}

.jh-home-stat strong {
  color: var(--jh-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.jh-home-stat span {
  margin-top: 2px;
  color: var(--jh-muted);
  font-size: 11px;
  line-height: 1.2;
}

.jh-home-page {
  align-items: flex-start;
}

.jh-home-main > .alert,
.jh-home-main > .card,
.jh-home-main > form,
.jh-home-main > .hidden-lg {
  margin-bottom: 10px !important;
}

.jh-home-search {
  display: grid;
  width: 100%;
  margin-bottom: 10px;
  padding: 5px;
  grid-template-columns: minmax(0, 1fr) 74px 36px;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
  box-shadow: var(--jh-shadow);
}

.jh-home-search-field {
  display: flex;
  min-width: 0;
  height: 32px;
  padding: 0 9px;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 8px;
}

.jh-home-search-field i {
  color: var(--jh-heading);
  font-size: 13px;
}

.jh-home-search-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--jh-heading);
  font-size: 11px;
  background: transparent;
  border: 0;
  outline: 0;
}

.jh-home-search-field input::placeholder {
  color: #9aa5bb;
}

.jh-home-search-submit,
.jh-home-search-refresh {
  display: inline-flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border: 0;
  border-radius: 8px;
}

.jh-home-search-submit {
  font-size: 11px;
  cursor: pointer;
}

.jh-home-search-refresh {
  color: var(--jh-heading) !important;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--jh-border);
}

.jh-community-header {
  position: relative;
  padding: 11px 14px 0;
}

.jh-section-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--jh-heading);
  font-size: var(--jh-module-title-size);
  font-weight: 700;
  line-height: 1.2;
}

.jh-section-heading i {
  color: var(--jh-primary);
  font-size: var(--jh-module-icon-size);
}

.jh-community-header .card-header-tabs {
  display: flex;
  width: auto;
  min-height: 40px;
  margin: 10px -14px 0 !important;
  padding: 0 8px;
  flex-wrap: nowrap;
  align-items: stretch;
  border-top: 0;
  border-bottom: 0;
}

.jh-community-header .card-header-tabs > .nav-item:not(.jh-community-action-item) {
  min-width: 0;
  flex: 1 1 0;
  text-align: center;
}

.jh-community-header .card-header-tabs > .nav-item:not(.jh-community-action-item) > .nav-link {
  position: relative;
  display: flex;
  height: 40px;
  padding: 0 4px !important;
  align-items: center;
  justify-content: center;
  color: var(--jh-heading);
  font-size: 13px;
  white-space: nowrap;
  border: 0 !important;
  border-radius: 0;
}

.jh-community-header .card-header-tabs > .nav-item:not(.jh-community-action-item) > .nav-link.active {
  color: var(--jh-primary) !important;
  background: transparent !important;
}

.jh-community-header .card-header-tabs > .nav-item:not(.jh-community-action-item) > .nav-link.active::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 24px;
  height: 3px;
  margin: 0 !important;
  transform: translateX(-50%);
}

.jh-community-header .jh-community-action-item {
  position: absolute !important;
  top: 7px !important;
  z-index: 2;
  display: block;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.jh-community-header #activity {
  right: 90px !important;
}

.jh-community-header #sg_sign_vip_btn {
  right: 12px !important;
}

.jh-community-header .jh-community-action {
  display: inline-flex;
  min-width: 66px;
  height: var(--jh-action-height);
  padding: 0 8px !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--jh-primary) !important;
  background: #fff !important;
  color: var(--jh-primary) !important;
  font-size: var(--jh-action-font-size);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--jh-action-radius) !important;
  box-shadow: none !important;
}

.jh-community-header .jh-community-action i {
  font-size: var(--jh-action-font-size);
}

.jh-community-header .jh-community-action:hover,
.jh-community-header .jh-community-action:focus {
  background: var(--jh-primary-soft) !important;
}

/* Guaranteed and new-site grids. Inline legacy colors are deliberately reset. */
.sky.card.icolist {
  display: flex !important;
  width: 100% !important;
  padding: 0.45rem !important;
  overflow: visible !important;
  background: var(--jh-card) !important;
  border: 1px solid var(--jh-border) !important;
  border-radius: var(--jh-radius) !important;
  box-shadow: var(--jh-shadow) !important;
  gap: 0;
}

.sky.card.icolist > .qc_ren,
.sky .qc_ren,
.sky .sky_qc_ren {
  position: static !important;
  display: flex !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: auto !important;
  min-height: 34px;
  padding: 0.1rem 0.3rem 0.4rem !important;
  margin: 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
  background: transparent !important;
  color: var(--jh-heading) !important;
  font-size: var(--jh-module-title-size) !important;
  font-weight: 700;
  text-align: left !important;
  border-radius: 0 !important;
}

.sky.card.icolist > .qc_ren::before {
  content: "";
  width: 3px;
  height: 18px;
  margin-right: 7px;
  background: var(--jh-primary);
  border-radius: 999px;
}

.jh-site-section-title {
  flex: 0 0 auto;
  color: var(--jh-heading) !important;
  font-size: var(--jh-module-title-size);
  font-weight: 700 !important;
  line-height: 1.2;
}

.jh-site-section-subtitle {
  display: inline-flex;
  min-width: 0;
  margin-left: 8px;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--jh-primary) !important;
  font-size: 11px;
  font-weight: 500 !important;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-site-section-subtitle i {
  flex: 0 0 auto;
  color: var(--jh-primary) !important;
  font-size: 12px;
}

.sky.card.icolist > .icolistson,
.sky .icolistson {
  flex: 0 0 25% !important;
  width: 25% !important;
  max-width: 25% !important;
  padding: 3px !important;
}

.sky .icolistson > div {
  height: 100%;
  min-height: 112px;
  margin: 0 !important;
  padding: 9px 4px 7px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
}

.sky .icolistson img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 9px !important;
  object-fit: cover;
}

.sky .icolistson h5 {
  margin: 0 !important;
  padding-top: 7px !important;
  color: var(--jh-heading) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

.sky .icolistson h5 a {
  color: inherit !important;
}

/* Promotion block */
.jh-promotion-card {
  margin-bottom: 10px;
  padding: 0 8px 8px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
  box-shadow: var(--jh-shadow);
}

.jh-promotion-header {
  display: flex;
  min-height: 36px;
  padding: 0 3px;
  align-items: center;
  justify-content: space-between;
}

.jh-promotion-heading,
.jh-promotion-more {
  display: inline-flex;
  align-items: center;
}

.jh-promotion-heading {
  gap: 6px;
  color: var(--jh-heading);
}

.jh-promotion-heading > i {
  color: var(--jh-primary);
  font-size: var(--jh-module-icon-size);
}

.jh-promotion-heading strong {
  font-size: var(--jh-module-title-size);
  font-weight: 700;
  line-height: 1.2;
}

.jh-promotion-heading > span {
  padding: 1px 6px;
  color: var(--jh-primary);
  font-size: 9px;
  background: var(--jh-primary-soft);
  border: 1px solid var(--jh-border);
  border-radius: 5px;
}

.jh-promotion-more {
  gap: 5px;
  color: var(--jh-muted);
  font-size: 12px;
}

.jh-promotion-card .jh-promotion-more {
  display: none !important;
}

.jh-promotion-list {
  display: grid;
  gap: 6px;
}

.zsky-thread-link {
  display: flex;
  min-width: 0;
  min-height: 58px;
  padding: 6px 8px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 8px;
}

.zsky-thread-link-main {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}

.zsky-thread-link-logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  object-fit: contain;
  border-radius: 50%;
}

.zsky-thread-link-content {
  min-width: 0;
}

.zsky-thread-link-text {
  overflow: hidden;
  color: var(--jh-heading) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.zsky-thread-link-tag {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  color: var(--jh-muted);
  font-size: 10px;
  font-weight: 500;
  vertical-align: 1px;
  background: #f0f2f6;
  border-radius: 4px;
}

.zsky-thread-link-description {
  margin-top: 2px;
  overflow: hidden;
  color: var(--jh-muted);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zsky-thread-link-button {
  flex: 0 0 66px;
  height: var(--jh-action-height);
  color: #fff !important;
  font-size: var(--jh-action-font-size);
  line-height: var(--jh-action-height);
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border-radius: var(--jh-action-radius);
}

.zsky-thread-link-button:hover,
.zsky-thread-link-button:focus {
  color: #fff !important;
  text-decoration: none;
  background: var(--jh-primary-hover);
}

/* Thread and advertising rows */
.card-threadlist .threadlist > .thread,
.noticelist > .notice {
  border-color: var(--jh-border) !important;
}

.card-threadlist .threadlist > .thread:hover {
  background: #fafbff;
}

.jh-advertising-card {
  margin: 10px 0 !important;
  overflow: hidden;
  border: 1px solid var(--jh-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--jh-shadow) !important;
}

.jh-advertising-header {
  position: relative;
  display: flex;
  min-height: 36px;
  padding: 0 12px !important;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(100deg, #f4f6ff 0%, #fff 64%, #eef1ff 100%) !important;
  border-bottom: 1px solid var(--jh-border) !important;
}

.jh-advertising-header::after {
  position: absolute;
  top: -24px;
  right: 72px;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle, rgba(107, 125, 225, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

.jh-advertising-header::before {
  width: 3px;
  height: 18px;
  margin-right: 7px;
  background: var(--jh-primary);
  border-radius: 999px;
  content: "";
}

.jh-advertising-subtitle {
  margin-left: 8px;
  color: var(--jh-primary);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.jh-advertising-coop {
  position: relative;
  z-index: 1;
  display: inline-flex;
  height: 24px;
  margin-left: auto;
  padding: 0 8px;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(107, 125, 225, 0.2);
  overflow: hidden;
}

.jh-advertising-coop b {
  font-size: 9px;
  letter-spacing: 0.4px;
}

.jh-advertising-coop::after {
  position: absolute;
  top: -8px;
  left: -22px;
  width: 14px;
  height: 40px;
  background: rgba(255, 255, 255, 0.48);
  content: "";
  pointer-events: none;
  transform: rotate(24deg);
  animation: jh-ad-coop-shine 3.6s ease-in-out infinite;
}

@keyframes jh-ad-coop-shine {
  0%, 68% { left: -22px; opacity: 0; }
  72% { opacity: 0.85; }
  88%, 100% { left: calc(100% + 12px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .jh-advertising-coop::after {
    animation: none;
  }
}

.jh-advertising-body {
  padding: 7px 9px 9px !important;
}

.jh-advertising-card .threadlist {
  display: grid;
  gap: 6px;
}

.jh-advertising-card .threadlist > .thread {
  position: relative;
  min-height: 60px;
  padding: 8px 50px 8px 8px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, #fbfcff 68%, #f3f5ff 100%);
  border: 1px solid var(--jh-border) !important;
  border-radius: 8px;
  box-shadow: inset 3px 0 0 rgba(107, 125, 225, 0.72);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.jh-advertising-card .threadlist > .thread::after {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 36px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border-radius: 0 7px 0 7px;
  content: "推广";
}

.jh-advertising-card .threadlist > .thread:last-child {
  border-bottom: 1px solid var(--jh-border) !important;
}

.jh-advertising-card .threadlist > .thread:hover {
  background: var(--jh-primary-soft);
  border-color: #cfd6f3 !important;
  box-shadow: inset 3px 0 0 var(--jh-primary), 0 4px 12px rgba(60, 78, 145, 0.07);
}

.jh-ad-avatar-link {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0 10px 0 0 !important;
}

.jh-ad-avatar-wrap {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  padding: 1px;
  background: #fff;
  border: 1px solid #b8c3f2;
  border-radius: 11px;
  box-shadow: 0 3px 9px rgba(64, 79, 158, 0.16);
}

.jh-ad-avatar {
  width: 38px !important;
  height: 38px !important;
  content: url("../img/ad-investment.gif?v=20260922-3");
  object-fit: cover;
  background: #26357f;
  border: 0;
  border-radius: 8px !important;
}

.jh-ad-avatar-frame,
.jh-ad-corner-ribbon {
  display: none !important;
}

.jh-advertising-card .v_img_thread_list_inc_avatar_after {
  display: none !important;
}

.jh-advertising-card .style3_subject {
  overflow: hidden;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-advertising-card .media-body > .small {
  font-size: 11px;
}

.jh-advertising-card .media-body > .d-flex .text-nowrap {
  position: absolute;
  right: 10px;
  bottom: 8px;
}

.card-threadlist .thread_checkbox {
  accent-color: var(--jh-primary);
}

.thread-forum-name,
.style3-thread-forum-name,
.badge-light {
  background: var(--jh-primary-soft) !important;
  color: var(--jh-muted) !important;
}

/* My/profile pages */
.mm-background,
.mp-background,
.sidebar-bg {
  background-color: var(--jh-primary-soft) !important;
  background-image: none !important;
}

/* Mobile drawer */
.jh-mobile-drawer .jh-drawer-container {
  width: min(84vw, 380px) !important;
  max-width: 380px !important;
  overflow: hidden !important;
  background: var(--jh-page) !important;
  box-shadow: 14px 0 40px rgba(29, 49, 88, 0.2) !important;
}

.jh-mobile-drawer .js-sidebar--background {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.jh-mobile-drawer.is-visible .js-sidebar--background {
  background: rgba(17, 29, 55, 0.42) !important;
}

.jh-drawer-scroll {
  width: 100%;
  min-height: 100%;
  padding-bottom: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.jh-drawer-user-card {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--jh-border);
  box-shadow: 0 8px 24px rgba(52, 72, 125, 0.08);
}

.jh-drawer-cover {
  position: relative;
  height: 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 36%, rgba(255, 255, 255, 0.52) 0 18px, transparent 19px),
    linear-gradient(135deg, #f5f6ff 0%, #e9edff 52%, #dfe5ff 100%);
}

.jh-drawer-cover::after {
  position: absolute;
  right: -28px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  content: "";
  border: 28px solid rgba(107, 125, 225, 0.1);
  border-radius: 50%;
}

.jh-drawer-cover-mark {
  position: absolute;
  top: 19px;
  left: 18px;
  color: rgba(107, 125, 225, 0.42);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.jh-drawer-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--jh-heading);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(107, 125, 225, 0.18);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(62, 83, 139, 0.1);
}

.jh-drawer-user-body {
  position: relative;
  padding: 0 16px 16px;
}

.jh-drawer-avatar {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  margin-top: -38px;
  overflow: hidden;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 20px;
  box-shadow: 0 7px 18px rgba(62, 83, 139, 0.16);
}

.jh-drawer-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.jh-drawer-user-name {
  margin-top: 10px;
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-drawer-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.jh-drawer-user-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  color: var(--jh-primary);
  font-size: 11px;
  font-weight: 600;
  background: var(--jh-primary-soft);
  border-radius: 999px;
}

.jh-drawer-user-meta > span:nth-child(2) {
  color: #5164ce;
  background: #e8ebff;
}

.jh-drawer-user-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  margin-top: 14px;
}

.jh-drawer-profile-enter,
.jh-drawer-logout,
.jh-drawer-login,
.jh-drawer-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 9px;
}

.jh-drawer-profile-enter {
  justify-content: flex-start;
  gap: 8px;
  padding: 0 12px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--jh-primary), var(--jh-secondary));
  box-shadow: 0 7px 15px rgba(107, 125, 225, 0.2);
}

.jh-drawer-profile-enter .fa-chevron-right {
  margin-left: auto;
  font-size: 9px;
  opacity: 0.82;
}

.jh-drawer-logout {
  color: #ee6575 !important;
  background: #fff3f5;
  border: 1px solid #ffdce1;
}

.jh-drawer-guest p {
  margin: 5px 0 0;
  color: var(--jh-muted);
  font-size: 12px;
  line-height: 1.5;
}

.jh-drawer-guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.jh-drawer-login {
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--jh-primary), var(--jh-secondary));
}

.jh-drawer-register {
  color: var(--jh-primary) !important;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--jh-primary);
}

.jh-drawer-section {
  margin: 10px 10px 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(52, 72, 125, 0.05);
}

.jh-drawer-section-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 32px;
  padding: 5px 7px 7px;
}

.jh-drawer-section-title span {
  position: relative;
  padding-left: 9px;
  color: var(--jh-heading);
  font-size: 13px;
  font-weight: 700;
}

.jh-drawer-section-title span::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 3px;
  content: "";
  background: var(--jh-primary);
  border-radius: 3px;
}

.jh-drawer-section-title small {
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-drawer-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.jh-drawer-links > .nav-item,
.jh-drawer-links > a.nav-link {
  min-width: 0;
  margin: 0 !important;
  list-style: none;
}

.jh-drawer-links .nav-link {
  position: relative;
  display: flex !important;
  align-items: center;
  min-width: 0;
  height: 42px;
  margin: 0 !important;
  padding: 0 9px !important;
  overflow: hidden;
  color: var(--jh-heading) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: #fafbff;
  border: 1px solid transparent;
  border-radius: 8px;
}

.jh-drawer-links .nav-link > i:first-child,
.jh-drawer-links .nav-link > .iconfont:first-child {
  display: inline-flex;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-right: 7px;
  color: var(--jh-primary);
  font-size: 13px;
  background: var(--jh-primary-soft);
  border-radius: 7px;
}

.jh-drawer-links .nav-link > span:not(.unread) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.jh-drawer-links .nav-link:hover,
.jh-drawer-links .nav-item.active .nav-link,
.jh-drawer-links .nav-link.active {
  color: var(--jh-primary) !important;
  background: var(--jh-primary-soft) !important;
  border-color: rgba(107, 125, 225, 0.16);
}

.jh-drawer-links .unread {
  top: 2px !important;
  right: 4px !important;
  left: auto !important;
  transform: none !important;
}

.jh-drawer-forums {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 0;
}

.jh-drawer-forums .nav-item {
  min-width: 0;
}

.jh-drawer-forums .nav-link {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 42px;
  margin: 0 !important;
  padding: 5px 7px !important;
  color: var(--jh-heading) !important;
  font-size: 11px;
  background: #fafbff !important;
  border: 1px solid transparent;
  border-radius: 8px;
}

.jh-drawer-forums .nav-link img {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin-right: 7px;
  object-fit: cover;
  border-radius: 7px;
}

.jh-drawer-forums .nav-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-drawer-forums .nav-item.active .nav-link,
.jh-drawer-forums .nav-link:hover {
  color: var(--jh-primary) !important;
  background: var(--jh-primary-soft) !important;
  border-color: rgba(107, 125, 225, 0.16);
}

@media (max-width: 360px) {
  .jh-mobile-drawer .jh-drawer-container {
    width: 88vw !important;
  }

  .jh-drawer-links .nav-link {
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 11px;
  }
}

.mm-background .card-body,
.mm-background .text-white,
.mm-background a.text-white,
.mp-background + .card-body,
.user_header .name-info {
  color: var(--jh-heading) !important;
}

.user-info-count {
  border-color: var(--jh-border) !important;
}

.user-info-count b {
  color: var(--jh-primary);
  font-size: 1.2rem;
}

.my-mobile-btn-group {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  overflow: visible !important;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius);
  box-shadow: var(--jh-shadow);
}

.my-mobile-btn-group .btn {
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 0.3rem !important;
  white-space: normal;
}

.jh-my-page > .row.d-lg-none {
  margin-right: 0;
  margin-left: 0;
}

.jh-my-content {
  align-items: flex-start;
}

.jh-my-aside-card .list-group-item {
  color: var(--jh-text);
}

.jh-my-main-card > .card-header {
  padding: 0.85rem 1rem;
}

#my_aside .list-group-item.active,
#notice_aside .btn.active {
  background: var(--jh-primary-soft) !important;
  color: var(--jh-primary) !important;
}

/* My dashboard */
.jh-my-dashboard {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 18px;
}

.jh-my-dashboard > section {
  margin-bottom: 12px;
}

.jh-my-profile-card,
.jh-my-stats,
.jh-my-panel {
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 13px;
  box-shadow: var(--jh-shadow);
}

.jh-my-profile-card {
  position: relative;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(115deg, #f6f8ff 0%, #fff 54%, #f1f3ff 100%);
}

.jh-my-profile-card::after {
  position: absolute;
  top: -56px;
  right: -44px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(107, 125, 225, 0.11), transparent 70%);
  content: "";
  pointer-events: none;
}

.jh-my-homepage {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: inline-flex;
  height: 34px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  color: var(--jh-primary);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cfd6f3;
  border-radius: 999px;
}

.jh-my-homepage i {
  font-size: 10px;
}

.jh-my-profile-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.jh-my-avatar-shell {
  display: block;
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  padding: 5px;
  background: rgba(229, 234, 255, 0.86);
  border: 2px solid #aeb9f3;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff, 0 5px 14px rgba(68, 87, 160, 0.09);
}

.jh-my-avatar-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
}

.jh-my-profile-info {
  min-width: 0;
  padding-right: 96px;
  flex: 1 1 auto;
  padding-top: 4px;
}

.jh-my-name-row {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 7px;
}

.jh-my-name-row h1 {
  margin: 0;
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 21px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-vmark {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(145deg, #ffc239, #f3a000);
  border-radius: 50%;
}

.jh-my-badges {
  display: flex;
  margin-top: 7px;
  flex-wrap: wrap;
  gap: 5px;
}

.jh-my-badge {
  display: inline-flex;
  min-height: 23px;
  padding: 3px 8px;
  align-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  background: var(--jh-secondary);
  border-radius: 6px;
}

.jh-my-badge-primary {
  background: var(--jh-primary);
}

.jh-my-badge-verify {
  background: linear-gradient(135deg, #ffc03d, #f2a000);
}

.jh-my-bio {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--jh-muted);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-follow-link {
  display: inline-flex;
  margin-top: 2px;
  align-items: baseline;
  gap: 6px;
  color: var(--jh-muted);
  font-size: 13px;
}

.jh-my-follow-link strong {
  color: var(--jh-primary);
  font-size: 17px;
}

.jh-my-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 0;
}

.jh-my-stats a {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  color: var(--jh-muted);
}

.jh-my-stats a:not(:last-child)::after {
  position: absolute;
  top: 3px;
  right: 0;
  width: 1px;
  height: 52px;
  background: var(--jh-border);
  content: "";
}

.jh-my-stats strong {
  color: var(--jh-primary);
  font-size: 27px;
  font-weight: 750;
  line-height: 1.15;
}

.jh-my-stats span {
  margin-top: 5px;
  font-size: 13px;
}

.jh-my-panel {
  padding: 0 14px;
}

.jh-my-panel-title {
  position: relative;
  display: flex;
  min-height: 48px;
  padding-left: 14px;
  align-items: center;
  color: var(--jh-heading);
  border-bottom: 1px solid var(--jh-border);
}

.jh-my-panel-title::before {
  position: absolute;
  left: 0;
  width: 4px;
  height: 23px;
  background: linear-gradient(180deg, var(--jh-secondary), var(--jh-primary));
  border-radius: 99px;
  content: "";
}

.jh-my-panel-title > span {
  font-size: 18px;
  font-weight: 750;
}

.jh-my-panel-title-action {
  justify-content: space-between;
}

.jh-my-panel-title-action > a {
  display: inline-flex;
  height: 30px;
  padding: 0 12px;
  align-items: center;
  color: var(--jh-primary);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--jh-primary);
  border-radius: 999px;
}

.jh-my-tools-panel {
  padding-bottom: 13px;
}

.jh-my-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px 4px;
  padding: 13px 0 2px;
}

.jh-my-tools > a {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  color: var(--jh-heading);
  text-align: center;
}

.jh-my-tool-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 22px;
  background: linear-gradient(145deg, #f3f5ff, #e9edff);
  border-radius: 50%;
}

.jh-my-tools strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-info-list {
  margin: 0;
}

.jh-my-info-list > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 43px;
  align-items: center;
  border-bottom: 1px solid var(--jh-border);
}

.jh-my-info-list > div:last-child {
  border-bottom: 0;
}

.jh-my-info-list dt,
.jh-my-info-list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}

.jh-my-info-list dt {
  color: var(--jh-muted);
}

.jh-my-info-list dd {
  overflow: hidden;
  color: var(--jh-heading);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-detail-button {
  margin-left: 7px;
  padding: 2px 7px;
  color: var(--jh-primary);
  font-size: 10px;
  line-height: 1.4;
  background: var(--jh-primary-soft);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.jh-my-invite-content {
  padding-bottom: 2px;
}

.jh-my-invite-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 48px;
  padding: 8px 0;
  align-items: center;
  border-bottom: 1px solid var(--jh-border);
}

.jh-my-invite-row:last-child {
  border-bottom: 0;
}

.jh-my-invite-row > span {
  color: var(--jh-muted);
  font-size: 13px;
}

.jh-my-invite-row p {
  margin: 0;
  color: var(--jh-heading);
  font-size: 13px;
  line-height: 1.5;
}

.jh-my-invite-row p strong {
  color: var(--jh-danger);
  font-weight: 600;
}

.jh-my-invite-link-row > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.jh-my-invite-link-row code {
  display: block;
  min-width: 0;
  padding: 5px 8px;
  overflow: hidden;
  flex: 1 1 auto;
  color: var(--jh-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #f4f6fa;
  border-radius: 5px;
}

.jh-my-copy-button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 9px;
  color: #fff;
  font-size: 11px;
  background: var(--jh-primary);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.jh-my-account-panel {
  padding-bottom: 2px;
}

.jh-my-logout {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 14px;
  min-height: 46px;
  align-items: center;
  color: var(--jh-heading);
  font-size: 13px;
}

.jh-my-logout > i:first-child {
  color: var(--jh-muted);
  font-size: 18px;
}

.jh-my-logout > i:last-child {
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-my-extensions > .card {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--jh-border) !important;
  border-radius: 13px !important;
  box-shadow: var(--jh-shadow) !important;
}

.jh-my-extensions > .card > .card-header {
  min-height: 48px;
  padding: 0 14px;
  align-items: center;
  color: var(--jh-heading);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--jh-border);
}

.jh-my-level-modal .modal-title {
  color: var(--jh-heading);
  font-size: 17px;
}

.jh-my-level-table {
  margin-bottom: 14px;
  font-size: 12px;
}

.jh-my-level-table th,
.jh-my-level-table td {
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
}

.jh-my-level-table img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.jh-my-current-credit,
.jh-my-next-level {
  margin-bottom: 8px;
  color: var(--jh-muted);
  font-size: 13px;
}

.jh-my-current-credit strong {
  color: var(--jh-primary);
}

/* Notice/message pages */
#notice_main > .card > .card-header {
  padding: 18px 20px;
}

.jh-notice-page {
  align-items: flex-start;
}

.jh-notice-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.jh-notice-card > .card-header,
.jh-notice-card > .card-body {
  border: 1px solid var(--jh-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--jh-shadow) !important;
}

.jh-notice-card > .card-body {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.jh-notice-aside {
  padding: 12px;
}

.jh-aside-title {
  margin: 2px 4px 10px;
  color: var(--jh-heading);
  font-weight: 700;
}

.jh-notice-aside .btn {
  margin-bottom: 6px;
  text-align: left;
}

.jh-notice-card-header {
  background: #fff !important;
}

.jh-notice-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.jh-notice-hero h1 {
  margin: 0;
  color: var(--jh-heading);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
}

.jh-notice-hero p {
  margin: 4px 0 0;
  color: var(--jh-muted);
  font-size: 13px;
}

.jh-notice-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.jh-notice-actions #readall {
  min-width: 92px;
  height: 36px;
  padding: 0 15px;
  color: var(--jh-primary);
  font-size: 13px;
  font-weight: 650;
  background: #fff;
  border: 1px solid var(--jh-primary);
  border-radius: 999px;
  box-shadow: none;
}

.jh-notice-actions #readall:hover {
  color: #fff;
  background: var(--jh-primary);
}

.jh-notice-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px 4px;
  margin: 12px 0;
  padding: 12px 8px 14px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 14px;
  box-shadow: var(--jh-shadow);
}

.jh-notice-category {
  display: flex;
  min-width: 0;
  min-height: 96px;
  padding: 8px 3px 7px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--jh-text);
  border: 1px solid transparent;
  border-radius: 11px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.jh-notice-category:hover,
.jh-notice-category.active {
  color: var(--jh-primary);
  background: #fff;
  border-color: var(--jh-secondary);
}

.jh-notice-category-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 19px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-notice-category.active .jh-notice-category-icon {
  background: linear-gradient(145deg, #f3f5ff, #e8ebff);
}

.jh-notice-category strong,
.jh-notice-category small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-notice-category strong {
  color: var(--jh-heading);
  font-size: 14px;
  line-height: 1.25;
}

.jh-notice-category small {
  margin-top: 2px;
  color: var(--jh-muted);
  font-size: 11px;
  line-height: 1.2;
}

.jh-notice-category.active small {
  color: var(--jh-primary);
}

.jh-notice-list-section {
  padding: 0 16px 4px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 14px;
  box-shadow: var(--jh-shadow);
  overflow: hidden;
}

.jh-notice-list-heading {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--jh-border);
}

.jh-notice-list-heading strong {
  color: var(--jh-heading);
  font-size: 20px;
  font-weight: 750;
}

.jh-notice-list-heading strong + span {
  margin-left: 10px;
  color: var(--jh-muted);
  font-size: 12px;
}

.jh-notice-manage-toggle {
  display: inline-flex;
  padding: 5px 0 5px 8px;
  align-items: center;
  gap: 6px;
  color: var(--jh-muted);
  font-size: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.jh-notice-manage-toggle i {
  color: var(--jh-muted);
  font-size: 18px;
}

.jh-notice-empty {
  padding: 54px 20px;
  color: var(--jh-muted);
  text-align: center;
}

.jh-notice-empty i {
  margin-bottom: 10px;
  color: var(--jh-secondary);
  font-size: 40px;
}

#notice_main .noticelist {
  margin-bottom: 0;
}

#notice_main .noticelist > .jh-notice-item {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 13px 0;
  align-items: flex-start;
  border-bottom: 1px solid var(--jh-border);
}

#notice_main .noticelist > .jh-notice-item:last-child {
  border-bottom: 0;
}

.jh-notice-avatar-wrap {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

.jh-notice-avatar {
  display: block;
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
  background: var(--jh-primary-soft);
  border: 1px solid rgba(107, 125, 225, 0.16);
  border-radius: 50% !important;
}

.jh-notice-unread-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--jh-danger);
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: content-box;
}

.jh-notice-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.jh-notice-item-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.jh-notice-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.jh-notice-identity strong {
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-notice-type {
  flex: 0 0 auto;
  padding: 2px 7px;
  color: var(--jh-primary);
  font-size: 10px;
  line-height: 1.4;
  background: var(--jh-primary-soft);
  border-radius: 999px;
}

.jh-notice-item-meta time {
  flex: 0 0 auto;
  color: var(--jh-muted);
  font-size: 11px;
}

#notice_main .jh-notice-message {
  margin-top: 3px;
  color: var(--jh-muted);
  font-size: 12px;
  line-height: 1.55;
}

#notice_main .jh-notice-message .comment-info {
  margin-bottom: 3px;
}

#notice_main .jh-notice-message .single-comment,
#notice_main .jh-notice-message .reply-comment,
#notice_main .jh-notice-message .quote-comment {
  display: block;
  margin-top: 4px;
  padding: 5px 9px;
  overflow: hidden;
  color: var(--jh-muted);
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #f3f5fa;
  border-radius: 6px;
}

#notice_main .jh-notice-message a {
  color: inherit;
}

.jh-notice-item-actions {
  display: none;
  margin-top: 7px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.jh-notice-list-section.is-managing .jh-notice-item-actions {
  display: flex;
}

.jh-notice-action {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 7px;
  align-items: center;
  gap: 4px;
  color: var(--jh-primary) !important;
  font-size: 10px;
  background: var(--jh-primary-soft);
  border-radius: 5px;
  cursor: pointer;
}

.jh-notice-action-danger {
  color: var(--jh-danger) !important;
  background: #fff1f3;
}

.jh-private-count {
  color: var(--jh-muted);
  font-size: 11px;
}

.ax-conversation-list {
  margin: 0;
}

.ax-conversation-item {
  display: flex;
  min-height: 70px;
  padding: 11px 0;
  align-items: center;
  color: inherit;
  text-decoration: none !important;
  border-bottom: 1px solid var(--jh-border);
  transition: background-color 0.18s ease;
}

.ax-conversation-item:last-child {
  border-bottom: 0;
}

.ax-conversation-item:hover {
  color: inherit;
  background: #fafbff;
}

.ax-conversation-avatar {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-right: 11px;
}

.ax-conversation-avatar img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid rgba(107, 125, 225, 0.16);
  border-radius: 50%;
}

.ax-conversation-unread {
  position: absolute;
  top: -2px;
  right: -4px;
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  background: var(--jh-danger);
  border: 2px solid #fff;
  border-radius: 999px;
}

.ax-conversation-body {
  min-width: 0;
  flex: 1 1 auto;
}

.ax-conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ax-conversation-name {
  color: var(--jh-heading);
  font-size: 14px;
  font-weight: 700;
}

.ax-conversation-time {
  flex: 0 0 auto;
  color: var(--jh-muted);
  font-size: 11px;
}

.ax-conversation-preview {
  margin-top: 4px;
  overflow: hidden;
  color: var(--jh-muted);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ax-conversation-arrow {
  margin-left: 9px;
  color: var(--jh-muted);
  font-size: 15px;
}

.ax-conversation-empty {
  padding: 56px 20px;
  color: var(--jh-muted);
  text-align: center;
}

.ax-conversation-empty i,
.ax-conversation-empty strong,
.ax-conversation-empty small {
  display: block;
}

.ax-conversation-empty i {
  margin-bottom: 10px;
  color: var(--jh-secondary);
  font-size: 34px;
}

.ax-conversation-empty strong {
  color: var(--jh-heading);
  font-size: 14px;
}

.ax-conversation-empty small {
  margin-top: 5px;
  font-size: 11px;
}

#notice_main .notice.isread {
  opacity: 0.86;
}

#notice_main .readbtn,
#notice_main .deletebtn {
  cursor: pointer;
}

#notice_main .icon-circle.text-danger,
#nav-usernotice-unread-notices,
.bottom-nav .badge.jb-red {
  color: var(--jh-danger) !important;
}

/* Mobile dock */
.bottom-nav {
  background: rgba(255, 255, 255, 0.97) !important;
  border-top: 1px solid var(--jh-border);
  box-shadow: 0 -6px 20px rgba(42, 62, 120, 0.06) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bottom-nav a {
  color: var(--jh-muted) !important;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--jh-primary) !important;
}

.bottom-nav .btn-primary {
  min-width: 54px;
  min-height: 44px;
  border-radius: 10px;
}

.bottom-nav .badge.jb-red {
  background: var(--jh-danger) !important;
  color: #fff !important;
}

/* Preserve semantic gold accents for verification and rewards. */
.badge-warning,
.text-warning,
.official-verify,
.user-v {
  color: var(--jh-warning) !important;
}

@media (min-width: 992px) {
  #body > .container,
  .navbar > .container {
    max-width: 1320px;
  }

  .card,
  .breadcrumb,
  .alert-light {
    border-radius: 10px !important;
  }

  .sky.card.icolist > .icolistson,
  .sky .icolistson {
    flex-basis: 20% !important;
    width: 20% !important;
    max-width: 20% !important;
  }
}

@media (max-width: 991.98px) {
  #body {
    padding-top: 62px;
  }

  #body > .container {
    width: 100%;
    max-width: 750px;
    padding-right: 12px;
    padding-left: 12px;
  }

  #body .main,
  #my_main,
  #notice_main {
    padding-right: 0;
    padding-left: 0;
  }

  .card,
  .breadcrumb,
  .alert {
    margin-bottom: 12px;
  }

  .navbar > .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .navbar .logo-2 {
    height: 34px;
    max-width: 176px;
  }

  .jh-brand-name {
    max-width: 7em;
    font-size: 19px;
  }

  .mm-background {
    margin: 0 0 12px !important;
    padding: 1rem 0 !important;
    border-radius: var(--jh-radius) !important;
  }

  .user-info-count {
    margin-top: 0 !important;
  }

  .my-mobile-btn-group {
    margin: 12px 0 !important;
  }

  .jh-notice-page {
    margin-right: 0;
    margin-left: 0;
  }

  #notice_main > .card > .card-header {
    padding: 16px;
  }

  #notice_main > .card > .card-body {
    padding: 0 !important;
  }
}

@media (max-width: 575.98px) {
  #body > .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .card-body {
    padding: 0.9rem;
  }

  .sky.card.icolist {
    padding: 0.45rem !important;
  }

  .sky.card.icolist > .qc_ren,
  .sky .qc_ren,
  .sky .sky_qc_ren {
    padding-right: 0.2rem !important;
    padding-left: 0.2rem !important;
  }

  .jh-site-section-title {
    font-size: var(--jh-module-title-size);
  }

  .jh-site-section-subtitle {
    max-width: 45%;
    margin-left: 7px;
    font-size: 11px;
  }

  .sky .icolistson > div {
    min-height: 106px;
    padding: 8px 2px 6px;
  }

  .sky .icolistson img {
    width: 52px !important;
    height: 52px !important;
  }

  .jh-home-search {
    grid-template-columns: minmax(0, 1fr) 68px 34px;
    gap: 5px;
  }

  .zsky-thread-link {
    padding: 6px 7px;
    gap: 6px;
  }

  .zsky-thread-link-logo {
    width: 38px;
    height: 38px;
    margin-right: 7px;
  }

  .zsky-thread-link-button {
    flex-basis: 66px;
  }

  .my-mobile-btn-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 8px;
  }

  .my-mobile-btn-group .btn {
    font-size: 12px;
  }

  .jh-my-dashboard {
    padding-bottom: 66px;
  }

  .jh-my-profile-card {
    min-height: 0;
    padding: 15px;
  }

  .jh-my-profile-main {
    gap: 14px;
  }

  .jh-my-avatar-shell {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
  }

  .jh-my-homepage {
    top: 14px;
    right: 14px;
    height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .jh-my-name-row h1 {
    font-size: 20px;
  }

  .jh-my-stats {
    padding: 14px 0;
  }

  .jh-my-stats strong {
    font-size: 25px;
  }

  .jh-my-panel-title > span {
    font-size: 17px;
  }

  .jh-my-tools {
    row-gap: 13px;
  }

  .jh-my-tool-icon {
    width: 50px;
    height: 50px;
    font-size: 21px;
  }

  .jh-brand {
    gap: 6px;
  }

  .jh-brand-name {
    max-width: 5.5em;
    font-size: 17px;
  }

  .jh-notice-hero {
    align-items: center;
  }

  .jh-notice-hero h1 {
    font-size: 21px;
  }

  .jh-notice-hero p {
    font-size: 13px;
  }

  .jh-notice-actions #readall {
    min-width: 96px;
    height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }

  .jh-notice-categories {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .jh-notice-category {
    min-width: 0;
    min-height: 88px;
  }

  .jh-notice-category-icon {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .jh-notice-list-heading strong {
    font-size: 18px;
  }

  .jh-notice-list-heading strong + span {
    margin-left: 6px;
    font-size: 11px;
  }

  .jh-notice-list-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .jh-notice-avatar-wrap,
  .jh-notice-avatar {
    width: 44px !important;
    height: 44px !important;
  }

  .jh-notice-avatar-wrap {
    flex-basis: 44px;
    margin-right: 10px;
  }

  .jh-notice-identity strong,
  .ax-conversation-name {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .jh-my-profile-card {
    padding: 14px 12px;
  }

  .jh-my-profile-main {
    gap: 11px;
  }

  .jh-my-profile-info {
    padding-right: 76px;
  }

  .jh-my-avatar-shell {
    flex-basis: 78px;
    width: 78px;
    height: 78px;
    padding: 4px;
  }

  .jh-my-name-row h1 {
    font-size: 18px;
  }

  .jh-my-badge {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 10px;
  }

  .jh-my-bio,
  .jh-my-follow-link {
    font-size: 12px;
  }

  .jh-my-tools strong,
  .jh-my-info-list dt,
  .jh-my-info-list dd,
  .jh-my-invite-row > span,
  .jh-my-invite-row p {
    font-size: 12px;
  }

  .jh-my-info-list > div,
  .jh-my-invite-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

/* Personal center inner pages */
.jh-my-subpage {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 76px;
}

.jh-my-subpage-hero,
.jh-my-subpage-card,
.jh-my-subpage-aside {
  background: var(--jh-card);
  border: 1px solid var(--jh-border);
  border-radius: 14px;
  box-shadow: var(--jh-shadow);
}

.jh-my-subpage-hero {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  min-height: 88px;
  margin-bottom: 14px;
  padding: 14px 18px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0, rgba(135, 151, 234, 0.14), transparent 38%),
    linear-gradient(135deg, #fff, #f8f9ff);
}

.jh-my-subpage-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--jh-secondary), var(--jh-primary));
  content: "";
}

.jh-my-subpage-user,
.jh-my-subpage-heading {
  display: flex;
  min-width: 0;
  align-items: center;
}

.jh-my-subpage-user {
  gap: 10px;
}

.jh-my-subpage-user img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 3px solid #eef1ff;
  border-radius: 50%;
}

.jh-my-subpage-user div,
.jh-my-subpage-heading > div:last-child {
  min-width: 0;
}

.jh-my-subpage-user span,
.jh-my-subpage-user strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-subpage-user span {
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-my-subpage-user strong {
  margin-top: 2px;
  color: var(--jh-heading);
  font-size: 14px;
}

.jh-my-subpage-heading {
  gap: 11px;
}

.jh-my-subpage-heading-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 18px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-my-subpage-heading h1 {
  margin: 0;
  color: var(--jh-heading);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
}

.jh-my-subpage-heading p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--jh-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-subpage-back {
  display: inline-flex;
  height: 34px;
  padding: 0 13px;
  align-items: center;
  gap: 6px;
  color: var(--jh-primary);
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #cfd7fb;
  border-radius: 999px;
}

.jh-my-subpage-layout {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.jh-my-subpage-aside {
  padding: 8px;
}

.jh-my-subpage-menu {
  display: grid;
  gap: 4px;
}

.jh-my-subpage-menu a {
  display: flex;
  height: 42px;
  padding: 0 11px;
  align-items: center;
  gap: 10px;
  color: var(--jh-text);
  font-size: 12px;
  border-radius: 9px;
}

.jh-my-subpage-menu a i {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-my-subpage-menu a.active,
.jh-my-subpage-menu a:hover {
  color: var(--jh-primary);
  background: var(--jh-primary-soft);
}

.jh-my-subpage-menu a.active i {
  color: #fff;
  background: var(--jh-primary);
}

.jh-my-subpage-main,
.jh-my-subpage-card {
  min-width: 0;
}

.jh-my-subpage-card {
  overflow: hidden;
}

.jh-my-subpage-tabs {
  min-height: 50px;
  padding: 8px 14px 0;
  border-bottom: 1px solid var(--jh-border);
}

.jh-my-subpage-tabs .nav-tabs {
  display: flex;
  margin: 0;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  border: 0;
  scrollbar-width: none;
}

.jh-my-subpage-tabs .nav-tabs::-webkit-scrollbar {
  display: none;
}

.jh-my-subpage-tabs .nav-item {
  flex: 0 0 auto;
}

.jh-my-subpage-tabs .nav-link {
  position: relative;
  min-width: 72px;
  height: 41px;
  padding: 0 13px;
  color: var(--jh-muted);
  font-size: 12px;
  line-height: 41px;
  text-align: center;
  background: transparent;
  border: 0 !important;
}

.jh-my-subpage-tabs .nav-link::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  background: var(--jh-primary);
  border-radius: 99px 99px 0 0;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 0.2s ease;
}

.jh-my-subpage-tabs .nav-link.active {
  color: var(--jh-primary) !important;
  font-weight: 650;
}

.jh-my-subpage-tabs .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.jh-my-subpage-body {
  min-height: 330px;
  padding: 18px;
  color: var(--jh-text);
  font-size: 13px;
}

.jh-my-subpage-body > .card-body {
  padding: 0;
}

.jh-my-subpage-body .threadlist > li,
.jh-my-subpage-body .postlist > li,
.jh-my-subpage-body .haya-follower-empty {
  margin: 0;
  padding: 13px 4px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-my-subpage-body .threadlist > li:last-child,
.jh-my-subpage-body .postlist > li:last-child {
  border-bottom: 0;
}

.jh-my-subpage-body .avatar-3 {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.jh-my-subpage-body .pagination {
  margin-top: 18px;
  margin-bottom: 0;
}

.jh-my-subpage-body .page-link {
  color: var(--jh-primary);
  border-color: var(--jh-border);
}

.jh-my-subpage-body .page-item.active .page-link {
  color: #fff;
  background: var(--jh-primary);
  border-color: var(--jh-primary);
}

/* Unified personal content pages */
.jh-content-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  padding-left: 0 !important;
  gap: 0 !important;
  list-style: none !important;
}

.jh-content-tabs .nav-item {
  min-width: 0;
  list-style: none !important;
}

.jh-content-tabs .nav-link {
  display: flex;
  width: 100%;
  min-width: 0 !important;
  padding: 0 8px !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.jh-content-tabs .nav-link i {
  font-size: 12px;
}

.jh-content-tabs .nav-link em {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 10px;
  font-style: normal;
  line-height: 18px;
  background: var(--jh-primary-soft);
  border-radius: 999px;
}

.jh-content-collection {
  width: 100%;
}

.jh-content-intro {
  display: flex;
  min-height: 68px;
  margin-bottom: 12px;
  padding: 12px 14px;
  align-items: center;
  gap: 11px;
  background: linear-gradient(135deg, #f4f6ff, #fbfcff);
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-content-intro-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(145deg, var(--jh-secondary), var(--jh-primary));
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(107, 125, 225, 0.2);
}

.jh-content-intro div {
  min-width: 0;
}

.jh-content-intro strong {
  display: block;
  color: var(--jh-heading);
  font-size: 14px;
  line-height: 1.35;
}

.jh-content-intro p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--jh-muted);
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-my-subpage-body .jh-content-threadlist > li {
  min-height: 72px;
  margin-bottom: 8px;
  padding: 11px 12px;
  align-items: center;
  background: #fbfcff;
  border: 1px solid var(--jh-border) !important;
  border-radius: 11px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.jh-my-subpage-body .jh-content-threadlist > li:last-child {
  margin-bottom: 0;
  border-bottom: 1px solid var(--jh-border) !important;
}

.jh-content-threadlist > li:hover {
  border-color: #c7cff5 !important;
  box-shadow: 0 6px 16px rgba(53, 73, 142, 0.07);
  transform: translateY(-1px);
}

.jh-content-threadlist .avatar-3 {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover;
  background: #fff;
  border: 2px solid #e9edff;
}

.jh-content-threadlist .subject {
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-content-threadlist .subject > a {
  color: var(--jh-heading);
}

.jh-content-threadlist .subject > a:hover {
  color: var(--jh-primary);
}

.jh-content-threadlist .small,
.jh-content-threadlist .text-grey,
.jh-content-threadlist .text-muted {
  color: var(--jh-muted) !important;
  font-size: 10px;
}

.jh-content-threadlist .js-haya-favorite-remove {
  display: inline-flex;
  height: 22px;
  margin-left: 5px;
  padding: 0 7px;
  align-items: center;
  color: var(--jh-primary) !important;
  font-size: 10px !important;
  background: var(--jh-primary-soft);
  border-radius: 999px;
}

.jh-content-empty {
  display: flex;
  min-height: 260px;
  padding: 34px 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fafbff);
  border: 1px dashed #d7dcf4;
  border-radius: 13px;
}

.jh-content-empty > span {
  display: inline-flex;
  width: 66px;
  height: 66px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 25px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.55);
}

.jh-content-empty strong {
  color: var(--jh-heading);
  font-size: 14px;
}

.jh-content-empty p {
  margin: 6px 0 16px;
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-content-empty a {
  display: inline-flex;
  height: 32px;
  padding: 0 13px;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border-radius: 999px;
}

.jh-content-empty a i {
  font-size: 9px;
}

.jh-content-pagination .pagination {
  margin-top: 16px;
}

.jh-my-form {
  width: 100%;
  max-width: 480px;
  margin: 4px auto;
}

.jh-my-form-intro {
  display: flex;
  margin-bottom: 20px;
  padding: 14px;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f4f6ff, #fafbff);
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-my-form-intro > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 18px;
  background: #fff;
  border-radius: 50%;
}

.jh-my-form-intro strong,
.jh-my-form-intro p {
  display: block;
  margin: 0;
}

.jh-my-form-intro strong {
  color: var(--jh-heading);
  font-size: 15px;
}

.jh-my-form-intro p {
  margin-top: 3px;
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-my-form form > label {
  margin-bottom: 6px;
  color: var(--jh-heading);
  font-size: 12px;
  font-weight: 600;
}

.jh-my-form .form-group {
  margin-bottom: 15px;
}

.jh-my-form .form-control,
.jh-my-form .input-group-text {
  height: 42px;
  border-color: var(--jh-border);
}

.jh-my-form .input-group-text {
  width: 42px;
  justify-content: center;
  color: var(--jh-primary);
  background: var(--jh-primary-soft);
}

.jh-my-form .btn-primary {
  height: 42px;
  margin-top: 5px;
  font-size: 13px;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border: 0;
}

/* Verification application */
.jh-verify-page {
  max-width: 600px;
  margin: 0 auto;
}

.jh-verify-intro {
  margin-bottom: 12px;
}

.jh-verify-status {
  display: flex;
  margin-bottom: 14px;
  padding: 12px 14px;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid;
  border-radius: 10px;
}

.jh-verify-status > i {
  margin-top: 2px;
  flex: 0 0 auto;
  font-size: 16px;
}

.jh-verify-status strong,
.jh-verify-status p {
  display: block;
  margin: 0;
}

.jh-verify-status strong {
  color: var(--jh-heading);
  font-size: 13px;
}

.jh-verify-status p {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.55;
}

.jh-verify-status.is-approved {
  color: #27945c;
  background: #f0fbf5;
  border-color: #cdeedc;
}

.jh-verify-status.is-pending {
  color: #c7841d;
  background: #fff9ed;
  border-color: #f5dfb7;
}

.jh-verify-form {
  padding-top: 3px;
}

.jh-verify-field {
  margin-bottom: 15px;
}

.jh-verify-field > label {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
  color: var(--jh-heading);
  font-size: 12px;
  font-weight: 650;
}

.jh-verify-field > label small {
  margin-left: auto;
  color: var(--jh-muted);
  font-size: 10px;
  font-weight: 400;
}

.jh-verify-control {
  display: flex;
  min-width: 0;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 9px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.jh-verify-control:focus-within {
  border-color: var(--jh-primary);
  box-shadow: 0 0 0 3px rgba(107, 125, 225, 0.1);
}

.jh-verify-control > span {
  display: inline-flex;
  width: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 13px;
  background: var(--jh-primary-soft);
}

.jh-verify-control .form-control {
  height: 40px;
  padding: 0 12px;
  color: var(--jh-heading);
  font-size: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.jh-verify-textarea-control > span {
  align-items: flex-start;
  padding-top: 13px;
}

.jh-verify-textarea-control textarea.form-control {
  min-height: 104px;
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 1.65;
  resize: vertical;
}

.jh-verify-upload {
  position: relative;
  padding: 11px;
  background: #fafbff;
  border: 1px dashed #cfd7fb;
  border-radius: 10px;
}

.jh-verify-upload > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.jh-verify-upload-button {
  display: flex;
  min-height: 54px;
  margin: 0;
  padding: 7px 9px;
  align-items: center;
  gap: 11px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 8px;
  cursor: pointer;
}

.jh-verify-upload-button > i {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 15px;
  background: var(--jh-primary-soft);
  border-radius: 8px;
}

.jh-verify-upload-button strong,
.jh-verify-upload-button small {
  display: block;
}

.jh-verify-upload-button strong {
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-verify-upload-button small {
  margin-top: 2px;
  color: var(--jh-muted);
  font-size: 9px;
}

.jh-verify-upload .progress {
  height: 5px;
  margin: 9px 2px 0;
  overflow: hidden;
  background: #e8ebf5;
  border-radius: 999px;
}

.jh-verify-preview {
  margin-top: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 8px;
}

.jh-verify-preview.is-ready {
  display: flex;
  min-height: 110px;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

.jh-verify-preview img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 6px;
}

.jh-verify-preview.is-empty {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
}

.jh-verify-preview.is-empty img,
.jh-verify-preview.is-ready > div {
  display: none;
}

.jh-verify-preview > div {
  color: var(--jh-muted);
  font-size: 10px;
  text-align: center;
}

.jh-verify-preview > div i,
.jh-verify-preview > div span {
  display: block;
}

.jh-verify-preview > div i {
  margin-bottom: 5px;
  color: var(--jh-secondary);
  font-size: 20px;
}

.jh-verify-submit {
  display: flex !important;
  height: 42px;
  margin-top: 4px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary)) !important;
  border: 0 !important;
  border-radius: 9px;
  box-shadow: 0 7px 16px rgba(107, 125, 225, 0.18);
}

/* Public user profile */
.jh-user-page {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 76px;
}

.jh-user-hero,
.jh-user-main-nav,
.jh-user-content-card,
.jh-user-page > .card {
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 14px;
  box-shadow: var(--jh-shadow);
}

.jh-user-hero {
  position: relative;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% -16%, rgba(107, 125, 225, 0.17), transparent 38%),
    linear-gradient(135deg, #fff 0%, #f7f8ff 100%);
}

.jh-user-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, var(--jh-secondary), var(--jh-primary));
}

.jh-user-profile-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
}

.jh-user-avatar-wrap {
  width: 82px;
  height: 82px;
  padding: 4px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #d9e0fb;
  border-radius: 23px;
  box-shadow: 0 8px 22px rgba(58, 78, 142, 0.14);
}

.jh-user-avatar-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.jh-user-identity {
  min-width: 0;
}

.jh-user-name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.jh-user-name-row h1 {
  margin: 0;
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-user-name-row > img {
  flex: 0 0 auto;
}

.jh-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.jh-user-badges > span {
  display: inline-flex;
  min-height: 22px;
  padding: 2px 8px !important;
  align-items: center;
  color: var(--jh-primary) !important;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  background: var(--jh-primary-soft) !important;
  border-radius: 999px;
}

.jh-user-badges > span:nth-child(2) {
  color: #4f63cd !important;
  background: #e8ebff !important;
}

.jh-user-badges > span:last-child:not(:nth-child(2)) {
  color: #bf7c08 !important;
  background: #fff4d7 !important;
}

.jh-user-identity > p {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--jh-muted);
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-user-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.jh-user-actions > br {
  display: none;
}

.jh-user-actions .btn,
.jh-user-my-center {
  display: inline-flex;
  min-width: 88px;
  height: 34px;
  margin: 0 !important;
  padding: 0 11px !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--jh-primary) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: #fff !important;
  border: 1px solid #cbd4fb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.jh-user-actions .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary)) !important;
  border-color: transparent !important;
}

.jh-user-my-center .fa-chevron-right {
  margin-left: 3px;
  font-size: 8px;
}

.jh-user-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--jh-border);
}

.jh-user-stats > a,
.jh-user-stats > div {
  position: relative;
  display: flex;
  min-width: 0;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.jh-user-stats > a:not(:last-child)::after,
.jh-user-stats > div:not(:last-child)::after {
  position: absolute;
  top: 5px;
  right: 0;
  bottom: 5px;
  width: 1px;
  content: "";
  background: var(--jh-border);
}

.jh-user-stats strong,
.jh-user-stats b {
  color: var(--jh-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.jh-user-stats span {
  margin-top: 4px;
  color: var(--jh-muted) !important;
  font-size: 10px;
}

.jh-user-stats br {
  display: none;
}

.jh-user-main-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
  padding: 8px;
}

.jh-user-main-nav > a {
  display: inline-flex;
  min-width: 0;
  height: 40px;
  margin: 0 !important;
  padding: 0 8px !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--jh-muted) !important;
  font-size: 12px;
  font-weight: 600;
  background: #f7f8fd !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.jh-user-main-nav > a[data-active="menu-user-follow"]::before {
  content: "\f005";
  font-family: "Font Awesome 5 Free";
  font-size: 11px;
  font-weight: 900;
}

.jh-user-main-nav > a.active,
.jh-user-main-nav > a:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary)) !important;
}

.jh-user-content-card,
.jh-user-page > .card {
  margin-top: 12px;
  overflow: hidden;
}

.jh-user-content-tabs {
  min-height: 48px;
  padding: 7px 13px 0;
  border-bottom: 1px solid var(--jh-border);
}

.jh-user-content-tabs .nav-tabs {
  display: flex;
  margin: 0;
  gap: 5px;
  border: 0;
}

.jh-user-content-tabs .nav-link {
  position: relative;
  height: 40px;
  padding: 0 12px !important;
  color: var(--jh-muted);
  font-size: 12px;
  line-height: 40px;
  border: 0 !important;
}

.jh-user-content-tabs .nav-link::after {
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  content: "";
  background: var(--jh-primary);
  border-radius: 99px 99px 0 0;
  opacity: 0;
}

.jh-user-content-tabs .nav-link.active {
  color: var(--jh-primary) !important;
  font-weight: 650;
  background: transparent !important;
}

.jh-user-content-tabs .nav-link.active::after {
  opacity: 1;
}

.jh-user-content-body {
  min-height: 260px;
  padding: 16px;
}

.jh-user-details {
  max-width: 680px;
}

.jh-user-detail-intro {
  display: flex;
  margin-bottom: 12px;
  padding: 12px;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f4f6ff, #fafbff);
  border: 1px solid var(--jh-border);
  border-radius: 10px;
}

.jh-user-detail-intro > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 15px;
  background: #fff;
  border-radius: 50%;
}

.jh-user-detail-intro strong,
.jh-user-detail-intro p {
  display: block;
  margin: 0;
}

.jh-user-detail-intro strong {
  color: var(--jh-heading);
  font-size: 13px;
}

.jh-user-detail-intro p {
  margin-top: 2px;
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-user-details dl {
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
}

.jh-user-details dl > div {
  display: grid;
  min-height: 42px;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-user-details dl > div:last-child {
  border-bottom: 0;
}

.jh-user-details dt,
.jh-user-details dd {
  margin: 0;
  font-size: 11px;
}

.jh-user-details dt {
  color: var(--jh-muted);
  font-weight: 400;
}

.jh-user-details dd {
  overflow: hidden;
  color: var(--jh-heading);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-user-admin-action {
  max-width: 680px;
  margin-top: 12px;
}

.jh-user-content-body .threadlist > li {
  padding: 11px 2px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-user-content-body .threadlist > li:last-child {
  border-bottom: 0;
}

/* Public user follow lists */
.jh-user-follow-tabs {
  display: flex;
  gap: 6px;
}

.jh-user-follow-tabs > a {
  position: relative;
  display: inline-flex;
  height: 40px;
  padding: 0 14px;
  align-items: center;
  color: var(--jh-muted);
  font-size: 12px;
}

.jh-user-follow-tabs > a::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  content: "";
  background: var(--jh-primary);
  border-radius: 99px 99px 0 0;
  opacity: 0;
}

.jh-user-follow-tabs > a.active {
  color: var(--jh-primary);
  font-weight: 650;
}

.jh-user-follow-tabs > a.active::after {
  opacity: 1;
}

.jh-user-follow-list {
  max-width: 680px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jh-user-follow-item {
  display: grid;
  min-height: 68px;
  padding: 10px 2px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-user-follow-item:last-child {
  border-bottom: 0;
}

.jh-user-follow-avatar,
.jh-user-follow-avatar img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.jh-user-follow-avatar {
  padding: 2px;
  background: #fff;
  border: 1px solid var(--jh-border);
}

.jh-user-follow-avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 11px;
}

.jh-user-follow-info {
  min-width: 0;
}

.jh-user-follow-name {
  display: block;
  overflow: hidden;
  color: var(--jh-heading) !important;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-user-follow-info > span {
  display: block;
  margin-top: 4px;
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-user-follow-info > span i {
  margin-right: 2px;
  color: var(--jh-secondary);
}

.jh-user-follow-action,
.jh-user-follow-self {
  display: inline-flex;
  min-width: 66px;
  height: 30px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
}

.jh-user-follow-action.is-followed,
.jh-user-follow-self {
  color: var(--jh-primary);
  background: #fff;
  border-color: var(--jh-border-strong);
}

.jh-user-follow-empty {
  display: flex;
  min-height: 190px;
  padding: 30px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.jh-user-follow-empty > span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 11px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 18px;
  background: var(--jh-icon-bg);
  border-radius: 15px;
}

.jh-user-follow-empty strong {
  color: var(--jh-heading);
  font-size: 13px;
}

.jh-user-follow-empty p {
  margin: 5px 0 0;
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-user-follow-pagination {
  padding-top: 14px;
}

@media (max-width: 767.98px) {
  .jh-user-page {
    padding: 8px 8px 76px;
  }

  .jh-user-hero {
    padding: 14px 13px;
    border-radius: 13px;
  }

  .jh-user-profile-main {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 11px;
  }

  .jh-user-avatar-wrap {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }

  .jh-user-avatar-wrap img {
    border-radius: 14px;
  }

  .jh-user-name-row h1 {
    font-size: 18px;
  }

  .jh-user-identity > p {
    max-width: 230px;
  }

  .jh-user-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .jh-user-actions .btn,
  .jh-user-my-center {
    min-width: 82px;
    height: 32px;
  }

  .jh-user-stats {
    margin-top: 13px;
    padding-top: 12px;
  }

  .jh-user-stats strong,
  .jh-user-stats b {
    font-size: 16px;
  }

  .jh-user-main-nav {
    margin-top: 10px;
    padding: 7px;
  }

  .jh-user-main-nav > a {
    height: 38px;
    font-size: 11px;
  }

  .jh-user-content-card,
  .jh-user-page > .card {
    margin-top: 10px;
    border-radius: 13px;
  }

  .jh-user-content-body {
    min-height: 250px;
    padding: 12px;
  }

  .jh-user-details dl > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

.jh-my-avatar-form {
  text-align: center;
}

.jh-my-avatar-preview > span {
  display: inline-flex;
  width: 116px;
  height: 116px;
  padding: 6px;
  background: #fff;
  border: 2px solid #d7defb;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(75, 94, 165, 0.12);
}

.jh-my-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.jh-my-avatar-preview strong,
.jh-my-avatar-preview p {
  display: block;
}

.jh-my-avatar-preview strong {
  margin-top: 12px;
  color: var(--jh-heading);
  font-size: 15px;
}

.jh-my-avatar-preview p {
  margin: 4px 0 18px;
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-my-upload-button {
  display: inline-flex;
  height: 40px;
  padding: 0 18px;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border-radius: 8px;
  cursor: pointer;
}

.jh-my-avatar-form > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.jh-raffle-summary,
.jh-credits-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jh-raffle-summary > div,
.jh-credits-assets > div {
  display: grid;
  min-height: 112px;
  padding: 12px;
  place-items: center;
  align-content: center;
  background: linear-gradient(145deg, #f7f8ff, #eef1ff);
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-raffle-summary span,
.jh-credits-assets span {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 15px;
  background: #fff;
  border-radius: 50%;
}

.jh-raffle-summary small,
.jh-credits-assets small {
  margin-top: 6px;
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-raffle-summary strong,
.jh-credits-assets strong {
  margin-top: 2px;
  color: var(--jh-heading);
  font-size: 18px;
}

.jh-raffle-summary em {
  color: var(--jh-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.jh-raffle-purchase {
  margin-top: 14px;
  padding: 16px;
  background: #fafbff;
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-raffle-purchase-copy strong {
  color: var(--jh-heading);
  font-size: 15px;
}

.jh-raffle-purchase-copy p {
  margin: 3px 0 12px;
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-raffle-purchase .form-control,
.jh-raffle-purchase .btn {
  height: 42px;
}

.jh-raffle-go {
  display: flex;
  height: 42px;
  margin-top: 10px;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  color: var(--jh-primary);
  font-size: 12px;
  background: var(--jh-primary-soft);
  border-radius: 8px;
}

.jh-raffle-go .fa-chevron-right {
  margin-left: auto;
  font-size: 10px;
}

.jh-luck-history-summary {
  display: flex;
  margin-bottom: 12px;
  padding: 13px 14px;
  align-items: center;
  gap: 11px;
  background: linear-gradient(135deg, #f4f6ff, #fbfcff);
  border: 1px solid var(--jh-border);
  border-radius: 11px;
}

.jh-luck-history-summary > span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 16px;
  background: #fff;
  border-radius: 50%;
}

.jh-luck-history-summary strong,
.jh-luck-history-summary p {
  display: block;
  margin: 0;
}

.jh-luck-history-summary strong {
  color: var(--jh-heading);
  font-size: 14px;
}

.jh-luck-history-summary p {
  margin-top: 3px;
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-luck-history-summary p b {
  color: var(--jh-primary);
}

.jh-luck-history-list {
  display: grid;
  gap: 8px;
}

.jh-luck-history-item {
  display: flex;
  min-width: 0;
  padding: 12px;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
}

.jh-luck-history-icon {
  display: inline-flex;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 16px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-luck-history-item.is-winning .jh-luck-history-icon {
  color: #fff;
  background: linear-gradient(135deg, #f6bc4a, #ed9228);
  box-shadow: 0 5px 13px rgba(237, 146, 40, 0.18);
}

.jh-luck-history-main {
  min-width: 0;
  flex: 1 1 auto;
}

.jh-luck-history-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.jh-luck-history-title strong {
  min-width: 0;
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-luck-history-title span {
  padding: 2px 7px;
  flex: 0 0 auto;
  color: var(--jh-muted);
  font-size: 9px;
  background: #f0f2f6;
  border-radius: 999px;
}

.jh-luck-history-item.is-winning .jh-luck-history-title span {
  color: #d77d09;
  background: #fff4da;
}

.jh-luck-history-award,
.jh-luck-history-tip {
  margin: 4px 0 0;
  font-size: 11px;
}

.jh-luck-history-award {
  color: #d77d09;
}

.jh-luck-history-award b {
  font-weight: 700;
}

.jh-luck-history-tip {
  color: var(--jh-muted);
}

.jh-luck-history-item time {
  display: inline-flex;
  margin-top: 5px;
  align-items: center;
  gap: 4px;
  color: var(--jh-muted);
  font-size: 9px;
}

.jh-record-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: 340px;
  margin: 16px auto 0;
  align-items: center;
  gap: 10px;
}

.jh-record-pager > a,
.jh-record-pager > span {
  display: inline-flex;
  height: 34px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--jh-primary);
  font-size: 10px;
  background: #fff;
  border: 1px solid #cfd7fb;
  border-radius: 8px;
}

.jh-record-pager > span.is-disabled {
  color: #aab3c4;
  background: #f6f7fa;
  border-color: #e5e8ef;
}

.jh-record-pager > em {
  min-width: 54px;
  color: var(--jh-muted);
  font-size: 10px;
  font-style: normal;
  text-align: center;
}

.jh-record-pager > em strong {
  color: var(--jh-primary);
  font-size: 13px;
}

.jh-record-pager > :last-child {
  justify-self: end;
}

.jh-credits-level {
  position: relative;
  margin-bottom: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #f2f4ff, #fafbff);
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-credits-level span,
.jh-credits-level strong {
  display: block;
}

.jh-credits-level span {
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-credits-level strong {
  margin-top: 3px;
  color: var(--jh-heading);
  font-size: 16px;
}

.jh-credits-level em {
  position: absolute;
  top: 17px;
  right: 16px;
  color: var(--jh-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.jh-credits-level .progress {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  background: #e7eaf6;
  border-radius: 99px;
}

.jh-credit-trade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.jh-trade-card {
  min-width: 0;
  padding: 15px;
  background: linear-gradient(145deg, #fff, #fafbff);
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-trade-card-head {
  display: flex;
  padding-bottom: 13px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-trade-card-head > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 15px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-trade-card-head strong,
.jh-trade-card-head p {
  display: block;
  margin: 0;
}

.jh-trade-card-head strong {
  color: var(--jh-heading);
  font-size: 15px;
  font-weight: 700;
}

.jh-trade-card-head p {
  margin-top: 2px;
  color: var(--jh-muted);
  font-size: 10px;
  line-height: 1.45;
}

.jh-trade-block {
  padding-top: 13px;
}

.jh-trade-block + .jh-trade-block {
  margin-top: 14px;
  border-top: 1px dashed var(--jh-border);
}

.jh-trade-direction {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--jh-heading);
  font-size: 11px;
  font-weight: 650;
}

.jh-trade-direction span {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  gap: 4px;
  background: var(--jh-primary-soft);
  border-radius: 999px;
}

.jh-trade-direction small {
  color: var(--jh-muted);
  font-size: 9px;
  font-weight: 400;
}

.jh-trade-direction > i {
  color: var(--jh-secondary);
}

.jh-trade-card label {
  display: block;
  margin-bottom: 5px;
  color: var(--jh-heading);
  font-size: 11px;
  font-weight: 600;
}

.jh-trade-card .form-control {
  height: 40px;
  color: var(--jh-text);
  font-size: 12px;
  background-color: #fff;
  border-color: var(--jh-border);
  border-radius: 8px;
}

.jh-trade-card .form-control:focus {
  border-color: #b8c3f6;
  box-shadow: 0 0 0 3px rgba(107, 125, 225, 0.1);
}

.jh-trade-input-wrap {
  position: relative;
}

.jh-trade-input-wrap .form-control {
  padding-right: 58px;
}

.jh-trade-input-wrap > span {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--jh-muted);
  font-size: 10px;
  transform: translateY(-50%);
}

.jh-trade-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 10px 0;
  padding: 10px 0;
  background: #f7f8fd;
  border-radius: 8px;
}

.jh-trade-result > div {
  min-width: 0;
  padding: 0 10px;
}

.jh-trade-result > div + div {
  border-left: 1px solid var(--jh-border);
}

.jh-trade-result small,
.jh-trade-result strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-trade-result small {
  color: var(--jh-muted);
  font-size: 9px;
}

.jh-trade-result strong {
  margin-top: 2px;
  color: var(--jh-heading);
  font-size: 12px;
}

.jh-trade-result b {
  color: var(--jh-primary);
  font-weight: 700;
}

.jh-trade-submit {
  min-width: 104px;
  height: 38px;
  padding: 0 16px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 650;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary)) !important;
  border: 0 !important;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(107, 125, 225, 0.16);
}

.jh-transfer-form {
  padding-top: 13px;
}

.jh-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.jh-transfer-form > label {
  margin-top: 10px;
}

.jh-transfer-form select {
  margin-bottom: 10px;
}

.jh-prize-record,
.jh-store-record {
  display: flex;
  min-width: 0;
  padding: 13px 2px;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-prize-record:last-child,
.jh-store-record:last-child {
  border-bottom: 0;
}

.jh-prize-record-icon,
.jh-store-record-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 16px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-prize-record-winning .jh-prize-record-icon {
  color: #fff;
  background: linear-gradient(135deg, #f7b840, #ee8f24);
}

.jh-prize-record-main,
.jh-store-record > div {
  min-width: 0;
  flex: 1 1 auto;
}

.jh-prize-record-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.jh-prize-record-title > a {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
  color: var(--jh-heading);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-prize-record-title > span {
  flex: 0 0 auto;
  padding: 2px 7px;
  font-size: 9px;
  border-radius: 999px;
}

.jh-prize-record-title .is-winning {
  color: #d77d09;
  background: #fff4da;
}

.jh-prize-record-title .is-finished {
  color: var(--jh-muted);
  background: #f0f2f6;
}

.jh-prize-record-title .is-pending {
  color: var(--jh-primary);
  background: var(--jh-primary-soft);
}

.jh-prize-record-award {
  margin: 5px 0 0;
  color: #d77d09;
  font-size: 11px;
}

.jh-prize-record-meta {
  display: flex;
  margin-top: 5px;
  align-items: center;
  gap: 13px;
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-prize-record-meta span,
.jh-prize-record-meta a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--jh-muted);
}

.jh-my-empty {
  display: flex;
  min-height: 250px;
  padding: 30px 15px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.jh-my-empty > span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 22px;
  background: var(--jh-primary-soft);
  border-radius: 50%;
}

.jh-my-empty strong {
  margin-top: 11px;
  color: var(--jh-heading);
  font-size: 14px;
}

.jh-my-empty p {
  margin: 4px 0 0;
  color: var(--jh-muted);
  font-size: 11px;
}

.jh-store-record > div strong,
.jh-store-record > div code,
.jh-store-record > div small {
  display: block;
}

.jh-store-record > div strong {
  overflow: hidden;
  color: var(--jh-heading);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-store-record > div code {
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 7px;
  overflow: hidden;
  color: var(--jh-primary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--jh-primary-soft);
  border-radius: 5px;
}

.jh-store-record > div small {
  margin-top: 4px;
  color: var(--jh-muted);
  font-size: 9px;
}

.jh-store-copy {
  height: 30px;
  padding: 0 11px;
  flex: 0 0 auto;
  color: var(--jh-primary);
  font-size: 10px;
  background: #fff;
  border: 1px solid #cfd7fb;
  border-radius: 7px;
}

.jh-personal-sign-hero {
  display: flex;
  padding: 17px;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f4f6ff, #fbfcff);
  border: 1px solid var(--jh-border);
  border-radius: 12px;
}

.jh-personal-sign-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  color: var(--jh-primary);
  font-size: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(76, 96, 171, 0.1);
}

.jh-personal-sign-hero.is-signed .jh-personal-sign-mark {
  color: #fff;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
}

.jh-personal-sign-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.jh-personal-sign-copy strong {
  display: block;
  color: var(--jh-heading);
  font-size: 15px;
}

.jh-personal-sign-copy p {
  margin: 3px 0 0;
  color: var(--jh-muted);
  font-size: 10px;
}

.jh-personal-sign-hero .btn {
  min-width: 92px;
  height: 36px;
  color: #fff;
  font-size: 11px;
  background: linear-gradient(135deg, var(--jh-secondary), var(--jh-primary));
  border: 0;
}

.jh-personal-sign-hero .btn:disabled {
  color: var(--jh-muted);
  background: #e9ecf5;
  opacity: 1;
}

.jh-personal-sign-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  gap: 8px;
}

.jh-personal-sign-stats > div {
  display: flex;
  min-width: 0;
  min-height: 104px;
  padding: 10px 5px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fafbff;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
}

.jh-personal-sign-stats span {
  color: var(--jh-primary);
  font-size: 15px;
}

.jh-personal-sign-stats strong {
  margin-top: 5px;
  color: var(--jh-heading);
  font-size: 18px;
}

.jh-personal-sign-stats small {
  margin-top: 2px;
  color: var(--jh-muted);
  font-size: 9px;
}

.jh-personal-sign-detail {
  margin-top: 12px;
  padding: 0 13px;
  border: 1px solid var(--jh-border);
  border-radius: 10px;
}

.jh-personal-sign-detail > div {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--jh-border);
}

.jh-personal-sign-detail > div:last-child {
  border-bottom: 0;
}

.jh-personal-sign-detail span,
.jh-personal-sign-detail strong {
  font-size: 11px;
}

.jh-personal-sign-detail span {
  color: var(--jh-muted);
}

.jh-personal-sign-detail strong {
  color: var(--jh-heading);
  font-weight: 600;
}

.jh-my-subpage-body .table {
  margin: 0;
  color: var(--jh-text);
  font-size: 12px;
}

.jh-my-subpage-body .table th {
  color: var(--jh-heading);
  font-weight: 650;
  background: #f7f8fd;
  border-top: 0;
}

.jh-my-subpage-body .table td,
.jh-my-subpage-body .table th {
  padding: 11px 9px;
  vertical-align: middle;
  border-color: var(--jh-border);
}

.jh-my-subpage-body .tt_card,
.jh-my-subpage-body .tt_card_s {
  height: auto !important;
  min-height: 200px;
  margin-bottom: 0 !important;
  padding: 16px !important;
  background: linear-gradient(135deg, #f4f6ff, #fbfcff) !important;
  border: 1px solid var(--jh-border);
  border-radius: 12px !important;
  box-shadow: none !important;
}

.jh-my-subpage-body .tt_card_title {
  margin: 0 0 14px !important;
  color: var(--jh-heading) !important;
  font-size: 16px !important;
  font-weight: 700;
}

.jh-my-subpage-body .tt_content {
  width: 100% !important;
  margin: 0 !important;
  color: var(--jh-muted);
  font-size: 12px;
  line-height: 1.8;
}

.jh-my-subpage-body .tt_content .form-control {
  width: 100% !important;
  height: 40px;
  margin: 8px 0;
  border-color: var(--jh-border);
}

.jh-my-subpage-body .tt_content .btn {
  position: static !important;
  min-width: 88px;
  height: 36px;
  margin-top: 8px;
  color: #fff;
  background: var(--jh-primary);
  border-color: var(--jh-primary);
}

.jh-my-subpage-body .haya-follow-timeline-tab,
.jh-my-subpage-body [class*="follow-timeline-tab"] {
  margin-bottom: 12px;
}

.jh-my-subpage-body .btn-light,
.jh-my-subpage-body .btn-outline-info,
.jh-my-subpage-body .btn-outline-success,
.jh-my-subpage-body .btn-outline-secondary {
  color: var(--jh-primary);
  background: #fff;
  border-color: #cfd7fb;
}

@media (max-width: 767.98px) {
  .jh-my-subpage {
    padding-bottom: 68px;
  }

  .jh-my-subpage-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 78px;
    margin: 8px 8px 12px;
    padding: 12px 13px;
  }

  .jh-my-subpage-user {
    display: none;
  }

  .jh-my-subpage-heading {
    gap: 9px;
  }

  .jh-my-subpage-heading-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 16px;
  }

  .jh-my-subpage-heading h1 {
    font-size: 17px;
  }

  .jh-my-subpage-heading p {
    max-width: 220px;
    font-size: 10px;
  }

  .jh-my-subpage-back {
    height: 32px;
    padding: 0 11px;
    font-size: 11px;
  }

  .jh-my-subpage-layout {
    display: block;
  }

  .jh-my-subpage-aside {
    display: none;
  }

  .jh-my-subpage-card {
    margin: 0 8px;
    border-radius: 13px;
  }

  .jh-my-subpage-tabs {
    min-height: 46px;
    padding: 6px 10px 0;
  }

  .jh-my-subpage-tabs .nav-link {
    height: 39px;
    padding: 0 11px;
    font-size: 11px;
    line-height: 39px;
  }

  .jh-my-subpage-body {
    min-height: 360px;
    padding: 14px 12px;
  }

  .jh-my-subpage-body .threadlist > li,
  .jh-my-subpage-body .postlist > li {
    padding: 11px 0;
  }

  .jh-content-tabs .nav-link {
    padding: 0 4px !important;
    gap: 4px;
  }

  .jh-content-tabs .nav-link i {
    font-size: 11px;
  }

  .jh-content-tabs .nav-link em {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
    line-height: 16px;
  }

  .jh-content-intro {
    min-height: 62px;
    margin-bottom: 10px;
    padding: 10px 11px;
  }

  .jh-content-intro-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 14px;
    border-radius: 10px;
  }

  .jh-my-subpage-body .jh-content-threadlist > li {
    min-height: 68px;
    margin-bottom: 7px;
    padding: 10px 9px;
  }

  .jh-content-threadlist > li > a {
    margin-right: 9px !important;
    margin-left: 0 !important;
  }

  .jh-content-empty {
    min-height: 250px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .jh-raffle-summary,
  .jh-credits-assets {
    gap: 7px;
  }

  .jh-raffle-summary > div,
  .jh-credits-assets > div {
    min-height: 102px;
    padding: 9px 5px;
  }

  .jh-raffle-summary strong,
  .jh-credits-assets strong {
    font-size: 16px;
  }

  .jh-my-subpage-body .table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .jh-credit-trade {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .jh-trade-card {
    padding: 14px;
  }

  .jh-trade-submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .jh-transfer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jh-personal-sign-hero {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .jh-personal-sign-hero .btn {
    width: 100%;
  }

  .jh-personal-sign-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jh-luck-history-summary {
    padding: 12px;
  }

  .jh-luck-history-item {
    padding: 11px 10px;
  }

  .jh-record-pager > a,
  .jh-record-pager > span {
    padding: 0 10px;
  }
}

@media (max-width: 380px) {
  .jh-my-subpage-heading p {
    max-width: 170px;
  }

  .jh-my-subpage-back span {
    display: none;
  }

  .jh-my-subpage-back {
    width: 32px;
    padding: 0;
    justify-content: center;
  }
}
