@media (max-width: 767px) {
  /* Giải thưởng */
  .nhbf-prizes { padding-top: 22px; }
  .nhbf-prizes__sparkle { display: none; }
  .nhbf-prizes__grid { max-width: 303px; grid-template-columns: 1fr; gap: 18px; }
  .nhbf-prize { padding: 13px 13px 22px; border-radius: 20px; }
  .nhbf-prize__media { border-radius: 12px; }
  .nhbf-prize__title, .nhbf-prize--wide .nhbf-prize__title { margin-top: 14px; font-size: 18.6px; }
  .nhbf-prize__desc { font-size: 12.5px; margin-top: 6px; }
  .nhbf-prize--wide { display: block; padding: 13px 13px 22px; }
  .nhbf-prize__media--pop img { top: -10%; }

  /* 7 ngày */
  .nhbf-steps { padding: 39px 16px 0; }
  .nhbf-steps__watermark { right: -70px; top: 2120px; font-size: 54px; transform: rotate(90deg); display: none; }
  .nhbf-steps__box { border-radius: 20px; padding-top: 16px; }
  .nhbf-steps__dots { width: calc(100% - 50px); height: 10px; background: radial-gradient(circle, #c60008 4.6px, transparent 5.4px) 0 0 / 20.4px 10px repeat-x; }
  .nhbf-steps__box > .nhbf-heading { margin-top: 28px; }
  .nhbf-steps__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; padding: 0 11px; }
  .nhbf-step { min-height: 227px; border-radius: 16px; padding: 30px 19px 20px; }
  .nhbf-step__text { max-width: calc(100% - 128px); }
  .nhbf-step__badge { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 15.2px; border-width: 1px; }
  .nhbf-step__title { margin-top: 8px; font-size: 15px; }
  .nhbf-step__desc { margin-top: 10px; font-size: 12px; line-height: 1.3; }
  .nhbf-step__phone { right: 16px; width: 117px; }
  .nhbf-step--tip { padding-top: 46px; }
  .nhbf-step__note { margin-top: 3px; font-size: 11px; }
  .nhbf-step--tip .nhbf-step__desc { margin-top: 20px; }
  .nhbf-step--tip .nhbf-btn { margin-top: 12px; }

  .nhbf-req { margin-top: 24px; margin-bottom: -24px; padding: 0 16px; }
  .nhbf .nhbf-req__title { height: 37px; padding: 0 20px; font-size: 15px; white-space: nowrap; }
  .nhbf-req__panel { flex-direction: column; margin-top: -18px; min-height: 0; padding: 40px 20px 26px; border-radius: 22px; gap: 22px; }
  .nhbf-req__items { gap: 18px; }
  .nhbf-req__item { gap: 12px; }
  .nhbf-req__item img { width: 50px; flex-basis: 50px; }
  .nhbf-req__item h4 { font-size: 12.5px; }
  .nhbf-req__item p { font-size: 12.5px; line-height: 1.35; }
  .nhbf-req__join { flex: none; width: 244px; height: 113px; margin: 0; }
  .nhbf-req__join-btn { height: 73px; padding-left: 22px; border-radius: 14px; font-size: 11.1px; line-height: 14px; }
  .nhbf-req__qr { width: 113px; }

  /* Form */
  .nhbf-members { padding-top: 49px; }
  .nhbf-members__sparkle, .nhbf-members__watermark { display: none; }
  .nhbf-members__grid { grid-template-columns: 1fr; gap: 58px; margin-top: 17px; max-width: 369px; }
  .nhbf-card { border-radius: 18px; padding: 15px 17px 46px; }
  .nhbf-card__title { font-size: 15px; }
  .nhbf-card__intro { margin-top: 6px; font-size: 12px; line-height: 1.3; }
  .nhbf-card__label { margin-top: 10px; font-size: 12.5px; }
  .nhbf-card__label em { font-size: 12px; }
  .nhbf-field { margin-top: 7px; }
  .nhbf-field label { margin-bottom: 5px; font-size: 12px; }
  .nhbf-field input, .nhbf-field select { height: 38px; padding: 0 12px; font-size: 14px; border-radius: 7px; }
  .nhbf-field select { padding-right: 32px; background-position: right 10px center; background-size: 12px; }
  .nhbf-field-row { gap: 0 13px; }
  .nhbf-gifts { gap: 6px; margin-top: 8px; }
  .nhbf-gift { height: 58px; border-radius: 8px; }
  .nhbf-gift input { left: 7px; top: 7px; width: 11px; height: 11px; }
  .nhbf-gift img { max-height: 52px; }
  .nhbf-card__submit { bottom: -22px; min-width: 200px; }
  .nhbf-card-maker .nhbf-card__submit { min-width: 240px; }
  .nhbf-upload { height: 92px; gap: 6px; }
  .nhbf-upload__text { font-size: 12px; }
  .nhbf-card-preview { margin-top: 12px; }
  .nhbf-card-preview canvas { border-radius: 8px; }

  /* Lưu ý */
  .nhbf-notes { padding-top: 46px; }
  .nhbf-notes__box { padding: 26px 18px 24px; border-radius: 20px; }
  .nhbf-notes__list { margin-top: 10px; }
  .nhbf-notes__list li { font-size: 15px; line-height: 21px; text-align: justify; padding-left: 13px; }

  /* Tính điểm */
  .nhbf-scoring { padding-top: 93px; }
  .nhbf-scoring__sparkle { display: block; right: 0; top: -2px; width: 137px; }
  .nhbf-score-box { padding: 23px 11px 20px; border-radius: 20px; }
  .nhbf-score-box + .nhbf-score-box { margin-top: 36px; }
  .nhbf-score-box--stacked { padding-bottom: 26px; }
  .nhbf-score-box--stacked { box-shadow: 0 35px 0 -27px #fff; }
  .nhbf-score-table { margin-top: 20px; border-radius: 12px; padding: 6px 5px 10px; }
  .nhbf-score-grid, .nhbf-score-table--post .nhbf-score-grid { grid-template-columns: 117px 1.3fr 1fr; gap: 6px; padding: 0 10px; }
  .nhbf-score-table--post .nhbf-score-grid { grid-template-columns: 100px 1.2fr 1fr; }
  .nhbf-score-table__head { height: 30px; border-radius: 8px; border-width: 1px; font-size: 11px; }
  .nhbf-score-table__row { min-height: 40px; font-size: 11.5px; line-height: 1.3; padding-top: 8px; padding-bottom: 8px; }
  .nhbf-score-table__row strong, .nhbf-score-table--post .nhbf-score-table__row strong { font-size: 12px; }
  .nhbf-score-table--post .nhbf-score-table__row { min-height: 0; }

  /* Footer */
  .nhbf-contact { margin-top: 0; }
  .nhbf-contact__banner { height: auto; overflow: visible; background: #540308; }
  .nhbf-contact__banner > img.nhbf-mb { width: 100%; }
  .nhbf-contact__inner { position: relative; inset: auto; left: 0; width: auto; transform: none; display: flex; justify-content: space-between; gap: 10px; padding: 0 20px 30px 17px; margin-top: -20px; }
  .nhbf-contact__info { position: static; min-width: 0; }
  .nhbf-contact__info h2 { font-weight: 800; font-size: 19px; line-height: 24px; padding-left: 6px; }
  .nhbf-contact__info ul { margin-top: 20px; gap: 9px; }
  .nhbf-contact__info li { margin-left: 0; gap: 9px; font-size: 12.5px; align-items: flex-start; word-break: break-word; }
  .nhbf-contact__info li svg { width: 18px; height: 18px; flex-basis: 18px; padding: 3px; }
  .nhbf-contact__qr { position: static; flex: 0 0 105px; width: 105px; height: 116px; padding: 7px 9px 0; font-size: 9.8px; border-radius: 10px; }
  .nhbf-contact__qr img { width: 87px; border-radius: 6px; }
  .nhbf-contact__qr span { margin-top: 5px; }
  :root { --nhbf-nav-h: 80px; }
  .nhbf-nav { padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .nhbf-nav__item { flex: 1; padding: 0 4px; gap: 5px; font-size: 11px; line-height: 13px; }
  .nhbf-nav__item + .nhbf-nav__item::before { top: 12px; height: 46px; }
  .nhbf-nav__item img { height: 32px; }

  /* Popup */
  .nhbf-popup__box { max-width: 380px; padding: 30px 14px 24px; border-radius: 24px; }
  .nhbf-popup__close { width: 34px; height: 34px; font-size: 18px; line-height: 34px; }
  .nhbf-popup__title, .nhbf-popup.is-message .nhbf-popup__title { font-size: 22px; }
  .nhbf-popup__title svg { width: 28px; height: 28px; flex-basis: 28px; }
  .nhbf-popup__text, .nhbf-popup.is-message .nhbf-popup__text { font-size: 15px; margin-top: 12px; }
  .nhbf-lookup-form input { height: 44px; margin-top: 22px; padding: 0 18px; font-size: 16px; border-radius: 12px; }
  .nhbf-popup__btn { min-width: 200px; min-height: 48px; margin-top: 20px; font-size: 17px; border-radius: 14px; }
  .nhbf-lookup-item { font-size: 14px; }
  .nhbf-card-result__img { width: 220px; }
}

@media (max-width: 767px) {
  .nhbf-to-top { right: 14px; width: 42px; height: 42px; bottom: calc(var(--nhbf-nav-h) + env(safe-area-inset-bottom, 0px) + 12px); }
  .nhbf-to-top svg { width: 22px; height: 22px; }
}
