#hbf-lang-dock {
    position: fixed;
    top: 104px;
    left: 14px;
    z-index: 1500;
    pointer-events: none;
  }

  #hbf-lang-dock,
  #hbf-lang-dock * {
    box-sizing: border-box;
  }

  #hbf-lang-dock .hbfld-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.34s ease;
  }

  #hbf-lang-dock.is-collapsed .hbfld-inner {
    transform: translateX(-72px);
  }

  #hbf-lang-dock .hbfld-panel {
    position: relative;
    width: 86px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--hbf-card-border);
    box-shadow: var(--hbf-shadow-md);
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #hbf-lang-dock .hbfld-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  #hbf-lang-dock .hbfld-panel > * {
    position: relative;
    z-index: 1;
  }

  html[data-site-theme="dark"] #hbf-lang-dock .hbfld-panel {
    background: linear-gradient(180deg, rgba(20,31,38,0.92) 0%, rgba(16,24,26,0.88) 100%);
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  }

  html[data-site-theme="dark"] #hbf-lang-dock .hbfld-panel::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  }

  html[data-site-theme="light"] #hbf-lang-dock .hbfld-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(244,247,242,0.88) 100%);
    border-color: rgba(22,49,38,0.10);
    box-shadow: 0 18px 40px rgba(18,56,38,0.12);
  }

  html[data-site-theme="light"] #hbf-lang-dock .hbfld-panel::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.08) 100%);
  }

  #hbf-lang-dock .hbfld-handle {
    position: absolute;
    right: -14px;
    top: 14px;
    width: 14px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 12px 12px 0;
    border: 1px solid var(--hbf-card-border);
    border-left: none;
    color: var(--hbf-soft);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html[data-site-theme="dark"] #hbf-lang-dock .hbfld-handle {
    background: linear-gradient(180deg, rgba(20,31,38,0.94) 0%, rgba(16,24,26,0.90) 100%);
    border-color: rgba(255,255,255,0.10);
  }

  html[data-site-theme="light"] #hbf-lang-dock .hbfld-handle {
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(244,247,242,0.90) 100%);
    border-color: rgba(22,49,38,0.10);
  }

  #hbf-lang-dock.is-collapsed .hbfld-handle {
    opacity: 1;
  }

  #hbf-lang-dock .hbfld-handle svg {
    width: 9px;
    height: 9px;
    display: block;
  }

  #hbf-lang-dock .hbfld-btn {
    appearance: none;
    width: 100%;
    height: 26px;
    border-radius: 9px;
    border: 1px solid var(--hbf-border-strong);
    background: var(--hbf-btn-secondary-bg);
    color: var(--hbf-text);
    padding: 0 6px;
    font: 600 11px/1 var(--hbf-font-family);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
      background var(--hbf-transition),
      border-color var(--hbf-transition),
      color var(--hbf-transition),
      transform var(--hbf-transition),
      opacity var(--hbf-transition);
  }

  #hbf-lang-dock .hbfld-btn:hover,
  #hbf-lang-dock .hbfld-theme-btn:hover {
    transform: translateY(-1px);
    background: var(--hbf-btn-secondary-bg-hover);
    border-color: var(--hbf-border-strong);
  }

  #hbf-lang-dock .hbfld-theme-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 3px;
  }

  #hbf-lang-dock .hbfld-theme-btn {
    appearance: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 30px;
    border-radius: 50%;
    border: 1px solid var(--hbf-border-strong);
    background: var(--hbf-btn-secondary-bg);
    color: var(--hbf-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition:
      background var(--hbf-transition),
      border-color var(--hbf-transition),
      color var(--hbf-transition),
      transform var(--hbf-transition),
      opacity var(--hbf-transition);
  }

  #hbf-lang-dock .hbfld-theme-btn svg {
    width: 15px;
    height: 15px;
    display: block;
  }

  html[data-site-lang="en"] #hbf-lang-dock .hbfld-btn[data-set-lang="en"],
  html[data-site-lang="pt"] #hbf-lang-dock .hbfld-btn[data-set-lang="pt"],
  html[data-site-lang="ms"] #hbf-lang-dock .hbfld-btn[data-set-lang="ms"],
  html[data-site-theme="light"] #hbf-lang-dock .hbfld-theme-btn[data-set-theme="light"],
  html[data-site-theme="dark"] #hbf-lang-dock .hbfld-theme-btn[data-set-theme="dark"] {
    background: var(--hbf-btn-primary-bg);
    color: var(--hbf-btn-primary-text);
    border-color: transparent;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--hbf-accent-primary) 20%, transparent);
  }

  @media (max-width: 991px) {
    #hbf-lang-dock {
      top: 92px;
      left: 12px;
    }

    #hbf-lang-dock.is-collapsed .hbfld-inner {
      transform: translateX(-68px);
    }

    #hbf-lang-dock .hbfld-panel {
      width: 82px;
      padding: 7px;
      gap: 6px;
      border-radius: 16px;
    }

    #hbf-lang-dock .hbfld-btn {
      height: 25px;
      font-size: 11px;
    }

    #hbf-lang-dock .hbfld-handle {
      top: 12px;
      height: 40px;
    }
  }

  @media (max-width: 640px) {
    #hbf-lang-dock {
      top: 82px;
      left: 10px;
    }

    #hbf-lang-dock.is-collapsed .hbfld-inner {
      transform: translateX(-64px);
    }

    #hbf-lang-dock .hbfld-panel {
      width: 78px;
      padding: 6px;
      gap: 5px;
    }

    #hbf-lang-dock .hbfld-btn {
      height: 24px;
      font-size: 10px;
      border-radius: 8px;
    }

    #hbf-lang-dock .hbfld-theme-row {
      gap: 5px;
    }

    #hbf-lang-dock .hbfld-theme-btn {
      min-height: 28px;
    }
  }

