/* Hankz homepage polish - loaded by my-child-theme/functions.php */
:root {
  --hankz-accent: #5b8cff;
  --hankz-accent-2: #ff7aa8;
  --hankz-ink: #172033;
  --hankz-soft-bg: #f5f7fb;
}

body.home.wp-theme-my-child-theme {
  background: var(--hankz-soft-bg);
  color: var(--hankz-ink);
}

body.home.wp-theme-my-child-theme .main-header {
  padding-top: 12px;
}

body.home.wp-theme-my-child-theme .header-nav {
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 14px 44px rgba(8, 16, 36, .12) !important;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

body.home.wp-theme-my-child-theme .navbar-logo,
body.home.wp-theme-my-child-theme .header-weather {
  color: rgba(255, 255, 255, .95) !important;
}

body.home.wp-theme-my-child-theme .navbar-header > li > a,
body.home.wp-theme-my-child-theme .navbar-header a {
  color: rgba(255, 255, 255, .96) !important;
  font-weight: 600;
  letter-spacing: 0;
}

body.home.wp-theme-my-child-theme .navbar-header > li > a:hover,
body.home.wp-theme-my-child-theme .navbar-header a:hover {
  color: #fff !important;
  text-shadow: 0 0 18px rgba(255, 255, 255, .35);
}

body.home.wp-theme-my-child-theme .header-big {
  height: min(600px, 80vh) !important;
  min-height: 520px;
  margin-bottom: 20px !important;
  overflow: hidden;
}

body.home.wp-theme-my-child-theme .header-big::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(12, 20, 38, .05), rgba(35, 45, 70, .03) 42%, rgba(245, 247, 251, .66) 100%);
  pointer-events: none;
}

body.home.wp-theme-my-child-theme .header-big > * {
  position: relative;
  z-index: 1;
}

body.home.wp-theme-my-child-theme .search-container {
  height: 520px !important;
  min-height: 520px !important;
  padding: 0 !important;
}

body.home.wp-theme-my-child-theme #search.big-search {
  position: relative !important;
  height: 520px !important;
  margin: 0 auto !important;
}

body.home.wp-theme-my-child-theme .search-box-big {
  position: absolute !important;
  top: 230px !important;
  left: 50% !important;
  width: min(760px, calc(100vw - 48px)) !important;
  transform: translateX(-50%) !important;
}

/* Keep the original search behavior, but do not show the default "站内" tab text on the hero. */
body.home.wp-theme-my-child-theme .search-box-big .search-list-menu {
  display: none !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) {
  width: min(760px, calc(100vw - 48px)) !important;
  margin: 0 auto !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 24px 70px rgba(31, 42, 68, .20), 0 0 0 1px rgba(255, 255, 255, .74);
  overflow: hidden;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) input {
  height: 52px !important;
  color: #263246 !important;
  font-size: 15px;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) input::placeholder {
  color: #a3acba !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) button,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .btn,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .search-submit-btn {
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--hankz-accent), var(--hankz-accent-2)) !important;
  box-shadow: 0 12px 28px rgba(91, 140, 255, .28);
}

body.home.wp-theme-my-child-theme .search-list-group {
  margin-top: 10px;
}

body.home.wp-theme-my-child-theme .home-container {
  margin-top: 0 !important;
  padding-top: 8px;
}

body.home.wp-theme-my-child-theme .card,
body.home.wp-theme-my-child-theme .url-card .url-body,
body.home.wp-theme-my-child-theme .io-sidebar-widget {
  border: 1px solid rgba(23, 32, 51, .06);
  border-radius: 16px !important;
  box-shadow: 0 14px 40px rgba(31, 42, 68, .07);
}


@media (max-width: 768px) {
  body.home.wp-theme-my-child-theme .header-big {
    height: auto !important;
    min-height: 430px;
  }

  body.home.wp-theme-my-child-theme .search-container,
  body.home.wp-theme-my-child-theme #search.big-search {
    height: 390px !important;
    min-height: 390px !important;
  }

  body.home.wp-theme-my-child-theme .search-box-big {
    top: 165px !important;
    width: calc(100vw - 28px) !important;
  }

  body.home.wp-theme-my-child-theme .header-nav,
  body.home.wp-theme-my-child-theme .search-form:not(.search-card) {
    border-radius: 16px;
  }
}

/* Refined transparent header, hitokoto, scroll readability, and lantern. */
body.wp-theme-my-child-theme .main-header {
  transition: background .22s ease, box-shadow .22s ease, padding .22s ease;
}

