@media (max-width: 767.98px) {
  .qame-mobile-topbar.qame-mobile-fixed-header-v1039,
  header[data-qame-mobile-version].qame-mobile-fixed-header-v1039 {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1080 !important;
    transform: none !important;
  }

  .qame-mobile-fixed-header-spacer-v1039 {
    display: block !important;
    width: 100% !important;
    min-height: var(--qame-fixed-header-height-v1039, 62px);
    pointer-events: none !important;
  }

  .qame-profile-hero-enhanced-v1039 {
    overflow: visible !important;
  }

  .qame-profile-photo-shell-v1039 {
    position: relative !important;
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    flex: 0 0 76px !important;
    display: block !important;
    padding: 4px !important;
    overflow: visible !important;
    border: 4px solid rgba(213, 240, 255, .95) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: transparent !important;
    cursor: pointer;
  }

  .qame-profile-photo-img-v1039 {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #eef5ff;
  }

  .qame-profile-camera-v1039 {
    position: absolute !important;
    right: -5px !important;
    bottom: -3px !important;
    width: 30px !important;
    height: 30px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    background: #075f9d !important;
    color: #fff !important;
    box-shadow: 0 3px 9px rgba(9, 53, 92, .22) !important;
    font-size: 16px !important;
    line-height: 1 !important;
    z-index: 4 !important;
  }

  .qame-profile-photo-created-v1039 {
    margin: 14px 18px 4px !important;
  }

  .qame-profile-completion-v1039 {
    width: calc(100% - 36px) !important;
    margin: 10px 18px 10px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.11) !important;
    color: #fff !important;
    box-sizing: border-box !important;
  }

  .qame-profile-completion-head-v1039 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 6px !important;
    color: #fff !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
  }

  .qame-profile-completion-head-v1039 strong {
    color: #fff !important;
    font-size: 11.5px !important;
  }

  .qame-profile-completion-track-v1039 {
    width: 100% !important;
    height: 6px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.24) !important;
  }

  .qame-profile-completion-track-v1039 span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: #fff !important;
    transition: width 180ms ease-out !important;
  }

  .qame-profile-completion-v1039 small {
    display: block !important;
    margin-top: 6px !important;
    color: rgba(255,255,255,.85) !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
  }

  .qame-profile-photo-sheet-v1039[hidden] {
    display: none !important;
  }

  .qame-profile-photo-sheet-v1039 {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12050 !important;
    display: grid !important;
    place-items: end center !important;
  }

  .qame-profile-photo-backdrop-v1039 {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 31, 48, .52) !important;
  }

  .qame-profile-photo-dialog-v1039 {
    position: relative !important;
    width: min(560px, 100%) !important;
    max-height: 92dvh !important;
    overflow: auto !important;
    padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    border-radius: 22px 22px 0 0 !important;
    background: #fff !important;
    box-shadow: 0 -16px 44px rgba(18, 50, 82, .24) !important;
  }

  .qame-profile-photo-head-v1039 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 15px 17px 13px !important;
    border-bottom: 1px solid #e7edf5 !important;
  }

  .qame-profile-photo-head-v1039 span {
    display: block !important;
    color: #8a98aa !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
  }

  .qame-profile-photo-head-v1039 h2 {
    margin: 2px 0 0 !important;
    color: #153c64 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  .qame-profile-photo-head-v1039 > button {
    width: 38px !important;
    height: 38px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #f1f5fa !important;
    color: #31516f !important;
    font-size: 24px !important;
  }

  .qame-profile-photo-preview-v1039 {
    width: 108px !important;
    height: 108px !important;
    margin: 20px auto 16px !important;
    padding: 5px !important;
    border: 5px solid #d6efff !important;
    border-radius: 50% !important;
    background: #fff !important;
  }

  .qame-profile-photo-preview-v1039 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .qame-photo-upload-form-v1039,
  .qame-photo-default-form-v1039 {
    padding: 0 17px !important;
  }

  .qame-photo-upload-form-v1039 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }

  .qame-photo-upload-form-v1039 button,
  .qame-photo-default-form-v1039 button {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .qame-photo-pick-v1039 {
    border: 1px solid #d5e0ec !important;
    background: #fff !important;
    color: #305575 !important;
  }

  .qame-photo-save-v1039 {
    border: 0 !important;
    background: #0d6efd !important;
    color: #fff !important;
  }

  .qame-photo-save-v1039:disabled {
    opacity: .55 !important;
  }

  .qame-photo-upload-form-v1039 small {
    grid-column: 1 / -1 !important;
    display: block !important;
    margin: -1px 0 8px !important;
    color: #8d9bad !important;
    text-align: center !important;
    font-size: 10px !important;
  }

  .qame-photo-default-form-v1039 {
    margin-top: 3px !important;
  }

  .qame-photo-default-form-v1039 button {
    width: 100% !important;
    border: 0 !important;
    background: #f2f6fb !important;
    color: #305575 !important;
  }

  body.qame-profile-photo-open-v1039 {
    overflow: hidden !important;
  }

  .qame-profile-toast-v1039 {
    position: fixed !important;
    top: calc(var(--qame-fixed-header-height-v1039, 62px) + 10px) !important;
    left: 50% !important;
    z-index: 12100 !important;
    width: min(calc(100% - 28px), 430px) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 13px !important;
    border-radius: 11px !important;
    box-shadow: 0 8px 22px rgba(31, 56, 81, .17) !important;
    transform: translate(-50%, -14px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 160ms ease-out, opacity 160ms ease-out !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  .qame-profile-toast-v1039.show {
    transform: translate(-50%, 0) !important;
    opacity: 1 !important;
  }

  .qame-profile-toast-success-v1039 {
    background: #ecf9f1 !important;
    color: #237f47 !important;
  }

  .qame-profile-toast-error-v1039 {
    background: #fff0f0 !important;
    color: #b53d3d !important;
  }
}


@media (max-width: 767.98px) {
  /* v1.0.39.1: the avatar replaces the original initials circle in-place. */
  .qame-profile-photo-shell-v1039 {
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .qame-profile-photo-shell-v1039.qame-profile-photo-created-v1039 {
    display: none !important;
  }

  .qame-profile-camera-v1039 {
    right: -6px !important;
    bottom: -5px !important;
    width: 27px !important;
    height: 27px !important;
    font-size: 14px !important;
  }
}


/* QAME_HELP_CENTER_SPACING_FIX_V1_0_39_2 */
@media (max-width: 767.98px) {
  html.qame-help-center-page
  .qame-mobile-fixed-header-spacer-v1039,
  body.qame-help-center-page
  .qame-mobile-fixed-header-spacer-v1039,
  .qame-help-page
  .qame-mobile-fixed-header-spacer-v1039 {
    display:none !important;
    width:0 !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  html.qame-help-center-page
  .qame-help-mobile-header,
  body.qame-help-center-page
  .qame-help-mobile-header,
  .qame-help-page
  .qame-help-mobile-header {
    margin-bottom:0 !important;
  }

  html.qame-help-center-page
  .qame-help-search-zone,
  body.qame-help-center-page
  .qame-help-search-zone {
    margin-top:0 !important;
  }

  html.qame-help-center-page
  .qame-help-article-shell,
  body.qame-help-center-page
  .qame-help-article-shell {
    margin-top:0 !important;
  }
}