#hbf-site-menu {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hbf-divider-color);
  }
  html[data-site-theme="dark"] #hbf-site-menu {
    background: rgba(10,14,18,0.76);
  }
  html[data-site-theme="light"] #hbf-site-menu {
    background: rgba(255,255,255,0.82);
  }

  #hbf-site-menu,
  #hbf-site-menu * {
    box-sizing: border-box;
  }

  #hbf-site-menu .hbfm-shell {
    width: 100%;
    max-width: var(--hbf-max);
    margin: 0 auto;
    padding: 0 var(--hbf-container-x);
    position: relative;
    z-index: 2;
  }

  #hbf-site-menu .hbfm-bar {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
  }

  #hbf-site-menu .hbfm-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
  }

  #hbf-site-menu .hbfm-logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
  }

  html[data-site-theme="light"] #hbf-site-menu .hbfm-logo--light {
    display: block;
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-logo--dark {
    display: none;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-logo--light {
    display: none;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-logo--dark {
    display: block;
  }

  #hbf-site-menu .hbfm-center {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  #hbf-site-menu .hbfm-toggle {
    appearance: none;
    border: 0;
    cursor: pointer;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-toggle {
    color: rgba(255,255,255,0.94);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-toggle {
    color: #1b2a22;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(22,49,38,0.10);
  }
  #hbf-site-menu .hbfm-toggle:hover {
    transform: translateY(-1px);
  }

  #hbf-site-menu .hbfm-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
  }

  #hbf-site-menu .hbfm-copy-status {
    font-size: 11px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0;
    transition: opacity .16s ease;
    pointer-events: none;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-copy-status {
    color: rgba(255,255,255,0.76);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-copy-status {
    color: rgba(27,42,34,0.72);
  }
  #hbf-site-menu .hbfm-copy-status.is-visible {
    opacity: 1;
  }

  #hbf-site-menu .hbfm-email-copy {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: opacity .18s ease, transform .18s ease, color .18s ease;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-email-copy {
    color: rgba(255,255,255,0.92);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-email-copy {
    color: #1b2a22;
  }
  #hbf-site-menu .hbfm-email-copy:hover {
    opacity: 0.86;
    transform: translateY(-1px);
  }

  #hbf-site-menu .hbfm-contact-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    flex: 0 0 auto;
    text-decoration: none;
    transition: opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-contact-icon {
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-contact-icon {
    color: #1b2a22;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(22,49,38,0.10);
  }
  #hbf-site-menu .hbfm-contact-icon:hover {
    opacity: 0.86;
    transform: translateY(-1px);
  }

  #hbf-site-menu .hbfm-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .30s ease, opacity .22s ease, padding .30s ease;
    padding-bottom: 0;
  }
  #hbf-site-menu.is-open .hbfm-panel {
    max-height: 124px;
    opacity: 1;
    padding-bottom: 10px;
  }

  #hbf-site-menu .hbfm-panel-inner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--hbf-card-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 10px 0 10px;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-panel-inner {
    background: rgba(18,25,31,0.74);
    border-color: rgba(255,255,255,0.10);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-panel-inner {
    background: rgba(255,255,255,0.76);
    border-color: rgba(22,49,38,0.08);
  }

  #hbf-site-menu .hbfm-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 0 16px 6px;
  }

  #hbf-site-menu .hbfm-panel-title {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-panel-title {
    color: rgba(255,255,255,0.88);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-panel-title {
    color: #1b2a22;
  }

  #hbf-site-menu .hbfm-panel-hint {
    font-size: 11px;
    line-height: 1.3;
    text-align: right;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-panel-hint {
    color: rgba(255,255,255,0.62);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-panel-hint {
    color: rgba(27,42,34,0.62);
  }

  #hbf-site-menu .hbfm-wheel-wrap {
    position: relative;
    height: 56px;
    overflow: hidden;
    padding: 0 10px;
    background: transparent;
  }

  #hbf-site-menu .hbfm-fade-left,
  #hbf-site-menu .hbfm-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    pointer-events: none;
    z-index: 3;
  }
  #hbf-site-menu .hbfm-fade-left { left: 0; }
  #hbf-site-menu .hbfm-fade-right { right: 0; }

  html[data-site-theme="dark"] #hbf-site-menu .hbfm-fade-left {
    background: linear-gradient(90deg, rgba(18,25,31,0.92) 0%, rgba(18,25,31,0) 100%);
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-fade-right {
    background: linear-gradient(270deg, rgba(18,25,31,0.92) 0%, rgba(18,25,31,0) 100%);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-fade-left {
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 100%);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-fade-right {
    background: linear-gradient(270deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 100%);
  }

  #hbf-site-menu .hbfm-wheel {
    position: relative;
    height: 100%;
    overflow: visible;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1;
  }

  #hbf-site-menu .hbfm-center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 40px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity .14s linear, width .14s linear, left .14s linear;
    filter: blur(14px);
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-center-glow {
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 54%, rgba(255,255,255,0) 100%);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-center-glow {
    background: radial-gradient(ellipse at center, rgba(14,102,82,0.14) 0%, rgba(14,102,82,0.05) 54%, rgba(14,102,82,0) 100%);
  }

  #hbf-site-menu .hbfm-wheel-track {
    position: absolute;
    inset: 0;
    z-index: 1;
    will-change: transform;
  }

  #hbf-site-menu .hbfm-pill {
    position: absolute;
    top: 50%;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    min-height: 40px;
    padding: 0 30px;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    transform: translate(-50%, -50%) scale(0.84);
    transform-origin: center center;
    transition: transform .14s linear, opacity .14s linear, color .14s linear;
    pointer-events: auto;
  }
  html[data-site-theme="dark"] #hbf-site-menu .hbfm-pill {
    color: rgba(255,255,255,0.88);
  }
  html[data-site-theme="light"] #hbf-site-menu .hbfm-pill {
    color: #1b2a22;
  }

  #hbf-site-menu .hbfm-pill.is-center {
    font-weight: 500;
  }

  #hbf-site-menu .hbfm-pill:hover {
    opacity: 1 !important;
  }

  @media (max-width: 991px) {
    #hbf-site-menu .hbfm-bar {
      grid-template-columns: auto 1fr auto;
      min-height: 74px;
    }
    #hbf-site-menu .hbfm-logo {
      height: 46px;
      max-width: 84px;
    }
    #hbf-site-menu .hbfm-email-copy,
    #hbf-site-menu .hbfm-copy-status {
      display: none;
    }
  }

  @media (max-width: 640px) {
    #hbf-site-menu .hbfm-toggle {
      min-height: 40px;
      padding: 0 14px;
      font-size: 12px;
    }
    #hbf-site-menu .hbfm-panel-head {
      display: grid;
      gap: 6px;
    }
    #hbf-site-menu .hbfm-panel-hint {
      text-align: left;
    }
    #hbf-site-menu .hbfm-wheel-wrap {
      height: 54px;
    }
    #hbf-site-menu .hbfm-pill {
      min-height: 38px;
      font-size: 14px;
      padding: 0 18px;
    }
    #hbf-site-menu .hbfm-fade-left,
    #hbf-site-menu .hbfm-fade-right {
      width: 42px;
    }
  }