body.wp-theme-my-child-theme .header-nav {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.home.wp-theme-my-child-theme .main-header:not(.show),
body.home.wp-theme-my-child-theme .main-header:not(.is-scroll) {
  background: transparent !important;
  box-shadow: none !important;
}

body.wp-theme-my-child-theme .main-header.show,
body.wp-theme-my-child-theme .main-header.is-scroll,
body:not(.home).wp-theme-my-child-theme .main-header {
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 12px 36px rgba(23, 32, 51, .08) !important;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

body.wp-theme-my-child-theme .main-header.show .navbar-header > li > a,
body.wp-theme-my-child-theme .main-header.is-scroll .navbar-header > li > a,
body:not(.home).wp-theme-my-child-theme .main-header .navbar-header > li > a,
body.wp-theme-my-child-theme .main-header.show .navbar-logo,
body.wp-theme-my-child-theme .main-header.is-scroll .navbar-logo,
body:not(.home).wp-theme-my-child-theme .main-header .navbar-logo,
body.wp-theme-my-child-theme .main-header.show .header-weather,
body.wp-theme-my-child-theme .main-header.is-scroll .header-weather,
body:not(.home).wp-theme-my-child-theme .main-header .header-weather {
  color: rgba(23, 32, 51, .90) !important;
  text-shadow: none !important;
}

body.home.wp-theme-my-child-theme .main-header:not(.show):not(.is-scroll) .navbar-header > li > a,
body.home.wp-theme-my-child-theme .main-header:not(.show):not(.is-scroll) .navbar-logo,
body.home.wp-theme-my-child-theme .main-header:not(.show):not(.is-scroll) .header-weather {
  color: rgba(255, 255, 255, .94) !important;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .20);
}

body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) {
  max-width: min(34vw, 520px);
  margin-left: 18px !important;
}

body.wp-theme-my-child-theme #hitokoto {
  display: block;
  max-width: min(34vw, 520px);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 58px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.wp-theme-my-child-theme #hitokoto::before {
  content: none !important;
}

body.wp-theme-my-child-theme .main-header.show #hitokoto,
body.wp-theme-my-child-theme .main-header.is-scroll #hitokoto,
body:not(.home).wp-theme-my-child-theme #hitokoto {
  color: rgba(23, 32, 51, .68);
}

@media (min-width: 1200px) {
  body.wp-theme-my-child-theme .header-tools .nav-item.d-none.d-xxl-block:has(#hitokoto) {
    display: block !important;
  }
}

.hankz-lantern {
  position: fixed;
  top: 92px;
  left: 24px;
  z-index: 20;
  width: 70px;
  height: 112px;
  pointer-events: none;
  opacity: .92;
  filter: drop-shadow(0 10px 20px rgba(120, 0, 0, .22));
}

.hankz-lantern-line {
  position: absolute;
  top: 0;
  left: 34px;
  width: 2px;
  height: 24px;
  background: #dc8f03;
}

.hankz-lantern-body {
  position: absolute;
  top: 22px;
  left: 0;
  width: 70px;
  height: 58px;
  border-radius: 50%;
  background: rgba(216, 0, 15, .82);
  box-shadow: 0 8px 24px rgba(250, 108, 0, .36), inset 0 0 14px rgba(255, 194, 83, .22);
  transform-origin: 50% -54px;
  animation: hankz-lantern-swing 4.8s infinite ease-in-out;
}

.hankz-lantern-body::before,
.hankz-lantern-body::after {
  content: "";
  position: absolute;
  left: 16px;
  width: 38px;
  height: 8px;
  border: 1px solid #dc8f03;
  background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
}

.hankz-lantern-body::before { top: -6px; border-radius: 5px 5px 0 0; }
.hankz-lantern-body::after { bottom: -6px; border-radius: 0 0 5px 5px; }

.hankz-lantern-a {
  width: 58px;
  height: 56px;
  margin: 6px;
  border: 2px solid #dc8f03;
  border-radius: 50%;
  background: rgba(216, 0, 15, .10);
}

.hankz-lantern-b {
  width: 28px;
  height: 56px;
  margin: -2px auto 0;
  border: 2px solid #dc8f03;
  border-radius: 50%;
  background: rgba(216, 0, 15, .08);
}

.hankz-lantern-text {
  margin-left: -15px;
  width: 58px;
  color: #ffd36b;
  font-family: "STXingkai", "华文行楷", "KaiTi", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 52px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(120, 0, 0, .35);
}

.hankz-lantern-tail {
  position: absolute;
  left: 32px;
  bottom: -38px;
  width: 5px;
  height: 38px;
  background: #ffa500;
  border-radius: 0 0 5px 5px;
  transform-origin: 50% -20px;
  animation: hankz-lantern-swing 5.3s infinite ease-in-out;
}

.hankz-lantern-tail span {
  position: absolute;
  top: 11px;
  left: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dc8f03;
}

.hankz-lantern-tail i {
  position: absolute;
  top: 20px;
  left: -2px;
  width: 9px;
  height: 28px;
  border-radius: 0 0 0 5px;
  background: #ffa500;
}

@keyframes hankz-lantern-swing {
  0% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
  100% { transform: rotate(-6deg); }
}

body:not(.home).wp-theme-my-child-theme .hankz-lantern {
  display: none;
}

@media (max-width: 1199px) {
  body.wp-theme-my-child-theme #hitokoto,
  body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hankz-lantern { display: none; }
}

/* Final pass: natural transparent nav, one-line hitokoto, and scroll readability. */
body.wp-theme-my-child-theme .main-header.hankz-scrolled,
body.wp-theme-my-child-theme .main-header.show,
body.wp-theme-my-child-theme .main-header.is-scroll,
body:not(.home).wp-theme-my-child-theme .main-header {
  background: rgba(248, 250, 252, .72) !important;
  box-shadow: 0 10px 30px rgba(18, 25, 38, .07) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

body.home.wp-theme-my-child-theme .main-header:not(.hankz-scrolled):not(.show):not(.is-scroll),
body.wp-theme-my-child-theme .header-nav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) {
  width: clamp(300px, 32vw, 560px) !important;
  max-width: clamp(300px, 32vw, 560px) !important;
  margin-left: 20px !important;
  overflow: hidden !important;
}

body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) .text-sm,
body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) .line1 {
  width: 100% !important;
  max-width: 100% !important;
  height: 58px !important;
  line-height: 58px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.wp-theme-my-child-theme #hitokoto {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 58px !important;
  line-height: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: right !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.wp-theme-my-child-theme #hitokoto::before {
  display: none !important;
  content: none !important;
}

body.wp-theme-my-child-theme .main-header.hankz-scrolled #hitokoto,
body.wp-theme-my-child-theme .main-header.show #hitokoto,
body.wp-theme-my-child-theme .main-header.is-scroll #hitokoto,
body:not(.home).wp-theme-my-child-theme #hitokoto {
  color: rgba(30, 41, 59, .62) !important;
}

body.wp-theme-my-child-theme .main-header.hankz-scrolled .navbar-header > li > a,
body.wp-theme-my-child-theme .main-header.show .navbar-header > li > a,
body.wp-theme-my-child-theme .main-header.is-scroll .navbar-header > li > a,
body:not(.home).wp-theme-my-child-theme .main-header .navbar-header > li > a,
body.wp-theme-my-child-theme .main-header.hankz-scrolled .navbar-logo,
body.wp-theme-my-child-theme .main-header.show .navbar-logo,
body.wp-theme-my-child-theme .main-header.is-scroll .navbar-logo,
body:not(.home).wp-theme-my-child-theme .main-header .navbar-logo,
body.wp-theme-my-child-theme .main-header.hankz-scrolled .header-weather,
body.wp-theme-my-child-theme .main-header.show .header-weather,
body.wp-theme-my-child-theme .main-header.is-scroll .header-weather,
body:not(.home).wp-theme-my-child-theme .main-header .header-weather {
  color: rgba(30, 41, 59, .86) !important;
  text-shadow: none !important;
}

@media (max-width: 1360px) {
  body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) {
    width: 300px !important;
    max-width: 300px !important;
  }
}

@media (max-width: 1199px) {
  body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto),
  body.wp-theme-my-child-theme #hitokoto {
    display: none !important;
  }
}

/* Final alignment: keep hitokoto inside the right tool area and make scroll state deterministic. */
body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) {
  position: relative !important;
  flex: 0 0 clamp(300px, 32vw, 560px) !important;
  width: clamp(300px, 32vw, 560px) !important;
  max-width: clamp(300px, 32vw, 560px) !important;
  height: 58px !important;
}

body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) .text-sm,
body.wp-theme-my-child-theme .header-tools .nav-item:has(#hitokoto) .line1 {
  position: relative !important;
  width: 100% !important;
  height: 58px !important;
}

body.wp-theme-my-child-theme #hitokoto {
  position: absolute !important;
  inset: 0 0 auto auto !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: right !important;
}