#hbf-floating-top {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 2100;
  }
  #hbf-floating-top,
  #hbf-floating-top * {
    box-sizing: border-box;
  }

  #hbf-floating-top .hbfft-wrap {
    position: relative;
  }

  #hbf-floating-top .hbfft-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    transition: opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
    opacity: 0.56;
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #hbf-floating-top .hbfft-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  #hbf-floating-top .hbfft-btn > * {
    position: relative;
    z-index: 1;
  }

  html[data-site-theme="dark"] #hbf-floating-top .hbfft-btn {
    color: rgba(255,255,255,0.88);
    background: linear-gradient(180deg, rgba(20,31,38,0.92) 0%, rgba(16,24,26,0.88) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  }

  html[data-site-theme="dark"] #hbf-floating-top .hbfft-btn::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  }

  html[data-site-theme="light"] #hbf-floating-top .hbfft-btn {
    color: #1b2a22;
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(244,247,242,0.90) 100%);
    border: 1px solid rgba(22,49,38,0.10);
    box-shadow: 0 14px 32px rgba(18,56,38,0.12);
  }

  html[data-site-theme="light"] #hbf-floating-top .hbfft-btn::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.08) 100%);
  }

  #hbf-floating-top .hbfft-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }

  #hbf-floating-top .hbfft-bridge {
    position: absolute;
    right: 0;
    bottom: 42px;
    width: 220px;
    height: 16px;
    display: none;
  }

  #hbf-floating-top .hbfft-wrap.is-open .hbfft-bridge {
    display: block;
  }

  #hbf-floating-top .hbfft-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: calc(100vw - 24px);
    padding: 10px;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
    white-space: nowrap;
    z-index: 5;
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #hbf-floating-top .hbfft-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  #hbf-floating-top .hbfft-panel > * {
    position: relative;
    z-index: 1;
  }

  html[data-site-theme="dark"] #hbf-floating-top .hbfft-panel {
    background: linear-gradient(180deg, rgba(20,31,38,0.94) 0%, rgba(16,24,26,0.90) 100%);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 38px rgba(0,0,0,0.24);
  }

  html[data-site-theme="dark"] #hbf-floating-top .hbfft-panel::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  }

  html[data-site-theme="light"] #hbf-floating-top .hbfft-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,247,242,0.92) 100%);
    border: 1px solid rgba(22,49,38,0.08);
    box-shadow: 0 18px 38px rgba(18,56,38,0.12);
  }

  html[data-site-theme="light"] #hbf-floating-top .hbfft-panel::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.08) 100%);
  }

  #hbf-floating-top .hbfft-wrap.is-open .hbfft-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #hbf-floating-top .hbfft-list {
    display: grid;
    gap: 4px;
  }

  #hbf-floating-top .hbfft-link {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: right;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    transition: background .16s ease, opacity .16s ease, color .16s ease;
    white-space: nowrap;
  }

  html[data-site-theme="dark"] #hbf-floating-top .hbfft-link {
    color: rgba(255,255,255,0.90);
  }

  html[data-site-theme="light"] #hbf-floating-top .hbfft-link {
    color: #1b2a22;
  }

  #hbf-floating-top .hbfft-link:hover {
    background: rgba(255,255,255,0.06);
  }

  @media (max-width: 640px) {
    #hbf-floating-top .hbfft-panel,
    #hbf-floating-top .hbfft-bridge {
      display: none !important;
    }
  }

html.hbf-privacy-open,
  html.hbf-privacy-open body {
    overflow: hidden !important;
  }

  #hbf-privacy-modal,
  #hbf-privacy-modal * {
    box-sizing: border-box;
  }

  #hbf-privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 7000;
    display: none;
  }

  #hbf-privacy-modal.is-open {
    display: block;
  }

  #hbf-privacy-modal .hbfpp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 16, 0.80);
  }

  #hbf-privacy-modal .hbfpp-shell {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
  }

  #hbf-privacy-modal .hbfpp-panel {
    position: relative;
    width: min(860px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    color: #182128;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(20, 31, 38, 0.08);
  }

  #hbf-privacy-modal .hbfpp-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 31, 38, 0.08);
  }

  #hbf-privacy-modal .hbfpp-title-wrap {
    min-width: 0;
  }

  #hbf-privacy-modal .hbfpp-title {
    margin: 0;
    color: #182128;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
  }

  #hbf-privacy-modal .hbfpp-meta {
    margin: 10px 0 0;
    color: rgba(24, 33, 40, 0.62);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  #hbf-privacy-modal .hbfpp-close {
    appearance: none;
    border: 0;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(20, 31, 38, 0.06);
    color: #182128;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
  }

  #hbf-privacy-modal .hbfpp-close:hover {
    background: rgba(20, 31, 38, 0.10);
    transform: translateY(-1px);
  }

  #hbf-privacy-modal .hbfpp-close svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  #hbf-privacy-modal .hbfpp-body {
    padding: 20px 24px 24px;
    overflow: auto;
    max-height: calc(100vh - 160px);
  }

  #hbf-privacy-modal .hbfpp-copy {
    color: #25332D;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 400;
  }

  #hbf-privacy-modal .hbfpp-intro {
    margin: 0 0 18px;
  }

  #hbf-privacy-modal .hbfpp-sections {
    display: grid;
    gap: 16px;
  }

  #hbf-privacy-modal .hbfpp-section {
    display: grid;
    gap: 8px;
  }

  #hbf-privacy-modal .hbfpp-section-title {
    margin: 0;
    color: #182128;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  #hbf-privacy-modal .hbfpp-section-text {
    margin: 0;
  }

  #hbf-privacy-modal .hbfpp-copy strong {
    color: #182128;
    font-weight: 700;
  }

  #hbf-privacy-modal .hbfpp-copy a {
    color: #214B3B;
    text-decoration: none;
  }

  #hbf-privacy-modal .hbfpp-copy a:hover {
    color: #18392C;
  }

  @media (max-width: 640px) {
    #hbf-privacy-modal .hbfpp-shell {
      padding: 12px;
    }

    #hbf-privacy-modal .hbfpp-panel {
      width: calc(100vw - 24px);
      max-height: calc(100vh - 24px);
      border-radius: 20px;
    }

    #hbf-privacy-modal .hbfpp-head {
      padding: 18px 18px 14px;
    }

    #hbf-privacy-modal .hbfpp-body {
      padding: 16px 18px 18px;
      max-height: calc(100vh - 120px);
    }

    #hbf-privacy-modal .hbfpp-title {
      font-size: 24px;
    }

    #hbf-privacy-modal .hbfpp-copy {
      font-size: 14px;
      line-height: 1.62;
    }

    #hbf-privacy-modal .hbfpp-section-title {
      font-size: 15px;
    }
  }