body.home.wp-theme-my-child-theme .main-header.hankz-scrolled {
  background: rgba(248, 250, 252, .72) !important;
  box-shadow: 0 10px 30px rgba(18, 25, 38, .07) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

/* Dock and hero transition refinement. */
body.home.wp-theme-my-child-theme .header-big::before {
  background: linear-gradient(180deg, rgba(3, 8, 28, 0) 0%, rgba(7, 13, 34, .08) 52%, rgba(4, 9, 26, .20) 100%) !important;
}

body.home.wp-theme-my-child-theme .header-big::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  z-index: 0;
  background: linear-gradient(180deg, rgba(4, 9, 26, 0), rgba(4, 9, 26, .78) 76%, rgba(4, 9, 26, .96));
  pointer-events: none;
}

body.home.wp-theme-my-child-theme .home-container {
  background: linear-gradient(180deg, rgba(4, 9, 26, .96) 0, rgba(4, 9, 26, .90) 72px, rgba(245, 247, 251, 0) 220px) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper {
  position: fixed !important;
  left: 50% !important;
  top: 430px !important;
  bottom: auto !important;
  width: min(760px, calc(100vw - 96px)) !important;
  height: 78px !important;
  transform: translateX(-50%) !important;
  z-index: 45 !important;
  pointer-events: none;
  transition: top .26s ease, bottom .26s ease, width .26s ease, transform .26s ease, opacity .2s ease;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .onenav-dock {
  width: 100% !important;
  min-height: 72px !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .14) !important;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  pointer-events: auto;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-items {
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 8px 14px !important;
  overflow: visible !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact {
  top: auto !important;
  bottom: 18px !important;
  width: min(620px, calc(100vw - 120px)) !important;
  z-index: 70 !important;
  opacity: .90;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact .onenav-dock {
  min-height: 58px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 18px 44px rgba(18, 25, 38, .14) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact .dock-items {
  padding: 6px 12px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact img,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact .dock-icon {
  transform: scale(.88);
}

@media (max-width: 992px) {
  body.home.wp-theme-my-child-theme .onenav-dock-wrapper {
    display: none !important;
  }
}

/* Launch-screen layout: search + Dock first, content after scroll. */
body.home.wp-theme-my-child-theme {
  background: #05091c !important;
}

body.home.wp-theme-my-child-theme .header-big {
  height: 100vh !important;
  min-height: 680px !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
}

body.home.wp-theme-my-child-theme .header-big::before {
  background: linear-gradient(180deg, rgba(3, 7, 24, 0) 0%, rgba(8, 14, 38, .08) 58%, rgba(6, 10, 28, .22) 100%) !important;
}

body.home.wp-theme-my-child-theme .header-big::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5, 9, 28, 0), rgba(5, 9, 28, .70) 72%, #05091c 100%) !important;
  pointer-events: none;
}

body.home.wp-theme-my-child-theme .search-container,
body.home.wp-theme-my-child-theme #search.big-search {
  height: calc(100vh - 80px) !important;
  min-height: 600px !important;
  padding: 0 !important;
}

body.home.wp-theme-my-child-theme .search-box-big {
  top: clamp(230px, 39vh, 340px) !important;
  left: 50% !important;
  width: min(760px, calc(100vw - 48px)) !important;
  transform: translateX(-50%) !important;
}

body.home.wp-theme-my-child-theme .home-container {
  position: relative;
  z-index: 2;
  margin-top: 0 !important;
  padding-top: 34px !important;
  background: #f5f7fb !important;
}

body.home.wp-theme-my-child-theme .home-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 90px;
  background: linear-gradient(180deg, rgba(5, 9, 28, 0), #f5f7fb 92%);
  pointer-events: none;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper {
  position: fixed !important;
  left: 50% !important;
  top: clamp(410px, 55vh, 520px) !important;
  bottom: auto !important;
  width: min(760px, calc(100vw - 96px)) !important;
  height: 82px !important;
  transform: translateX(-50%) !important;
  z-index: 45 !important;
  opacity: 1 !important;
  pointer-events: none;
  transition: top .28s ease, bottom .28s ease, width .28s ease, opacity .22s ease, transform .28s ease;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .onenav-dock {
  width: 100% !important;
  min-height: 76px !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16) !important;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  pointer-events: auto;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-items {
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 8px 14px !important;
  overflow: visible !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact {
  top: auto !important;
  bottom: 18px !important;
  width: min(620px, calc(100vw - 120px)) !important;
  z-index: 65 !important;
  opacity: .72 !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact:hover {
  opacity: 1 !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact .onenav-dock {
  min-height: 58px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 18px 44px rgba(18, 25, 38, .14) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact .dock-items {
  padding: 6px 12px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact img,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper.hankz-dock-compact .dock-icon {
  transform: scale(.88);
}

body.home.wp-theme-my-child-theme.hankz-past-hero .hankz-lantern {
  opacity: .22;
}

@media (max-width: 992px) {
  body.home.wp-theme-my-child-theme .onenav-dock-wrapper {
    display: none !important;
  }

  body.home.wp-theme-my-child-theme .header-big {
    min-height: 560px !important;
  }
}


/* Keep the launch Dock just below the search bar with breathing room. */
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) {
  top: clamp(438px, 62vh, 540px) !important;
}

/* Search pill and Dock alignment pass: moonlit capsule, no horizontal Dock drag. */
body.home.wp-theme-my-child-theme {
  --hankz-hero-control-width: min(800px, calc(100vw - 64px));
  --hankz-hero-pill-bg: rgba(176, 184, 194, .58);
  --hankz-hero-pill-border: rgba(255, 255, 255, .22);
  --hankz-hero-pill-text: rgba(255, 255, 255, .90);
  --hankz-hero-pill-muted: rgba(255, 255, 255, .70);
}

body.home.wp-theme-my-child-theme .search-box-big,
body.home.wp-theme-my-child-theme .search-form:not(.search-card),
body.home.wp-theme-my-child-theme .onenav-dock-wrapper {
  width: var(--hankz-hero-control-width) !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) {
  position: relative !important;
  height: 56px !important;
  border: 1px solid var(--hankz-hero-pill-border) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(202, 209, 218, .64), var(--hankz-hero-pill-bg)) !important;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  backdrop-filter: blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
  overflow: hidden !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card)::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  width: 18px;
  height: 22px;
  transform: translateY(-50%);
  background: linear-gradient(145deg, #13d8ca 0%, #0d8fc8 100%);
  clip-path: polygon(0 0, 44% 18%, 44% 74%, 100% 48%, 44% 100%, 0 82%);
  filter: drop-shadow(0 4px 8px rgba(0, 34, 50, .22));
  opacity: .95;
  pointer-events: none;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) input,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .search-input {
  height: 56px !important;
  padding-left: 74px !important;
  padding-right: 72px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hankz-hero-pill-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) input::placeholder {
  color: var(--hankz-hero-pill-muted) !important;
  font-weight: 600 !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) button,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .btn,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .search-submit-btn {
  position: absolute !important;
  right: 11px !important;
  top: 50% !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .92) !important;
  box-shadow: none !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) button:hover,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .btn:hover,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .search-submit-btn:hover {
  background: rgba(255, 255, 255, .16) !important;
}

body.home.wp-theme-my-child-theme .search-list-group {
  width: var(--hankz-hero-control-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) {
  width: var(--hankz-hero-control-width) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .onenav-dock {
  max-width: 100% !important;
  overflow: hidden !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-items,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper ul,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(4px, .72vw, 10px) !important;
  max-width: 100% !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-items::-webkit-scrollbar,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper ul::-webkit-scrollbar,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-list::-webkit-scrollbar {
  display: none !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-items > *,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper ul > li,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-list > * {
  flex: 0 1 clamp(44px, 6.4vw, 60px) !important;
  min-width: 0 !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper img,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-icon,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper .iconfont,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper i {
  max-width: clamp(34px, 4.7vw, 48px) !important;
  max-height: clamp(34px, 4.7vw, 48px) !important;
}

@media (max-width: 1180px) {
  body.home.wp-theme-my-child-theme {
    --hankz-hero-control-width: min(720px, calc(100vw - 44px));
  }

  body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-items > *,
  body.home.wp-theme-my-child-theme .onenav-dock-wrapper ul > li,
  body.home.wp-theme-my-child-theme .onenav-dock-wrapper .dock-list > * {
    flex-basis: clamp(38px, 6vw, 54px) !important;
  }
}

/* Center the hero search stage on the viewport so it shares the Dock axis. */
body.home.wp-theme-my-child-theme .search-container {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.home.wp-theme-my-child-theme #search.big-search {
  width: var(--hankz-hero-control-width) !important;
  max-width: var(--hankz-hero-control-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home.wp-theme-my-child-theme .search-box-big {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

/* Remove OneNav content padding from the launch hero so search and Dock share one axis. */
body.home.wp-theme-my-child-theme .header-big {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home.wp-theme-my-child-theme .search-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Homepage Dock visual refinement: lighter tray, thin dividers, night-sky toggle. */
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) {
  height: 66px !important;
  top: clamp(438px, 62vh, 540px) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .onenav-dock {
  min-height: 64px !important;
  height: 64px !important;
  border: 1px solid rgba(205, 218, 242, .16) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(129, 143, 176, .22), rgba(58, 70, 110, .16)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-items,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) ul,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-list {
  height: 64px !important;
  padding: 6px 20px !important;
  gap: clamp(5px, .58vw, 8px) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item {
  flex: 0 1 40px !important;
  width: 40px !important;
  height: 52px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item > a {
  width: 42px !important;
  height: 52px !important;
  border-radius: 14px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item img,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item .dock-icon {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  border-radius: 12px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-divider {
  flex: 0 0 1px !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 28px !important;
  margin: 0 7px !important;
  border-radius: 1px !important;
  background: rgba(218, 228, 255, .20) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-action.dock-hide {
  flex: 0 0 34px !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: rgba(120, 139, 180, .20) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-action.dock-hide img {
  width: 22px !important;
  height: 22px !important;
  opacity: .78 !important;
  filter: brightness(1.45) saturate(.8) hue-rotate(178deg) !important;
}

body.home.wp-theme-my-child-theme .dock-toggle {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(218, 228, 255, .18) !important;
  border-radius: 999px !important;
  background: rgba(91, 112, 156, .34) !important;
  color: rgba(230, 238, 255, .88) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(12px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(130%) !important;
}

body.home.wp-theme-my-child-theme .dock-toggle:hover {
  background: rgba(112, 139, 190, .48) !important;
  color: #fff !important;
}

/* Final hierarchy pass: clean Simplified Chinese type, search as primary, Dock as lighter launcher. */
body.home.wp-theme-my-child-theme {
  --hankz-hero-control-width: min(800px, calc(100vw - 64px));
  --hankz-dock-launch-width: min(720px, calc(100vw - 96px));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card)::before {
  display: none !important;
  content: none !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) input,
body.home.wp-theme-my-child-theme .search-form:not(.search-card) .search-input {
  padding-left: 34px !important;
  padding-right: 72px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body.home.wp-theme-my-child-theme .search-form:not(.search-card) input::placeholder {
  color: rgba(245, 248, 255, .68) !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.home.wp-theme-my-child-theme .search-list-group,
body.home.wp-theme-my-child-theme .search-list-group a,
body.home.wp-theme-my-child-theme .search-list-group li,
body.home.wp-theme-my-child-theme .search-list-group span {
  font-family: inherit !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
}

body.home.wp-theme-my-child-theme .search-list-group {
  margin-top: 12px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) {
  width: var(--hankz-dock-launch-width) !important;
  height: 58px !important;
  top: clamp(450px, 64vh, 560px) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .onenav-dock {
  width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  border: 1px solid rgba(218, 228, 255, .12) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(112, 127, 164, .15), rgba(30, 40, 80, .10)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(12px) saturate(118%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(118%) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-items,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) ul,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-list {
  height: 56px !important;
  padding: 5px 18px !important;
  gap: clamp(4px, .5vw, 7px) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item {
  flex: 0 1 36px !important;
  width: 36px !important;
  height: 48px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item > a {
  width: 38px !important;
  height: 48px !important;
  border-radius: 13px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item img,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-item .dock-icon {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 11px !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-divider {
  flex: 0 0 1px !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 24px !important;
  margin: 0 6px !important;
  background: rgba(218, 228, 255, .14) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper:not(.hankz-dock-compact) .dock-action.dock-hide {
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  background: rgba(116, 136, 176, .16) !important;
}

body.home.wp-theme-my-child-theme .dock-toggle {
  width: 30px !important;
  height: 30px !important;
  border-color: rgba(218, 228, 255, .14) !important;
  background: rgba(86, 108, 150, .26) !important;
  color: rgba(232, 239, 255, .82) !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  text-shadow: none !important;
}

body.home.wp-theme-my-child-theme .dock-toggle:hover {
  background: rgba(108, 135, 190, .42) !important;
}

body.home.wp-theme-my-child-theme .onenav-dock-wrapper span,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper a,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper li,
body.home.wp-theme-my-child-theme .onenav-dock-wrapper button {
  font-family: inherit !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
}

/* Click effect: restrained merit text with small night-gold sparks. */
.hankz-click-merit,
.hankz-click-merit-dot {
  position: fixed;
  z-index: 2147483000;
  pointer-events: none;
  user-select: none;
}

.hankz-click-merit {
  transform: translate(-50%, -50%);
  color: #f8d77a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(70, 45, 0, .16), 0 0 18px rgba(255, 206, 89, .28);
  animation: hankz-click-merit-float .86s cubic-bezier(.22, .72, .24, 1) forwards;
}

.hankz-click-merit-dot {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 999px;
  background: rgba(255, 218, 111, .92);
  box-shadow: 0 0 10px rgba(255, 218, 111, .38);
  animation: hankz-click-merit-dot .7s ease-out forwards;
}

@keyframes hankz-click-merit-float {
  0% {
    opacity: 0;
    transform: translate(-50%, -38%) scale(.92);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -78%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -178%) scale(.98);
  }
}

@keyframes hankz-click-merit-dot {
  0% {
    opacity: .95;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--hankz-dot-x), var(--hankz-dot-y)) scale(.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hankz-click-merit,
  .hankz-click-merit-dot {
    display: none !important;
  }
}

/* Keep the click text visible even when the OS asks for reduced motion. */
.hankz-click-merit.hankz-click-merit-reduced {
  display: inline-block !important;
  animation: hankz-click-merit-reduced .62s ease-out forwards !important;
}

.hankz-click-merit-dot {
  display: inline-block !important;
}

@keyframes hankz-click-merit-reduced {
  0% {
    opacity: 0;
    transform: translate(-50%, -42%) scale(.98);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -110%) scale(.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hankz-click-merit.hankz-click-merit-reduced {
    display: inline-block !important;
  }
  .hankz-click-merit-dot {
    display: none !important;
  }
}

/* Custom cursor: subtle moonlight pointer for the night-sky UI. */
body.wp-theme-my-child-theme,
body.wp-theme-my-child-theme * {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%224.5%22%20fill%3D%22%23eef5ff%22%20fill-opacity%3D%220.92%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%228%22%20fill%3D%22none%22%20stroke%3D%22%23eef5ff%22%20stroke-opacity%3D%220.32%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M13%2013%20L22%2022%22%20stroke%3D%22%23eef5ff%22%20stroke-opacity%3D%220.55%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 9 9, auto;
}

body.wp-theme-my-child-theme a,
body.wp-theme-my-child-theme button,
body.wp-theme-my-child-theme [role="button"],
body.wp-theme-my-child-theme input[type="submit"],
body.wp-theme-my-child-theme input[type="button"],
body.wp-theme-my-child-theme .btn,
body.wp-theme-my-child-theme .dock-item,
body.wp-theme-my-child-theme .dock-toggle {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%225%22%20fill%3D%22%23f8d77a%22%20fill-opacity%3D%220.96%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%229%22%20fill%3D%22none%22%20stroke%3D%22%23f8d77a%22%20stroke-opacity%3D%220.36%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M14%2014%20L24%2024%22%20stroke%3D%22%23f8d77a%22%20stroke-opacity%3D%220.62%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 10 10, pointer !important;
}

body.wp-theme-my-child-theme input,
body.wp-theme-my-child-theme textarea,
body.wp-theme-my-child-theme [contenteditable="true"] {
  cursor: text !important;
}

/* Custom mouse body: visible pointer, drag trail, and clean input fallback. */
body.wp-theme-my-child-theme:not(.wp-admin),
body.wp-theme-my-child-theme:not(.wp-admin) * {
  cursor: none !important;
}

body.wp-theme-my-child-theme input,
body.wp-theme-my-child-theme textarea,
body.wp-theme-my-child-theme [contenteditable="true"] {
  cursor: text !important;
}

.hankz-cursor,
.hankz-cursor-trail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483001;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  will-change: transform, opacity;
}

.hankz-cursor {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  transition: opacity .18s ease;
}

.hankz-cursor.is-active {
  opacity: 1;
}

.hankz-cursor-core,
.hankz-cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.hankz-cursor-core {
  inset: 9px;
  background: rgba(238, 245, 255, .96);
  box-shadow: 0 0 14px rgba(238, 245, 255, .42), 0 0 26px rgba(116, 156, 255, .18);
  transition: inset .16s ease, background .16s ease, box-shadow .16s ease, border-radius .16s ease;
}

.hankz-cursor-ring {
  border: 1px solid rgba(238, 245, 255, .46);
  box-shadow: inset 0 0 14px rgba(238, 245, 255, .10);
  transform: scale(1);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hankz-cursor.is-pointer .hankz-cursor-core,
.hankz-cursor.is-down .hankz-cursor-core {
  inset: 7px;
  background: rgba(248, 215, 122, .98);
  box-shadow: 0 0 16px rgba(248, 215, 122, .46), 0 0 32px rgba(248, 215, 122, .18);
}

.hankz-cursor.is-pointer .hankz-cursor-ring {
  border-color: rgba(248, 215, 122, .56);
  transform: scale(1.18);
}

.hankz-cursor.is-down .hankz-cursor-ring {
  border-color: rgba(248, 215, 122, .72);
  transform: scale(.78);
}

.hankz-cursor.is-text .hankz-cursor-core {
  inset: 4px 11px;
  border-radius: 3px;
  background: rgba(238, 245, 255, .88);
}

.hankz-cursor.is-text .hankz-cursor-ring {
  opacity: .25;
  transform: scale(.72);
}

.hankz-cursor-trail {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 999px;
  background: rgba(214, 231, 255, .58);
  box-shadow: 0 0 14px rgba(126, 170, 255, .22);
  animation: hankz-cursor-trail .52s ease-out forwards;
}

.hankz-cursor-trail.is-dragging {
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: rgba(248, 215, 122, .78);
  box-shadow: 0 0 18px rgba(248, 215, 122, .34);
  animation-duration: .72s;
}

@keyframes hankz-cursor-trail {
  0% {
    opacity: .9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(.18) translateY(-10px);
  }
}

@media (pointer: coarse), (max-width: 768px) {
  body.wp-theme-my-child-theme,
  body.wp-theme-my-child-theme * {
    cursor: auto !important;
  }
  .hankz-cursor,
  .hankz-cursor-trail {
    display: none !important;
  }
}

/* Canvas cursor: line-linked pointer with firework click particles. */
.hankz-canvas-cursor {
  position: fixed;
  inset: 0;
  z-index: 2147482998;
  pointer-events: none;
  user-select: none;
}

body.wp-theme-my-child-theme .hankz-cursor,
body.wp-theme-my-child-theme .hankz-cursor-trail,
body.wp-theme-my-child-theme .hankz-click-merit,
body.wp-theme-my-child-theme .hankz-click-merit-dot {
  display: none !important;
}

body.wp-theme-my-child-theme,
body.wp-theme-my-child-theme * {
  cursor: auto !important;
}

body.wp-theme-my-child-theme a,
body.wp-theme-my-child-theme button,
body.wp-theme-my-child-theme [role="button"],
body.wp-theme-my-child-theme .btn,
body.wp-theme-my-child-theme .dock-item,
body.wp-theme-my-child-theme .dock-toggle {
  cursor: pointer !important;
}

body.wp-theme-my-child-theme input,
body.wp-theme-my-child-theme textarea,
body.wp-theme-my-child-theme [contenteditable="true"] {
  cursor: text !important;
}

/* Right-side paired lanterns, kept decorative and away from the brand/nav area. */
body.home.wp-theme-my-child-theme .hankz-lantern-pair {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 20;
  width: 150px;
  height: 120px;
  pointer-events: none;
  opacity: .88;
  transition: opacity .22s ease;
}

body.home.wp-theme-my-child-theme .hankz-lantern-pair .hankz-lantern {
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  opacity: 1 !important;
  transform: scale(.78);
  transform-origin: 50% 0;
}

body.home.wp-theme-my-child-theme .hankz-lantern-pair .hankz-lantern-primary {
  right: 68px !important;
}

body.home.wp-theme-my-child-theme .hankz-lantern-pair .hankz-lantern-secondary {
  right: 6px !important;
  top: 4px !important;
  transform: scale(.72);
  filter: drop-shadow(0 10px 20px rgba(120, 0, 0, .18));
}

body.home.wp-theme-my-child-theme .hankz-lantern-pair .hankz-lantern-secondary .hankz-lantern-body,
body.home.wp-theme-my-child-theme .hankz-lantern-pair .hankz-lantern-secondary .hankz-lantern-tail {
  animation-delay: -.42s;
}

body.home.wp-theme-my-child-theme.hankz-past-hero .hankz-lantern-pair {
  opacity: .22;
}

body:not(.home).wp-theme-my-child-theme .hankz-lantern-pair {
  display: none !important;
}

body.home.wp-theme-my-child-theme > .hankz-lantern:not(.hankz-lantern-primary):not(.hankz-lantern-secondary) {
  display: none !important;
}

@media (max-width: 1199px) {
  body.home.wp-theme-my-child-theme .hankz-lantern-pair,
  .hankz-canvas-cursor {
    display: none !important;
  }
}