/* HBF hosting hotfix 2026-04-24: top menu stays only at the top of the page */
#hbf-site-menu {
  position: relative !important;
  top: auto !important;
}


/* ==========================================================================
   HBF final mobile dock tuning v3
   The language/theme dock hides farther on mobile, while the tap handle stays large.
   ========================================================================== */
@media (max-width: 640px) {
  #hbf-lang-dock {
    left: 6px;
  }

  #hbf-lang-dock.is-collapsed .hbfld-inner {
    transform: translateX(-74px);
  }

  #hbf-lang-dock .hbfld-handle {
    right: -24px;
    top: 8px;
    width: 24px;
    height: 52px;
    border-radius: 0 14px 14px 0;
    pointer-events: auto;
  }

  #hbf-lang-dock .hbfld-handle svg {
    width: 11px;
    height: 11px;
  }
}



/* ==========================================================================
   HBF final polish v4 - mobile Explore sections behavior
   ========================================================================== */

@media (max-width: 640px) {
  html.hbf-mobile-menu-open,
  html.hbf-mobile-menu-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  #hbf-site-menu .hbfm-panel,
  #hbf-site-menu .hbfm-panel-inner,
  #hbf-site-menu .hbfm-wheel-wrap,
  #hbf-site-menu .hbfm-wheel,
  #hbf-site-menu .hbfm-wheel-track {
    touch-action: none;
    overscroll-behavior: contain;
    -webkit-user-select: none;
    user-select: none;
  }

  #hbf-site-menu .hbfm-pill {
    touch-action: none;
  }
}

/* ==========================================================================
   HBF final polish v5 - mobile Explore sections native swipe
   ========================================================================== */
@media (max-width: 640px) {
  #hbf-site-menu .hbfm-wheel-wrap {
    height: 60px !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  #hbf-site-menu .hbfm-wheel {
    height: 60px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  #hbf-site-menu .hbfm-wheel::-webkit-scrollbar {
    display: none;
  }

  #hbf-site-menu .hbfm-wheel-track {
    position: relative !important;
    inset: auto !important;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: max-content !important;
    min-width: 100% !important;
    height: 60px !important;
    padding: 0 44px !important;
    transform: none !important;
    touch-action: pan-x !important;
  }

  #hbf-site-menu .hbfm-pill {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    opacity: 1 !important;
    transform: none !important;
    touch-action: pan-x !important;
  }

  #hbf-site-menu .hbfm-center-glow {
    display: none !important;
  }
}
